Skip to content

Commit ecfd0f0

Browse files
committed
Changed code style
1 parent 014bfda commit ecfd0f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Searches/src/search/IterativeTernarySearch.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ public static void main(String[] args) {
6262
Random r = new Random();
6363
int size = 100;
6464
int maxElement = 100000;
65-
Integer[] integers = Stream.generate(() -> r.nextInt(maxElement)).limit(size).sorted().toArray(Integer[]::new);
65+
Integer[] integers = Stream.generate(() -> r.nextInt(maxElement))
66+
.limit(size)
67+
.sorted()
68+
.toArray(Integer[]::new);
6669

6770

6871
//the element that should be found

0 commit comments

Comments
 (0)