|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--anvil.core.Any
|
+--anvil.core.AnyAbstractClass
|
+--anvil.core.naming.AnyName
class AnyName
| Field Summary | |
static NativeClass |
_class
|
static java.lang.Object[] |
p_add
|
static java.lang.Object[] |
p_endsWith
|
static java.lang.Object[] |
p_get
|
static java.lang.Object[] |
p_getPrefix
|
static java.lang.Object[] |
p_getSuffix
|
static java.lang.Object[] |
p_remove
|
static java.lang.Object[] |
p_startsWith
|
| Fields inherited from class anvil.core.Any |
ARRAY0, DOUBLE_MINUS_ONE, DOUBLE_ONE, DOUBLE_ZERO, EMPTY_STRING, EMPTY_TUPLE, FALSE, INF, IS_ARRAY, IS_BINARY, IS_BOOLEAN, IS_BUFFER, IS_CLASS, IS_DOUBLE, IS_ENUMERATION, IS_INF, IS_INT, IS_LIST, IS_MAP, IS_NEG_INF, IS_NULL, IS_PATTERN, IS_RANGE, IS_STRING, IS_TUPLE, IS_UNDEFINED, MINUS_ONE, NAN, NEG_INF, NULL, ONE, p_compareTo, p_each, p_equals, p_pipe, p_select, THREE, TRUE, TWO, UNDEFINED, ZERO |
| Constructor Summary | |
AnyName(javax.naming.Name name)
|
|
| Method Summary | |
ClassType |
classOf()
Returns the type of this Any. |
java.lang.Object |
clone()
Returns shallow copy from this any. |
protected int |
compare(Any other)
|
Any |
copy()
Returns deep copy from this any. |
boolean |
deleteReference(Context context,
Any index)
|
boolean |
equals(java.lang.Object obj)
Tests for equality. |
Any |
getReference(Context context,
Any index)
|
BindingIterator |
iterator()
|
Any |
m_add(Context context,
Any p1,
Any p2)
|
Any |
m_endsWith(Context context,
Any suffix)
|
Any |
m_get(int index)
|
Any |
m_getPrefix(int index)
|
Any |
m_getSuffix(int index)
|
Any |
m_isEmpty()
|
Any |
m_remove(Context context,
int index)
|
Any |
m_size()
|
Any |
m_startsWith(Context context,
Any prefix)
|
Any |
setReference(Context context,
Any value)
|
int |
sizeOf()
Returns the logical size of this any. |
boolean |
toBoolean()
Gets the contained value as boolean. |
java.lang.Object |
toObject()
Gets the contained value as java.lang.Object. |
| Methods inherited from class anvil.core.AnyAbstractClass |
doSerialize, isMutable, serialize, serializeObject, toString, typeOf, unserialize, unserializeObject |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.Object[] p_add
public static final java.lang.Object[] p_startsWith
public static final java.lang.Object[] p_endsWith
public static final java.lang.Object[] p_get
public static final java.lang.Object[] p_getPrefix
public static final java.lang.Object[] p_getSuffix
public static final java.lang.Object[] p_remove
public static final NativeClass _class
| Constructor Detail |
public AnyName(javax.naming.Name name)
| Method Detail |
public ClassType classOf()
Any
classOf in class AnyAbstractClasspublic java.lang.Object clone()
Any
clone in class Anypublic Any copy()
Any
copy in class Anypublic java.lang.Object toObject()
Anyjava.lang.Object.
toObject in class Anypublic boolean toBoolean()
Anyboolean.
Integer is considered true if it is different from 0.
Double is considered true if it is different from 0.0.
String is considered true if it contains
"true", "on",
"yes" or "1".
toBoolean in class AnyAbstractClasspublic int sizeOf()
Any
sizeOf in class Anypublic boolean equals(java.lang.Object obj)
Any
equals in class Anytrue if equal, false otherwise.protected int compare(Any other)
compare in class Any
public Any getReference(Context context,
Any index)
getReference in class Any
public boolean deleteReference(Context context,
Any index)
deleteReference in class Any
public Any setReference(Context context,
Any value)
setReference in class Anypublic BindingIterator iterator()
iterator in class Any
public Any m_add(Context context,
Any p1,
Any p2)
public Any m_startsWith(Context context,
Any prefix)
public Any m_endsWith(Context context,
Any suffix)
public Any m_get(int index)
public Any m_getPrefix(int index)
public Any m_getSuffix(int index)
public Any m_isEmpty()
public Any m_remove(Context context,
int index)
public Any m_size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||