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.hokkun; | |
import java.lang.annotation.ElementType; | |
import java.lang.annotation.Target; | |
public class TestTarget { | |
@TestAnnotation1 private final String foo; | |
@TestAnnotation2 private final String bar; | |
@TestAnnotation3 private final String baz; |
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
interface EnumInterface { | |
} | |
enum Test1 implements EnumInterface { | |
Test1EnumA, | |
Test1EnumB | |
} | |
enum Test2 implements EnumInterface { | |
Test2EnumA, |
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 テスト { | |
@Data | |
static class Name { | |
String name; | |
} | |
private static <T> List<T> test1(Class<T> clazz) throws IOException { | |
val mapper = new ObjectMapper(); | |
return mapper.readValue("[{\"name\": \"hokuto\"}]", new TypeReference<List<T>>() {}); |
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
""" | |
Written by Hokuto Kagaya, Dec. 2015 | |
ver 0.1 | |
""" | |
import numpy | |
from chainer import cuda |
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
# -*- coding: utf-8 -*- | |
import pandas as pd | |
import datetime | |
import sys | |
from collections import defaultdict | |
import matplotlib.pyplot as plt | |
import argparse | |
# define constants | |
MAX_MEMBER = 6 # excluding band master |
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
#include <string> | |
#include <vector> | |
#include <utility> | |
#include <string> | |
#include <opencv2/opencv.hpp> | |
#include <leveldb/db.h> | |
#include <pficommon/text/json.h> | |
#include <pficommon/math/random.h> | |
#include <gflags/gflags.h> | |
#include <glog/logging.h> |