org.melati.util
Class AcceptCharset.Comparator<T>
java.lang.Object
  
org.melati.util.AcceptCharset.Comparator<T>
- All Implemented Interfaces: 
 - Comparator<T>
 
- Enclosing class:
 - AcceptCharset
 
protected static class AcceptCharset.Comparator<T>
- extends Object
- implements Comparator<T>
  
Comparator for comparing AcceptCharset.CharsetAndQValue objects.
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
AcceptCharset.Comparator
protected AcceptCharset.Comparator()
compare
public final int compare(Object one,
                         Object two)
- 
- Specified by:
 compare in interface Comparator<T>
 
- See Also:
 java.util.Comparator#compare(T, T)
 
 
compareCharsetAndQValue
protected int compareCharsetAndQValue(AcceptCharset.CharsetAndQValue one,
                                      AcceptCharset.CharsetAndQValue two)
- This default compares according to client requirements.
 
 
 
Copyright © 2000-2010 PanEris. All Rights Reserved.