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

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

public class UnsortedBeanMatchables<T>
extends Object
implements Iterable<MatchableGroup>

Takes an unsorted Iterable of beans and provides an {code Iterable} of OrderedMatchabless suitable for use by an OrderedMatchablesComparer.

Author:
Rob

Constructor Summary
UnsortedBeanMatchables(Iterable<? extends T> iterable, MatchableFactory<T> factory)
          Constructor.
 
Method Summary
 Iterator<MatchableGroup> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsortedBeanMatchables

public UnsortedBeanMatchables(Iterable<? extends T> iterable,
                              MatchableFactory<T> factory)
Constructor.

Parameters:
iterable - The beans
factory - The factory to create the {link Matchable}s.
Method Detail

iterator

public Iterator<MatchableGroup> iterator()
Specified by:
iterator in interface Iterable<MatchableGroup>


Copyright © 2013. All Rights Reserved.