ImmutableShortCollection
, PrimitiveIterable
, ImmutableShortSet
, ShortSet
, ShortIterable
public abstract class AbstractImmutableShortSet extends AbstractShortSet implements ImmutableShortSet
Constructor | Description |
---|---|
AbstractImmutableShortSet() |
Modifier and Type | Method | Description |
---|---|---|
ShortSet |
freeze() |
Returns a frozen copy of this set.
|
ImmutableShortSet |
newWith(short element) |
|
ImmutableShortSet |
newWithAll(ShortIterable elements) |
|
ImmutableShortSet |
newWithout(short element) |
|
ImmutableShortSet |
newWithoutAll(ShortIterable elements) |
|
ImmutableShortSet |
toImmutable() |
Returns an immutable copy of this set.
|
asLazy, average, containsAll, containsAll, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
equals, hashCode
collect, reject, select
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, shortIterator, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
public ImmutableShortSet newWith(short element)
newWith
in interface ImmutableShortCollection
newWith
in interface ImmutableShortSet
public ImmutableShortSet newWithout(short element)
newWithout
in interface ImmutableShortCollection
newWithout
in interface ImmutableShortSet
public ImmutableShortSet newWithAll(ShortIterable elements)
newWithAll
in interface ImmutableShortCollection
newWithAll
in interface ImmutableShortSet
public ImmutableShortSet newWithoutAll(ShortIterable elements)
newWithoutAll
in interface ImmutableShortCollection
newWithoutAll
in interface ImmutableShortSet
public ShortSet freeze()
ShortSet
public ImmutableShortSet toImmutable()
ShortSet
toImmutable
in interface ShortSet
Copyright © 2004–2017. All rights reserved.