org.eu.sk.zero.acd
Class Values

java.lang.Object
  |
  +--org.eu.sk.zero.acd.Values

public class Values
extends Object

Container for holding values. When creating a component type, you should remember that the value of the first type will be often used as the name of the component. Therefore, the first value of component is its name.

Version:
$Id: Values.java,v 1.3 2003/04/10 16:00:09 robo Exp $
See Also:
Value

Constructor Summary
Values()
          Creates an empty container.
 
Method Summary
 void add(org.eu.sk.zero.acd.Value val)
          Adds the value into the container.
 void addAll(Collection c)
          Adds a collection of values into the container.
 Collection collection()
          Returns collection of values
 org.eu.sk.zero.acd.Value first()
          Returns the first value.
 Iterator iterator()
          Returns an iterator over values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Values

public Values()
Creates an empty container.

Method Detail

add

public void add(org.eu.sk.zero.acd.Value val)
Adds the value into the container.


addAll

public void addAll(Collection c)
Adds a collection of values into the container.


collection

public Collection collection()
Returns collection of values


iterator

public Iterator iterator()
Returns an iterator over values


first

public org.eu.sk.zero.acd.Value first()
Returns the first value. The first value if often used as a "name" of a component