public static <T> Optional<T> getOptionalUnsafe(final List list, final Class<T> clazz, final Integer... path) {
        return getUnsafe(list, Optional.class, path);
    }
public static < T > Optional < T > getOptionalUnsafe ( final List list , final Class < T > clazz , final Integer ... path ) { return getUnsafe ( list , Optional . class , path ) ; }
Get optional value by path.
@param <T> optional value type
@param clazz type of value
@param list subject
@param path nodes to walk in map
@return value