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 theCodeGraphs the containing list can be used inN- the type of theCodeNodes in the containing listE- the type of theCodeEdges 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.ObjectUtility 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 booleanequals(java.lang.Object obj)java.util.Set<E>getIngoing()Yields the ingoing edges.java.util.Set<E>getOutgoing()Yields the outgoing edges.inthashCode()java.lang.StringtoString()
-
-
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-