answer stringlengths 17 10.2M |
|---|
//$HeadURL$
package org.deegree.feature.persistence.sql;
import static org.deegree.commons.xml.CommonNamespaces.OGCNS;
import static org.deegree.commons.xml.CommonNamespaces.XLNNS;
import static org.deegree.commons.xml.CommonNamespaces.XSINS;
import static org.slf4j.LoggerFactory.getLogger;
import java.lang.reflect.Con... |
package VASSAL.build;
import VASSAL.build.module.Chatter;
import VASSAL.build.module.PrototypeDefinition;
import VASSAL.counters.Marker;
import java.util.ArrayList;
import java.util.HashMap;
import VASSAL.build.widget.PieceSlot;
import VASSAL.counters.BasicPiece;
import VASSAL.counters.Decorator;
import VASSAL.counters... |
package org.geomajas.gwt.client.action.toolbar;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import org.geomajas.command.CommandResponse;
import org.geomajas.command.dto.RefreshConfigurationRequest;
import org.geomajas.command.dto.RefreshConfigurationResponse;
import org.geomajas.gwt.clien... |
package org.innovateuk.ifs.assessment.profile.controller;
import org.innovateuk.ifs.BaseControllerMockMVCTest;
import org.innovateuk.ifs.affiliation.service.AffiliationRestService;
import org.innovateuk.ifs.assessment.resource.AssessorProfileResource;
import org.innovateuk.ifs.assessment.resource.ProfileResource;
impor... |
package com.dounine.japi.web;
import com.dounine.japi.act.Result;
import com.dounine.japi.act.ResultImpl;
import com.dounine.japi.core.JapiServer;
import com.dounine.japi.exception.JapiException;
import com.dounine.japi.transfer.JapiNavRoot;
import com.dounine.japi.transfer.JapiProject;
import com.dounine.japi.web.type... |
package org.safehaus.kiskis.mgmt.api.commandrunner;
import com.google.common.base.Preconditions;
import org.safehaus.kiskis.mgmt.shared.protocol.Agent;
import java.util.Set;
/**
* This class is used to hold commands specific to client.
* One needs to call {@code init} method prior to using it.
* Clients should exten... |
package io.vivarium.util;
import java.io.Serializable;
import com.google.common.io.BaseEncoding;
import com.google.common.primitives.Longs;
import com.googlecode.gwtstreamer.client.Streamable;
/**
* Guava based UUID implementation for compatibility with GWT. This class can be used as a plug in replacement for the
* s... |
package com.sun.star.comp.helper;
/**
* BootstrapException is a checked exception that wraps an exception
* thrown by the original target.
*
* @since UDK 3.1.0
*/
public class BootstrapException extends java.lang.Exception {
/**
* This field holds the target exception.
*/
private Exception m_targ... |
package com.jme3.util;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* This class contains the reflection based way to remove DirectByteBuffers in
* java, all... |
package com.fsck.k9.view;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.List;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.LoaderManager;
import android.app.LoaderManager.LoaderCal... |
package com.ge.research.sadl.externalmodels.editors;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.channels.Channels;
import java.nio.channels.ReadableByteChannel;
import java.util... |
package org.jboss.as.web;
import org.apache.catalina.InstanceEvent;
import org.apache.catalina.InstanceListener;
import org.jboss.as.ee.naming.NamespaceSelectorService;
/**
* An InstanceListener used to push/pop the application naming context.
*
* @author Stuart Douglas
*/
public class NamingListener implements Ins... |
package net.hillsdon.reviki.wiki.renderer.creole;
import java.io.IOException;
import java.lang.reflect.Constructor;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.tree.TerminalNode;
... |
package net.sf.mzmine.methods.filtering.mean;
import org.w3c.dom.Element;
import org.w3c.dom.Document;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import net.sf.mzmine.util.Logger;
import net.sf.mzmine.methods.MethodParameters;
/**
* This class represents parameter for the mean filter method
*/
public class... |
package nl.vu.cs.querypie.reasoner.actions.incr;
import nl.vu.cs.ajira.actions.Action;
import nl.vu.cs.ajira.actions.ActionConf;
import nl.vu.cs.ajira.actions.ActionContext;
import nl.vu.cs.ajira.actions.ActionFactory;
import nl.vu.cs.ajira.actions.ActionOutput;
import nl.vu.cs.ajira.actions.ActionSequence;
import nl.v... |
package openccsensors.common.sensorcard;
import ic2.api.EnergyNet;
import ic2.api.IEnergyConductor;
import ic2.api.IEnergySink;
import ic2.api.IEnergySource;
import ic2.api.IEnergyStorage;
import ic2.api.IReactor;
import ic2.api.IReactorChamber;
import ic2.api.Ic2Recipes;
import java.util.HashMap;
import java.util.Iter... |
/*
* @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a>
* @version $Id$
*/
package org.gridlab.gridsphere.portletcontainer;
import org.gridlab.gridsphere.core.persistence.PersistenceManagerFactory;
import org.gridlab.gridsphere.core.persistence.PersistenceManagerException;
import org.gridlab.gridsphere.core.... |
package evaluation.evalBench.session;
import java.util.ArrayList;
import java.util.Hashtable;
import evaluation.evalBench.EvaluationManager;
import evaluation.evalBench.io.EvaluationSessionJournal;
import evaluation.evalBench.task.Task;
/**
* EvaluationSession is responsible for managing a single evaluation session.
... |
package org.intellij.ibatis.provider;
import com.intellij.codeInsight.lookup.LookupValueFactory;
import com.intellij.psi.*;
import org.intellij.ibatis.IbatisManager;
import org.intellij.ibatis.dom.sqlMap.*;
import org.intellij.ibatis.util.IbatisConstants;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.a... |
package org.mtransit.android.commons.provider;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Locale;
import java.util.concurrent.TimeUnit;
import java.util.regex.Pattern;
import org.mtransit.android.commons.ArrayUti... |
package org.sosy_lab.java_smt.solvers.yices2;
import static com.google.common.base.CharMatcher.inRange;
import static org.sosy_lab.java_smt.solvers.yices2.Yices2NativeApi.YICES_APP_TERM;
import static org.sosy_lab.java_smt.solvers.yices2.Yices2NativeApi.yices_parse_term;
import static org.sosy_lab.java_smt.solvers.yice... |
package protocolsupport.protocol.packet.handler;
import java.net.InetSocketAddress;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.bukkit.Bukkit;
import com.mojang.authlib.GameProfile;
import io.netty.util.concurrent.Future;
import io.netty.util.concurrent.GenericFutureLi... |
package kieker.tpan.logReader;
import java.io.Serializable;
import kieker.common.logReader.AbstractKiekerMonitoringLogReader;
import java.util.Hashtable;
import javax.jms.JMSException;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.jms.ConnectionFactory;
import javax.jms.Connection;
impor... |
package com.facebook.litho.widget;
import com.facebook.litho.ComponentContext;
import com.facebook.litho.ComponentView;
import com.facebook.litho.testing.ComponentTestHelper;
import com.facebook.litho.testing.testrunner.ComponentsTestRunner;
import com.facebook.litho.testing.ComponentsRule;
import org.junit.Rule;
impor... |
package eu.rethink.globalregistry.tests;
import static org.junit.Assert.*;
import org.junit.Test;
import eu.rethink.globalregistry.util.XSDDateTime;
public class XSDDateTimeTest
{
//valid
public String validXSD1 = "2017-02-07T12:13:14+01:00";
public String validXSD2 = "2017-02-07T12:13:14Z";
//invalid
... |
package org.epics.vtype;
import java.util.List;
import org.epics.util.array.ListDouble;
import org.epics.util.array.ListInt;
/**
*
* @author carcassi
*/
class IVIntArray extends IVNumeric implements VIntArray {
private final ListInt data;
private final ListInt sizes;
private final List<ArrayDimensionDisp... |
package io.github.classgraph.issues.issue80;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Test;
import io.github.classgraph.ClassGraph;
import io.github.classgraph.ScanResult;
public class Issue80Test {
@Test
public void issue80() {
try (ScanResult scanResult = new ClassGra... |
package no.stelar7.api.l4j8.tests.staticdata;
import no.stelar7.api.l4j8.basic.constants.api.*;
import no.stelar7.api.l4j8.basic.constants.flags.*;
import no.stelar7.api.l4j8.impl.*;
import no.stelar7.api.l4j8.pojo.staticdata.champion.*;
import no.stelar7.api.l4j8.pojo.staticdata.item.*;
import no.stelar7.api.l4j8.pojo... |
package org.basex.test.query.advanced;
import static org.junit.Assert.*;
import java.io.IOException;
import org.basex.core.Context;
import org.basex.query.QueryException;
import org.basex.query.QueryProcessor;
import org.basex.query.func.FunDef;
import org.basex.query.item.AtomType;
import org.basex.query.item.SeqType;... |
package org.thymoljs.thymol.test.selenium;
import java.util.Arrays;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.openqa.selenium.Alert;
import org.openqa.selenium.By;
import org.openqa.selenium.NoAlertPresentException;
import org.o... |
package org.thymoljs.thymol.test.selenium;
import org.thymoljs.thymol.test.selenium.cases.AggregatesCases;
import org.thymoljs.thymol.test.selenium.cases.AppendPrependCases;
import org.thymoljs.thymol.test.selenium.cases.ArraysCases;
import org.thymoljs.thymol.test.selenium.cases.AttrCases;
import org.thymoljs.thymol.t... |
package jodd.lagarto;
import jodd.log.Log;
import jodd.util.StringPool;
import jodd.util.StringUtil;
import java.io.IOException;
import java.nio.CharBuffer;
/**
* Lagarto HTML/XML parser engine. Usage consist of two steps:
* <li>{@link #initialize(java.nio.CharBuffer) initalization} with provided content
* <li>actua... |
package springBootExample.controller;
import static java.util.Arrays.asList;
import static org.hamcrest.Matchers.equalTo;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.when;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;
import static org.springfram... |
package org.modmine.web;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
i... |
package uk.co.jemos.podam.test.unit;
import java.math.BigDecimal;
import java.net.URL;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import ja... |
package uk.gov.verifiablelog.merkletree;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
import java.security.NoSuchAlgorithmException;
import java.util.*;
import java.util.function.Function;
impo... |
package com.intellij.ui;
import com.intellij.diagnostic.Activity;
import com.intellij.diagnostic.ActivitySubNames;
import com.intellij.diagnostic.ParallelActivity;
import com.intellij.icons.AllIcons;
import com.intellij.ide.BrowserUtil;
import com.intellij.ide.gdpr.Consent;
import com.intellij.ide.gdpr.ConsentOptions;
... |
// are permitted provided that the following conditions are met:
// other materials provided with the distribution.
// Neither the name of Nexage, PubNative nor the names of its
// contributors may be used to endorse or promote products derived from
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, T... |
package ru.beykerykt.bullsandcows.implementation;
import java.awt.EventQueue;
import java.awt.Font;
import java.awt.FontFormatException;
import java.awt.GraphicsEnvironment;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.io.IOException;
import java.util.concurrent.ScheduledFuture;
imp... |
package com.jbooktrader.platform.strategy;
import com.ib.client.*;
import com.jbooktrader.platform.c2.*;
import com.jbooktrader.platform.chart.*;
import com.jbooktrader.platform.commission.*;
import com.jbooktrader.platform.indicator.*;
import com.jbooktrader.platform.marketbook.*;
import com.jbooktrader.platform.model... |
package org.jfree.chart.renderer.xy;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.Stroke;
import java.awt.geom.Line2D;
import java.awt.geom.Rectangle2D;
import java.io.Serializable;
import org.jfree.chart.HashUtilities;
import org.jfree.chart.axis.ValueAxis;
import org.jfree.chart.entity.EntityCol... |
package btl_PI;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.Graphics;
import java.awt.Image;
import javax.swing.border.Border;
import javax.swing.border.LineBorder;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
impor... |
package io.druid.query;
import com.google.common.util.concurrent.ListenableFuture;
/**
* This interface is in a very early stage and should not be considered stable.
*
* The purpose of the QueryWatcher is to give overall visibility into queries running
* or pending at the QueryRunner level. This is currently used t... |
package com.grandmaapp.activities;
import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import android.app.Activity;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.grap... |
package pl.makenika.splot;
import android.content.Context;
import android.content.res.Resources;
import android.util.Log;
import android.util.Pair;
import org.keplerproject.luajava.JavaFunction;
import org.keplerproject.luajava.LuaException;
import org.keplerproject.luajava.LuaState;
import org.keplerproject.luajava.Lu... |
package io.crate.planner.symbol;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableSet;
import com.spatial4j.core.shape.Shape;
import io.crate.operation.Input;
import io.crate.types.*;
import org.apache.lucene.util.BytesRef;
import org.elasticsearch.common.io.stream.StreamInput;
imp... |
/*
* $Log: RestUriComparator.java,v $
* Revision 1.2 2011-05-23 15:32:59 L190409
* first bugfixes
*
* Revision 1.1 2011/05/19 15:11:27 Gerrit van Brakel <gerrit.van.brakel@ibissource.org>
* first version of Rest-provider support
*
*/
package nl.nn.adapterframework.http;
import java.util.Comparator;
import o... |
package gov.nih.nci.calab.service.common;
import gov.nih.nci.calab.db.DataAccessProxy;
import gov.nih.nci.calab.db.HibernateDataAccess;
import gov.nih.nci.calab.db.IDataAccess;
import gov.nih.nci.calab.domain.Aliquot;
import gov.nih.nci.calab.domain.Instrument;
import gov.nih.nci.calab.domain.MeasureType;
import gov.ni... |
package gov.nih.nci.calab.service.security;
import gov.nih.nci.calab.dto.common.UserBean;
import gov.nih.nci.calab.dto.particle.ParticleBean;
import gov.nih.nci.calab.exception.CalabException;
import gov.nih.nci.calab.service.util.CalabConstants;
import gov.nih.nci.security.AuthenticationManager;
import gov.nih.nci.sec... |
package com.cloud.configuration;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import com.cloud.agent.AgentManager;
import com.cloud.consoleproxy.ConsoleProxyManager;
import com.cloud.ha.HighAvailabilityManager;
import com.cloud.hypervisor.Hypervisor.HypervisorType;
import com.cloud.netwo... |
package com.couchbase.lite;
import com.couchbase.lite.internal.RevisionInternal;
import com.couchbase.lite.util.Log;
import junit.framework.Assert;
import org.apache.commons.io.IOUtils;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Has... |
package com.sun.star.wizards.form;
import com.sun.star.awt.XCheckBox;
import com.sun.star.awt.XRadioButton;
import com.sun.star.beans.PropertyValue;
import com.sun.star.wizards.common.Helper;
import com.sun.star.wizards.common.Properties;
import com.sun.star.wizards.ui.UnoDialog;
import com.sun.star.wizards.ui.WizardDi... |
// modification, are permitted provided that the following conditions are met:
// documentation and/or other materials provided with the distribution.
// * Neither the name of the <organization> nor the
// names of its contributors may be used to endorse or promote products
// ANY EXPRESS OR IMPLIED WARRAN... |
package com.cloud.vm.dao;
import java.util.Date;
import java.util.List;
import javax.ejb.Local;
import org.apache.log4j.Logger;
import com.cloud.uservm.UserVm;
import com.cloud.utils.component.ComponentLocator;
import com.cloud.utils.db.Attribute;
import com.cloud.utils.db.GenericDaoBase;
import com.cloud.utils.db.Join... |
package com.cloud.vm.dao;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.ejb.Local;
import org.apache.log4j.Logger;
im... |
// Depot library - a Java relational persistence library
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You should... |
package com.vaadin.ui;
import com.vaadin.server.Resource;
import com.vaadin.shared.ui.AbstractEmbeddedState;
/**
* Abstract base for embedding components.
*
* @author Vaadin Ltd.
* @version
* @VERSION@
* @since 7.0
*/
@SuppressWarnings("serial")
public abstract class AbstractEmbedded extends AbstractComponent {
... |
package mockit.multicore;
import java.io.*;
import java.net.*;
import java.util.*;
import mockit.internal.*;
final class CopyingClassLoader extends ClassLoader
{
private static final ClassLoader SYSTEM_CL = ClassLoader.getSystemClassLoader();
CopyingClassLoader()
{
super(SYSTEM_CL.getParent());
}
C... |
// samskivert library - useful routines for java programs
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You shoul... |
// $Id: PlaceRegistry.java,v 1.6 2001/08/11 04:03:25 mdb Exp $
package com.threerings.cocktail.party.server;
import java.util.Enumeration;
import java.util.Properties;
import com.samskivert.util.Config;
import com.samskivert.util.Queue;
import com.threerings.cocktail.cher.dobj.*;
import com.threerings.cocktail.cher.uti... |
package org.micro.neural;
import org.micro.neural.common.URL;
import org.micro.neural.config.GlobalConfig;
import org.micro.neural.config.GlobalConfig.*;
import org.micro.neural.config.RuleConfig;
import java.util.Map;
/**
* The Neural.
*
* @author lry
*/
public interface Neural<C extends RuleConfig, G extends Glob... |
//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
//You should have received a copy of the GNU Lesser General Publi... |
package com.thoughtworks.xstream;
import java.io.EOFException;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.NotActiveException;
import java.io.ObjectInputStream;
import java.io.ObjectInputValidation;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import ja... |
package org.apache.fop.fo.expr;
import org.apache.fop.fo.Property;
import org.apache.fop.fo.LengthProperty;
import org.apache.fop.datatypes.TableColLength;
/**
* Class modelling the proportional-column-width function. See Sec. 5.10.4 of
* the XSL-FO standard.
*/
public class PPColWidthFunction extends FunctionBase {... |
package org.joda.time.field;
import java.io.Serializable;
import java.util.Locale;
import org.joda.time.DateTimeField;
import org.joda.time.DurationField;
import org.joda.time.partial.PartialInstant;
/**
* AbstractDateTimeField provides the common behaviour for DateTimeField
* implementations.
* <p>
* This class sh... |
package org.opentdc.tags.file;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.StringTokenizer;
import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import java.util.logging.Logger... |
package krasa.grepconsole.stats;
import com.intellij.execution.impl.ConsoleViewImpl;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.ScrollType;
import com.intellij.openapi.editor.colors.Edi... |
package mathsquared.resultswizard2;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
/**
* @author MathSquared
*
*/
public class ArrayUtils {
/**
* Creates a deep copy of a multi-dimensional array, copying all sub-arrays of the array (but not the elements themselves).
... |
package graph;
import graph.doublyLinkedList.DLLNode;
import graph.doublyLinkedList.DoublyLinkedList;
import graph.doublyLinkedList.NodeIterator;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.InputMismatchException;
import java.util.LinkedList;
import java.util.PriorityQueue;
import java.u... |
package ar.glyphsets;
import java.awt.Shape;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import ar.GlyphSet;
import ar.Util;
/**Quad tree where items appear in each node that they touch (e.g., m... |
package graphex;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.TreeSet;
public class DFA{
private final char EPSILON = '\u03B5';
private ArrayList<Character> alphabet;
private NFAnode[] nfaList;
private int nfaStart;
private int nfaEnd;
int nodeNum = 0;
... |
package com.dreiri.smarping.activities;
import android.app.ActionBar;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.ListView;
import android.widget.Toast;
import com.dreiri.smarping.R;
import com.dreiri.smarping.adapters.ItemAdapter;... |
package au.com.southsky.jfreesane;
import java.awt.image.BufferedImage;
import java.io.Closeable;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import au.com.southsky.jfreesane.SaneSession.SaneDeviceHandle;
import com.google.common.base.Function;
import com.google.common.base.Preconditions;
i... |
package com.amee.platform.science;
import org.apache.commons.lang.StringUtils;
import javax.measure.quantity.Power;
import javax.measure.quantity.Quantity;
import javax.measure.unit.*;
import java.text.ParseException;
import java.text.ParsePosition;
/**
* An AmountUnit represents the unit of an Amount, eg kWh.
*
*/
... |
package com.bio4j.model.go.programs;
import com.bio4j.model.go.GoGraph;
import com.bio4j.model.go.nodes.GoTerm;
import com.bio4j.model.go.nodes.SubOntologies;
import com.ohnosequences.xml.api.model.XMLElement;
import org.jdom2.Element;
import java.io.*;
import java.util.*;
import java.util.logging.FileHandler;
import j... |
package edu.wustl.catissuecore.util.global;
/**
* This class stores the constants used in the operations in the application.
* @author gautam_shetty
*/
public class Constants extends edu.wustl.common.util.global.Constants
{
//Constants added for Catissuecore V1.2
public static final String PAGE_OF_ADMINISTRA... |
package render;
import java.util.ArrayList;
import java.util.List;
import entities.RenderObject;
public class ZBuffer {
public List<RenderObject> rendering_objects;
public ZBuffer() {
this.rendering_objects = new ArrayList<RenderObject>();
}
public void orderObjects(List<RenderObject> toBeOrdere... |
package com.codeborne.selenide;
import java.util.logging.Logger;
import static com.codeborne.selenide.Configuration.AssertionMode.STRICT;
import static com.codeborne.selenide.Configuration.FileDownloadMode.HTTPGET;
import static com.codeborne.selenide.Configuration.SelectorMode.CSS;
import static com.codeborne.selenide... |
package net.somethingdreadful.MAL;
import android.content.Context;
import android.util.Log;
import com.crashlytics.android.Crashlytics;
import net.somethingdreadful.MAL.account.AccountService;
import net.somethingdreadful.MAL.api.ALApi;
import net.somethingdreadful.MAL.api.ALModels.ForumAL;
import net.somethingdreadful... |
package com.conveyal.r5.streets;
import com.conveyal.r5.profile.Mode;
import com.conveyal.r5.profile.ProfileRequest;
import com.conveyal.r5.util.TIntObjectHashMultimap;
import com.conveyal.r5.util.TIntObjectMultimap;
import gnu.trove.iterator.TIntIterator;
import gnu.trove.list.TIntList;
import gnu.trove.list.array.TIn... |
package com.crystalcraftmc.pvpstorm;
import net.md_5.bungee.api.ChatColor;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Sound;
import org.bukkit.World;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.Ja... |
package com.github.davidmoten.tj;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.Preconditions;
public class TileFactory {
private static final Logger log = LoggerFactory
.getLogger(TileFactory.class);
public ... |
package com.github.semres.gui;
import com.github.semres.EdgeEdit;
import com.github.semres.SynsetUpdate;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.control.Button;
import javafx.scene.control.ButtonBar;
import javafx.scene.control.Label;
import javafx.scene.control.TitledPane;
import ja... |
package com.google.sps.data;
import java.util.List;
import java.util.LinkedList;
/** SmallCityService object representing all components of the webapp **/
public class SmallCityService {
private User user;
private List<Listing> businesses;
/** Create a new Small City Service instance from with no information **/
... |
package com.jcabi.aspects.aj;
import com.jcabi.log.Logger;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import javax.validation.Constraint;
import javax.validation.ConstraintViolation;
... |
package com.julienvey.trello.impl;
import static com.julienvey.trello.impl.TrelloUrl.ADD_CHECKITEMS_TO_CHECKLIST;
import static com.julienvey.trello.impl.TrelloUrl.ADD_COMMENT_TO_CARD;
import static com.julienvey.trello.impl.TrelloUrl.ADD_LABEL_TO_CARD;
import static com.julienvey.trello.impl.TrelloUrl.ADD_ATTACHMENT_T... |
package com.kiuwan.client.model;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
@XmlRootEle... |
package com.lagodiuk.decisiontree.demo;
import com.lagodiuk.decisiontree.*;
import javax.swing.*;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Random;
public class Demo5 {
public static void main(String[] args) {
... |
package com.lothrazar.item;
import java.util.List;
import com.google.common.collect.Sets;
import com.lothrazar.event.HandlerWand;
import com.lothrazar.samscontent.ItemRegistry;
import com.lothrazar.samscontent.ModLoader;
import com.lothrazar.util.Reference;
import com.lothrazar.util.SamsRegistry;
import com.lothrazar.u... |
package com.netply.botchan.web.model;
public class Message {
private String id;
private String message;
private String sender;
private boolean isDirect = false;
public Message() {
}
public Message(String id, String message) {
this(id, message, null);
}
public Message(String i... |
package com.pump.showcase;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Frame;
import java.awt.Graphics2D;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.Rectangle;
import java.awt.RenderingHints;
import java.a... |
package com.qiniu.streaming;
import com.qiniu.common.QiniuException;
import com.qiniu.http.Client;
import com.qiniu.http.Response;
import com.qiniu.streaming.model.ActivityRecords;
import com.qiniu.streaming.model.StreamAttribute;
import com.qiniu.streaming.model.StreamListing;
import com.qiniu.streaming.model.StreamSt... |
package com.semihunaldi.excelorm;
import com.semihunaldi.excelorm.annotations.Excel;
import com.semihunaldi.excelorm.annotations.ExcelColumn;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.reflect.FieldUtils;
import org.apache.poi.ss.usermodel.CellType;
import org.apache.poi.xssf.usermodel... |
package com.trezoragent.gui;
import com.trezoragent.sshagent.ReadTrezorData;
import com.trezoragent.utils.AgentConstants;
import com.trezoragent.utils.AgentUtils;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.Point;
impo... |
package com.yjz.microweb.http;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.Method;
import java.net.URLDecoder;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.Filter;
import javax.servlet.ServletException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org... |
package de.bmoth.modelchecker;
import java.util.HashSet;
import java.util.Set;
import java.util.stream.Collectors;
public class StateSpaceNode {
private final State state;
private final Set<StateSpaceNode> successors;
public StateSpaceNode(State state) {
this.state = state;
successors = new ... |
package io.branch.referral;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.graphics.Color;
import and... |
package de.teiesti.postie.recipients;
import de.teiesti.postie.Postman;
import de.teiesti.postie.Recipient;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
/**
* A {@link Mailbox} is a {@link Recipient} that stores accepted {@link Letter}s until they where received. To use a... |
package io.branch.referral;
import static io.branch.referral.BranchPreinstall.getPreinstallSystemData;
import static io.branch.referral.BranchUtil.isTestModeEnabled;
import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.content.Intent;
import android.content.pm.Acti... |
package de.teiesti.postie.recipients;
import de.teiesti.postie.Postman;
import de.teiesti.postie.Recipient;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
public class Mailbox<Letter> implements Recipient<Letter> {
private final BlockingQueue<Letter> inbox = new LinkedBl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.