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

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

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


Field Summary
protected  java.util.Map<O,java.lang.Comparable<java.lang.Comparable<?>>> valueCache
           
 
Constructor Summary
JXPathDecorator.JXPathComparator(java.lang.String expression)
           
 
Method Summary
 void clear()
           
 int compare(O o1, O o2)
           
 void init(JXPathDecorator<O> decorator, java.util.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 java.util.Map<O,java.lang.Comparable<java.lang.Comparable<?>>> valueCache
Constructor Detail

JXPathDecorator.JXPathComparator

public JXPathDecorator.JXPathComparator(java.lang.String expression)
Method Detail

compare

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

clear

public void clear()

init

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


Copyright © 2008-2010 CodeLutin. All Rights Reserved.