Package | Description |
---|---|
java.lang |
Core Java classes
|
java.lang.annotation |
Basic support for annotations
|
java.util |
Utilities
|
tijos.framework.util.json |
JSON-java suppport
|
Modifier and Type | Field and Description |
---|---|
static Class<?> |
Void.TYPE |
static Class<?> |
Short.TYPE |
static Class<?> |
Long.TYPE |
static Class<?> |
Integer.TYPE |
static Class<?> |
Float.TYPE |
static Class<?> |
Double.TYPE |
static Class<?> |
Character.TYPE |
static Class<?> |
Byte.TYPE |
static Class<?> |
Boolean.TYPE |
Modifier and Type | Method and Description |
---|---|
<U> Class<? extends U> |
Class.asSubclass(Class<U> cls) |
static Class<?> |
Class.forName(String aName) |
Class<?> |
Object.getClass()
Returns the runtime Class of this Object.
|
Class<?> |
Class.getComponentType() |
Class<E> |
Enum.getDeclaringClass() |
Class<?>[] |
Class.getInterfaces() |
Class<? super T> |
Class.getSuperclass() |
Modifier and Type | Method and Description |
---|---|
<U> Class<? extends U> |
Class.asSubclass(Class<U> cls) |
boolean |
Class.isAssignableFrom(Class<?> cls) |
static <T extends Enum<T>> |
Enum.valueOf(Class<T> enumclas,
String name)
Deprecated.
not implemented in TiJOS
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
Annotation.annotationType() |
Modifier and Type | Method and Description |
---|---|
static <E> Collection<E> |
Collections.checkedCollection(Collection<E> c,
Class<E> type)
Returns a dynamically typesafe view of the given collection,
where any modification is first checked to ensure that the type
of the new data is appropriate.
|
static <E> List<E> |
Collections.checkedList(List<E> l,
Class<E> type)
Returns a dynamically typesafe view of the given list,
where any modification is first checked to ensure that the type
of the new data is appropriate.
|
static <K,V> Map<K,V> |
Collections.checkedMap(Map<K,V> m,
Class<K> keyType,
Class<V> valueType)
Returns a dynamically typesafe view of the given map,
where any modification is first checked to ensure that the type
of the new data is appropriate.
|
static <K,V> Map<K,V> |
Collections.checkedMap(Map<K,V> m,
Class<K> keyType,
Class<V> valueType)
Returns a dynamically typesafe view of the given map,
where any modification is first checked to ensure that the type
of the new data is appropriate.
|
static <E> Set<E> |
Collections.checkedSet(Set<E> s,
Class<E> type)
Returns a dynamically typesafe view of the given set,
where any modification is first checked to ensure that the type
of the new data is appropriate.
|
static <K,V> SortedMap<K,V> |
Collections.checkedSortedMap(SortedMap<K,V> m,
Class<K> keyType,
Class<V> valueType)
Returns a dynamically typesafe view of the given sorted map,
where any modification is first checked to ensure that the type
of the new data is appropriate.
|
static <K,V> SortedMap<K,V> |
Collections.checkedSortedMap(SortedMap<K,V> m,
Class<K> keyType,
Class<V> valueType)
Returns a dynamically typesafe view of the given sorted map,
where any modification is first checked to ensure that the type
of the new data is appropriate.
|
static <E> SortedSet<E> |
Collections.checkedSortedSet(SortedSet<E> s,
Class<E> type)
Returns a dynamically typesafe view of the given sorted set,
where any modification is first checked to ensure that the type
of the new data is appropriate.
|
Modifier and Type | Method and Description |
---|---|
<E extends Enum<E>> |
JSONArray.optEnum(Class<E> clazz,
int index)
Get the enum value associated with a key.
|
<E extends Enum<E>> |
JSONArray.optEnum(Class<E> clazz,
int index,
E defaultValue)
Get the enum value associated with a key.
|