C - Subtype of nested collection with E elementsE - Type of elements in the nested collectionpublic interface INestedCollection<C extends Collection<E>,E> extends Collection<E>
| Modifier and Type | Method and Description |
|---|---|
default boolean |
add(E e) |
default boolean |
addAll(Collection<? extends E> c) |
default void |
clear() |
default boolean |
contains(Object o) |
default boolean |
containsAll(Collection<?> c) |
C |
getNestedCollection()
returns nested collection of type C
|
default boolean |
isEmpty() |
default Iterator<E> |
iterator() |
default boolean |
remove(Object o) |
default boolean |
removeAll(Collection<?> c) |
default boolean |
retainAll(Collection<?> c) |
default int |
size() |
default Object[] |
toArray() |
default <T> T[] |
toArray(T[] a) |
equals, hashCode, parallelStream, removeIf, spliterator, streamC getNestedCollection()
java.util.Collection},
INestedCollection}default int size()
size in interface Collection<E>Collection.size()default boolean isEmpty()
isEmpty in interface Collection<E>Collection.isEmpty()default boolean contains(Object o)
contains in interface Collection<E>Collection.contains(java.lang.Object)default Iterator<E> iterator()
iterator in interface Collection<E>iterator in interface Iterable<E>Collection.iterator()default Object[] toArray()
toArray in interface Collection<E>Collection.toArray()default <T> T[] toArray(T[] a)
toArray in interface Collection<E>Collection.toArray(java.lang.Object[])default boolean add(E e)
add in interface Collection<E>Collection.add(java.lang.Object)default boolean remove(Object o)
remove in interface Collection<E>Collection.remove(java.lang.Object)default boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>Collection.containsAll(java.util.Collection)default boolean addAll(Collection<? extends E> c)
addAll in interface Collection<E>Collection.addAll(java.util.Collection)default boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>Collection.removeAll(java.util.Collection)default boolean retainAll(Collection<?> c)
retainAll in interface Collection<E>Collection.retainAll(java.util.Collection)default void clear()
clear in interface Collection<E>Collection.clear()Copyright © 2014–2015. All rights reserved.