@Generated(date="2018-01-02T13:19:07+0000", value="HPPC generated from: DoubleSet.java") public interface DoubleSet extends DoubleCollection
double
s.Modifier and Type | Method and Description |
---|---|
boolean |
add(double k)
Adds
k to the set. |
boolean |
equals(java.lang.Object obj)
Compares the specified object with this set for equality.
|
int |
hashCode() |
clear, removeAll, removeAll, removeAllOccurrences, retainAll, retainAll
boolean add(double k)
k
to the set.true
if this element was not part of the set before. Returns
false
if an equal element is part of the set, and replaces the existing
equal element with the argument (if keys are object types).boolean equals(java.lang.Object obj)
ObjectSet
and both objects contains exactly the same objects.equals
in class java.lang.Object
int hashCode()
hashCode
in class java.lang.Object
Set.hashCode()
(sum of hash codes of elements
within the set). Because sum is commutative, this ensures that different order
of elements in a set does not affect the hash code.Copyright © 2018 Carrot Search s.c.. All rights reserved.