Home | History | Annotate | Download | only in ADT

Lines Matching refs:NotFound

53 //   ValT lookup(KeyT x, Value NotFound = Value()) const;
602 /// @param NotFound Value to return if x is not in any interval.
603 /// @return The mapped value at x or NotFound.
604 ValT safeLookup(KeyT x, ValT NotFound) const {
606 return Traits::startLess(x, start(i)) ? NotFound : value(i);
1047 ValT treeSafeLookup(KeyT x, ValT NotFound) const;
1082 /// lookup - Return the mapped value at x or NotFound.
1083 ValT lookup(KeyT x, ValT NotFound = ValT()) const {
1085 return NotFound;
1086 return branched() ? treeSafeLookup(x, NotFound) :
1087 rootLeaf().safeLookup(x, NotFound);
1149 /// treeSafeLookup - Return the mapped value at x or NotFound, assuming a
1153 treeSafeLookup(KeyT x, ValT NotFound) const {
1159 return NR.get<Leaf>().safeLookup(x, NotFound);