Refine search
private void writeObject(java.io.ObjectOutputStream out) throws IOException { out.defaultWriteObject(); if (codec != null) { out.writeByte(codec.getCodecByte()); } else { out.writeByte(-1); } if (userDefinedSchema != null) { byte[] json = userDefinedSchema.toString().getBytes(ConfigConstants.DEFAULT_CHARSET); out.writeInt(json.length); out.write(json); } else { out.writeInt(0); } }
private void writeObject(ObjectOutputStream out) throws IOException { out.defaultWriteObject(); out.writeByte(MAJOR); out.writeByte(MINOR); if (parameters == null) { out.writeInt(-1); } else { out.writeInt(parameters.length); for (Object element : parameters) { out.writeObject((element == null) ? null : element.toString()); } } }
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { s.defaultWriteObject(); for (int i = 0; i < size; i++) { s.writeByte(key[i]); s.writeByte(value[i]); } } private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, ClassNotFoundException {
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { s.defaultWriteObject(); for (int i = 0; i < size; i++) { s.writeByte(key[i]); s.writeObject(value[i]); } } private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, ClassNotFoundException {
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { s.defaultWriteObject(); for (int i = 0; i < size; i++) { s.writeObject(key[i]); s.writeByte(value[i]); } } private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, ClassNotFoundException {
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { s.defaultWriteObject(); s.writeInt(array.length); for (int i = 0; i < size; i++) s.writeByte(array[i]); }
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { s.defaultWriteObject(); for (int i = 0; i < size; i++) { s.writeByte(key[i]); s.writeObject(value[i]); } } private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, ClassNotFoundException {
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { final byte key[] = this.key; final byte value[] = this.value; final MapIterator i = new MapIterator(); s.defaultWriteObject(); for (int j = size, e; j-- != 0;) { e = i.nextEntry(); s.writeByte(key[e]); s.writeByte(value[e]); } }
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { int n = count; EntryIterator i = new EntryIterator(); Entry e; s.defaultWriteObject(); while (n-- != 0) { e = i.nextEntry(); s.writeByte(e.key); s.writeByte(e.value); } } /**
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { s.defaultWriteObject(); for (int i = 0; i < size; i++) { s.writeByte(key[i]); s.writeShort(value[i]); } } private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, ClassNotFoundException {
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { final byte key[] = this.key; final byte value[] = this.value; final MapIterator i = new MapIterator(); s.defaultWriteObject(); for (int j = size, e; j-- != 0;) { e = i.nextEntry(); s.writeByte(key[e]); s.writeByte(value[e]); } }
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { final byte key[] = this.key; final int value[] = this.value; final MapIterator i = new MapIterator(); s.defaultWriteObject(); for (int j = size, e; j-- != 0;) { e = i.nextEntry(); s.writeByte(key[e]); s.writeInt(value[e]); } }
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { final byte key[] = this.key; final V value[] = this.value; final MapIterator i = new MapIterator(); s.defaultWriteObject(); for (int j = size, e; j-- != 0;) { e = i.nextEntry(); s.writeByte(key[e]); s.writeObject(value[e]); } } @SuppressWarnings("unchecked")
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { final byte key[] = this.key; final V value[] = this.value; final MapIterator i = new MapIterator(); s.defaultWriteObject(); for (int j = size, e; j-- != 0;) { e = i.nextEntry(); s.writeByte(key[e]); s.writeObject(value[e]); } } @SuppressWarnings("unchecked")
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { final long key[] = this.key; final byte value[] = this.value; final MapIterator i = new MapIterator(); s.defaultWriteObject(); for (int j = size, e; j-- != 0;) { e = i.nextEntry(); s.writeLong(key[e]); s.writeByte(value[e]); } }
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { final K key[] = this.key; final byte value[] = this.value; final MapIterator i = new MapIterator(); s.defaultWriteObject(); for (int j = size, e; j-- != 0;) { e = i.nextEntry(); s.writeObject(key[e]); s.writeByte(value[e]); } } @SuppressWarnings("unchecked")
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { int n = count; EntryIterator i = new EntryIterator(); Entry<V> e; s.defaultWriteObject(); while (n-- != 0) { e = i.nextEntry(); s.writeByte(e.key); s.writeObject(e.value); } } /**
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { int n = count; EntryIterator i = new EntryIterator(); Entry e; s.defaultWriteObject(); while (n-- != 0) { e = i.nextEntry(); s.writeLong(e.key); s.writeByte(e.value); } } /**
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { int n = count; EntryIterator i = new EntryIterator(); Entry e; s.defaultWriteObject(); while (n-- != 0) { e = i.nextEntry(); s.writeByte(e.key); s.writeLong(e.value); } } /**
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { final int key[] = this.key; final byte value[] = this.value; final MapIterator i = new MapIterator(); s.defaultWriteObject(); for (int j = size, e; j-- != 0;) { e = i.nextEntry(); s.writeInt(key[e]); s.writeByte(value[e]); } }