Class NodeList.NodeEdges<G extends CodeGraph<G,N,E>,N extends CodeNode<G,N,E>,E extends CodeEdge<G,N,E>>
- java.lang.Object
-
- it.unive.lisa.util.datastructures.graph.code.NodeList.NodeEdges<G,N,E>
-
- Type Parameters:
G
- the type of theCodeGraph
s the containing list can be used inN
- the type of theCodeNode
s in the containing listE
- the type of theCodeEdge
s in the containing list
- Enclosing class:
- NodeList<G extends CodeGraph<G,N,E>,N extends CodeNode<G,N,E>,E extends CodeEdge<G,N,E>>
public static class NodeList.NodeEdges<G extends CodeGraph<G,N,E>,N extends CodeNode<G,N,E>,E extends CodeEdge<G,N,E>> extends java.lang.Object
Utility class for representing the edges tied to a node, split into two sets: ingoing and outgoing.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.Set<E>
getIngoing()
Yields the ingoing edges.java.util.Set<E>
getOutgoing()
Yields the outgoing edges.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getIngoing
public java.util.Set<E> getIngoing()
Yields the ingoing edges.- Returns:
- the set of ingoing edges
-
getOutgoing
public java.util.Set<E> getOutgoing()
Yields the outgoing edges.- Returns:
- the set of outgoing edges
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-