public boolean canStoreCompact ( ) { final long exactCount = getExactCount ( ) ; return ( size <= Short . MAX_VALUE && exactCount <= Byte . MAX_VALUE && ( count - exactCount ) <= Byte . MAX_VALUE ) ; }
Checks whether this approximate histogram can be stored in a compact form