test_class.file: wdtk-storage/src/test/java/org/wikidata/wdtk/storage/datastructures/RankedBitVectorImplTest.java
test_class.identifier: RankedBitVectorImplTest
test_case.body: @Test
  	public void testIterator() {
  		RankedBitVectorImpl bv = new RankedBitVectorImpl(new BitVectorImpl());
  		PseudorandomBooleanGenerator generator = new PseudorandomBooleanGenerator(
  				0x7531);
  		Assert.assertEquals(0, bv.size());
  		for (int i = 0; i < 0x300; i++) {
  			bv.addBit(generator.getPseudorandomBoolean());
  		}
  		Iterator<Boolean> it = bv.iterator();
  		for (int i = 0; i < 0x300; i++) {
  			boolean value = it.next();
  			Assert.assertEquals(bv.getBit(i), value);
  		}
  		Assert.assertFalse(it.hasNext());
  	}
test_case.class_method_signature: RankedBitVectorImplTest.testIterator()
test_case.full_signature: @Test public void testIterator()
test_case.identifier: testIterator
test_case.invocations: assertEquals size addBit getPseudorandomBoolean iterator next assertEquals getBit assertFalse hasNext
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIterator()
focal_class.declarator: defaultCountBitsBlockSize = 0x400
focal_class.modifier: static final
focal_class.original_string: static final int defaultCountBitsBlockSize = 0x400;
focal_class.type: int
focal_class.var_name: defaultCountBitsBlockSize
focal_class.declarator: defaultFindPositionBlockSize = 0x2000
focal_class.modifier: static final
focal_class.original_string: static final int defaultFindPositionBlockSize = 0x2000;
focal_class.type: int
focal_class.var_name: defaultFindPositionBlockSize
focal_class.declarator: bitVector
focal_class.modifier: final
focal_class.original_string: final BitVectorImpl bitVector;
focal_class.type: BitVectorImpl
focal_class.var_name: bitVector
focal_class.declarator: countBitsArray
focal_class.modifier: final
focal_class.original_string: final CountBitsArray countBitsArray;
focal_class.type: CountBitsArray
focal_class.var_name: countBitsArray
focal_class.declarator: findPositionOfFalse
focal_class.modifier: final
focal_class.original_string: final FindPositionArray findPositionOfFalse;
focal_class.type: FindPositionArray
focal_class.var_name: findPositionOfFalse
focal_class.declarator: findPositionOfTrue
focal_class.modifier: final
focal_class.original_string: final FindPositionArray findPositionOfTrue;
focal_class.type: FindPositionArray
focal_class.var_name: findPositionOfTrue
focal_class.file: wdtk-storage/src/main/java/org/wikidata/wdtk/storage/datastructures/RankedBitVectorImpl.java
focal_class.identifier: RankedBitVectorImpl
focal_class.interfaces: implements RankedBitVector, Iterable<Boolean>
focal_class.class_method_signature: RankedBitVectorImpl.RankedBitVectorImpl()
focal_class.full_signature: public  RankedBitVectorImpl()
focal_class.identifier: RankedBitVectorImpl
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  RankedBitVectorImpl()
focal_class.class_method_signature: RankedBitVectorImpl.RankedBitVectorImpl(BitVector bitVector)
focal_class.full_signature: public  RankedBitVectorImpl(BitVector bitVector)
focal_class.identifier: RankedBitVectorImpl
focal_class.modifiers: public
focal_class.parameters: (BitVector bitVector)
focal_class.signature:  RankedBitVectorImpl(BitVector bitVector)
focal_class.class_method_signature: RankedBitVectorImpl.RankedBitVectorImpl(long initialSize)
focal_class.full_signature: public  RankedBitVectorImpl(long initialSize)
focal_class.identifier: RankedBitVectorImpl
focal_class.modifiers: public
focal_class.parameters: (long initialSize)
focal_class.signature:  RankedBitVectorImpl(long initialSize)
focal_class.class_method_signature: RankedBitVectorImpl.RankedBitVectorImpl(long initialSize, int countBlockSize,
  			int findPositionBlockSize)
focal_class.full_signature: public  RankedBitVectorImpl(long initialSize, int countBlockSize,
  			int findPositionBlockSize)
focal_class.identifier: RankedBitVectorImpl
focal_class.modifiers: public
focal_class.parameters: (long initialSize, int countBlockSize,
  			int findPositionBlockSize)
focal_class.signature:  RankedBitVectorImpl(long initialSize, int countBlockSize,
  			int findPositionBlockSize)
focal_class.class_method_signature: RankedBitVectorImpl.addBit(boolean bit)
focal_class.full_signature: @Override public boolean addBit(boolean bit)
focal_class.identifier: addBit
focal_class.modifiers: @Override public
focal_class.parameters: (boolean bit)
focal_class.return: boolean
focal_class.signature: boolean addBit(boolean bit)
focal_class.class_method_signature: RankedBitVectorImpl.countBits(boolean bit, long position)
focal_class.full_signature: @Override public long countBits(boolean bit, long position)
focal_class.identifier: countBits
focal_class.modifiers: @Override public
focal_class.parameters: (boolean bit, long position)
focal_class.return: long
focal_class.signature: long countBits(boolean bit, long position)
focal_class.class_method_signature: RankedBitVectorImpl.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.class_method_signature: RankedBitVectorImpl.findPosition(boolean bit, long nOccurrence)
focal_class.full_signature: @Override public long findPosition(boolean bit, long nOccurrence)
focal_class.identifier: findPosition
focal_class.modifiers: @Override public
focal_class.parameters: (boolean bit, long nOccurrence)
focal_class.return: long
focal_class.signature: long findPosition(boolean bit, long nOccurrence)
focal_class.class_method_signature: RankedBitVectorImpl.getBit(long position)
focal_class.full_signature: @Override public boolean getBit(long position)
focal_class.identifier: getBit
focal_class.modifiers: @Override public
focal_class.parameters: (long position)
focal_class.return: boolean
focal_class.signature: boolean getBit(long position)
focal_class.class_method_signature: RankedBitVectorImpl.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: RankedBitVectorImpl.iterator()
focal_class.full_signature: @Override public Iterator<Boolean> iterator()
focal_class.identifier: iterator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterator<Boolean>
focal_class.signature: Iterator<Boolean> iterator()
focal_class.class_method_signature: RankedBitVectorImpl.notifyObservers()
focal_class.full_signature:  void notifyObservers()
focal_class.identifier: notifyObservers
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void notifyObservers()
focal_class.class_method_signature: RankedBitVectorImpl.setBit(long position, boolean bit)
focal_class.full_signature: @Override public void setBit(long position, boolean bit)
focal_class.identifier: setBit
focal_class.modifiers: @Override public
focal_class.parameters: (long position, boolean bit)
focal_class.return: void
focal_class.signature: void setBit(long position, boolean bit)
focal_class.class_method_signature: RankedBitVectorImpl.size()
focal_class.full_signature: @Override public long size()
focal_class.identifier: size
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long size()
focal_class.class_method_signature: RankedBitVectorImpl.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
  	public Iterator<Boolean> iterator() {
  		return this.bitVector.iterator();
  	}
focal_method.class_method_signature: RankedBitVectorImpl.iterator()
focal_method.full_signature: @Override public Iterator<Boolean> iterator()
focal_method.identifier: iterator
focal_method.invocations: iterator
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Iterator<Boolean>
focal_method.signature: Iterator<Boolean> iterator()