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 sample; | |
import javafx.fxml.FXML; | |
import javafx.fxml.Initializable; | |
import sample.controllable.ControllablePane; | |
import sample.controllable.animator.FadeAnimator; | |
import java.net.URL; | |
import java.util.ResourceBundle; |
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 sample; | |
import javafx.animation.AnimationTimer; | |
import javafx.fxml.Initializable; | |
import javafx.geometry.Point2D; | |
import javafx.scene.canvas.Canvas; | |
import javafx.scene.canvas.GraphicsContext; | |
import javafx.scene.layout.Pane; | |
import javafx.scene.paint.Color; |
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
/** | |
* 2015年書き初め | |
* 噂のセミコロンレスJavaにチャレンジ | |
*/ | |
public class Main { | |
public static void main(String[] args) { | |
if (java.util.stream.IntStream.range(0, 2016) | |
.mapToObj(i -> (i % 3 == 0 && i % 5 == 0) ? "FizzBuzz" : ((i % 3 == 0) ? "Fizz" : (i % 5 == 0 ? "Buzz" : String.valueOf(i)))) | |
.peek(System.out::println).allMatch(i -> true)){} |
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 net.orekyuu.updatename; | |
import net.orekyuu.javatter.api.models.UserModel; | |
import net.orekyuu.javatter.api.plugin.OnLoad; | |
import net.orekyuu.javatter.api.twitter.ClientUser; | |
import net.orekyuu.javatter.api.twitter.ClientUserRegister; | |
import twitter4j.Status; | |
import twitter4j.TwitterException; | |
import java.util.regex.Matcher; |
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
public class Hoge { | |
private int id; | |
public Hoge(int i) { | |
id = i; | |
} | |
public boolean equals(Hoge obj) { | |
return obj.id == id; |
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
apply plugin: 'java' | |
apply plugin: 'idea' | |
compileJava.options.encoding = 'UTF-8' | |
compileTestJava.options.encoding = 'UTF-8' | |
sourceCompatibility = 1.8 | |
version = '1.0' | |
repositories { | |
mavenCentral() |
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 sample; | |
import javafx.concurrent.Service; | |
import javafx.concurrent.Task; | |
import javafx.fxml.Initializable; | |
import javafx.scene.control.ListCell; | |
import javafx.scene.control.ListView; | |
import javafx.scene.control.ProgressBar; | |
import java.net.URL; |
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
public interface EventListener { | |
void onMessage(String message); | |
} |
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 net.orekyuu.javatter.core.controller; | |
import javafx.fxml.Initializable; | |
import javafx.scene.control.Hyperlink; | |
import javafx.scene.text.Text; | |
import net.orekyuu.javatter.api.twitter.model.Tweet; | |
import net.orekyuu.javatter.api.twitter.userstream.events.OnStatus; | |
import net.orekyuu.javatter.core.service.TwitterUserServiceImpl; | |
import net.orekyuu.javatter.core.twitter.TwitterUserImpl; |
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
import java.lang.ref.WeakReference; | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String[] args) { | |
Main main = new Main(); | |
main.run(); | |
} | |
private void run() { |
OlderNewer