Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.virtualnavigation.service
Class NavTreeService.NavTreeDescriptorOrderComparator

java.lang.Object
  extended by org.nuxeo.ecm.virtualnavigation.service.NavTreeService.NavTreeDescriptorOrderComparator
All Implemented Interfaces:
Comparator<NavTreeDescriptor>
Enclosing class:
NavTreeService

public static class NavTreeService.NavTreeDescriptorOrderComparator
extends Object
implements Comparator<NavTreeDescriptor>

Comparator of NavTreeDescriptors according to their order..


Field Summary
static NavTreeService.NavTreeDescriptorOrderComparator INSTANCE
           
 
Constructor Summary
NavTreeService.NavTreeDescriptorOrderComparator()
           
 
Method Summary
 int compare(NavTreeDescriptor descriptor1, NavTreeDescriptor descriptor2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

INSTANCE

public static final NavTreeService.NavTreeDescriptorOrderComparator INSTANCE
Constructor Detail

NavTreeService.NavTreeDescriptorOrderComparator

public NavTreeService.NavTreeDescriptorOrderComparator()
Method Detail

compare

public int compare(NavTreeDescriptor descriptor1,
                   NavTreeDescriptor descriptor2)
Specified by:
compare in interface Comparator<NavTreeDescriptor>

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.