FreeHEP API
Version current

hep.aida.ref.pdf
Class VariableList

java.lang.Object
  extended byhep.aida.ref.pdf.VariableList

public class VariableList
extends Object

A List of Variables. The list can contain multiple instances of the same Variable but different Variable objects cannot have the same name.

Author:
The FreeHEP team @ SLAC.
Source Code:
VariableList.java

Field Summary
static int ANY
           
static int DEPENDENT
           
static int FUNCTION
           
static int PARAMETER
           
 
Constructor Summary
VariableList()
           
VariableList(int type)
           
VariableList(int type, int dimension)
           
 
Method Summary
 void add(int index, Variable var)
           
 void add(Variable var)
           
 void clear()
           
 boolean contains(String varName)
           
 boolean contains(Variable var)
           
 Variable get(int index)
           
 Variable get(String varName)
           
 int indexOf(String varName)
           
 int indexOf(Variable var)
           
 void remove(int index)
           
 void remove(Variable var)
           
 void set(int index, Variable var)
           
 int size()
           
 int type()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FUNCTION

public static int FUNCTION

DEPENDENT

public static int DEPENDENT

PARAMETER

public static int PARAMETER

ANY

public static int ANY
Constructor Detail

VariableList

public VariableList()

VariableList

public VariableList(int type)

VariableList

public VariableList(int type,
                    int dimension)
Method Detail

set

public void set(int index,
                Variable var)

get

public Variable get(int index)

get

public Variable get(String varName)

add

public void add(Variable var)

add

public void add(int index,
                Variable var)

remove

public void remove(Variable var)

remove

public void remove(int index)

clear

public void clear()

size

public int size()

indexOf

public int indexOf(Variable var)

indexOf

public int indexOf(String varName)

contains

public boolean contains(Variable var)

contains

public boolean contains(String varName)

type

public int type()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.