Skip to content

Commit

Permalink
Make FingerTree.fold public.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasMikula committed Apr 11, 2016
1 parent db8270b commit 7f67bc1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions reactfx/src/main/java/org/reactfx/util/FingerTree.java
Expand Up @@ -119,7 +119,7 @@ BiIndex locateRegressively0(ToIntFunction<? super S> metric, int position) {
}

@Override
<R> R fold(
public <R> R fold(
R acc,
BiFunction<? super R, ? super T, ? extends R> reduction) {
return acc;
Expand Down Expand Up @@ -247,7 +247,7 @@ BiIndex locateRegressively0(ToIntFunction<? super S> metric, int position) {
}

@Override
<R> R fold(
public <R> R fold(
R acc,
BiFunction<? super R, ? super T, ? extends R> reduction) {
return reduction.apply(acc, data);
Expand Down Expand Up @@ -458,7 +458,7 @@ private BiIndex locateRegressively0(
}

@Override
final <R> R fold(
public final <R> R fold(
R acc,
BiFunction<? super R, ? super T, ? extends R> reduction) {
return children.fold(acc, (r, n) -> n.fold(r, reduction));
Expand Down Expand Up @@ -832,7 +832,7 @@ abstract BiIndex locateRegressively0(
ToIntFunction<? super S> metric,
int position);

abstract <R> R fold(
public abstract <R> R fold(
R acc,
BiFunction<? super R, ? super T, ? extends R> reduction);

Expand Down

0 comments on commit 7f67bc1

Please sign in to comment.