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.


Field Summary
private  String _first
           
private  Object _second
           
 
Constructor Summary
(package private) Pair(String f, Object s)
          put your documentation comment here
 
Method Summary
 String first()
          put your documentation comment here
static Pair make(String first, Object second)
          put your documentation comment here
 Object second()
          put your documentation comment here
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

_first

private String _first

_second

private Object _second
Constructor Detail

Pair

Pair(String f,
     Object s)
put your documentation comment here
Parameters:
String - f
Object - s
Method Detail

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: