-
Enhancement
-
Resolution: Fixed
-
P3
-
21
Add a SymbolLookup::or method to support lookup chaining.
SymbolLookup combined = loookupA.or(lookupB);
This would be a convenience method for the following:
SymbolLookup combined = name -> loookupA.lookup(name).or(() -> lookupB.lookup(name));
With a little more prominence in the API as well.
SymbolLookup combined = loookupA.or(lookupB);
This would be a convenience method for the following:
SymbolLookup combined = name -> loookupA.lookup(name).or(() -> lookupB.lookup(name));
With a little more prominence in the API as well.
- csr for
-
JDK-8308002 Add SymbolLookup::or method
-
- Closed
-