text stringlengths 3 1.18M |
|---|
import java.lang.*;
import java.io.*;
import javax.sound.sampled.*;
import java.math.*;
class Create_Customization_Files {
//A Class to test and benchmark Convolution
public static void main(String[] args) {
if (args.length != 2) {
System.err.println("usage: stero.wav volume");
return;
}... |
// Wav file IO class
// A.Greensted
// http://www.labbookpages.co.uk
// File format is based on the information from
// http://www.sonicspot.com/guide/wavefiles.html
// http://www.blitter.com/~russtopia/MIDI/~jglatt/tech/wave.htm
// Version 1.0
import java.io.*;
public class WavFile
{
private enum IOState {READING... |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MP... |
import java.lang.*;
import java.io.*;
import javax.sound.sampled.*;
import java.math.*;
class Signal {
public String fileName;
public int sampleRate, numChannels, numFrames;
public double[][] buffer;
public Signal(String file){
fileName = file;
try{
// Open the wav file
... |
import java.lang.*;
import java.io.*;
import javax.sound.sampled.*;
import java.math.*;
class Run {
public static void main(String[] args) {
if (args.length != 5) {
System.err.println("usage: stero.wav x y z out.wav");
return;
}
String w1_filename = args[0];
String lr = args[1];
... |
package language;
public enum Languages {
de_DE,
en_GB;
}
|
package language;
import java.util.Locale;
import java.util.ResourceBundle;
import com.sharkysoft.printf.Printf;
import com.sharkysoft.printf.PrintfTemplate;
public class TextHandler {
private ResourceBundle bundle;
private Languages actualLanguage = Languages.de_DE;
private boolean isLoaded = false;
pri... |
package nftrainer.interfaces;
import java.util.HashMap;
import language.TextHandler;
public interface IController {
public void start(TextHandler textHandler);
public String getTask();
public String getActualSubtask();
public HashMap<Integer, String[][]> getActualTaskTable();
public HashMap<Integer, ... |
package nftrainer.taskmanager.interfaces;
import java.util.HashMap;
import java.util.List;
import nftrainer.helper.NFMap;
public interface ITaskManager {
public void loadRandomTask();
public boolean isFirstNF();
public List<String> getNotFirstNFColumns();
public List<NFMap> getFunctional();
public List... |
package nftrainer.taskmanager;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Random;
import language.Languages;
import language.TextHandler;
import nftrainer.dbconnect.DBConnector;
import nftrainer.dbconnect.interfaces.IDBConnector;
import... |
package nftrainer.taskmanager;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import nftrainer.helper.NFMap;
public class Task {
private int nf, id;
private String text;
//private String[][] table, table1;
private List<NFMap> functional = new ArrayList<NFMap>();
private List<NF... |
package nftrainer;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import language.TextHandler;
import nftrainer.helper.NFMap;
import nftrainer.interfaces.IController;
import nftrainer.taskmanager.TaskManager;
import nftrainer.taskmanager.interfaces.ITaskMan... |
package nftrainer.dbconnect.interfaces;
import language.Languages;
import nftrainer.taskmanager.Task;
public interface IDBConnector {
public void getRandomTask(Task task, Languages lang);
public int getTaskAmount(Languages lang);
public void openConnection();
public void closeConnection();
public Stri... |
package nftrainer.dbconnect;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.ResourceBundle;
import language.Languages;
import nftrainer.dbconnect.interfaces.IDBC... |
package nftrainer.helper;
import java.util.ArrayList;
import java.util.Collections;
public class NFMap {
private ArrayList<String> keys, values, all;
private String allAsString;
public NFMap () {
keys = new ArrayList<String>();
values = new ArrayList<String>();
all = new ArrayList<String>();
}
publi... |
package nftrainer.helper;
public class Parser {
public NFMap parse(String toParse) {
NFMap map = new NFMap();
String[] result = toParse.split(":");
for (String s : result[0].split(",")) {
map.addToKeys(s);
map.addToAll(s);
}
for (String s : result[1].split(",")) {
map.addToValues(s);
map.addT... |
package language;
public enum Languages {
de_DE,
en_GB;
}
|
package language;
import java.util.Locale;
import java.util.ResourceBundle;
import com.sharkysoft.printf.Printf;
import com.sharkysoft.printf.PrintfTemplate;
public class TextHandler {
private ResourceBundle bundle;
private Languages actualLanguage = Languages.de_DE;
private boolean isLoaded = false;
pr... |
package admin;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import nftrainer.dbconnect.DBConnector;
import nftrainer.dbconnect.interfaces.IDBConnector;
public ... |
package admin;
public class Manager {
}
|
package nftrainer.interfaces;
import java.util.HashMap;
import language.TextHandler;
public interface IController {
public void start(TextHandler textHandler);
public String getTask();
public String getActualSubtask();
public HashMap<Integer, String[][]> getActualTaskTable();
public HashMap<Integer, ... |
package nftrainer.taskmanager.interfaces;
import java.util.HashMap;
import java.util.List;
import nftrainer.helper.NFMap;
public interface ITaskManager {
public void loadRandomTask();
public boolean isFirstNF();
public List<String> getNotFirstNFColumns();
public List<NFMap> getFunctional();
public List... |
package nftrainer.taskmanager;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Random;
import language.Languages;
import language.TextHandler;
import nftrainer.dbconnect.DBConnector;
import nftrainer.dbconnect.interfaces.IDBConnector;
import... |
package nftrainer.taskmanager;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import nftrainer.helper.NFMap;
public class Task {
private int nf, id;
private String text;
//private String[][] table, table1;
private List<NFMap> functional = new ArrayList<NFMap>();
private List<NF... |
package nftrainer;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import language.TextHandler;
import nftrainer.helper.NFMap;
import nftrainer.interfaces.IController;
import nftrainer.taskmanager.TaskManager;
import nftrainer.taskmanager.interfaces.ITaskMan... |
package nftrainer.dbconnect.interfaces;
import java.sql.Connection;
import java.sql.SQLException;
import language.Languages;
import nftrainer.taskmanager.Task;
public interface IDBConnector {
public void getRandomTask(Task task, Languages lang);
public int getTaskAmount(Languages lang);
public void openCon... |
package nftrainer.dbconnect;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.DataSource;
im... |
package nftrainer.helper;
import java.util.ArrayList;
import java.util.Collections;
public class NFMap {
private ArrayList<String> keys, values, all;
private String allAsString;
public NFMap () {
keys = new ArrayList<String>();
values = new ArrayList<String>();
all = new ArrayList<String>();
}
publi... |
package nftrainer.helper;
public class Parser {
public NFMap parse(String toParse) {
NFMap map = new NFMap();
String[] result = toParse.split(":");
if (result != null) {
if (result.length > 0) {
for (String s : result[0].split(",")) {
map.addToKeys(s);
map.addToAll(s);
}
}
if (resu... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package competition;
/**
*
* @author Administrateur
*/
public class JPADAOFactory {
}
|
/*
* CompetitionApp.java
*/
package competition;
import org.jdesktop.application.Application;
import org.jdesktop.application.SingleFrameApplication;
/**
* The main class of the application.
*/
public class CompetitionApp extends SingleFrameApplication {
/**
* At startup create and show the main frame ... |
/*
*/
package competition;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.EntityTransaction;
import javax.persistence.Persistence;
/**
*
* @author atchounikine
*/
public class JpaUtil {
private static EntityManagerFactory emf;
private static ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package competition.business;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.pe... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package competition.business;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
/**
*
* @auth... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package competition.business;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.per... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package competition.business;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.pe... |
/*
* CompetitionView.java
*/
package competition;
import competition.JPA.JPAEvent;
import competition.JPA.JPASport;
import competition.business.Culture;
import competition.business.Sport;
import competition.business.Rigolo;
import org.jdesktop.application.SingleFrameApplication;
import org.jdesktop.application.Fram... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package competition.JPA;
import competition.DAO.SportDAO;
import competition.JpaUtil;
import competition.business.Sport;
import java.util.List;
import javax.persistence.Query;
/**
*
* @author Administrateur
*/
publ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package competition.JPA;
import competition.DAO.CultureDAO;
import competition.JpaUtil;
import competition.business.Culture;
import java.util.List;
import javax.persistence.Query;
/**
*
* @author Administrateur
*/
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package competition.JPA;
import competition.business.AbstractEvent;
import competition.*;
import competition.DAO.AbstractEventDAO;
import java.util.List;
import javax.persistence.Query;
/**
*
* @author Administrateu... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package competition;
/**
*
* @author Administrateur
*/
public abstract class DAOFactory {
}
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package competition.DAO;
import competition.business.Sport;
import java.util.List;
/**
*
* @author Administrateur
*/
public interface SportDAO extends AbstractEventDAO {
List<Sport> GetSportByStrength(int Stren... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package competition.DAO;
import competition.business.Culture;
import java.util.List;
/**
*
* @author Administrateur
*/
public interface CultureDAO extends AbstractEventDAO{
List<Culture> getCultureByTheme(Strin... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package competition.DAO;
import competition.business.AbstractEvent;
import competition.*;
import java.util.List;
/**
*
* @author Administrateur
*/
public interface AbstractEventDAO {
void CreateEvent(AbstractEv... |
package br.uece.threeopt.heuristica.caixeiroviajante;
/**
* @author patrick cunha
* @version 1.0
* A classe ponto representa cada cidade que o
* caixeiro viajante deve visitar
* */
public class Ponto{
private Integer id;
private Double coordX;
private Double coordY;
private Boolean usado = false;
private ... |
package br.uece.threeopt.heuristica.caixeiroviajante;
import java.util.Arrays;
import br.uece.threeopt.heuristica.sequenciamento.Sequencia;
public class Caminho implements Cloneable, Comparable<Caminho>{
private Ponto[] ponto = null;
private Double distancia = 0d;
public Ponto[] getPonto() {
ret... |
package br.uece.threeopt.heuristica.caixeiroviajante;
import java.util.List;
import br.uece.threeopt.utils.Mathematica;
/**
* @author patrick cunha
* @version 1.0
* Classe responsável por criar a matriz de adjacencia
* apartir de um List de Ponto ou de uma vetor com
* valores de metade da matriz
* */
public c... |
package br.uece.threeopt.heuristica.caixeiroviajante;
/**
* @author patrick cunha
* @version 1.0
* classe que representa uma célula da matriz
* de adjacencia informando a distancia entre os pontos envolvidos
* */
public class Celula implements Comparable<Celula>{
public Celula() {
}
public Celula(Ponto or... |
package br.uece.threeopt.heuristica.sequenciamento;
import java.io.File;
import br.uece.threeopt.utils.ArquivoUtils;
/**
* <p>
* Mantem uma referência estática na memória da matriz
* para que não seja necessário fazer i/o novamente
* Cada vez que o usuário selecionar um novo path
* uma nova instancia de Matriz d... |
package br.uece.threeopt.heuristica.sequenciamento;
public class Job {
private Maquina maquina;
private Tarefa tarefa;
private Integer tempo;
public Maquina getMaquina() {
return maquina;
}
public void setMaquina(Maquina maquina) {
this.maquina = maquina;
}
public Tarefa getTarefa() {
... |
package br.uece.threeopt.heuristica.sequenciamento;
import java.io.File;
import br.uece.threeopt.heuristica.opt.ThreeOptSequencial;
public class Fabrica {
public static void main(String[] args) {
@SuppressWarnings("unused")
Matriz jobs = new Matriz() {
public File getArquivo() {
return new File("/ho... |
package br.uece.threeopt.heuristica.sequenciamento;
import java.util.Arrays;
public class Sequencia implements Comparable<Sequencia>{
private Tarefa[] tarefas;
private Integer tempo;
public Sequencia(Tarefa[] tarefas, Integer tempo) {
this.tarefas = tarefas;
this.tempo = tempo;
}
public Tarefa[] getTa... |
package br.uece.threeopt.heuristica.sequenciamento;
public class Tarefa {
private Integer id;
public Tarefa(){}
public Tarefa(Integer id){
this.id = id;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
@Override
public int hashCode() {
final int prime ... |
package br.uece.threeopt.heuristica.sequenciamento;
public class Maquina {
private Integer id;
public Maquina() {
}
public Maquina(Integer id){
this.id = id;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
@Override
public int hashCode() {
final int ... |
package br.uece.threeopt.heuristica.opt;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import java.util.TreeSet;
import br.uece.threeopt.heuristica.sequenciamento.Job;
import br.uece.threeopt.heuristica.sequenciamento.Maquina;
import br.uece.threeopt.heuristica... |
package br.uece.threeopt.heuristica.ui;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
public class frmPrincipal extends JFrame {
public frmPrincipal() {
inicializaComponentes();
this.setExtendedState(MAXIMIZED_BOTH);
}
/**
* ... |
package br.uece.threeopt.heuristica.ui;
public class Main {
/**
* @author raquel silveira e paulo alberto
* @version 1.0
* Inicia o projeto
* @param evento
*/
public static void main(String[] args) {
frmPrincipal form = new frmPrincipal();
form.setVisible(true);
}
} |
package br.uece.threeopt.utils;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import br.uece.threeopt.heuristica.sequenciamento.Tarefa;
public class TesteShuffle {
public static void main(String[] args) {
Tarefa[] lista = new Tarefa[10];
for (int i =... |
package br.uece.threeopt.utils;
import br.uece.threeopt.heuristica.caixeiroviajante.Celula;
import br.uece.threeopt.heuristica.caixeiroviajante.Ponto;
/**
* @author patrick cunha
* @version 1.0
* Classe responsavel por encapsular qualquer calcula matematico
* */
public class Mathematica {
public static Celula c... |
package br.uece.threeopt.utils;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
import br.uece.threeopt.heuristica.caixeiroviajante.Celu... |
package br.uece.threeopt.utils;
import java.util.ArrayList;
import java.util.List;
import br.uece.threeopt.heuristica.sequenciamento.Tarefa;
public class Sequenciador {
public static List<Tarefa[]> geraSequenciasPossiveis(int[] indexs, Tarefa[] tarefas){
List<Tarefa[]> listTarefas = new ArrayList<Tarefa[]>()... |
package models;
import java.util.*;
import javax.persistence.*;
import play.db.jpa.*;
import play.data.validation.*;
@Entity
public class InspectionRecord extends Model {
@Required
@ManyToOne
public Employee EmployeeID;
@MaxSize(10)
public String SeqNo;
public Integer Year;
... |
package models;
import java.util.*;
import javax.persistence.*;
import play.db.jpa.*;
import play.data.validation.*;
/**
* Leave is mysql reserv word
*/
@Entity
public class LeaveRec extends Model {
@Required
@ManyToOne
public MasLocation MasLoc;
@Required
@ManyToOne
p... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package models;
/**
*
* @author Jarjarbing
*/
import play.db.jpa.*;
import javax.persistence.*;
import play.data.validation.*;
@Entity
public class Location extends Model{
@Required
@MaxSize(10)
... |
package models;
import java.util.*;
import javax.persistence.*;
import play.db.jpa.*;
import play.data.validation.*;
@Entity
public class Employee extends Model {
/* @Require
@MaxSize(10)
public String id;*/
@Required
@ManyToOne
public MasLocation MasLoc;
@Required
... |
package models;
import java.util.*;
import javax.persistence.*;
import play.db.jpa.*;
import play.data.validation.*;
@Entity
public class EmployeeAward extends Model {
@Required
@ManyToOne
public MasLocation MasLoc;
@Required
@ManyToOne
public Company CompanyID;
//not s... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package models;
import javax.persistence.Entity;
import net.sf.oval.constraint.Email;
import net.sf.oval.constraint.MaxSize;
import play.data.validation.Phone;
import play.data.validation.Required;
import play.data.vali... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package models;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persisten... |
package models;
import java.util.*;
import javax.persistence.*;
import play.db.jpa.*;
import play.data.validation.*;
@Entity
public class Training extends Model {
@Required
@ManyToOne
public MasLocation MasLoc;
@Required
@ManyToOne
public Company CompanyID;
@ManyToMany(... |
package models;
import java.util.*;
import javax.persistence.*;
import play.db.jpa.*;
import play.data.validation.*;
@Entity
public class HealthCheck extends Model {
@Required
@ManyToOne
public MasLocation MasLoc;
@Required
@ManyToOne
public Company CompanyID;
@Required... |
package models;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Jarjarbing
*/
import javax.persistence.*;
import play.db.jpa.*;
import play.data.validation.*;
@Entity
public class MasLocation extends Model{
@Required
@MaxSize(3)
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package controllers;
import java.util.List;
import models.Company;
import threei.play.base.DesignController;
/**
*
* @author Tech
*/
public class Inventory extends DesignController {
public static void manageLoc... |
package controllers;
import play.mvc.Controller;
public class Application extends Controller {
public static void index() {
render();
}
public static void Transaction1(){
render();
}
public static void ReportStarter() {
render();
}
public static void Master... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package controllers;
/**
*
* @author Tech
*/
public class Companys extends CRUD{}
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package controllers.transaction;
import java.util.List;
import models.Company;
import threei.play.base.DesignController;
/**
*
* @author Tech
*/
public class Inventory extends DesignController{
public stati... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package threei.play.base;
import play.Play;
import play.mvc.Before;
import play.mvc.Controller;
/**
*
* @author Tech
*/
public class DesignController extends Controller {
@Before
public static void configGl... |
import models.Company;
import play.jobs.Job;
import play.jobs.OnApplicationStart;
import play.test.Fixtures;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Jarjarbing
*/
@OnApplicationStart
public class Bootstrap extends Job {
@Overr... |
^.*\b(error|fatal)\b.*$
-----
[Sun Mar 7 16:02:00 2004] [info] contextInitialized
[Sun Mar 7 16:02:00 2004] [notice] resuming normal operations
[Sun Mar 7 16:02:00 2004] [info] Server built: Feb 27 2004 13:56:37
[Sun Mar 7 16:02:00 2004] [notice] Accept mutex: sysvsem
[Sun Mar 7 16:05:49 2004] [warn] Connectio... |
boolean matches(String regex)
// Tells whether or not this string
// matches the given regular expression.
String[] split(String regex)
// Splits this string around matches
// of the given regular expression.
|
/*
* 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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... |
package com.android.stubs;
public enum InterfaceEnum
implements com.android.stubs.Parent.Interface
{
VAL();
public void method() { throw new RuntimeException("Stub!"); }
public static final java.lang.Object OBJECT;
static { OBJECT = null; }
}
|
package com.android.stubs;
public enum SomeEnum
{
A(),
B(),
C();
}
|
package com.android.stubs;
public class Types
{
public static interface Interface
{
public static final boolean public_static_final_boolean = false;
public static final char public_static_final_char = 0;
public static final short public_static_final_short = 0;
public static final int public_static_final_int = 0;
public... |
package com.android.stubs.a;
public interface SomeInterface
{
}
|
package com.android.stubs.a;
public abstract class A
extends com.android.stubs.Parent
implements com.android.stubs.Parent.Interface, com.android.stubs.a.SomeInterface
{
public class Inner
{
public Inner() { throw new RuntimeException("Stub!"); }
}
protected A(int a) { throw new RuntimeException("Stub!"); }
public... |
package com.android.stubs.b;
public class B
{
public B() { throw new RuntimeException("Stub!"); }
}
|
package com.android.stubs;
@com.android.stubs.Annot(value="asdf")
public class Parent
{
public static interface Interface
{
public void method();
}
public Parent() { throw new RuntimeException("Stub!"); }
public java.lang.String methodString() { throw new RuntimeException("Stub!"); }
public int method(boolean b, ch... |
package com.android.stubs;
@java.lang.annotation.Documented()
@java.lang.annotation.Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME)
@java.lang.annotation.Target(value={java.lang.annotation.ElementType.TYPE})
public @interface Annot
{
java.lang.String value() default "yo\u1234";
}
|
/*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.