Class NodeIdNodeFilter

  • All Implemented Interfaces:
    java.util.function.LongPredicate, NodeFilter

    public final class NodeIdNodeFilter
    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 NodeIdNodeFilter create​(java.util.Set<java.lang.Long> externalNodeIds, org.neo4j.gds.api.IdMap idMap)  
      boolean test​(long nodeId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.LongPredicate

        and, negate, or
    • Method Detail

      • create

        public static NodeIdNodeFilter create​(java.util.Set<java.lang.Long> externalNodeIds,
                                              org.neo4j.gds.api.IdMap idMap)
      • test

        public boolean test​(long nodeId)
        Specified by:
        test in interface java.util.function.LongPredicate