com.jamasoftware.contour.domain.comparator
Class ProjectTreeNodeComparator

java.lang.Object
  extended by com.jamasoftware.contour.domain.comparator.ProjectTreeNodeComparator
All Implemented Interfaces:
java.util.Comparator<com.jamasoftware.contour.service.dto.ExtDocumentTreeNode>

public class ProjectTreeNodeComparator
extends java.lang.Object
implements java.util.Comparator<com.jamasoftware.contour.service.dto.ExtDocumentTreeNode>

Compares ExtDocumentTreeNode for Project nodes


Field Summary
static ProjectTreeNodeComparator INSTANCE
           
 
Method Summary
 int compare(com.jamasoftware.contour.service.dto.ExtDocumentTreeNode o1, com.jamasoftware.contour.service.dto.ExtDocumentTreeNode 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 final ProjectTreeNodeComparator INSTANCE
Method Detail

compare

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


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