summaryrefslogtreecommitdiff
path: root/sources/ch/epfl/lamp/util/Pair.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/ch/epfl/lamp/util/Pair.java')
-rw-r--r--sources/ch/epfl/lamp/util/Pair.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/sources/ch/epfl/lamp/util/Pair.java b/sources/ch/epfl/lamp/util/Pair.java
new file mode 100644
index 0000000000..0e0b0a3f93
--- /dev/null
+++ b/sources/ch/epfl/lamp/util/Pair.java
@@ -0,0 +1,24 @@
+/* ____ ____ ____ ____ ______ *\
+** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala **
+** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL **
+** /_____/\____/\___/\____/____/ **
+\* */
+
+// $Id$
+
+package ch.epfl.lamp.util;
+
+/**
+ * Pairs of values.
+ *
+ * @author Michel Schinz
+ * @version 1.0
+ */
+
+public class Pair {
+ public final Object fst, snd;
+ public Pair(Object fst, Object snd) {
+ this.fst = fst;
+ this.snd = snd;
+ }
+}