diff options
Diffstat (limited to 'src/main/java/utils/VS3Tupel.java')
| -rw-r--r-- | src/main/java/utils/VS3Tupel.java | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/main/java/utils/VS3Tupel.java b/src/main/java/utils/VS3Tupel.java new file mode 100644 index 0000000..ac7ffba --- /dev/null +++ b/src/main/java/utils/VS3Tupel.java @@ -0,0 +1,58 @@ +package utils; + +/** + * The class VS3Tupel, an object of this class represents a 3-Tupel of objects. + * Each object can have its own type. + * + * @author Paul C. Buetow + */ +public final class VS3Tupel<A,B,C> { + /** The a. */ + private A a; + + /** The b. */ + private B b; + + /** The c. */ + private C c; + + /** + * Instantiates a new tupel. + * + * @param a the a + * @param b the b + * @param c the c + */ + public VS3Tupel(A a, B b, C c) { + this.a = a; + this.b = b; + this.c = c; + } + + /** + * Gets the a. + * + * @return the a + */ + public A getA() { + return a; + } + + /** + * Gets the b. + * + * @return the b + */ + public B getB() { + return b; + } + + /** + * Gets the c. + * + * @return the c + */ + public C getC() { + return c; + } +} |
