spcp7.imagegallery.abstractionlayer.util
Class ContentComparatorImpl

java.lang.Object
  extended by spcp7.imagegallery.abstractionlayer.util.ContentComparatorImpl
All Implemented Interfaces:
java.util.Comparator<ContentFace>

public class ContentComparatorImpl
extends java.lang.Object
implements java.util.Comparator<ContentFace>

This class compares two ContentFace objects.

Author:
Phillip Merensky

Constructor Summary
ContentComparatorImpl()
           
 
Method Summary
 int compare(ContentFace o1, ContentFace o2)
          This method compares two content objects by their ContentFace.getName() ignoring the case!
 
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
 

Constructor Detail

ContentComparatorImpl

public ContentComparatorImpl()
Method Detail

compare

public int compare(ContentFace o1,
                   ContentFace o2)
This method compares two content objects by their ContentFace.getName() ignoring the case!

Specified by:
compare in interface java.util.Comparator<ContentFace>
See Also:
Comparator.compare(java.lang.Object, java.lang.Object)


Copyright © 2008. All Rights Reserved.