private static void writeStringMap ( SymbolTable map , ObjectOutput out ) throws IOException { out . writeInt ( map . size ( ) ) ; for ( ObjectIntCursor < String > cursor : map ) { out . writeUTF ( cursor . key ) ; out . writeInt ( cursor . value ) ; } }
Serializes a symbol map to an ObjectOutput