TPTP 4.1.0 Tracing and Profiling Tools Project
Internal API Specification

org.eclipse.hyades.trace.views.internal
Class QuantitativeClassification

java.lang.Object
  extended byorg.eclipse.hyades.trace.views.internal.Classification
      extended byorg.eclipse.hyades.trace.views.internal.QuantitativeClassification
Direct Known Subclasses:
LinearClassification

public abstract class QuantitativeClassification
extends Classification

Copyright (c) 2005 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html $Id: QuantitativeClassification.java,v 1.1 2005/07/22 14:49:34 hleung Exp $ Contributors: IBM - Initial API and implementation


Field Summary
protected  int _numBuckets
           
protected  long _rangeHigh
           
protected  long _rangeLow
           
 
Fields inherited from class org.eclipse.hyades.trace.views.internal.Classification
_nullBucketLabel, NULL_BUCKET
 
Constructor Summary
QuantitativeClassification()
           
 
Method Summary
abstract  int bucket(long value)
           
 int numBuckets()
           
 long rangeHigh()
           
 long rangeLow()
           
 void setNumBuckets(int n)
           
 void setRange(long low, long high)
           
 
Methods inherited from class org.eclipse.hyades.trace.views.internal.Classification
classify, label, setNullBucketLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_numBuckets

protected int _numBuckets

_rangeLow

protected long _rangeLow

_rangeHigh

protected long _rangeHigh
Constructor Detail

QuantitativeClassification

public QuantitativeClassification()
Method Detail

bucket

public abstract int bucket(long value)

numBuckets

public int numBuckets()
Specified by:
numBuckets in class Classification

rangeHigh

public long rangeHigh()

rangeLow

public long rangeLow()

setNumBuckets

public void setNumBuckets(int n)

setRange

public void setRange(long low,
                     long high)

TPTP 4.1.0 Tracing and Profiling Tools Project
Internal API Specification