|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines methods that must be implemented by a list. Lists can be used to implement buffers.
Field Summary | |
static String |
ITF_NAME
The commonly used name to refer to this interface. |
Method Summary | |
void |
add(Object o)
Adds the specified element to the list. |
boolean |
isEmpty()
Returns true if the list is empty. |
Object |
remove()
Removes an object from the list. |
Field Detail |
public static final String ITF_NAME
Method Detail |
public void add(Object o)
o
- element to be added to this list.public Object remove()
null
if the list is empty.public boolean isEmpty()
true
if the list is empty.
true
if the list is empty.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |