public void consumePosRange(int paramInt1, int paramInt2, Consumer paramConsumer) {
   if (paramConsumer.ignoring()) {}
   for (; ; ) {
     return;
     while (!equals(paramInt1, paramInt2)) {
       if (!hasNext(paramInt1)) {
         throw new RuntimeException();
       }
       this.base.consume(this.offset + this.strides[0] * (paramInt1 >>> 1), 1, paramConsumer);
       paramInt1 = nextPos(paramInt1);
     }
   }
 }
 public void consumePosRange(int i, int j, Consumer consumer) {
   if (!consumer.ignoring()) {
     int k = i >>> 1;
     int l = j >>> 1;
     i = l;
     j = k;
     if (l > size) {
       i = size;
       j = k;
     }
     while (j < i) {
       consumer.writeInt(data[j]);
       j++;
     }
   }
 }
Exemplo n.º 3
0
 public void consumePosRange(int iposStart, int iposEnd, Consumer out) {
   if (out.ignoring()) return;
   int i = nextIndex(iposStart);
   int end = nextIndex(iposEnd);
   for (; i < end; i++) out.writeFloat(floatAt(i));
 }