hollow/src/main/java/com/netflix/hollow/api/consumer/HollowConsumer.java
public <T extends HollowAPI> T getAPI(Class<T> apiClass) {
        return apiClass.cast(updater.getAPI());
    }
public <T extends HollowAPI> T getAPI(Class<T> apiClass) {
        return apiClass.cast(updater.getAPI());
    }
Equivalent to calling {@link #getAPI()} and casting to the specified API.

@param apiClass the class of the API
@param <T> the type of the API
@return the API which wraps the underlying dataset