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