static final void checkArgs ( final long numSamples , final double theta , final int numSDev ) { if ( ( numSDev | ( numSDev - 1 ) | ( 3 - numSDev ) | numSamples ) < 0 ) { throw new SketchesArgumentException ( "numSDev must only be 1,2, or 3 and numSamples must >= 0: numSDev=" + numSDev + ", numSamples=" + numSamples ) ; } if ( ( theta < 0.0 ) || ( theta > 1.0 ) ) { throw new SketchesArgumentException ( "0.0 < theta <= 1.0: " + theta ) ; } }
exposed only for test