1.0.0

org.eclipse.soda.dk.device.servlet
Class BundleComparator

java.lang.Object
  extended by org.eclipse.soda.dk.device.servlet.BundleComparator
All Implemented Interfaces:
java.util.Comparator

public class BundleComparator
extends java.lang.Object
implements java.util.Comparator

Version:
1.0.0

Field Summary
static BundleComparator INSTANCE
          Define the instance (BundleComparator) constant.
 
Constructor Summary
BundleComparator()
          Constructs an instance of this class.
 
Method Summary
 int compare(java.lang.Object object1, java.lang.Object object2)
          Compare with the specified object1 and object2 parameters and return the int result.
static java.util.Comparator getInstance()
          Gets the instance (Comparator) value.
 
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 BundleComparator INSTANCE
Define the instance (BundleComparator) constant.

Constructor Detail

BundleComparator

public BundleComparator()
Constructs an instance of this class.

Method Detail

getInstance

public static java.util.Comparator getInstance()
Gets the instance (Comparator) value.

Returns:
The instance (Comparator) value.

compare

public int compare(java.lang.Object object1,
                   java.lang.Object object2)
Compare with the specified object1 and object2 parameters and return the int result.

Specified by:
compare in interface java.util.Comparator
Parameters:
object1 - The object1 (Object) parameter.
object2 - The object2 (Object) parameter.
Returns:
Results of the compare (int) value.

1.0.0

Copyright (c) 1999, 2007 IBM