All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.damianwajser.factories.jsonbased.conditions.operations.Operation Maven / Gradle / Ivy

There is a newer version: 1.28.6
Show newest version
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