com.jamasoftware.contour.domain.comparator
Class DocumentNodeSortOrderComparator

java.lang.Object
  extended by com.jamasoftware.contour.domain.comparator.DocumentNodeSortOrderComparator
All Implemented Interfaces:
java.util.Comparator<com.jamasoftware.contour.service.documentNode.cache.CachedDocumentNode>

public class DocumentNodeSortOrderComparator
extends java.lang.Object
implements java.util.Comparator<com.jamasoftware.contour.service.documentNode.cache.CachedDocumentNode>

Author:
Sean Adkinson

Field Summary
static DocumentNodeSortOrderComparator INSTANCE
           
 
Method Summary
 int compare(com.jamasoftware.contour.service.documentNode.cache.CachedDocumentNode o1, com.jamasoftware.contour.service.documentNode.cache.CachedDocumentNode o2)
           
 
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

INSTANCE

public static DocumentNodeSortOrderComparator INSTANCE
Method Detail

compare

public int compare(com.jamasoftware.contour.service.documentNode.cache.CachedDocumentNode o1,
                   com.jamasoftware.contour.service.documentNode.cache.CachedDocumentNode o2)
Specified by:
compare in interface java.util.Comparator<com.jamasoftware.contour.service.documentNode.cache.CachedDocumentNode>


Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.