public enum Neighborhood2D3D extends Enum<Neighborhood2D3D>
Enum Constant and Description |
---|
IncludingDiagonals |
NoDiagonals |
Modifier and Type | Method and Description |
---|---|
int |
getNativeValue2D() |
int |
getNativeValue3D() |
String |
toString() |
static Neighborhood2D3D |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Neighborhood2D3D[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Neighborhood2D3D NoDiagonals
public static final Neighborhood2D3D IncludingDiagonals
public static Neighborhood2D3D[] values()
for (Neighborhood2D3D c : Neighborhood2D3D.values()) System.out.println(c);
public static Neighborhood2D3D 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 int getNativeValue2D()
public int getNativeValue3D()
public String toString()
toString
in class Enum<Neighborhood2D3D>
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.