This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package trial.yy.java8.client.stream; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| /** | |
| * Java8 java.util.stream.Stream#reduce を試すためのサンプル | |
| * User: yy | |
| * Date: 13/04/16 | |
| * Time: 22:44 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package trial.yy.java8.client.time; | |
| import java.time.DateTimeException; | |
| import java.time.Duration; | |
| import java.time.LocalDateTime; | |
| import java.time.Month; | |
| import java.time.Period; | |
| import java.time.format.DateTimeFormatter; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package trial.yy.java8.client.time; | |
| import java.time.DateTimeException; | |
| import java.time.Duration; | |
| import java.time.LocalTime; | |
| import java.time.format.DateTimeFormatter; | |
| /** | |
| * java8 java.time.LocalTimeを試すためのサンプル | |
| * User: yy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package trial.yy.java8.client.datetime; | |
| import java.time.DateTimeException; | |
| import java.time.LocalDate; | |
| import java.time.Month; | |
| import java.time.Period; | |
| import java.time.format.DateTimeFormatter; | |
| /** | |
| * java8 java.time.LocalDateを試すためのサンプル |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package trial.yy.java7.client.collection; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| /** | |
| * Java7 ジェネリクスのダイアモンド・オペレータを試すためのサンプル | |
| * User: yy | |
| * Date: 13/04/18 | |
| * Time: 23:01 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package trial.yy.java8.client.defaultimpl; | |
| /** | |
| * Java8 インターフェースのデフォルト実装を試すためのサンプル | |
| * User: yy | |
| * Date: 13/04/17 | |
| * Time: 22:05 | |
| */ | |
| public class InterfaceDafaultImplClient { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package trial.yy.java8.client.lambda; | |
| import java.util.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.Collections; | |
| import java.util.Comparator; | |
| import java.util.List; | |
| /** | |
| * Java8 ラムダ式をComapratorに適用して試すためのサンプル |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package trial.yy.java8.client.stream; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| import java.util.stream.Collectors; | |
| /** | |
| * Java8 java.util.stream.Stream#map を試すためのサンプル | |
| * User: yy | |
| * Date: 13/04/16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package trial.yy.java8.client.stream; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| import java.util.stream.Collectors; | |
| /** | |
| * Java8 java.util.stream.Stream#filter を試すためのサンプル | |
| * User: yy | |
| * Date: 13/04/16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package trial.yy.java8.client.stream; | |
| import java.util.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.HashSet; | |
| import java.util.LinkedList; | |
| import java.util.List; | |
| import java.util.Set; | |
| import java.util.TreeSet; | |
| import java.util.stream.Collectors; |
NewerOlder