default <T> PartitioningStrategy<T> cast() {
        //noinspection unchecked
        return (PartitioningStrategy<T>) this;
    }
Casts this {@link GenericPartitioningStrategy} to a {@link PartitioningStrategy} of type T.

@param <T> the type
@return a casted strategy
helper/src/main/java/me/lucko/helper/bucket/partitioning/GenericPartitioningStrategy.java