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

jnr.constants.platform.linux.ErrnoAddressInfo Maven / Gradle / Ivy

There is a newer version: 0.10.4
Show newest version
// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated 2020-09-03 01:00:49 +0200
package jnr.constants.platform.linux;
public enum ErrnoAddressInfo implements jnr.constants.Constant {
EAI_ADDRFAMILY(-9L),
EAI_AGAIN(-3L),
EAI_BADFLAGS(-1L),
EAI_FAIL(-4L),
EAI_FAMILY(-6L),
EAI_MEMORY(-10L),
EAI_NODATA(-5L),
EAI_NONAME(-2L),
EAI_OVERFLOW(-12L),
EAI_SERVICE(-8L),
EAI_SOCKTYPE(-7L),
EAI_SYSTEM(-11L);
// EAI_BADHINTS not defined
// EAI_PROTOCOL not defined
// EAI_MAX not defined
private final long value;
private ErrnoAddressInfo(long value) { this.value = value; }
public static final long MIN_VALUE = -12L;
public static final long MAX_VALUE = -1L;

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(ErrnoAddressInfo.class);
  map.put(EAI_ADDRFAMILY, "EAI_ADDRFAMILY");
  map.put(EAI_AGAIN, "EAI_AGAIN");
  map.put(EAI_BADFLAGS, "EAI_BADFLAGS");
  map.put(EAI_FAIL, "EAI_FAIL");
  map.put(EAI_FAMILY, "EAI_FAMILY");
  map.put(EAI_MEMORY, "EAI_MEMORY");
  map.put(EAI_NODATA, "EAI_NODATA");
  map.put(EAI_NONAME, "EAI_NONAME");
  map.put(EAI_OVERFLOW, "EAI_OVERFLOW");
  map.put(EAI_SERVICE, "EAI_SERVICE");
  map.put(EAI_SOCKTYPE, "EAI_SOCKTYPE");
  map.put(EAI_SYSTEM, "EAI_SYSTEM");
    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 - 2025 Weber Informatics LLC | Privacy Policy