T
- public class OutOfBoundsRandomValueFactory<T extends RealType<T>,F extends Interval & RandomAccessible<T>> extends Object implements OutOfBoundsFactory<T,F>
Modifier and Type | Field and Description |
---|---|
protected double |
max |
protected double |
min |
protected Random |
rnd |
protected T |
value |
Constructor and Description |
---|
OutOfBoundsRandomValueFactory(T value,
double min,
double max) |
Modifier and Type | Method and Description |
---|---|
OutOfBoundsRandomValue<T> |
create(F f) |
void |
setMinMax(double min,
double max) |
void |
setRandom(Random rnd) |
protected double min
protected double max
protected Random rnd
public OutOfBoundsRandomValueFactory(T value, double min, double max)
public void setMinMax(double min, double max)
public void setRandom(Random rnd)
public OutOfBoundsRandomValue<T> create(F f)
create
in interface OutOfBoundsFactory<T extends RealType<T>,F extends Interval & RandomAccessible<T>>
Copyright © 2015–2022 ImgLib2. All rights reserved.