TreapSetOfInt.of constructor

TreapSetOfInt.of(
  1. Iterable<int> items, [
  2. Comparator<int>? compare
])

Implementation

TreapSetOfInt.of(Iterable<int> items, [Comparator<int>? compare])
    : base = TreapSetBase.of(
        items,
        intNodeFactory,
        compare ?? (a, b) => a - b,
      );