Archived
0

Moved "util" package contents into correct "utils" package

This commit is contained in:
Pepich
2017-05-30 11:52:34 +02:00
parent 8c59af9ec3
commit c0fab2a72e
8 changed files with 61 additions and 44 deletions

View File

@@ -0,0 +1,12 @@
package com.redstoner.utils;
/**
* A supplier with a throws declaration.
* Once again, I have more solid alternatives, but if you want it in your utils... be my guest :D
*
* @param <T> The type of object computed by this supplier.
*/
@FunctionalInterface
public interface ThrowingSupplier<T> {
T get() throws Throwable;
}