AVLMapSubMap.d.ts 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. import { JavaMapEntry } from '../../../java/util/JavaMapEntry';
  2. import { NavigableSet } from '../../../java/util/NavigableSet';
  3. import { JavaSet } from '../../../java/util/JavaSet';
  4. import { NavigableMap } from '../../../java/util/NavigableMap';
  5. import { AVLMapIntervall } from '../../../core/adt/map/AVLMapIntervall';
  6. import { SortedSet } from '../../../java/util/SortedSet';
  7. import { AVLMap } from '../../../core/adt/map/AVLMap';
  8. import { Comparator } from '../../../java/util/Comparator';
  9. import { AVLMapNode } from '../../../core/adt/map/AVLMapNode';
  10. import { SortedMap } from '../../../java/util/SortedMap';
  11. import { JavaIterator } from '../../../java/util/JavaIterator';
  12. import { Collection } from '../../../java/util/Collection';
  13. import { JavaObject } from '../../../java/lang/JavaObject';
  14. import { JavaMap } from '../../../java/util/JavaMap';
  15. import { Vector } from '../../../java/util/Vector';
  16. export declare class AVLMapSubMap<K, V> extends JavaObject implements NavigableMap<K, V> {
  17. private readonly _par;
  18. private readonly _iv;
  19. private _asc;
  20. /**
  21. * Erstellt eine neue Sub-Map relativ zur übergebenen {@link AVLMap}.
  22. *
  23. * @param parent Die {@link AVLMap} auf der diese Sup-Map operiert.
  24. * @param intervall Das {@link AVLMapIntervall} auf das sich diese Sub-Map bezieht.
  25. */
  26. constructor(parent: AVLMap<K, V>, intervall: AVLMapIntervall<K>, asc: boolean);
  27. toString(): String;
  28. equals(o: unknown): boolean;
  29. hashCode(): number;
  30. comparator(): Comparator<K>;
  31. firstKey(): K;
  32. lastKey(): K;
  33. keySet(): JavaSet<K>;
  34. values(): Collection<V>;
  35. entrySet(): JavaSet<JavaMapEntry<K, V>>;
  36. size(): number;
  37. isEmpty(): boolean;
  38. containsKey(key: unknown): boolean;
  39. containsValue(value: unknown): boolean;
  40. get(key: unknown): V | null;
  41. put(key: K, value: V): V | null;
  42. remove(key: unknown): V | null;
  43. putAll(map: JavaMap<K, V>): void;
  44. clear(): void;
  45. lowerEntry(key: K): JavaMapEntry<K, V> | null;
  46. lowerKey(key: K): K | null;
  47. floorEntry(key: K): JavaMapEntry<K, V> | null;
  48. floorKey(key: K): K | null;
  49. ceilingEntry(key: K): JavaMapEntry<K, V> | null;
  50. ceilingKey(key: K): K | null;
  51. higherEntry(key: K): JavaMapEntry<K, V> | null;
  52. higherKey(key: K): K | null;
  53. firstEntry(): JavaMapEntry<K, V> | null;
  54. lastEntry(): JavaMapEntry<K, V> | null;
  55. pollFirstEntry(): JavaMapEntry<K, V> | null;
  56. pollLastEntry(): JavaMapEntry<K, V> | null;
  57. descendingMap(): NavigableMap<K, V>;
  58. navigableKeySet(): NavigableSet<K>;
  59. descendingKeySet(): NavigableSet<K>;
  60. subMap(fromKey: K, fromInclusive: boolean, toKey: K, toInclusive: boolean): NavigableMap<K, V>;
  61. subMap(fromKey: K, toKey: K): SortedMap<K, V>;
  62. headMap(toKey: K, inclusive: boolean): NavigableMap<K, V>;
  63. headMap(toKey: K): SortedMap<K, V>;
  64. tailMap(fromKey: K, inclusive: boolean): NavigableMap<K, V>;
  65. tailMap(fromKey: K): SortedMap<K, V>;
  66. bcAddKey(e: K): boolean;
  67. bcAddAllEntries(c: Collection<JavaMapEntry<K, V>>): boolean;
  68. bcAddEntryReturnBool(e: JavaMapEntry<K, V>): boolean;
  69. bcContainsAllKeys(c: Collection<unknown>): boolean;
  70. bcContainsAllEntries(c: Collection<unknown>): boolean;
  71. bcContainsEntry(o: unknown): boolean;
  72. bcRemoveKeyReturnBool(o: unknown): boolean;
  73. bcRemoveEntry(o: unknown): boolean;
  74. bcRemoveAllKeys(c: Collection<unknown>): boolean;
  75. bcRemoveAllEntries(c: Collection<unknown>): boolean;
  76. bcRetainAllKeys(c: Collection<unknown>): boolean;
  77. bcRetainAllEntries(c: Collection<unknown>): boolean;
  78. firstEntryAsNode(): AVLMapNode<K, V> | null;
  79. nextEntryOrNull(node: AVLMapNode<K, V>): AVLMapNode<K, V> | null;
  80. bcAddAllKeys(c: Collection<K>): boolean;
  81. bcGetLowerKeyOrNull(e: K): K | null;
  82. bcGetFloorKeyOrNull(e: K): K | null;
  83. bcGetCeilingKeyOrNull(e: K): K | null;
  84. bcGetHigherKeyOrNull(e: K): K | null;
  85. bcPollFirstKeyOrNull(): K | null;
  86. bcPollLastKeyOrNull(): K | null;
  87. bcGetArrayListOfKeys(): Vector<K | null>;
  88. bcGetArrayListOfValues(): Vector<V | null>;
  89. bcGetArrayListOfEntries(): Vector<JavaMapEntry<K | null, V | null> | null>;
  90. bcGetSubKeySetIterator(): JavaIterator<K>;
  91. bcGetSubKeySetDescending(): NavigableSet<K>;
  92. bcGetSubKeySetDescendingIterator(): JavaIterator<K>;
  93. bcGetSubKeySet(fromElement: K, fromInclusive: boolean, toElement: K, toInclusive: boolean): NavigableSet<K>;
  94. bcGetSubKeySet(fromElement: K, toElement: K): SortedSet<K>;
  95. bcGetSubKeyHeadSet(toElement: K, inclusive: boolean): NavigableSet<K>;
  96. bcGetSubKeyHeadSet(toElement: K): SortedSet<K>;
  97. bcGetSubKeyTailSet(fromElement: K, inclusive: boolean): NavigableSet<K>;
  98. bcGetSubKeyTailSet(fromElement: K): SortedSet<K>;
  99. bcGetSubCollectionIterator(): JavaIterator<V>;
  100. bcContainsAllValues(c: Collection<unknown>): boolean;
  101. bcGetSubEntrySetIterator(): JavaIterator<JavaMapEntry<K, V>>;
  102. private _createMap;
  103. private _createSet;
  104. isTranspiledInstanceOf(name: string): boolean;
  105. }
  106. export declare function cast_de_nrw_schule_svws_core_adt_map_AVLMapSubMap<K, V>(obj: unknown): AVLMapSubMap<K, V>;