public class ConcurrentAddedRelations extends SimpleAddedRelations
modCount
EMPTY
Constructor and Description |
---|
ConcurrentAddedRelations() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(InternalRelation relation) |
List<InternalRelation> |
getView(com.google.common.base.Predicate<InternalRelation> filter) |
boolean |
isEmpty() |
boolean |
remove(InternalRelation relation) |
getAll
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public boolean add(InternalRelation relation)
add
in interface Collection<InternalRelation>
add
in interface List<InternalRelation>
add
in interface AddedRelationsContainer
add
in class SimpleAddedRelations
public boolean remove(InternalRelation relation)
remove
in interface AddedRelationsContainer
remove
in class SimpleAddedRelations
public boolean isEmpty()
isEmpty
in interface Collection<InternalRelation>
isEmpty
in interface List<InternalRelation>
isEmpty
in interface AddedRelationsContainer
isEmpty
in class ArrayList<InternalRelation>
public List<InternalRelation> getView(com.google.common.base.Predicate<InternalRelation> filter)
getView
in interface AddedRelationsContainer
getView
in class SimpleAddedRelations
Copyright © 2012–2017. All rights reserved.