Lines Matching refs:that

44    * Returns a function that calls {@code toString()} on its argument. The function does not accept
94 * IllegalArgumentException} if given a key that does not exist in the map.
116 FunctionForMapNoDefault<?, ?> that = (FunctionForMapNoDefault<?, ?>) o;
117 return map.equals(that.map);
135 * this method returns {@code defaultValue} for all inputs that do not belong to the map's key
138 * @param map source map that determines the function behavior
139 * @param defaultValue the value to return for inputs that aren't map keys
140 * @return function that returns {@code map.get(a)} when {@code a} is a key, or {@code
164 ForMapWithDefault<?, ?> that = (ForMapWithDefault<?, ?>) o;
165 return map.equals(that.map) && Objects.equal(defaultValue, that.defaultValue);
183 * is defined as the function h such that {@code h(a) == g(f(a))} for each {@code a}.
210 FunctionComposition<?, ?, ?> that = (FunctionComposition<?, ?, ?>) obj;
211 return f.equals(that.f) && g.equals(that.g);
228 * Creates a function that returns the same boolean output as the given predicate for all inputs.
252 PredicateFunction<?> that = (PredicateFunction<?>) obj;
253 return predicate.equals(that.predicate);
270 * Creates a function that returns {@code value} for any input.
273 * @return a function that always returns {@code value}
293 ConstantFunction<?> that = (ConstantFunction<?>) obj;
294 return Objects.equal(value, that.value);
311 * Returns a function that always returns the result of invoking {@link Supplier#get} on {@code
336 SupplierFunction<?> that = (SupplierFunction<?>) obj;
337 return this.supplier.equals(that.supplier);