public class UnmodifiableDoubleBag extends AbstractUnmodifiableDoubleCollection implements MutableDoubleBag
| Constructor and Description |
|---|
UnmodifiableDoubleBag(MutableDoubleBag bag) |
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, toStringselectDuplicates, tapadd, addAll, addAll, clear, doubleIterator, remove, removeAll, removeAll, removeIf, retainAll, retainAlltoStringOfItemToCountallSatisfy, 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 UnmodifiableDoubleBag(MutableDoubleBag bag)
public UnmodifiableDoubleBag with(double element)
with in interface MutableDoubleBagwith in interface MutableDoubleCollectionwith in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleBag without(double element)
without in interface MutableDoubleBagwithout in interface MutableDoubleCollectionwithout in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleBag withAll(DoubleIterable elements)
withAll in interface MutableDoubleBagwithAll in interface MutableDoubleCollectionwithAll in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleBag withoutAll(DoubleIterable elements)
withoutAll in interface MutableDoubleBagwithoutAll in interface MutableDoubleCollectionwithoutAll in class AbstractUnmodifiableDoubleCollectionpublic void addOccurrences(double item,
int occurrences)
addOccurrences in interface MutableDoubleBagpublic boolean removeOccurrences(double item,
int occurrences)
removeOccurrences in interface MutableDoubleBagpublic int sizeDistinct()
sizeDistinct in interface DoubleBagpublic int occurrencesOf(double item)
occurrencesOf in interface DoubleBagpublic void forEachWithOccurrences(DoubleIntProcedure procedure)
forEachWithOccurrences in interface DoubleBagpublic MutableDoubleBag selectByOccurrences(IntPredicate predicate)
selectByOccurrences in interface DoubleBagselectByOccurrences in interface MutableDoubleBagpublic MutableDoubleSet selectUnique()
selectUnique in interface DoubleBagselectUnique in interface MutableDoubleBagpublic MutableList<DoubleIntPair> topOccurrences(int count)
topOccurrences in interface DoubleBagtopOccurrences in interface MutableDoubleBagpublic MutableList<DoubleIntPair> bottomOccurrences(int count)
bottomOccurrences in interface DoubleBagbottomOccurrences in interface MutableDoubleBagpublic MutableDoubleBag select(DoublePredicate predicate)
select in interface DoubleBagselect in interface MutableDoubleBagselect in interface MutableDoubleCollectionselect in interface DoubleIterableselect in class AbstractUnmodifiableDoubleCollectionpublic MutableDoubleBag reject(DoublePredicate predicate)
reject in interface DoubleBagreject in interface MutableDoubleBagreject in interface MutableDoubleCollectionreject in interface DoubleIterablereject in class AbstractUnmodifiableDoubleCollectionpublic <V> MutableBag<V> collect(DoubleToObjectFunction<? extends V> function)
collect in interface DoubleBagcollect in interface MutableDoubleBagcollect in interface MutableDoubleCollectioncollect in interface DoubleIterablecollect in class AbstractUnmodifiableDoubleCollectionpublic boolean equals(Object otherBag)
public int hashCode()
public MutableDoubleBag asUnmodifiable()
asUnmodifiable in interface MutableDoubleBagasUnmodifiable in interface MutableDoubleCollectionasUnmodifiable in class AbstractUnmodifiableDoubleCollectionpublic MutableDoubleBag asSynchronized()
asSynchronized in interface MutableDoubleBagasSynchronized in interface MutableDoubleCollectionasSynchronized in class AbstractUnmodifiableDoubleCollectionpublic ImmutableDoubleBag toImmutable()
toImmutable in interface DoubleBagtoImmutable in interface MutableDoubleBagtoImmutable in interface MutableDoubleCollectiontoImmutable in class AbstractUnmodifiableDoubleCollectionpublic MutableDoubleBag newEmpty()
newEmpty in interface MutableDoubleBagnewEmpty in interface MutableDoubleCollectionCopyright © 2004–2022. All rights reserved.