Package eu.bandm.tools.tpath.type
Class PathRelation
java.lang.Object
eu.bandm.tools.tpath.type.PathRelation
- All Implemented Interfaces:
Formattable
,Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(Node.NodeType t, Node.NodeType u) boolean
addAll
(Collection<? extends Map.Entry<? extends Node.NodeType, ? extends Node.NodeType>> c) boolean
addAllId
(Collection<? extends Node.NodeType> c) boolean
void
clear()
static PathRelation
compose
(Set<Node.NodeType> support, PathRelation... rels) domain()
format()
Returns a pretty-printable representation of this object.static PathRelation
intersection
(Set<Node.NodeType> support, PathRelation... rels) boolean
isEmpty()
static PathRelation
union
(Set<Node.NodeType> support, PathRelation... rels)
-
Constructor Details
-
PathRelation
-
PathRelation
public PathRelation()
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
addId
-
addAllId
-
add
-
addAll
public boolean addAll(Collection<? extends Map.Entry<? extends Node.NodeType, ? extends Node.NodeType>> c) -
clear
public void clear() -
compose
-
domain
-
union
-
intersection
-
format
Description copied from interface:Formattable
Returns a pretty-printable representation of this object.- Specified by:
format
in interfaceFormattable
- Returns:
- a format that represents this object in a pretty-printable way
-