Class LabelNodeFilter
- java.lang.Object
-
- org.neo4j.gds.similarity.filtering.LabelNodeFilter
-
- All Implemented Interfaces:
java.util.function.LongPredicate,NodeFilter
public final class LabelNodeFilter extends java.lang.Object implements NodeFilter
-
-
Field Summary
-
Fields inherited from interface org.neo4j.gds.similarity.filtering.NodeFilter
noOp
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LabelNodeFiltercreate(java.lang.String labelString, org.neo4j.gds.api.IdMap idMap)booleantest(long nodeId)
-
-
-
Method Detail
-
create
public static LabelNodeFilter create(java.lang.String labelString, org.neo4j.gds.api.IdMap idMap)
-
test
public boolean test(long nodeId)
- Specified by:
testin interfacejava.util.function.LongPredicate
-
-