Package com.intuit.karate.graal
Class JsList
java.lang.Object
com.intuit.karate.graal.JsList
- All Implemented Interfaces:
Iterable,Collection,List,org.graalvm.polyglot.proxy.Proxy,org.graalvm.polyglot.proxy.ProxyArray,org.graalvm.polyglot.proxy.ProxyIterable
- Author:
- pthomas3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection c) booleanaddAll(Collection c) voidclear()booleanbooleanget(int index) get(long index) getList()longgetSize()intbooleanisEmpty()iterator()intlistIterator(int index) remove(int index) booleanremove(long index) booleanbooleanbooleanvoidset(long index, org.graalvm.polyglot.Value value) intsize()subList(int fromIndex, int toIndex) Object[]toArray()Object[]toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliteratorMethods inherited from interface org.graalvm.polyglot.proxy.ProxyArray
getIterator
-
Field Details
-
EMPTY
-
-
Constructor Details
-
JsList
-
JsList
-
-
Method Details
-
getList
-
get
- Specified by:
getin interfaceorg.graalvm.polyglot.proxy.ProxyArray
-
set
public void set(long index, org.graalvm.polyglot.Value value) - Specified by:
setin interfaceorg.graalvm.polyglot.proxy.ProxyArray
-
getSize
public long getSize()- Specified by:
getSizein interfaceorg.graalvm.polyglot.proxy.ProxyArray
-
remove
public boolean remove(long index) - Specified by:
removein interfaceorg.graalvm.polyglot.proxy.ProxyArray
-
toString
-
size
public int size()- Specified by:
sizein interfaceCollection- Specified by:
sizein interfaceList
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection- Specified by:
isEmptyin interfaceList
-
contains
- Specified by:
containsin interfaceCollection- Specified by:
containsin interfaceList
-
iterator
-
toArray
- Specified by:
toArrayin interfaceCollection- Specified by:
toArrayin interfaceList
-
toArray
- Specified by:
toArrayin interfaceCollection- Specified by:
toArrayin interfaceList
-
add
- Specified by:
addin interfaceCollection- Specified by:
addin interfaceList
-
remove
- Specified by:
removein interfaceCollection- Specified by:
removein interfaceList
-
containsAll
- Specified by:
containsAllin interfaceCollection- Specified by:
containsAllin interfaceList
-
addAll
- Specified by:
addAllin interfaceCollection- Specified by:
addAllin interfaceList
-
addAll
-
removeAll
- Specified by:
removeAllin interfaceCollection- Specified by:
removeAllin interfaceList
-
retainAll
- Specified by:
retainAllin interfaceCollection- Specified by:
retainAllin interfaceList
-
clear
public void clear()- Specified by:
clearin interfaceCollection- Specified by:
clearin interfaceList
-
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList
-
listIterator
- Specified by:
listIteratorin interfaceList
-
listIterator
- Specified by:
listIteratorin interfaceList
-
subList
-