public class ImmutableClassList extends AbstractSet<String> implements ClassList, Serializable
Constructor and Description |
---|
ImmutableClassList(Collection<String> values)
Creates a new immutable class list with the given values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(String e) |
Iterator<String> |
iterator() |
int |
size() |
equals, hashCode, removeAll
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
public ImmutableClassList(Collection<String> values)
values
- the values of the class listpublic boolean add(String e)
add
in interface Collection<String>
add
in interface Set<String>
add
in class AbstractCollection<String>
public int size()
size
in interface Collection<String>
size
in interface Set<String>
size
in class AbstractCollection<String>
Copyright © 2020. All rights reserved.