public enum Neightbour extends java.lang.Enum<Neightbour>
| Enum Constant and Description |
|---|
MOORE |
ROTATED_VON_NEUMANN |
VON_NEUMANN |
| Modifier and Type | Method and Description |
|---|---|
int[][] |
getNeightbourgh() |
static Neightbour |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Neightbour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Neightbour MOORE
public static final Neightbour VON_NEUMANN
public static final Neightbour ROTATED_VON_NEUMANN
public static Neightbour[] values()
for (Neightbour c : Neightbour.values()) System.out.println(c);
public static Neightbour valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int[][] getNeightbourgh()
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com