answer stringlengths 17 10.2M |
|---|
package org.duracloud.security.vote;
import org.duracloud.client.ContentStore;
import org.duracloud.error.ContentStoreException;
import static org.duracloud.security.vote.VoterUtil.debugText;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.Authentication;
import org.springfr... |
package org.sejda.impl.sambox;
import static java.util.Optional.ofNullable;
import static org.sejda.common.ComponentsUtility.nullSafeCloseQuietly;
import static org.sejda.core.notification.dsl.ApplicationEventsNotifier.notifyEvent;
import static org.sejda.core.support.io.IOUtils.createTemporaryBuffer;
import static org... |
package org.xwiki.test.rest;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import javax.ws.rs.core.MediaType;
import org.apache.commons.httpclient.Header;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpStatus;
import org.apache.commons.httpclient.Usern... |
package org.arnolds.agileappproject.agileappmodule.ui.frags;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.Color;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.v4.app.Actio... |
package de.sonumina.simpledance;
import org.teavm.dom.canvas.CanvasRenderingContext2D;
import de.sonumina.simpledance.core.graphics.Color;
import de.sonumina.simpledance.core.graphics.Context;
import de.sonumina.simpledance.core.graphics.Point;
import de.sonumina.simpledance.core.graphics.RGB;
public class CanvasContex... |
package com.azoft.carousellayoutmanager.sample;
import android.databinding.DataBindingUtil;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflat... |
package io.ifar.skidroad.upload;
import com.google.common.collect.ImmutableSet;
import com.yammer.metrics.Metrics;
import com.yammer.metrics.core.Gauge;
import com.yammer.metrics.core.HealthCheck;
import com.yammer.metrics.core.Meter;
import io.ifar.goodies.AutoCloseableIterator;
import io.ifar.goodies.IterableIterator... |
package org.waterforpeople.mapping.portal.client.widgets.component.standardscoring;
import java.util.ArrayList;
import java.util.Iterator;
import org.waterforpeople.mapping.app.gwt.client.standardscoring.CompoundStandardDto;
import org.waterforpeople.mapping.app.gwt.client.standardscoring.CompoundStandardDto.Operator;
... |
package net.sourceforge.texlipse.actions;
import java.util.Arrays;
import net.sourceforge.texlipse.TexlipsePlugin;
import net.sourceforge.texlipse.editor.TexAutoIndentStrategy;
import net.sourceforge.texlipse.editor.TexEditorTools;
import net.sourceforge.texlipse.properties.TexlipseProperties;
import org.eclipse.jface.... |
package default_package;
import java.io.File;
public class VoidFile extends File{
private boolean isVCEncrypted;
private String path;
public VoidFile(String path) {
super(path);
this.path = path;
isVCEncrypted = getExtension().substring(0,1).equals("VC");
}
public boolean get... |
package edu.mines.alterego;
import java.util.ArrayList;
import java.util.Locale;
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.app.FragmentPagerAdapter;
import android.support.v4.... |
package com.ea.orbit.actors.extensions.dynamodb;
import com.ea.orbit.actors.extensions.StorageExtension;
import com.ea.orbit.actors.extensions.json.ActorReferenceModule;
import com.ea.orbit.actors.runtime.DefaultDescriptorFactory;
import com.ea.orbit.actors.runtime.RemoteReference;
import com.ea.orbit.concurrent.Task;
... |
package org.openhab.binding.avmfritz.handler;
import static org.openhab.binding.avmfritz.BindingConstants.*;
import java.util.Map;
import java.util.TreeMap;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
import org.eclipse.smarthome.core.library.types.DecimalType;
import org.eclipse.... |
package nodomain.freeyourgadget.gadgetbridge.service.devices.huami.amazfitbip;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCharacteristic;
import android.content.Context;
import android.net.Uri;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import... |
package de.jtem.jrworkspace.plugin.aggregators;
import static java.util.Collections.sort;
import java.awt.Component;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import javax.swing.Action;
import javax.swing.JToolBar;
import javax.swing.JT... |
package nodomain.freeyourgadget.gadgetbridge.service.devices.huami.amazfitneo;
import android.content.Context;
import android.net.Uri;
import org.apache.commons.lang3.ArrayUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import nodomain.freeyourgadget.gadgetbridge.GBApplicatio... |
package org.csstudio.nams.common.material.regelwerk;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.csstudio.nams.common.fachwert.MessageKeyEnum;
import org.csstudio.nams.common.fachwert.Millisekunden;
import org.csstudio.nams.common.material.AlarmNachricht;
import... |
package xmlviewer;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import javax.swing.Action;
import javax.swing.event.TableModelListener;
import javax.swing.table.TableModel;
import javax.swing.tree.DefaultMutableTreeNode;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c... |
package com.google.api.ads.adwords.jaxws.extensions.report.model.entities;
import com.google.api.ads.adwords.jaxws.extensions.report.model.csv.annotation.CsvField;
import com.google.api.ads.adwords.jaxws.extensions.report.model.csv.annotation.CsvReport;
import com.google.api.ads.adwords.jaxws.extensions.report.model.ut... |
package com.streamsets.pipeline.lib.stage.processor.fieldvaluereplacer;
import com.streamsets.pipeline.api.ComplexField;
import com.streamsets.pipeline.api.ConfigDef;
import com.streamsets.pipeline.api.ConfigDef.Type;
import com.streamsets.pipeline.api.Field;
import com.streamsets.pipeline.api.FieldSelector;
import com... |
package org.bitrepository.integrityservice.web;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
imp... |
package org.codingmatters.value.objects.generation;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.FieldSpec;
import com.squareup.javapoet.MethodSpec;
import com.squareup.javapoet.TypeSpec;
import org.codingmatters.value.objects.spec.PropertySpec;
import java.util.LinkedList;
import java.util.List... |
package org.kuali.kra.subaward.lookup.keyvalue;
import org.apache.commons.lang3.StringUtils;
import org.kuali.coeus.sys.framework.keyvalue.FormViewAwareUifKeyValuesFinderBase;
import org.kuali.kra.subaward.document.SubAwardDocument;
import org.kuali.rice.core.api.util.ConcreteKeyValue;
import org.kuali.rice.core.api.ut... |
package it.unibz.inf.ontop.iq.optimizer.impl.lj;
import com.google.common.collect.*;
import it.unibz.inf.ontop.dbschema.ForeignKeyConstraint;
import it.unibz.inf.ontop.dbschema.RelationDefinition;
import it.unibz.inf.ontop.dbschema.UniqueConstraint;
import it.unibz.inf.ontop.injection.CoreSingletons;
import it.unibz.in... |
package org.objectweb.proactive.core.remoteobject;
import java.io.IOException;
import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.security.AccessControlException;
import java.security.PublicKey;
import org.objectweb.proactive.core.ProActiveException;
import org.objectweb.proact... |
package blog.semant;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import blog.absyn.Absyn;
import blog.absyn.ArrayTy;
import blog.absyn.BooleanExpr;
import blog.absyn.Dec;
import blog.absyn.DistinctSymbolDec;
import blog.absyn.D... |
package org.deviceconnect.android.deviceplugin.sphero;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;
import orbotix.macro.BackLED;
import orbotix.macro.Delay;
import orbotix.macro.MacroObject;
import orbotix.macro.RGB;
import orbotix.robot... |
package org.elasticsearch.shield.transport;
import org.elasticsearch.cluster.node.DiscoveryNode;
import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.util.concurrent.ThreadContext;
import org.elasticsearch.shield.action.ShieldActionMapper;
imp... |
package org.innovateuk.ifs.project.transactional;
import org.innovateuk.ifs.application.domain.Application;
import org.innovateuk.ifs.application.resource.FundingDecision;
import org.innovateuk.ifs.commons.error.Error;
import org.innovateuk.ifs.commons.service.ServiceResult;
import org.innovateuk.ifs.invite.domain.Proj... |
package org.innovateuk.ifs.application.transactional;
import org.apache.commons.lang3.tuple.Pair;
import org.innovateuk.ifs.application.constant.ApplicationStatusConstants;
import org.innovateuk.ifs.application.domain.Application;
import org.innovateuk.ifs.application.domain.ApplicationStatus;
import org.innovateuk.ifs... |
package org.innovateuk.ifs.project.finance.transactional;
import au.com.bytecode.opencsv.CSVWriter;
import org.innovateuk.ifs.commons.error.CommonFailureKeys;
import org.innovateuk.ifs.project.transactional.ProjectGrantOfferService;
import com.google.common.collect.Lists;
import org.innovateuk.ifs.commons.error.Error;
... |
package com.vrg.rapid;
import com.google.common.net.HostAndPort;
import com.vrg.rapid.pb.MembershipServiceGrpc;
import io.grpc.ClientInterceptor;
import io.grpc.MethodDescriptor;
import io.grpc.ServerInterceptor;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
impor... |
package org.intermine.web;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.util.Iterator;
import java.util.Set;
import java.util.HashSet;
import org.apache.struts.actions.DispatchAction;
... |
package io.realm;
import android.content.Context;
import android.view.LayoutInflater;
import android.widget.BaseAdapter;
public abstract class RealmBaseAdapter<T extends RealmObject> extends BaseAdapter {
protected LayoutInflater inflater;
protected RealmResults<T> realmResults;
protected Context context;
... |
package controllers;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.ut... |
package io.xchris6041x.devin;
public final class AnsiColor {
// Reset
public static final String RESET = "\u001B[0m";
// Colors
public static final String BLACK = "\u001B[30m";
public static final String RED = "\u001B[1;31m";
public static final String GREEN = "\u001B[1;32m";
public static f... |
package utils.parser;
import java.util.ArrayList;
import utils.exceptions.IllegalArgumentsException;
public class Parser2 {
public static void printHelp() {
System.out.println(" ====== USAGE =======");
System.out.println(" ");
System.out.println(" java DynamicAnalyzer path/to/main \t\t Compi... |
package eftemj;
import ij.IJ;
import ij.ImageJ;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
public class EFTEMj_Debug {
/**
* Set the plugins.dir property to make the EFTEMj appear in the Plugins menu. Finally start ImageJ.
*
* @param args
* Not used
... |
package org.eddy;
import org.eddy.dao.mapper.test.UserMapper;
import org.eddy.model.User;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframewor... |
package com.couchbase.lite.replicator;
import com.couchbase.lite.Document;
import com.couchbase.lite.LiteTestCase;
import com.couchbase.lite.mockserver.MockBulkDocs;
import com.couchbase.lite.mockserver.MockCheckpointPut;
import com.couchbase.lite.mockserver.MockDispatcher;
import com.couchbase.lite.mockserver.MockHelp... |
package com.dmdirc.ui.swing.dialogs.channelsetting;
import com.dmdirc.Channel;
import com.dmdirc.config.IdentityManager;
import com.dmdirc.interfaces.ConfigChangeListener;
import com.dmdirc.parser.ChannelListModeItem;
import com.dmdirc.util.MapList;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java... |
package com.dafrito.lua.script;
import static org.junit.Assert.assertEquals;
import lua.LuaLibrary;
import lua.LuaLibrary.lua_State;
import org.junit.Test;
public class LuaTableTest {
LuaLibrary lua = LuaLibrary.INSTANCE;
@Test
public void getAndPutAValueIntoATable() throws Exception {
LuaScriptCont... |
package eu.ydp.empiria.player.client.module.connection;
import com.google.gwt.json.client.JSONArray;
import com.google.inject.Inject;
import com.google.inject.Provider;
import eu.ydp.empiria.player.client.gin.factory.ConnectionModuleFactory;
import eu.ydp.empiria.player.client.module.AbstractInteractionModule;
import e... |
package eu.ydp.empiria.player.client.module.texteditor;
import com.google.gwt.json.client.JSONArray;
import com.google.gwt.json.client.JSONString;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.xml.client.Element;
import com.google.inject.Inject;
import eu.ydp.empiria.player.client.module.*;
import ... |
package gov.nih.nci.cananolab.dto.particle.characterization;
import gov.nih.nci.cananolab.domain.particle.characterization.physical.Surface;
import gov.nih.nci.cananolab.domain.particle.characterization.physical.SurfaceChemistry;
import gov.nih.nci.cananolab.util.CaNanoLabComparators;
import java.util.ArrayList;
import... |
package org.rstudio.studio.client.common.reditor;
/**
* Models a language for CodeMirror.
*
* == HOW TO ADD A NEW LANGUAGE TO THE SOURCE EDITOR ==
* 1) Edit ./resources/colors.css, add all necessary CSS rules there
* 2) Put your parser file in ./resources/
* 3) Add your parser to REditorResources, following the e... |
package org.rstudio.studio.client.workbench.views.source;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.core.client.Scheduler.ScheduledCommand;
import com.google.gwt.event.logical.shared.*;
import com.google.gwt.event.shared.HandlerRegistration;
import com... |
package rover;
import java.util.Random;
public class TemplateRover extends Rover {
public TemplateRover() {
super();
//use your username for team name
setTeam("template");
try {
//set attributes for this rover
//speed, scan range, max load
//has to... |
package com.exedio.cope;
/**
* Signals, that an attempt to find an item by it's ID has been failed,
* because there is no item with such an ID.
*
* This exception will be thrown by {@link Model#findByID(String) Model.findByID},
* if there is no item with the given ID.
*
* @author Ralf Wiebicke
*/
public final c... |
package de.codescape.bitvunit.rule.page;
import com.gargoylesoftware.htmlunit.html.HtmlHtml;
import de.codescape.bitvunit.model.Page;
import de.codescape.bitvunit.rule.AbstractRule;
import de.codescape.bitvunit.rule.Violations;
import static de.codescape.bitvunit.util.html.HtmlElementUtil.hasNonEmptyAttribute;
/**
* L... |
public abstract class Command implements Cloneable, Comparable<Command>, ActionInterface {
private String commandName;
private String description;
private String parameters;
public Command() {
// TODO what should the default be?
this.commandName = "none";
this.description = "A no... |
package de.tudresden.inf.lat.born.gui.processor;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.Objects;
import javax.swing.JFileChooser;
import org.semanticweb.owlapi.model.... |
package org.dellroad.stuff.pobj;
import java.util.HashMap;
import java.util.concurrent.Callable;
import java.util.concurrent.CancellationException;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import java.util.concurrent.FutureTask;
import java.util.concurrent.LinkedBlockingQueue;... |
package com.box.androidsdk.content.requests;
import com.box.androidsdk.content.models.BoxIteratorBoxEntity;
import com.box.androidsdk.content.models.BoxSession;
import com.box.androidsdk.content.BoxException;
import com.box.androidsdk.content.listeners.ProgressListener;
import com.box.androidsdk.content.models.BoxJsonO... |
package org.tuckey.web.filters.urlrewrite.sample;
import org.tuckey.web.filters.urlrewrite.extend.RewriteRule;
import org.tuckey.web.filters.urlrewrite.extend.RewriteMatch;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* A sample of how you might write a custom rule.
... |
package gov.nih.nci.cagrid.gridgrouper.service;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Set;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import edu.internet2.middleware.grouper.AccessPrivilege;
import edu.internet2... |
package cane.brothers.e4.commander.handlers;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Map;
import javax.inject.Inject;
import javax.inject.Named;
import org.eclipse.e4.core.di.annotations.Execute;
import org.eclipse.e4.core.di.extensions.Preference;
import org.eclipse.e4.ui.model.applicat... |
package com.intellij.ui;
import com.intellij.openapi.util.registry.Registry;
import com.intellij.util.NotNullProducer;
import com.intellij.util.ui.JBUI;
import com.intellij.util.ui.StartupUiUtil;
import com.intellij.util.ui.UIUtil;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NonNls;
imp... |
package com.dianping.cat.report.task.alert.heartbeat;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.unidal.helper.Threads.Task;
import org.unidal.lookup.annotation.Inject;
import org.unidal.tuple.Pair;
import com.dianping.cat.Cat;
impor... |
package fr.unice.polytech.al.trafficlight.central.utils;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import java.io.IO... |
package org.eclipse.birt.chart.render;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Enumeration;
import java.util.Map;
import org.eclipse.birt.chart.computation.BoundingBox;
import org.eclipse.birt.chart.computation.DataSetIterator;
import org.eclipse.birt.chart.com... |
/**
* This topological sort implementation takes an adjacency list of an acyclic graph and returns
* an array with the indexes of the nodes in a (non unique) topological order
* which tells you how to process the nodes in the graph. More precisely from wiki:
* A topological ordering is a linear ordering of its vert... |
package org.timepedia.chronoscope.java2d;
import com.google.gwt.i18n.client.DateTimeFormat;
import com.google.gwt.i18n.client.TimeZone;
import org.timepedia.chronoscope.client.util.DateFormatter;
import org.timepedia.chronoscope.client.util.date.ChronoDate;
import java.text.SimpleDateFormat;
import java.text.ParseExcep... |
package de.adito.jloadr.gui;
import de.adito.jloadr.api.*;
import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.nio.file.*;
/**
* @author j.boesl, 17.11.17
*/
public class Splash extends JFrame implements ILoader.IStateCall... |
package com.jme3.input;
import static com.jme3.input.KeyInput.*;
/**
* Translate key codes (from {@link KeyInput}) to descriptive names.
*
* This class has only static methods, yet it can be instantiated. Here's why:
*
* It used to be that there was no static getName() method, so the only way to
* get names was t... |
// modification, are permitted provided that the following conditions are met:
// documentation and/or other materials provided with the distribution.
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// LIABLE FOR ... |
package jodd.joy.core;
import jodd.io.findfile.ClassFinder;
import jodd.typeconverter.Convert;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* <code>AppScanner</code> defines entries that will be included/excluded in
* scanning process, when configuring Jodd frameworks.
* By default, scanning entries ... |
// modification, are permitted provided that the following conditions are met:
// documentation and/or other materials provided with the distribution.
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// LIABLE FOR ... |
package com.microsoft.adal;
import android.content.Context;
/**
* Error codes to help developer
*
* @author omercan
*/
public class ErrorCodes {
public static enum ADALError {
/**
* Authority url is not valid
*/
DEVELOPER_AUTHORITY_IS_NOT_VALID_URL,
/**
* Autho... |
// RMG - Reaction Mechanism Generator
// RMG Team (rmg_dev@mit.edu)
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// and/or sell copies of the Software, and to permit persons to whom the
// Sof... |
package ch.hsr.whitespace.javapilot.akka;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.zuehlke.carrera.relayapi.messages.PenaltyMessage;
import akka.actor.ActorRef;
import akka.actor.Props;
import ch.hsr.whitespace.javapilot.akka.messages.ChangePowerMessage;
import ch.hsr.whitespace.javapilot.akk... |
package com.bailei.study.jzoffer.interview13;
import com.bailei.study.utils.Utils;
public class DeleteNodeInList {
public void deleteNode(ListNode head, ListNode toBeDeleted) {
if (head == null || toBeDeleted == null) {
throw new RuntimeException("head or toBeDeleted can not be null");
}... |
package com.censoredsoftware.demigods.command;
import com.censoredsoftware.demigods.Demigods;
import com.censoredsoftware.demigods.helper.WrappedCommand;
import com.censoredsoftware.demigods.language.Symbol;
import com.censoredsoftware.demigods.language.Translation;
import com.censoredsoftware.demigods.player.DCharacte... |
package com.censoredsoftware.demigods.command;
import com.censoredsoftware.demigods.Demigods;
import com.censoredsoftware.demigods.deity.Alliance;
import com.censoredsoftware.demigods.helper.WrappedCommand;
import com.censoredsoftware.demigods.language.Symbol;
import com.censoredsoftware.demigods.language.Translation;
... |
package com.continuuity.data.engine.hypersql;
import com.continuuity.api.data.OperationException;
import com.continuuity.api.data.OperationResult;
import com.continuuity.common.utils.ImmutablePair;
import com.continuuity.data.operation.StatusCode;
import com.continuuity.data.table.OrderedVersionedColumnarTable;
import ... |
package com.creatubbles.ctbmod.client.gui;
import java.awt.Point;
import java.awt.Rectangle;
import java.util.Arrays;
import java.util.List;
import lombok.Getter;
import lombok.Synchronized;
import lombok.Value;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.cl... |
import javafx.animation.FadeTransition;
import javafx.application.Application;
import javafx.application.Platform;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.geometry.Rectangle2D;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx... |
package com.cube.storm.ui.controller.adapter;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.text.TextUtils;
import android.view.ViewGroup;
import com.cube.storm.UiSettings;
import com.c... |
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.geometry.Rectangle2D;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.input.KeyEvent;
import javafx.scene.layout.*;
import javafx.scene.media.Media;
import javafx.scene.media.M... |
package com.englishtown.vertx.jersey.impl;
import com.englishtown.vertx.jersey.JerseyHandler;
import com.englishtown.vertx.jersey.JerseyServer;
import org.vertx.java.core.AsyncResult;
import org.vertx.java.core.Handler;
import org.vertx.java.core.Vertx;
import org.vertx.java.core.http.HttpServer;
import org.vertx.java.... |
package com.fasterxml.jackson.databind;
import com.fasterxml.jackson.databind.cfg.ConfigFeature;
/**
* Enumeration that defines simple on/off features that affect
* the way Java objects are deserialized from JSON
*<p>
* Note that features can be set both through
* {@link ObjectMapper} (as sort of defaults) and thr... |
package com.forgeessentials.protection;
import static cpw.mods.fml.common.eventhandler.Event.Result.ALLOW;
import static cpw.mods.fml.common.eventhandler.Event.Result.DENY;
import static net.minecraftforge.event.entity.player.PlayerInteractEvent.Action.LEFT_CLICK_BLOCK;
import static net.minecraftforge.event.entity.pla... |
package com.github.eyce9000.iem.api.tools;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import com.bigfix.schemas.bes.FixletWithActions;
import com.bigfix.schemas.bes.GroupRelevance;
import com.bigfix.schemas.bes.RelevanceString;
import com.bigfix.... |
package com.github.games647.scoreboardstats.pvpstats;
import com.github.games647.scoreboardstats.BackwardsCompatibleUtil;
import com.github.games647.scoreboardstats.ScoreboardStats;
import com.github.games647.scoreboardstats.config.Lang;
import com.github.games647.scoreboardstats.config.Settings;
import com.google.comm... |
package com.github.jmchilton.galaxybootstrap;
import com.google.common.base.Joiner;
import com.google.common.base.Optional;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.io.Files;
import com.google.common.io.InputSupplier;
import com.google.common.io.Resources;
... |
package com.lagopusempire.multihomes.homeIO.database;
import com.lagopusempire.multihomes.home.Home;
import com.lagopusempire.multihomes.home.LoadResult;
import com.lagopusempire.multihomes.homeIO.HomeIO;
import com.lagopusempire.multihomes.homeIO.HomeListLoadedCallback;
import com.lagopusempire.multihomes.homeIO.HomeL... |
package com.smartling.marketo.sdk.rest.command.form;
import com.google.common.collect.ImmutableMap;
import com.smartling.marketo.sdk.domain.form.FormField;
import java.util.Map;
public class FormUtils {
private FormUtils() {
}
public static Map<String, Object> copyFormFieldProperties(ImmutableMap.Builder<St... |
package com.walkertribe.ian.protocol.core.setup;
import com.walkertribe.ian.iface.PacketFactory;
import com.walkertribe.ian.iface.PacketFactoryRegistry;
import com.walkertribe.ian.iface.PacketReader;
import com.walkertribe.ian.protocol.ArtemisPacket;
import com.walkertribe.ian.protocol.ArtemisPacketException;
import co... |
package crazypants.enderio.machine.invpanel;
import java.awt.Rectangle;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import org.lwjgl.opengl.GL11;
import com.enderio.core.client.gui.button.IconButton;
import com.enderio.core.client.gui.button.MultiIconButton;
i... |
package de.uka.ipd.sdq.beagle.analysis;
import de.uka.ipd.sdq.beagle.core.Blackboard;
import de.uka.ipd.sdq.beagle.core.ResourceDemandingInternalAction;
import de.uka.ipd.sdq.beagle.core.SEFFBranch;
import de.uka.ipd.sdq.beagle.core.SEFFLoop;
import de.uka.ipd.sdq.beagle.core.expressions.EvaluableExpression;
import jav... |
package edu.harvard.iq.dataverse;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Logger;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.inject.Named;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
/**
*
... |
package edu.yu.einstein.wasp.batch;
import java.util.Date;
import java.util.List;
import org.springframework.batch.item.ItemProcessor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import edu.yu.einstein.wasp.model.*;
import edu.yu.einstein.wasp.service.... |
package gov.nasa.jpl.mbee.mdk.mms.sync.jms;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.nomagic.magicdraw.core.Application;
import com.nomagic.magicdraw.core.Project;
import com.nomagic.magicdraw.esi.EsiUtils;
import com.nomagic.uml2.ext.magicdraw.cl... |
package hr.vsite.mentor.servlet.rest.resources;
import java.util.List;
import java.util.UUID;
import javax.inject.Inject;
import javax.inject.Provider;
import javax.transaction.Transactional;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.NotFoun... |
import java.io.*;
import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.regex.*;
public class Solution {
// Complete the pairs function below.
static int pairs(int k, int[] arr) {
HashMap<Integer,Integer> map = new HashMap<Int... |
/**
* Abstract base classes for implementing {@link org.eclipse.kapua.client.gateway.Client}s
*/
package org.eclipse.kapua.client.gateway.spi; |
package hudson.plugins.emailext;
import com.google.common.collect.Multimap;
import hudson.model.AbstractBuild;
import hudson.model.TaskListener;
import hudson.plugins.emailext.plugins.EmailTrigger;
/**
*
* @author acearl
*/
public class ExtendedEmailPublisherContext {
private ExtendedEmailPublisher publisher;
... |
package io.paymenthighway.model.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.UUID;
/**
* Tokenization response POJO
*/
public class TokenizationResponse extends Response {
@JsonProperty("card_token")
UUID cardToken;
PartialCard card;
Customer customer;
@JsonProperty("card... |
package com.platform;
import android.app.Activity;
import android.content.Context;
import android.util.Log;
import com.breadwallet.presenter.activities.MainActivity;
import com.breadwallet.tools.manager.SharedPreferencesManager;
import com.breadwallet.tools.security.KeyStoreManager;
import com.breadwallet.wallet.BRWall... |
package pl.shockah.godwit;
import com.badlogic.gdx.InputMultiplexer;
import com.badlogic.gdx.InputProcessor;
import java.util.Comparator;
import java.util.List;
import javax.annotation.Nonnull;
import lombok.experimental.Delegate;
import pl.shockah.util.SortedLinkedList;
public class InputManager {
@Nonnull protect... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.