lookup method
E lookup(If an object equal to object
is in the set, return it.
Checks if there is an object in the set that is equal to object
. If so, that object is returned, otherwise returns null.
Source
E lookup(Object object) { if (!_validKey(object)) return null; int comp = _splay(object as dynamic/*=E*/); if (comp != 0) return null; return _root.key; }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-collection/SplayTreeSet/lookup.html