Skip to content

Commit

Permalink
Merge pull request #21 from riehlegroup/fix-b03-setup
Browse files Browse the repository at this point in the history
Add missing method stubs
  • Loading branch information
dirkriehle authored Nov 11, 2024
2 parents 0a0dee1 + ec37df0 commit d05e8b6
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/adap-b03/names/StringArrayName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,28 @@ export class StringArrayName extends AbstractName {
protected components: string[] = [];

constructor(other: string[], delimiter?: string) {
super();
throw new Error("needs implementation");
}

getNoComponents(): number {
throw new Error("needs implementation");
}

getComponent(i: number): string {
throw new Error("needs implementation");
}
setComponent(i: number, c: string) {
throw new Error("needs implementation");
}

insert(i: number, c: string) {
throw new Error("needs implementation");
}
append(c: string) {
throw new Error("needs implementation");
}
remove(i: number) {
throw new Error("needs implementation");
}
}
21 changes: 21 additions & 0 deletions src/adap-b03/names/StringName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,28 @@ export class StringName extends AbstractName {
protected length: number = 0;

constructor(other: string, delimiter?: string) {
super();
throw new Error("needs implementation");
}

getNoComponents(): number {
throw new Error("needs implementation");
}

getComponent(i: number): string {
throw new Error("needs implementation");
}
setComponent(i: number, c: string) {
throw new Error("needs implementation");
}

insert(i: number, c: string) {
throw new Error("needs implementation");
}
append(c: string) {
throw new Error("needs implementation");
}
remove(i: number) {
throw new Error("needs implementation");
}
}

0 comments on commit d05e8b6

Please sign in to comment.