~ubuntu-branches/ubuntu/precise/classpath/precise

« back to all changes in this revision

Viewing changes to gnu/classpath/jdwp/id/JdwpId.java

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2006-05-27 16:11:15 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060527161115-h6e39eposdt5snb6
Tags: 2:0.91-3
* Install header files to /usr/include/classpath.
* debian/control: classpath: Conflict with jamvm < 1.4.3 and
  cacao < 0.96 (Closes: #368172).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* JdwpId.java -- base class for all object ID types
2
 
   Copyright (C) 2005 Free Software Foundation
 
2
   Copyright (C) 2005, 2006 Free Software Foundation
3
3
 
4
4
This file is part of GNU Classpath.
5
5
 
51
51
public abstract class JdwpId
52
52
{
53
53
  /**
 
54
   * The size of an ID. The default is 8 bytes (a long).
 
55
   */
 
56
   public static final int SIZE = 8;
 
57
 
 
58
  /**
54
59
   * ID assigned to this object
55
60
   */
56
61
  protected long _id;
58
63
  /**
59
64
   * Tag of ID's type (see {@link gnu.classpath.jdwp.JdwpConstants.Tag})
60
65
   * for object-like IDs or the type tag (see {@link
61
 
   * gnu.classpath.JdwpConstants.TypeTag}) for reference type IDs.
 
66
   * gnu.classpath.jdwp.JdwpConstants.TypeTag}) for reference type IDs.
62
67
   */
63
68
  private byte _tag;
64
69
 
122
127
  }
123
128
 
124
129
  /**
125
 
   * Returns size of this type (used by IDSizes)
126
 
   */
127
 
  public abstract int size ();
128
 
 
129
 
  /**
130
130
   * Writes the contents of this type to the <code>DataOutputStream</code>
131
131
   * @param  outStream    the <code>DataOutputStream</code> to use
132
132
   * @throws IOException  when an error occurs on the <code>OutputStream</code>