org.eclipse.hyades.trace.views.internal
Class QuantitativeClassification
java.lang.Object
org.eclipse.hyades.trace.views.internal.Classification
org.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_numBuckets
protected int _numBuckets
_rangeLow
protected long _rangeLow
_rangeHigh
protected long _rangeHigh
QuantitativeClassification
public QuantitativeClassification()
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)