public class BenthosFrequencyUIModelCache extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Map<Integer,org.apache.commons.lang3.mutable.MutableInt> |
nbOfRowsByLengthStep
Number of rows for each lengthstep (keys are a round value (*10) of the real float step, values are number of such steps.
|
protected Set<BenthosFrequencyRowModel> |
withWeightRows
Rows with a filled weight.
|
| Constructor and Description |
|---|
BenthosFrequencyUIModelCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLengthStep(BenthosFrequencyRowModel row) |
Float |
computeTotalWeight() |
void |
decNumberOfRows(float lengthStep) |
protected org.apache.commons.lang3.mutable.MutableInt |
getNbRowsByLengthStep(float lengthStep) |
int |
getNbRowsWithWeight() |
Map<Float,BenthosFrequencyRowModel> |
getRowCache() |
void |
incNumberOfRows(float lengthStep) |
void |
loadCache(List<BenthosFrequencyRowModel> rows) |
int |
numberOfRows(float lengthStep) |
void |
removeLengthStep(Float oldValue) |
void |
updateRowWithWeight(BenthosFrequencyRowModel row) |
protected final Set<BenthosFrequencyRowModel> withWeightRows
protected final Map<Integer,org.apache.commons.lang3.mutable.MutableInt> nbOfRowsByLengthStep
public void loadCache(List<BenthosFrequencyRowModel> rows)
public void updateRowWithWeight(BenthosFrequencyRowModel row)
public int getNbRowsWithWeight()
public int numberOfRows(float lengthStep)
public void incNumberOfRows(float lengthStep)
public void decNumberOfRows(float lengthStep)
protected org.apache.commons.lang3.mutable.MutableInt getNbRowsByLengthStep(float lengthStep)
public void addLengthStep(BenthosFrequencyRowModel row)
public void removeLengthStep(Float oldValue)
public Map<Float,BenthosFrequencyRowModel> getRowCache()
public Float computeTotalWeight()
Copyright © 2012–2015 Ifremer. All rights reserved.