Class ASArray
java.lang.Object
com.adobe.internal.pdftoolkit.core.types.ASObject
com.adobe.internal.pdftoolkit.core.types.ASArray
- All Implemented Interfaces:
Iterable<ASObject>,Collection<ASObject>,List<ASObject>,SequencedCollection<ASObject>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends ASObject> c) booleanaddAll(Collection<? extends ASObject> c) voidclear()booleanbooleancontainsAll(Collection<?> c) get(int index) getArray(int index) getBoolean(int index) getDictionary(int index) getName(int index) getNumber(int index) getString(int index) intbooleanisEmpty()iterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()subList(int fromIndex, int toIndex) Object[]toArray()Object[]toString()voidwrite(OutputByteStream outputByteStream) Writes the ASObject to the given OutputStream in the format expected by the PDF Spec.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, sort, spliterator
-
Constructor Details
-
ASArray
public ASArray()
-
-
Method Details
-
toString
-
getNumber
-
getBoolean
-
getName
-
getString
-
getArray
-
getDictionary
-
size
public int size() -
clear
public void clear() -
isEmpty
public boolean isEmpty() -
toArray
-
get
-
remove
-
add
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<ASObject>
-
add
-
contains
-
remove
-
addAll
-
addAll
-
containsAll
- Specified by:
containsAllin interfaceCollection<ASObject>- Specified by:
containsAllin interfaceList<ASObject>
-
removeAll
-
retainAll
-
iterator
-
subList
-
listIterator
- Specified by:
listIteratorin interfaceList<ASObject>
-
listIterator
- Specified by:
listIteratorin interfaceList<ASObject>
-
set
-
toArray
-
write
Description copied from class:ASObjectWrites the ASObject to the given OutputStream in the format expected by the PDF Spec.- Specified by:
writein classASObject- Parameters:
outputByteStream- OutputByteStream to write to.- Throws:
PDFIOException- exception from OutputStream
-