Package io.aether.utils.rcollections
Interface RCollection<T>
-
- All Superinterfaces:
java.util.Collection<T>,java.lang.Iterable<T>,ToString
- All Known Implementing Classes:
RCollectionBySrc,RQueueBySrc,RSetBySrc
public interface RCollection<T> extends java.util.Collection<T>, ToString
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidadd0(T val)default booleanaddAll(@NotNull java.util.Collection<? extends T> c)default voidclear()default booleancontainsAll(@NotNull java.util.Collection<?> c)EventConsumer<T>forAdd()EventConsumer<T>forRemove()default <T2> @NotNull RCollection<T2>map(AFunction<T,T2> f, AFunction<T2,T> f2)static <E> RCollection<E>of(java.util.Collection<E> src)default voidremove0(T val)default booleanremoveAll(@NotNull java.util.Collection<?> c)default booleanretainAll(@NotNull java.util.Collection<?> c)
-
-
-
Method Detail
-
forAdd
EventConsumer<T> forAdd()
-
forRemove
EventConsumer<T> forRemove()
-
retainAll
default boolean retainAll(@NotNull @NotNull java.util.Collection<?> c)- Specified by:
retainAllin interfacejava.util.Collection<T>
-
containsAll
default boolean containsAll(@NotNull @NotNull java.util.Collection<?> c)- Specified by:
containsAllin interfacejava.util.Collection<T>
-
addAll
default boolean addAll(@NotNull @NotNull java.util.Collection<? extends T> c)- Specified by:
addAllin interfacejava.util.Collection<T>
-
removeAll
default boolean removeAll(@NotNull @NotNull java.util.Collection<?> c)- Specified by:
removeAllin interfacejava.util.Collection<T>
-
clear
default void clear()
- Specified by:
clearin interfacejava.util.Collection<T>
-
add0
default void add0(T val)
-
remove0
default void remove0(T val)
-
map
@NotNull default <T2> @NotNull RCollection<T2> map(AFunction<T,T2> f, AFunction<T2,T> f2)
-
of
static <E> RCollection<E> of(java.util.Collection<E> src)
-
-