|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ListAware
The ListAware interface should be implemented by any class which is not directly a List, but may wrap one. Such an object could be viewed as a List directly by ignoring the wrapping object. e.g. an XML element, which can be viewed as a List of its children.
| Method Summary | |
|---|---|
org.millscript.commons.util.IList |
asList()
Returns this object as a List. |
java.lang.Object |
asOriginal(org.millscript.commons.util.IList<?> x)
Returns a new object wrapping the supplied List. |
boolean |
sameAs(java.lang.Object x)
Compares the specified object with this object, to see if they are the same type. |
| Methods inherited from interface org.millscript.millscript.datatypes.MapAware |
|---|
asMap |
| Method Detail |
|---|
org.millscript.commons.util.IList asList()
java.lang.Object asOriginal(org.millscript.commons.util.IList<?> x)
x - a List to wrap in a copy of this object.
boolean sameAs(java.lang.Object x)
x - Object to be compared for type with this object
true if the specified object is the same type as
this object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||