addEntry method

  1. @override
bool addEntry (
  1. T e
)
override

Implementation

@override
bool addEntry(T e) {
  if (e == null) return false;

  List<T> valueDatas = values;
  if (valueDatas == null) {
    valueDatas = List<T>();
  }

  calcMinMax1(e);

  // add the entry
  valueDatas.add(e);
  return true;
}