/** * Returns a lookup which looks up values using a map. * <p> * If the map is null, then null will be returned from every lookup. * The map result object is converted to a string using toString(). * * @param map the map of keys to values, may be null * @return a lookup using the map, not null */ public static StrLookup mapLookup(Map map) { return new MapStrLookup(map); }
/** * Returns a lookup which looks up values using a map. * <p> * If the map is null, then null will be returned from every lookup. * The map result object is converted to a string using toString(). * * @param map the map of keys to values, may be null * @return a lookup using the map, not null */ public static StrLookup mapLookup(Map map) { return new MapStrLookup(map); }
/** * Returns a lookup which looks up values using a map. * <p> * If the map is null, then null will be returned from every lookup. * The map result object is converted to a string using toString(). * * @param map the map of keys to values, may be null * @return a lookup using the map, not null */ public static StrLookup mapLookup(Map map) { return new MapStrLookup(map); }
/** * Returns a lookup which looks up values using a map. * <p> * If the map is null, then null will be returned from every lookup. * The map result object is converted to a string using toString(). * * @param map the map of keys to values, may be null * @return a lookup using the map, not null */ public static StrLookup mapLookup(Map map) { return new MapStrLookup(map); }
/** * Returns a lookup which looks up values using a map. * <p> * If the map is null, then null will be returned from every lookup. * The map result object is converted to a string using toString(). * * @param map the map of keys to values, may be null * @return a lookup using the map, not null */ public static StrLookup mapLookup(Map map) { return new MapStrLookup(map); }
/** * Returns a lookup which looks up values using a map. * <p> * If the map is null, then null will be returned from every lookup. * The map result object is converted to a string using toString(). * * @param map the map of keys to values, may be null * @return a lookup using the map, not null */ public static StrLookup mapLookup(Map map) { return new MapStrLookup(map); }