Debian Codegraph @

src/main/java/jnr/constants/platform/freebsd/aarch64/Locale.java

raw
1 // WARNING: This file is autogenerated. DO NOT EDIT!
2 // Generated 2021-10-08 17:37:37 +0200
3 package jnr.constants.platform.freebsd.aarch64;
4 public enum Locale implements jnr.constants.Constant {
5 LC_CTYPE(2L),
6 LC_NUMERIC(4L),
7 LC_TIME(5L),
8 LC_COLLATE(1L),
9 LC_MONETARY(3L),
10 LC_MESSAGES(6L),
11 LC_ALL(0L);
12 // LC_PAPER not defined
13 // LC_NAME not defined
14 // LC_ADDRESS not defined
15 // LC_TELEPHONE not defined
16 // LC_MEASUREMENT not defined
17 // LC_IDENTIFICATION not defined
18 private final long value;
19 private Locale(long value) { this.value = value; }
20 public static final long MIN_VALUE = 0L;
21 public static final long MAX_VALUE = 6L;
22
23 static final class StringTable {
24 public static final java.util.Map<Locale, String> descriptions = generateTable();
25 public static final java.util.Map<Locale, String> generateTable() {
26 java.util.Map<Locale, String> map = new java.util.EnumMap<Locale, String>(Locale.class);
27 map.put(LC_CTYPE, "LC_CTYPE");
28 map.put(LC_NUMERIC, "LC_NUMERIC");
29 map.put(LC_TIME, "LC_TIME");
30 map.put(LC_COLLATE, "LC_COLLATE");
31 map.put(LC_MONETARY, "LC_MONETARY");
32 map.put(LC_MESSAGES, "LC_MESSAGES");
33 map.put(LC_ALL, "LC_ALL");
34 return map;
35 }
36 }
37 public final String toString() { return StringTable.descriptions.get(this); }
38 public final int value() { return (int) value; }
39 public final int intValue() { return (int) value; }
40 public final long longValue() { return value; }
41 public final boolean defined() { return true; }
42 }