@Beta public final class RelationshipTypes extends AbstractImmutableEntityList<RelationshipType>
list
Modifier and Type | Method and Description |
---|---|
RelationshipTypes |
add(Iterable<RelationshipType> relationshipTypes) |
RelationshipTypes |
add(RelationshipType... relationshipTypes) |
static RelationshipTypes |
empty() |
RelationshipTypes |
filter(Predicate<RelationshipType> filter) |
static RelationshipTypes |
from(Iterable<RelationshipType> relationshipTypes) |
static RelationshipTypes |
from(Iterator<RelationshipType> relationshipTypes) |
static RelationshipTypes |
from(RelationshipType... relationshipTypes) |
RelationshipType |
get(RelationshipTypeName relationshipTypeName) |
Set<RelationshipTypeName> |
getNames() |
contains, equals, first, get, getList, getSize, hashCode, isEmpty, isNotEmpty, iterator, last, stream, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public RelationshipTypes add(RelationshipType... relationshipTypes)
public RelationshipTypes add(Iterable<RelationshipType> relationshipTypes)
public Set<RelationshipTypeName> getNames()
public RelationshipType get(RelationshipTypeName relationshipTypeName)
public RelationshipTypes filter(Predicate<RelationshipType> filter)
public static RelationshipTypes empty()
public static RelationshipTypes from(RelationshipType... relationshipTypes)
public static RelationshipTypes from(Iterable<RelationshipType> relationshipTypes)
public static RelationshipTypes from(Iterator<RelationshipType> relationshipTypes)