Serializablepublic final class NbMarshalledObject extends Object implements Serializable
| Constructor | Description |
|---|---|
NbMarshalledObject(Object obj) |
Creates a new
NbMarshalledObject that contains the
serialized representation of the provided object. |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object obj) |
Two objects are equal if the hold the same serialized
representation.
|
Object |
get() |
Returns a new copy of the contained marshalledobject.
|
int |
hashCode() |
public NbMarshalledObject(Object obj) throws IOException
NbMarshalledObject that contains the
serialized representation of the provided object.obj - the object to be serialized (must be serializable)IOException - the object is not serializablepublic Object get() throws IOException, ClassNotFoundException
IOException - on any I/O problemClassNotFoundException - if the class of the object cannot be foundBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.