Code example for Cache

Methods: put

0
    public <T> ModelSchema<T> get(ModelType<T> type) { 
        return Cast.uncheckedCast(cache.getIfPresent(type)); 
    } 
 
    public <T> void set(ModelType<T> type, ModelSchema<T> schema) { 
        cache.put(type, schema); 
    } 
 
} 
Connect your IDE to all the code out there  Get Codota for Java