Skip to content

Commit

Permalink
Merge pull request rage#293 from utkarsh1311/master
Browse files Browse the repository at this point in the history
Update 1-handling-collections-as-streams.md
  • Loading branch information
ConcernedHobbit authored Mar 1, 2022
2 parents cb71e8f + 4946ad7 commit d8d4a94
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/part-10/1-handling-collections-as-streams.md
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ ArrayList<Integer> positives = values.stream()
.filter(value -> value > 0)
.collect(Collectors.toCollection(ArrayList::new));

positiiviset.stream()
positives.stream()
.forEach(value -> System.out.println(value));
```

Expand Down
4 changes: 2 additions & 2 deletions data/part-13/4-launch-parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ import javafx.application.Application;
import javafx.application.Application.Parameters;
import javafx.stage.Stage;

public class JavaFxApplicationextends Application {
public class JavaFxApplication extends Application {

@Override
public void start(Stage window) {
Expand Down Expand Up @@ -163,7 +163,7 @@ import javafx.application.Application;
public class Main {

public static void main(String[] args) {
Application.launch(JavaFxSovellus.class,
Application.launch(JavaFxApplication.class,
"--organization=Once upon a time",
"--course=Title");
}
Expand Down
2 changes: 1 addition & 1 deletion data/part-14/2-multimedia-in-programs.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Here we expect that the file `humming.jpg` exists and is located at the root of
In the example we use an image by [Linda Tanner](https://www.flickr.com/photos/15323831@N05) from [http://www.freestockphotos.biz/stockphoto/17874](http://www.freestockphotos.biz/stockphoto/17874). The image has a [Creative Commons CC BY 2.0](https://creativecommons.org/licenses/by/2.0/) lisence.

<!-- ImageView-olio tarjoaa joukon menetelmiä imagen (yksinkertaiseen käsittelyyn). Kuvaa voi muunmuassa kääntää, sen kokoa voi muuttaa, ja sitä voi siirtää ruudulla. Alla olevassa esimerkissä image on käännetty ympäri, sen koko on puolitettu, ja sitä on siirretty hieman oikealle. -->
ImageView object has a punch of methods available for (simple) image processing tasks. We can for example change the size of an image, flip it around or move it on the screen.
ImageView object has a bunch of methods available for (simple) image processing tasks. We can for example change the size of an image, flip it around or move it on the screen.
Below we have flipped the image, halved its size and moved it a bit to the right.


Expand Down

0 comments on commit d8d4a94

Please sign in to comment.