org.expasy.jpl.commons.collection.graph
Class GraphPredicate.VertexPatternPredicate<T>

java.lang.Object
  extended by org.expasy.jpl.commons.collection.graph.GraphPredicate.VertexPatternPredicate<T>
All Implemented Interfaces:
org.apache.commons.collections15.Predicate<T>
Enclosing class:
GraphPredicate

public static class GraphPredicate.VertexPatternPredicate<T>
extends Object
implements org.apache.commons.collections15.Predicate<T>


Constructor Summary
GraphPredicate.VertexPatternPredicate(Pattern pattern)
           
 
Method Summary
 boolean evaluate(T node)
           
 void setTransformer(org.apache.commons.collections15.Transformer<T,String> transformer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphPredicate.VertexPatternPredicate

public GraphPredicate.VertexPatternPredicate(Pattern pattern)
Method Detail

setTransformer

public void setTransformer(org.apache.commons.collections15.Transformer<T,String> transformer)
Parameters:
transformer - the node to string transformer.

evaluate

public boolean evaluate(T node)
Specified by:
evaluate in interface org.apache.commons.collections15.Predicate<T>


Copyright (c) 2012 Swiss Institute of Bioinformatics. All rights reserved.