static <V> Array<V> |
JSCollections.$array(V... values) |
static <T> Array<T> |
JSCollections.$castArray(T[] a) |
static Object |
JSObjectAdapter.$constructor(Object obj) |
void |
Map.$delete(K key) |
void |
Array.$forEach(Callback1<V> callback)
this method does exactly as Array.forEach(Callback1), but allows in java 8 the usage of lambda easily as the forEach method overloads
the method from the new Iterable interface.
|
V |
Array.$get(int index) |
V |
Map.$get(K key) |
static Object |
JSObjectAdapter.$get(Object obj,
String property) |
V |
Array.$get(String index) |
int |
SortFunction.$invoke(V a,
V b) |
static <T> T |
JSObjectAdapter.$js(String code) |
int |
Array.$length() |
void |
Array.$length(int newLength) |
static <K extends String,V> Map<K,V> |
JSCollections.$map() |
static <K extends String,V> Map<K,V> |
JSCollections.$map(K k1,
V v1) |
static <K extends String,V> Map<K,V> |
JSCollections.$map(K k1,
V v1,
K k2,
V v2) |
static <K extends String,V> Map<K,V> |
JSCollections.$map(K k1,
V v1,
K k2,
V v2,
K k3,
V v3) |
static <K extends String,V> Map<K,V> |
JSCollections.$map(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4) |
static <K extends String,V> Map<K,V> |
JSCollections.$map(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5) |
static <K extends String,V> Map<K,V> |
JSCollections.$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) |
static <T> T |
JSObjectAdapter.$object(Map<String,Object> properties) |
static <T> T |
JSGlobal.$or(T value,
T... otherValues)
this is the equivalent of x || y || z in javascript
|
static Map<String,Object> |
JSObjectAdapter.$properties(Object obj) |
static Map<String,Object> |
JSObjectAdapter.$prototype(Object obj) |
void |
Map.$put(K key,
V value) |
static void |
JSObjectAdapter.$put(Object obj,
String property,
Object value) |
void |
Array.$set(int index,
V value) |
void |
Array.$set(String index,
V value) |
static <T> T |
JSFunctionAdapter.apply(Object function,
Object receiver,
Array<?> args) |
static void |
JSFunctionAdapter.call(Callback0 function,
Object receiver) |
static <P1> void |
JSFunctionAdapter.call(Callback1<P1> function,
Object receiver,
P1 p1) |
static <P1,P2> void |
JSFunctionAdapter.call(Callback2<P1,P2> function,
Object receiver,
P1 p1,
P2 p2) |
static <P1,P2,P3> void |
JSFunctionAdapter.call(Callback3<P1,P2,P3> function,
Object receiver,
P1 p1,
P2 p2,
P3 p3) |
static <P1,P2,P3,P4> void |
JSFunctionAdapter.call(Callback4<P1,P2,P3,P4> function,
Object receiver,
P1 p1,
P2 p2,
P3 p3,
P4 p4) |
static <R> R |
JSFunctionAdapter.call(Function0<R> function,
Object receiver) |
static <P1,R> void |
JSFunctionAdapter.call(Function1<P1,R> function,
Object receiver,
P1 p1) |
static <P1,P2,R> void |
JSFunctionAdapter.call(Function2<P1,P2,R> function,
Object receiver,
P1 p1,
P2 p2) |
static <P1,P2,P3,R> void |
JSFunctionAdapter.call(Function3<P1,P2,P3,R> function,
Object receiver,
P1 p1,
P2 p2,
P3 p3) |
static <P1,P2,P3,P4,R> void |
JSFunctionAdapter.call(Function4<P1,P2,P3,P4,R> function,
Object receiver,
P1 p1,
P2 p2,
P3 p3,
P4 p4) |
static <T> T |
JSFunctionAdapter.call(Object function,
Object receiver,
Object... args) |
static int |
JSStringAdapterBase.charCodeAt(String applyTo,
int x) |
static String |
JSStringAdapterBase.fromCharCode(Class<? extends String> applyTo,
int... codes) |
static boolean |
JSObjectAdapter.hasOwnProperty(Object obj,
String property) |
static Array<String> |
JSStringAdapterBase.match(String applyTo,
RegExp re) |
static String |
JSStringAdapterBase.replace(String applyTo,
RegExp re,
Function1<String,String> replaceFunction) |
static String |
JSStringAdapterBase.replace(String applyTo,
RegExp re,
String repl) |
static Array<String> |
JSStringAdapterBase.split(String applyTo,
String re) |
static Array<String> |
JSStringAdapterBase.split(String applyTo,
String re,
int limit) |
static String |
JSNumberAdapter.toExponential(Number n,
int positions) |
static String |
JSNumberAdapter.toFixed(Number n,
int positions) |
static String |
JSNumberAdapter.toFixed(String n,
int positions) |
static String |
JSNumberAdapter.toPrecision(Number n,
int positions) |
static String |
JSGlobal.typeof(Object obj) |