@Override public long previousLong() { if ( ! hasPrevious() ) throw new NoSuchElementException(); return getLong( --pos ); }
@Override @Deprecated public int size() { final long length = length(); if (length > Integer.MAX_VALUE) throw new IllegalStateException("The number of elements of this bit list (" + length + ") exceeds Integer.MAX_INT"); return (int)length; }
@Deprecated public LongBigList length(final long newSize) { size(newSize); return this; }
public boolean hasNext() { return pos < length(); } public boolean hasPrevious() { return pos > 0; }
public long set( int index, long value ) { return set( (long)index, value ); }
public void size( final int newSize ) { length( newSize ); }
public void add(int index, long value) { add((long)index, value); }
public boolean hasNext() { return pos < length(); } public boolean hasPrevious() { return pos > 0; }
public void size( final int newSize ) { length( newSize ); }
public long set( int index, long value ) { return set( (long)index, value ); }
public LongBigList asLongBigList( final int width ) { return new LongBigListView( this, width ); }
public long getLong( int index ) { return getLong( (long)index ); }
@Override public boolean hasNext() { return pos < length(); } @Override
@Override public LongBigList asLongBigList(final int width) { return new LongBigListView(this, width); }
public long getLong(int index) { return getLong((long)index); }
public long getLong( int index ) { return getLong( (long)index ); }
public void add( int index, long value ) { add( (long)index, value ); }
@Deprecated public long length() { return size64(); }
public LongBigList asLongBigList( final int width ) { return new LongBigListView( this, width ); }
public void add( int index, long value ) { add( (long)index, value ); }