| Package | Description |
|---|---|
| org.stjs.javascript | |
| org.stjs.javascript.stjs |
| Modifier and Type | Class and Description |
|---|---|
class |
RegExpMatch |
| Modifier and Type | Method and Description |
|---|---|
static <V> Array<V> |
JSCollections.$array(V... values) |
static <T> Array<T> |
JSCollections.$castArray(T[] a) |
static <T> Array<T> |
JSGlobal.Array() |
static <T> Array<T> |
JSGlobal.Array(int size) |
static <T> Array<T> |
JSGlobal.Array(T first,
T second,
T... others) |
Array<V> |
Array.concat(Array<V>... arrays) |
static <T> Array<T> |
Array.copyOf(List<T> list)
constructors used on the server side only.
|
static Array<String> |
JSStringAdapterBase.match(String applyTo,
RegExp re) |
Array<V> |
Array.reverse() |
Array<V> |
Array.slice(int start) |
Array<V> |
Array.slice(int start,
int end) |
Array<V> |
Array.splice(int start) |
Array<V> |
Array.splice(int start,
int howMany) |
Array<V> |
Array.splice(int start,
int howMany,
V... values) |
static Array<String> |
JSStringAdapterBase.split(String applyTo,
String re) |
static Array<String> |
JSStringAdapterBase.split(String applyTo,
String re,
int limit) |
static <T> Array<T> |
Array.wrap(List<T> list)
constructors used on the server side only.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
JSFunctionAdapter.apply(Object function,
Object receiver,
Array<?> args) |
Array<V> |
Array.concat(Array<V>... arrays) |
| Modifier and Type | Method and Description |
|---|---|
<T> Array<T> |
STJS.typefy(Array<Object> obj,
Class<T> cls)
using the type description, it converts an array of POJOs (i.e arrived as JSON in your client) to an object of the given type,
transforming recursively the fields.You need to include stjs-ext.js
|
| Modifier and Type | Method and Description |
|---|---|
<T> Array<T> |
STJS.typefy(Array<Object> obj,
Class<T> cls)
using the type description, it converts an array of POJOs (i.e arrived as JSON in your client) to an object of the given type,
transforming recursively the fields.You need to include stjs-ext.js
|
Copyright © 2015. All Rights Reserved.