com.pmease.quickbuild.util
Class Pair<FirstType,SecondType>

java.lang.Object
  extended by com.pmease.quickbuild.util.Pair<FirstType,SecondType>
All Implemented Interfaces:
java.io.Serializable

public class Pair<FirstType,SecondType>
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Pair()
           
Pair(FirstType first, SecondType second)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 FirstType getFirst()
           
static
<FirstType,SecondType>
java.util.List<Pair<FirstType,SecondType>>
getPairs(java.util.Map<FirstType,SecondType> map)
           
 SecondType getSecond()
           
 int hashCode()
           
 void setFirst(FirstType first)
           
 void setSecond(SecondType second)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pair

public Pair()

Pair

public Pair(FirstType first,
            SecondType second)
Method Detail

getFirst

public FirstType getFirst()

setFirst

public void setFirst(FirstType first)

getSecond

public SecondType getSecond()

setSecond

public void setSecond(SecondType second)

getPairs

public static <FirstType,SecondType> java.util.List<Pair<FirstType,SecondType>> getPairs(java.util.Map<FirstType,SecondType> map)

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.