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

com.github.moaxcp.x11.protocol.glx.Rm Maven / Gradle / Ivy

The newest version!
package com.github.moaxcp.x11.protocol.glx;

import com.github.moaxcp.x11.protocol.IntValue;
import java.util.HashMap;
import java.util.Map;

public enum Rm implements IntValue {
  GL_RENDER(7168),

  GL_FEEDBACK(7169),

  GL_SELECT(7170);

  static final Map byCode = new HashMap<>();

  static {
        for(Rm e : values()) {
            byCode.put(e.value, e);
        }
  }

  private int value;

  Rm(int value) {
    this.value = value;
  }

  @Override
  public int getValue() {
    return value;
  }

  public static Rm getByCode(int code) {
    return byCode.get(code);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy