answer stringlengths 17 10.2M |
|---|
package net.sf.cglib.proxy;
import net.sf.cglib.CodeGenTestCase;
import java.beans.*;
import java.lang.reflect.Method;
import java.util.*;
import junit.framework.*;
/**
* @author Chris Nokleberg
* @version $Id: TestDispatcher.java,v 1.3 2003-11-11 04:35:13 herbyderby Exp $
*/
public class TestDispatcher extends Code... |
package d3kod.thehunt.world;
import android.graphics.PointF;
import android.util.Log;
import d3kod.graphics.extra.D3Maths;
import d3kod.graphics.sprite.D3Sprite;
import d3kod.graphics.sprite.SpriteManager;
import d3kod.graphics.sprite.shapes.D3FadingText;
import d3kod.graphics.sprite.shapes.D3Image;
import d3kod.graphi... |
// 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 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 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 FunctionalMatcher;
import static org.junit.Assert.*;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.nio.charset.Unsupp... |
// 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... |
// -*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
// @homepage@
package example;
import java.awt.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import javax.swing.*;
import javax.swing.border.Border;
import javax.swing.plaf.nimbus.AbstractRegionPainter;
import javax.sw... |
package com.aweber.flume;
import com.aweber.flume.source.rabbitmq.RabbitMQSource;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
import org.apache.flume.Context;
import org.apache.flume.conf.Configurables;
import org.easymock.EasyMockRunner;
import org.junit.Before;
import org.juni... |
package com.google.code.lightity;
import static org.junit.Assert.*;
import java.util.Iterator;
import org.junit.Test;
public class EntityTest {
interface Person {
EntityProperty<String> NAME = EntityPropertyFactory.create("name",
String.class);
EntityProperty<Integer> AGE = EntityPro... |
package org.micromanager;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
im... |
package com.laxture.lib.util;
import android.util.Log;
import com.laxture.lib.BuildConfig;
/**
* Wrapper of {@link Log}
*/
public class LLog {
public static boolean enableLogCat = BuildConfig.DEBUG;
public static int LEVEL = Log.VERBOSE;
private static final String LOG_FORMAT = "[%s:%d] %s";
// 1st el... |
package com.maxmind.geoip;
/* CityLookupTest.java */
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import org.junit.Test;
public class CityLookupIdxTest {
private static final double DELTA = 1e-5;
@Test
public void testCityLookupIdx() throws IOException {
LookupService cl ... |
//FILE: ConfiguratorDlg.java
//PROJECT: Micro-Manager
//SUBSYSTEM: mmstudio
// This file is distributed in the hope that it will be useful,
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
// ... |
package com.tinkerpop.frames;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertNotNull;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openrdf.model.URI;
import org.openrdf.model.impl.LiteralImpl;
import org.openrdf.model.impl.URIImpl;
imp... |
package com.turn.ttorrent.client;
import com.turn.ttorrent.TempFiles;
import com.turn.ttorrent.WaitFor;
import com.turn.ttorrent.client.peer.SharingPeer;
import com.turn.ttorrent.common.Torrent;
import com.turn.ttorrent.tracker.TrackedPeer;
import com.turn.ttorrent.tracker.TrackedTorrent;
import com.turn.ttorrent.track... |
package de.ailis.jollada.model;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertSame;
import java.net.URI;
import java.net.URISyntaxException;
import org.junit.Test;
import de.ailis.jollada.excepti... |
package com.rant.database;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import com.cloudant.client.api.ClientBuilder;
import com.cloudant.client.api.CloudantClient;
import com.cloudant.client.api.Database;
import com.cloudant.client.api.views.Key;
import... |
package my.ostrea.blog;
import my.ostrea.blog.controllers.BaseController;
import my.ostrea.blog.models.Article;
import my.ostrea.blog.models.ArticleRepository;
import my.ostrea.blog.models.MyUser;
import my.ostrea.blog.models.UserRepository;
import my.ostrea.blog.utils.TestUtil;
import org.junit.Before;
import org.juni... |
package com.rultor.web;
import com.google.common.collect.Iterables;
import com.jcabi.aspects.Tv;
import com.jcabi.xml.XML;
import com.rexsl.page.JaxbBundle;
import com.rexsl.page.Link;
import com.rexsl.page.PageBuilder;
import com.rultor.agents.daemons.Home;
import com.rultor.spi.Talk;
import java.io.IOException;
impor... |
package net.fortuna.ical4j.model;
import java.net.URISyntaxException;
import java.util.HashMap;
import java.util.Map;
import net.fortuna.ical4j.model.parameter.AltRep;
import net.fortuna.ical4j.model.parameter.Cn;
import net.fortuna.ical4j.model.parameter.CuType;
import net.fortuna.ical4j.model.parameter.DelegatedFrom;... |
package com.ultraflynn.sygrl;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.zaxxer.hikari.HikariConfig;
import com.zaxxer.hikari.HikariDataSource;
import org.apache.http.NameValuePair;
import org.apache.http.auth.AuthenticationException;
import org.apache... |
package org.numenta.nupic.network;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import static org.numenta.nupic.algorithms.Anomaly.KEY_MODE;
import st... |
package net.fortuna.ical4j.model.component;
import java.util.Calendar;
import java.util.Collections;
import java.util.Iterator;
import java.util.Map;
import java.util.TreeMap;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import net.fortuna.ical4j.model.Component;
import net.fortu... |
package nta.engine;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import nta.catalog.Schema;
import nta.catalog.TableMe... |
/**
* SLF4J wrappers, tests.
*
* @author Dmitry Zaytsev (dmitry.zaystev@gmail.com)
* @version $Id$
* @since 0.11
*/
package org.takes.facets.slf4j; |
package edu.chl.proton.model;
import javafx.scene.text.Text;
import java.util.List;
public interface IDoc {
// Olika = interface
List<String> getText();
String setText();
} |
package velir.intellij.cq5.ui;
import com.intellij.openapi.ui.VerticalFlowLayout;
import com.intellij.ui.components.JBScrollPane;
import velir.intellij.cq5.jcr.model.VNode;
import velir.intellij.cq5.jcr.model.VNodeDefinition;
import velir.intellij.cq5.util.Anonymous;
import javax.swing.*;
import javax.swing.event.Docum... |
// jTDS JDBC Driver for Microsoft SQL Server and Sybase
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
/... |
package function.external.evs;
import global.Data;
import java.sql.ResultSet;
import utils.DBManager;
import utils.ErrorManager;
import utils.FormatManager;
/**
*
* @author nick
*/
public class Evs {
private String chr;
private int pos;
private String ref;
private String alt;
private boolean isSn... |
package org.apache.lucene.util;
import java.util.Date;
import java.util.Random;
import junit.framework.TestCase;
public class TestPriorityQueue
extends TestCase
{
public TestPriorityQueue(String name)
{
super(name);
}
private static class IntegerQueue
extends PriorityQueue
{
public I... |
package greycat.samples.gps;
import greycat.Callback;
import greycat.Graph;
import greycat.GraphBuilder;
import greycat.TaskResult;
import java.util.ArrayList;
import java.util.List;
import greycat.leveldb.LevelDBStorage;
import static greycat.Tasks.*;
import static greycat.internal.task.CoreActions.*;
import static gr... |
package hudson.plugins.git;
import hudson.*;
import hudson.FilePath.FileCallable;
import hudson.matrix.MatrixBuild;
import hudson.matrix.MatrixRun;
import hudson.model.*;
import hudson.plugins.git.browser.GitWeb;
import hudson.plugins.git.opt.PreBuildMergeOptions;
import hudson.plugins.git.util.*;
import hudson.plugins... |
package net.md_5.bungee;
import net.md_5.bungee.module.ModuleManager;
import com.google.common.io.ByteStreams;
import net.md_5.bungee.api.chat.BaseComponent;
import net.md_5.bungee.api.chat.TextComponent;
import net.md_5.bungee.chat.ComponentSerializer;
import net.md_5.bungee.log.BungeeLogger;
import net.md_5.bungee.sc... |
package hudson.plugins.git;
import com.cloudbees.plugins.credentials.CredentialsMatchers;
import com.cloudbees.plugins.credentials.CredentialsProvider;
import com.cloudbees.plugins.credentials.common.StandardUsernameCredentials;
import com.cloudbees.plugins.credentials.domains.URIRequirementBuilder;
import com.google.c... |
package innovimax.mixthem;
import innovimax.mixthem.arguments.*;
import innovimax.mixthem.io.*;
import innovimax.mixthem.operation.*;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Map;
import java.util.logging.ConsoleHandler;
import java.util.logging.Handler;
import java.util.logging.Level;
... |
package innovimax.mixthem;
import innovimax.mixthem.exceptions.*;
import innovimax.mixthem.interfaces.*;
import innovimax.mixthem.io.*;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
/**
* <p>Mix files together using variety of rules.</p>
* <p>Here are the rules:</p>
* <ul>
* <li> 1: will... |
package innovimax.mixthem;
import innovimax.mixthem.arguments.*;
import innovimax.mixthem.exceptions.*;
import innovimax.mixthem.interfaces.*;
import innovimax.mixthem.io.*;
import innovimax.mixthem.join.*;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.util.List;
//import jav... |
package io.hops.kafka;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import se.kth.bbc.project.*;
import java.u... |
package joshie.harvest.shops;
import joshie.harvest.api.calendar.Weekday;
import joshie.harvest.api.shops.IPurchaseable;
import joshie.harvest.api.shops.IShop;
import joshie.harvest.api.shops.IShopGuiOverlay;
import joshie.harvest.core.handlers.HFTrackers;
import joshie.harvest.core.helpers.CalendarHelper;
import joshi... |
package src.usi.gui.functionality;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import src.usi.application.ApplicationHelper;
import src.usi.configuration.ConfigurationManager;
import src.usi.gui.Ripper;
import src.usi.gui.functionality.instance.Instance_GUI_pattern;
import src... |
package kuleuven.group2.data;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;
import com.google.common.collect.Iterables;
/**
* A class that represents a test method. I... |
package mcjty.xnet.setup;
import mcjty.lib.McJtyLib;
import mcjty.lib.compat.MainCompatHandler;
import mcjty.lib.setup.DefaultModSetup;
import mcjty.xnet.CommandHandler;
import mcjty.xnet.ForgeEventHandlers;
import mcjty.xnet.XNet;
import mcjty.xnet.apiimpl.energy.EnergyChannelType;
import mcjty.xnet.apiimpl.fluids.Flu... |
package me.dreamteam.tardis;
import javax.swing.*;
import java.net.URL;
public class Utils {
/*
* Game Information
*/
static String gameName = "SUPER SPACESHIP ADVENTURE ";
static String build = "Alpha ";
static String version = "0.8.15";
/*
* Ship Names
*/
static String ship... |
package mil.dds.anet.beans;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.leangen.graphql.annotations.GraphQLInputField;
import io.leangen.graphql.annotations.GraphQLQuery;
import io.leangen.graphql.annotations.GraphQLRootContext;
import java.time.Instant;
import java.util.ArrayList;
import java.util.Co... |
package org.openremote.model;
import org.openremote.base.Version;
import org.openremote.base.exception.IncorrectImplementationException;
import org.openremote.model.data.json.JSONHeader;
import org.openremote.model.data.json.UserTransformer;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.Concur... |
package org.testng.internal;
import org.testng.TestNGException;
import org.testng.collections.Lists;
import org.testng.collections.Maps;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
/*... |
package edu.wustl.common.util;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
/**
* This class for creating a file with a given list of data.
* It creates the file according to delimeter specified.
* For eg: if comma is the deli... |
package org.xcsp.common;
import static org.xcsp.common.Constants.BIG_MAX_SAFE_LONG;
import static org.xcsp.common.Constants.BIG_MIN_SAFE_LONG;
import static org.xcsp.common.Constants.MINUS_INFINITY;
import static org.xcsp.common.Constants.PLUS_INFINITY;
import static org.xcsp.common.Constants.VAL_MINUS_INFINITY;
import... |
package selenium;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import java.util.List;
import java.util.Set;
public class WebDriverWrapper implemen... |
package site.upload;
import com.google.common.base.Strings;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.apache.felix.ipojo.annotations.Requires;
import org.apache.felix.ipojo.annotations.Validate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.wisdom.api... |
package wallettemplate;
import authenticator.Authenticator;
import authenticator.BAApplicationParameters.NetworkType;
import authenticator.Utils.EncodingUtils;
import authenticator.Utils.KeyUtils;
import authenticator.Utils.CurrencyConverter.CurrencyConverterSingelton;
import authenticator.Utils.CurrencyConverter.excep... |
package water.api;
import hex.*;
import hex.DGLM.CaseMode;
import hex.DGLM.Family;
import hex.DGLM.GLMModel;
import hex.DGLM.GLMParams;
import hex.DGLM.GLMValidation;
import hex.DLSM.LSMSolver;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.text.DecimalFormat;
import java.util.*;
i... |
package nl.mpi.kinnate.ui;
import java.util.ArrayList;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeModel;
import nl.mpi.arbil.data.ArbilDataNode;
import nl.mpi.arbil.data.ArbilNode;
import nl.mpi.arbil.data.ContainerNode;
import nl.mpi.arbil.ui.ArbilTree;
import nl.mpi.kinnate.dat... |
package web.component.impl.aws.model;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.services.ec2.model.AvailabilityZone;
import com.amazonaws.services.elasticloadbalancing.model.DescribeLoadBalancersResult;
import com.amazonaws.services.elasticloadbalancing.model.Listener;
import com.amazonaws.servi... |
package algorithm;
import gnu.trove.map.hash.THashMap;
import gnu.trove.map.hash.TLongIntHashMap;
import gnu.trove.map.hash.TLongLongHashMap;
import gnu.trove.set.hash.THashSet;
import java.util.List;
import java.util.Map.Entry;
import java.util.Set;
import model.Graph;
import model.HeuristicTypes;
import model.LatLonP... |
package oap.message;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import oap.concurrent.Threads;
import oap.io.Closeables;
import oap.io.Files;
import oap.json.Binder;
import oap.util.ByteSequence;
import oap.util.Cuid;
import org.apache.commons.codec.binary.Hex;
import org.apache.commons.codec.digest.Dige... |
package org.objectweb.proactive.core.node;
import java.rmi.AlreadyBoundException;
import org.apache.log4j.Logger;
import org.objectweb.proactive.api.PALifeCycle;
import org.objectweb.proactive.core.Constants;
import org.objectweb.proactive.core.UniqueID;
import org.objectweb.proactive.core.config.PAProperties;
import o... |
package alobar.workout.db;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import java.util.ArrayList;
import java.util.List;
import alobar.workout.data.Exercise;
/**
* Repository for {@link Exercise} entities
*/
@SuppressWarnings("TryFinallyCanBeTryWithResources")
public class Exercise... |
package com.cmplxen.instead;
import android.content.SharedPreferences;
import android.content.res.XmlResourceParser;
import android.util.Log;
import org.xmlpull.v1.XmlPullParserException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Comparator;
// TODO: there has got to be a better way to se... |
package com.support.design;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.VisibleForTesting;
import java.lang.ref.WeakReference;
import java.util.concurrent.locks.Lo... |
package it.unical.mat.andlv;
import android.app.ActivityManager;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.util.Log;
import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import it.unical.mat.dlvjni.DlvService... |
package beast.app.treeannotator;
import java.io.*;
import java.util.*;
import javax.swing.JFrame;
import beast.app.BEASTVersion;
import beast.app.beauti.BeautiDoc;
import beast.app.tools.LogCombiner;
import beast.app.util.Arguments;
import beast.app.util.Utils;
import beast.core.util.Log;
import beast.evolution.alignme... |
package net.sf.extjwnl;
import net.sf.extjwnl.data.*;
import net.sf.extjwnl.dictionary.*;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
TestWord.class,
TestSynset.class,
TestExc.class,
TestSummary.class,
TestFileBacke... |
package edu.umd.cs.findbugs.ba;
import java.util.ArrayList;
import java.util.BitSet;
import org.apache.bcel.Constants;
import org.apache.bcel.generic.ConstantPoolGen;
import org.apache.bcel.generic.INVOKESTATIC;
import org.apache.bcel.generic.Instruction;
import org.apache.bcel.generic.InvokeInstruction;
import org.apa... |
package codechicken.lib.render;
import codechicken.lib.render.SpriteSheetManager.SpriteSheet;
import codechicken.lib.render.TextureUtils.IIconSelfRegister;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.texture.II... |
package com.example.timelytextview;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.util.AttributeSet;
import android.view.View;
import android.view.animation... |
package com.fsck.k9.mail.internet;
import android.content.Context;
import android.util.Log;
import com.fsck.k9.K9;
import com.fsck.k9.R;
import com.fsck.k9.helper.HtmlConverter;
import com.fsck.k9.mail.*;
import com.fsck.k9.mail.Message.RecipientType;
import org.apache.commons.io.IOUtils;
import org.apache.james.mime4j... |
package com.gh4a.loader;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.eclipse.egit.github.core.RepositoryContents;
import org.eclipse.egit.github.core.RepositoryId;
import org.eclipse.egit.github.core.service.ContentsService;
import org.eclipse.egit.githu... |
package com.haxademic.app.haxvisual;
import java.util.ArrayList;
import processing.core.PApplet;
import com.haxademic.app.haxvisual.viz.IVizModule;
import com.haxademic.app.haxvisual.viz.modules.AmbientViz;
import com.haxademic.app.haxvisual.viz.modules.AudioTubes;
import com.haxademic.app.haxvisual.viz.modules.BlobShe... |
package com.hp.hpl.jena.reasoner.rulesys;
import com.hp.hpl.jena.graph.*;
import com.hp.hpl.jena.graph.impl.*;
import com.hp.hpl.jena.rdf.model.*;
import com.hp.hpl.jena.reasoner.Finder;
import com.hp.hpl.jena.reasoner.IllegalParameterException;
import com.hp.hpl.jena.reasoner.TriplePattern;
import com.hp.hpl.jena.util... |
package com.karateca.ddescriber;
/**
* Represents the jasmine syntax.
*/
public enum JasmineSyntax {
Version1("ddescribe", "iit"),
Version2("fdescribe", "fit");
private String includeDescribe;
private String includeIt;
JasmineSyntax(String includeDescribe, String includeIt) {
this.includeDescribe = incl... |
package com.leetcode.arraryList_2;
public class RotateImage {
/**
* You are given an n*n 2D matrix representing an image. Rotate the image by
* 90 degrees (clockwise). Follow up: Could you do this in-place?
*/
@SuppressWarnings("unused")
private static void leftRightFlip(int[][] testArray2) {... |
package com.nomachetejuggling.scl;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import org.apache.commons.lang3.StringUtils;
import com.nomachetejuggling.scl.model.CardioExercise;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.AlertDialog;
impor... |
package com.opengamma.util.test;
import java.io.File;
import java.io.FileInputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.util.Properties;
import org.apache.commons.dbcp.BasicDataSource;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.hibernate.SessionFactory;
impor... |
package com.team254.frc2015;
import com.team254.frc2015.behavior.Commands;
import com.team254.lib.util.Latch;
import edu.wpi.first.wpilibj.Joystick;
import java.util.Optional;
public class OperatorInterface {
private Commands m_commands = new Commands();
Joystick leftStick = HardwareAdaptor.kLeftStick;
Joys... |
package com.vaadin.data.util;
import java.io.Serializable;
import java.lang.reflect.Constructor;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.EventObject;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;... |
package codechicken.nei;
import codechicken.core.CommonUtils;
import codechicken.lib.packet.PacketCustom;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.PlayerEvent.PlayerChangedDimensionEvent;
import cpw.mods.fml.common.gameeven... |
package com.algolia.search.saas;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Activity;
import android.os.AsyncTask;
/**
* Contains all the functions related to on... |
package com.darkyen;
import com.intellij.ide.ui.UISettings;
import com.intellij.notification.*;
import com.intellij.openapi.editor.EditorFactory;
import com.intellij.openapi.editor.event.DocumentAdapter;
import com.intellij.openapi.editor.event.DocumentEvent;
import com.intellij.openapi.editor.event.DocumentListener;
i... |
package com.dmdirc.ui.swing;
import com.dmdirc.FrameContainer;
import com.dmdirc.IconManager;
import com.dmdirc.Main;
import com.dmdirc.ServerManager;
import com.dmdirc.actions.ActionManager;
import com.dmdirc.actions.CoreActionType;
import com.dmdirc.interfaces.ConfigChangeListener;
import com.dmdirc.config.IdentityMa... |
package com.ecyrd.jspwiki;
import java.io.IOException;
import java.util.Properties;
import java.util.Collection;
import java.util.HashMap;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.ArrayList;
import org.apache.log4j.Category;
import com.ecyrd.jspwiki.providers.WikiPagePro... |
package com.ecyrd.jspwiki;
import java.security.Principal;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
/**
* <p>Provides state information throughout the processing of a page. A
* WikiContext is born when the JSP pages that are the main entry
* points, are invoke... |
package com.genschefieste;
import android.app.SearchManager;
import android.content.Intent;
import android.database.DatabaseUtils;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import android.widget.TextView;
import java.util.List;
public class Ev... |
package com.mac.tarchan;
import java.net.URL;
import java.time.DayOfWeek;
import java.time.LocalDate;
import java.time.YearMonth;
import java.time.format.TextStyle;
import java.util.Locale;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.util.logging.Logger;
import javafx.beans.property.Obj... |
package com.tedmemo.view;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.view.ViewPager;
import android.util.DisplayMe... |
package com.trendrr.oss;
import java.net.URLDecoder;
import java.util.Comparator;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* @author Dustin Norlander
* @created Dec 29, 2010
*
*/
public class DynMapFactory {
protected static Logger log = Logger.getLogger(DynMap... |
package com.valkryst.VTerminal;
import com.valkryst.VTerminal.component.Component;
import com.valkryst.VTerminal.component.Layer;
import com.valkryst.VTerminal.font.Font;
import com.valkryst.VTerminal.font.FontLoader;
import com.valkryst.VTerminal.misc.ImageCache;
import com.valkryst.VTerminal.palette.ColorPalette;
imp... |
package com.xruby.compiler;
import com.xruby.runtime.lang.RubyRuntime;
/**
* Test if ruby's standand lib work under xruby
*/
public class StdlibTest extends CompilerTestCase {
public void setUp() {
RubyRuntime.init(null);
}
public void test_test_unit_assertionfailederror() {
String[] progr... |
package com.exedio.cope.pattern;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.List;
import com.exedio.cope.BooleanField;
import com.exedio.cope.Cope;
import com.exedio.cope.DateField;
import com.exedio.cope.Item;
import com.exedio.cope... |
package vvk.numbers;
import org.junit.Assert;
import org.junit.Test;
import java.math.BigInteger;
public class PAdicEqualityTest {
@Test
public void testEquality() {
final int base = 5;
PAdic rational1 = new PAdic(new BigInteger("5"), new BigInteger("1"), base);
PAdic rational1_neg = new... |
import sodium.*;
import java.util.Optional;
public class pause {
public static Cell<Double> pausableClock(Stream<Unit> sPause,
Stream<Unit> sResume, Cell<Double> clock) {
Cell<Optional<Double>> pauseTime =
sPause.snapshot(clock, (u, t) -> Optional.<Double>of(t))
.orEl... |
package ifc.util;
import lib.MultiPropertyTest;
/**
* Testing <code>com.sun.star.util.SearchDescriptor</code>
* service properties :
* <ul>
* <li><code> SearchBackwards</code></li>
* <li><code> SearchCaseSensitive</code></li>
* <li><code> SearchWords</code></li>
* <li><code> SearchRegularExpression</code></l... |
package jp.rubi3.apromise;
import android.os.Handler;
import android.os.Looper;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import java.util.ArrayList;
import java.util.List;
public final class Promise<D> {
/**
* create resolved promise.
*
* @param object re... |
package api.web.gw2.mapping.core;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Type;
import java.net.MalformedURLException;
import java.time.Duration;
import java.time.ZonedDateTime;
import java.util.... |
package alfredo.paint;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Point;
import java.awt.geom.AffineTransform;
import java.awt.geom.Rectangle2D;
import java.awt.image.AffineTransformOp;
import java.awt.image.BufferedImage;
import java.awt.image.ColorModel;
public class Canva... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.