Class PajekNetReader.ListTagPred

  • 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.ListTagPred
    extends java.lang.Object
    implements com.google.common.base.Predicate<java.lang.String>
    A Predicate which evaluates to true if the argument ends with the string "list".
    Author:
    Joshua O'Madadhain
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ListTagPred()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean apply​(java.lang.String s)  
      protected static PajekNetReader.ListTagPred getInstance()  
      boolean test​(java.lang.String s)  
      • 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
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Constructor Detail

      • ListTagPred

        protected ListTagPred()
    • Method Detail

      • apply

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

        public boolean test​(java.lang.String s)
        Specified by:
        test in interface com.google.common.base.Predicate<java.lang.String>
        Specified by:
        test in interface java.util.function.Predicate<java.lang.String>