org.oddjob.beancmpr.matchables
Class UnsortedBeanMatchables<T>
java.lang.Object
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 OrderedMatchables
s suitable for use by
an OrderedMatchablesComparer
.
- Author:
- Rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnsortedBeanMatchables
public UnsortedBeanMatchables(Iterable<? extends T> iterable,
MatchableFactory<T> factory)
- Constructor.
- Parameters:
iterable
- The beansfactory
- The factory to create the {link Matchable}s.
iterator
public Iterator<MatchableGroup> iterator()
- Specified by:
iterator
in interface Iterable<MatchableGroup>
Copyright © 2013. All Rights Reserved.