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 Integer getInteger(final Enum<?> key, Integer arg) {
    return getInteger(key.name().toLowerCase(), arg);
}

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

public void addProperty(final Enum<?> key, final byte b) {
    super.addProperty(key.name().toLowerCase(), Byte.valueOf(b));
}

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

public void setProperty(final Enum<?> key, final byte b) {
    super.setProperty(key.name().toLowerCase(), Byte.valueOf(b));
}

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

public void addProperty(final Enum<?> key, final char c) {
    super.addProperty(key.name().toLowerCase(), Character.valueOf(c));
}

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

public void setProperty(final Enum<?> key, final char b) {
    super.setProperty(key.name().toLowerCase(), Character.valueOf(b));
}

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

public void addProperty(final Enum<?> key, final long l) {
    super.addProperty(key.name().toLowerCase(), Long.valueOf(l));
}

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

public void setProperty(final Enum<?> key, final long l) {
    super.setProperty(key.name().toLowerCase(), Long.valueOf(l));
}

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

public void addProperty(final Enum<?> key, final short s) {
    super.addProperty(key.name().toLowerCase(), Short.valueOf(s));
}

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

public void setProperty(final Enum<?> key, final short s) {
    super.setProperty(key.name().toLowerCase(), Short.valueOf(s));
}

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

public void addProperty(final Enum<?> key, final float f) {
    super.addProperty(key.name().toLowerCase(), Float.valueOf(f));
}