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

jnr.constants.platform.solaris.AddressInfo 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:49:53 +0200
package jnr.constants.platform.solaris;
public enum AddressInfo implements jnr.constants.Constant {
AI_PASSIVE(8L),
AI_CANONNAME(16L),
AI_NUMERICHOST(32L),
AI_NUMERICSERV(64L),
// AI_MASK not defined
AI_ALL(2L),
// AI_V4MAPPED_CFG not defined
AI_ADDRCONFIG(4L),
AI_V4MAPPED(1L),
AI_DEFAULT(5L);
private final long value;
private AddressInfo(long value) { this.value = value; }
public static final long MIN_VALUE = 1L;
public static final long MAX_VALUE = 64L;

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(AddressInfo.class);
  map.put(AI_PASSIVE, "AI_PASSIVE");
  map.put(AI_CANONNAME, "AI_CANONNAME");
  map.put(AI_NUMERICHOST, "AI_NUMERICHOST");
  map.put(AI_NUMERICSERV, "AI_NUMERICSERV");
  map.put(AI_ALL, "AI_ALL");
  map.put(AI_ADDRCONFIG, "AI_ADDRCONFIG");
  map.put(AI_V4MAPPED, "AI_V4MAPPED");
  map.put(AI_DEFAULT, "AI_DEFAULT");
    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