dev.struchkov.godfather.main.domain.ContextKey Maven / Gradle / Ivy
package dev.struchkov.godfather.main.domain;
public interface ContextKey {
String getValue();
Class getType();
static ContextKey of(String value, Class type) {
return new ContextKey<>() {
@Override
public String getValue() {
return value;
}
@Override
public Class getType() {
return type;
}
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy