org.callbackparams.combine
Class ValuesCollection

java.lang.Object
  extended by org.callbackparams.combine.ValuesCollection

public class ValuesCollection
extends Object

A collection of arrays of callback-values. CombineStrategy implementations will create their callback-records in a manner that makes each callback-record contain exactly one callback-value from each array.

Author:
Henrik Kaipe

Constructor Summary
ValuesCollection()
           
 
Method Summary
 void add(Object[] valuesArray)
          Attaches the specified array of callback-values at the end of this ValuesCollection.
 Object[] get(int index)
          Returns the array that contains the callback-values available for the specified index of the callback-records created from this ValuesCollection instance.
 int size()
          Returns the number of arrays of callback-values in this ValuesCollection instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValuesCollection

public ValuesCollection()
Method Detail

add

public void add(Object[] valuesArray)
Attaches the specified array of callback-values at the end of this ValuesCollection.


get

public Object[] get(int index)
Returns the array that contains the callback-values available for the specified index of the callback-records created from this ValuesCollection instance.


size

public int size()
Returns the number of arrays of callback-values in this ValuesCollection instance.



Copyright © 2010-2013 Henrik Kaipe. All Rights Reserved.