private static V provide()

in src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/operator/Operators.java [80:86]


    private static <K, V> V provide(Map<K, V> map, K key) {
        V v = map.get(key);
        if (v == null) {
            throw new UnsupportedOperationException("Cannot find generator for operator: " + key);
        }
        return v;
    }