Interface ICollection<E>
.NET interface for TO BE DEFINED FROM USER
public interface ICollection<E>
Type Parameters
E
Methods
Add(E)
bool Add(E arg0)
Parameters
arg0
EE
Returns
AddAll<Arg0ExtendsE>(Collection<Arg0ExtendsE>)
bool AddAll<Arg0ExtendsE>(Collection<Arg0ExtendsE> arg0) where Arg0ExtendsE : E
Parameters
arg0
Collection<Arg0ExtendsE>
Returns
Type Parameters
Arg0ExtendsE
E
Clear()
void Clear()
Contains(object)
bool Contains(object arg0)
Parameters
Returns
ContainsAll(Collection<object>)
bool ContainsAll(Collection<object> arg0)
Parameters
arg0
Collection<object>
Returns
IsEmpty()
bool IsEmpty()
Returns
Iterator()
Iterator<E> Iterator()
Returns
ParallelStream()
Stream<E> ParallelStream()
Returns
Remove(object)
bool Remove(object arg0)
Parameters
Returns
RemoveAll(Collection<object>)
bool RemoveAll(Collection<object> arg0)
Parameters
arg0
Collection<object>
Returns
RemoveIf<Arg0objectSuperE>(Predicate<Arg0objectSuperE>)
bool RemoveIf<Arg0objectSuperE>(Predicate<Arg0objectSuperE> arg0) where Arg0objectSuperE : E
Parameters
Returns
Type Parameters
Arg0objectSuperE
E
RetainAll(Collection<object>)
bool RetainAll(Collection<object> arg0)
Parameters
arg0
Collection<object>
Returns
Size()
int Size()
Returns
Spliterator()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html#spliterator()
Spliterator<E> Spliterator()
Returns
Stream()
Stream<E> Stream()
Returns
ToArray()
object[] ToArray()
Returns
ToArray<T>(IntFunction<T[]>)
T[] ToArray<T>(IntFunction<T[]> arg0)
Parameters
arg0
IntFunction<T[]>
Returns
- T[]
T
Type Parameters
T
ToArray<T>(T[])
T[] ToArray<T>(T[] arg0)
Parameters
arg0
T[]T
Returns
- T[]
T
Type Parameters
T