javafish.clients.opc.variant
Class VariantList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Variant>
              extended by javafish.clients.opc.variant.VariantList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Variant>, java.util.Collection<Variant>, java.util.List<Variant>, java.util.RandomAccess

public class VariantList
extends java.util.ArrayList<Variant>

ArrayList of variants

See Also:
Serialized Form

Constructor Summary
VariantList(int varType)
          Create new instance of VariantList
 
Method Summary
 Variant[] getVariantListAsArray()
          Get variant list as array of Variant
 int getVarType()
          Get variant type of list
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

VariantList

public VariantList(int varType)
Create new instance of VariantList

Parameters:
varType - Variant type of this list (Variant.xxx type)
Method Detail

getVarType

public int getVarType()
Get variant type of list

Returns:
var type, int

getVariantListAsArray

public Variant[] getVariantListAsArray()
Get variant list as array of Variant

Returns:
variant array Variant[]