Skip to content

Instantly share code, notes, and snippets.

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Supplier;
import java.util.stream.DoubleStream;
import java.util.stream.IntStream;
import java.util.stream.Stream;
public class StreamEx {
import java.util.List;
import java.util.function.IntPredicate;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import java.util.stream.Stream;
public class StreamEx1 {
// 終端処理
public BasicSyntax{
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
import org.junit.Before;
import org.junit.Test;
Main sut = null; // テスト対象となるクラスのインスタンス
@kodaitakahashi
kodaitakahashi / GebConfig.groovy
Last active June 30, 2017 10:25
Spock+Gebでダイアログ操作
import geb.report.ScreenshotReporter
import org.openqa.selenium.ie.InternetExplorerDriver;
environments {
ie {
driver = { new InternetExplorerDriver() }
}
}
reporter = new ScreenshotReporter(){
@Override
@kodaitakahashi
kodaitakahashi / BadRequestException.kt
Last active July 29, 2017 16:31
Kotlinで例外クラスの作り方
class BadRequestExcetpion(val httpStatusCode: String, msg: String? = null): RuntimeException(msg)
// インスタンス生成時にRuntimeExceptionにmsgを渡しています
// Javaで書き直した場合
/*
class BadRequestException extends RuntimeException{
String httpStatusCode;
BadRequestException(String httpStatusCode, String msg){
super(msg)

研修スケジュール

10:00 ~ 12:30

  • 諸連絡
  • 自己紹介  
  • CSS,Bootstrapの講義

12:30 ~ 13:30

  •  お昼休み