jcaas.script_nodes
Class ConcreteSList

java.lang.Object
  extended by jcaas.script_nodes.ConcreteSList
All Implemented Interfaces:
SList

public class ConcreteSList
extends java.lang.Object
implements SList

Author:
reverend TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
ConcreteSList()
           
 
Method Summary
 java.lang.Object dequeue()
           
 void enqueue(java.lang.Object o)
           
 java.lang.Object get(NumericValue index)
           
 void insert(NumericValue index, java.lang.Object o)
           
 java.lang.Object pop()
           
 void push(java.lang.Object o)
           
 java.lang.Object remove(NumericValue index)
           
 java.lang.Object set(NumericValue index, java.lang.Object o)
           
 NumericValue size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConcreteSList

public ConcreteSList()
Method Detail

pop

public java.lang.Object pop()
Specified by:
pop in interface SList

push

public void push(java.lang.Object o)
Specified by:
push in interface SList

dequeue

public java.lang.Object dequeue()
Specified by:
dequeue in interface SList

enqueue

public void enqueue(java.lang.Object o)
Specified by:
enqueue in interface SList

size

public NumericValue size()
Specified by:
size in interface SList

get

public java.lang.Object get(NumericValue index)
Specified by:
get in interface SList

remove

public java.lang.Object remove(NumericValue index)
Specified by:
remove in interface SList

insert

public void insert(NumericValue index,
                   java.lang.Object o)
Specified by:
insert in interface SList

set

public java.lang.Object set(NumericValue index,
                            java.lang.Object o)
Specified by:
set in interface SList

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object