DbStorage.manager
Class PhysicalLabeledSSD.ByIDComparator

java.lang.Object
  extended byDbStorage.manager.PhysicalLabeledSSD.ByIDComparator
Enclosing class:
PhysicalLabeledSSD

public static class PhysicalLabeledSSD.ByIDComparator
extends java.lang.Object

This class is used to compare two PhysicalLabeledSSDs using their ID component first and their label component second.


Constructor Summary
PhysicalLabeledSSD.ByIDComparator()
           
 
Method Summary
static int compare(PhysicalLabeledSSD ls1, PhysicalLabeledSSD ls2)
          Compares two PhysicalLabeledSSDs using their ID component first and their label component second.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhysicalLabeledSSD.ByIDComparator

public PhysicalLabeledSSD.ByIDComparator()
Method Detail

compare

public static int compare(PhysicalLabeledSSD ls1,
                          PhysicalLabeledSSD ls2)
Compares two PhysicalLabeledSSDs using their ID component first and their label component second.