@Override public void testByte_TPrimitiveHashMap() { int total = 0; for( int i = 0; i < ITERATIONS_BYTE; i++ ) { TByteByteIterator iterator = byte_t_primitive_map.iterator(); while( iterator.hasNext() ) { iterator.advance(); total += iterator.key(); } } int_slot.set( total ); }
@Override public void testByte_Trove2PrimitiveHashMap() { int total = 0; for( int i = 0; i < ITERATIONS_BYTE; i++ ) { gnu.trove.TByteByteIterator iterator = byte_t2_primitive_map.iterator(); while( iterator.hasNext() ) { iterator.advance(); total += iterator.key(); } } int_slot.set( total ); }
public TByteByteIterator iterator() { return container.iterator(); }