@tripsnek/tmf
Version:
TypeScript Modeling Framework - A TypeScript port of the Eclipse Modeling Framework (EMF)
20 lines • 449 B
JavaScript
/**
* Generic type for pairing two instances together. This is not a
* part of the TMF metamodel, and thus cannot be serialized
* or persisted without special logic.
*/
export class Pair {
first;
second;
constructor(first, second) {
this.first = first;
this.second = second;
}
getFirst() {
return this.first;
}
getSecond() {
return this.second;
}
}
//# sourceMappingURL=pair.js.map