Class AbstractImmutableLongSet
- java.lang.Object
-
- org.eclipse.collections.impl.primitive.AbstractLongIterable
-
- org.eclipse.collections.impl.set.primitive.AbstractLongSet
-
- org.eclipse.collections.impl.set.immutable.primitive.AbstractImmutableLongSet
-
- All Implemented Interfaces:
ImmutableLongCollection
,LongIterable
,PrimitiveIterable
,ImmutableLongSet
,LongSet
public abstract class AbstractImmutableLongSet extends AbstractLongSet implements ImmutableLongSet
This file was automatically generated from template file abstractImmutablePrimitiveSet.stg.- Since:
- 6.0.
-
-
Constructor Summary
Constructors Constructor Description AbstractImmutableLongSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RichIterable<LongIterable>
chunk(int size)
LongSet
freeze()
ImmutableLongSet
newWith(long element)
ImmutableLongSet
newWithAll(LongIterable elements)
ImmutableLongSet
newWithout(long element)
ImmutableLongSet
newWithoutAll(LongIterable elements)
ImmutableLongSet
toImmutable()
-
Methods inherited from class org.eclipse.collections.impl.set.primitive.AbstractLongSet
cartesianProduct, equals, hashCode
-
Methods inherited from class org.eclipse.collections.impl.primitive.AbstractLongIterable
asLazy, average, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
-
Methods inherited from interface org.eclipse.collections.api.set.primitive.ImmutableLongSet
collect, difference, intersect, reject, select, symmetricDifference, tap, union
-
Methods inherited from interface org.eclipse.collections.api.LongIterable
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, longIterator, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListBy
-
Methods inherited from interface org.eclipse.collections.api.set.primitive.LongSet
cartesianProduct, collect, equals, hashCode, isProperSubsetOf, isSubsetOf, reject, select, tap
-
Methods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
-
-
-
-
Method Detail
-
newWith
public ImmutableLongSet newWith(long element)
- Specified by:
newWith
in interfaceImmutableLongCollection
- Specified by:
newWith
in interfaceImmutableLongSet
-
newWithout
public ImmutableLongSet newWithout(long element)
- Specified by:
newWithout
in interfaceImmutableLongCollection
- Specified by:
newWithout
in interfaceImmutableLongSet
-
newWithAll
public ImmutableLongSet newWithAll(LongIterable elements)
- Specified by:
newWithAll
in interfaceImmutableLongCollection
- Specified by:
newWithAll
in interfaceImmutableLongSet
-
newWithoutAll
public ImmutableLongSet newWithoutAll(LongIterable elements)
- Specified by:
newWithoutAll
in interfaceImmutableLongCollection
- Specified by:
newWithoutAll
in interfaceImmutableLongSet
-
toImmutable
public ImmutableLongSet toImmutable()
- Specified by:
toImmutable
in interfaceLongSet
-
chunk
public RichIterable<LongIterable> chunk(int size)
- Specified by:
chunk
in interfaceLongIterable
-
-