public class ConcurrentGroupList<T> extends CopyOnWriteArrayList<T> implements GroupAwareList<T>
| Constructor and Description |
|---|
ConcurrentGroupList() |
ConcurrentGroupList(Collection<? extends T> c) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
boolean |
add(T e) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAll(int index,
Collection<? extends T> c) |
int |
addAllAbsent(Collection<? extends T> c) |
boolean |
addIfAbsent(T e) |
void |
clear() |
Set<Group> |
getGroups()
Returns the groups that are implied (resolvable) from the items in the list.
|
boolean |
includes(Object value)
Returns true if the list contains the given JID.
|
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
T |
set(int index,
T element) |
clone, contains, containsAll, equals, forEach, get, hashCode, indexOf, indexOf, isEmpty, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, size, sort, spliterator, subList, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, replaceAll, size, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streampublic ConcurrentGroupList()
public ConcurrentGroupList(Collection<? extends T> c)
public boolean includes(Object value)
includes in interface GroupAwareList<T>value - The target, presumably a JIDpublic Set<Group> getGroups()
getGroups in interface GroupAwareList<T>public boolean add(T e)
add in interface Collection<T>add in interface List<T>add in class CopyOnWriteArrayList<T>public void add(int index,
T element)
public T remove(int index)
public boolean remove(Object o)
remove in interface Collection<T>remove in interface List<T>remove in class CopyOnWriteArrayList<T>public boolean addIfAbsent(T e)
addIfAbsent in class CopyOnWriteArrayList<T>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<T>removeAll in interface List<T>removeAll in class CopyOnWriteArrayList<T>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<T>retainAll in interface List<T>retainAll in class CopyOnWriteArrayList<T>public int addAllAbsent(Collection<? extends T> c)
addAllAbsent in class CopyOnWriteArrayList<T>public void clear()
clear in interface Collection<T>clear in interface List<T>clear in class CopyOnWriteArrayList<T>public boolean addAll(Collection<? extends T> c)
addAll in interface Collection<T>addAll in interface List<T>addAll in class CopyOnWriteArrayList<T>public boolean addAll(int index,
Collection<? extends T> c)
Copyright © 2003-2008 Jive Software.