public class ClassValueImpl extends AbstractValue implements ClassValue
Modifier and Type | Field and Description |
---|---|
protected int |
hash
The hash code
|
protected TypeInfo |
type
The type
|
protected String |
value
The value
|
Constructor and Description |
---|
ClassValueImpl()
Create a new class value
|
ClassValueImpl(String value,
TypeInfo type)
Create a new ClassValue.
|
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
|
String |
getValue()
Get the value
|
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 String value
protected TypeInfo type
protected int hash
public boolean isArray()
Value
isArray
in interface Value
isArray
in class AbstractValue
public String getValue()
ClassValue
getValue
in interface ClassValue
public TypeInfo getType()
Value
public int hashCode()
hashCode
in class org.jboss.util.JBossObject
protected void calculateHash()
Copyright © 2014 JBoss by Red Hat. All rights reserved.