public class SimpleBufferAddedRelations extends Object implements AddedRelationsContainer
EMPTY| Constructor and Description |
|---|
SimpleBufferAddedRelations() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(InternalRelation relation) |
Collection<InternalRelation> |
getAll()
This method returns all relations in this container.
|
List<InternalRelation> |
getView(com.google.common.base.Predicate<InternalRelation> filter) |
boolean |
isEmpty() |
boolean |
remove(InternalRelation relation) |
public boolean add(InternalRelation relation)
add in interface AddedRelationsContainerpublic boolean remove(InternalRelation relation)
remove in interface AddedRelationsContainerpublic boolean isEmpty()
isEmpty in interface AddedRelationsContainerpublic List<InternalRelation> getView(com.google.common.base.Predicate<InternalRelation> filter)
getView in interface AddedRelationsContainerpublic Collection<InternalRelation> getAll()
AddedRelationsContainergetAll in interface AddedRelationsContainerCopyright © 2012–2015. All rights reserved.