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
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
347
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
8,831
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
329
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
6,481
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
5,782
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
1,804
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
9,530
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
2,559
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
323
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
256
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
3,566
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
1,606
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
975
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
582
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
1,370
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
776
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
466
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
1,599
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
470
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
999
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
817
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
432
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
408
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
1,936
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
991
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
819
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
1,482
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
5,149
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
406
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
560
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
1,222
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
1,051
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
977
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
910
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
2,544
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
1,213
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
251
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
780
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
2,833
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
945
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
296
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
615
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
1,021
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
645
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
5,025
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
312
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
1,288
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
357
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
310
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
383
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
3,829
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
5,401
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
651
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
3,080
github-java-corpus
2,012
/* * Distributed as part of c3p0 v.0.9.2-pre5 * * Copyright (C) 2012 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1, as * published by...
1,446
github-java-corpus
2,012
import java.sql.*; import javax.sql.DataSource; import com.mchange.v2.c3p0.DataSources; /** * This example shows how to programmatically get and directly use * an pool-backed DataSource */ public final class UsePoolBackedDataSource { public static void main(String[] argv) { try { // Note: your J...
490
github-java-corpus
2,012
import java.sql.*; import javax.naming.*; import javax.sql.DataSource; import com.mchange.v2.c3p0.DataSources; /** * This example shows how to acquire a c3p0 DataSource and * bind it to a JNDI name service. */ public final class JndiBindDataSource { // be sure to load your database driver class, either via ...
523
github-java-corpus
2,012
import java.sql.*; import javax.sql.DataSource; import com.mchange.v2.c3p0.DataSources; /** * This example shows how to programmatically get and directly use * an unpooled DataSource */ public final class UseUnpooledDataSource { public static void main(String[] argv) { try { // Note: your JDBC ...
474
github-java-corpus
2,012
import java.sql.*; import javax.naming.*; import javax.sql.DataSource; /** * This example shows how to programmatically get and directly use * an unpooled DataSource */ public final class UseJndiDataSource { public static void main(String[] argv) { try { // let a command line arg specify the name...
533
github-java-corpus
2,012
package ikeagold.zimniy.giolight; import ikeagold.zimniy.giolight.R; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import jav...
3,856
github-java-corpus
2,012
package ikeagold.zimniy.giolight; import ikeagold.zimniy.giolight.R; import android.app.Activity; import android.os.Bundle; public class Info extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.info); } }
68
github-java-corpus
2,012
package ikeagold.zimniy.giolight; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public class StartupReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { UpdateService.schedule(context); } }
59
github-java-corpus
2,012
package ikeagold.zimniy.giolight; import ikeagold.zimniy.giolight.GioLightUpdActivity; import ikeagold.zimniy.giolight.R; import android.app.AlarmManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreference...
1,610
github-java-corpus
2,012
package ikeagold.zimniy.giolight; import ikeagold.zimniy.giolight.R; import android.app.Activity; import android.os.Bundle; public class Install extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.install); } ...
68
github-java-corpus
2,012
package ikeagold.zimniy.giolight; import ikeagold.zimniy.giolight.R; import android.app.Activity; import android.os.Bundle; public class Alert extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.alert); } }
68
github-java-corpus
2,012
package ikeagold.zimniy.giolight; import ikeagold.zimniy.giolight.R; import android.os.Bundle; import android.preference.PreferenceActivity; import android.preference.PreferenceManager; public class Preferences extends PreferenceActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCre...
92
github-java-corpus
2,012
package dictionary; /** * Created by IntelliJ IDEA. * User: larsen * Date: 11/25/11 * Time: 8:46 PM */ public enum Direction { HORIZONTAL, VERTICAL }
48
github-java-corpus
2,012
package dictionary; import java.util.LinkedList; import java.util.List; import java.util.ArrayList; /** * Created by IntelliJ IDEA. * User: havard_normann * Date: 16.11.11 * Time: 22.14 * To change this template use File | Settings | File Templates. */ public class Node { private List<Node> children; pr...
294
github-java-corpus
2,012
package dictionary; /** * Created by IntelliJ IDEA. * User: havard_normann * Date: 16.11.11 * Time: 20.11 * To change this template use File | Settings | File Templates. */ import logic.Board; import logic.Field; import logic.Placement; import java.io.BufferedReader; import java.io.File; import java.io.FileReade...
3,236
github-java-corpus
2,012
package dictionary; public enum Type { END_OF_WORD, END_OF_STRING, NOT_YET_A_WORD, NOT_POSSIBLY_A_WORD }
31
github-java-corpus
2,012
package statistics; /** * Created by IntelliJ IDEA. * User: larsen * Date: 12/7/11 * Time: 1:03 AM */ public class Stats { int totalScore = 0; int wins = 0; int count = 0; public void updateScore(int score){ synchronized (this){ totalScore += score; count++; } } public void updateWin() { ...
158
github-java-corpus
2,012
package gui; import logic.Board; import logic.Operator; import logic.Turn; import javax.swing.*; import javax.swing.border.Border; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.lang.reflect.InvocationTargetException; /** * Created by IntelliJ IDEA. * User: ...
1,643
github-java-corpus
2,012
package logic; /** * Created by IntelliJ IDEA. * User: PalCSNjolstad * Date: 25.11.11 * Time: 16.24 * To change this template use File | Settings | File Templates. */ public class Candidate implements Comparable<Candidate>{ public Placement placement; public int score; public Candidate(Placement pl...
227
github-java-corpus
2,012
package logic; import dictionary.Dictionary; import dictionary.Direction; import dictionary.Type; import gui.GUI; import statistics.Stats; import javax.swing.*; import java.lang.reflect.InvocationTargetException; import java.sql.Time; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * C...
2,147
github-java-corpus
2,012
package logic; import java.util.ArrayList; import java.util.List; /** * Created by IntelliJ IDEA. * User: havard_normann * Date: 17.11.11 * Time: 17.21 * To change this template use File | Settings | File Templates. */ public class Bag { public List<Character> letters; public Bag() { this.lette...
681
github-java-corpus
2,012
package logic; import dictionary.Direction; /** * Created by IntelliJ IDEA. * User: PalCSNjolstad * Date: 17.11.11 * Time: 17.48 * To change this template use File | Settings | File Templates. */ public class Placement { // Class for representing a placement on the board // Specifically used by the log...
331
github-java-corpus
2,012
package logic; /** * Created by IntelliJ IDEA. * User: larsen * Date: 12/5/11 * Time: 1:58 PM */ public enum Turn { PLAYER_A,PLAYER_B }
49
github-java-corpus
2,012
package logic; import dictionary.Dictionary; import dictionary.Direction; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; /** * Created by IntelliJ IDEA. * User: PalCSNjolstad * Date: 05.12.11 * Time: 15.00 * To change this template use File | Settings ...
5,080
github-java-corpus
2,012
package logic; import dictionary.Dictionary; import java.util.List; /** * Created by IntelliJ IDEA. * User: havard_normann * Date: 05.12.11 * Time: 20.08 * To change this template use File | Settings | File Templates. */ public class Test { public static void main(String[] args) { Dictionary dict ...
116
github-java-corpus
2,012
package logic; /** * Created by IntelliJ IDEA. * User: PalCSNjolstad * Date: 16.11.11 * Time: 21.03 * To change this template use File | Settings | File Templates. */ public class Field { /** * 1 = double letter bonus * 2 = triple letter bonus * 3 = double word bonus * 4 = triple word bo...
248
github-java-corpus
2,012
package logic; /** * Created by IntelliJ IDEA. * User: PalCSNjolstad * Date: 16.11.11 * Time: 22.34 * To change this template use File | Settings | File Templates. */ public class Score { // Returns score for letter according to English official Scrabble public static int letterScore(char ltr) { ...
502
github-java-corpus
2,012
package logic; /** * Created by IntelliJ IDEA. * User: PalCSNjolstad * Date: 06.12.11 * Time: 09.42 * To change this template use File | Settings | File Templates. */ public class RackCandidate implements Comparable<RackCandidate>{ public String rack; public double score; public RackCandidate(Strin...
239
github-java-corpus
2,012
package logic; import java.util.ArrayList; import java.util.List; /** * Created by IntelliJ IDEA. * User: havard_normann * Date: 16.11.11 * Time: 20.11 * To change this template use File | Settings | File Templates. */ public class Player { public List<Character> letters; public int score; public in...
392
github-java-corpus
2,012
package logic; /** * Created by IntelliJ IDEA. * User: PalCSNjolstad * Date: 17.11.11 * Time: 18.04 * To change this template use File | Settings | File Templates. */ public class Tuple implements Comparable<Tuple>{ public double first; public double last; public Tuple(double first, double last) { ...
178
github-java-corpus
2,012
package logic; import dictionary.Dictionary; import dictionary.Direction; import org.omg.CORBA.INITIALIZE; import java.util.ArrayList; import java.util.List; /** * Created by IntelliJ IDEA. * User: havard_normann * Date: 16.11.11 * Time: 20.10 * To change this template use File | Settings | File Templates. */ ...
2,667
github-java-corpus
2,012
package logic; /** * Created by IntelliJ IDEA. * User: PalCSNjolstad * Date: 05.12.11 * Time: 16.51 * To change this template use File | Settings | File Templates. */ public class Triplet { public char letter; public double first; public double second; public Triplet(char letter, double first,...
108
github-java-corpus
2,012
package logic; /** * Created by IntelliJ IDEA. * User: PalCSNjolstad * Date: 05.12.11 * Time: 21.19 * To change this template use File | Settings | File Templates. */ public class LetterScore implements Comparable<LetterScore>{ private char c; private double score; public LetterScore(char c, double...
188
github-java-corpus
2,012
package logic; /** * Created by IntelliJ IDEA. * User: PalCSNjolstad * Date: 25.11.11 * Time: 10.47 * To change this template use File | Settings | File Templates. */ public class Fixed { public char letter; public int index; public Fixed(char letter, int index) { this.letter = letter; ...
119
github-java-corpus
2,012
package logic; import dictionary.Dictionary; import dictionary.Direction; import java.util.*; /** * Created by IntelliJ IDEA. * User: havard_normann * Date: 17.11.11 * Time: 17.19 * To change this template use File | Settings | File Templates. // */ public class Intelligence { public static final boolean r...
6,423
github-java-corpus
2,012
/* * The Alphanum Algorithm is an improved sorting algorithm for strings * containing numbers. Instead of sorting numbers in ASCII order like * a standard sort, this algorithm sorts numbers in numeric order. * * The Alphanum Algorithm is discussed at http://www.DaveKoelle.com * * This library is free sof...
877
github-java-corpus
2,012
package com.szuhanchang.friar; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import android.app.Activity; import android.graphics.Bitmap; import android.os.Bundle; import a...
1,099
github-java-corpus
2,012
/* Copyright 2011 Software Freedom Conservancy 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 agreed to in wri...
1,564
github-java-corpus
2,012
package org.seleniumhq.selenium.fluent; import java.util.concurrent.TimeUnit; public abstract class Period { public abstract int howLong(); public abstract TimeUnit timeUnit(); public abstract long getEndMillis(long from); public static class Seconds extends Period { private final int secs; ...
446
github-java-corpus
2,012
/* Copyright 2011 Software Freedom Conservancy 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 agreed to in wri...
1,765
github-java-corpus
2,012
package org.seleniumhq.selenium.fluent.recording; import org.seleniumhq.selenium.fluent.FluentSelects; public abstract class OnFluentSelects extends OnFluentSomething { @Override public final Object dispatch(Object arg) { return doItForReal((FluentSelects) arg); } public abstract Object doIt...
81
github-java-corpus
2,012
package org.seleniumhq.selenium.fluent.recording; import org.apache.commons.lang.NotImplementedException; import org.seleniumhq.selenium.fluent.FluentMatcher; import org.seleniumhq.selenium.fluent.FluentRecorder; import org.seleniumhq.selenium.fluent.FluentSelect; import org.seleniumhq.selenium.fluent.FluentSelects; i...
629
github-java-corpus
2,012
package org.seleniumhq.selenium.fluent.recording; import org.seleniumhq.selenium.fluent.FluentWebElements; public abstract class OnFluentWebElements extends OnFluentSomething { @Override public final Object dispatch(Object arg) { return doItForReal((FluentWebElements) arg); } public abstract...
81
github-java-corpus
2,012
package org.seleniumhq.selenium.fluent.recording; public interface RetryStrategy { boolean shouldRetry(Throwable t, long started, int retriesSoFar); }
31
github-java-corpus
2,012
package org.seleniumhq.selenium.fluent.recording; public class NoRetryStrategy implements RetryStrategy { public boolean shouldRetry(Throwable t, long started, int retriesSoFar) { return false; } }
43
github-java-corpus
2,012
package org.seleniumhq.selenium.fluent.recording; import org.apache.commons.lang.NotImplementedException; import org.seleniumhq.selenium.fluent.FluentMatcher; import org.seleniumhq.selenium.fluent.FluentRecorder; import org.seleniumhq.selenium.fluent.FluentWebElement; import org.seleniumhq.selenium.fluent.FluentWebEle...
1,232