Introduction
Declaration Public class ObjectStreamField extends Object implements Comparable<Object>
Table | Constructor | Description |
|---|---|
| ObjectStreamField(String name, Class<?>type) | The function of this constructor is to create the field with represented type. |
| ObjectStreamField (String name, Class<?>type, boolean unshared) | The function of this constructor is to field with represented name and type. |
Table | Method | Description |
|---|---|
| String toString | To abstract path name the method returns the pathname string. |
| String getName() | The files or directories which are denoted by its abstract pathname are named by this method. |
| Class<?> getType() | The function of this method is to retutn the type of field. |
| int compareTo(Object obj) | The function of this method is compares the two object stream fields. |
| Boolean isUnshared() | The function of this method is to check that the object stream represents the serializable field are not. |
Description
Examples
Key Points