public class UnmodifiableDoubleSet extends AbstractUnmodifiableDoubleCollection implements MutableDoubleSet
| Constructor and Description |
|---|
UnmodifiableDoubleSet(MutableDoubleSet set) |
| Modifier and Type | Method and Description |
|---|---|
MutableDoubleSet |
asSynchronized() |
MutableDoubleSet |
asUnmodifiable() |
LazyIterable<DoubleDoublePair> |
cartesianProduct(DoubleSet set) |
<V> MutableSet<V> |
collect(DoubleToObjectFunction<? extends V> function) |
boolean |
equals(Object otherSet) |
DoubleSet |
freeze() |
int |
hashCode() |
MutableDoubleSet |
newEmpty() |
static UnmodifiableDoubleSet |
of(MutableDoubleSet set)
This method will take a MutableDoubleSet and wrap it directly in a UnmodifiableDoubleSet.
|
MutableDoubleSet |
reject(DoublePredicate predicate) |
MutableDoubleSet |
select(DoublePredicate predicate) |
ImmutableDoubleSet |
toImmutable() |
UnmodifiableDoubleSet |
with(double element) |
UnmodifiableDoubleSet |
withAll(DoubleIterable elements) |
UnmodifiableDoubleSet |
without(double element) |
UnmodifiableDoubleSet |
withoutAll(DoubleIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, chunk, clear, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, doubleIterator, each, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, reduce, reduceIfEmpty, remove, removeAll, removeAll, removeIf, retainAll, retainAll, size, sum, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringdifference, intersect, symmetricDifference, tap, unionadd, addAll, addAll, clear, doubleIterator, remove, removeAll, removeAll, removeIf, retainAll, retainAllisProperSubsetOf, isSubsetOfallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic UnmodifiableDoubleSet(MutableDoubleSet set)
public static UnmodifiableDoubleSet of(MutableDoubleSet set)
public UnmodifiableDoubleSet with(double element)
with in interface MutableDoubleCollectionwith in interface MutableDoubleSetwith in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleSet without(double element)
without in interface MutableDoubleCollectionwithout in interface MutableDoubleSetwithout in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleSet withAll(DoubleIterable elements)
withAll in interface MutableDoubleCollectionwithAll in interface MutableDoubleSetwithAll in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleSet withoutAll(DoubleIterable elements)
withoutAll in interface MutableDoubleCollectionwithoutAll in interface MutableDoubleSetwithoutAll in class AbstractUnmodifiableDoubleCollectionpublic MutableDoubleSet select(DoublePredicate predicate)
select in interface MutableDoubleCollectionselect in interface DoubleIterableselect in interface DoubleSetselect in interface MutableDoubleSetselect in class AbstractUnmodifiableDoubleCollectionpublic MutableDoubleSet reject(DoublePredicate predicate)
reject in interface MutableDoubleCollectionreject in interface DoubleIterablereject in interface DoubleSetreject in interface MutableDoubleSetreject in class AbstractUnmodifiableDoubleCollectionpublic <V> MutableSet<V> collect(DoubleToObjectFunction<? extends V> function)
collect in interface MutableDoubleCollectioncollect in interface DoubleIterablecollect in interface DoubleSetcollect in interface MutableDoubleSetcollect in class AbstractUnmodifiableDoubleCollectionpublic LazyIterable<DoubleDoublePair> cartesianProduct(DoubleSet set)
cartesianProduct in interface DoubleSetpublic boolean equals(Object otherSet)
public int hashCode()
public MutableDoubleSet asUnmodifiable()
asUnmodifiable in interface MutableDoubleCollectionasUnmodifiable in interface MutableDoubleSetasUnmodifiable in class AbstractUnmodifiableDoubleCollectionpublic MutableDoubleSet asSynchronized()
asSynchronized in interface MutableDoubleCollectionasSynchronized in interface MutableDoubleSetasSynchronized in class AbstractUnmodifiableDoubleCollectionpublic DoubleSet freeze()
freeze in interface DoubleSetfreeze in interface MutableDoubleSetpublic ImmutableDoubleSet toImmutable()
toImmutable in interface MutableDoubleCollectiontoImmutable in interface DoubleSettoImmutable in interface MutableDoubleSettoImmutable in class AbstractUnmodifiableDoubleCollectionpublic MutableDoubleSet newEmpty()
newEmpty in interface MutableDoubleCollectionnewEmpty in interface MutableDoubleSetCopyright © 2004–2022. All rights reserved.