public abstract class DivideAndConquer extends Object
| Constructor and Description |
|---|
DivideAndConquer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
conquer(int first,
int limit) |
void |
invoke(int first,
int limit,
int threshold)
Synchronous execution - wait until it's finished.
|
public final void invoke(int first,
int limit,
int threshold)
first - The first index, in a range, to include.limit - The first index NOT to include - last (excl.) index in a range.threshold - protected abstract void conquer(int first,
int limit)
Copyright © 2018 Optimatika. All rights reserved.