|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base interface for containers.
This interface itself does not specify thread-safety semantics. The particular implementation or use in a larger interface should specify this. For example, standalone ObjectSets may be fully synchronized and thread-safe. ObjectSets related to AWT or Swing objects may require that all interaction be done on the AWT event thread.
Method Summary | |
ConstrainedKey |
getConstraints()
Get the constraints for the container contents. |
Object[] |
getContentsAsArray(Class cls)
Atomically get the current contents of the container as an array. |
int |
getSize()
Get the size of the container. |
Method Detail |
public ConstrainedKey getConstraints()
public int getSize()
public Object[] getContentsAsArray(Class cls)
cls
- a class representing the element type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |