Module com.aoapps.dao.base
Package com.aoapps.dao.base
Class TupleNImpl<C extends Comparable<? super C>>
- All Implemented Interfaces:
Tuple<TupleNImpl<C>>
,TupleN<C,
,TupleNImpl<C>> Comparable<TupleNImpl<C>>
public class TupleNImpl<C extends Comparable<? super C>>
extends AbstractTuple<TupleNImpl<C>>
implements TupleN<C,TupleNImpl<C>>, Comparable<TupleNImpl<C>>
A compound key with any number of columns of the same type.
- Author:
- AO Industries, Inc.
-
Constructor Summary
ConstructorDescriptionTupleNImpl
(Comparator<? super String> comparator, C... columns) Creates a new n-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
-
TupleNImpl
Creates a new n-tuple.
-
-
Method Details
-
getColumns
- Specified by:
getColumns
in interfaceTuple<C extends Comparable<? super C>>
- Specified by:
getColumns
in interfaceTupleN<C extends Comparable<? super C>,
TupleNImpl<C extends Comparable<? super C>>> - Specified by:
getColumns
in classAbstractTuple<TupleNImpl<C extends Comparable<? super C>>>
-