text stringlengths 3 1.18M |
|---|
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseQuadIn implements IEaseFunction {
// ===========================================================
// C... |
package org.anddev.andengine.util.modifier.ease;
import org.anddev.andengine.util.constants.MathConstants;
import android.util.FloatMath;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseElasticIn ... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseQuintOut implements IEaseFunction {
// ===========================================================
//... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseBounceInOut implements IEaseFunction {
// ===========================================================
... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseExponentialOut implements IEaseFunction {
// ==========================================================... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseQuadOut implements IEaseFunction {
// ===========================================================
// ... |
package org.anddev.andengine.util.modifier.ease;
import static org.anddev.andengine.util.constants.MathConstants.PI;
import android.util.FloatMath;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseSi... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseQuintInOut implements IEaseFunction {
// ===========================================================
... |
package org.anddev.andengine.util.modifier.ease;
import org.anddev.andengine.util.constants.MathConstants;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseElasticInOut implements IEaseFunction, MathC... |
package org.anddev.andengine.util.modifier.ease;
import org.anddev.andengine.util.constants.MathConstants;
import android.util.FloatMath;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseElasticOut... |
package org.anddev.andengine.util.modifier.ease;
import android.util.FloatMath;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseCircularOut implements IEaseFunction {
// ===========================... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseCircularInOut implements IEaseFunction {
// =========================================================... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseQuintIn implements IEaseFunction {
// ===========================================================
// ... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseStrongInOut implements IEaseFunction {
// ===========================================================
... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseQuartOut implements IEaseFunction {
// ===========================================================
//... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseQuadInOut implements IEaseFunction {
// ===========================================================
/... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseBackIn implements IEaseFunction {
// ===========================================================
// C... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseCubicInOut implements IEaseFunction {
// ===========================================================
... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseBounceIn implements IEaseFunction {
// ===========================================================
//... |
package org.anddev.andengine.util.modifier.ease;
import org.anddev.andengine.util.constants.MathConstants;
import android.util.FloatMath;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseSineOut im... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseBackOut implements IEaseFunction {
// ===========================================================
// ... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseStrongOut implements IEaseFunction {
// ===========================================================
/... |
package org.anddev.andengine.util.modifier.ease;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseBounceOut implements IEaseFunction {
// ===========================================================
/... |
package org.anddev.andengine.util.modifier.ease;
import org.anddev.andengine.util.constants.MathConstants;
import android.util.FloatMath;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Gil
* @author Nicolas Gramlich
* @since 16:52:11 - 26.07.2010
*/
public class EaseSineIn imp... |
package org.anddev.andengine.util.modifier;
import org.anddev.andengine.util.modifier.ease.IEaseFunction;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 10:52:31 - 03.09.2010
* @param <T>
*/
public abstract class BaseTripleValueSpanModifier<T> extends ... |
package org.anddev.andengine.util.modifier;
import org.anddev.andengine.util.modifier.IModifier.IModifierListener;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 11:18:37 - 03.09.2010
* @param <T>
*/
public class LoopModifier<T> extends BaseModifier<... |
package org.anddev.andengine.util.modifier;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 10:49:51 - 03.09.2010
* @param <T>
*/
public abstract class BaseSingleValueChangeModifier<T> extends BaseDurationModifier<T> {
// ===============================... |
package org.anddev.andengine.util.modifier;
import org.anddev.andengine.util.modifier.ease.IEaseFunction;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 23:29:22 - 19.03.2010
*/
public abstract class BaseSingleValueSpanModifier<T> extends BaseDurationMod... |
package org.anddev.andengine.util.modifier;
import org.anddev.andengine.util.SmartList;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 10:47:23 - 03.09.2010
* @param <T>
*/
public abstract class BaseModifier<T> implements IModifier<T> {
// ========... |
package org.anddev.andengine.util.modifier;
import org.anddev.andengine.util.modifier.IModifier.IModifierListener;
import org.anddev.andengine.util.modifier.util.ModifierUtils;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 19:39:25 - 19.03.2010
*/
pu... |
package org.anddev.andengine.util.modifier;
import org.anddev.andengine.util.modifier.ease.IEaseFunction;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 10:51:46 - 03.09.2010
* @param <T>
*/
public abstract class BaseDoubleValueSpanModifier<T> extends ... |
package org.anddev.andengine.util.modifier;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 10:48:13 - 03.09.2010
* @param <T>
*/
public abstract class BaseDurationModifier<T> extends BaseModifier<T> {
// =============================================... |
package org.anddev.andengine.util.modifier;
import java.util.ArrayList;
import org.anddev.andengine.engine.handler.IUpdateHandler;
import org.anddev.andengine.util.SmartList;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 14:34:57 - 03.09.2010
*/
pub... |
package org.anddev.andengine.util.modifier;
import java.util.Comparator;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 11:17:50 - 19.03.2010
*/
public interface IModifier<T> {
// ===========================================================
// Final... |
package org.anddev.andengine.util.modifier.util;
import org.anddev.andengine.util.modifier.IModifier;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 11:16:36 - 03.09.2010
*/
public class ModifierUtils {
// ==============================================... |
package org.anddev.andengine.util.modifier;
/**
* (c) Zynga 2011
*
* @author Nicolas Gramlich <ngramlich@zynga.com>
* @since 14:17:30 - 10.08.2011
*/
public abstract class BaseDoubleValueChangeModifier<T> extends BaseSingleValueChangeModifier<T> {
// ===========================================================
... |
package org.anddev.andengine.util;
import org.anddev.andengine.util.pool.GenericPool;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 23:07:53 - 23.02.2011
*/
public class TransformationPool {
// =========================================================... |
package org.anddev.andengine.util;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 10:47:33 - 11.05.2010
*/
public enum HorizontalAlign {
// ===========================================================
// Elements
// ====================================... |
package org.anddev.andengine.util;
import java.io.IOException;
import java.net.DatagramSocket;
import java.net.ServerSocket;
import java.net.Socket;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 14:42:15 - 18.09.2009
*/
public class SocketUtils {
/... |
package org.anddev.andengine.util;
import java.util.concurrent.Callable;
import org.anddev.andengine.ui.activity.BaseActivity.CancelledException;
import org.anddev.andengine.util.progress.IProgressListener;
import org.anddev.andengine.util.progress.ProgressCallable;
import android.app.Activity;
import andro... |
package org.anddev.andengine.util;
import java.util.HashMap;
import java.util.Iterator;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 16:54:24 - 07.11.2010
*/
public class MultiKeyHashMap<K, V> extends HashMap<MultiKey<K>, V> {
// ===================... |
package org.anddev.andengine.util;
import java.util.GregorianCalendar;
import org.anddev.andengine.util.constants.Constants;
import android.R;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.content.DialogInterface;
import android.content... |
package org.anddev.andengine.util;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 09:40:55 - 14.12.2009S
*/
public interface Callback<T> {
// ===========================================================
// Final Fields
// ==============================... |
package org.anddev.andengine.util;
import java.util.ArrayList;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 12:43:39 - 11.03.2010
*/
public class ListUtils {
// ===========================================================
// Constants
// =========... |
package org.anddev.andengine.util;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.ByteBuffer;
import org.anddev.andengine.util.Debug;
/**
* (c) Zynga 2011
*
* @author Nicolas Gramlich <ngramlich@zynga.com>
* @since 02:19:02 - 14.08.2011
*/
public class ByteBufferOutputStream extends Ou... |
package org.anddev.andengine.util;
import org.anddev.andengine.util.constants.Constants;
import android.util.Log;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 13:29:16 - 08.03.2010
*/
public class Debug implements Constants {
// ==================... |
package org.anddev.andengine.util;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.InputStream;
import android.content.Context;
import android.os.Environment... |
package org.anddev.andengine.util;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 15:00:30 - 14.05.2010
* @param <T>
*/
public interface AsyncCallable<T> {
// ===========================================================
// Final Fields
// ===========... |
package org.anddev.andengine.util;
import org.xml.sax.Attributes;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 22:02:09 - 21.07.2010
*/
public class SAXUtils {
// ===========================================================
// Constants
// =======... |
package org.anddev.andengine.util;
import java.util.Random;
import org.anddev.andengine.util.constants.MathConstants;
import android.util.FloatMath;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 20:42:15 - 17.12.2009
*/
public class MathUtils impl... |
package org.anddev.andengine.util;
import java.util.ArrayList;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 22:20:08 - 27.12.2010
*/
public class SmartList<T> extends ArrayList<T> {
// ===========================================================
// ... |
package org.anddev.andengine.util;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 15:15:23 - 24.07.2010
*/
public enum VerticalAlign {
// ===========================================================
// Elements
// ======================================... |
package org.anddev.andengine.util;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 12:32:22 - 26.12.2010
*/
public interface IMatcher<T> {
// ===========================================================
// Constants
// ==================================... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import net.jxta.document.MimeMediaType;
import net.jxta.endpoint.ByteArrayMessageElement;
import net.jxta.endpoint.Message;
import net.jxta.endpoint.Message.ElementIterator;
import net.jxta.e... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import net.jxta.peergroup.PeerGroup;
import net.jxta.protocol.PeerGroupAdvertisement;
/**
*
* @author cs47402
*/
public class GroupAdvertisor extends Thread {
private PeerGroupAdverti... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import net.jxta.discovery.DiscoveryEvent;
import net.jxta.discovery.DiscoveryListener;
import net.jxta.discovery.DiscoveryService;
import net.jxta.document.Advertisement;
import net.jxta.peer... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import net.jxta.discovery.DiscoveryEvent;
import net.jxta.discovery.DiscoveryListener;
import net.jxta.discovery.DiscoveryService;
import net.jxta.document.Advertisement;
import net.jxta.docu... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import net.jxta.document.AdvertisementFactory;
import net.jxta.endpoint.Message;
import net.jxta.endpoint.ByteArrayMessageElement;
import net.jxta.id.IDFactory;
import net.jxta.pipe.OutputPip... |
///*
// * To change this template, choose Tools | Templates
// * and open the template in the editor.
// */
//
//package org.jxtafileshare;
//
//import java.io.*;
//import java.util.Enumeration;
//import net.jxta.document.*;
//import net.jxta.peergroup.*;
//import net.jxta.exception.*;
//import net.jxta.impl.peergroup.... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import net.jxta.document.*;
import java.io.IOException;
import java.io.InputStream;
import java.io.Serializable;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Enu... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import java.io.*;
import net.jxta.document.AdvertisementFactory;
import net.jxta.peergroup.PeerGroupID;
import net.jxta.pipe.PipeService;
import net.jxta.protocol.PipeAdvertisement;
/**
*
*... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import net.jxta.exception.PeerGroupException;
import net.jxta.peergroup.PeerGroup;
import net.jxta.platform.NetworkConfigurator;
import net.jxta.platform.NetworkManager;
import java.text.Mes... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import java.io.StringWriter;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.net.URI;
import java.net.URL;
import java.util.Enumeration;
import java.util.Hasht... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import net.jxta.document.*;
import java.io.IOException;
import java.io.InputStream;
import java.io.Serializable;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Enu... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import net.jxta.document.MimeMediaType;
import net.jxta.endpoint.Message;
import net.jxta.endpoint.Message.ElementIterator;
import net.jxta.endpoint.MessageElement;
import net.jxta.endpoint.W... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import java.io.StringWriter;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.net.URI;
import java.net.URL;
import java.util.Enumeration;
import net.jxta.discov... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import java.io.File;
import java.io.IOException;
import java.util.Enumeration;
import net.jxta.discovery.DiscoveryEvent;
import net.jxta.discovery.DiscoveryListener;
import net.jxta.discovery... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.Wi... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import net.jxta.id.IDFactory;
import net.jxta.peer.PeerID;
import net.jxta.peergroup.PeerGroupID;
import net.jxta.pipe.PipeID;
import java.io.UnsupportedEncodingException;
import java.securi... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import net.jxta.document.*;
import java.io.IOException;
import java.io.InputStream;
import java.io.Serializable;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Enu... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import java.text.MessageFormat;
import net.jxta.peer.PeerID;
import net.jxta.peergroup.PeerGroupID;
import net.jxta.pipe.PipeID;
import java.net.UnknownHostException;
import java.net.InetAdd... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jxtafileshare;
import net.jxta.id.IDFactory;
import net.jxta.peer.PeerID;
import net.jxta.peergroup.PeerGroupID;
import net.jxta.pipe.PipeID;
import java.io.UnsupportedEncodingException;
import java.securi... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package testingpipes;
import net.jxta.document.MimeMediaType;
import net.jxta.endpoint.Message;
import net.jxta.endpoint.Message.ElementIterator;
import net.jxta.endpoint.MessageElement;
import net.jxta.endpoint.WireFor... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package testingpipes;
import net.jxta.document.AdvertisementFactory;
import net.jxta.endpoint.Message;
import net.jxta.endpoint.StringMessageElement;
import net.jxta.id.IDFactory;
import net.jxta.pipe.OutputPipe;
import... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package OverlayNetwork;
//~--- non-JDK imports --------------------------------------------------------
import jxtaUtil.IDCreator;
import jxtaUtil.PeerAdvertisement;
import net.jxta.document.AdvertisementFactory;
impor... |
package jxtaUtil;
import net.jxta.discovery.DiscoveryEvent;
import net.jxta.discovery.DiscoveryListener;
import net.jxta.discovery.DiscoveryService;
import net.jxta.document.Advertisement;
import net.jxta.document.AdvertisementFactory;
import net.jxta.id.IDFactory;
import net.jxta.peergroup.PeerGroup;
import net.jxt... |
package jxtaUtil;
import net.jxta.document.AdvertisementFactory;
import net.jxta.document.MimeMediaType;
import net.jxta.document.StructuredDocumentFactory;
import net.jxta.document.XMLDocument;
import net.jxta.endpoint.ByteArrayMessageElement;
import net.jxta.endpoint.Message;
import net.jxta.endpoint.Message.Element... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jxtaUtil;
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import net.jxta.document.*;
import net.jxta.peergroup.*;
import net.jxta.pipe.*;
import net.jxta.discovery.*;
import ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jxtaUtil;
import net.jxta.document.*;
import java.io.IOException;
import java.io.InputStream;
import java.io.Serializable;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Enumeration;... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jxtaUtil;
import net.jxta.id.IDFactory;
import net.jxta.peer.PeerID;
import net.jxta.peergroup.PeerGroupID;
import net.jxta.pipe.PipeID;
import java.io.UnsupportedEncodingException;
import java.security.Messag... |
package jxtaUtil;
import net.jxta.discovery.DiscoveryEvent;
import net.jxta.discovery.DiscoveryListener;
import net.jxta.discovery.DiscoveryService;
import net.jxta.document.Advertisement;
import net.jxta.peergroup.PeerGroup;
import net.jxta.platform.NetworkManager;
import net.jxta.protocol.DiscoveryResponseMsg;
im... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* BaseContainer.java
*
* Created on May 18, 2009, 11:11:44 AM
*/
package GUI;
/**
*
* @author cs47402_08
*/
public class BaseContainer extends javax.swing.JFrame {
/** Creates new form BaseContainer */
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* StartupPanel.java
*
* Created on May 18, 2009, 11:40:08 AM
*/
package GUI;
import OverlayNetwork.jxtaPeerSetup;
/**
*
* @author cs47402_08
*/
public class StartupPanel extends javax.swing.JPanel {
/*... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* ShareSetupPanel.java
*
* Created on May 18, 2009, 11:20:44 AM
*/
package GUI;
import java.io.File;
import javax.swing.DefaultListModel;
import javax.swing.JFileChooser;
/**
*
* @author cs47402_08
*/
publi... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* BrowsePanel.java
*
* Created on May 18, 2009, 11:18:43 AM
*/
package GUI;
/**
*
* @author cs47402_08
*/
public class BrowsePanel extends javax.swing.JPanel {
/** Creates new form BrowsePanel */
pu... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* searchPanel.java
*
* Created on May 23, 2009, 4:34:26 PM
*/
package GUI;
/**
*
* @author Zacharias
*/
public class searchPanel extends javax.swing.JPanel {
/** Creates new form searchPanel */
publ... |
package generator;
// Based on project found at: https://github.com/Clairette/sudoku/
public class Solver
{
private Board board;
private boolean generated;
public Solver(Board board)
{
this.board = board;
this.generated = false;
}
public Solver(Board board, boolean generated)
{
this.bo... |
package generator;
// Based on project found at: https://github.com/Clairette/sudoku/
import java.util.Random;
public class Generator
{
private Board board = new Board();
private Board srcBoard = new Board(); // srcBoard is a board to backtrack to if something goes wrong
public Generator() { }
pub... |
package generator;
// Based on project found at: https://github.com/Clairette/sudoku/
public class Board
{
private Cell[][] board = new Cell[9][9];
public Board() { }
public Cell getCell(int col, int row)
{
return board[col][row];
}
public void setCell(int col, int row, Cell c)
{
board... |
package generator;
// Based on project found at: https://github.com/Clairette/sudoku/
public class Cell
{
private int number;
private boolean fixed;
public Cell()
{
fixed = false;
}
public Cell(int number, boolean fixed)
{
this.number = number;
this.fixed = fixed;
}
public int g... |
package com.example.sudokusolver;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
public class TutorialScreen1 extends Activity
{
Button btnBack, btnNext;
@Override
protected void... |
package com.example.sudokusolver;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
public class TutorialScreen7 extends Activity
{
Button btnPrevious, btnNext;
@Override
protected ... |
package com.example.sudokusolver;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
public class TutorialScreen4 extends Activity
{
Button btnPrevious, btnNext;
@Override
protected ... |
package com.example.sudokusolver;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
public class TutorialScreen5 extends Activity
{
Button btnPrevious, btnNext;
@Override
protected ... |
package com.example.sudokusolver;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
public class TutorialScreen2 extends Activity
{
Button btnPrevious, btnNext;
@Override
protected ... |
package com.example.sudokusolver;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
public class TutorialScreen6 extends Activity
{
Button btnPrevious, btnNext;
@Override
protected ... |
package com.example.sudokusolver;
import gameplay.Game;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
public class DifficultyScreen extends Activity
{
Button btnBeginner, btnEasy, b... |
package com.example.sudokusolver;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
public class MainScreen extends Activity
{
Button btnStart, btnTutorial, btnPhoto, btnExit;
@Overri... |
package com.example.sudokusolver;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Gravity;
import android.view.Menu;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget... |
package com.example.sudokusolver;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
public class TutorialScreen3 extends Activity
{
Button btnPrevious, btnNext;
@Override
protected ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.