Skip to content

Instantly share code, notes, and snippets.

💭
ねむい

mike_neck mike-neck

💭
ねむい
Block or report user

Report or block mike-neck

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View FunctionalPair.java
import java.util.function.Function;
/**
* 関数インターフェースでペアを表現する。
*
*/
public class FunctionalPair {
public static void main(String[] args) {
View バルス.groovy
@Grab(group='org.quartz-scheduler', module='quartz', version='2.2.0')
@Grab(group='org.twitter4j', module='twitter4j-core', version='3.0.3')
import org.quartz.*
import org.quartz.impl.StdSchedulerFactory
import twitter4j.TwitterFactory
class バルスTask {
public void バルス() {
TwitterFactory.singleton.updateStatus("#バルス"))
View build.gradle
import groovy.xml.MarkupBuilder
apply plugin: "java"
apply plugin: "war"
apply plugin: "eclipse"
// maven-publish, maven2Gradle, build-dashboard
// checkstyle, findbugs, jdepend, pmd
View HelloSpock.groovy
import spock.lang.*
class HelloSpock extends Specification {
@Unroll
def "length of Spock's and his friends' names"() {
expect:
name.size() == length
where:
name | length
You can’t perform that action at this time.