Commit ca1f5275 authored by Grand Francois's avatar Grand Francois
Browse files

classe Pair : récupération de la méthode toString() (déplacée)

Showing with 5 additions and 4 deletions
+5 -4
......@@ -17,6 +17,7 @@ export * from './util/numericalstring';
export * from './util/message';
export * from './util/log';
export * from './util/result';
export * from './util/pair';
export * from './util/interval';
export * from './pab/pab_dimension';
export * from './pab/pab_puissance';
......@@ -37,8 +37,4 @@ export class Interval extends Pair {
setBounds(i: Pair) {
this.setPair(i);
}
toString(): string {
return "[" + this.min + "," + this.max + "]";
}
}
......@@ -42,4 +42,8 @@ export class Pair {
intervalHasValue(v: number) {
return this.min <= v && v <= this.max;
}
toString(): string {
return "[" + this.min + "," + this.max + "]";
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment