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

java.lang.Object
  extended by org.oddjob.beancmpr.matchables.ValueIterable<T>
Type Parameters:
T -
All Implemented Interfaces:
Iterable<ValueIterable.Value<T>>

public class ValueIterable<T>
extends Object
implements Iterable<ValueIterable.Value<T>>

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

Author:
rob

Nested Class Summary
static interface ValueIterable.Value<T>
           
 
Constructor Summary
ValueIterable(Iterable<String> propertyNames, Iterable<? extends T> values)
           
 
Method Summary
 Iterator<ValueIterable.Value<T>> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueIterable

public ValueIterable(Iterable<String> propertyNames,
                     Iterable<? extends T> values)
Method Detail

iterator

public Iterator<ValueIterable.Value<T>> iterator()
Specified by:
iterator in interface Iterable<ValueIterable.Value<T>>


Copyright © 2013. All Rights Reserved.