List of usage examples for java.io ObjectInput readChar
char readChar() throws IOException;
From source file:gnu.trove.map.custom_hash.TObjectCharCustomHashMap.java
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { // VERSION//from w w w . java 2 s .c o m in.readByte(); // SUPER super.readExternal(in); // STRATEGY strategy = (HashingStrategy<K>) in.readObject(); // NO_ENTRY_VALUE no_entry_value = in.readChar(); // NUMBER OF ENTRIES int size = in.readInt(); setUp(size); // ENTRIES while (size-- > 0) { //noinspection unchecked K key = (K) in.readObject(); char val = in.readChar(); put(key, val); } }