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 | package com.quest.helpers;
import org.andengine.entity.sprite.Sprite;
public class InventoryHelper {
// ===========================================================
// Constants
// ===========================================================
//hacer un "applyeffect" que se guarde en el item o buscar cual ... | 808 |
github-java-corpus | 2,012 | package com.quest.timers;
import org.andengine.engine.handler.timer.ITimerCallback;
import org.andengine.engine.handler.timer.TimerHandler;
import com.quest.entities.Mob;
import com.quest.game.Game;
// TODO Mover a una clase principal que los dem�s timers hereden de esto
// usando un updatehandler
publ... | 435 |
github-java-corpus | 2,012 | package javax.interceptor;
import java.lang.annotation.ElementType;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Sp... | 233 |
github-java-corpus | 2,012 | package javax.interceptor;
import java.lang.reflect.Method;
import java.util.Map;
/**
* Contextual information about a method invocation, along with methods to alter the invocation process
* in various ways.
*/
public interface InvocationContext {
/**
* Get the target instance for this invocation.
*... | 739 |
github-java-corpus | 2,012 | package javax.interceptor;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Defines a method which intercepts invocation of a timeout method. The annotated method must ... | 206 |
github-java-corpus | 2,012 | package javax.interceptor;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Explicitly specify that a class is an interceptor class... | 134 |
github-java-corpus | 2,012 | package javax.interceptor;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Exclude the invocation of default interc... | 99 |
github-java-corpus | 2,012 | package javax.interceptor;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Exclude the invocation of class-level interceptors for a method. This annotation applies to ... | 89 |
github-java-corpus | 2,012 | package javax.interceptor;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Defines a method which intercepts invocation of another method. The annotated method must no... | 204 |
github-java-corpus | 2,012 | package javax.interceptor;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.*;
/**
* Declares the list of interceptors (by interceptor class) which apply to the annotated class or method.
... | 134 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 402 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 511 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 247 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 384 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 381 |
github-java-corpus | 2,012 | package com.cyanogenmod.settings.device;
import java.io.IOException;
import android.content.Context;
import android.util.AttributeSet;
import android.content.SharedPreferences;
import android.preference.Preference;
import android.preference.ListPreference;
import android.preference.Preference.OnPreferenceChangeListene... | 264 |
github-java-corpus | 2,012 | package com.cyanogenmod.settings.device;
import java.io.IOException;
import android.content.Context;
import android.util.AttributeSet;
import android.content.SharedPreferences;
import android.preference.Preference;
import android.preference.ListPreference;
import android.preference.Preference.OnPreferenceChangeListene... | 260 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 1,010 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 1,327 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 384 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 387 |
github-java-corpus | 2,012 | package com.cyanogenmod.settings.device;
import java.io.IOException;
import android.content.Context;
import android.util.AttributeSet;
import android.content.SharedPreferences;
import android.preference.Preference;
import android.preference.ListPreference;
import android.preference.Preference.OnPreferenceChangeListene... | 264 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 453 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 386 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 796 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 383 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 510 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 380 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* 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 ... | 383 |
github-java-corpus | 2,012 | package com.teamhacksung.tvout;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.hardware.Tvout;
import android.nfc.Tag;
import android.os.IBinder;
import android.os.RemoteException;
... | 709 |
github-java-corpus | 2,012 | package com.teamhacksung.tvout;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class BootCompletedReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
context.startService(new Intent(context, TvOutSe... | 63 |
github-java-corpus | 2,012 | package android.hardware;
import android.util.Log;
public class Tvout {
private static final String TAG = "Tvout_java";
static {
System.loadLibrary("tvout_jni");
}
public Tvout() {
Log.i(TAG, "Tvout Initializing");
_native_setup();
}
private native boolean _TvoutGetC... | 534 |
github-java-corpus | 2,012 | public class HelloWorld{
public static void main(String[] args){
System.out.println ("Hello, world! This is my first program.");
int firstNumber; //declares an integer variable
firstNumber = 21; //assigns a value to firstNumber
int secondNumber = 19; //declares variable and a value
/* The next statement dec... | 147 |
github-java-corpus | 2,012 | package net.minecraft.src;
import java.util.List;
import java.util.Random;
public class ComponentCityRoadGen extends ComponentVillageRoadPiece
{
private int averageGroundLevel;
public ComponentCityRoadGen(int par1, Random par2Random, StructureBoundingBox par3StructureBoundingBox, int par4)
{
supe... | 1,320 |
github-java-corpus | 2,012 | package net.minecraft.src;
public class ComponentCityStall1 {
}
| 14 |
github-java-corpus | 2,012 | package net.minecraft.src;
import java.util.Map;
public class mod_RPG extends BaseMod {
public static final Block DEVspawnblock = new BlockDevSpawnMob(200,0).setBlockName("devspawnblock").setHardness(1.0F);
@Override
public String getVersion() {
return "Deep-Alpha";
}
@Override
public void load() {
ModLoa... | 197 |
github-java-corpus | 2,012 | package net.minecraft.src;
import java.util.Random;
public class EntityDeer extends EntityAnimal
{
public EntityDeer(World par1World)
{
super(par1World);
texture = "/mob/deer.png";
setSize(0.9F, 1.3F);
getNavigator().func_48664_a(true);
tasks.addTask(0, new EntityAISwim... | 772 |
github-java-corpus | 2,012 | package net.minecraft.src;
public abstract class ComponentCityRoadPiece extends ComponentVillage
{
protected ComponentCityRoadPiece(int par1)
{
super(par1);
}
}
| 38 |
github-java-corpus | 2,012 | // Date: 4/20/2012 10:42:02 PM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX
package net.minecraft.src;
public class ModelDeer extends ModelBase
{
//fields
ModelRenderer head;
ModelRenderer body;
ModelRenderer leg1;
Mode... | 1,384 |
github-java-corpus | 2,012 | package net.minecraft.src;
import java.util.*;
public class City
{
private final World worldObj;
private final List cityDoorInfoList = new ArrayList();
private final ChunkCoordinates centerHelper = new ChunkCoordinates(0, 0, 0);
private final ChunkCoordinates center = new ChunkCoordinates(0, 0, 0... | 2,315 |
github-java-corpus | 2,012 | package net.minecraft.src;
public class StructureCityPieceWeight
{
/** The Class object for the represantation of this City piece. */
public Class CityPieceClass;
public final int CityPieceWeight;
public int CityPiecesSpawned;
public int CityPiecesLimit;
public StructureCityPieceWeight(Class p... | 175 |
github-java-corpus | 2,012 | package net.minecraft.src;
import java.util.*;
public class MapGenCity extends MapGenStructure
{
/** A list of all the biomes Citys can spawn in. */
public static List CitySpawnBiomes;
/** World terrain type, 0 for normal, 1 for flat map */
private final int terrainType;
public MapGenCity(int pa... | 428 |
github-java-corpus | 2,012 | package net.minecraft.src;
import java.util.Random;
abstract class ComponentCity extends StructureComponent {
private int raceID;
private int numSpawned;
protected ComponentCity(int l) {
super(l);
}
//Returns ID of Race in this component.
public int getRaceID(int i) {
return 0;
}
//Returns type in r... | 264 |
github-java-corpus | 2,012 | package net.minecraft.src;
public class RenderDeer extends RenderLiving
{
public RenderDeer(ModelBase par1ModelBase, float par2)
{
super(par1ModelBase, par2);
}
public void renderDeer(EntityDeer par1EntityDeer, double par2, double par4, double par6, float par8, float par9)
{
super.... | 347 |
github-java-corpus | 2,012 | package net.minecraft.src;
import java.util.ArrayList;
import java.util.Random;
public class ComponentCityStartPiece extends ComponentCitySquare {
public WorldChunkManager worldChunkMngr;
/** World terrain type, 0 for normal, 1 for flap map */
public int terrainType;
public StructureCityPieceWeight str... | 268 |
github-java-corpus | 2,012 | package net.minecraft.src;
import java.util.*;
public class StructureCityPieces
{
public StructureCityPieces()
{
}
public static ArrayList getStructureCityWeightedPieceList(Random par0Random, int par1)
{
ArrayList arraylist = new ArrayList();
arraylist.add(new StructureCityPieceWe... | 1,875 |
github-java-corpus | 2,012 | package net.minecraft.src;
import java.util.*;
class StructureCityStart extends StructureStart
{
/** 'well ... thats what it does' */
private boolean hasMoreThanTwoComponents;
public StructureCityStart(World par1World, Random par2Random, int par3, int par4, int par5)
{
hasMoreThanTwoComponent... | 487 |
github-java-corpus | 2,012 | package net.minecraft.src;
import java.util.List;
import java.util.Random;
public class ComponentCityLight extends ComponentCity
{
private int averageGroundLevel;
public ComponentCityLight(int par1, Random par2Random, StructureBoundingBox par3StructureBoundingBox, int par4)
{
super(par1);
... | 932 |
github-java-corpus | 2,012 | package net.minecraft.src;
import java.util.List;
import java.util.Random;
public class ComponentCitySquare extends ComponentCity {
private final boolean field_35104_a = true;
private int averageGroundLevel;
public ComponentCitySquare(int par1, Random par2Random, int par3, int par4)
{
super(par... | 987 |
github-java-corpus | 2,012 | package net.minecraft.src;
import java.util.Random;
public class BlockDevSpawnMob extends Block
{
public BlockDevSpawnMob(int i, int j)
{
super(i, j, Material.sand); //allows it to be harvested by hand.
}
public int idDropped(int i, Random random)
{
return mod_RPG.DEV... | 206 |
github-java-corpus | 2,012 | package net.zetaeta.plugins.fairtrade;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import net.minecraft.server.IInventory;
import net.minecraft.server.ItemStack;
import net.minecraft.server.TileEntityChest;
import net.zetaeta.libraries.I... | 2,583 |
github-java-corpus | 2,012 | package net.zetaeta.plugins.fairtrade;
public class InvalidPlayerException extends Exception {
private static final long serialVersionUID = 4569368462849962823L;
public InvalidPlayerException() {
}
public InvalidPlayerException(String message) {
super(message);
}
}
| 63 |
github-java-corpus | 2,012 | package net.zetaeta.plugins.fairtrade;
import static net.zetaeta.plugins.fairtrade.Trade.ActionStatus.*;
import static org.bukkit.Bukkit.getPlayer;
import java.util.HashSet;
import net.minecraft.server.EntityPlayer;
import net.minecraft.server.IInventory;
import net.zetaeta.libraries.ZPUtil;
import net.zetaeta.plugi... | 5,121 |
github-java-corpus | 2,012 | package net.zetaeta.plugins.fairtrade;
import static net.zetaeta.plugins.fairtrade.Trade.ActionStatus.INVITEE_VIEWING_INVITOR;
import static net.zetaeta.plugins.fairtrade.Trade.ActionStatus.INVITEE_VIEWING_OWN;
import static net.zetaeta.plugins.fairtrade.Trade.ActionStatus.INVITOR_VIEWING_INVITEE;
import static net.ze... | 854 |
github-java-corpus | 2,012 | package net.zetaeta.plugins.fairtrade;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.logging.Logger;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.block.Chest;
import org.bukkit.configuration.Configur... | 1,324 |
github-java-corpus | 2,012 | /**
*GUMA a simple math game for elementary school students
* Copyright (C) 2011-1012 Dimitrios Desyllas (pc_magas)
*
* This program 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 o... | 4,092 |
github-java-corpus | 2,012 | /**
*GUMA a simple math game for elementary school students
* Copyright (C) 2012-2013 Dimitrios Desyllas (pc_magas)
*
* This program 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 o... | 2,069 |
github-java-corpus | 2,012 | /**
*GUMA a simple math game for elementary school students
* Copyright (C) 2011-1012 Dimitrios Desyllas (pc_magas)
*
* This program 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 o... | 274 |
github-java-corpus | 2,012 | /**
*GUMA a simple math game for elementary school students
* Copyright (C) 2011-1012 Dimitrios Desyllas (pc_magas)
*
* This program 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 o... | 279 |
github-java-corpus | 2,012 | /**
*GUMA a simple math game for elementary school students
* Copyright (C) 2011-1012 Dimitrios Desyllas (pc_magas)
*
* This program 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 o... | 264 |
github-java-corpus | 2,012 | /**
*GUMA a simple math game for elementary school students
* Copyright (C) 2011-1012 Dimitrios Desyllas (pc_magas)
*
* This program 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 Lic... | 1,427 |
github-java-corpus | 2,012 | /**
* GUMA a simple math game for elementary school students
* Copyright (C) 2011-1012 Dimitrios Desyllas (pc_magas)
*
* This program 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 ... | 872 |
github-java-corpus | 2,012 | /**
* GUMA a simple math game for elementary school students
* Copyright (C) 2011-1012 Dimitrios Desyllas (pc_magas)
*
* This program 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 ... | 519 |
github-java-corpus | 2,012 | /**
* GUMA a simple math game for elementary school students
* Copyright (C) 2011-1012 Dimitrios Desyllas (pc_magas)
*
* This program 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 ... | 709 |
github-java-corpus | 2,012 | /**
*GUMA a simple math game for elementary school students
* Copyright (C) 2011-1012 Dimitrios Desyllas (pc_magas)
*
* This program 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 o... | 527 |
github-java-corpus | 2,012 | /**
*GUMA a simple math game for elementary school students
* Copyright (C) 2011-1012 Dimitrios Desyllas (pc_magas)
*
* This program 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 o... | 1,766 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2010 The Android Open Source Project
*
* 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 app... | 1,600 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2010 The Android Open Source Project
*
* 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 app... | 1,310 |
github-java-corpus | 2,012 | package tof.cv.search;
import java.io.IOException;
import tof.cv.mpp.Utils.ConnectionMaker;
import android.app.SearchManager;
import android.content.ContentValues;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.u... | 616 |
github-java-corpus | 2,012 | package tof.cv.widget;
import java.util.ArrayList;
import tof.cv.mpp.Utils.UtilsWeb.VehicleStops;
import android.content.Context;
public class TrainService {
private static TrainService instance;
private int currentPos=1;
private String tid;
private String departure;
private String message;
private String a... | 396 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2009 The Android Open Source Project
*
* 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 app... | 2,255 |
github-java-corpus | 2,012 | package tof.cv.mpp;
import android.os.Bundle;
import android.support.v4.app.ListFragment;
public class EmptyFragment extends ListFragment {
// http://search.twitter.com/search.json?q=BETRAINS%20OR%20SNCB%20OR%20NMBS
@Override
public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(save... | 79 |
github-java-corpus | 2,012 | package tof.cv.mpp;
import tof.cv.mpp.Activity.BeTrainsActivity;
import tof.cv.mpp.Utils.Utils;
import android.os.Bundle;
public class ClosestActivity extends BeTrainsActivity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
this.index=5;
super... | 100 |
github-java-corpus | 2,012 | package tof.cv.mpp;
import tof.cv.mpp.Activity.BeTrainsActivity;
import tof.cv.mpp.Utils.Utils;
import android.os.Bundle;
public class PlannerActivity extends BeTrainsActivity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
this.index=0;
super.onC... | 199 |
github-java-corpus | 2,012 | package tof.cv.mpp;
import java.io.File;
import tof.cv.mpp.MyPreferenceActivity.Prefs3Fragment;
import tof.cv.mpp.Utils.UtilsWeb;
import android.content.Intent;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Vie... | 463 |
github-java-corpus | 2,012 | package tof.cv.mpp;
import java.util.List;
import org.w3c.dom.Document;
import tof.cv.mpp.Utils.UtilsWeb;
import tof.cv.mpp.map.FixedMyLocationOverlay;
import tof.cv.mpp.map.ItemizedOverlayStation;
import tof.cv.mpp.map.MyOverLay;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android... | 2,203 |
github-java-corpus | 2,012 | package tof.cv.mpp.adapter;
import java.util.ArrayList;
import tof.cv.mpp.R;
import tof.cv.mpp.Utils.Utils;
import tof.cv.mpp.Utils.UtilsWeb.StationDeparture;
import android.content.Context;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGrou... | 408 |
github-java-corpus | 2,012 | package tof.cv.mpp.adapter;
import java.util.ArrayList;
import tof.cv.mpp.R;
import tof.cv.mpp.Utils.Utils;
import tof.cv.mpp.Utils.UtilsWeb.VehicleStop;
import android.content.Context;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
i... | 347 |
github-java-corpus | 2,012 | package tof.cv.mpp.adapter;
import java.util.ArrayList;
import tof.cv.mpp.R;
import tof.cv.mpp.bo.StationLocation;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;... | 488 |
github-java-corpus | 2,012 | package tof.cv.mpp.adapter;
import java.util.ArrayList;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
public abstract class AbstractAdapter<T> extends ArrayAdapter<T> {
protected ArrayList<T> items;
public AbstractAdapte... | 118 |
github-java-corpus | 2,012 | package tof.cv.mpp.adapter;
import tof.cv.mpp.R;
import tof.cv.mpp.Utils.DbAdapterConnection;
import android.content.Context;
import android.database.Cursor;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CursorAdapter;
import android.widget... | 428 |
github-java-corpus | 2,012 | package tof.cv.mpp.adapter;
import java.util.List;
import tof.cv.mpp.R;
import tof.cv.mpp.rss.RSSFeed;
import tof.cv.mpp.rss.RSSItem;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import andr... | 381 |
github-java-corpus | 2,012 | package tof.cv.mpp.adapter;
import tof.cv.mpp.R;
import android.content.Context;
import android.os.Parcelable;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.View;
public class MenuAdapter extends PagerAdapter {
pub... | 283 |
github-java-corpus | 2,012 | package tof.cv.mpp.adapter;
import java.util.ArrayList;
import java.util.List;
import tof.cv.mpp.R;
import tof.cv.mpp.Utils.Utils;
import tof.cv.mpp.bo.Connection;
import android.content.Context;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Vi... | 903 |
github-java-corpus | 2,012 | package tof.cv.mpp.adapter;
import java.util.ArrayList;
import tof.cv.mpp.R;
import tof.cv.mpp.bo.Message;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
public class MessageAdapter extends Abstr... | 313 |
github-java-corpus | 2,012 | package tof.cv.mpp.adapter;
import java.net.URL;
import java.util.ArrayList;
import tof.cv.mpp.R;
import tof.cv.mpp.bo.Tweet;
import tof.cv.mpp.view.ImageLoader;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import andro... | 518 |
github-java-corpus | 2,012 | package tof.cv.mpp.adapter;
import java.util.ArrayList;
import tof.cv.mpp.R;
import tof.cv.mpp.Utils.Utils;
import tof.cv.mpp.bo.Via;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
public class ... | 574 |
github-java-corpus | 2,012 | package tof.cv.mpp;
import tof.cv.mpp.Activity.BeTrainsActivity;
import tof.cv.mpp.Utils.Utils;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
import com.view... | 395 |
github-java-corpus | 2,012 | package tof.cv.mpp;
import tof.cv.mpp.Activity.BeTrainsActivity;
import tof.cv.mpp.Utils.DbAdapterConnection;
import tof.cv.mpp.Utils.Utils;
import android.os.Bundle;
public class ChatActivity extends BeTrainsActivity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedIn... | 209 |
github-java-corpus | 2,012 | package tof.cv.mpp.Activity;
import java.util.ArrayList;
import tof.cv.mpp.ChatActivity;
import tof.cv.mpp.ClosestActivity;
import tof.cv.mpp.MyPreferenceActivity;
import tof.cv.mpp.PlannerActivity;
import tof.cv.mpp.R;
import tof.cv.mpp.StarredActivity;
import tof.cv.mpp.TrafficActivity;
import tof.cv.mpp.TwitterAct... | 1,468 |
github-java-corpus | 2,012 | package tof.cv.mpp.Activity;
import java.util.ArrayList;
import tof.cv.mpp.R;
import tof.cv.mpp.Activity.BeTrainsActivity.AbMenu;
import tof.cv.mpp.Activity.BeTrainsActivity.AbMenuAdapter;
import android.content.Context;
import android.os.Bundle;
import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlo... | 556 |
github-java-corpus | 2,012 | package tof.cv.mpp;
import tof.cv.mpp.Activity.BeTrainsActivity;
import tof.cv.mpp.Utils.Utils;
import android.os.Bundle;
public class StarredActivity extends BeTrainsActivity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
this.index=4;
super.... | 100 |
github-java-corpus | 2,012 | package tof.cv.mpp;
import tof.cv.mpp.rss.DownloadOtherTrafficTask;
import tof.cv.mpp.rss.RSSFeed;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
impo... | 592 |
github-java-corpus | 2,012 | /***
Copyright (c) 2008-2012 CommonsWare, LLC
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 w... | 775 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2008 Google 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 agree... | 1,726 |
github-java-corpus | 2,012 | package tof.cv.mpp.view;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;
import java.util.HashMap;
import java.util.Stack;
import tof.cv.mpp.R;
import ... | 1,370 |
github-java-corpus | 2,012 | /**
* Copyright 2010 Lukasz Szmit <devmail@szmit.eu>
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 la... | 1,082 |
github-java-corpus | 2,012 | package tof.cv.mpp;
import tof.cv.mpp.Activity.BeTrainsActivity;
import tof.cv.mpp.Utils.ConnectionMaker;
import tof.cv.mpp.Utils.DbAdapterConnection;
import tof.cv.mpp.Utils.FilterTextWatcher;
import tof.cv.mpp.Utils.Utils;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;... | 2,971 |
github-java-corpus | 2,012 | package tof.cv.mpp;
import tof.cv.mpp.Activity.BeTrainsActivity;
import tof.cv.mpp.Utils.DbAdapterConnection;
import tof.cv.mpp.Utils.Utils;
import tof.cv.search.SearchDatabase;
import android.app.Dialog;
import android.app.SearchManager;
import android.content.ActivityNotFoundException;
import android.content.Intent;... | 1,606 |
github-java-corpus | 2,012 | package tof.cv.mpp.bo;
/*
* gathers all information about a certain trainstop
*/
public class Train {
private String delay;
private String station;
private String hour;
private String status;
public Train(String station, String hour, String delay, String status) {
this.delay = delay;
this.station = station... | 134 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.