Liking cljdoc? Tell your friends :D

jdk.io.ObjectStreamClass

Serialization's descriptor for classes. It contains the name and serialVersionUID of the class. The ObjectStreamClass for a specific class loaded in this Java VM can be found/created using the lookup method.

The algorithm to compute the SerialVersionUID is described in Object Serialization Specification, Section 4.6, Stream Unique Identifiers.

Serialization's descriptor for classes.  It contains the name and
serialVersionUID of the class.  The ObjectStreamClass for a specific class
loaded in this Java VM can be found/created using the lookup method.

The algorithm to compute the SerialVersionUID is described in
Object
Serialization Specification, Section 4.6, Stream Unique Identifiers.
raw docstring

*-no-fieldsclj

Static Constant.

serialPersistentFields value indicating no serializable fields

type: java.io.ObjectStreamField[]

Static Constant.

serialPersistentFields value indicating no serializable fields

type: java.io.ObjectStreamField[]
raw docstring

*lookupclj

(*lookup cl)

Find the descriptor for a class that can be serialized. Creates an ObjectStreamClass instance if one does not exist yet for class. Null is returned if the specified class does not implement java.io.Serializable or java.io.Externalizable.

cl - class for which to get the descriptor - java.lang.Class

returns: the class descriptor for the specified class - java.io.ObjectStreamClass

Find the descriptor for a class that can be serialized.  Creates an
 ObjectStreamClass instance if one does not exist yet for class. Null is
 returned if the specified class does not implement java.io.Serializable
 or java.io.Externalizable.

cl - class for which to get the descriptor - `java.lang.Class`

returns: the class descriptor for the specified class - `java.io.ObjectStreamClass`
raw docstring

*lookup-anyclj

(*lookup-any cl)

Returns the descriptor for any class, regardless of whether it implements Serializable.

cl - class for which to get the descriptor - java.lang.Class

returns: the class descriptor for the specified class - java.io.ObjectStreamClass

Returns the descriptor for any class, regardless of whether it
 implements Serializable.

cl - class for which to get the descriptor - `java.lang.Class`

returns: the class descriptor for the specified class - `java.io.ObjectStreamClass`
raw docstring

for-classclj

(for-class this)

Return the class in the local VM that this version is mapped to. Null is returned if there is no corresponding local class.

returns: the Class instance that this descriptor represents - java.lang.Class<?>

Return the class in the local VM that this version is mapped to.  Null
 is returned if there is no corresponding local class.

returns: the Class instance that this descriptor represents - `java.lang.Class<?>`
raw docstring

get-fieldclj

(get-field this name)

Get the field of this class by name.

name - the name of the data field to look for - java.lang.String

returns: The ObjectStreamField object of the named field or null if there is no such named field. - java.io.ObjectStreamField

Get the field of this class by name.

name - the name of the data field to look for - `java.lang.String`

returns: The ObjectStreamField object of the named field or null if
          there is no such named field. - `java.io.ObjectStreamField`
raw docstring

get-fieldsclj

(get-fields this)

Return an array of the fields of this serializable class.

returns: an array containing an element for each persistent field of this class. Returns an array of length zero if there are no fields. - java.io.ObjectStreamField[]

Return an array of the fields of this serializable class.

returns: an array containing an element for each persistent field of
          this class. Returns an array of length zero if there are no
          fields. - `java.io.ObjectStreamField[]`
raw docstring

get-nameclj

(get-name this)

Returns the name of the class described by this descriptor. This method returns the name of the class in the format that is used by the Class.getName() method.

returns: a string representing the name of the class - java.lang.String

Returns the name of the class described by this descriptor.
 This method returns the name of the class in the format that
 is used by the Class.getName() method.

returns: a string representing the name of the class - `java.lang.String`
raw docstring

get-serial-version-uidclj

(get-serial-version-uid this)

Return the serialVersionUID for this class. The serialVersionUID defines a set of classes all with the same name that have evolved from a common root class and agree to be serialized and deserialized using a common format. NonSerializable classes have a serialVersionUID of 0L.

returns: the SUID of the class described by this descriptor - long

Return the serialVersionUID for this class.  The serialVersionUID
 defines a set of classes all with the same name that have evolved from a
 common root class and agree to be serialized and deserialized using a
 common format.  NonSerializable classes have a serialVersionUID of 0L.

returns: the SUID of the class described by this descriptor - `long`
raw docstring

to-stringclj

(to-string this)

Return a string describing this ObjectStreamClass.

returns: a string representation of the object. - java.lang.String

Return a string describing this ObjectStreamClass.

returns: a string representation of the object. - `java.lang.String`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close