Debian Codegraph @

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

raw
1 // WARNING: This file is autogenerated. DO NOT EDIT!
2 // Generated 2021-10-08 17:37:35 +0200
3 package jnr.constants.platform.freebsd.aarch64;
4 public enum PRIO implements jnr.constants.Constant {
5 PRIO_MIN(-20L),
6 PRIO_PROCESS(0L),
7 PRIO_PGRP(1L),
8 PRIO_USER(2L),
9 PRIO_MAX(20L);
10 private final long value;
11 private PRIO(long value) { this.value = value; }
12 public static final long MIN_VALUE = -20L;
13 public static final long MAX_VALUE = 20L;
14
15 static final class StringTable {
16 public static final java.util.Map<PRIO, String> descriptions = generateTable();
17 public static final java.util.Map<PRIO, String> generateTable() {
18 java.util.Map<PRIO, String> map = new java.util.EnumMap<PRIO, String>(PRIO.class);
19 map.put(PRIO_MIN, "PRIO_MIN");
20 map.put(PRIO_PROCESS, "PRIO_PROCESS");
21 map.put(PRIO_PGRP, "PRIO_PGRP");
22 map.put(PRIO_USER, "PRIO_USER");
23 map.put(PRIO_MAX, "PRIO_MAX");
24 return map;
25 }
26 }
27 public final String toString() { return StringTable.descriptions.get(this); }
28 public final int value() { return (int) value; }
29 public final int intValue() { return (int) value; }
30 public final long longValue() { return value; }
31 public final boolean defined() { return true; }
32 }