151 |
*/ |
*/ |
152 |
private class DummyObjectOutputStream implements ObjectOutput |
private class DummyObjectOutputStream implements ObjectOutput |
153 |
{ |
{ |
154 |
|
/** |
155 |
|
* Non-private constructor to reduce bytecode emitted. |
156 |
|
*/ |
157 |
|
DummyObjectOutputStream() |
158 |
|
{ |
159 |
|
} |
160 |
|
|
161 |
public void writeBoolean(boolean v) throws IOException |
public void writeBoolean(boolean v) throws IOException |
162 |
{ |
{ |
163 |
vec.addElement(new Boolean(v)); |
vec.addElement(new Boolean(v)); |
247 |
*/ |
*/ |
248 |
private class DummyObjectInputStream implements ObjectInput |
private class DummyObjectInputStream implements ObjectInput |
249 |
{ |
{ |
250 |
|
/** |
251 |
|
* Non-private constructor to reduce bytecode emitted. |
252 |
|
*/ |
253 |
|
DummyObjectInputStream() |
254 |
|
{ |
255 |
|
} |
256 |
|
|
257 |
public boolean readBoolean() throws IOException |
public boolean readBoolean() throws IOException |
258 |
{ |
{ |
259 |
Object obj = vec.elementAt(ptr++); |
Object obj = vec.elementAt(ptr++); |