public void record ( double sample ) { rotate ( ) ; long sampleLong = Double . doubleToLongBits ( sample ) ; for ( AtomicLong max : ringBuffer ) { updateMax ( max , sampleLong ) ; } }
For use by distribution summary implementations .