text
stringlengths
3
1.18M
package it.unitn.testbed.server; import it.unitn.testbed.client.TestbedService; import it.unitn.testbed.client.common.BriefTaskComponent; import it.unitn.testbed.client.common.MoteConfig; import it.unitn.testbed.server.config.ConfigUser; import it.unitn.testbed.server.config.TestbedConfig; import it.unitn.testbed.serv...
/** * */ package it.unitn.testbed.server.serial; import org.apache.log4j.Logger; /** * A serial message consumer that logs messages. * * @author Stefan Guna * */ public class LogMsgConsumer implements MessageConsumer { public static Logger log = Logger.getLogger(LogMsgConsumer.class.getName()); /* * (n...
/** * */ package it.unitn.testbed.server.serial; /** * The interface for classes that consume messages received on the serial port. * * {@link SerialReceiver} invokes {@link #beginMessage(int, String)} and * {@link #endMessage(Object)} once for every message that it receives. In * between these invocations, {...
/** * */ package it.unitn.testbed.server.serial; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.HashMap; import net.tinyos.message.Message; import net.tinyos.message.Mes...
/** * */ package it.unitn.testbed.server.serial; /** * Descriptor of a field inside of a serial message. * * Each field has: * <ul> * <li>a type ({@link FieldType#type}) * <li>a name ({@link FieldType#name}) * <li>a length bigger than 1 for array field, 1 for non-array field ( * {@link #length}). * * @a...
/** * */ package it.unitn.testbed.server.serial; import it.unitn.testbed.server.TestbedServiceImpl; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.HashMap; import org.apache.log4j.Logger; /** * A class loader of the the descripti...
/** * */ package it.unitn.testbed.server.serial; import java.lang.reflect.Method; import org.apache.log4j.Logger; /** * Runs a method of a class and sets up a timeout to wait for its execution to * complete. * * First, you should use the constructor * {@link #SandboxInvoker(Method, Object, Object[])} to ins...
/* PageRetriever.Java * * WebCrawler Program * @author Amandeep Jhajj and Craig Markham * @date 26Apr2012 */ package Crawler; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.LinkedList; import java.util.List; import java.util.Observable; import ja...
/* Controller.Java * * WebCrawler Program * @author Amandeep Jhajj and Craig Markham * @date 26Apr2012 */ package Crawler; import java.net.MalformedURLException; import java.net.URL; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Observable; impo...
/* ResultsString.Java * * WebCrawler Program * @author Amandeep Jhajj and Craig Markham * @date 26Apr2012 */ package Crawler; import java.util.Map; import Crawler.DataGatherer.WordPair; public class ResultsString { private final String the_results; public ResultsString(final String t...
/* DataGatherer.Java * * WebCrawler Program * @author Amandeep Jhajj and Craig Markham * @date 26Apr2012 */ package Crawler; import java.util.Map; import java.util.TreeMap; public class DataGatherer { public class WordPair{ public double my_avg; public int my_total; public WordPair...
/* Main.Java * * WebCrawler Program * @author Amandeep Jhajj and Craig Markham * @date 26Apr2012 */ package Crawler; /** * UI Interface used to report data back to GUI from Controller */ public interface UI { /** * ResultsString object is passed to the GUI from the PageParser * @param th...
/* PageParser.Java * * WebCrawler Program * @author Amandeep Jhajj and Craig Markham * @date 26Apr2012 */ package Crawler; import java.net.MalformedURLException; import java.net.URL; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Observable; import jav...
/* Main.Java * * WebCrawler Program * @author Amandeep Jhajj and Craig Markham * @date 26Apr2012 */ import GUI.MainGui; // This class will be the entry point for the application. public class Main { /** * @param args Not Used */ public static void main(String[] args) { ...
/* MainGui.java * * WebCrawler Program * @author Amandeep Jhajj and Craig Markham * @date 26Apr2012 */ package GUI; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOEx...
/* ResultGui.Java * * WebCrawler Program * @author Amandeep Jhajj and Craig Markham * @date 26Apr2012 */ package GUI; import java.awt.Font; import java.awt.GridLayout; import javax.swing.JFrame; import javax.swing.JScrollPane; import javax.swing.JTextArea; import javax.swing.ScrollPaneConstant...
package edu.towson.cosc.cosc455.interfaces; import edu.towson.cosc.cosc455.pfong.project1.CompilerException; /** * COSC 455 Programming Languages: Implementation and Design. * * A Simple Syntax Analyzer adapted from Sebesta (2010) by Josh Dehlinger, * modified by Adam Conover (2012) and interfaced by Josh Dehlin...
package edu.towson.cosc.cosc455.interfaces; /** * COSC 455 Programming Languages: Implementation and Design. * * A Simple Lexical Analyzer adapted from Sebesta (2010) by Josh Dehlinger, * modified by Adam Conover (2012) and interfaced by Josh Dehlinger (2013) * * Note that these are not the only methods ...
package edu.towson.cosc.cosc455.pfong.project1; /** * Parsing exception. For simplicity, this is used for both lexical errors as * well as parsing errors. A more complete design would include a hierarchy of * specific error types. * * Developed by Adam Conover (2012) and modified by Josh Dehlinger (2013), used wit...
package edu.towson.cosc.cosc455.pfong.project1; import edu.towson.cosc.cosc455.interfaces.SyntaxAnalyzer; public class MySyntaxAnalyzer implements SyntaxAnalyzer { private MyLexicalAnalyzer lexer; @Override public void document() throws CompilerException { if(!Compiler.token.equalsIgnoreCase("#S...
package edu.towson.cosc.cosc455.pfong.project1; public class MyCompiler { static String token; public static void main(String[] args) { token = ""; //1. check to make sure we have the correct args //2. check to make sure the file has a mkd extension --> endswith(".mkd") //3. initializati...
import java.awt.BorderLayout; import java.awt.Color; import java.util.Vector; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.WindowConstants; import javax.swing.table.DefaultTableModel; import javax.swing.table.TableModel; import javax.swing.SwingUtilities; ...
public interface Evaluar { public abstract double calcularNota(double n1,double n2,double n3); public abstract String asignarEstado (double notaFinal); }
public interface Presentar { public abstract double presentarEvaluacion(); }
/* Laboratorio 1 (Lunes 1:00 p.m.) * * Integrantes: * * Mariela Carrera CI. 18683533 * * Abraham Mogollón CI. 18136645 * * Lianeth Barazarte CI. 20188630 * * Johann Morales CI 17627581 * * */ import java.awt.BorderLayout; import java.awt.Canvas; import java.awt.event.ActionEvent; import java.a...
import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import java.util.Vector; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swin...
import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.WindowConstants; import...
import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.util.Vector; import java.io.FileOutputStream; import java.io.PrintStream; public class Seccion { private int numero; private Profesor profesor = new Profesor(); private ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package comp429.vrouter; /** * Network Interface Card Objects * Any class that implements the NIC interface is capable of acting as * a virtual ethernet interface for a virtual software-based TCP/IP * router. * *...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package comp429.vrouter; /** * RouterCPU interface to represent a router "CPU" * The interface exists to abstract objects that behave like a router CPU * and should expected to be interrupted by hardware peripherals...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package comp429.vrouter; /** * * @author jeffw */ class FrameUnavailableException extends NetworkException { /** * Frame Unavailable Exception * An exception class for representing the absent of frame data w...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package comp429.vrouter; /** * * @author jeffw */ public interface EthernetFrame { }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package comp429.vrouter; /** * * @author jeffw */ public class DisconnectedException extends NetworkException { /** * DisconnectedException for representing errors due to a failure to * connect endpoints or ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package comp429.vrouter; /** * Base class for network communication exceptions * The virtual router may encounter a variety of errors. This is the base * class from which specific exception types should be derived. ...
/* Copyright (c) 2012 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 agreed to...
// Copyright 2002, 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 agreed to i...
/* Copyright (c) 2012 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 agreed to...
// Portions copyright 2002, 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 ag...
/* Copyright (c) 2012 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 agreed to...
/* Copyright (c) 2012 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 agreed to...
/* Copyright (c) 2012 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 agreed to...
/* Copyright (c) 2012 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 agreed to...
/* Copyright (c) 2012 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 agreed to...
/* Copyright (c) 2012 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 agreed to...
/* * 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...
/* * 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...
/* * 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...
/* * 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...
/* * 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...
/* * 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...
/* * 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 2002, 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 agreed to i...
// Portions copyright 2002, 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 ag...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * Principal.java * * Created on 11/04/2011, 01:51:24 AM */ package principal; import vista.v_categoria; import vista.v_consulta; import vista.v_ingrediente; import vista.v_orden; import vista.v_producto; publ...
package principal; import java.sql.*; import java.util.logging.Level; import java.util.logging.Logger; import patrones.plantilla_conectar; public class Conectar extends plantilla_conectar { @Override public boolean abrir_conectar() { this.driver = "org.postgresql.Driver"; this.conneccion = "jdbc:postgresql:/...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Vector; import javax.swing.JOptionPane; import modelo.m_orden; import modelo.m_producto; import vista.v_ord...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Vector; import modelo.m_consulta; import modelo.m_ingrediente; import modelo.m_orden; import vista.v_consul...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JOptionPane; import modelo.m_ingrediente; import vista.v_ingrediente; public class c_ingrediente impleme...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JOptionPane; import modelo.m_categoria; import vista.v_categoria; public class c_categoria implements A...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Vector; import javax.swing.JOptionPane; import patrones.factoria_categoria; import modelo.m_categoria; impo...
package patrones; //Bridge import java.awt.event.KeyEvent; import javax.swing.JOptionPane; public class validar_numeros implements implementador_validaciones { public void validacion(KeyEvent evt) { char c = evt.getKeyChar();// Declaramos una variable [c] de tipo carácter. // Que permite almacenar la tecla que...
package patrones; import java.awt.event.KeyEvent; public class validacion_abstracta_refinada implements validacion_abstracta{ private implementador_validaciones i_v; public validacion_abstracta_refinada(implementador_validaciones i_v){ this.i_v = i_v; } public void validacion(KeyEvent e) { i_v.va...
package patrones; //Bridge import java.awt.event.KeyEvent; public interface validacion_abstracta { public void validacion(KeyEvent e); }
package patrones; import java.awt.event.KeyEvent; // bridge public interface implementador_validaciones { public abstract void validacion(KeyEvent e); }
package patrones; // patron prototipo, creamos modelos de categoria apartir de un prototipo import java.util.HashMap; import modelo.m_categoria; public class factoria_categoria { private HashMap objetos; private String nombre; public factoria_categoria() { objetos = new HashMap(); objetos.pu...
package patrones; import java.sql.Statement; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; // patron de template public abstract class plantilla_conectar {; protected String usuario; ...
package patrones; // patron prototipo, creamos modelos de categoria apartir de un prototipo public abstract interface i_categoria extends Cloneable { Object clone(); }
package patrones; //Bridge import java.awt.event.KeyEvent; import javax.swing.JOptionPane; public class validar_letras implements implementador_validaciones { @Override public void validacion(KeyEvent evt) { char c = evt.getKeyChar();// Declaramos una variable [c] de tipo carácter. // Que permite almacenar la...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * v_orden.java * * Created on 11/04/2011, 12:33:57 AM */ package vista; import controlador.c_orden; import java.util.Vector; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JSpinner...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * v_categoria.java * * Created on 11/04/2011, 12:33:21 AM */ package vista; import controlador.c_categoria; import javax.swing.JButton; import javax.swing.JTextField; public class v_categoria extends javax.sw...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * v_consulta.java * * Created on 11/04/2011, 12:34:11 AM */ package vista; import controlador.c_consulta; import java.util.Vector; import javax.swing.JButton; import javax.swing.JTable; import javax.swing.table...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * v_ingrediente.java * * Created on 11/04/2011, 12:32:33 AM */ package vista; import controlador.c_ingrediente; import javax.swing.JButton; import javax.swing.JSpinner; import javax.swing.JTextField; public ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * v_producto.java * * Created on 11/04/2011, 12:32:44 AM */ package vista; import controlador.c_producto; import java.util.Vector; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JS...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package modelo; import java.sql.SQLException; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import patrones.i_categoria; import principal.Conectar; public class m_categori...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package modelo; import java.sql.SQLException; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import principal.Conectar; public class m_ingrediente extends Conectar{ Str...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package modelo; import java.sql.SQLException; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import principal.Conectar; public class m_producto extends Conectar{ String ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package modelo; import java.sql.SQLException; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import principal.Conectar; public class m_orden extends Conectar { String co...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package modelo; public class m_consulta { String nombreOrden; float cantidadOrden,precioOrden; public float getCantidadOrden() { return cantidadOrden; } public void setCantidadOrden(floa...
/*Estudiantes: * Fray Salas CI: 17997726 * Colmenares Karem CI. 19849170 * Colmenarez yenifer CI.19431263 * */ package proyectoseccion; import clases.Estudiante; import clases.Profesor; import clases.Seccion; import java.io.*; import java.util.Vector; import pantallas.Pantalla3; public class Main { publ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package clases; /** * */ public class Persona { protected long cedula; protected String nombre; protected String apellido; public Persona() { } public Persona(long cedula, String nombre, ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package clases; import java.util.Vector; /** * */ public interface Evaluar { public void aplicarEvaluacion(Vector<Estudiante> estudiantes); }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package clases; import java.util.Vector; /** * */ public interface Presentar { public Vector<Float> presentar(); }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package clases; import java.util.Vector; public class Seccion { private int numseccion; private int numestudiantes; private Profesor prof; private Vector<Estudiante> estudiantes; p...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * Pantalla4.java * * Created on 19/02/2011, 07:08:53 PM */ package pantallas; import clases.Estudiante; import java.util.Vector; import javax.swing.table.DefaultTableModel; public class Pantalla4 extends java...
package pantallas; import clases.Seccion; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.JFrame; import javax.swing.JOptionPane; /* * NewJFrame.java * * Created on 18 de febrero de 2011, 17:26 */ public class Pantalla3 extends javax.swing.JFrame { private Seccion se...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * Pantalla4.java * * Created on 19/02/2011, 06:42:06 PM */ package pantallas; import clases.Profesor; import clases.Seccion; import java.awt.Dialog.ModalExclusionType; import java.util.Vector; import javax.swi...
package pantallas; import clases.Estudiante; import clases.Seccion; import java.util.Vector; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JTextField; /* * Pantalla2.java * * Created on 18 de febrero de 2011, 17:00 */ /** * * @author 19431263 */ p...
/** Automatically generated file. DO NOT MODIFY */ package vn.javhd; public final class BuildConfig { public final static boolean DEBUG = true; }
package vn.javhd.object; public class categoryItem { private int id; private String title; private int icon; private String url; public int getId() { return id; } public categoryItem(int id, String title, int icon,String url) { super(); this.id = id; this.title = title; this.icon = icon; ...
package vn.javhd.object; import java.util.List; import vn.javhd.R; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseExpandableListAdapter; import android.widget.ImageView; import android.widget.TextView; ...
package vn.javhd.fragment; import vn.javhd.R; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; public class fragmentMain extends Fragment {...
package vn.javhd.staticdata; import java.util.ArrayList; import java.util.List; import vn.javhd.R; import vn.javhd.object.category; public class getStaticData { private static List<category>cate; public static List<category>loadCategories(){ String url = ""; category film = new category("PHIM");...
package vn.javhd.main; import java.util.ArrayList; import java.util.List; import vn.javhd.R; import vn.javhd.fragment.fragmentMain; import vn.javhd.fragment.fragmentMain.onLoadViewPagerFragment; import vn.javhd.object.category; import vn.javhd.object.categoryAdapter; import vn.javhd.staticdata.getStaticData; import a...
package apparat.embedding.maven; import apparat.tools.tdsi.TDSIConfiguration; import apparat.tools.tdsi.TurboDieselSportInjection; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import scala.collection.immutable.List; import java.io.File; /** * @author Jo...
package apparat.embedding.maven; import apparat.log.*; /** * @author Joa Ebert */ public final class MavenLogAdapter implements LogOutput { /** * Maps the level of a given Maven log to a corresponding * Apparat log level. * * @param log The current Maven log. * @return The corresponding Apparat log level...
package apparat.embedding.maven; import apparat.tools.stripper.Stripper; import apparat.tools.stripper.StripperConfiguration; import java.io.File; /** * @author Joa Ebert * @phase package * @goal stripper * @threadSafe */ public final class StripperMojo extends AbstractApparatMojo { @Override protected void pr...
package apparat.embedding.maven; import apparat.tools.reducer.MatryoshkaType; import apparat.tools.reducer.Reducer; import apparat.tools.reducer.ReducerConfiguration; import org.apache.maven.plugin.MojoFailureException; import scala.None$; import scala.Option; import scala.Some; import java.io.File; /** * @author Jo...
package apparat.embedding.maven; import org.apache.maven.artifact.Artifact; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.project.MavenProject; import java.io.File; /** * @author Joa Eb...
package apparat.sevenzip.compression.lzma; import apparat.sevenzip.compression.rangeCoder.BitTreeDecoder; import apparat.sevenzip.compression.lz.OutWindow; import java.io.IOException; public class Decoder { class LenDecoder { short[] m_Choice = new short[2]; BitTreeDecoder[] m_LowCoder = new BitTreeD...