Class AbstractImmutableCharSet
java.lang.Object
org.eclipse.collections.impl.primitive.AbstractCharIterable
org.eclipse.collections.impl.set.primitive.AbstractCharSet
org.eclipse.collections.impl.set.immutable.primitive.AbstractImmutableCharSet
- All Implemented Interfaces:
CharIterable, ImmutableCharCollection, PrimitiveIterable, CharSet, ImmutableCharSet
- Direct Known Subclasses:
CharHashSet.ImmutableCharHashSet, ImmutableCharCharMapKeySet, ImmutableCharMapKeySet
This file was automatically generated from template file abstractImmutablePrimitiveSet.stg.
- Since:
- 6.0.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchunk(int size) Partitions elements in fixed size chunks.freeze()Returns a frozen copy of this set.newWith(char element) newWithAll(CharIterable elements) newWithout(char element) newWithoutAll(CharIterable elements) Returns an immutable copy of this set.Methods inherited from class AbstractCharSet
cartesianProduct, equals, hashCodeMethods inherited from class AbstractCharIterable
asLazy, average, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toStringMethods inherited from interface CharIterable
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, charIterator, 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, toSortedListByMethods inherited from interface CharSet
cartesianProduct, collect, equals, hashCode, isProperSubsetOf, isSubsetOf, reject, select, tapMethods inherited from interface ImmutableCharSet
collect, difference, intersect, reject, select, symmetricDifference, tap, unionMethods inherited from interface PrimitiveIterable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
-
Constructor Details
-
AbstractImmutableCharSet
public AbstractImmutableCharSet()
-
-
Method Details
-
newWith
- Specified by:
newWithin interfaceImmutableCharCollection- Specified by:
newWithin interfaceImmutableCharSet
-
newWithout
- Specified by:
newWithoutin interfaceImmutableCharCollection- Specified by:
newWithoutin interfaceImmutableCharSet
-
newWithAll
- Specified by:
newWithAllin interfaceImmutableCharCollection- Specified by:
newWithAllin interfaceImmutableCharSet
-
newWithoutAll
- Specified by:
newWithoutAllin interfaceImmutableCharCollection- Specified by:
newWithoutAllin interfaceImmutableCharSet
-
freeze
-
toImmutable
Description copied from interface:CharSetReturns an immutable copy of this set. If the set is immutable, it returns itself.- Specified by:
toImmutablein interfaceCharSet
-
chunk
Description copied from interface:CharIterablePartitions elements in fixed size chunks.- Specified by:
chunkin interfaceCharIterable- Parameters:
size- the number of elements per chunk- Returns:
- A
RichIterablecontainingCharIterables of sizesize, except the last will be truncated if the elements don't divide evenly.
-