org.xins.common.types.standard
Class Set.Value

java.lang.Object
  extended byorg.xins.common.types.ItemList
      extended byorg.xins.common.types.standard.Set.Value
Enclosing class:
Set

public static final class Set.Value
extends ItemList

Inner class that represents a list of java.lang.String.


Constructor Summary
Set.Value()
          Creates a new set.
 
Method Summary
 void add(String value)
          Add a new element in the list.
 String get(int index)
          Get an element from the list.
 
Methods inherited from class org.xins.common.types.ItemList
addItem, getItem, getSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Set.Value

public Set.Value()
Creates a new set.

Method Detail

add

public void add(String value)
         throws IllegalArgumentException
Add a new element in the list.

Parameters:
value - the new value to add, cannot be null.
Throws:
IllegalArgumentException - if value == null.

get

public String get(int index)
Get an element from the list.

Parameters:
index - The position of the required element.
Returns:
The element at the specified position, cannot be null.


See http://www.xins.org/.