- All Implemented Interfaces:
com.google.common.base.Predicate<String>
, Predicate<String>
- Enclosing class:
PajekNetReader<G extends Graph<V,E>,V,E>
protected static class PajekNetReader.StartsWithPredicate
extends Object
implements com.google.common.base.Predicate<String>
A Predicate which evaluates to true
if the
argument starts with the constructor-specified String.
- Author:
- Joshua O'Madadhain
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Predicate
equals
-
Constructor Details
-
StartsWithPredicate
protected StartsWithPredicate(String s)
-
Method Details
-
apply
public boolean apply(String str)
- Specified by:
apply
in interface com.google.common.base.Predicate<String>
-
test
public boolean test(String str)
- Specified by:
test
in interface com.google.common.base.Predicate<String>
- Specified by:
test
in interface Predicate<String>