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, 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 String value
protected TypeInfo type
protected int hash
public boolean isArray()
ValueisArray in interface ValueisArray in class AbstractValuepublic String getValue()
ClassValuegetValue in interface ClassValuepublic TypeInfo getType()
Valuepublic int hashCode()
hashCode in class org.jboss.util.JBossObjectprotected void calculateHash()
Copyright © 2016 JBoss by Red Hat. All rights reserved.