Skip to content

Instantly share code, notes, and snippets.

View masa25michi's full-sized avatar

Masa masa25michi

View GitHub Profile
@masa25michi
masa25michi / 0_reuse_code.js
Created April 21, 2017 04:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
import java.io.*;
import java.util.ArrayList;
import java.util.Scanner;
public class t2 {
public static void main(String [] args) throws IOException
{
Scanner scanner = new Scanner(new File("t2.txt"));
//int [] array = new int [100];
import java.io.PrintWriter;
import java.io.File;
import java.io.*;
public class t1{
public static void main(String [] args)
{
String fileName = "t1.txt";
File file = new File (fileName);
PrintWriter printWriter = null;
@masa25michi
masa25michi / doubleLinkedList.java
Last active October 24, 2015 18:06
Java Double Linked List Full Version
import java.util.Comparator;
class DoubleNode<T> {
T data;
DoubleNode<T> previous, next;
DoubleNode (T data) {
this.data = data;
}
}