Class ImmutableSortedSetFactoryImpl
java.lang.Object
org.eclipse.collections.impl.set.sorted.immutable.ImmutableSortedSetFactoryImpl
- All Implemented Interfaces:
ImmutableSortedSetFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> ImmutableSortedSet
<T> empty()
<T> ImmutableSortedSet
<T> empty
(Comparator<? super T> comparator) <T> ImmutableSortedSet
<T> of()
Same asImmutableSortedSetFactory.empty()
.<T> ImmutableSortedSet
<T> of
(Comparator<? super T> comparator) <T> ImmutableSortedSet
<T> of
(Comparator<? super T> comparator, T... items) <T> ImmutableSortedSet
<T> of
(T... items) <T> ImmutableSortedSet
<T> <T> ImmutableSortedSet
<T> ofAll
(Comparator<? super T> comparator, Iterable<? extends T> items) <T> ImmutableSortedSet
<T> ofSortedSet
(SortedSet<T> set) <T> ImmutableSortedSet
<T> with()
Same asImmutableSortedSetFactory.empty()
.<T> ImmutableSortedSet
<T> with
(Comparator<? super T> comparator) <T> ImmutableSortedSet
<T> with
(Comparator<? super T> comparator, T... items) <T> ImmutableSortedSet
<T> with
(T... items) <T> ImmutableSortedSet
<T> <T> ImmutableSortedSet
<T> withAll
(Comparator<? super T> comparator, Iterable<? extends T> iterable) <T> ImmutableSortedSet
<T> withSortedSet
(SortedSet<T> set)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableSortedSetFactoryImpl
public ImmutableSortedSetFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableSortedSetFactory
-
empty
- Specified by:
empty
in interfaceImmutableSortedSetFactory
-
of
Description copied from interface:ImmutableSortedSetFactory
Same asImmutableSortedSetFactory.empty()
.- Specified by:
of
in interfaceImmutableSortedSetFactory
-
with
Description copied from interface:ImmutableSortedSetFactory
Same asImmutableSortedSetFactory.empty()
.- Specified by:
with
in interfaceImmutableSortedSetFactory
-
of
Description copied from interface:ImmutableSortedSetFactory
- Specified by:
of
in interfaceImmutableSortedSetFactory
-
with
- Specified by:
with
in interfaceImmutableSortedSetFactory
-
ofAll
Description copied from interface:ImmutableSortedSetFactory
- Specified by:
ofAll
in interfaceImmutableSortedSetFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableSortedSetFactory
-
of
Description copied from interface:ImmutableSortedSetFactory
- Specified by:
of
in interfaceImmutableSortedSetFactory
-
with
- Specified by:
with
in interfaceImmutableSortedSetFactory
-
of
Description copied from interface:ImmutableSortedSetFactory
- Specified by:
of
in interfaceImmutableSortedSetFactory
-
with
- Specified by:
with
in interfaceImmutableSortedSetFactory
-
ofAll
public <T> ImmutableSortedSet<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items) Description copied from interface:ImmutableSortedSetFactory
- Specified by:
ofAll
in interfaceImmutableSortedSetFactory
-
withAll
public <T> ImmutableSortedSet<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> iterable) - Specified by:
withAll
in interfaceImmutableSortedSetFactory
-
ofSortedSet
Description copied from interface:ImmutableSortedSetFactory
- Specified by:
ofSortedSet
in interfaceImmutableSortedSetFactory
-
withSortedSet
- Specified by:
withSortedSet
in interfaceImmutableSortedSetFactory
-