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

jnr.constants.platform.solaris.Locale Maven / Gradle / Ivy

There is a newer version: 0.10.4
Show newest version
// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated 2018-09-20 19:13:10 +0200
package jnr.constants.platform.solaris;
public enum Locale implements jnr.constants.Constant {
LC_CTYPE(0L),
LC_NUMERIC(1L),
LC_TIME(2L),
LC_COLLATE(3L),
LC_MONETARY(4L),
LC_MESSAGES(5L),
LC_ALL(6L);
// LC_PAPER not defined
// LC_NAME not defined
// LC_ADDRESS not defined
// LC_TELEPHONE not defined
// LC_MEASUREMENT not defined
// LC_IDENTIFICATION not defined
private final long value;
private Locale(long value) { this.value = value; }
public static final long MIN_VALUE = 0L;
public static final long MAX_VALUE = 6L;

static final class StringTable {
  public static final java.util.Map descriptions = generateTable();
  public static final java.util.Map generateTable() {
    java.util.Map map = new java.util.EnumMap(Locale.class);
  map.put(LC_CTYPE, "LC_CTYPE");
  map.put(LC_NUMERIC, "LC_NUMERIC");
  map.put(LC_TIME, "LC_TIME");
  map.put(LC_COLLATE, "LC_COLLATE");
  map.put(LC_MONETARY, "LC_MONETARY");
  map.put(LC_MESSAGES, "LC_MESSAGES");
  map.put(LC_ALL, "LC_ALL");
    return map;
  }
}
public final String toString() { return StringTable.descriptions.get(this); }
public final int value() { return (int) value; }
public final int intValue() { return (int) value; }
public final long longValue() { return value; }
public final boolean defined() { return true; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy