|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.reflect.spi.AbstractValue
org.jboss.reflect.plugins.ArrayValueImpl
public class ArrayValueImpl
Annotation value
| Field Summary | |
|---|---|
protected int |
hash
The hash code |
protected TypeInfo |
type
The type |
protected Value[] |
values
The values |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
ArrayValueImpl()
Create a new ArrayValue |
|
ArrayValueImpl(TypeInfo type,
Value[] values)
Create a new ArrayValue |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.jboss.reflect.spi.AbstractValue |
|---|
asAnnotation, asArray, asClass, asEnum, asPrimitive, asString, isAnnotation, isClass, isEnum, isPrimitive, isString |
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.reflect.spi.Value |
|---|
asAnnotation, asArray, asClass, asEnum, asPrimitive, asString, isAnnotation, isClass, isEnum, isPrimitive, isString |
| Field Detail |
|---|
protected TypeInfo type
protected Value[] values
protected int hash
| Constructor Detail |
|---|
public ArrayValueImpl()
public ArrayValueImpl(TypeInfo type,
Value[] values)
type - the typevalues - the values| Method Detail |
|---|
public boolean isArray()
Value
isArray in interface ValueisArray in class AbstractValuepublic Value[] getValues()
ArrayValue
getValues in interface ArrayValuepublic TypeInfo getType()
Value
getType in interface Valuepublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class org.jboss.util.JBossObjectprotected void calculateHash()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||