mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
15 lines
258 B
Plaintext
15 lines
258 B
Plaintext
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
void setup()
|
|
{
|
|
List<String> list = new ArrayList<String>();
|
|
list.add("foo");
|
|
list.add("bar");
|
|
list.add("baz");
|
|
}
|
|
|
|
static <T> int binarySearch(List<? extends Comparable<? super T>> list, T
|
|
key) {
|
|
return 0;
|
|
} |