Nuxeo Enterprise Platform 5.4

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

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

public static class NavTreeService.NavTreeDescriptorOrderComparator
extends java.lang.Object
implements java.util.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 java.util.Comparator<NavTreeDescriptor>

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.