code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
* Copyright (C) 2009-2010 J. Devauchelle.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
package org.ttrssreader.preferences;
import java.io.File;
import org.ttrssreader.R;
import org.ttrssreader.controllers.Controller;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.ActivityNotFoundException;
import android.content.DialogInterface;
import android.content.Intent;
import... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
* Copyright (C) 2009-2010 J. Devauchelle.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
* Copyright (C) 2009-2010 J. Devauchelle.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
* Copyright (C) 2009-2010 J. Devauchelle.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
* Copyright (C) 2009-2010 J. Devauchelle.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
* Copyright (C) 2009-2010 J. Devauchelle.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
* Copyright (C) 2009-2010 J. Devauchelle.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
* Copyright (C) 2009-2010 J. Devauchelle.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
* Copyright (C) 2009-2010 J. Devauchelle.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
* Copyright (C) 2009-2010 J. Devauchelle.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
* Copyright (C) 2009-2010 J. Devauchelle.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2013 I. Lubimov.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
* Copyright (C) 2009-2010 J. Devauchelle.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 Nils Braden
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | Java |
Hola Mundo!!! | Java |
package hocusPocus.Controllers;
import hocusPocus.IHM.NombreJoueurs;
import hocusPocus.IHM.TypeDePartie;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JOptionPane;
public class ControllerTypeDePartie implements ActionListener {
TypeDePartie typePartie;
Nom... | Java |
package hocusPocus.Controllers;
import hocusPocus.IHM.ChoixFinTour;
import hocusPocus.IHM.EchangerMainGrimoire;
import hocusPocus.IHM.LimiteCarteMain;
import hocusPocus.IHM.InteractionJoueur;
import hocusPocus.IHM.InterfacePlateau;
import hocusPocus.Partie.AnalyseZoneDeJeu;
import hocusPocus.Partie.Plateau;
i... | Java |
package hocusPocus.Controllers;
import hocusPocus.IHM.DesignerJoueur;
import hocusPocus.IHM.InteractionJoueur;
import hocusPocus.Partie.Plateau;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class ControllerDesignerJoueur implements ActionListener{
DesignerJoueur designer... | Java |
package hocusPocus.Controllers;
import hocusPocus.Cartes.Carte;
import hocusPocus.IHM.InteractionJoueur;
import hocusPocus.IHM.InterfacePlateau;
import hocusPocus.Partie.AnalyseZoneDeJeu;
import hocusPocus.Partie.Jeu;
import hocusPocus.Partie.Joueur;
import hocusPocus.Partie.Plateau;
import hocusPocus.Partie.... | Java |
package hocusPocus.Controllers;
import hocusPocus.IHM.ChoixFinTour;
import hocusPocus.IHM.InterfacePlateau;
import hocusPocus.IHM.LimiteCarteMain;
import hocusPocus.Partie.Plateau;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JOptionPane;
public class Contr... | Java |
package hocusPocus.Controllers;
import hocusPocus.IHM.InformationJoueur;
import hocusPocus.IHM.NombreJoueurs;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class ControllerNbJoueur implements ActionListener {
public NombreJoueurs nbJoueur;
public InformationJoueur infoJo... | Java |
package hocusPocus.Cartes;
public class PBaguetteMagique extends Carte{
public PBaguetteMagique(int puissance) {
this.recto = this.getClass().getName() + puissance +".png";
this.typecarte = typeCarte.POCUS;
this.puissance = puissance;
this.infoBulle = "<html>POCUS Baguette Magique<br/>Doublez le chif... | Java |
package hocusPocus.Cartes;
public class HHibou extends Carte{
public HHibou(int puissance) {
this.recto = this.getClass().getName() + puissance +".png";
this.typecarte = typeCarte.HOCUS;
this.puissance = puissance;
this.infoBulle = "<html>HOCUS Hiboux<br/>Volez " + getPuissance() + " carte(s) du<br/>... | Java |
package hocusPocus.Cartes;
import java.util.ArrayList;
/**
* Permet de decrire l'ensemble des cartes a instancier
* suivant le nombre de joueurs (nom, nombre, pouvoir)
* @author Quentin
*
*/
public class DescriptionCartes {
public String nomCarte;
public int[] pouvoir;
public int nbExemplaire;
... | Java |
package hocusPocus.Cartes;
public class HAbracadabra extends Carte{
public HAbracadabra(int puissance) {
this.recto = this.getClass().getName() + puissance +".png";
this.typecarte = typeCarte.HOCUS;
this.puissance = puissance;
this.infoBulle = "<html>HOCUS Abracadabra<br/>Echangez votre main avec cel... | Java |
package hocusPocus.Cartes;
public class HVoleur extends Carte{
public HVoleur(int puissance) {
this.recto = this.getClass().getName() + puissance +".png";
this.typecarte = typeCarte.HOCUS;
this.puissance = puissance;
this.infoBulle = "<html>HOCUS Voleur<br/>Volez " + getPuissance() + " gemme(s) d'un ... | Java |
package hocusPocus.Cartes;
import hocusPocus.Partie.Joueur;
public class Carte {
protected int puissance; // Correspond au numero en haut a droite de la carte Hocus -> '0' pour Pocus
protected String recto; // Nom du fichier image de la carte
protected String verso = "verso.png";
protected typeCarte typec... | Java |
package hocusPocus.Cartes;
public enum typeCarte {
HOCUS,
POCUS;
}
| Java |
package hocusPocus.IHM;
import hocusPocus.Controllers.ControllerTypeDePartie;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JRadioButton;
import javax.swing.WindowConstants;
import java.awt.Toolkit;
public class TypeD... | Java |
package hocusPocus.IHM;
import hocusPocus.Controllers.ControllerNbJoueur;
import java.awt.Font;
import java.awt.HeadlessException;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.s... | Java |
package hocusPocus.IHM;
import hocusPocus.Controllers.ControllerChoixFinTour;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JRadioButton;
import javax.swing.WindowConstants;
import java.awt.Toolkit;
public class ChoixF... | Java |
package hocusPocus.IHM;
import hocusPocus.Controllers.ControllerEcranAccueil;
import hocusPocus.Partie.Jeu;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Toolkit;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import j... | Java |
package hocusPocus.IHM;
import hocusPocus.Cartes.Carte;
import hocusPocus.Controllers.ControllerLimiteCarteMain;
import hocusPocus.Partie.Joueur;
import hocusPocus.Partie.Plateau;
import java.awt.GridLayout;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
i... | Java |
package hocusPocus.IHM;
import hocusPocus.Cartes.Carte;
import hocusPocus.Controllers.ControllerInterfacePlateau;
import hocusPocus.Partie.Joueur;
import hocusPocus.Partie.Plateau;
import java.awt.BorderLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
i... | Java |
package hocusPocus.IHM;
import hocusPocus.Cartes.Carte;
import hocusPocus.Partie.Joueur;
import hocusPocus.Partie.Plateau;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionLi... | Java |
package hocusPocus.IHM;
import hocusPocus.Partie.Jeu;
import java.util.HashMap;
import java.util.Observable;
import java.util.Observer;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
import javax.swing.JLabel;
import java.awt.Bor... | Java |
package hocusPocus.Partie;
import java.util.ArrayList;
import java.util.Stack;
public class Chaudron {
private static Stack<Gemme> gemmes = new Stack<Gemme>();
Chaudron(int nbGemmes) {
for(int i = 0; i < nbGemmes; i++)
gemmes.push(new Gemme());
}
/**
* Retourne le nombre de gemmes
* @re... | Java |
package hocusPocus.Partie;
public class Main {
public static void main(String[] args) {
Jeu jeu = Jeu.getInstance();
jeu.initPartie();
}
}
| Java |
package hocusPocus.Partie;
import hocusPocus.IHM.GagnantPartie;
import java.util.ArrayList;
public class ThreadGagnant extends Thread{
private Plateau plateau;
private ArrayList<Joueur> listeJoueurs;
private Joueur joueurGagnant;
public ThreadGagnant(){
this.plateau = Plateau.getInstance();
... | Java |
package hocusPocus.Partie;
import hocusPocus.Cartes.Carte;
import hocusPocus.IHM.DesignerJoueur;
import hocusPocus.IHM.InteractionJoueur;
import java.util.ArrayList;
public class AnalyseZoneDeJeu {
private Plateau plateau;
private ArrayList<Carte> zoneDeJeu;
public AnalyseZoneDeJeu() {
this.platea... | Java |
package hocusPocus.Partie;
import hocusPocus.IHM.EcranAccueil;
import hocusPocus.IHM.InterfacePlateau;
import java.awt.Color;
import java.util.ArrayList;
import java.util.HashMap;
public final class Jeu {
private static Plateau plateau;
private EcranAccueil ihm;
private InterfacePlateau interfaceP... | Java |
package hocusPocus.Partie;
import hocusPocus.Cartes.Carte;
import java.util.ArrayList;
import java.util.Stack;
public class Defausse {
Stack<Carte> pile = new Stack<Carte>();
/**
* Empiler les carte sur la pile de defausse
* @param cartesDefaussees
*/
public void defausserCartes(ArrayList... | Java |
package hocusPocus.Partie;
public class Gemme {
String proprietaire;
}
| Java |
package hocusPocus.Partie;
import java.util.ArrayList;
/**
* Thread permettant de s'assurer qu'il y a toujours,
* dans la mesure du possible, 3 cartes dans le grimoire
* des joueurs
*
*/
public class ThreadVerificationGrimoire extends Thread{
private Plateau plateau;
private ArrayList<Joueur> list... | Java |
package gibbs.seibert.CS406.VideoGameApp;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
public class MyXMLHandler extends DefaultHandler {
Boolean currentElement = false;
String currentValue = null;
public static SitesList sitesList = null;
... | Java |
package gibbs.seibert.CS406.VideoGameApp;
import java.util.ArrayList;
/** Contains getter and setter method for variables */
public class SitesList {
/** Variables */
private ArrayList<String> name = new ArrayList<String>();
private ArrayList<String> website = new ArrayList<String>();
private ArrayList... | Java |
package gibbs.seibert.CS406.VideoGameApp;
import java.net.URL;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sax.InputSource;
import org.xml.sax.XMLReader;
import android.app.Activity;
import android.os.Bundle;
import android.widget.LinearLayout;
import android... | Java |
package com.plantplaces.service;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import com.plantplaces.dao.IPlantDAO;
import com.plantplaces.dao.OfflinePlantDAO;
import com.plantplaces.dao.OnlinePlantDAO;
import com.plantplaces.dto.Plant;
im... | Java |
package com.plantplaces.service;
import java.util.List;
import com.plantplaces.dto.Plant;
import com.plantplaces.dto.Specimen;
/**
* An interface for logic involving plants.
* @author jonesb
*
*/
public interface IPlantService {
/**
* Fetch all genus
* @return a collection of all genus.
... | Java |
/*
* Copyright 2012 PlantPlaces.com
*/
package com.plantplaces.dto;
/**
* A specimen is a plant at a location with unique
* values of its attributes.
* @author jonesb
*
*/
public class Specimen {
@Override
public String toString() {
return getDescription() + " " + getLatitude() + " " + getL... | Java |
package com.plantplaces.dto;
import java.io.Serializable;
public class Plant implements Serializable {
String genus;
String species;
String cultivar;
String commonName;
String category;
int minimumHeight;
int maximumHeight;
private int id; // the primary key from PlantPlaces.com
@Override
... | Java |
/*
* Copyright 2012 PlantPlaces.com
*/
package com.plantplaces.dao;
import java.io.IOException;
import org.apache.http.client.ClientProtocolException;
/**
* Access data from a network.
*
* @author jonesb
*
*/
public interface INetworkDAO {
/**
* Given a URI, fetch the URI and return ... | Java |
package com.plantplaces.dao;
import java.io.IOException;
import java.util.ArrayList;
import org.apache.http.client.ClientProtocolException;
import com.plantplaces.dto.Plant;
import com.plantplaces.dto.Specimen;
public class OnlinePlantDAO implements IPlantDAO {
// attribute for our Network DAO.
INet... | Java |
package com.plantplaces.dao;
import java.io.IOException;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.ResponseHandler;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.BasicResponseHandler;
impo... | Java |
/*
* Copyright 2012 PlantPlaces.com
*/
package com.plantplaces.dao;
import java.io.IOException;
import java.util.ArrayList;
import com.plantplaces.dto.Plant;
import com.plantplaces.dto.Specimen;
/**
* CRUD operations for a Plant.
* @author jonesb
*
*/
public interface IPlantDAO {
/**
* F... | Java |
package com.plantplaces.dao;
import java.io.IOException;
import java.util.ArrayList;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import com.plantplaces.... | Java |
/*
* Copyright PlantPlaces.com 2012
*/
package com.plantplaces.ui;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ArrayAdapter;
import android.widget.AutoCompleteTextView;
import a... | Java |
package com.plantplaces.ui;
import java.util.List;
import android.app.ListActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.Toast;
import com.plan... | Java |
package com.plantplaces.ui;
import java.util.List;
import android.app.ListActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.ArrayAdapter;
import android.widget.Toast;
import com.plantplaces.dto.Specimen;
import com.plantplaces.service.IPlantService;
import com.plantplaces... | Java |
package com.plantplaces.ui;
import android.content.Intent;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.util.Log;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickList... | Java |
/*
* Copyright 2012 PlantPlaces.com
*/
package com.plantplaces.ui;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.MenuItem;
/**
* Superclass that contains all common functionality for all Activities on the Plant Places mobile application.
* @a... | Java |
import java.io.*;
public class Name2 {
public static void main(String args[]) throws IOException
{
String name;
BufferedReader eingabe = new BufferedReader
(new InputStreamReader(System.in));
System.out.print("Bitte geben Sie Ihren Name ein: ");
name = eingabe.readLine();
System.out.println (... | Java |
import java.lang.System.*;
public class Aufgabe1 {
public static void main(String[] args)
{
System.out.println("Hallo Welt!");
}
}
| Java |
import java.io.*;
public class datei {
public static void main(String[] args) throws IOException
{
FileWriter ausgabeStrom = new FileWriter("datei1");
PrintWriter ausgabe = new PrintWriter(ausgabeStrom);
ausgabe.println("Testzeile!");
ausgabe.print("test");
ausgabe.flush();
ausgabe.close();... | Java |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Kreis {
public static void main(String args[]) throws IOException
{
int x = 20;
int y = 20;
int ix,iy = 0;
/*while(iy >= y)
{
if(ix== 1 || ix == y)
{
}
}*/
}
}
| Java |
public class Zins_1 {
public static void main(String[] args)
{
double zinssatz = 2.5; // %
double kapital = 1000.00; // Euro
int anzJahre = 5;
double zinsertrag;
/*
* Ein Kapital von 1000.00 Euro erbringt bei einem Zinssatz
von 2.5 % pro Jahr in 5 Jahren einen Gewinn von
125.00 Euro.
*/
... | Java |
public class Aufgabe2
{
public static void main(String[] args)
{
System.out.print("3.3 + 2 = " + (3.3 + 2.0));
}
}
| Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package BUS;
import DAO.MyAttachDAO;
import DTO.MyAttachDTO;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
/**
*
* @author Dang Thi Phuong Thao
*/
public class MyAttachBUS {
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package BUS;
import DAO.MyMailDAO;
import DTO.MyMailDTO;
import doanlythuyet_javaoutlook.MyEmum.JEnum_TinhTrang;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Hashtable;
/**
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package BUS;
import DAO.MyContactDAO;
import DTO.MyContactDTO;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
/**
*
* @author Dang Thi Phuong Thao
*/
public class MyContactBUS... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DTO;
/**
*
* @author Dang Thi Phuong Thao
*/
public class MyContactDTO {
private int m_Id;
private String m_Ten;
private String m_CongTy;
private String m_Hinh;
private String m_Email;
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DTO;
/**
*
* @author Dang Thi Phuong Thao
*/
public class MyAttachDTO {
private int m_Id;
private int m_IdMail;
private String m_DuongDan;
private String m_TenFile;
public MyAttachDTO(){... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DTO;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.mail.Address;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.internet... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DTO;
/**
*
* @author Administrator
*/
public class FolderVaSoMailChuaDoc {
private String m_DuongDan;
private int m_SoMail;
public FolderVaSoMailChuaDoc(){
m_DuongDan = "";
m_SoM... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* JDialog_NhapTenThuMuc.java
*
* Created on 17-06-2009, 13:44:59
*/
package doanlythuyet_javaoutlook.MyUserControl;
import javax.swing.JOptionPane;
/**
*
* @author ShineShiao
*/
public class JDialog_NhapTen... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* JFrame_Contact.java
*
* Created on 16-06-2009, 16:46:33
*/
package doanlythuyet_javaoutlook.MyUserControl;
import BUS.MyContactBUS;
import DTO.MyAttachDTO;
import DTO.MyContactDTO;
import doanlythuyet_javaout... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* JTreeFromXMLFile.java
*
* Created on 10-06-2009, 14:28:32
*/
package doanlythuyet_javaoutlook.MyUserControl;
import doanlythuyet_javaoutlook.DoAnLyThuyet_JavaOutLookApp;
import doanlythuyet_javaoutlook.EventL... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* JFrame_ChiTietMail.java
*
* Created on May 28, 2009, 7:55:46 AM
*/
package doanlythuyet_javaoutlook.MyUserControl;
import BUS.MyAttachBUS;
import BUS.MyMailBUS;
import DTO.MyAttachDTO;
import DTO.MyMailDTO;
i... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* WelcomePanel.java
*
* Created on May 27, 2009, 9:21:30 AM
*/
package doanlythuyet_javaoutlook.usercontrol.resources;
/**
*
* @author Dang Thi Phuong Thao
*/
public class WelcomePanel extends javax.swing.JP... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.