@ Override public void dump ( OutputStream output ) { try ( PrintWriter out = new PrintWriter ( new OutputStreamWriter ( output , UTF_8 ) ) ) { for ( long value : values ) { out . printf ( "%d%n" , value ) ; } } }
Writes the values of the snapshot to the given stream .