public class ConcurrentAddedRelations extends SimpleAddedRelations
EMPTY| Constructor and Description |
|---|
ConcurrentAddedRelations() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(InternalRelation relation) |
Collection<InternalRelation> |
getAll()
This method returns all relations in this container.
|
Iterable<InternalRelation> |
getView(com.google.common.base.Predicate<InternalRelation> filter) |
boolean |
remove(InternalRelation relation) |
clear, isEmptypublic boolean add(InternalRelation relation)
add in interface AddedRelationsContaineradd in class SimpleAddedRelationspublic boolean remove(InternalRelation relation)
remove in interface AddedRelationsContainerremove in class SimpleAddedRelationspublic Iterable<InternalRelation> getView(com.google.common.base.Predicate<InternalRelation> filter)
getView in interface AddedRelationsContainergetView in class SimpleAddedRelationspublic Collection<InternalRelation> getAll()
AddedRelationsContainergetAll in interface AddedRelationsContainergetAll in class SimpleAddedRelationsCopyright © 2012–2023. All rights reserved.