Example usage for java.lang Enum name

List of usage examples for java.lang Enum name

Introduction

In this page you can find the example usage for java.lang Enum name.

Prototype

String name

To view the source code for java.lang Enum name.

Click Source Link

Document

The name of this enum constant, as declared in the enum declaration.

Usage

From source file:it.unimi.dsi.util.Properties.java

public int getInt(final Enum<?> key, int arg) {
    return getInt(key.name().toLowerCase(), arg);
}

From source file:it.unimi.dsi.util.Properties.java

public void addProperty(final Enum<?> key, Object arg) {
    addProperty(key.name().toLowerCase(), arg);
}

From source file:it.unimi.dsi.util.Properties.java

public void setProperty(final Enum<?> key, Object arg) {
    setProperty(key.name().toLowerCase(), arg);
}

From source file:it.unimi.dsi.util.Properties.java

public byte getByte(final Enum<?> key, byte arg) {
    return getByte(key.name().toLowerCase(), arg);
}

From source file:it.unimi.dsi.util.Properties.java

public Byte getByte(final Enum<?> key, Byte arg) {
    return getByte(key.name().toLowerCase(), arg);
}

From source file:it.unimi.dsi.util.Properties.java

public long getLong(final Enum<?> key, long arg) {
    return getLong(key.name().toLowerCase(), arg);
}

From source file:it.unimi.dsi.util.Properties.java

public Long getLong(final Enum<?> key, Long arg) {
    return getLong(key.name().toLowerCase(), arg);
}

From source file:it.unimi.dsi.util.Properties.java

public float getFloat(final Enum<?> key, float arg) {
    return getFloat(key.name().toLowerCase(), arg);
}

From source file:it.unimi.dsi.util.Properties.java

public Float getFloat(final Enum<?> key, Float arg) {
    return getFloat(key.name().toLowerCase(), arg);
}

From source file:it.unimi.dsi.util.Properties.java

public short getShort(final Enum<?> key, short arg) {
    return getShort(key.name().toLowerCase(), arg);
}