last property

V last
override

See IterableBase.last

Implementation

V get last {
  if (_root == null) return null;
  AvlNode<V> max = _root.maximumNode;
  return max != null ? max.object : null;
}