@ALDParametrizedClass public class Extrema1D extends ALDData
| Modifier and Type | Field and Description |
|---|---|
private int |
length
Only to test changeValueHook
|
private ArrayList<Double> |
x
x coordinates
|
private ArrayList<Double> |
y
y coordinates
|
| Constructor and Description |
|---|
Extrema1D()
Standard constructor is required
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(Double x,
Double y)
Add an extremal point
(x,y) |
int |
getLength() |
ArrayList<Double> |
getX() |
Double |
getX(int i)
Return the x coordinate of the i-th extremal point
|
ArrayList<Double> |
getY() |
Double |
getY(int i)
Return the y coordinate of the i-th extremal point
|
void |
print()
print information about this object to stdout
|
int |
size()
Return the number of extremal points
|
private void |
xValueChanged()
Callback function to be called, e.g., upon de-serialization
|
cloneProperties, getLocation, getProperty, getPropertyKeys, setLocation, setProperty@ALDClassParameter(label="x", dataIOOrder=1, changeValueHook="xValueChanged") private ArrayList<Double> x
@ALDClassParameter(label="y", dataIOOrder=2) private ArrayList<Double> y
private int length
private void xValueChanged()
public void print()
public Double getX(int i)
i - public Double getY(int i)
i - public int size()
public int getLength()
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.