public enum Arch extends Enum<Arch>
| Enum Constant and Description |
|---|
arm64 |
armhf |
ppc64le |
x86 |
x86_avx2 |
x86_avx512 |
| Modifier and Type | Method and Description |
|---|---|
Arch[] |
compatibleWith()
What other architectures is this compatible with?
Mainly used for x86: i.e., can run x86 on x86-avx2 and x86-avx512 systems.
|
static Arch |
forName(String s) |
boolean |
isCompatibleWith(Arch other)
Returns true if the code for this arch can generally be run on the specified arch.
|
boolean |
lowerThan(Arch other) |
static Arch |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Arch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Arch x86
public static final Arch x86_avx2
public static final Arch x86_avx512
public static final Arch armhf
public static final Arch arm64
public static final Arch ppc64le
public static Arch[] values()
for (Arch c : Arch.values()) System.out.println(c);
public static Arch valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Arch[] compatibleWith()
public boolean isCompatibleWith(Arch other)
public boolean lowerThan(Arch other)
Copyright © 2022. All rights reserved.