org.oddjob.beancmpr.comparers
Interface ComparersByType

All Superinterfaces:
HierarchicalComparer
All Known Implementing Classes:
ComparersByTypeList, CompositeComparersByType, DefaultComparersByType

public interface ComparersByType
extends HierarchicalComparer

A collection of Comparers.

Author:
rob

Method Summary
<T> Comparer<T>
comparerFor(Class<T> type)
          Find a Comparer for a given type.
 
Methods inherited from interface org.oddjob.beancmpr.comparers.HierarchicalComparer
injectComparers
 

Method Detail

comparerFor

<T> Comparer<T> comparerFor(Class<T> type)
Find a Comparer for a given type.

Type Parameters:
T - The type of the type.
Parameters:
type - The type.
Returns:
The comparer or null if one can't be found for the type.


Copyright © 2013. All Rights Reserved.