Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed Sep 17, 2024
1 parent d2719a7 commit bfc0b07
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ public JsRangeSet getFullIndex() {
@TsIgnore
public static class ViewportEventData extends SubscriptionEventData {
public ViewportEventData(WebBarrageSubscription subscription, int rowStyleColumn, JsArray<Column> columns,
RangeSet added, RangeSet removed, RangeSet modified, ShiftedRange[] shifted) {
RangeSet added, RangeSet removed, RangeSet modified, ShiftedRange[] shifted) {
super(subscription, rowStyleColumn, columns, added, removed, modified, shifted);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -647,21 +647,20 @@ public void testInvert() {
assertEquals(RangeSet.ofItems(1, 2, 3), r.invert(RangeSet.ofItems(5, 7, 9)));

RangeSet positions = RangeSet.ofItems(18, 37, 83, 88);
RangeSet keys = RangeSet.fromSortedRanges(new Range[]{
new Range(1073739467, 1073739511), new Range(1073739568, 1073739639), new Range(1073739700, 1073739767),
new Range(1073739828, 1073739895), new Range(1073739956, 1073740023), new Range(1073740083, 1073740151),
new Range(1073740214, 1073740279), new Range(1073740342, 1073740407), new Range(1073740464, 1073740535),
new Range(1073740597, 1073740663), new Range(1073740725, 1073740791), new Range(1073740851, 1073740924),
new Range(1073740937, 1073741052), new Range(1073741063, 1073741180), new Range(1073741189, 1073741308),
new Range(1073741310, 1073741436), new Range(1073741440, 1073741564), new Range(1073741569, 1073741692),
new Range(1073741696, 1073741948), new Range(1073741968, 1073742065), new Range(1073742096, 1073742184),
new Range(1073742224, 1073742325), new Range(1073742352, 1073742454), new Range(1073742480, 1073742579),
new Range(1073742608, 1073742702), new Range(1073742736, 1073742840), new Range(1073742864, 1073742967),
new Range(1073742992, 1073743084), new Range(1073743120, 1073743218), new Range(1073743248, 1073743348),
new Range(1073743376, 1073743465), new Range(1073743504, 1073743597), new Range(1073743632, 1073743741),
new Range(1073743760, 1073743869), new Range(1073743888, 1073743912)
}
);
RangeSet keys = RangeSet.fromSortedRanges(new Range[] {
new Range(1073739467, 1073739511), new Range(1073739568, 1073739639), new Range(1073739700, 1073739767),
new Range(1073739828, 1073739895), new Range(1073739956, 1073740023), new Range(1073740083, 1073740151),
new Range(1073740214, 1073740279), new Range(1073740342, 1073740407), new Range(1073740464, 1073740535),
new Range(1073740597, 1073740663), new Range(1073740725, 1073740791), new Range(1073740851, 1073740924),
new Range(1073740937, 1073741052), new Range(1073741063, 1073741180), new Range(1073741189, 1073741308),
new Range(1073741310, 1073741436), new Range(1073741440, 1073741564), new Range(1073741569, 1073741692),
new Range(1073741696, 1073741948), new Range(1073741968, 1073742065), new Range(1073742096, 1073742184),
new Range(1073742224, 1073742325), new Range(1073742352, 1073742454), new Range(1073742480, 1073742579),
new Range(1073742608, 1073742702), new Range(1073742736, 1073742840), new Range(1073742864, 1073742967),
new Range(1073742992, 1073743084), new Range(1073743120, 1073743218), new Range(1073743248, 1073743348),
new Range(1073743376, 1073743465), new Range(1073743504, 1073743597), new Range(1073743632, 1073743741),
new Range(1073743760, 1073743869), new Range(1073743888, 1073743912)
});
RangeSet selected = RangeSet.ofItems(1073739485, 1073739504, 1073739606, 1073739611);
PrimitiveIterator.OfLong selectedIter = selected.indexIterator();
PrimitiveIterator.OfLong positionsIter = positions.indexIterator();
Expand Down

0 comments on commit bfc0b07

Please sign in to comment.