public class ConcurrentAddedRelations extends SimpleAddedRelations
EMPTY| Constructor and Description |
|---|
ConcurrentAddedRelations(Boolean groupPropertiesByKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(InternalRelation relation) |
Collection<InternalRelation> |
getAllUnsafe()
This method returns all relations in this container.
|
Iterable<InternalRelation> |
getView(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
getViewOfPreviousRelations(long id) |
Iterable<InternalRelation> |
getViewOfProperties(com.google.common.base.Predicate<InternalRelation> filter) |
List<InternalRelation> |
getViewOfProperties(String... keys) |
List<InternalRelation> |
getViewOfProperties(String key,
Object value) |
boolean |
remove(InternalRelation relation) |
clear, isEmptypublic ConcurrentAddedRelations(Boolean groupPropertiesByKey)
public 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 Iterable<InternalRelation> getViewOfProperties(com.google.common.base.Predicate<InternalRelation> filter)
getViewOfProperties in interface AddedRelationsContainergetViewOfProperties in class SimpleAddedRelationspublic List<InternalRelation> getViewOfProperties(String... keys)
getViewOfProperties in interface AddedRelationsContainergetViewOfProperties in class SimpleAddedRelationspublic List<InternalRelation> getViewOfProperties(String key, Object value)
getViewOfProperties in interface AddedRelationsContainergetViewOfProperties in class SimpleAddedRelationspublic Iterable<InternalRelation> getViewOfPreviousRelations(long id)
getViewOfPreviousRelations in interface AddedRelationsContainergetViewOfPreviousRelations in class SimpleAddedRelationspublic Collection<InternalRelation> getAllUnsafe()
AddedRelationsContainergetAllUnsafe in interface AddedRelationsContainergetAllUnsafe in class SimpleAddedRelationsCopyright © 2012–2024. All rights reserved.