Uses of Class
me.sbasalaev.collection.Collection
Packages that use Collection
Package
Description
Useful utilities that I use throughout my projects.
Collection framework.
-
Uses of Collection in me.sbasalaev
Subclasses of Collection in me.sbasalaev -
Uses of Collection in me.sbasalaev.collection
Classes in me.sbasalaev.collection with type parameters of type CollectionModifier and TypeClassDescriptionclassMultimap<K,V, C extends Collection<V>> Common superclass for maps and multimaps.interfaceMultimapMutator<K,V, C extends Collection<V>> Common mutating methods for all mutable multimaps.Subclasses of Collection in me.sbasalaev.collectionModifier and TypeClassDescriptionclassList<T>Sequence of elements numbered by integer indices.classMutableList<T>List that can be mutated.classMutableSet<T>Set that can be mutated.classSet<T>A collection of distinct elements.Methods in me.sbasalaev.collection that return CollectionModifier and TypeMethodDescriptionabstract Collection<T> Collection.clone()Returns a shallow copy of this collection.abstract Collection<T> Returns collection of the same type containing only elements matching given condition.abstract <R> Collection<R> Returns collection of the same type with given mapping applied to all elements.Methods in me.sbasalaev.collection with parameters of type CollectionModifier and TypeMethodDescriptiondefault booleanMutableCollection.addAll(Collection<? extends T> elements) Adds elements to this collection.booleanMutableList.addAll(Collection<? extends T> elements) Adds all elements from given collection to the end of this list.voidMutableList.insertAll(int insertIndex, Collection<? extends T> elements) Inserts elements at the specified position of the list.static <T> MutableList<T> MutableList.of(Collection<? extends T> elements) New mutable list that initially contains given elements.static <T> MutableSet<T> MutableSet.of(Collection<? extends T> elements) Returns new mutable set that initially contains given elements.