Module com.aoapps.dao.base
Package com.aoapps.dao.base
Class AbstractTuple<T extends AbstractTuple<T> & Comparable<? super T>>
java.lang.Object
com.aoapps.dao.base.AbstractTuple<T>
- All Implemented Interfaces:
Tuple<T>
- Direct Known Subclasses:
Tuple2Impl
,Tuple3Impl
,TupleNImpl
public abstract class AbstractTuple<T extends AbstractTuple<T> & Comparable<? super T>>
extends Object
implements Tuple<T>
Allows sets of columns to be used as multi-column keys.
- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AbstractTuple
-
-
Method Details
-
getColumns
- Specified by:
getColumns
in interfaceTuple<T extends AbstractTuple<T> & Comparable<? super T>>
-
toString
- Specified by:
toString
in interfaceTuple<T extends AbstractTuple<T> & Comparable<? super T>>
- Overrides:
toString
in classObject
-
equals
- Specified by:
equals
in interfaceTuple<T extends AbstractTuple<T> & Comparable<? super T>>
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceTuple<T extends AbstractTuple<T> & Comparable<? super T>>
- Overrides:
hashCode
in classObject
-
compareTo
- Specified by:
compareTo
in interfaceTuple<T extends AbstractTuple<T> & Comparable<? super T>>
-