Package com.sun.tools.corba.ee.idl
Class TokenBuffer
java.lang.Object
com.sun.tools.corba.ee.idl.TokenBuffer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Token
current()
Return the token most recently inserted into the buffer (i.e., the head of the buffer.)(package private) void
Inserts a token at the head of the buffer.(package private) Token
lookBack
(int i) Returns the token residing "i" elements from the head of the buffer.
-
Field Details
-
DEFAULT_SIZE
private final int DEFAULT_SIZE- See Also:
-
_size
private int _size -
_buffer
-
_currPos
private int _currPos
-
-
Constructor Details
-
Method Details
-
insert
Inserts a token at the head of the buffer. -
lookBack
Returns the token residing "i" elements from the head of the buffer. -
current
Token current()Return the token most recently inserted into the buffer (i.e., the head of the buffer.)
-