hollow/src/main/java/com/netflix/hollow/core/memory/ByteArrayOrdinalMap.java
public void resize(int size) {
        size = bucketSize(size);

        if (pointersAndOrdinals.length() < size) {
            growKeyArray(size);
        }
    }
public void resize(int size) {
        size = bucketSize(size);

        if (pointersAndOrdinals.length() < size) {
            growKeyArray(size);
        }
    }
public void resize ( int size ) { size = bucketSize ( size ) ; if ( pointersAndOrdinals . length ( ) < size ) { growKeyArray ( size ) ; } }
Resize the ordinal map by increasing its capacity.
<p>
No action is take if the current capacity is sufficient for the given size.
<p>
WARNING: THIS OPERATION IS NOT THREAD-SAFE.

@param size the size to increase to, rounded up to the nearest power of two.
Resize the ordinal map by increasing its capacity . <p > No action is take if the current capacity is sufficient for the given size . <p > WARNING : THIS OPERATION IS NOT THREAD - SAFE .