| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The specific interface for accessing
 the content of a Node whose type is an instance of 
 SequenceType.
 
 
A SequenceNode consists of an ordered, dense set of values of a
 uniform type indexed by the positive integers from 0
 through size-1. A negative index i refers to
 the item at index size+i.  Therefore the actual range of
 valid indices is [-size,size-1].
Content| Nested Class Summary | |
static interface | 
SequenceContent.Editor
Encapsulates the ability to modify SequenceContent objects.  | 
| Method Summary | |
 Seq | 
asSeq()
Create and return the current contents of this container as a Seq.  | 
 java.lang.Object | 
getItem(int index)
Return the Object at the given index.  | 
 boolean | 
indexIsValid(int i)
Check that a given index is valid.  | 
 Getter | 
item(int index)
Return a Getter for the item at the given index.  | 
 Getter | 
range(int start,
      int end)
Return a Getter for the sequence of items indexed from start to end, inclusive.  | 
| Methods inherited from interface org.nodal.model.Content | 
getValue, invert, isValidProperty, properties, size, type, value | 
| Method Detail | 
public Seq asSeq()
public boolean indexIsValid(int i)
i - the index
public Getter item(int index)
            throws IndexBoundsException
IndexBoundsException
public java.lang.Object getItem(int index)
                         throws IndexBoundsException
IndexBoundsException
public Getter range(int start,
                    int end)
             throws IndexBoundsException
The value returned by the Getter is an instance of org.nodal.util.Seq.
IndexBoundsExceptionSeq
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||