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, isStringcacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementationfinalize, getClass, notify, notifyAll, wait, wait, waitasAnnotation, asArray, asClass, asEnum, asPrimitive, asString, isAnnotation, isClass, isEnum, isPrimitive, isStringprotected TypeInfo type
protected Value[] values
protected int hash
public boolean isArray()
ValueisArray in interface ValueisArray in class AbstractValuepublic Value[] getValues()
ArrayValuegetValues in interface ArrayValuepublic TypeInfo getType()
Valuepublic int hashCode()
hashCode in class org.jboss.util.JBossObjectprotected void calculateHash()
Copyright © 2016 JBoss by Red Hat. All rights reserved.