public class ImmutableClassList extends AbstractSet<String> implements ClassList, Serializable
For internal use only. May be renamed or removed in a future release.
| 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, removeAlladdAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic 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 © 2021. All rights reserved.