math.objects
Class VariableSet
java.lang.Object
|
+--math.objects.VariableSet
- public class VariableSet
- extends java.lang.Object
The class VariableVector is used to contain Variable objects used
in Function objects.
- Since:
- JDK1.1
- Author:
- Peter Staab
, Pete Fox
, both for the Mathematical Visualization Project for the
Department of Applied Mathematics, University of Colorado at
Boulder
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VariableSet
public VariableSet()
add
public void add(Variable var)
- Add only unique variables, which makes this a set.
size
public int size()
clear
public void clear()
first
public Variable first()
last
public Variable last()
contains
public boolean contains(Variable var)
remove
public void remove(Variable var)
iterator
public java.util.Iterator iterator()
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
toArray
public Variable[] toArray()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
mvt.icons