AVLMapSubKeySet.d.ts 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import { NavigableSet } from '../../../java/util/NavigableSet';
  2. import { JavaIterator } from '../../../java/util/JavaIterator';
  3. import { Collection } from '../../../java/util/Collection';
  4. import { JavaObject } from '../../../java/lang/JavaObject';
  5. import { SortedSet } from '../../../java/util/SortedSet';
  6. import { AVLMapSubMap } from '../../../core/adt/map/AVLMapSubMap';
  7. import { Comparator } from '../../../java/util/Comparator';
  8. export declare class AVLMapSubKeySet<K, V> extends JavaObject implements NavigableSet<K> {
  9. private readonly _sub;
  10. /**
  11. * Erstellt eine neues Sub-Set auf die übergebene {@link AVLMap}.
  12. *
  13. * @param sub Die {@link AVLMap} auf der operiert wird.
  14. */
  15. constructor(sub: AVLMapSubMap<K, V>);
  16. toString(): String;
  17. comparator(): Comparator<Partial<K>>;
  18. first(): K;
  19. last(): K;
  20. size(): number;
  21. isEmpty(): boolean;
  22. contains(o: unknown): boolean;
  23. toArray(): Array<unknown>;
  24. toArray<T>(a: Array<T>): Array<T>;
  25. add(e: K): boolean;
  26. remove(o: unknown): boolean;
  27. containsAll(c: Collection<unknown>): boolean;
  28. addAll(c: Collection<K>): boolean;
  29. retainAll(c: Collection<unknown>): boolean;
  30. removeAll(c: Collection<unknown>): boolean;
  31. clear(): void;
  32. lower(e: K): K | null;
  33. floor(e: K): K | null;
  34. ceiling(e: K): K | null;
  35. higher(e: K): K | null;
  36. pollFirst(): K | null;
  37. pollLast(): K | null;
  38. iterator(): JavaIterator<K>;
  39. descendingSet(): NavigableSet<K>;
  40. descendingIterator(): JavaIterator<K>;
  41. subSet(fromElement: K, fromInclusive: boolean, toElement: K, toInclusive: boolean): NavigableSet<K>;
  42. subSet(fromElement: K, toElement: K): SortedSet<K>;
  43. headSet(toElement: K, inclusive: boolean): NavigableSet<K>;
  44. headSet(toElement: K): SortedSet<K>;
  45. tailSet(fromElement: K, inclusive: boolean): NavigableSet<K>;
  46. tailSet(fromElement: K): SortedSet<K>;
  47. isTranspiledInstanceOf(name: string): boolean;
  48. [Symbol.iterator](): Iterator<K>;
  49. }
  50. export declare function cast_de_nrw_schule_svws_core_adt_map_AVLMapSubKeySet<K, V>(obj: unknown): AVLMapSubKeySet<K, V>;