cytoscape.util
Class AbstractScaler
java.lang.Object
cytoscape.util.AbstractScaler
- All Implemented Interfaces:
- Scaler
public abstract class AbstractScaler
- extends Object
- implements Scaler
Used to scale a list of values to [a,b]
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractScaler
public AbstractScaler()
scale
public abstract double[] scale(double[] values,
double a,
double b)
throws IllegalArgumentException
- Specified by:
scale
in interface Scaler
- Throws:
IllegalArgumentException
scale
public final double[] scale(Collection<Double> values,
double a,
double b)
throws IllegalArgumentException
- Specified by:
scale
in interface Scaler
- Throws:
IllegalArgumentException
scale
public final float[] scale(float[] values,
float a,
float b)
throws IllegalArgumentException
- Specified by:
scale
in interface Scaler
- Throws:
IllegalArgumentException
scale
public final float[] scale(Collection<Float> values,
float a,
float b)
throws IllegalArgumentException
- Specified by:
scale
in interface Scaler
- Throws:
IllegalArgumentException
Copyright 2010 Cytoscape Consortium. All rights reserved.