public abstract class AbstractImmutableShortSet extends AbstractShortSet implements ImmutableShortSet
Constructor and Description |
---|
AbstractImmutableShortSet() |
Modifier and Type | Method and 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.
|
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, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, shortIterator, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
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–2016. All rights reserved.