@Override public BooleanList subList(final int from, final int to) { synchronized (sync) { return new SynchronizedList(list.subList(from, to), sync); } } @Override
@Override public BooleanList subList(final int from, final int to) { synchronized (sync) { return new SynchronizedRandomAccessList(list.subList(from, to), sync); } } }
@Override public BooleanList subList(final int from, final int to) { return new UnmodifiableRandomAccessList(list.subList(from, to)); } }
@Override public BooleanList subList(final int from, final int to) { return new UnmodifiableList(list.subList(from, to)); } @Override
@Override public BooleanBigList subList(long from, long to) { return new ListBigList(list.subList(intIndex(from), intIndex(to))); } @Override
public BitVector copy( final long from, final long to ) { BitVectors.ensureFromTo( length(), from, to ); return new BooleanListBitVector( list.subList( (int)from, (int)to ) ); }
public BitVector copy( final long from, final long to ) { BitVectors.ensureFromTo( length(), from, to ); return new BooleanListBitVector( list.subList( (int)from, (int)to ) ); }