edu.rice.cs.drjava.model.repl
Class Pair
java.lang.Object
|
+--edu.rice.cs.drjava.model.repl.Pair
- class Pair
- extends Object
A structure to contain a String and an Object pair.
This class is used to help test the JavaInterpreter.
Constructor Summary |
(package private) |
Pair(String f,
Object s)
put your documentation comment here |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
_first
private String _first
_second
private Object _second
Pair
Pair(String f,
Object s)
- put your documentation comment here
- Parameters:
String
- fObject
- s
make
public static Pair make(String first,
Object second)
- put your documentation comment here
- Parameters:
first
- second
- - Returns:
-
first
public String first()
- put your documentation comment here
- Returns:
-
second
public Object second()
- put your documentation comment here
- Returns:
-