public class SimpleAddedRelations extends Object implements AddedRelationsContainer
EMPTY| Constructor and Description |
|---|
SimpleAddedRelations() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(InternalRelation relation) |
void |
clear()
Clears the container which releases allocated memory.
|
Collection<InternalRelation> |
getAllUnsafe()
This method returns all relations in this container.
|
Iterable<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 Iterable<InternalRelation> getView(com.google.common.base.Predicate<InternalRelation> filter)
getView in interface AddedRelationsContainerpublic boolean isEmpty()
isEmpty in interface AddedRelationsContainerpublic Collection<InternalRelation> getAllUnsafe()
AddedRelationsContainergetAllUnsafe in interface AddedRelationsContainerpublic void clear()
AddedRelationsContainerclear in interface AddedRelationsContainerCopyright © 2012–2024. All rights reserved.