Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/intl/icu_capi/bindings/js/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 672 B image not shown  

Quelle  ICU4XReorderedIndexMap.d.ts   Sprache: unbekannt

 
Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

import { usize } from "./diplomat-runtime"

/**

 * Thin wrapper around a vector that maps visual indices to source indices

 * `map[visualIndex] = sourceIndex`

 * Produced by `reorder_visual()` on {@link ICU4XBidi `ICU4XBidi`}.
 */
export class ICU4XReorderedIndexMap {

  /**

   * Get this as a slice/array of indices
   */
  as_slice(): Uint32Array;

  /**

   * The length of this map
   */
  len(): usize;

  /**

   * Whether this map is empty
   */
  is_empty(): boolean;

  /**

   * Get element at `index`. Returns 0 when out of bounds (note that 0 is also a valid in-bounds value, please use `len()` to avoid out-of-bounds)
   */
  get(index: usize): usize;
}

[ Dauer der Verarbeitung: 0.30 Sekunden  ]