Package org.core.collection
Interface WrappedCollection<E>
- All Superinterfaces:
Collection<E>,Iterable<E>
- All Known Implementing Classes:
AbstractWrappedCollection
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault booleanaddAll()Deprecated.default booleanaddAll(@NotNull Collection<? extends E> c)default booleandefault <T, A, C extends Collection<T>, R extends Collector<? super T, A, C>>
Cdefault voidclear()default booleandefault booleandefault booleancontainsAll(@NotNull Collection<?> c)default void@NotNull Collection<E>default booleanisEmpty()iterator()default <T, A, C extends Collection<T>, R extends Collector<? super T, A, C>>
Cdefault booleandefault booleanDeprecated.default booleanremoveAll(@NotNull Collection<?> c)default booleandefault booleandefault booleanretainAll(@NotNull Collection<?> c)default intsize()default Spliterator<E>stream()default @NotNull Object @NotNull []toArray()default <T> @NotNull T[]toArray(@NotNull T... ts)Methods inherited from interface java.util.Collection
equals, hashCode, toArray
-
Method Details
-
getWrappedCollection
-
addAll
Deprecated. -
addAll
-
removeAll
Deprecated. -
removeAll
-
contains
-
map
default <T, A, C extends Collection<T>, R extends Collector<? super T, A, C>> C map(boolean parallel, Function<? super E,T> function, R collector) -
cast
default <T, A, C extends Collection<T>, R extends Collector<? super T, A, C>> C cast(boolean parallel, Class<T> clazz, R collector) -
size
default int size()- Specified by:
sizein interfaceCollection<E>
-
isEmpty
default boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<E>
-
contains
- Specified by:
containsin interfaceCollection<E>
-
iterator
-
toArray
- Specified by:
toArrayin interfaceCollection<E>
-
toArray
@NotNull default <T> @NotNull T[] toArray(@NotNull @NotNull T... ts)- Specified by:
toArrayin interfaceCollection<E>
-
add
- Specified by:
addin interfaceCollection<E>
-
remove
- Specified by:
removein interfaceCollection<E>
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>
-
addAll
- Specified by:
addAllin interfaceCollection<E>
-
removeAll
- Specified by:
removeAllin interfaceCollection<E>
-
removeIf
- Specified by:
removeIfin interfaceCollection<E>
-
retainAll
- Specified by:
retainAllin interfaceCollection<E>
-
clear
default void clear()- Specified by:
clearin interfaceCollection<E>
-
spliterator
- Specified by:
spliteratorin interfaceCollection<E>- Specified by:
spliteratorin interfaceIterable<E>
-
stream
- Specified by:
streamin interfaceCollection<E>
-
parallelStream
- Specified by:
parallelStreamin interfaceCollection<E>
-
forEach
-