public class ConcurrentBufferAddedRelations extends SimpleBufferAddedRelations
EMPTY
Constructor and Description |
---|
ConcurrentBufferAddedRelations() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(InternalRelation relation) |
List<InternalRelation> |
getView(com.google.common.base.Predicate<InternalRelation> filter) |
boolean |
isEmpty() |
boolean |
remove(InternalRelation relation) |
getAll
public boolean add(InternalRelation relation)
add
in interface AddedRelationsContainer
add
in class SimpleBufferAddedRelations
public boolean remove(InternalRelation relation)
remove
in interface AddedRelationsContainer
remove
in class SimpleBufferAddedRelations
public boolean isEmpty()
isEmpty
in interface AddedRelationsContainer
isEmpty
in class SimpleBufferAddedRelations
public List<InternalRelation> getView(com.google.common.base.Predicate<InternalRelation> filter)
getView
in interface AddedRelationsContainer
getView
in class SimpleBufferAddedRelations
Copyright © 2012–2018. All rights reserved.