@Override public final long getLong() { int newPosition = position + SizeOf.LONG; if (newPosition > limit) { throw new BufferUnderflowException(); } long result = this.block.peekLong(offset + position, order); position = newPosition; return result; }
@Override public final double getDouble() { int newPosition = position + SizeOf.DOUBLE; if (newPosition > limit) { throw new BufferUnderflowException(); } double result = Double.longBitsToDouble(this.block.peekLong(offset + position, order)); position = newPosition; return result; }
@Override public final long getLong(int index) { checkIndex(index, SizeOf.LONG); return this.block.peekLong(offset + index, order); }
@Override public final double getDouble(int index) { checkIndex(index, SizeOf.DOUBLE); return Double.longBitsToDouble(this.block.peekLong(offset + index, order)); }
@Override public final double getDouble() { int newPosition = position + SizeOf.DOUBLE; if (newPosition > limit) { throw new BufferUnderflowException(); } double result = Double.longBitsToDouble(this.block.peekLong(offset + position, order)); position = newPosition; return result; }
@Override public final long getLong() { int newPosition = position + SizeOf.LONG; if (newPosition > limit) { throw new BufferUnderflowException(); } long result = this.block.peekLong(offset + position, order); position = newPosition; return result; }
@Override public final double getDouble() { int newPosition = position + SizeOf.DOUBLE; if (newPosition > limit) { throw new BufferUnderflowException(); } double result = Double.longBitsToDouble(this.block.peekLong(offset + position, order)); position = newPosition; return result; }
@Override public final long getLong() { int newPosition = position + SizeOf.LONG; if (newPosition > limit) { throw new BufferUnderflowException(); } long result = this.block.peekLong(offset + position, order); position = newPosition; return result; }
@Override public final double getDouble() { int newPosition = position + SizeOf.DOUBLE; if (newPosition > limit) { throw new BufferUnderflowException(); } double result = Double.longBitsToDouble(this.block.peekLong(offset + position, order)); position = newPosition; return result; }
@Override public final long getLong() { int newPosition = position + SizeOf.LONG; if (newPosition > limit) { throw new BufferUnderflowException(); } long result = this.block.peekLong(offset + position, order); position = newPosition; return result; }
@Override public final long getLong() { int newPosition = position + SizeOf.LONG; if (newPosition > limit) { throw new BufferUnderflowException(); } long result = this.block.peekLong(offset + position, order); position = newPosition; return result; }
@Override public final double getDouble() { int newPosition = position + SizeOf.DOUBLE; if (newPosition > limit) { throw new BufferUnderflowException(); } double result = Double.longBitsToDouble(this.block.peekLong(offset + position, order)); position = newPosition; return result; }
@Override public final double getDouble() { int newPosition = position + SizeOf.DOUBLE; if (newPosition > limit) { throw new BufferUnderflowException(); } double result = Double.longBitsToDouble(this.block.peekLong(offset + position, order)); position = newPosition; return result; }
@Override public final long getLong() { int newPosition = position + SizeOf.LONG; if (newPosition > limit) { throw new BufferUnderflowException(); } long result = this.block.peekLong(offset + position, order); position = newPosition; return result; }
@Override public final double getDouble(int index) { checkIndex(index, SizeOf.DOUBLE); return Double.longBitsToDouble(this.block.peekLong(offset + index, order)); }
@Override public final long getLong(int index) { checkIndex(index, SizeOf.LONG); return this.block.peekLong(offset + index, order); }
@Override public final long getLong(int index) { checkIndex(index, SizeOf.LONG); return this.block.peekLong(offset + index, order); }
@Override public final double getDouble(int index) { checkIndex(index, SizeOf.DOUBLE); return Double.longBitsToDouble(this.block.peekLong(offset + index, order)); }
@Override public final double getDouble() { int newPosition = position + SizeOf.DOUBLE; if (newPosition > limit) { throw new BufferUnderflowException(); } double result = Double.longBitsToDouble(this.block.peekLong(offset + position, order)); position = newPosition; return result; }
@Override public final long getLong() { int newPosition = position + SizeOf.LONG; if (newPosition > limit) { throw new BufferUnderflowException(); } long result = this.block.peekLong(offset + position, order); position = newPosition; return result; }