net.sf.saffron.rex
Class RexList

java.lang.Object
  |
  +--net.sf.saffron.rex.RexNode
        |
        +--net.sf.saffron.rex.RexList

public class RexList
extends RexNode

List of row-expression nodes

Since:
Nov 23, 2003
Version:
$Id: $
Author:
jhyde

Field Summary
private  ArrayList list
           
 
Fields inherited from class net.sf.saffron.rex.RexNode
digest
 
Constructor Summary
RexList()
          Creates an empty RexList.
RexList(Collection collection)
          Creates a RexList containing the nodes in list.
RexList(RexNode[] nodes)
          Creates a RexList with a collection of elements.
 
Method Summary
 void add(RexNode node)
           
 Object clone()
           
 RexNode get(int n)
           
 List getList()
           
 SaffronType getType()
           
 int size()
           
 
Methods inherited from class net.sf.saffron.rex.RexNode
getKind, isA, isAlwaysTrue, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

list

private final ArrayList list
Constructor Detail

RexList

public RexList()
Creates an empty RexList.


RexList

public RexList(Collection collection)
Creates a RexList containing the nodes in list. The list is copied, but the nodes in it are not.


RexList

public RexList(RexNode[] nodes)
Creates a RexList with a collection of elements.

Method Detail

getType

public SaffronType getType()
Specified by:
getType in class RexNode

getList

public List getList()

add

public void add(RexNode node)

clone

public Object clone()
Specified by:
clone in class RexNode

get

public RexNode get(int n)

size

public int size()

SourceForge.net_Logo