org.hd.d.pg2k.svrCore
Class Tuple

java.lang.Object
  extended by org.hd.d.pg2k.svrCore.Tuple

public final class Tuple
extends java.lang.Object

Support for anonymous tuples such as pairs.


Nested Class Summary
static class Tuple.ComparablePair<T1 extends java.lang.Comparable<T1>,T2 extends java.lang.Comparable<T2>>
          A simple immutable Comparable pair (though the referenced items may be mutable).
static class Tuple.ComparableTriple<T1 extends java.lang.Comparable<T1>,T2 extends java.lang.Comparable<T2>,T3 extends java.lang.Comparable<T3>>
          A simple immutable Comparable pair (though the referenced items may be mutable).
static class Tuple.Pair<T1,T2>
          A simple immutable pair (though the referenced items may be mutable).
static class Tuple.Triple<T1,T2,T3>
          A simple immutable 3-tuple/triple (though the referenced items may be mutable).
 
Constructor Summary
private Tuple()
          Prevent construction of an instance.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tuple

private Tuple()
Prevent construction of an instance.


DHD Multimedia Gallery V1.60.69

Copyright (c) 1996-2012, Damon Hart-Davis. All rights reserved.