@Test(expected = IndexOutOfBoundsException.class) public void testInvalidPositionSizeGet02() { BitVectorImpl.getBitInWord((byte) 0x40, 0); }
static boolean getBitInWord(byte position, long word) { if ((position < 0) || (position >= WORD_SIZE)) { throw new IndexOutOfBoundsException(); } return ((word >> position) & 1) == 1; }
BitVectorImpl implements BitVector, Iterable<Boolean> { static boolean getBitInWord(byte position, long word) { if ((position < 0) || (position >= WORD_SIZE)) { throw new IndexOutOfBoundsException(); } return ((word >> position) & 1) == 1; } }
BitVectorImpl implements BitVector, Iterable<Boolean> { static boolean getBitInWord(byte position, long word) { if ((position < 0) || (position >= WORD_SIZE)) { throw new IndexOutOfBoundsException(); } return ((word >> position) & 1) == 1; } BitVectorImpl();  BitVectorImpl(BitVector bitVector);  BitVectorImpl(long initialSize); }
BitVectorImpl implements BitVector, Iterable<Boolean> { static boolean getBitInWord(byte position, long word) { if ((position < 0) || (position >= WORD_SIZE)) { throw new IndexOutOfBoundsException(); } return ((word >> position) & 1) == 1; } BitVectorImpl();  BitVectorImpl(BitVector bitVector);  BitVectorImpl(long initialSize); @Override boolean addBit(boolean bit); @Override boolean equals(Object obj); @Override boolean getBit(long position); @Override int hashCode(); @Override Iterator<Boolean> iterator(); @Override void setBit(long position, boolean bit); @Override long size(); @Override String toString(); }
BitVectorImpl implements BitVector, Iterable<Boolean> { static boolean getBitInWord(byte position, long word) { if ((position < 0) || (position >= WORD_SIZE)) { throw new IndexOutOfBoundsException(); } return ((word >> position) & 1) == 1; } BitVectorImpl();  BitVectorImpl(BitVector bitVector);  BitVectorImpl(long initialSize); @Override boolean addBit(boolean bit); @Override boolean equals(Object obj); @Override boolean getBit(long position); @Override int hashCode(); @Override Iterator<Boolean> iterator(); @Override void setBit(long position, boolean bit); @Override long size(); @Override String toString();  }