/[classpath]/classpath/java/io/ObjectStreamField.java
ViewVC logotype

Diff of /classpath/java/io/ObjectStreamField.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18.2.3 by gnu_andrew, Tue Sep 20 18:46:27 2005 UTC revision 1.18.2.4 by gnu_andrew, Sun Oct 16 17:12:07 2005 UTC
# Line 55  import java.security.PrivilegedAction; Line 55  import java.security.PrivilegedAction;
55   * @author Michael Koch (konqueror@gmx.de)   * @author Michael Koch (konqueror@gmx.de)
56   * @author Andrew John Hughes (gnu_andrew@member.fsf.org)   * @author Andrew John Hughes (gnu_andrew@member.fsf.org)
57   */   */
58  public class ObjectStreamField implements Comparable  public class ObjectStreamField
59      implements Comparable<Object>
60  {  {
61    private String name;    private String name;
62    private Class<?> type;    private Class<?> type;
# Line 80  public class ObjectStreamField implement Line 81  public class ObjectStreamField implement
81     * @param name Name of the field to export.     * @param name Name of the field to export.
82     * @param type Type of the field in the concerned class.     * @param type Type of the field in the concerned class.
83     */     */
84    public ObjectStreamField (String name, Class type)    public ObjectStreamField (String name, Class<?> type)
85    {    {
86      this (name, type, false);      this (name, type, false);
87    }    }
# Line 94  public class ObjectStreamField implement Line 95  public class ObjectStreamField implement
95     * @param type Type of the field in the concerned class.     * @param type Type of the field in the concerned class.
96     * @param unshared true if field will be unshared, false otherwise.     * @param unshared true if field will be unshared, false otherwise.
97     */     */
98    public ObjectStreamField (String name, Class type, boolean unshared)    public ObjectStreamField (String name, Class<?> type, boolean unshared)
99    {    {
100      if (name == null)      if (name == null)
101        throw new NullPointerException();        throw new NullPointerException();

Legend:
Removed from v.1.18.2.3  
changed lines
  Added in v.1.18.2.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26