python_internal_ArrayImpl
python_internal_ArrayImpl
Összefoglaló
python_internal_ArrayImpl egy osztály a Aspose.Font FOSS-ben Python számára.
Ez a osztály 18 módszert kínál Python programokban a python_internal_ArrayImpl objektumokkal való munkavégzéshez. A rendelkezésre álló módszerek közé tartozik: concat, ̋filter , ∂get_length,, ゚indexOf ,, ⌒insert “, ゙iterator", ̅lastIndexOfヽ ,, ,map " , ?? pop "" , " ̆push”", ̨remove"," reverse"" és 6 további módszer. Minden nyilvános tag számára elérhető bármely alkalmazás a Python Aspose.Font FOSS for Python csomag telepítése után.
Módszerek
| Signature | Description |
|---|---|
get_length(x) | Returns the number of elements in the given array |
concat(a1, a2) | Returns a new array containing the elements of a1 followed by the elements of a2, enabling easy merging of glyph ID lists |
iterator(x) | Returns an iterator object for traversing array x |
indexOf(a, x, fromIndex) | Returns the first index of x in array a starting at fromIndex |
lastIndexOf(a, x, fromIndex) | Calls lastIndexOf on this python_internal_ArrayImpl instance. |
toString(x) | Returns a string representation of array x |
pop(x) | Removes and returns the last element of the array x, mirroring typical array pop semantics |
push(x, e) | Appends element e to the end of array x and returns new length |
unshift(x, e) | Inserts element e at the start of array x and returns new length |
remove(x, e) | Deletes the first occurrence of element e from array x |
shift(x) | Removes and returns the first element of array x |
slice(x, pos, end) | Returns a shallow copy of array x from pos up to but not including end |
sort(x, f) | Sorts array x in place using comparator function f |
splice(x, pos, _hx_len) | Removes _hx_len elements from array x starting at pos and returns removed items |
map(x, f) | Returns a new array with function f applied to each element of x |
filter(x, f) | Returns a new array containing elements of x for which f returns true |
insert(a, pos, x) | Inserts element x into array a at index pos |
reverse(a) | Reverses the order of elements in array a in place |
Lásd még:
- Aspose.Font Vállalkozás API referenciája