org.graphstream.stream
Interface AttributePredicate


public interface AttributePredicate

Tell if an attribute is recognized.


Method Summary
 boolean matches(String attributeName, Object attributeValue)
          Tell if an attribute is recognized or not.
 

Method Detail

matches

boolean matches(String attributeName,
                Object attributeValue)
Tell if an attribute is recognized or not. The predicate can work on the name of the attribute, on its value or on both.

Parameters:
attributeName - The name of the attribute.
attributeValue - The value of the attribute.
Returns:
True if the attribute must be removed from the stream of graph events.


Copyright © 2013. All Rights Reserved.