E - the type of array element.public abstract class JSList<E> extends AbstractList<E>
modCount| Constructor and Description |
|---|
JSList() |
| Modifier and Type | Method and Description |
|---|---|
static <E> List<E> |
toList(ScriptEngine engine,
Object object)
JavaScript object to List.
|
abstract Object |
unwrap()
Unwrap object.
|
add, add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic abstract Object unwrap()
public static <E> List<E> toList(ScriptEngine engine, Object object)
E - the type of list element.engine - script engine.object - JavaScript object.Copyright © 2017. All rights reserved.