public static enum HashCodeMethod.NullValueGuard.NoOp extends Enum<HashCodeMethod.NullValueGuard.NoOp> implements HashCodeMethod.NullValueGuard
HashCodeMethod.NullValueGuard.NoOp, HashCodeMethod.NullValueGuard.UsingJump
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
after()
Returns a stack manipulation to apply after computing a hash value.
|
StackManipulation |
before()
Returns a stack manipulation to apply before computing a hash value.
|
int |
getRequiredVariablePadding()
Returns the required padding for the local variable array to apply this guard.
|
static HashCodeMethod.NullValueGuard.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashCodeMethod.NullValueGuard.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashCodeMethod.NullValueGuard.NoOp INSTANCE
public static HashCodeMethod.NullValueGuard.NoOp[] values()
for (HashCodeMethod.NullValueGuard.NoOp c : HashCodeMethod.NullValueGuard.NoOp.values()) System.out.println(c);
public static HashCodeMethod.NullValueGuard.NoOp 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 StackManipulation before()
before
in interface HashCodeMethod.NullValueGuard
public StackManipulation after()
after
in interface HashCodeMethod.NullValueGuard
public int getRequiredVariablePadding()
getRequiredVariablePadding
in interface HashCodeMethod.NullValueGuard
Copyright © 2014–2020. All rights reserved.