Class PajekNetReader.StartsWithPredicate

java.lang.Object
edu.uci.ics.jung.io.PajekNetReader.StartsWithPredicate
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.
  • Field Details

  • 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>