org.mapdb
Class Fun.Tuple2<A,B>

java.lang.Object
  extended by org.mapdb.Fun.Tuple2<A,B>
All Implemented Interfaces:
Serializable, Comparable<Fun.Tuple2<A,B>>
Enclosing class:
Fun

public static final class Fun.Tuple2<A,B>
extends Object
implements Comparable<Fun.Tuple2<A,B>>, Serializable

See Also:
Serialized Form

Field Summary
 A a
           
 B b
           
 
Constructor Summary
  Fun.Tuple2(A a, B b)
           
protected Fun.Tuple2(SerializerBase serializer, DataInput in, SerializerBase.FastArrayList<Object> objectStack)
          constructor used for deserialization
 
Method Summary
 int compareTo(Fun.Tuple2<A,B> o)
           
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

a

public final A a

b

public final B b
Constructor Detail

Fun.Tuple2

public Fun.Tuple2(A a,
                  B b)

Fun.Tuple2

protected Fun.Tuple2(SerializerBase serializer,
                     DataInput in,
                     SerializerBase.FastArrayList<Object> objectStack)
              throws IOException
constructor used for deserialization

Throws:
IOException
Method Detail

compareTo

public int compareTo(Fun.Tuple2<A,B> o)
Specified by:
compareTo in interface Comparable<Fun.Tuple2<A,B>>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All Rights Reserved.