public abstract class AbstractDoubleTuple extends Object implements DoubleTuple
DoubleTuple.toString(), equals(Object),
hashCode() and DoubleTuple.subTuple(int, int) methods
canonically.DoubleTuple, only the
Tuple.getSize() and DoubleTuple.get(int) methods
have to be implemented.| Constructor and Description |
|---|
AbstractDoubleTuple() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Returns whether this tuple equals the given object.
|
int |
hashCode()
This hash code is defined to be the sum of the hash codes of
all the elements of this tuple.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitget, stream, subTuplepublic int hashCode()
DoubleTuplehashCode in interface DoubleTuplehashCode in class Objectpublic boolean equals(Object object)
DoubleTupletrue if and only if the given object is also
a DoubleTuple, has the same size
as this one, and is component-wise equal to this one.equals in interface DoubleTupleequals in class Objectobject - The object to compare withCopyright © 2015. All Rights Reserved.