T - Type of elements of the collection.public final class WrappingReadOnlySet<T> extends Object implements ReadOnlySet<T>
Set with a ReadOnlySet.| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(T element)
Checks if a set contains a particular element.
|
Iterator<T> |
iterator()
Iterator over elements of this set.
|
int |
size()
Size of this set.
|
java.util.stream.Stream<T> |
stream()
Stream over elements of this set.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmptyforEach, spliteratorpublic boolean contains(T element)
ReadOnlySetcontains in interface ReadOnlyCollection<T>contains in interface ReadOnlySet<T>element - An element to check for.Set.contains(Object)public int size()
size in interface ReadOnlyCollection<T>public java.util.stream.Stream<T> stream()
stream in interface ReadOnlyCollection<T>Copyright © 2012–2015 jcabi.com. All rights reserved.