org.mindswap.pellet
Class EdgeList
java.lang.Object
org.mindswap.pellet.EdgeList
public class EdgeList
- extends java.lang.Object
- Author:
- Evren Sirin
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EdgeList
public EdgeList()
EdgeList
public EdgeList(int size)
EdgeList
public EdgeList(EdgeList edges)
EdgeList
public EdgeList(Edge edge)
- Create an immutable singleton EdgeList;
- Parameters:
edge
-
addEdgeList
public void addEdgeList(EdgeList edges)
addEdge
public void addEdge(Edge e)
removeEdge
public boolean removeEdge(Edge edge)
edgeAt
public Edge edgeAt(int i)
size
public int size()
sort
public EdgeList sort()
isEmpty
public boolean isEmpty()
iterator
public java.util.Iterator iterator()
getEdgesFromTo
public EdgeList getEdgesFromTo(Individual from,
Node to)
getEdgesFrom
public EdgeList getEdgesFrom(Individual from)
getEdgesTo
public EdgeList getEdgesTo(Node to)
getEdges
public EdgeList getEdges(Role role)
getEdgesContaining
public EdgeList getEdgesContaining(Node node)
getPredecessors
public java.util.Set getPredecessors()
getSuccessors
public java.util.Set getSuccessors()
getRoles
public java.util.Set getRoles()
getNeighborNames
public java.util.Set getNeighborNames(Individual node)
getNeighbors
public java.util.Set getNeighbors(Node node)
getFilteredNeighbors
public java.util.Set getFilteredNeighbors(Individual node)
hasEdgeFrom
public boolean hasEdgeFrom(Individual from)
hasEdgeFrom
public boolean hasEdgeFrom(Individual from,
Role role)
hasEdgeTo
public boolean hasEdgeTo(Node to)
hasEdgeTo
public boolean hasEdgeTo(Role role,
Node to)
hasEdge
public boolean hasEdge(Role role)
hasEdge
public boolean hasEdge(Individual from,
Role role,
Node to)
hasEdge
public boolean hasEdge(Edge e)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2007-2009 Natalya Keberle. All Rights Reserved.