Package edu.uci.ics.jung.algorithms.util
Class SelfLoopEdgePredicate<V,E>
- java.lang.Object
-
- edu.uci.ics.jung.algorithms.util.SelfLoopEdgePredicate<V,E>
-
- Type Parameters:
V
-E
-
- All Implemented Interfaces:
org.apache.commons.collections4.Predicate<edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,E>>
public class SelfLoopEdgePredicate<V,E> extends java.lang.Object implements org.apache.commons.collections4.Predicate<edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,E>>
APredicate
that returnstrue
if the input edge's endpoints in the input graph are identical. (Thus, an edge which connects its sole incident vertex to itself).
-
-
Constructor Summary
Constructors Constructor Description SelfLoopEdgePredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate(edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,E> context)
-