summaryrefslogtreecommitdiff
path: root/java/io/ObjectStreamClass.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2004-04-08 15:04:36 +0000
committerMichael Koch <konqueror@gmx.de>2004-04-08 15:04:36 +0000
commitc8feafcc3ce310e30e026ac9f4dec0d7d98da2a6 (patch)
tree6d33372c29d35337b9f45cad93e4514ee71816cf /java/io/ObjectStreamClass.java
parent8d4b62be28f440cdf0dc4dcda50963b93c9b8774 (diff)
downloadclasspath-c8feafcc3ce310e30e026ac9f4dec0d7d98da2a6.tar.gz
2004-04-08 Michael Koch <konqueror@gmx.de>
* java/io/ByteArrayInputStream.java, java/io/DataInput.java, java/io/DataInputStream.java, java/io/InputStream.java, java/io/InputStreamReader.java, java/io/ObjectStreamClass.java, java/io/ObjectStreamField.java, java/io/PushbackReader.java, java/io/StringWriter.java, java/io/Writer.java: Fixed javadocs and style all over.
Diffstat (limited to 'java/io/ObjectStreamClass.java')
-rw-r--r--java/io/ObjectStreamClass.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/java/io/ObjectStreamClass.java b/java/io/ObjectStreamClass.java
index d080f280b..ee23f5996 100644
--- a/java/io/ObjectStreamClass.java
+++ b/java/io/ObjectStreamClass.java
@@ -104,17 +104,17 @@ public class ObjectStreamClass implements Serializable
}
}
-
/**
* Returns the name of the class that this
* <code>ObjectStreamClass</code> represents.
+ *
+ * @return the name of the class.
*/
public String getName()
{
return name;
}
-
/**
* Returns the class that this <code>ObjectStreamClass</code>
* represents. Null could be returned if this
@@ -129,24 +129,27 @@ public class ObjectStreamClass implements Serializable
return clazz;
}
-
/**
* Returns the serial version stream-unique identifier for the class
* represented by this <code>ObjectStreamClass</code>. This SUID is
* either defined by the class as <code>static final long
* serialVersionUID</code> or is calculated as specified in
* Javasoft's "Object Serialization Specification" XXX: add reference
+ *
+ * @return the serial version UID.
*/
public long getSerialVersionUID()
{
return uid;
}
-
- // Returns the serializable (non-static and non-transient) Fields
- // of the class represented by this ObjectStreamClass. The Fields
- // are sorted by name.
- // XXX doc
+ /**
+ * Returns the serializable (non-static and non-transient) Fields
+ * of the class represented by this ObjectStreamClass. The Fields
+ * are sorted by name.
+ *
+ * @return the fields.
+ */
public ObjectStreamField[] getFields()
{
ObjectStreamField[] copy = new ObjectStreamField[ fields.length ];
@@ -154,7 +157,6 @@ public class ObjectStreamClass implements Serializable
return copy;
}
-
// XXX doc
// Can't do binary search since fields is sorted by name and
// primitiveness.
@@ -166,7 +168,6 @@ public class ObjectStreamClass implements Serializable
return null;
}
-
/**
* Returns a textual representation of this
* <code>ObjectStreamClass</code> object including the name of the
@@ -181,7 +182,6 @@ public class ObjectStreamClass implements Serializable
return "java.io.ObjectStreamClass< " + name + ", " + uid + " >";
}
-
// Returns true iff the class that this ObjectStreamClass represents
// has the following method:
//