public class InsertionOrderedSet extends Object implements Set
| Constructor and Description |
|---|
InsertionOrderedSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Object o) |
boolean |
addAll(Collection c) |
void |
addAll(Object[] objs)
Convenience method to add every item in an array.
|
List |
asList()
Get list of values in order added.
|
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection c) |
boolean |
isEmpty() |
Iterator |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
boolean |
retainAll(Collection c) |
int |
size() |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, spliteratorparallelStream, removeIf, streampublic void clear()
clear in interface Collectionclear in interface Setpublic boolean isEmpty()
isEmpty in interface CollectionisEmpty in interface Setpublic int size()
size in interface Collectionsize in interface Setpublic boolean add(Object o)
add in interface Collectionadd in interface Setpublic boolean addAll(Collection c)
addAll in interface CollectionaddAll in interface Setpublic boolean contains(Object o)
contains in interface Collectioncontains in interface Setpublic boolean containsAll(Collection c)
containsAll in interface CollectioncontainsAll in interface Setpublic Iterator iterator()
public boolean remove(Object o)
remove in interface Collectionremove in interface Setpublic boolean removeAll(Collection c)
removeAll in interface CollectionremoveAll in interface Setpublic boolean retainAll(Collection c)
retainAll in interface CollectionretainAll in interface Setpublic Object[] toArray()
toArray in interface CollectiontoArray in interface Setpublic Object[] toArray(Object[] a)
toArray in interface CollectiontoArray in interface Setpublic void addAll(Object[] objs)
objs - Objectspublic List asList()
Copyright © 2005–2016 jibx.org. All rights reserved.