public class ArrayValueImpl extends AbstractValue implements ArrayValue
Modifier and Type | Field and Description |
---|---|
protected int |
hash
The hash code
|
protected TypeInfo |
type
The type
|
protected Value[] |
values
The values
|
Constructor and Description |
---|
ArrayValueImpl()
Create a new ArrayValue
|
ArrayValueImpl(TypeInfo type,
Value[] values)
Create a new ArrayValue
|
Modifier and Type | Method and Description |
---|---|
protected void |
calculateHash()
Calculate the hash code
|
boolean |
equals(Object o) |
TypeInfo |
getType()
Get the type of the value
|
Value[] |
getValues()
Get the values
|
int |
hashCode() |
boolean |
isArray()
Is this value an array
|
asAnnotation, asArray, asClass, asEnum, asPrimitive, asString, isAnnotation, isClass, isEnum, isPrimitive, isString
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation
finalize, getClass, notify, notifyAll, wait, wait, wait
asAnnotation, asArray, asClass, asEnum, asPrimitive, asString, isAnnotation, isClass, isEnum, isPrimitive, isString
protected TypeInfo type
protected Value[] values
protected int hash
public boolean isArray()
Value
isArray
in interface Value
isArray
in class AbstractValue
public Value[] getValues()
ArrayValue
getValues
in interface ArrayValue
public TypeInfo getType()
Value
public int hashCode()
hashCode
in class org.jboss.util.JBossObject
protected void calculateHash()
Copyright © 2017 JBoss by Red Hat. All rights reserved.