answer stringlengths 17 10.2M |
|---|
package github.nisrulz.sample.gcmnetworkmanager;
import android.util.Log;
import com.google.android.gms.gcm.GcmNetworkManager;
import com.google.android.gms.gcm.GcmTaskService;
import com.google.android.gms.gcm.TaskParams;
public class CustomService extends GcmTaskService {
private static final String TAG = "CustomSe... |
package org.jdesktop.swingx;
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.InputEvent;
import java.awt.event.MouseEvent;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
impo... |
package owltools.gaf.lego.server.handler;
import static org.junit.Assert.*;
import static owltools.gaf.lego.MolecularModelJsonRenderer.*;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.junit.AfterClass;
import org.junit.BeforeClass;
i... |
package org.opentdc.service;
import javax.ws.rs.core.MediaType;
import org.apache.cxf.binding.BindingFactoryManager;
import org.apache.cxf.jaxrs.JAXRSBindingFactory;
import org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean;
import org.apache.cxf.jaxrs.client.WebClient;
/**
* Utility methods for calling opentdc servic... |
public class HelloPlanchester {
public static void helloTeam() {
System.out.println("Hello Team D!");
System.out.println("Welcome");
}
} |
package com.sqli.echallenge.jformation.model.entity;
import java.util.Date;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persisten... |
package com.valkryst.VTerminal;
import com.valkryst.VTerminal.misc.IntRange;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.awt.*;
public class AsciiStringTest {
private final String testString = "ABCDEFGHJIKLMNOP";
private AsciiString string;
@Before
public void in... |
package fredboat.command.fun;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.JsonNode;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
import fredboat.Config;
import fredboat.commandmeta.abs.Command;
import fredboat.commandmeta.abs.IFu... |
package org.openmrs.api.context;
import org.openmrs.User;
import org.openmrs.api.APIAuthenticationException;
import org.openmrs.api.APIException;
import org.openmrs.api.OpenmrsService;
import org.openmrs.module.DaemonToken;
import org.openmrs.module.Module;
import org.openmrs.module.ModuleException;
import org.openmrs.... |
package com.example.moreapp;
import android.content.Context;
import android.text.TextUtils;
import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.toolbox.Volley;
public class App{
public RequestQueue requestQueue;
private static App mInstance;
public static Con... |
package com.supertoastsdemo;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
... |
package com.valkryst.VTerminal;
import com.valkryst.VTerminal.misc.IntRange;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.awt.*;
public class AsciiStringTest {
private final String testString = "ABCDEFGHJIKLMNOP";
private AsciiString string;
@Before
public void in... |
package group5.trackerexpress;
import java.util.ArrayList;
import java.util.Locale;
import android.R.array;
import android.app.ActionBar;
import android.app.AlertDialog;
import android.app.FragmentTransaction;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import ... |
package net.leolink.android.twitter4a;
import net.leolink.android.twitter4a.utils.Constants;
import net.leolink.android.twitter4a.widget.LoginDialog;
import net.leolink.android.twitter4a.widget.Spinner;
import twitter4j.Twitter;
import twitter4j.TwitterException;
import twitter4j.TwitterFactory;
import twitter4j.User;
... |
package io.openkit.unity.android;
import java.util.Locale;
import io.openkit.OKAchievementScore;
import io.openkit.OKLeaderboard;
import io.openkit.OKLoginActivity;
import io.openkit.OKManager;
import io.openkit.OKScore;
import io.openkit.OKUser;
import io.openkit.OKScore.ScoreRequestResponseHandler;
import io.openkit.... |
package edu.wustl.common.security;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.Vector;
import edu.wustl.catissuecore.domain.AbstractDomainObject;
import edu.wustl.catissuecore.util.Permissions;
import edu.wustl.catissuecore.util.global.Constants;
im... |
package org.opencms.gwt.client.ui;
import org.opencms.gwt.client.ui.css.I_CmsLayoutBundle;
import org.opencms.gwt.client.ui.css.I_CmsLayoutBundle.I_CmsListItemWidgetCss;
import org.opencms.gwt.client.ui.input.CmsInlineLabel;
import org.opencms.gwt.client.ui.input.CmsLabel;
import org.opencms.gwt.client.util.CmsDomUtil;... |
package VASSAL.build.module;
import java.awt.AlphaComposite;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.event.ItemEvent;
import java.awt.image.BufferedImage;
impo... |
import java.util.*;
import java.util.stream.*;
public class Traveller
{
public Traveller (Maze maze, boolean debug)
{
_theMaze = maze;
_debug = debug;
}
public int findAllKeys (List<String> inputs)
{
Vector<Wormhole> outerWormholes = _theMaze.outerWormholes();
Vector<... |
package test.ccn.data.util;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InvalidObjectException;
import java.sql.Timestamp;
import java.util.logging.Level;
import javax.xml.stream.XMLStreamException;
import org.bouncycastle.util.Arrays;
import org.junit.AfterClass;
import org.junit.A... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
package rtc.pa.write;
import java.time.Instant;
import com.ibm.team.process.client.IProcessItemService;
import com.ibm.team.process.common.IDevelopmentLine;
import com.ibm.team.process.common.IIteration;
import com.ibm.team.process.common.IProcessItem;
import com.ibm.team.process.common.IProjectArea;
import com.ibm.tea... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platforms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
package org.helioviewer.jhv;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import javax.swing.JFrame;
import javax.swing.JPopupMenu;
import javax.swing.SwingUtilities;
import javax.swing.ToolTipM... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
package jorgediazest.util.output;
import com.liferay.portal.kernel.dao.search.ResultRow;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.language.LanguageUtil;
import com.liferay.portal.kernel.log.Log;
import com.li... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platforms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
package net.katsuster.strview.media;
import net.katsuster.strview.io.*;
import net.katsuster.strview.util.*;
/**
* <p>
* Num
* </p>
*
* @author katsuhiro
*/
public class NumFormatter {
public static final String FORMAT_ADDRESS = "%6x.%d-%6x.%d";
public static final String FORMAT_NAME = "%-32s";
pub... |
package AlgosTraitement;
import Client.Constantes;
import Controleurs.ControleurExterne;
import Controleurs.ControleurInterne;
import Requetes.Requete;
import Requetes.RequeteExterne;
/**Description de le strategies de traitement interne standard.
* @author Thomas
*/
public class AlgoTraitementExterneStandard impleme... |
package de.otto.jlineup.web;
import de.otto.jlineup.JLineupRunner;
import de.otto.jlineup.RunStepConfig;
import de.otto.jlineup.config.JobConfig;
import de.otto.jlineup.config.Step;
import de.otto.jlineup.service.BrowserNotInstalledException;
import de.otto.jlineup.web.configuration.JLineupWebProperties;
import org.spr... |
package edu.gatech.oad.antlab.person;
/**
* A simple class for person 4
* returns their name and a
* modified string
*
* @author Bob, Joshua Valdez
* @version 1.1
*/
public class Person4 {
/** Holds the persons real name */
private String name;
/**
* The constructor, takes in the persons
*... |
package butterknife;
import android.app.Activity;
import android.app.Dialog;
import android.support.annotation.CheckResult;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.UiThread;
import android.support.annotation.VisibleForTesting;
import andro... |
package petablox.android.analyses;
import soot.Scene;
import soot.SootClass;
import soot.SootMethod;
import soot.SootField;
import soot.Local;
import soot.Immediate;
import soot.Value;
import soot.Unit;
import soot.Body;
import soot.Type;
import soot.RefLikeType;
import soot.RefType;
import soot.PrimType;
import soot.V... |
package com.smixx.fabric;
import android.app.Activity;
import android.util.Log;
import com.crashlytics.android.Crashlytics;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.bridg... |
package net.katsuster.strview.gui;
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import net.katsuster.strview.util.*;
import net.katsuster.strview.util.gui.*;
import net.katsuster.strview.io.*;
/**
* <p>
*
* </p>
*
* @author katsuhiro
*/
public cla... |
package org.cache2k.integration;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.Executor;
/**
* Retrieves or generates a value to load into the cache.
*
* <p>The alternative loader interface {@link AdvancedCacheLoader} provides the loader
* with the current cache value.
*
* @author Je... |
package mpi;
import p2pmpi.mpi.MPI;
import air.SimWorld;
import air.Simulator;
public class SendThread extends Thread {
/**
* The last lookahead value that was used
*/
long lookAhead = 0;
long defaultLookAhead = MpiEvent.getDefaultLookAhead();
Simulator simulator;
public SendThread(Simulat... |
package ru.matevosyan.start;
import ru.matevosyan.models.Item;
import java.util.Arrays;
public class StartUI {
/**
* Input instance variable input.
*/
private Input input;
/**
* Input instance variable tracker.
*/
private Tracker tracker;
/**
* Constructor for StartUI.
... |
package com.osmbonuspackdemo;
import java.io.File;
import java.io.IOException;
import java.util.AbstractList;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import java.util.Stack;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org.osmdroid.Resour... |
package dk.aau.sw402F15.CodeGenerator;
import dk.aau.sw402F15.Symboltable.Scope;
import dk.aau.sw402F15.Symboltable.ScopeDepthFirstAdapter;
import dk.aau.sw402F15.Symboltable.Symbol;
import dk.aau.sw402F15.Symboltable.Type.SymbolType;
import dk.aau.sw402F15.parser.node.*;
import sun.reflect.generics.reflectiveObjects.N... |
package dk.aau.sw402F15.CodeGenerator;
import dk.aau.sw402F15.Symboltable.Scope;
import dk.aau.sw402F15.Symboltable.ScopeDepthFirstAdapter;
import dk.aau.sw402F15.Symboltable.Symbol;
import dk.aau.sw402F15.Symboltable.SymbolArray;
import dk.aau.sw402F15.Symboltable.Type.SymbolType;
import dk.aau.sw402F15.parser.node.*;... |
package algorithms.imageProcessing;
/**
*
* @author nichole
*/
public class PartialShapeMatcher {
} |
package ie.dit;
import ddf.minim.Minim; //import the minim library
import ddf.minim.AudioPlayer;
import java.util.ArrayList;
import processing.core.PApplet; //import the processing PApplet
import processing.core.PVector; //import the processing PVector
public class Helicopter extends GameObject { //create the Helicopte... |
// JSBuiltInFunctions.java
package ed.js.engine;
import java.io.*;
import java.util.*;
import java.lang.reflect.*;
import com.twmacinta.util.*;
import ed.log.*;
import ed.js.*;
import ed.js.func.*;
import ed.io.*;
import ed.net.*;
import ed.util.*;
import ed.security.*;
public class JSBuiltInFunctions {
static {
... |
package application;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.*;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.stage.DirectoryChooser;
import org.apache.commons.net.ftp.FTPClient;
import org.apache.commons.net.ftp.FTPFile;
import org.ap... |
package net.stefankrause;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.OpenOption;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.*;
import java.util.logging.Level;
import java.util.stream.Collectors;
import java.uti... |
package br.odb.libscene;
import java.io.Serializable;
public class CameraNode extends DirectedSceneNode implements Serializable {
private static final long serialVersionUID = 9054020252855916205L;
public CameraNode(SceneNode other) {
super(other);
if (other instanceof CameraNode) {
s... |
package ch.bind.philib.io;
public final class RingImpl<T> implements Ring<T> {
private static final int INITIAL_RING_LEN = 4;
private static final int RING_LEN_ENHANCING_FACTOR = 2;
private int off;
private int size;
private Object[] ring;
@Override
public void addBack(final T value) {
... |
package cn.edu.kmust.seanlp;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* <br>
*
*
* @author Zhao Shiyu
*
*/
public class Config {
public static boolean DEBUG = false;
public static Language language = Language.Thai;
public static final class BaseConf {
public static... |
package com.groundrise.cleave;
import com.lexicalscope.jewel.cli.ArgumentValidationException;
import com.lexicalscope.jewel.cli.CliFactory;
import com.lexicalscope.jewel.cli.HelpRequestedException;
import com.lexicalscope.jewel.cli.InvalidOptionSpecificationException;
import java.io.BufferedInputStream;
import java.io.... |
package com.justjournal.db;
import com.fasterxml.jackson.annotation.*;
import com.justjournal.utility.HTMLUtil;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
/**
* Journal entry transfer object. Contains one journal entry. Maps relationship between table "entry" and java.
*
* @auth... |
package com.lange.trader.main;
import com.codepoetics.protonpack.StreamUtils;
import com.google.common.base.Function;
import com.google.common.base.Optional;
import com.google.common.base.Supplier;
import com.google.common.collect.Maps;
import com.lange.trader.algo.BuyWhenBullishTradingAlgorithm;
import com.lange.trade... |
package com.profiler.context;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.profiler.common.ServiceType;
import com.profiler.interceptor.MethodDescriptor;
import com.profiler.sender.DataSender;
import com.profiler.sender.LoggingDataSender;
/**
* @author netspider
*/
public final class Tr... |
package controller;
import constant.Urls;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class IndexController {
// ATTRIBUTES
// METHODS
@RequestMapping(Urls.ROOT)
public String index() {
return "index";
}
... |
package controllers;
import java.awt.Desktop;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.URL;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collections;
import java.util.Optional;
import java.util.ResourceBundle;
impo... |
package cz.quanti.mailq;
public class Pagination {
private Long limit;
private Long offset;
public static final Pagination DEFAULT = new Pagination(100L,0L);
public Pagination(Long limit, Long offset) {
this.limit = limit;
this.offset = offset;
}
public static Pagination create(L... |
package de.baumato.loc;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UncheckedIOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardOpenOption;
import java.util.Collection;
import java.util.stream.Stream;
import de... |
package dk.itu.kelvin.layout;
// JavaFX scene utilities
import javafx.scene.Group;
// JavaFX geometry
import javafx.geometry.Bounds;
// Utilities
import dk.itu.kelvin.util.Collection;
// Models
import dk.itu.kelvin.model.BoundingBox;
import dk.itu.kelvin.model.Element;
import dk.itu.kelvin.model.Node;
import dk.itu.kel... |
package ee.shy.storage;
import ee.shy.map.UnkeyableSimpleMap;
import org.apache.commons.io.IOUtils;
import java.io.*;
import java.security.DigestInputStream;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* Map-like abstract storage class for binary data.
* Access data by hash.... |
package hextostring;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.nio.charset.Charset;
import hextostring.debug.DebuggingFlags;
import hextostring.replacement.Replacements;
import hextostring.utils.Charsets;
import main.options... |
package hudson.remoting;
import hudson.remoting.Channel.Mode;
import java.io.ObjectStreamClass;
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStre... |
package io.irontest.ws;
import io.irontest.db.ArticleDAO;
import io.irontest.models.Article;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import java.util.Date;
import java.util.List;
@WebService
public class ArticleSOAP {
private final ArticleDAO dao;
public ArticleSOAP(A... |
package io.swagger.api;
import org.apache.kudu.client.AsyncKuduClient;
public class KuduContext {
private static KuduContext INSTANCE;
private final AsyncKuduClient kuduClient_;
public static String master_addr_ = "0.0.0.0:7051";
public AsyncKuduClient getClient() {
return kuduClient_;
}
... |
package javaslang.lambda;
import java.io.Serializable;
import java.util.function.Function;
import javaslang.Tuples;
public interface Functions {
/**
* A function with one argument which implements Serializable in order to obtain runtime type information about the
* lambda via {@link javaslang.lambda.Lambd... |
package me.coley.recaf.ui;
import javafx.scene.Node;
import javafx.scene.control.*;
import javafx.stage.FileChooser;
import javafx.stage.FileChooser.ExtensionFilter;
import javafx.stage.Stage;
import me.coley.recaf.command.impl.Export;
import me.coley.recaf.config.ConfBackend;
import me.coley.recaf.control.gui.GuiContr... |
package mezz.jei;
import javax.annotation.Nonnull;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import net.minecraft.client.network.NetHandlerPlayClient;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.client.FMLClientHandler;
import net.minecraftforge.fml.clie... |
package net.dean.jraw;
import com.fasterxml.jackson.databind.JsonNode;
import net.dean.jraw.auth.AuthenticationListener;
import net.dean.jraw.http.*;
import net.dean.jraw.http.oauth.Credentials;
import net.dean.jraw.http.oauth.InvalidScopeException;
import net.dean.jraw.http.oauth.OAuthData;
import net.dean.jraw.http.o... |
package net.xprova.piccolo;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
impo... |
package org.cactoos.func;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.ThreadFactory;
import org.cactoos.Func;
import org.cactoos.Proc;
/**
* Func that runs in the background.
*
* <p>If you want your piece of code ... |
package org.galibier.util;
import org.openflow.protocol.OFFeaturesReply;
import org.openflow.protocol.OFFeaturesReply.OFCapabilities;
import org.openflow.protocol.OFPhysicalPort.OFPortConfig;
import org.openflow.protocol.OFPhysicalPort.OFPortFeatures;
import org.openflow.protocol.OFPhysicalPort.OFPortState;
import org.... |
package org.jugbd.mnet.domain;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotEmpty;
import org.jugbd.mnet.domain.enums.Role;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.... |
package org.kohsuke.github;
import java.util.Locale;
public enum GHEvent {
COMMIT_COMMENT,
CREATE,
DELETE,
DEPLOYMENT,
DEPLOYMENT_STATUS,
DOWNLOAD,
FOLLOW,
FORK,
FORK_APPLY,
GIST,
GOLLUM,
INSTALLATION,
INSTALLATION_REPOSITORIES,
INTEGRATION_INSTALLATION_REPOSITORI... |
package org.mamute.dao;
import static java.util.Collections.EMPTY_LIST;
import static org.hibernate.criterion.Order.desc;
import static org.hibernate.criterion.Projections.rowCount;
import static org.hibernate.criterion.Restrictions.and;
import static org.hibernate.criterion.Restrictions.eq;
import static org.hibernate... |
package ru.carabi.server;
import java.io.Serializable;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Date;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.Concurren... |
package seedu.unburden.ui;
import javafx.fxml.FXML;
import javafx.scene.Node;
import javafx.scene.control.Label;
import javafx.scene.layout.HBox;
import seedu.unburden.model.task.ReadOnlyTask;
//@@Gauri Joshi A0143095H
public class TaskCard extends UiPart{
private static final String FXML = "TaskListCard.fxml";
... |
package soo.swallow.base;
import java.io.File;
import java.io.IOException;
public class FileUtils {
private static final String TAG = "FileUtils
/**Create a file by particular directory file and particular name, the file is not directory
* @param directory The directory of the file which to be created
... |
package storagecraft.tile;
import cpw.mods.fml.common.network.NetworkRegistry.TargetPoint;
import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;
import net.minecraft.nbt.NBTTagCompound;
import storagecraft.StorageCraft;
import storagec... |
package techreborn.init;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.FurnaceRecipes;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidStack;
import net.minecraftforge.fluids.FluidUtil;
import net.... |
package tw.com.ehanlin.mde.dsl;
import com.mongodb.BasicDBList;
import com.mongodb.DB;
import tw.com.ehanlin.mde.util.ConcurrentCache;
import tw.com.ehanlin.mde.util.DataStack;
import tw.com.ehanlin.mde.util.EmptyObject;
import java.util.*;
import java.util.function.BiFunction;
import java.util.function.Function;
impor... |
package com.chengjf.sparkdemo;
import java.io.File;
import java.io.IOException;
import spark.template.freemarker.FreeMarkerRoute;
import freemarker.template.Configuration;
import freemarker.template.Version;
/**
* FreeMarkerRoute
*
* @author chengjf
* @date 2015-8-27
*/
public abstract class MyFreeMarkerRoute exte... |
package hu.dpal.phonegap.plugins;
import java.util.Stack;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaInterface;
import org.apache.cordova.CordovaPlugin;
import org.json.JSONArray;
import org.json.JSONException;
import android.app.ProgressDialog;
import android.content.DialogInterface;
i... |
package lombok.ast.grammar;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import lombok.ast.Node;
import org.parboiled.BaseParser;
import org.parboiled.MatcherContext;
import org.parboiled.Rule;
import org.parboiled.matchers.AbstractMatcher;
import org.parboiled.support.Characters;
/**
... |
package org.wings.plaf.css;
import org.wings.*;
import org.wings.plaf.css.PaddingVoodoo;
import org.wings.io.Device;
import java.awt.*;
import java.io.IOException;
public class GridBagLayoutCG extends AbstractLayoutCG {
private static final long serialVersionUID = 1L;
/**
* Renders a gridbag layout using i... |
package com.google.code.quandary.quiz;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;
import org.json.JSONArray;
import org.json.JSONException;
import o... |
package com.haxademic.core.draw.mesh;
import java.awt.Point;
import com.haxademic.core.app.P;
import com.haxademic.core.data.ConvertUtil;
import com.haxademic.core.debug.DebugUtil;
import com.haxademic.core.draw.util.DrawUtil;
import com.haxademic.core.file.FileUtil;
import processing.core.PApplet;
import processing.co... |
package com.iskrembilen.quasseldroid.io;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;
import java.security.GeneralSecurityException;
import java.security.cert.CertificateException;
import java.text.DateFormat;
import java.text.SimpleDate... |
package com.maddyhome.idea.vim.ex.handler;
import com.intellij.openapi.actionSystem.DataContext;
import com.intellij.openapi.editor.Editor;
import com.maddyhome.idea.vim.ex.CommandHandler;
import com.maddyhome.idea.vim.ex.CommandName;
import com.maddyhome.idea.vim.ex.ExCommand;
public class WriteHandler extends Command... |
package com.newrelic.plugins.mysql.instance;
import java.sql.Connection;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.logging.Logger;
import com.newrelic.data.in.Agent;
import com.newrelic.data.in.bin... |
package com.runetooncraft.warpigeon.engine.level;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.runetooncraft.warpigeon.engine.WPEngine1;
import com.runetooncraft.warpige... |
package com.treytrahin.compelshortcuts;
import com.intellij.openapi.components.ApplicationComponent;
import com.intellij.openapi.editor.impl.EditorComponentImpl;
import com.treytrahin.compelshortcuts.dto.ShortcutDTO;
import org.jetbrains.annotations.NotNull;
import java.awt.*;
import java.awt.event.AWTEventListener;
im... |
package me.nallar.tickthreading.patcher;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.google.common.base.Splitter;
import javassist.CannotCompileException;
import javassist.ClassMap;
import javassist.CtBehavior;
import javassis... |
package io.tetrapod.web;
import static io.netty.handler.codec.http.HttpHeaders.*;
import static io.netty.handler.codec.http.HttpHeaders.Names.*;
import static io.netty.handler.codec.http.HttpHeaders.Values.*;
import static io.netty.handler.codec.http.HttpMethod.GET;
import static io.netty.handler.codec.http.HttpRespons... |
package org.ocelotds;
/**
* Constants Class
*
* @author hhfrancois
*/
public interface Constants {
String UTF_8 = "UTF-8";
String JS = ".js";
String MIN = "-min";
String SLASH = "/";
String BACKSLASH_N = "\n";
String LOCALE = "LOCALE";
String OCELOT = "ocelot";
String OCELOT_CORE = O... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.