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

io.atlasmap.java.v2.Modifier Maven / Gradle / Ivy

There is a newer version: 2.5.2
Show newest version
package io.atlasmap.java.v2;

public enum Modifier {

    ALL("All"),
    ABSTRACT("Abstract"),
    FINAL("Final"),
    INTERFACE("Interface"),
    NATIVE("Native"),
    PACKAGE_PRIVATE("Package Private"),
    PUBLIC("Public"),
    PROTECTED("Protected"),
    PRIVATE("Private"),
    STATIC("Static"),
    STRICT("Strict"),
    SYNCHRONIZED("Synchronized"),
    TRANSIENT("Transient"),
    VOLATILE("Volatile"),
    NONE("None");

    private final String value;

    Modifier(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static Modifier fromValue(String v) {
        for (Modifier c: Modifier.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy