@tripsnek/tmf
Version:
TypeScript Modeling Framework - A TypeScript port of the Eclipse Modeling Framework (EMF)
24 lines • 563 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Pair = void 0;
/**
* 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.
*/
class Pair {
first;
second;
constructor(first, second) {
this.first = first;
this.second = second;
}
getFirst() {
return this.first;
}
getSecond() {
return this.second;
}
}
exports.Pair = Pair;
//# sourceMappingURL=pair.js.map