public class KnockoutObservableArrayFunctions<T> extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier | Constructor and Description |
---|---|
protected |
KnockoutObservableArrayFunctions(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static KnockoutObservableArrayFunctions |
$as(Object obj) |
KnockoutBindingHandler |
$get(String key) |
void |
destroy(Function.A1<? super T,? extends Boolean> destroyFunction) |
void |
destroy(T item) |
void |
destroyAll() |
void |
destroyAll(T[] items) |
double |
indexOf(T searchElement) |
double |
indexOf(T searchElement,
double fromIndex) |
T |
pop() |
void |
push(T... items) |
Array<T> |
remove(Function.A1<? super T,? extends Boolean> removeFunction) |
Array<T> |
remove(T item) |
Array<T> |
removeAll() |
Array<T> |
removeAll(T[] items) |
void |
replace(T oldItem,
T newItem) |
KnockoutObservableArray<T> |
reverse() |
T |
shift() |
Array<T> |
slice(double start) |
Array<T> |
slice(double start,
double end) |
KnockoutObservableArray<T> |
sort() |
KnockoutObservableArray<T> |
sort(Function.A2<? super T,? super T,? extends Number> compareFunction) |
Array<T> |
splice(double start) |
Array<T> |
splice(double start,
double deleteCount,
T... items) |
double |
unshift(T... items) |
$as, $cast, $delete, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
protected KnockoutObservableArrayFunctions(Objs.Constructor<?> c, Object js)
public static KnockoutObservableArrayFunctions $as(Object obj)
public KnockoutBindingHandler $get(String key)
public void destroy(T item)
public void destroy(Function.A1<? super T,? extends Boolean> destroyFunction)
public void destroyAll()
public void destroyAll(T[] items)
public double indexOf(T searchElement, double fromIndex)
public double indexOf(T searchElement)
public T pop()
public void push(T... items)
public Array<T> remove(Function.A1<? super T,? extends Boolean> removeFunction)
public KnockoutObservableArray<T> reverse()
public T shift()
public KnockoutObservableArray<T> sort()
public KnockoutObservableArray<T> sort(Function.A2<? super T,? super T,? extends Number> compareFunction)
public double unshift(T... items)
Copyright © 2018. All rights reserved.