org.specrunner.comparators
Interface IComparatorManager

All Superinterfaces:
IMappingManager<IComparator>, Map<String,IComparator>
All Known Implementing Classes:
ComparatorManagerImpl

public interface IComparatorManager
extends IMappingManager<IComparator>

A comparator manager.

Author:
Thiago Santos

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from interface org.specrunner.util.mapping.IMappingManager
DEFAULT_NAME
 
Method Summary
 IComparator get(Class<?> type)
          Gets a comparator by type.
 
Methods inherited from interface org.specrunner.util.mapping.IMappingManager
bind, getDefault, setDefault
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

get

IComparator get(Class<?> type)
Gets a comparator by type.

Parameters:
type - The type of object to be compared.
Returns:
The comparator, if it exists, null, otherwise.


Copyright © 2014. All rights reserved.