org.oddjob.beancmpr.matchables
Class ValuePairIterable<T>

java.lang.Object
  extended by org.oddjob.beancmpr.matchables.ValuePairIterable<T>
Type Parameters:
T - The type of the value.
All Implemented Interfaces:
Iterable<ValuePairIterable.ValuePair<T>>

public class ValuePairIterable<T>
extends Object
implements Iterable<ValuePairIterable.ValuePair<T>>

Provide an Iterable over two sets of values and their names.

Author:
rob

Nested Class Summary
static interface ValuePairIterable.ValuePair<T>
          Provide a container object for the values.
 
Constructor Summary
ValuePairIterable(Iterable<String> propertyNames, Iterable<? extends T> valuesX, Iterable<? extends T> valuesY)
           
 
Method Summary
 Iterator<ValuePairIterable.ValuePair<T>> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValuePairIterable

public ValuePairIterable(Iterable<String> propertyNames,
                         Iterable<? extends T> valuesX,
                         Iterable<? extends T> valuesY)
Method Detail

iterator

public Iterator<ValuePairIterable.ValuePair<T>> iterator()
Specified by:
iterator in interface Iterable<ValuePairIterable.ValuePair<T>>


Copyright © 2013. All Rights Reserved.