Add: ThrowingParser interface used to implicitly convert
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
package ch.unibas.dmi.dbis.cs108.casono.server.network.parser;
|
||||
|
||||
@FunctionalInterface
|
||||
interface ThrowingParser<T> {
|
||||
T parse(String value) throws Exception;
|
||||
}
|
||||
Reference in New Issue
Block a user