Class NonZeroIterable

  • All Implemented Interfaces:
    java.lang.Iterable<long[]>

    class NonZeroIterable
    extends java.lang.Object
    implements java.lang.Iterable<long[]>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long[] indices  
      private int valueCount  
    • Constructor Summary

      Constructors 
      Constructor Description
      NonZeroIterable​(long[] indices, int valueCount)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<long[]> iterator()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • indices

        private final long[] indices
      • valueCount

        private final int valueCount
    • Constructor Detail

      • NonZeroIterable

        public NonZeroIterable​(long[] indices,
                               int valueCount)
    • Method Detail

      • iterator

        public java.util.Iterator<long[]> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<long[]>