langtools/src/jdk.jshell/share/classes/jdk/jshell/Util.java
changeset 34857 14d1224cfed3
parent 34752 9c262a013456
child 35000 952a7b4652f0
--- a/langtools/src/jdk.jshell/share/classes/jdk/jshell/Util.java	Thu Dec 24 10:34:05 2015 -0800
+++ b/langtools/src/jdk.jshell/share/classes/jdk/jshell/Util.java	Tue Dec 29 21:27:25 2015 -0800
@@ -91,4 +91,14 @@
     static <T> Stream<T> stream(Iterable<T> iterable) {
         return StreamSupport.stream(iterable.spliterator(), false);
     }
+
+    static class Pair<T, U> {
+        final T first;
+        final U second;
+
+        Pair(T first, U second) {
+            this.first = first;
+            this.second = second;
+        }
+    }
 }