Add this value, but only if it's not already in the list.
(double value)
| 335 | |
| 336 | /** Add this value, but only if it's not already in the list. */ |
| 337 | @SuppressWarnings("unused") |
| 338 | public void appendUnique(double value) { |
| 339 | if (!hasValue(value)) { |
| 340 | append(value); |
| 341 | } |
| 342 | } |
| 343 | |
| 344 | |
| 345 | public void insert(int index, double value) { |