Package edu.uci.ics.jung.io
Class PajekNetReader.ListTagPred
- java.lang.Object
-
- edu.uci.ics.jung.io.PajekNetReader.ListTagPred
-
- All Implemented Interfaces:
com.google.common.base.Predicate<java.lang.String>
,java.util.function.Predicate<java.lang.String>
protected static class PajekNetReader.ListTagPred extends java.lang.Object implements com.google.common.base.Predicate<java.lang.String>
A Predicate which evaluates totrue
if the argument ends with the string "list".- Author:
- Joshua O'Madadhain
-
-
Field Summary
Fields Modifier and Type Field Description protected static PajekNetReader.ListTagPred
instance
-
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)
-
-
-
Field Detail
-
instance
protected static PajekNetReader.ListTagPred instance
-
-
Method Detail
-
getInstance
protected static PajekNetReader.ListTagPred getInstance()
-
apply
public boolean apply(java.lang.String s)
- Specified by:
apply
in interfacecom.google.common.base.Predicate<java.lang.String>
-
test
public boolean test(java.lang.String s)
- Specified by:
test
in interfacecom.google.common.base.Predicate<java.lang.String>
- Specified by:
test
in interfacejava.util.function.Predicate<java.lang.String>
-
-