com.github.damianwajser.factories.jsonbased.conditions.operations.Operation Maven / Gradle / Ivy
package com.github.damianwajser.factories.jsonbased.conditions.operations;
import java.util.HashMap;
import java.util.Map;
public enum Operation {
EQUALS("=");
private static final Map BY_OPERATION = new HashMap<>();
private final String value;
static {
for (Operation e : values()) {
BY_OPERATION.put(e.value, e);
}
}
Operation(String value) {
this.value = value;
}
public static Operation value(String label) {
return BY_OPERATION.get(label);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy