public abstract class AbstractImmutableDoubleSet extends AbstractDoubleSet implements ImmutableDoubleSet
Constructor and Description |
---|
AbstractImmutableDoubleSet() |
Modifier and Type | Method and Description |
---|---|
DoubleSet |
freeze()
Returns a frozen copy of this set.
|
ImmutableDoubleSet |
newWith(double element) |
ImmutableDoubleSet |
newWithAll(DoubleIterable elements) |
ImmutableDoubleSet |
newWithout(double element) |
ImmutableDoubleSet |
newWithoutAll(DoubleIterable elements) |
ImmutableDoubleSet |
toImmutable()
Returns an immutable copy of this set.
|
equals, hashCode
appendString, appendString, asLazy, average, containsAll, containsAll, isEmpty, makeString, makeString, makeString, maxIfEmpty, median, minIfEmpty, notEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
collect, reject, select
equals, hashCode
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
public ImmutableDoubleSet newWith(double element)
newWith
in interface ImmutableDoubleCollection
newWith
in interface ImmutableDoubleSet
public ImmutableDoubleSet newWithout(double element)
newWithout
in interface ImmutableDoubleCollection
newWithout
in interface ImmutableDoubleSet
public ImmutableDoubleSet newWithAll(DoubleIterable elements)
newWithAll
in interface ImmutableDoubleCollection
newWithAll
in interface ImmutableDoubleSet
public ImmutableDoubleSet newWithoutAll(DoubleIterable elements)
newWithoutAll
in interface ImmutableDoubleCollection
newWithoutAll
in interface ImmutableDoubleSet
public DoubleSet freeze()
DoubleSet
public ImmutableDoubleSet toImmutable()
DoubleSet
toImmutable
in interface DoubleSet
Copyright © 2004–2016. All rights reserved.