Class PajekNetReader.StartsWithPredicate

  • All Implemented Interfaces:
    org.apache.commons.collections4.Predicate<java.lang.String>
    Enclosing class:
    PajekNetReader<G extends edu.uci.ics.jung.graph.Graph<V,​E>,​V,​E>

    protected static class PajekNetReader.StartsWithPredicate
    extends java.lang.Object
    implements org.apache.commons.collections4.Predicate<java.lang.String>
    A Predicate which evaluates to true if the argument starts with the constructor-specified String.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected StartsWithPredicate​(java.lang.String s)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean evaluate​(java.lang.String str)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StartsWithPredicate

        protected StartsWithPredicate​(java.lang.String s)
    • Method Detail

      • evaluate

        public boolean evaluate​(java.lang.String str)
        Specified by:
        evaluate in interface org.apache.commons.collections4.Predicate<java.lang.String>