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

org.tiogasolutions.dev.common.OperatingSystem Maven / Gradle / Ivy

There is a newer version: 5.2.6
Show newest version
package org.tiogasolutions.dev.common;

/**
 * Simple enumeration of operating systems.
 */
public enum OperatingSystem {
  
  Windows, 
  Mac,
  Unknown;
  
  public boolean isWindows() {
    return OperatingSystem.Windows.equals(this);
  }
  
  public boolean isMac() {
    return OperatingSystem.Mac.equals(this);
  }
  
  public boolean isUnknown() {
    return OperatingSystem.Unknown.equals(this);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy