public class _SortedArraySet extends _UnmodifiableSet
| Constructor and Description |
|---|
_SortedArraySet(Object[] array) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Object o) |
boolean |
addAll(Collection c) |
void |
clear() |
boolean |
contains(Object o) |
Iterator |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
boolean |
retainAll(Collection c) |
int |
size() |
equals, hashCodecontainsAll, isEmpty, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, isEmpty, spliterator, toArray, toArrayparallelStream, removeIf, streampublic _SortedArraySet(Object[] array)
public int size()
size in interface Collectionsize in interface Setsize in class AbstractCollectionpublic boolean contains(Object o)
contains in interface Collectioncontains in interface Setcontains in class AbstractCollectionpublic Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Setiterator in class AbstractCollectionpublic boolean add(Object o)
add in interface Collectionadd in interface Setadd in class _UnmodifiableSetpublic boolean remove(Object o)
remove in interface Collectionremove in interface Setremove in class _UnmodifiableSetpublic boolean addAll(Collection c)
addAll in interface CollectionaddAll in interface SetaddAll in class AbstractCollectionpublic boolean removeAll(Collection c)
removeAll in interface CollectionremoveAll in interface SetremoveAll in class AbstractSetpublic boolean retainAll(Collection c)
retainAll in interface CollectionretainAll in interface SetretainAll in class AbstractCollectionpublic void clear()
clear in interface Collectionclear in interface Setclear in class _UnmodifiableSetCopyright © 2016. All Rights Reserved.