text stringlengths 3 1.18M |
|---|
package org.dodgybits.shuffle.android.widget;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.*;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.and... |
package org.dodgybits.shuffle.android.widget;
import android.appwidget.AppWidgetManager;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
public class RoboAppWidgetProvider extends RoboBroadcastReceiver {
@Override
protected void handleReceive(Context context, Intent i... |
/*
* Copyright (C) 2011 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... |
package org.dodgybits.shuffle.android.widget;
import roboguice.RoboGuice;
import roboguice.inject.RoboInjector;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
/**
* To ensure proper ContextScope usage, override the handleReceive method
*
* Replace with rob... |
package org.dodgybits.shuffle.android.widget;
import android.app.AlertDialog;
import android.app.Dialog;
import android.appwidget.AppWidgetManager;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.os.Bundle;
... |
/*
* Copyright (C) 2008 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... |
/*
* Copyright (C) 2011 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... |
/*
* 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... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Enemigo es la clase que maneja a todos los obstaculos que tendra el jugador.
*
* @author (Programacion Orientada a Objetos - Jose de Jesus Cervantes Hernandez)
*/
public class Enemigos extends Actor
{
/**
* A... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* La superclase Buttons, se encarga de mandar llamar en el Mundo a los metodos
* solicitados por los botones que son subclases de esta.
*
* @Jose de Jesus Cervantes Hernandez (cHucHo)
*/
public class Buttons extends Actor... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Esta clase se encarga de crear un objeto de
* las clase plataformOne.
*
* Este metodo coloca en el escenario diferentes plataformas
* para que el jugador se pueda desplazar.
*
* @author Programacion Orientada a Obje... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Este clase sirve para colocar en pantalla un contador
* con las vidas del jugador
*
* @author Programacion Orientada a Objetos(Jose de Jesus Cervantes Hernandez)
*/
public class count extends Actor
{
/**
*... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Es un objeto que suma vidas al jugador
*
* @author Programacion Orientada a Objetos(Jose de Jesus Cervantes Hernandez)
*/
public class vida extends Actor
{
/**
* Variable del jugador principal que se maneja ... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Clase Mundo para el proyecto Rescue_Operation.
* Es la que define al mundo y de donde se manejan
* las principales acciones de los objetos mas importantes.
*
* @author Programacion Orientada a Objetos( Jose de Jesus Cerv... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Jugador es el personaje principal a manejar por el usuario.
*
* @author (Programacion Orientada a Objetos - Jose de Jesus Cervantes Hernandez)
*/
public class Jugador extends Actor
{
/**
* Arreglo imagenes del mo... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Esta clase maneja al enemigo rambi el cual sera uno de los obstaculos para el jugador.
*
* @author Programacion Orientada a Objetos(Jose de Jesus Cervantes Hernandez)
*/
public class rambi extends Actor
{
/**
... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.util.*; // (Date)
/**
* La clase tiempo calcula y muestra un cronometro que va en descenso.
*
* @author Programacion Orientada a Objetos(Jose de Jesus Cervantes Hernandez)
*/
public class Time extends Actor
{
... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Esta clase se encarga de crear un objeto de
* las clase plataform3.
*
* Este metodo coloca en el escenario diferentes plataformas
* para que el jugador se pueda desplazar.
*
* @author Programacion Orientada a Objeto... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Esta clase se encarga de crear un objeto de la clase run.
*
* Este metodo al ser seleccionado por el mouse, manda llamar al metodo
* run.
*
* @author Programacion Orientacion a Objetos(Jose de Jesus Cervantes Hernande... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Esta clase se encarga de crear un objeto de la
* clase ButtonHelp.
*
* Este metodo al ser seleccionado por el mouse, manda llamar
* al metodo help en la siguiente, que a su vez, manda llamar
* al metodo help en el Mund... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* La clase barril se encarga de crear un objeto de tipo barril.
*
* Este objeto se comporta de la siguiente manera:
*
* se mueve en forma vertical empezando en Y=0, aumentando hasta llegar
* al valor maximo de x o el v... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Esta clase se encarga de crear un objeto de la
* clase ButtonStart.
*
* Este metodo al ser seleccionado por el mouse, manda llamar
* al metodo start en la superclase, a su vez, manda llamar
* al metodo Start en el mu... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Esta clase se encarga de crear un objeto de la clase run.
*
* Este metodo al ser seleccionado por el mouse, manda llamar al metodo
* menu.
*
* @author Programacion Orientacion a Objetos(Jose de Jesus Cervantes Hernand... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Esta clase se encarga de crear un objeto de
* las clase plataformTwo.
*
* Este metodo coloca en el escenario diferentes plataformas
* para que el jugador se pueda desplazar.
*
* @author Programacion Orientada a Obje... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Esta clase maneja al enemigo bomba el cual sera uno de los obstaculos para el jugador.
*
* @author Programacion Orientada a Objetos(Jose de Jesus Cervantes Hernandez)
*/
public class bombi extends Actor
{
/**
... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Esta clase se encarga de crear un objeto de la
* clase ButtonCredits.
*
* Este metodo al ser seleccionado por el mouse, manda llamar los creditos.
* @author Programacion Orientada a Objetos(Jose de Jesus Cervantes Herna... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Esta clase se encarga de crear un objeto de la
* clase banana.
*
* La clase aparte de crear el objeto banana se encarga de verificar el choque
* entre el jugador y la banana, y asi cambiar de niveles.
*
* @author P... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* La superclase Plataform, se encarga de mandar llamar en el Mundo a los metodos
* solicitados por las diferentes plataformas a utilizar.
*
* @author Programacion Orientada a Objetos(Jose de Jesus Cervantes Hernandez)
*/
... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Esta clase se encarga de crear un objeto de la
* rock.
*
* Este Objeto sera un obstaculo para los diferentes enemigos y realizen
* el recorrido de sus pasos sin salir de las plataformas
*
* @author Programacion Ori... |
package pi.ogl;
public class MainGL {
}
|
package com.jeff.game.tools.level;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.IOException;
/**
* Factory to construct a background image from a block file and block mapping
*/
public class BackgroundFactory
{
/**
* Builds the background i... |
package com.jeff.game.tools.level;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
/**
* Contains the blocks that will make up a background.
*/
public class BlockFile
{
private final String filename;
private final int blockRows;
private final int blockCols;
... |
package com.jeff.game.tools.level;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import javax.imageio.ImageIO;
/**
* A mapping of characters that will appear in a block file to an actual image
... |
package com.jeff.game.tools;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import javax.imageio.ImageIO;
/**
* A graphic representing a character or object. Can be given actions, such as
* "Move Up", "Jump", etc
*... |
package com.jeff.game.tools.physics;
/**
* A box in 2D space
*/
public class Box implements Rigid
{
private final int x;
private final int y;
private final int width;
private final int height;
/**
* @param x X position of top left corner
* @param y Y position of top left corner
* @... |
package com.jeff.game.tools.physics;
/**
* A quartered Region
*/
public enum Region {
NORTHWEST, NORTHEAST, SOUTHEAST, SOUTHWEST
} |
package com.jeff.game.tools.physics;
import java.util.HashSet;
import java.util.Set;
/**
* A tree representing 2D screen space. Each node has four children, one for
* each Region
*/
public class QuadTree
{
private final Set<Rigid> rigids = new HashSet<Rigid>();
private final Box box;
private f... |
package com.jeff.game.tools.physics;
/**
* A Rigid body
*/
public interface Rigid
{
/**
* @return A box that entirely encloses this body
*/
Box getEnclosingBox();
}
|
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mo... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
/**
* The MIT License
* Copyright (c) 2010 Tad Glines
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
package org.cuatrovientos.struts.tulebox.example;
/**
*
* @author VB
* This class just has an execute() that leads you to home.jsp
*/
public class Home extends ExampleSupport {
public String execute() throws Exception {
return SUCCESS;
}
}
|
/**
*
*/
package org.cuatrovientos.struts.tulebox.example;
import java.util.Random;
import com.opensymphony.xwork2.ActionSupport;
/**
* @author VB
* Class that generates an elvish/orcish name
*/
public class Names extends ActionSupport {
private String name="";
private int length;
private Strin... |
package org.cuatrovientos.struts.tulebox.example;
import java.util.Random;
import com.opensymphony.xwork2.ActionSupport;
/**
*
* @author VB
*
*/
public class Dice extends ActionSupport {
private int number=1;
private int resultado=0;
public int getNumber() {
return number;
}
... |
/**
*
*/
package org.cuatrovientos.struts.tulebox.example;
import java.util.Random;
import com.opensymphony.xwork2.ActionSupport;
/**
* @author VB
*
*/
public class Attributes extends ActionSupport{
private int intelligence=0;
private int strength=0;
private int dexterity=0;
private String... |
/*
* $Id: ExampleSupport.java 739661 2009-02-01 00:06:00Z davenewton $
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
... |
/*
* $Id: HelloWorld.java 739661 2009-02-01 00:06:00Z davenewton $
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* t... |
package org.cuatrovientos.struts.tulebox.example;
import com.opensymphony.xwork2.ActionSupport;
/**
*
* @author VB
*
*/
public class About extends ActionSupport {
private String message;
public String getMessage() {
return message;
}
public void setMessage(String message) {
this... |
/*
* $Id: Login.java 739661 2009-02-01 00:06:00Z davenewton $
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you... |
package info.victor.login;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.... |
package info.victor.login;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
... |
package info.victor.parameterss;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.Servlet;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
im... |
/**
* ERP's
* Instituto 4V
*/
package org.victor.greet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.h... |
/**
* UpdateTale
*
* 10/10/2013
*
* Copyright GPL
*/
package info.victor.servlets;
import info.victor.utils.AccessDB;
import info.victor.utils.StringUtils;
import info.victor.utils.WebUtils;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.Web... |
/**
* Home.java
*
* 04/10/2013
*
* Copyright GPL
*/
package info.victor.servlets;
import info.victor.content.Tale;
import info.victor.utils.AccessDB;
import info.victor.utils.WebUtils;
import java.io.IOException;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax... |
/**
* Delete
*
* 11/10/2013
*
* Copyright GPL
*/
package info.victor.servlets;
import info.victor.utils.AccessDB;
import info.victor.utils.StringUtils;
import info.victor.utils.WebUtils;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServ... |
/**
* About
*
* 11/10/2013
*
* Copyright GPL
*/
package info.victor.servlets;
import info.victor.utils.WebUtils;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.Http... |
/**
* New
*
* 11/10/2013
*
* Copyright GPL
*/
package info.victor.servlets;
import info.victor.utils.AccessDB;
import info.victor.utils.StringUtils;
import info.victor.utils.WebUtils;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet... |
/**
* StringUtils
*
* 09/10/2023
*
* Copyright GPL
*/
package info.victor.utils;
/**
* This class is for utilities of strings
*/
public class StringUtils {
/**
* this function checks if the parameter is a number or not
* @param strNumber
* @return
*/
public static boolean isNumb... |
/**
* WebUtils
*
* 04/10/2013
*
* Copyright GPL
*/
package info.victor.utils;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* This cla... |
/**
* AccessBD
*
* 09/10/2013
*
* Copyright GPL
*/
package info.victor.utils;
import info.victor.content.Tale;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
impo... |
/**
* Tales
*
* 09/10/2013
*
* Copyright GPL
*/
package info.victor.content;
import java.sql.Date;
/**
* This class stores a Tale
*/
public class Tale {
private int id;
private int idUser;
private Date creationDate;
private String title;
private String tale;
/**
* @param id... |
/**
*
*/
package info.victor.javamon;
import java.util.Random;
/**
* Yeah nigga, the allmighty dice is back
* @author Pello Altadill
* @greetz Simon Dice
*/
public class Dice {
private int sides;
private Random random = new Random();
/**
* default constructor
* creates a 6D dice
*... |
/**
*
*/
package info.victor.javamon;
/**
* Represents a Javamon combat
* @author Pello
* @greetz lafu
*/
public class Combat {
private Javamon javamon1;
private Javamon javamon2;
private int assaults = 0;
/**
* Class constructor
*/
public Combat () {
}
/*... |
package mdisc;
import java.util.Arrays;
import java.util.Calendar;
/**
*
* @author Bruno Flavio; Francisco Moreira
*/
public class MDISC {
static boolean debug = true;
public static void main(String[] args) {
for (int n = 5; n <6; n++ ){
//int n = 10;
int ... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
*Clase Bala para hacer referencia a las balas que dispara el Avión(Plane)
* @author (Programación Orientada a Objetos- Adrián Cerda Cerda
* @version (Mayo 2012)
*/
public class Bala1 extends Bala
{
World mundo;//par... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Clase que representa las balas que disparan los Helicopteros
* @author (Programa´ión Orientada a Objetos- Adrián Cerda Cerda
* @version (Mayo 2012)
*/
public class Bala2 extends Bala
{
World mundo;//para pedir el mund... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.