jaxx.runtime.decorator
Class JXPathDecorator.JXPathComparator<O>

java.lang.Object
  extended by jaxx.runtime.decorator.JXPathDecorator.JXPathComparator<O>
All Implemented Interfaces:
Comparator<O>
Enclosing class:
JXPathDecorator<O>

public static class JXPathDecorator.JXPathComparator<O>
extends Object
implements Comparator<O>


Field Summary
protected  Map<O,Comparable<Comparable<?>>> valueCache
           
 
Constructor Summary
JXPathDecorator.JXPathComparator(String expression)
           
 
Method Summary
 void clear()
           
 int compare(O o1, O o2)
           
 void init(JXPathDecorator<O> decorator, List<O> datas)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

valueCache

protected Map<O,Comparable<Comparable<?>>> valueCache
Constructor Detail

JXPathDecorator.JXPathComparator

public JXPathDecorator.JXPathComparator(String expression)
Method Detail

compare

public int compare(O o1,
                   O o2)
Specified by:
compare in interface Comparator<O>

clear

public void clear()

init

public void init(JXPathDecorator<O> decorator,
                 List<O> datas)


Copyright © 2008-2010 CodeLutin. All Rights Reserved.