Class HnswGraph.NodesIterator

    • Field Detail

      • size

        protected final int size
    • Constructor Detail

      • NodesIterator

        public NodesIterator​(int size)
        Constructor for iterator based on the size
    • Method Detail

      • size

        public int size()
        The number of elements in this iterator *
      • consume

        public abstract int consume​(int[] dest)
        Consume integers from the iterator and place them into the `dest` array.
        dest - where to put the integers
        The number of integers written to `dest`