Class PajekNetReader.StartsWithPredicate

  • All Implemented Interfaces:
    com.google.common.base.Predicate<java.lang.String>, java.util.function.Predicate<java.lang.String>
    Enclosing class:
    PajekNetReader<G extends Graph<V,​E>,​V,​E>

    protected static class PajekNetReader.StartsWithPredicate
    extends java.lang.Object
    implements com.google.common.base.Predicate<java.lang.String>
    A Predicate which evaluates to true if the argument starts with the constructor-specified String.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String tag  
    • 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 apply​(java.lang.String str)  
      • 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, test
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Field Detail

      • tag

        private java.lang.String tag
    • Constructor Detail

      • StartsWithPredicate

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

      • apply

        public boolean apply​(java.lang.String str)
        Specified by:
        apply in interface com.google.common.base.Predicate<java.lang.String>