edu.uci.ics.jung.algorithms.util
Class SelfLoopEdgePredicate<V,E>

java.lang.Object
  extended by edu.uci.ics.jung.algorithms.util.SelfLoopEdgePredicate<V,E>
Type Parameters:
V -
E -
All Implemented Interfaces:
org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>>

public class SelfLoopEdgePredicate<V,E>
extends Object
implements org.apache.commons.collections15.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 Summary
SelfLoopEdgePredicate()
           
 
Method Summary
 boolean evaluate(Context<Graph<V,E>,E> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelfLoopEdgePredicate

public SelfLoopEdgePredicate()
Method Detail

evaluate

public boolean evaluate(Context<Graph<V,E>,E> context)
Specified by:
evaluate in interface org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>>


Copyright © 2009. All Rights Reserved.