public static class BranchTableView.Branch extends Object implements Comparable<BranchTableView.Branch>
Constructor and Description |
---|
Branch() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BranchTableView.Branch o)
Sort by predecessors number, then successors number, then
alphabetically by first spot name.
|
Double |
getFeature(String feature)
Returns the value corresponding to the specified branch feature.
|
void |
putFeature(String feature,
Double value)
Stores the specified feature value for this branch.
|
String |
toString() |
public final Double getFeature(String feature)
feature
- The feature string to retrieve the stored value for.Double
. Will be
null
if it has not been set.public final void putFeature(String feature, Double value)
public int compareTo(BranchTableView.Branch o)
compareTo
in interface Comparable<BranchTableView.Branch>
Copyright © 2015–2021 Fiji. All rights reserved.