FileDocCategorySizeDatePackage
StringPair.javaAPI DocJava SE 5 API874Fri Aug 26 14:54:38 BST 2005com.sun.corba.se.spi.orb

StringPair

public class StringPair extends Object

Fields Summary
private String
first
private String
second
Constructors Summary
public StringPair(String first, String second)

	this.first = first ;
	this.second = second ;
    
Methods Summary
public booleanequals(java.lang.Object obj)

	if (this == obj)
	    return true ;

	if (!(obj instanceof StringPair))
	    return false ;

	StringPair other = (StringPair)obj ;

	return (first.equals( other.first ) &&
	    second.equals( other.second )) ;
    
public java.lang.StringgetFirst()

	return first ;
    
public java.lang.StringgetSecond()

	return second ;
    
public inthashCode()

	return first.hashCode() ^ second.hashCode() ;