Module com.aoapps.dao.base
Package com.aoapps.dao.base
Class Tuple2Impl<C1 extends Comparable<? super C1>,C2 extends Comparable<? super C2>>
- All Implemented Interfaces:
Tuple<Tuple2Impl<C1,
,C2>> Tuple2<C1,
,C2, Tuple2Impl<C1, C2>> Comparable<Tuple2Impl<C1,
C2>>
public class Tuple2Impl<C1 extends Comparable<? super C1>,C2 extends Comparable<? super C2>>
extends AbstractTuple<Tuple2Impl<C1,C2>>
implements Tuple2<C1,C2,Tuple2Impl<C1,C2>>, Comparable<Tuple2Impl<C1,C2>>
A compound key with two columns.
- Author:
- AO Industries, Inc.
-
Constructor Summary
ConstructorDescriptionTuple2Impl
(Comparator<? super String> comparator, C1 column1, C2 column2) Creates a new 2-tuple. -
Method Summary
Methods inherited from class com.aoapps.dao.base.AbstractTuple
compareTo, equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
Tuple2Impl
Creates a new 2-tuple.
-
-
Method Details
-
getColumns
- Specified by:
getColumns
in interfaceTuple<C1 extends Comparable<? super C1>>
- Specified by:
getColumns
in classAbstractTuple<Tuple2Impl<C1 extends Comparable<? super C1>,
C2 extends Comparable<? super C2>>>
-
getColumn1
- Specified by:
getColumn1
in interfaceTuple2<C1 extends Comparable<? super C1>,
C2 extends Comparable<? super C2>, Tuple2Impl<C1 extends Comparable<? super C1>, C2 extends Comparable<? super C2>>>
-
getColumn2
- Specified by:
getColumn2
in interfaceTuple2<C1 extends Comparable<? super C1>,
C2 extends Comparable<? super C2>, Tuple2Impl<C1 extends Comparable<? super C1>, C2 extends Comparable<? super C2>>>
-