Source stringclasses 1
value | Date int32 2.01k 2.01k | Text stringlengths 3 15.9M | Token_count int32 1 2.44M |
|---|---|---|---|
github-java-corpus | 2,012 | /**
* This file is part of aion-emu <aion-emu.com>.
*
* aion-emu is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
... | 697 |
github-java-corpus | 2,012 | /**
* This file is part of aion-emu <aion-emu.com>.
*
* aion-emu is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ai... | 325 |
github-java-corpus | 2,012 | /**
* This file is part of aion-emu <aion-emu.com>.
*
* aion-emu is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ai... | 878 |
github-java-corpus | 2,012 | /**
* This file is part of aion-emu <aion-emu.com>.
*
* aion-emu is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
... | 801 |
github-java-corpus | 2,012 | /**
* This file is part of aion-emu <aion-emu.com>.
*
* aion-emu is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
... | 2,399 |
github-java-corpus | 2,012 | /**
* This file is part of aion-emu <aion-emu.com>.
*
* aion-emu is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ai... | 1,066 |
github-java-corpus | 2,012 | /*
* This file is part of aion-emu <aion-emu.com>.
*
* aion-emu is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* aion-emu is... | 1,044 |
github-java-corpus | 2,012 | /**
* This file is part of aion-emu <aion-emu.com>.
*
* aion-emu is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
... | 653 |
github-java-corpus | 2,012 | import java.io.*;
import java.net.*;
import java.awt.*;
public class Client1{
public static String host = "localhost";
public static int port = 9999;
ObjectOutputStream out;
public void run() throws Exception {
Socket socket = new Socket(host, port);
PrintStream ps = new PrintStream(socket.getOutputStre... | 150 |
github-java-corpus | 2,012 | import java.io.*;
import java.net.*;
public class Server2 {
public void run() throws Exception{
ServerSocket serversocket = new ServerSocket(9999);
Socket ssocket = serversocket.accept();
BufferedReader br = new BufferedReader(new InputStreamReader(ssocket.getInputStream()));
String s = br.readLine();
... | 129 |
github-java-corpus | 2,012 | //import java.util.TimerTask;
//
//
//public class loescheBombe extends TimerTask {
// BombenListe BombNode;
//
// public loescheBombe(Bombe B){
// BombNode = Gamepanel.BombHead;
// while(BombNode.next != null){
// if(BombNode.next.getBombe().x == B.x && BombNode.next.getBombe().y == B.y){
// BombNode.setNext(B... | 209 |
github-java-corpus | 2,012 | import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import org.w3c.dom.Document;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.w3c.dom.Element;
import java.io.File;
/**
* LIEST XML DATEI EIN UND GIBT NEUES SPIELFELD-ARRAY VOM TYP FELD[][] ZURUECK. SPIELFELD... | 686 |
github-java-corpus | 2,012 | import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
/**
*
* Diese Klasse erstellt einen File per zufall
*
*/
public class Zufallsgenerator {
String file;
/**
* Der Arbeitskonstruktor(DIeser macht schon die Komplette arbeit, die verteilung der einzelnlen Positionen(der Felder) ist an da... | 1,232 |
github-java-corpus | 2,012 |
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
/**
*
* Diese Klasse schreibt einen Bestehendes Spiel in XML auf, Tags k�nne in QUickload eingelasen werden
*
*/
public class Schreibe_xml {
int laenge;
String file;
String ausgabe="";
/**
* Der Arbeitskonstruktor
* @... | 828 |
github-java-corpus | 2,012 |
/**
* dynamische, einzeln verkettete Liste, element ist das Item und next die darauf folgende ItemListe
*
*
*
*/
public class ItemListe {
Item element;
ItemListe next;
/**
* Arbeitskonstruktor, setzt neues Item
* @param ele das itemelement
* @param n die rekursion, die weitere liste
*/
public Item... | 248 |
github-java-corpus | 2,012 | import java.io.*;
import java.net.*;
import java.awt.*;
/**
*
* die Clientklasse, betrachtet den Spieler, der in dem fall als Client FUnngiert(der andere Fungiert als Server, daneben wird bei ihm das SPiel als Server
* betrieben)
*
*/
public class Client1 extends Thread{
public static String host = "localhost"... | 1,022 |
github-java-corpus | 2,012 | import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import org.w3c.dom.Document;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.w3c.dom.Element;
import java.io.File;
/**
* LIEST XML DATEI EIN UND GIBT NEUES SPIELFELD-ARRAY VOM TYP FELD[][] ZURUECK. SPIELFELD... | 1,610 |
github-java-corpus | 2,012 |
public class FlugItemListe {
/**
* dynamische, einzeln verkettete Liste, element ist das Flugitem und next die darauf folgende FlugItemListe
*
*
*
*/
FlugItem element;
FlugItemListe next;
/**
*
* @param ele das FlugItemElement
* @param n Die Rekursion
*/
public FlugItemListe(FlugItem ele, FlugItemList... | 256 |
github-java-corpus | 2,012 | /**
* Klasse mit Bombeninformationen
*
*
*
*/
public class Bombe {
int x,y;
int Reichweite;
long Zeit;
/**
* Position und Reichweite der Bombe
*
* @param x x-Koordinate des Spielfelds
* @param y y-Koordinate des Spielfelds
* @param r Reichweite der Bombe
* @param Zeit Aktuelle Systemzeit
*/
... | 263 |
github-java-corpus | 2,012 | /*************************************************************************
* Compilation: javac StdDraw.java
* Execution: java StdDraw
*
* Standard drawing library. This class provides a basic capability for
* creating drawings with your programs. It uses a simple graphics model that
* allows you to crea... | 9,445 |
github-java-corpus | 2,012 | import java.io.*;
import java.net.URL;
import javax.sound.sampled.*;
/**
*
* eine Klasse, die ein Musikfinel einal ausf�hrt(als thread)
*
*/
public class SoundCheck extends Thread{
/**
*
* @param args der name/ort der datei
*/
public SoundCheck(String args) {
... | 200 |
github-java-corpus | 2,012 | import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import java.net.DatagramSocket;
/**
* hier wird das gesamte eigentliche Spielgeschehen dargestellt
*
*
*
*/
public class Gamepanel extends TastenCheck implements ActionListener {
int n;
public static Feld[... | 5,623 |
github-java-corpus | 2,012 |
public class FlugItem{
int richtung;
double speed=0.0000675;
double x,y,i,typ;
int spieler;
int modulo, modulo2;
/**
*
* @param x x-position
* @param y y-position
* @param i richtung des gelegten flugitems(0=rechts, 1 =liks, 2=hoch, 3=runter)
* @param j (der Typ des Flugitems(1 f�r Handschuh... | 966 |
github-java-corpus | 2,012 |
/**
* Je nachdem welcher Parameter i ist, wird der entsprechende boolean auf true gesetzt
*
*
*
*/
public class Feld {
boolean zerstoerbar = false;
boolean unzerstoerbar = false;
boolean begehbar = false;
boolean Ausgang = false;
boolean liegtItem = false;
/**
*
* @param i je nach input wird das e... | 268 |
github-java-corpus | 2,012 | import java.io.*;
import java.net.URL;
import javax.sound.sampled.*;
/**
*
* eine musikdatei wird als endlosscheife gespielt
* ein thread wird daf�r verwendet
*/
public class SoundCheckLoop extends Thread{
/**
*
* @param args der speicherort der datei und sein name
*/
... | 219 |
github-java-corpus | 2,012 | import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.*;
/**
* pr�ft, ob Tasten gedr�ckt wurden und setzt die entsprechenden booleans dann auf true
* neueRichtung wird gesetzt, wenn die Richtung ge�ndert wurde
* Alle Variable mit einer "2" am Ende, sind f�r den 2. Spieler
*
*/
public... | 1,224 |
github-java-corpus | 2,012 | /**
* �bergibt der Grafik-Klasse, wie weit die Detonation reicht
* und l�scht die Animation nach einer gewissen Zeit wieder
*
* @param x Position der Bombe
* @param y Position der Bombe
* @param unten Anzahl der Felder, die die Flamme nach unten reicht
* @param oben Anzahl der Felder, die die Flamme nach oben... | 371 |
github-java-corpus | 2,012 | /**
*Klasse zum Erstellen und L�schen einer Bombe
* Ist eine Erweiterung der Klasse Thread,
*�damit die Bombe nach einer gewissen Zeit
*automation gel�scht werden kann
*
*/
public class BombeErstellen extends Thread {
int x, y, r;
BombenListe BombNode;
int time;
int x_Spieler1, y_Spieler1, x_Spieler2, y_Sp... | 3,499 |
github-java-corpus | 2,012 | /**
* Spielfigur mit Position, Geschwindigkeit, Leben, Bomben, Items
*
*
*
*/
public class Bomberman {
public double x;
public double y;
double speed=0.0000675;
int Leben = 1;
int BombenReichweite=2;
int BombenAnzahl = 1;
boolean Handschuh = true;
boolean Kicker = false;
int toleranz = 1;
boolean tot;
... | 2,540 |
github-java-corpus | 2,012 | /**
* dynamische, einzeln verkettete Liste. "element" ist die Bombe und "next" die n�chste BombenListe
*
*
*
*/
public class BombenListe {
Bombe element;
BombenListe next;
/**
*
*/
public BombenListe(){
element = null;
next = null;
}
/**
*
* @param ele bombenelement
* @param n bobenliste... | 295 |
github-java-corpus | 2,012 | import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
/**
* Dieses Programm Speichert den aktuellen Spielstand des Spieles
*
*
*
*/
public class SpielStandSpeichern {
ItemListe liste;
String file;
ItemListe Item;
FlugItemListe FlugItem;
/**
* Hier wird ein XML-tag... | 2,128 |
github-java-corpus | 2,012 | /**
* die Items erscheinen im Spielfeld und k�nnen vom Bomberman aufgenommen werden
*
*
*
*/
public class Item {
boolean Feuer=false;
boolean Handschuh=false;
boolean Kicker=false;
boolean ExtraLeben=false;
boolean BombenItem=false;
boolean Rollschuh=false;
int x;
int y;
int index;
/**
* Das Item ... | 327 |
github-java-corpus | 2,012 | import java.io.*;
import java.net.*;
/**
* Der Aufgebaute Server, kommuniziert mit dem Client
*
*
*/
public class Server2 extends Thread{
InputStream input;
OutputStream output;
Socket ssocket;
int Player_x_input, Player_y_input;
int Player_x_teilbar, Player_y_teilbar;
int inputt, outputt;
int i;
// int... | 833 |
github-java-corpus | 2,012 | import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.IOException;
import javax.imageio.ImageIO;
import java.io.File;
import javax.swing.JFrame;
import javax.swing.JPanel;
/**
* in der Grafik-Klasse werden s�mtlich... | 6,205 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 505 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 448 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 252 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 451 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 573 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 688 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 399 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 393 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 426 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 2,077 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 614 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 469 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 429 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 466 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 547 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 503 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 482 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 955 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 255 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 352 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 854 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 418 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 810 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 1,243 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 230 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2012 Ness Computing, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 530 |
github-java-corpus | 2,012 | /**
* 課題003に関するテスト
*/
package labo.isoroot.kwkb.task003.q1.test;
import static org.junit.Assert.assertEquals;
import labo.isoroot.kwkb.task003.q1.CharaEncode;
import org.junit.Test;
/**
* CharaEncodeクラスのテスト
*/
public class TestCharaEncode {
@Test
public void testRead() {
CharaEn... | 129 |
github-java-corpus | 2,012 | /**
* UTF-8で書かれたテキストファイルがあります。
* そのファイルをShiftJIS 形式へ変換しコピーしなさい。
* ※元となるUTF-8ファイルは添付を利用すること。
*/
package labo.isoroot.kwkb.task003.q1;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileRea... | 1,039 |
github-java-corpus | 2,012 | package labo.isoroot.kwkb.task002.q1;
import java.util.List;
/**
* 家族の情報を持つクラス
*/
public class Family {
private String address;
private String tel;
private Person Householder;
private List<Person> members;
public Family(List<Person> members) {
super();
this.... | 580 |
github-java-corpus | 2,012 | package labo.isoroot.kwkb.task002.q1;
import java.util.ArrayList;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
Person yuta = new Person();
Person naoya = new Person();
Person nobuyuki = new Person();
Person kana = n... | 266 |
github-java-corpus | 2,012 | package labo.isoroot.kwkb.task002.q1;
/**
* 個人の情報を持つクラス
*/
public class Person {
private String name;
private String sex;
private String age;
/**
* @return name
*/
public String getName() {
return name;
}
/**
* @param name
* ... | 228 |
github-java-corpus | 2,012 | package labo.isoroot.kwkb.task002.q2;
import java.util.ArrayList;
import java.util.List;
/**
* 家族の情報を持つクラス
*/
public class Family implements Cloneable {
private String address;
private String tel;
private Person householder;
private List<Person> members;
private ArrayList<String> ... | 880 |
github-java-corpus | 2,012 | package labo.isoroot.kwkb.task002.q2;
import java.util.ArrayList;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
Person yuta = new Person();
Person naoya = new Person();
Person nobuyuki = new Person();
Person kana = n... | 318 |
github-java-corpus | 2,012 | package labo.isoroot.kwkb.task002.q2;
/**
* 個人の情報を持つクラス
*/
public class Person {
/** 名前 */
private String name;
/** 性別 */
private String sex;
/** 年齢 */
private String age;
/**
* nameを返却します。
*
* @return name 名前
*/
public String getName() {
... | 367 |
github-java-corpus | 2,012 | package labo.isoroot.kwkb.task002.q2.test;
import static org.junit.Assert.*;
import org.junit.Test;
public class TestFamily {
@Test
public void test() {
fail("まだ実装されていません");
}
}
| 59 |
github-java-corpus | 2,012 | package labo.isoroot.kwkb.task001;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
public class CompareListPerformance {
private static final int SIZE = 99999;
private ArrayList<String> arrList;
private LinkedList<String> linkedList;
/**
* @par... | 564 |
github-java-corpus | 2,012 | /**
*
*/
package labo.isoroot.kwkb.sax.test_1;
import java.io.IOException;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.XMLReaderFactory;
/**
* @author takahashi.y
*
*/
public class SAXSample1 {
protected static final String PARSER_NAME = "org.a... | 174 |
github-java-corpus | 2,012 | package labo.isoroot.kwkb.sax.test_1;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
public class SimpleSAXHandler extends DefaultHandler {
public void startDocument() throws SAXException {
System.out.println("Documentの開始です。");
... | 328 |
github-java-corpus | 2,012 | package com.rackspace.cloud.valve.server;
import org.eclipse.jetty.server.Server;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.InetAddress;
import java.net.ServerSocket;
import java.net.Socket;
public class MonitorThread ext... | 365 |
github-java-corpus | 2,012 | package com.rackspace.cloud.valve.server;
import org.kohsuke.args4j.Argument;
import org.kohsuke.args4j.Option;
public class CommandLineArguments {
private static final String DEFAULT_HTTP_PORT_INFO = "(Range is 1024 to 49150)";
private static final String DEFAULT_HTTPS_PORT_INFO = "(Default is only run Repos... | 654 |
github-java-corpus | 2,012 | package com.rackspace.cloud.valve.server;
import com.rackspace.cloud.valve.jetty.ValveJettyServerBuilder;
import com.rackspace.papi.commons.config.ConfigurationResourceException;
import com.rackspace.papi.commons.config.parser.ConfigurationParserFactory;
import com.rackspace.papi.commons.config.parser.jaxb.JaxbConfigu... | 1,016 |
github-java-corpus | 2,012 | package com.rackspace.cloud.valve.server;
import com.rackspace.cloud.valve.logging.DefaultLogConfigurator;
import org.kohsuke.args4j.CmdLineException;
import org.kohsuke.args4j.CmdLineParser;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author zinic
*/
public class ProxyApp {
private static f... | 641 |
github-java-corpus | 2,012 | package com.rackspace.cloud.valve.logging;
import com.rackspace.papi.service.logging.common.log4jconf.Log4jAppender;
import com.rackspace.papi.service.logging.common.log4jconf.Log4jPropertiesBuilder;
import java.io.File;
import java.io.IOException;
import org.apache.log4j.Level;
import org.apache.log4j.PropertyConfigu... | 941 |
github-java-corpus | 2,012 | package com.rackspace.cloud.valve.jetty;
/**
*
* @author Dan Daley
*/
public class PowerAppException extends RuntimeException {
public PowerAppException(String message, Throwable rootCause) {
super(message, rootCause);
}
public PowerAppException(String message) {
super(message);
}
... | 68 |
github-java-corpus | 2,012 | package com.rackspace.cloud.valve.jetty.servlet;
import com.rackspace.papi.commons.util.http.HttpStatusCode;
import com.rackspace.papi.service.context.impl.PowerApiContextManager;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpSer... | 328 |
github-java-corpus | 2,012 | package com.rackspace.cloud.valve.jetty;
import com.rackspace.cloud.valve.jetty.servlet.ProxyServlet;
import com.rackspace.papi.container.config.SslConfiguration;
import com.rackspace.papi.domain.Port;
import com.rackspace.papi.domain.ServicePorts;
import com.rackspace.papi.filter.ValvePowerFilter;
import com.rackspac... | 863 |
github-java-corpus | 2,012 | package com.rackspace.cloud.valve.jetty;
import com.rackspace.cloud.valve.jetty.servlet.BasicResponseServlet;
import com.rackspace.papi.components.clientauth.ClientAuthenticationFilter;
import com.rackspace.papi.servlet.InitParameter;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.servlet.ServletCont... | 387 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rackspace.cloud.valve.jetty.apps;
import com.rackspace.cloud.valve.jetty.servlet.BasicResponseServlet;
import com.rackspace.papi.components.datastore.DistributedDatastoreFilter;
import com.rackspace.papi.co... | 426 |
github-java-corpus | 2,012 | package com.rackspace.cloud.valve.jetty.apps;
import com.rackspace.cloud.valve.jetty.servlet.BasicResponseServlet;
import com.rackspace.papi.components.clientauth.ClientAuthenticationFilter;
import com.rackspace.papi.servlet.InitParameter;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.servlet.Servle... | 354 |
github-java-corpus | 2,012 | package com.rackspace.cloud.valve.jetty.apps;
import com.rackspace.cloud.valve.jetty.servlet.VersionOneServlet;
import com.rackspace.cloud.valve.jetty.servlet.VersionTwoServlet;
import com.rackspace.papi.components.versioning.VersioningFilter;
import com.rackspace.papi.service.context.impl.PowerApiContextManager;
impo... | 411 |
github-java-corpus | 2,012 | package com.rackspace.cloud.valve.jetty.servlet;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOExcepti... | 326 |
github-java-corpus | 2,012 | package com.rackspace.cloud.valve.jetty.servlet;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOExcepti... | 332 |
github-java-corpus | 2,012 | package com.rackspace.cloud.valve.jetty.servlet;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOExcepti... | 332 |
github-java-corpus | 2,012 | package com.rackspace.papi;
import com.rackspace.papi.commons.util.http.HttpStatusCode;
import com.rackspace.papi.service.context.impl.PowerApiContextManager;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import j... | 309 |
github-java-corpus | 2,012 | package com.rackspace.papi.service.reporting;
import com.rackspace.papi.service.reporting.destinations.DestinationInfo;
import com.rackspace.papi.service.reporting.destinations.DestinationInfoLogic;
import com.rackspace.papi.service.reporting.repose.ReposeInfo;
import com.rackspace.papi.service.reporting.repose.Repose... | 974 |
github-java-corpus | 2,012 | package com.rackspace.papi.service.reporting.destinations;
import com.google.common.base.Objects;
import com.google.common.collect.ImmutableMap;
import java.util.HashMap;
import java.util.Map;
public class DestinationInfoStore {
private static final long LONG_ZERO = 0l;
private final String destinationId;
... | 656 |
github-java-corpus | 2,012 | package com.rackspace.papi.service.reporting.destinations;
public interface DestinationInfo {
void incrementRequestCount();
void incrementResponseCount();
void incrementStatusCodeCount(int statusCode);
void accumulateResponseTime(long responseTime);
String getDestinationId();
long getTotal... | 84 |
github-java-corpus | 2,012 | package com.rackspace.papi.service.reporting.destinations;
import com.google.common.base.Objects;
import java.util.Map;
public class DestinationInfoLogic implements DestinationInfo {
private static final int INT_ONE = 1;
private static final long LONG_ZERO = 0l;
private static final long LONG_ONE = 1l;... | 736 |
github-java-corpus | 2,012 | package com.rackspace.papi.service.reporting;
import com.rackspace.papi.service.reporting.destinations.DestinationInfo;
import com.rackspace.papi.service.reporting.repose.ReposeInfo;
import java.util.Date;
import java.util.List;
public interface ReportingService {
void updateConfiguration(List<String> destinati... | 196 |
github-java-corpus | 2,012 | package com.rackspace.papi.service.reporting.jmx;
import javax.management.openmbean.*;
public abstract class CompositeDataBuilder {
public abstract String getItemName();
public abstract String getDescription();
public abstract String[] getItemNames();
public abstract String[] getItemDescriptions()... | 139 |
github-java-corpus | 2,012 | package com.rackspace.papi.service.reporting.jmx;
import com.rackspace.papi.service.reporting.ReportingService;
import com.rackspace.papi.service.reporting.destinations.DestinationInfo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.sp... | 508 |
github-java-corpus | 2,012 | package com.rackspace.papi.service.reporting.jmx;
import com.rackspace.papi.service.reporting.destinations.DestinationInfo;
import javax.management.openmbean.OpenType;
import javax.management.openmbean.SimpleType;
import java.util.ArrayList;
import java.util.List;
public class DestinationCompositeDataBuilder extends... | 465 |
github-java-corpus | 2,012 | package com.rackspace.papi.service.reporting.jmx;
import javax.management.openmbean.CompositeData;
import javax.management.openmbean.OpenDataException;
import java.util.Date;
import java.util.List;
public interface ReposeReportMBean {
String OBJECT_NAME = "com.rackspace.papi.service.reporting:type=ReposeReport";
... | 112 |
github-java-corpus | 2,012 | package com.rackspace.papi.service.reporting.repose;
public interface ReposeInfo {
long getTotalStatusCode(int statusCode);
void incrementStatusCodeCount(int statusCode);
void incrementRequestCount();
void incrementResponseCount();
void accumulateRequestSize(long requestSize);
void accumulateR... | 132 |
github-java-corpus | 2,012 | package com.rackspace.papi.service.reporting.repose;
import com.google.common.base.Objects;
import com.google.common.collect.ImmutableMap;
import java.util.HashMap;
import java.util.Map;
public class ReposeInfoStore {
private static final long LONG_ZERO = 0l;
private Map<Integer, Long> statusCodeCounts = ne... | 818 |
github-java-corpus | 2,012 | package com.rackspace.papi.service.reporting.repose;
import com.google.common.base.Objects;
import java.util.Map;
public class ReposeInfoLogic implements ReposeInfo {
private static final long LONG_ZERO = 0l;
private static final long LONG_ONE = 1l;
private static final int INT_ONE = 1;
private stat... | 1,002 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.