answer stringlengths 17 10.2M |
|---|
package ar.edu.unrc.exa.dc.dose2016.riocuartobandasderock.main;
import java.util.List;
import ar.edu.unrc.exa.dc.dose2016.riocuartobandasderock.model.Album;
import ar.edu.unrc.exa.dc.dose2016.riocuartobandasderock.dao.AlbumDAO;
import ar.edu.unrc.exa.dc.dose2016.riocuartobandasderock.dao.impl.AlbumDaoImpl;
import spark... |
package com.github.kory33.UpdateNotificationPlugin.github;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.ap... |
package com.insightfullogic.honest_profiler.core.collector;
import com.insightfullogic.honest_profiler.core.Monitor;
import com.insightfullogic.honest_profiler.core.parser.LogEventListener;
import com.insightfullogic.honest_profiler.core.parser.Method;
import com.insightfullogic.honest_profiler.core.parser.StackFrame;
... |
/**
* An implementation of the traveling salesman problem in Java using dynamic programming to improve
* the time complexity from O(n!) to O(n^2 * 2^n).
*
* <p>Time Complexity: O(n^2 * 2^n) Space Complexity: O(n * 2^n)
*
* @author William Fiset, william.alexandre.fiset@gmail.com
*/
package com.williamfiset.algor... |
package edu.utah.ece.async.sboldesigner.sbol.editor.dialog;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Container;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.util.Arrays;
import javax.swing.BorderFactory;
import javax... |
package net.earthcomputer.easyeditors.gui.command.slot;
import com.google.common.base.Predicate;
import net.earthcomputer.easyeditors.api.util.Patterns;
import net.earthcomputer.easyeditors.gui.command.CommandSyntaxException;
/**
* A text field which has an integer value
*
* @author Earthcomputer
*
*/
public class... |
package org.broadinstitute.hellbender.utils.runtime;
import com.google.common.io.Files;
import org.apache.commons.io.IOUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.broadinstitute.hellbender.exceptions.GATKException;
import org.broadinstitute.hellbender.utils.Util... |
package org.jbehave.scenario.finegrained.junit.monitoring;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import org.jbehave.core.configuration.Configuration;
import org.jbehave.core.embedder.Embedder;
import org.jbehave.core.embedder.StoryRunner;
import org.jbehave.core.junit.JUnit... |
package org.mtransit.parser.ca_sorel_varennes_citsv_bus;
import java.util.HashSet;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.mtransit.parser.DefaultAgencyTools;
import org.mtransit.parser.Utils;
import org.mtransit.parser.gtfs.data.GCalendar;
import org.mtransit.parser.gtfs.data.GCalend... |
package com.damick.dropwizard.metrics.cloudwatch;
import com.amazonaws.services.cloudwatch.AmazonCloudWatchAsync;
import com.amazonaws.services.cloudwatch.model.MetricDatum;
import com.amazonaws.services.cloudwatch.model.PutMetricDataRequest;
import com.codahale.metrics.Counter;
import com.codahale.metrics.MetricRegist... |
package net.openhft.chronicle.queue.impl.single;
import net.openhft.chronicle.queue.*;
import net.openhft.chronicle.wire.DocumentContext;
import net.openhft.chronicle.wire.ValueOut;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import j... |
package org.ambraproject.rhino.rest.controller;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
import org.amb... |
package org.motechproject.nms.testing.it.imi;
import org.apache.commons.codec.binary.Hex;
import org.joda.time.DateTime;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.motechproject.nms.imi.service.SettingsService;
import org.... |
package io.spine.server.integration;
import io.spine.server.integration.given.IntProjectRepository;
import io.spine.server.integration.given.RepositoryThrowingExceptionOnClose;
import io.spine.server.integration.given.IntReportRepository;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
... |
package to.etc.domui.component2.controlfactory;
import to.etc.domui.component.input.DateInput;
import to.etc.domui.component.input.DateInput2;
import to.etc.domui.component.meta.PropertyMetaModel;
import to.etc.domui.dom.html.IControl;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.... |
package io.spine.tools.gradle.compiler;
import com.google.common.annotations.VisibleForTesting;
import io.spine.tools.gradle.SpinePlugin;
import org.checkerframework.checker.nullness.qual.Nullable;
import org.gradle.api.Action;
import org.gradle.api.Project;
import org.gradle.api.artifacts.Configuration;
import org.gra... |
package org.cipres.treebase.domain.nexus.nexml;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.cipres.treebase.Constants;
import org.cipres.treebase.TreebaseUtil;
import org.cipres.treebase.domain.matrix.Char... |
package de.danielnaber.languagetool.tagging.pl;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import de.danielnaber.languagetool.AnalyzedTokenReadings;
import de.danielnaber.languagetool.tokenizers.WordTokenizer;
import junit.framework.TestCase;
public class P... |
package gr.ntua.vision.monitoring.rules;
import gr.ntua.vision.monitoring.events.Event;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class AggregationPerContainerRule implements AggregationRule {
pr... |
package org.weasis.dicom.viewer2d;
import java.awt.Component;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.swing.JOptionPane;
import org.dcm4che3.data.Attributes;
import org.dcm4che3.data.Tag;
import org.weasis.core.api.explorer.ObservableEvent;
import org.weasis.core.api... |
package org.webrtc.voiceengine;
import android.content.Context;
import android.content.pm.PackageManager;
import android.media.audiofx.AcousticEchoCanceler;
import android.media.audiofx.AudioEffect;
import android.media.audiofx.AudioEffect.Descriptor;
import android.media.AudioManager;
import android.os.Build;
import a... |
package com.nitorcreations.willow.eventhandler;
import java.io.IOException;
import java.net.URI;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.u... |
package com.example.alexeyglushkov.wordteacher;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.View;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import main.MainApplicatio... |
package com.rehivetech.beeeon.gui.adapter.dashboard;
import android.content.SharedPreferences;
import android.os.Build;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.HapticFeedbackConstants;
import android.v... |
package com.braintreepayments.cardform.view;
import android.text.Editable;
import android.text.Spanned;
import android.view.View;
import com.braintreepayments.cardform.R;
import com.braintreepayments.cardform.test.TestActivity;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.... |
package cz.cvut.valespe.js.interpreter;
import java.lang.Object;
import cz.cvut.valespe.js.interpreter.model.*;
import cz.cvut.valespe.js.parser.JavaScriptParser;
import org.antlr.v4.runtime.misc.NotNull;
import org.antlr.v4.runtime.tree.ErrorNode;
import org.antlr.v4.runtime.tree.ParseTree;
import org.antlr.v4.runtime... |
package cz.cvut.valespe.js.interpreter;
import java.lang.Object;
import cz.cvut.valespe.js.interpreter.model.*;
import cz.cvut.valespe.js.parser.JavaScriptParser;
import org.antlr.v4.runtime.misc.NotNull;
import org.antlr.v4.runtime.tree.ErrorNode;
import org.antlr.v4.runtime.tree.ParseTree;
import org.antlr.v4.runtime... |
package de.rwth.dbis.layers.lapps.authenticate;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.List;
import javax.inject.Singleton;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jack... |
package com.cleytongoncalves.popmovies.ui.mainscreen;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInfla... |
package ee.ut.cs.rum.workspace.internal.ui.overview;
import java.text.SimpleDateFormat;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
i... |
package com.twistedplane.sealnote.view.staggeredgrid;
import android.content.Context;
import android.content.res.Configuration;
import android.os.Parcelable;
import android.util.AttributeSet;
import android.util.Log;
import android.widget.ListAdapter;
import com.twistedplane.sealnote.data.CardGridStaggeredCursorAdapter... |
package ru.stqa.java.adressbook.tests;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.testng.annotations.Test;
import ru.stqa.java.adressbook.model.ContactData;
import java.util.Arrays;
import java.util.stream.Collectors;
import static org.hamcrest.MatcherAssert.assertThat;
import static or... |
package ru.stqa.pft.addressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.Select;
import org.testng.Ass... |
package org.cytoscape.app.internal.net.server;
import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
i... |
package edu.csulb.android.androidscoretracker;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
public class SessionHistoryDatabaseManager {
private SQLiteDatabase db;
private Simpl... |
package nodomain.freeyourgadget.gadgetbridge.devices.qhybrid;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.... |
package org.mifos.mobilebanking.ui.fragments;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.TextInputLayout;
import android.support.v4.widget.NestedScrollView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import... |
package nodomain.freeyourgadget.gadgetbridge.test;
import org.junit.BeforeClass;
import org.junit.Test;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.Date;
import java.util.List;
import nodomain.freeyourgadget.gadgetbridge.devices.amazfitbip.BipActivi... |
package org.ovirt.engine.core.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.ovirt.engine.core.common.businessentities.BootSequence;
import org.ovirt.engine.core.common.businessentities.DisplayType;
import org.ovirt.engine.... |
package org.jenkinsci.plugins.workflow.steps;
import hudson.Extension;
import hudson.FilePath;
import hudson.model.Run;
import jenkins.model.ArtifactManager;
import jenkins.util.VirtualFile;
import org.kohsuke.stapler.DataBoundConstructor;
import org.kohsuke.stapler.DataBoundSetter;
import java.io.IOException;
import j... |
package org.biojava.bio.structure.align.gui;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.util.logging.Logger;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.Box;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import ja... |
package org.biojava.bio.structure.align.model;
import java.io.StringWriter;
import java.util.List;
import org.biojava.bio.structure.Atom;
import org.biojava.bio.structure.Chain;
import org.biojava.bio.structure.Group;
import org.biojava.bio.structure.ResidueNumber;
import org.biojava.bio.structure.StructureTools;
impor... |
package org.apache.ode.bpel.engine.cron;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.Callable;
import javax.xml.namespace.QName;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.ode.bpel.common.InstanceFilter;
import org.apache.ode.bpel.d... |
package ch.elexis.core.ui.e4.jface.preference;
import java.io.File;
import java.io.IOException;
import org.eclipse.jface.preference.StringButtonFieldEditor;
import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.DirectoryDia... |
package gov.nih.nci.cagrid.syncgts.core;
import gov.nih.nci.cagrid.common.Utils;
import gov.nih.nci.cagrid.syncgts.bean.DateFilter;
import gov.nih.nci.cagrid.syncgts.bean.SyncReport;
import java.io.File;
import javax.xml.namespace.QName;
/**
* @author <A href="mailto:langella@bmi.osu.edu">Stephen Langella </A>
* @aut... |
package io.spine.examples.todolist.client;
import android.arch.lifecycle.LiveData;
import android.arch.lifecycle.MutableLiveData;
import android.util.Log;
import com.google.firebase.firestore.Blob;
import com.google.firebase.firestore.CollectionReference;
import com.google.firebase.firestore.DocumentChange;
import com.... |
package org.jetel.connection.jdbc.specific.impl;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Types;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java... |
package edu.duke.cabig.c3pr.service.impl;
import edu.duke.cabig.c3pr.dao.ResearchStaffDao;
import edu.duke.cabig.c3pr.domain.*;
import edu.duke.cabig.c3pr.exception.C3PRBaseException;
import edu.duke.cabig.c3pr.service.PersonnelService;
import gov.nih.nci.security.UserProvisioningManager;
import gov.nih.nci.security.ac... |
package com.yahoo.vespa.config.server.model;
import com.yahoo.cloud.config.LbServicesConfig;
import com.yahoo.cloud.config.LbServicesConfig.Tenants.Applications.Endpoints;
import com.yahoo.config.application.api.ApplicationPackage;
import com.yahoo.config.model.NullConfigModelRegistry;
import com.yahoo.config.model.api... |
package org.terracotta.consensus;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import org.terracotta.consensus.entity.CoordinationServerEntityService;
import org.terracotta.consensus.entity.client.ClientCoor... |
package it.unibz.inf.ontop.iq.type.impl;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.google.inject.Inject;
import it.unibz.inf.ontop.dbschema.Attribute;
import it.unibz.inf.ontop.dbschema.RelationDefinition;
import it.unibz.inf.ontop.exception.NonUniqueTermT... |
package org.onetwo.common.hibernate;
import java.sql.Clob;
import java.util.Arrays;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.transform.AliasedTupleSubsetResultTransformer;
import org.onetwo.common.spring.SpringUtils;
import org.onetwo.common.utils.Assert;
import org.onetwo.co... |
package de.peeeq.wurstio.jassinterpreter;
import com.google.common.collect.Maps;
import de.peeeq.wurstscript.WLogger;
import de.peeeq.wurstscript.intermediatelang.*;
import de.peeeq.wurstscript.intermediatelang.interpreter.NativesProvider;
import de.peeeq.wurstscript.jassinterpreter.TestFailException;
import de.peeeq.w... |
//$HeadURL$
package org.deegree.services.controller.wfs;
import static javax.xml.XMLConstants.DEFAULT_NS_PREFIX;
import static org.deegree.gml.GMLVersion.GML_31;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.... |
package org.owasp.dependencycheck.data.update;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.logging.Level;
import java.util.logging.Logger;
import j... |
package org.owasp.dependencycheck.data.cpe;
import org.owasp.dependencycheck.data.cpe.IndexEntry;
import junit.framework.TestCase;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.Assert;
/**
*
* @author Jeremy Long (je... |
package com.xpn.xwiki.it.selenium;
import junit.framework.Test;
import com.xpn.xwiki.it.selenium.framework.AbstractXWikiTestCase;
import com.xpn.xwiki.it.selenium.framework.AlbatrossSkinExecutor;
import com.xpn.xwiki.it.selenium.framework.XWikiTestSuite;
/**
* Tests the wiki editor.
*
* @version $Id: $
*/
public cl... |
package com.xpn.xwiki.it.selenium;
import java.awt.event.KeyEvent;
import junit.framework.Test;
import com.xpn.xwiki.it.selenium.framework.AbstractWysiwygTestCase;
import com.xpn.xwiki.it.selenium.framework.AlbatrossSkinExecutor;
import com.xpn.xwiki.it.selenium.framework.XWikiTestSuite;
/**
* Tests for the custom lis... |
package com.github.mcollovati.vaadin.exampleapp;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import com.github.mcollovati.vaadin.exampleapp.samples.MainScreen;
import com.github.mcollovati.vaadin.exampleapp.samples.authentication.Acc... |
/* This class is part of the XP framework's EAS connectivity
*
* $Id$
*/
package net.xp_framework.easc.protocol.standard;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.lang.reflect.Proxy;
import net.xp_framework.easc.server.Handler;
import net.xp_framework.e... |
package uk.ac.ebi.quickgo.geneproduct.model;
import uk.ac.ebi.quickgo.geneproduct.common.document.GeneProductFields;
import uk.ac.ebi.quickgo.rest.controller.request.ArrayPattern;
import uk.ac.ebi.quickgo.rest.search.query.QuickGOQuery;
import uk.ac.ebi.quickgo.rest.search.request.FilterRequest;
import io.swagger.annot... |
package fr.mmarie.core.jira;
import com.google.common.collect.ImmutableList;
import fr.mmarie.api.jira.Comment;
import fr.mmarie.api.jira.Transition;
import fr.mmarie.api.jira.input.TransitionInput;
import fr.mmarie.api.jira.response.TransitionResponse;
import org.assertj.core.data.MapEntry;
import org.junit.Before;
im... |
package com.fivehundredpx.greedolayout;
import java.util.ArrayList;
import java.util.List;
public class GreedoLayoutSizeCalculator {
public interface SizeCalculatorDelegate {
double aspectRatioForIndex(int index);
}
private static final int DEFAULT_MAX_ROW_HEIGHT = 600;
private int mMaxRowHeight... |
package com.streamsets.pipeline.stage.destination.hdfs;
import com.codahale.metrics.Counter;
import com.codahale.metrics.Meter;
import com.streamsets.pipeline.api.Batch;
import com.streamsets.pipeline.api.Record;
import com.streamsets.pipeline.api.StageException;
import com.streamsets.pipeline.api.base.OnRecordErrorExc... |
// package
package org.mskcc.cbio.importer.fetcher.internal;
// imports
import org.mskcc.cbio.importer.Config;
import org.mskcc.cbio.importer.Fetcher;
import org.mskcc.cbio.importer.FileUtils;
import org.mskcc.cbio.importer.DatabaseUtils;
import org.mskcc.cbio.importer.model.ImportDataRecord;
import org.mskcc.cbio.impo... |
package org.intermine.webservice.query.result;
import javax.servlet.http.HttpServletRequest;
/**
* Processes service request. Evaluates parameters and validates them and check if
* its combination is valid.
* @author Jakub Kulaviak
**/
public class QueryResultRequestParser extends WebServiceRequestParser
{
priv... |
package com.ibm.streamsx.topology.internal.context.streams;
import static com.ibm.streamsx.topology.internal.context.remote.DeployKeys.deploy;
import static com.ibm.streamsx.topology.internal.context.remote.DeployKeys.keepArtifacts;
import java.io.File;
import java.io.IOException;
import java.math.BigInteger;
import ja... |
package tigase.jaxmpp.j2se.connectors.socket;
import tigase.jaxmpp.core.client.BareJID;
import tigase.jaxmpp.core.client.PacketWriter;
import tigase.jaxmpp.core.client.SessionObject;
import tigase.jaxmpp.core.client.XmppModulesManager;
import tigase.jaxmpp.core.client.XmppSessionLogic;
import tigase.jaxmpp.core.client.... |
package info.naiv.lab.java.jmt.template;
import info.naiv.lab.java.jmt.io.ResourceRepository;
import info.naiv.lab.java.jmt.io.SuffixAndExtensionFilter;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import lombok.Getter;
import lomb... |
package org.languagetool.rules.spelling.hunspell;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.*;
import java.util.regex.Pattern;
import com.google.comm... |
package test;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import org.junit.Test;
import bot.Bot;
public class BotTests {
@Test
public void connectionTest() throws IOException {
Bot bot = new Bot(System.getenv(Bot.TOKEN_NAME));
... |
// 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 net.worcade.client.query;
import net.worcade.client.internal.WorcadeQuery;
import java.util.Collection;
public interface Query<T extends EntityField> {
static Builder<AssetField> asset() {
return WorcadeQuery.builder();
}
static Builder<ConversationField> conversation() {
return Worc... |
package jodd.lagarto.dom;
import jodd.lagarto.Doctype;
import jodd.lagarto.Tag;
import jodd.lagarto.TagType;
import jodd.lagarto.TagUtil;
import jodd.lagarto.TagVisitor;
import jodd.util.JoddScript;
import jodd.util.StringPool;
import jodd.log.Logger;
import jodd.log.LoggerFactory;
/**
* Lagarto tag visitor that build... |
package org.jetbrains.jps.model.impl;
import org.jetbrains.jps.model.JpsElement;
import org.jetbrains.jps.model.JpsElementChildRole;
/**
* @author nik
*/
public class JpsElementChildRoleBase<E extends JpsElement> extends JpsElementChildRole<E> {
private String myDebugName;
protected JpsElementChildRoleBase(String... |
package org.junit.gen5.commons.util;
import static java.util.stream.Collectors.toList;
import java.io.File;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Member;
import java.lang.reflect.Method;
import java.l... |
package ch.uzh.ddis.katts.bolts.join;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import ch.uzh.ddis.katts.query.processor.join.JoinConditionConfiguration;
import ch.uzh.ddis.katts.query.process... |
package com.shmenkins.core.handler.builder;
import java.io.File;
import java.net.URL;
import org.apache.commons.io.FileUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.shmenkins.core.handler.BasicHandler;
import com.shmenkins.core.infra.binarystorage.BinaryStorage;
import com.shmenkins.core.in... |
package com.quemb.qmbform.brower;
import android.content.DialogInterface;
import android.content.Intent;
import android.media.Image;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.s... |
package com.kaneki.xchatmessageview.base;
import android.content.Context;
import android.graphics.Color;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import com.kaneki.xchat... |
package lucee.runtime.interpreter.ref.literal;
import lucee.runtime.PageContext;
import lucee.runtime.exp.PageException;
import lucee.runtime.interpreter.ref.Ref;
import lucee.runtime.interpreter.ref.util.RefUtil;
import lucee.runtime.op.Caster;
/**
* Literal Number
*/
public final class LNumber implements Literal {
... |
package org.motechproject.mockil.service;
import org.joda.time.DateTime;
import org.joda.time.LocalDate;
import org.joda.time.Period;
import org.motechproject.commons.date.model.Time;
import org.motechproject.commons.date.util.JodaFormatter;
import org.motechproject.event.MotechEvent;
import org.motechproject.event.lis... |
package org.jboss.as.modcluster;
import org.apache.catalina.connector.Connector;
import org.jboss.as.controller.AbstractAddStepHandler;
import org.jboss.as.controller.AttributeDefinition;
import org.jboss.as.controller.OperationContext;
import org.jboss.as.controller.OperationFailedException;
import org.jboss.as.contro... |
package org.apache.geronimo.deployment;
public interface MockEndpoint {
String doSomething(String name);
} |
package com.haulmont.cuba.desktop.sys;
import com.haulmont.cuba.desktop.sys.vcl.ToolTipButton;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
/**
* Class that encapsulates displaying of tooltips for all components.
*
* @author devyatkin
* @version $Id$
*/
public class DesktopToolTipManager exten... |
package org.interonet.ldm.VMM;
import com.jcraft.jsch.JSchException;
public interface initBV {
String createBridge() throws JSchException;
String createVLAN() throws JSchException;
String addBridgeToVlan() throws JSchException;
} |
import java.util.Random;
public final class BooleanUtils {
private static final Random RANDOM = new Random();
private BooleanUtils() {
}
public static boolean maybe() {
return RANDOM.nextBoolean();
}
} |
package com.kotcrab.vis.editor;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.badlogic.gdx.scenes.scene2d.ui.Table;
import com.badlogic.gdx.scenes.scene2d.... |
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.HashSet;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
public... |
package org.akvo.flow.events;
import static com.gallatinsystems.common.util.MemCacheUtils.initCache;
import static org.akvo.flow.events.EventUtils.getEventAndActionType;
import static org.akvo.flow.events.EventUtils.newContext;
import static org.akvo.flow.events.EventUtils.newEntity;
import static org.akvo.flow.events.... |
package jasy.lang.ast;
import jasy.lang.ASMCompiler;
import jasy.lang.ASMCompiler.Region;
import jasy.lang.ClassResolver;
import jasy.lang.SingleClassLoader;
import jasy.runtime.asm.CommonClassTransformer;
import jasy.runtime.asm.CompositeTransformer;
import jasy.runtime.asm.IfAllTransformer;
import java.io.PrintWriter... |
package drones.simulation;
import akka.actor.Cancellable;
import akka.japi.pf.ReceiveBuilder;
import akka.japi.pf.UnitPFBuilder;
import drones.messages.*;
import drones.models.*;
import drones.simulation.messages.SetConnectionLostMessage;
import drones.simulation.messages.SetCrashedMessage;
import play.libs.Akka;
impor... |
package mainFiles;
import java.awt.Color;
import java.awt.Font;
import java.awt.GraphicsEnvironment;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.InputMismatchException;
import jav... |
import java.net.DatagramPacket;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
public class RequestFromUIControllerToGetaResource extends RequestFromUIController implements Runnable
{
/**
*
* Miguel Velez
* April 29, 2015
*
* This class is a request from ui controller to get... |
package com.parc.ccn.library;
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.InvalidParameterException;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import java.security.Security;
import java.security.SignatureException;
import java.util.Arr... |
package org.commcare.utils;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.util.DisplayMetrics;
import android.util.Log;
import android.util.Pair;
import android.view.WindowManager;
import org.commcare.engine.references.JavaFileReference;
import org... |
package oap.media.postprocessing;
import com.fasterxml.jackson.core.type.TypeReference;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import oap.json.Binder;
import oap.media.Media;
import oap.media.MediaInfo;
import oap.media.MediaProcessing;
import org.apache.commons.io.IOUtils;
import java.nio.charse... |
package org.opencb.opencga.analysis;
import org.opencb.commons.datastore.core.Query;
import org.opencb.commons.datastore.core.QueryOptions;
import org.opencb.commons.datastore.core.QueryResult;
import org.opencb.hpg.bigdata.analysis.exceptions.AnalysisToolException;
import org.opencb.hpg.bigdata.analysis.tools.ToolMana... |
package com.limegroup.gnutella.gui;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Locale;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.net.InetAddress;
import java.net.BindException;
import com.limegroup.gnutella.URN;
impo... |
package org.opencb.opencga.server.ws;
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.opencb.cellbase.core.lib.dbquery.DBObjectMap;
import org.opencb.cellbase.core.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.