This file contains 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 synchronizedtest1; | |
import java.util.logging.Level; | |
import java.util.logging.Logger; | |
public class SynchronizedTest1 { | |
public static void main(String[] args) { | |
A a = new A(); | |
B b = new B(a); |
This file contains 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 futurecanceltest1; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.Future; | |
public class FutureCancelTest1 { | |
private static final int task_size = 3; // 起動するタスク数 | |
private static final boolean mayInterruptIfRunning = true; // cancelメソッドに渡す引数 |
This file contains 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
/* | |
* Nature.java | |
* Copyright (c) 2015 mizdra | |
* License: MIT License | |
*/ | |
import java.util.Locale; | |
public enum Nature { | |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<?import javafx.scene.control.*?> | |
<?import java.lang.*?> | |
<?import javafx.scene.layout.*?> | |
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"> | |
<children> | |
<TableView prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> |
This file contains 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
[ | |
[ | |
"?", | |
"?" | |
], | |
[ | |
"しんりょく", | |
"しんりょく" | |
], | |
[ |
This file contains 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
{ | |
"normal": [ | |
{ | |
"name": "101ばんどうろ", | |
"slot": [ | |
{ | |
"index": 265, | |
"level": { | |
"min": 2, | |
"diff": 0 |
This file contains 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
[ | |
{ | |
"id": 1, | |
"national_id": 1, | |
"name": "フシギダネ", | |
"form_name": null, | |
"height": 7, | |
"weight": 69, | |
"types": [ | |
"くさ", |
This file contains 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
'use asm'; | |
'use strict'; | |
function* generator(a, b, s) { | |
a = a | 0; | |
b = b | 0; | |
s = s | 0; | |
while (true) { | |
s = (Math.imul(s, a) + b) | 0; | |
yield s; |
This file contains 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
/** | |
* OS: Windows 7 CPU: i7-2670QM 2.20GHz 4コア 8スレッド RAM: 8GB 計算時間: 12分6秒 | |
*/ | |
public class PIDSkipCounter { | |
private static final int METHOD = 3; // 1, 3に対応 | |
private static final boolean SYNCHRONIZE = false; // trueでシンクロ適用 | |
private static final int SYNCHRONIZE_NATURE = 0; // シンクロポケモンの性格 |
This file contains 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
var moment = require("moment"); | |
var str = moment().format("YYYY-MM-DD HH:mm:ss"); | |
console.log(str); |
OlderNewer