|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.stjs.javascript.JSCollections
public class JSCollections
this class offers map and array builders for both client and server side. For the server side, it delegates the execution to an instance of
JSCollectionsImplementor. On the client side, it simply throws an UnsupportedOperationException like all the client-side
bridges.
| Constructor Summary | |
|---|---|
JSCollections()
|
|
| Method Summary | ||
|---|---|---|
static
|
$array(V... values)
|
|
static
|
$castArray(T[] a)
|
|
static
|
$map()
|
|
static
|
$map(K k1,
V v1)
|
|
static
|
$map(K k1,
V v1,
K k2,
V v2)
|
|
static
|
$map(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
|
|
static
|
$map(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
|
|
static
|
$map(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
|
|
static
|
$map(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5,
K k6,
Object... morePairs)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSCollections()
| Method Detail |
|---|
public static <V> Array<V> $array(V... values)
public static <T> Array<T> $castArray(T[] a)
public static <K extends String,V> Map<K,V> $map()
public static <K extends String,V> Map<K,V> $map(K k1,
V v1)
public static <K extends String,V> Map<K,V> $map(K k1,
V v1,
K k2,
V v2)
public static <K extends String,V> Map<K,V> $map(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
public static <K extends String,V> Map<K,V> $map(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
public static <K extends String,V> Map<K,V> $map(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
public static <K extends String,V> Map<K,V> $map(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5,
K k6,
Object... morePairs)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||