Moved generic resolvers to a separate package
This commit is contained in:
parent
5952a26fee
commit
c3db492a6d
|
@ -1,7 +1,9 @@
|
||||||
package cz.tefek.pluto.command.resolver;
|
package cz.tefek.pluto.command.resolver.generic;
|
||||||
|
|
||||||
import java.util.function.Function;
|
import java.util.function.Function;
|
||||||
|
|
||||||
|
import cz.tefek.pluto.command.resolver.AbstractResolver;
|
||||||
|
|
||||||
public abstract class GenericResolver<R> extends AbstractResolver
|
public abstract class GenericResolver<R> extends AbstractResolver
|
||||||
{
|
{
|
||||||
protected Function<String, R> func;
|
protected Function<String, R> func;
|
|
@ -1,8 +1,4 @@
|
||||||
package cz.tefek.pluto.command.resolver.primitive;
|
package cz.tefek.pluto.command.resolver.generic;
|
||||||
|
|
||||||
import java.util.function.Function;
|
|
||||||
|
|
||||||
import cz.tefek.pluto.command.resolver.GenericResolver;
|
|
||||||
|
|
||||||
public class StringResolver extends GenericResolver<String>
|
public class StringResolver extends GenericResolver<String>
|
||||||
{
|
{
|
Loading…
Reference in New Issue