com.endeca.itl.cas.api
Class MetricLong

java.lang.Object
  extended by com.endeca.itl.cas.api.Metric
      extended by com.endeca.itl.cas.api.MetricLong

public class MetricLong
extends Metric

A MetricLong extends the abstract Metric class by adding a long value.


Constructor Summary
MetricLong()
           
MetricLong(MetricId metricId, long value)
           
 
Method Summary
 boolean equals(Object other)
           
 long getValue()
           
 int hashCode()
           
 void setValue(long value)
           
 String toValueString()
           
 
Methods inherited from class com.endeca.itl.cas.api.Metric
getMetricId, setMetricId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetricLong

public MetricLong()

MetricLong

public MetricLong(MetricId metricId,
                  long value)
Method Detail

getValue

public long getValue()

setValue

public void setValue(long value)

equals

public boolean equals(Object other)
Overrides:
equals in class Metric

hashCode

public int hashCode()
Overrides:
hashCode in class Metric

toValueString

public String toValueString()
Specified by:
toValueString in class Metric


Copyright © 2011 Endeca. All Rights Reserved.