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