protected static enum HashCodeMethod.ValueTransformer extends Enum<HashCodeMethod.ValueTransformer> implements StackManipulation
int value.StackManipulation.Compound, StackManipulation.Illegal, StackManipulation.Size, StackManipulation.Trivial| Enum Constant and Description | 
|---|
| BOOLEAN_ARRAYA transformer for a  boolean[]value. | 
| BYTE_ARRAYA transformer for a  byte[]value. | 
| CHARACTER_ARRAYA transformer for a  char[]value. | 
| DOUBLEA transformer for a  doublevalue. | 
| DOUBLE_ARRAYA transformer for a  double[]value. | 
| FLOATA transformer for a  floatvalue. | 
| FLOAT_ARRAYA transformer for a  float[]value. | 
| INTEGER_ARRAYA transformer for an  int[]value. | 
| LONGA transformer for a  longvalue. | 
| LONG_ARRAYA transformer for a  long[]value. | 
| NESTED_ARRAYA transformer for a nested reference array value. | 
| REFERENCE_ARRAYA transformer for a reference array value. | 
| SHORT_ARRAYA transformer for a  short[]value. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isValid()Determines if this stack manipulation is valid. | 
| static StackManipulation | of(TypeDefinition typeDefinition)Resolves a type definition to a hash code. | 
| static HashCodeMethod.ValueTransformer | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static HashCodeMethod.ValueTransformer[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfapplypublic static final HashCodeMethod.ValueTransformer LONG
long value.public static final HashCodeMethod.ValueTransformer FLOAT
float value.public static final HashCodeMethod.ValueTransformer DOUBLE
double value.public static final HashCodeMethod.ValueTransformer BOOLEAN_ARRAY
boolean[] value.public static final HashCodeMethod.ValueTransformer BYTE_ARRAY
byte[] value.public static final HashCodeMethod.ValueTransformer SHORT_ARRAY
short[] value.public static final HashCodeMethod.ValueTransformer CHARACTER_ARRAY
char[] value.public static final HashCodeMethod.ValueTransformer INTEGER_ARRAY
int[] value.public static final HashCodeMethod.ValueTransformer LONG_ARRAY
long[] value.public static final HashCodeMethod.ValueTransformer FLOAT_ARRAY
float[] value.public static final HashCodeMethod.ValueTransformer DOUBLE_ARRAY
double[] value.public static final HashCodeMethod.ValueTransformer REFERENCE_ARRAY
public static final HashCodeMethod.ValueTransformer NESTED_ARRAY
public static HashCodeMethod.ValueTransformer[] values()
for (HashCodeMethod.ValueTransformer c : HashCodeMethod.ValueTransformer.values()) System.out.println(c);
public static HashCodeMethod.ValueTransformer 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 static StackManipulation of(TypeDefinition typeDefinition)
typeDefinition - The type definition to resolve.public boolean isValid()
isValid in interface StackManipulationfalse, this manipulation cannot be applied and should throw an exception.Copyright © 2014–2019. All rights reserved.