answer stringlengths 17 10.2M |
|---|
package uk.ac.ebi.quickgo.annotation.controller;
import uk.ac.ebi.quickgo.annotation.AnnotationREST;
import uk.ac.ebi.quickgo.annotation.common.AnnotationDocument;
import uk.ac.ebi.quickgo.annotation.common.AnnotationRepository;
import uk.ac.ebi.quickgo.annotation.common.document.AnnotationDocMocker;
import uk.ac.ebi.q... |
package uk.ac.ebi.quickgo.annotation.controller;
import uk.ac.ebi.quickgo.annotation.AnnotationREST;
import uk.ac.ebi.quickgo.annotation.common.AnnotationRepository;
import uk.ac.ebi.quickgo.annotation.common.document.AnnotationDocMocker;
import uk.ac.ebi.quickgo.annotation.common.document.AnnotationDocument;
import uk... |
package openfoodfacts.github.scrachx.openfood.fragments;
import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import o... |
package org.ovirt.engine.core.bll;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.TimeUnit... |
package org.ovirt.engine.core.bll.validator;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.apache.commons.lang.StringUtils;
import org.ovirt.engine.core.bll.Backend;
import org.ovirt.engine.core.bll.Ima... |
package org.bridgedb.bio;
import java.util.regex.Pattern;
import org.bridgedb.DataSource;
import org.bridgedb.DataSourcePatterns;
import org.bridgedb.DataSource.PrefixUrlMaker;
import org.bridgedb.DataSource.UrlMaker;
public class BioDataSource
{
public static final DataSource TAIR = DataSource.register (
... |
package org.intermine.bio.dataconversion;
import java.util.HashMap;
import java.util.Map;
import org.intermine.bio.io.gff3.GFF3Record;
import org.intermine.metadata.Model;
import org.intermine.xml.full.Item;
public class TiffinGFF3RecordHandler extends GFF3RecordHandler
{
private Map<String, Item> motifs = new Hash... |
package io.jenkins.blueocean.service.embedded.rest;
import hudson.model.Action;
import hudson.model.FreeStyleBuild;
import hudson.model.Run;
import hudson.plugins.git.util.BuildData;
import io.jenkins.blueocean.commons.ServiceException;
import io.jenkins.blueocean.rest.hal.Link;
import io.jenkins.blueocean.rest.model.B... |
package com.dianping.cat.consumer.transaction;
import java.io.IOException;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.codehaus.plexus.logging.LogEnabled;
import org.codehaus.plexus.logging.Logger;
import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable;
import org... |
package edu.kit.iks.Cryptographics.DiffieHellman.Demonstration;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GridBagLayout;
import java.awt.RenderingHints;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.geom.Ellipse2D;
import java... |
/*
* (e-mail:zhongxunking@163.com)
*/
/*
* :
* @author 2017-09-14 16:11
*/
package org.antframework.configcenter.web.controller;
import org.antframework.boot.bekit.AntBekitException;
import org.antframework.common.util.facade.Status;
import org.antframework.configcenter.facade.api.ConfigService;
import org.antfr... |
package com.jrestless.core.filter.cors;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull;
import javax.ws.rs.DELETE;
import javax.ws.rs.HttpMethod;
import javax.ws.rs.OPTIONS;
import javax.w... |
package org.collectionspace.chain.csp.persistence.services;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.fail;
import java.util.HashMap;
import java.util.Map;
import org.collectionspace.chain.csp.persistence.services.connection.ConnectionExcep... |
package de.vogella.rcp.intro.dialogs.custom.dialogs;
import org.eclipse.jface.dialogs.IMessageProvider;
import org.eclipse.jface.dialogs.TitleAreaDialog;
import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionE... |
package org.owasp.dependencycheck.analyzer;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import java.util.Set;
import java.util.logging.Level;
import jav... |
package eu.earthobservatory.org.StrabonEndpoint.client;
import org.openrdf.query.resultio.stSPARQLQueryResultFormat;
/**
* Every SPARQL endpoint that supports storing and querying of
* spatial RDF data should extend the {@link SpatialEndpoint}
* abstract class.
*
* @author Charalampos Nikolaou <charnik@di.uoa.gr>
... |
package org.fcrepo.generator.dublincore;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.io.InputStream;
import javax.jcr.Node;
import javax.jcr.Property;
import javax.jcr.PropertyIterator;
impo... |
package ch.sourcepond.io.fileobserver.impl.directory;
import ch.sourcepond.io.fileobserver.api.FileKey;
import ch.sourcepond.io.fileobserver.api.FileObserver;
import ch.sourcepond.io.fileobserver.impl.observer.CompoundObserverHandler;
import ch.sourcepond.io.fileobserver.impl.registrar.Registrar;
import ch.sourcepond.i... |
package org.fedorahosted.flies.maven;
import java.io.File;
import java.net.URL;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.fedorahosted.flies.client.commands.ConfigurableCommand;
import com.pyx4j.log... |
package org.eclipse.hawkbit.ui.distributions.event;
import org.eclipse.hawkbit.repository.model.SoftwareModule;
import org.eclipse.hawkbit.ui.common.table.BaseEntityEvent;
import org.eclipse.hawkbit.ui.common.table.BaseEntityEventType;
/**
* Class which contains the Event when selecting all entries of a table
*/
publ... |
package com.ctrip.hermes.metaserver.consumer;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import java.util.HashMap;
im... |
package org.hudsonci.model.project.property;
import hudson.util.DescribableList;
import org.apache.commons.collections.CollectionUtils;
import org.hudsonci.api.model.IJob;
public class DescribableListProjectProperty extends BaseProjectProperty<DescribableList> {
public DescribableListProjectProperty(IJob job) {
... |
package org.hudsonci.servlets.internal;
import org.hudsonci.servlets.ServletRegistration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.Servlet;
import javax.servlet.ServletConfig;
import ja... |
package persistence;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import com.google.gson.JsonObject;
import model.entity.AssignOrderToUser;
import model.entity.AssignProductToOrder;
import model.e... |
package ru.nsu.ccfit.bogush;
import ru.nsu.ccfit.bogush.view.FactoryView;
import java.io.IOException;
public class Main {
private static final String CONFIG_FILE = "config.properties";
private static CarFactoryModel model;
private static void prepare(String configFilePath) throws IOException {
Confi... |
package com.facebook.imagepipeline.animated.factory;
import javax.annotation.concurrent.NotThreadSafe;
import android.content.Context;
@NotThreadSafe
public interface AnimatedFactory {
AnimatedDrawableFactory getAnimatedDrawableFactory(Context context);
AnimatedImageFactory getAnimatedImageFactory();
} |
package org.intermine.webservice.client.benchmark;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertNotNull;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.intermine.pathquery.Constraints;
import org.in... |
// modification, are permitted provided that the following conditions are met:
// and/or other materials provided with the distribution.
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
// ANY DIRECT, INDIRECT, ... |
package br.ufrn.imd.netfrix.view;
import java.sql.ResultSet;
import java.sql.SQLException;
import br.ufrn.imd.netfrix.MainApp;
import br.ufrn.imd.netfrix.util.DataBase;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
public class Log... |
package org.jboss.aerogear.unifiedpush.rest.config;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.OPTIONS;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Respo... |
package org.sagebionetworks.table.cluster;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api... |
package com.arrow.acn.client.api;
import org.apache.commons.lang3.Validate;
import com.arrow.acs.AcsUtils;
import com.arrow.acs.client.api.ApiConfig;
import com.arrow.acs.client.api.MqttHttpChannel;
public final class AcnClient {
private ApiConfig apiConfig;
private AccountApi accountApi;
private ConfigBack... |
package net.canadensys.harvester.occurrence.reader;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;
import net.canadensys.dataportal.occurrence.model.OccurrenceRawModel;
... |
package com.domker.androidtoy.activity;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
import com.do... |
package com.example.webappsampler;
import java.util.List;
import android.app.Activity;
import android.app.AlertDialog;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import com.connectsd... |
package com.inmobi.messaging.consumer.databus;
import java.io.IOException;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import org.apache.commons.logging.... |
package com.polidea.rxandroidble.mockrxandroidble;
import android.bluetooth.BluetoothGattCharacteristic;
import android.bluetooth.BluetoothGattDescriptor;
import android.support.annotation.NonNull;
import com.polidea.rxandroidble.NotificationSetupMode;
import com.polidea.rxandroidble.RxBleConnection;
import com.polidea... |
package test;
import static org.junit.Assert.*;
import java.io.FileNotFoundException;
import java.util.LinkedList;
import java.util.Set;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import clue.BadConfigFormatException;
import clue.Board;
import clue.BoardCell;
public class TestBoardAdjacenc... |
package com.tagmycode.netbeans;
import com.tagmycode.plugin.Framework;
import com.tagmycode.plugin.FrameworkConfig;
import com.tagmycode.sdk.authentication.TagMyCodeApiProduction;
import java.awt.BorderLayout;
import java.awt.Frame;
import org.netbeans.api.settings.ConvertAsProperties;
import org.openide.awt.ActionID;
... |
package com.xruby.runtime.builtin;
import java.util.Iterator;
import java.util.Map;
import com.xruby.runtime.lang.CommonRubyID;
import com.xruby.runtime.lang.RubyAPI;
import com.xruby.runtime.lang.RubyBlock;
import com.xruby.runtime.lang.RubyClass;
import com.xruby.runtime.lang.RubyException;
import com.xruby.runtime.l... |
// This file is part of the OpenNMS(R) Application.
// OpenNMS(R) is a derivative work, containing both original code, included code and modified
// and included code are below.
// OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
// Modifications:
// 2007 Jun 22: Iterate over the proper array in the four... |
package org.smeup.sys.dk.compiler.rpj.writer;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.inject.Inject;
import org.eclipse.datatools.modelbase.... |
package org.spoofax.jsglr2.integrationtest;
import static java.util.Collections.sort;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.*;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
im... |
package org.opendaylight.yangtools.yang.stmt;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.opendaylight.yangtools.yang.stmt.St... |
package net.sf.cglib;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
/**
* @author Chris Nokleberg <a href="mailto:chris@nokleberg.com">chris@nokleberg.com</a>
* @version $Id: MethodClosure.java,v 1.4 2002-12-21 21:44:25 herbyderby Exp $
*/
abstract public class MethodClosure {
/* package */... |
package com.redhat.ceylon.eclipse.core.model;
import static com.redhat.ceylon.eclipse.core.builder.CeylonBuilder.isInCeylonClassesOutputFolder;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.TreeMap;
i... |
package org.kuali.rice.krad.data.jpa;
import org.apache.commons.lang.RandomStringUtils;
import org.junit.Before;
import org.junit.Test;
import org.kuali.rice.core.api.criteria.OrderByField;
import org.kuali.rice.core.api.criteria.OrderDirection;
import org.kuali.rice.core.api.criteria.Predicate;
import org.kuali.rice.c... |
package org.ow2.proactive.scheduler.job;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import org.ow2.proactive.scheduler.common.job.JobPriority;
import org.ow2.proactive.scheduler.common.job.JobT... |
package org.neo4j.server.enterprise;
import static org.junit.Assert.assertEquals;
import java.net.URI;
import java.util.Map;
import javax.ws.rs.core.MediaType;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestName... |
package org.realityforge.replicant.server.transport;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
import java.util.concurrent.locks.ReadWriteLock;
import java.ut... |
package de.larmic.butterfaces.component.showcase.table;
import de.larmic.butterfaces.component.showcase.AbstractShowcaseComponent;
import de.larmic.butterfaces.component.showcase.tree.SelectionAjaxType;
import de.larmic.butterfaces.event.TableSingleSelectionListener;
import javax.faces.model.SelectItem;
import javax.fa... |
package solutions.digamma.damas.standalone;
import java.io.IOException;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.enterprise.inject.Instance;
import javax.inject.Inject;
import javax.inject.Singleton;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
... |
package org.apache.lucene.spatial.strategy.util;
import java.io.IOException;
import java.util.WeakHashMap;
import org.apache.lucene.index.CorruptIndexException;
import org.apache.lucene.index.DocsEnum;
import org.apache.lucene.index.IndexReader;
import org.apache.lucene.index.Terms;
import org.apache.lucene.index.Terms... |
package org.navalplanner.web.common;
import static org.navalplanner.business.i18n.I18nHelper._;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.Map.Entry;
import org.apache.commons.lang.Validate;
imp... |
// This file is part of the OpenNMS(R) Application.
// OpenNMS(R) is a derivative work, containing both original code, included code and modified
// and included code are below.
// OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
// This program is free software; you can redistribute it and/or modify
// ... |
package edu.uncc.parsets.data;
import java.awt.event.ActionListener;
import java.io.File;
import java.net.URISyntaxException;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statem... |
package ca.sfu.server;
import java.io.IOException;
import java.util.ArrayList;
import ca.sfu.cmpt431.facility.Board;
import ca.sfu.cmpt431.facility.BoardOperation;
import ca.sfu.cmpt431.facility.Comrade;
import ca.sfu.cmpt431.facility.Outfits;
import ca.sfu.cmpt431.message.Message;
import ca.sfu.cmpt431.message.Message... |
import javax.crypto.SecretKey;
import javax.crypto.KeyGenerator;
import java.security.GeneralSecurityException;
import java.security.Key;
import java.security.KeyStore;
import java.security.NoSuchAlgorithmException;
import java.security.KeyStoreException;
import java.security.UnrecoverableKeyException;
import java.secu... |
package avis;
import avis.models.*;
import exception.*;
import java.util.HashMap;
import java.util.LinkedList;
public class SocialNetwork {
private LinkedList<Item> items;
// private LinkedList<Member> members;
private HashMap<String, Member> members;
/**
* Initialise un <i>SocialNetwok</i>.
*... |
package edu.teco.dnd.network;
import io.netty.bootstrap.ChannelFactory;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelFutureListener;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandler.Sharable;
import io.netty.channel.ChannelHandlerCo... |
package org.ops4j.pax.jdbc.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.ops4j.pax.exam.CoreOptions.composite;
import static org.ops4j.pax.exam.CoreOptions.maven;
import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.configureConsole;... |
package cz.metacentrum.perun.rpc.methods;
import java.util.HashMap;
import java.util.List;
import cz.metacentrum.perun.core.api.*;
import cz.metacentrum.perun.core.api.exceptions.PerunException;
import cz.metacentrum.perun.rpc.ApiCaller;
import cz.metacentrum.perun.rpc.ManagerMethod;
import cz.metacentrum.perun.core.ap... |
package sk.henrichg.phoneprofiles;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlarmManager;
import android.app.KeyguardManager;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.WallpaperManager;
imp... |
package com.intellij.codeInsight.daemon.impl;
import com.intellij.ProjectTopics;
import com.intellij.codeHighlighting.Pass;
import com.intellij.codeInsight.daemon.DaemonCodeAnalyzer;
import com.intellij.codeInsight.daemon.LineMarkerProviders;
import com.intellij.codeInsight.daemon.impl.analysis.FileHighlightingSettingL... |
package com.intellij.execution.wsl;
import com.intellij.openapi.application.Experiments;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.ArrayList;
import java.util.List;
public final class WSLCommandLineOptions {
private boolean myLaunchWithWslExe = true;
priva... |
package org.jetbrains.idea.devkit.inspections;
import com.intellij.codeInspection.LocalQuickFix;
import com.intellij.lang.jvm.DefaultJvmElementVisitor;
import com.intellij.lang.jvm.JvmClass;
import com.intellij.lang.jvm.JvmElementVisitor;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.co... |
package com.intellij.codeInspection.i18n;
import com.intellij.codeInspection.*;
import com.intellij.ide.util.PropertiesComponent;
import com.intellij.java.i18n.JavaI18nBundle;
import com.intellij.lang.Language;
import com.intellij.lang.properties.PropertiesBundle;
import com.intellij.lang.properties.PropertiesImplUtil;... |
package com.kurotkin.automobile;
import java.util.Date;
public class Car {
private Date dateOfProduction;
private String typeEngine;
private double maxSpeed;
private double accelerationTime;
private int passengerCapacity;
private int numberPassenger;
private double currentSpeed;
private ... |
package bat_nav;
import java.util.Random;
public class Reseau {
Plateau plateau;
int joueur;
int premier_joueur;
//client = joueur 1
//serveur = joueur 2
public Reseau(Plateau p) {
plateau = p;
Random rand = new Random();
premier_joueur = rand.nextInt(2)+1;
}
publ... |
package beethoven;
import java.io.File;
import java.io.IOException;
import java.util.Iterator;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.drawable.BitmapDrawable;
import com.android.uiautomator.core.UiObject;
import com.android.uiautomator.core.UiSelector;
import com.android.... |
package fredboat.api;
import fredboat.FredBoat;
import fredboat.audio.PlayerRegistry;
import org.json.JSONArray;
import org.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import spark.Spark;
import org.eclipse.jetty.server.Server;
public class API {
static{
int static PORT_SERVER = ... |
package com.samskivert.atlanti.client;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Font;
import java.awt.Frame;
import javax.swing.*;
import javax.swing.event.AncestorEvent;
import javax.swing.event.AncestorListener;
import com.samskivert.swing.Controller;
import com.samskivert.swing.Controller... |
package no.deichman.services.entity;
import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.ModelFactory;
import com.hp.hpl.jena.rdf.model.ResourceFactory;
import com.hp.hpl.jena.rdf.model.Statement;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import ja... |
package no.haktho.json.model;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Tabl... |
package com.tinkerpop.rexster.server;
import com.codahale.metrics.JmxAttributeGauge;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.jersey.InstrumentedResourceMethodDispatchAdapter;
import com.codahale.metrics.servlets.MetricsServlet;
import com.sun.jersey.api.container.filter.LoggingFilter;
im... |
// FormatTools.java
package loci.formats;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Hashtable;
/** A utility class for format reader and writer implementations. */
public final class FormatTools {
// -- Constants --
/*... |
package org.ister.nerlo;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;
import org.apache.commons.cli.*;
/**
* Main class.
*
* We should read node spec from command line and/or conf file.
*
* @author ingo
*/
publi... |
package org.jasig.portal.i18n;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import java.util.StringTokenizer;
import org.jasig.portal.PropertiesManager;
import org.jasig.portal.security.IPerson;
import org.jasig.portal.services.LogService;
import org.jasig.portal.utils.CommonUtils;
import... |
package org.jfree.data.xy;
/**
* An extension of the {@link XYDataset} interface that allows an x-interval
* and a y-interval to be defined. Note that the x and y values defined
* by the parent interface are NOT required to fall within these intervals.
* This interface is used to support (among other things) bar p... |
package net.runelite.client.ui.overlay;
import com.google.common.annotations.VisibleForTesting;
import java.awt.Dimension;
import java.awt.Point;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.EnumMap;
import java.util.List;
import java.util.Map;
import java.util... |
package com.quickblox.sample.chat.managers;
import android.os.Bundle;
import com.quickblox.chat.QBChatService;
import com.quickblox.chat.QBSystemMessagesManager;
import com.quickblox.chat.model.QBChatDialog;
import com.quickblox.chat.model.QBChatMessage;
import com.quickblox.chat.model.QBDialogType;
import com.quickblo... |
package uk.org.taverna.scufl2.api.container;
import java.io.IOException;
import java.net.URI;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import uk.org.taverna.scufl2.api.common.AbstractNamed;
import uk.org.taver... |
package com.smartdevicelink.managers.screen;
import android.support.annotation.NonNull;
import android.util.Log;
import com.smartdevicelink.managers.BaseSubManager;
import com.smartdevicelink.managers.CompletionListener;
import com.smartdevicelink.managers.file.FileManager;
import com.smartdevicelink.managers.file.file... |
// This file is part of Serleena.
// Nicola Mometto, Filippo Sestini, Tobia Tesan, Sebastiano Valle.
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// sell copies of the Software, and to permit persons to whom t... |
package edu.mit.csail.db.ml.server.storage;
import jooq.sqlite.gen.Tables;
import jooq.sqlite.gen.tables.records.DataframeRecord;
import jooq.sqlite.gen.tables.records.DataframesplitRecord;
import jooq.sqlite.gen.tables.records.EventRecord;
import jooq.sqlite.gen.tables.records.RandomspliteventRecord;
import modeldb.*;... |
package org.jboss.forge.addon.shell.command;
import java.util.concurrent.TimeUnit;
import javax.inject.Inject;
import org.hamcrest.CoreMatchers;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.forge.addon.projects.Project;
import org.jboss.forge.... |
package org.skyve.metadata.view.model.chart;
import java.time.Month;
import java.time.format.TextStyle;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import org.skyve.CORE;
import org.skyve.impl.util.XMLMetaData;
/**
* Bucket a DateOnly, DateTime, TimeOnly or Timestamp (or an... |
package com.salesmanager.shop.store.api.v1.product;
import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.validation... |
package org.apache.jmeter.samplers;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.apache.avalon.framework.configuration.Configuration;
import org.apache.jmeter.assertions.AssertionResult;
//import org.apache.jorphan.logging.Log... |
package com.intellij.ide.structureView.newStructureView;
import com.intellij.ide.structureView.ModelListener;
import com.intellij.ide.structureView.StructureViewModel;
import com.intellij.ide.util.treeView.*;
import com.intellij.ide.util.treeView.smartTree.SmartTreeStructure;
import com.intellij.openapi.ide.CopyPasteMa... |
package reflex;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import org.antlr.runtime.RecognitionException;
import org.junit.Test;
import reflex.value.ReflexDateValue;
public cl... |
package de.eternity.support.lua;
import java.awt.event.KeyEvent;
import java.io.File;
import java.lang.reflect.Field;
import java.nio.file.Path;
import java.nio.file.Paths;
import org.luaj.vm2.Globals;
import org.luaj.vm2.LuaValue;
import org.luaj.vm2.lib.jse.JsePlatform;
import de.eternity.Game;
import de.eternity.gui... |
package de.gurkenlabs.litiengine.util;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import java.util.logging.Level;
import java.util.logging.Logger;
public final class ArrayUtilities {
private static ... |
package Models.MelanomaWorkshop.Model2D;
import Framework.Extensions.SphericalAgent2D;
import Framework.GridsAndAgents.AgentGrid2D;
import Framework.GridsAndAgents.GridBase;
import Framework.GridsAndAgents.PDEGrid2D;
import Framework.Gui.Vis2DOpenGL;
import Framework.Utils;
import org.lwjgl.Sys;
import Framework.Gui.Gr... |
package org.anderes.spring.configuration;
import java.util.List;
import org.anderes.cookbook.domain.RecipeRepository;
import org.anderes.cookbook.domain.RecipeRepositoryStub;
import org.anderes.cookbook.web.converter.IngredientEntityToIngredientResource;
import org.anderes.cookbook.web.converter.IngredientResourceToIng... |
package ca.ualberta.smaccr.giftcarder;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
public class MainActivity extends Activity {
public final static String EXTRA_... |
package i5.las2peer.services.ocd.algorithms;
import i5.las2peer.services.ocd.algorithms.utils.OcdAlgorithmException;
import i5.las2peer.services.ocd.graphs.Cover;
import i5.las2peer.services.ocd.graphs.CoverCreationType;
import i5.las2peer.services.ocd.graphs.CustomGraph;
import i5.las2peer.services.ocd.graphs.GraphTyp... |
// This file is part of LibRec.
// LibRec is free software: you can redistribute it and/or modify
// (at your option) any later version.
// LibRec is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
package i5.las2peer.services.recommender.librec.rating;
im... |
package com.ezrol.terry.minecraft.defaultworldgenerator.gui;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentSkipListMap;
import com.ezrol.terry.minecraft.defaultworldgenerator.config.ConfigGeneralSettings;
import com.ezrol.terry.minecraft.defaultworldgener... |
package com.github.sbugat.problems.chess;
import gnu.getopt.Getopt;
import java.util.Arrays;
/**
* Classic N chess queens on a size N chess board
*
* Time on Intel Q6600 CPU:
* 8 9 10 11 12 13 14 15 16
* 0m0.101s 0m0.118s 0m0.118s 0m0.128s 0m0.174s 0m0.506s 0m2.13... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.