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
- the vertex typeE
- the edge type
- All Implemented Interfaces:
com.google.common.base.Predicate<Context<Graph<V,
,E>, E>> Predicate<Context<Graph<V,
E>, E>>
public class SelfLoopEdgePredicate<V,E>
extends Object
implements com.google.common.base.Predicate<Context<Graph<V,E>,E>>
A
Predicate
that returns true
if the input edge's
endpoints in the input graph are identical. (Thus, an edge which connects
its sole incident vertex to itself).-
Constructor Details
-
SelfLoopEdgePredicate
public SelfLoopEdgePredicate()
-
-
Method Details
-
apply
- Specified by:
apply
in interfacecom.google.common.base.Predicate<V>
-