org.apache.accumulo.server.monitor.util.celltypes
Class PercentageType

java.lang.Object
  extended by org.apache.accumulo.server.monitor.util.celltypes.CellType<Double>
      extended by org.apache.accumulo.server.monitor.util.celltypes.PercentageType
All Implemented Interfaces:
Comparator<Double>

public class PercentageType
extends CellType<Double>


Constructor Summary
PercentageType()
           
 
Method Summary
 String alignment()
           
 int compare(Double o1, Double o2)
           
 String format(Object obj)
           
 
Methods inherited from class org.apache.accumulo.server.monitor.util.celltypes.CellType
isSortable, setSortable
 
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

PercentageType

public PercentageType()
Method Detail

compare

public int compare(Double o1,
                   Double o2)

alignment

public String alignment()
Specified by:
alignment in class CellType<Double>

format

public String format(Object obj)
Specified by:
format in class CellType<Double>


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.