answer stringlengths 17 10.2M |
|---|
package com.whispir.api;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpException;
import org.apache.commons.httpclient.HttpMethod;
import org.apache.common... |
/*
* $Log: Adapter.java,v $
* Revision 1.43 2008-06-19 11:08:59 europe\L190409
* GALM message when exception caught starting adapter
*
* Revision 1.42 2008/06/18 12:27:43 Gerrit van Brakel <gerrit.van.brakel@ibissource.org>
* discern between severe errors and warnings (for monitoring)
*
* Revision 1.41 200... |
package com.parc.ccn.data.security;
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.NoSuchAlgorithmException;
import java.security.PublicKey;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import javax.crypto.Cipher;
import j... |
package water;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import com.google.common.io.Closeables;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
import org.junit.runners.model.St... |
package tridiagonalMatrix;
import java.util.Arrays;
public class Matrix {
private float[] diagonalTop;
private float[] diagonalMiddle;
private float[] diagonalBottom;
public Matrix() {
this.diagonalTop = new float[0];
this.diagonalMiddle = new float[0];
this.diagonalBottom = new ... |
package urllistcompare;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Scanner;
/**
* @author Rocco Barbini (roccobarbi@gmail.com)
*
* This class is tasked with reading the contents of a CSV file into a URLList.
* It can r... |
// 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 org.csstudio.sds.components.ui.internal.figureparts;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import org.eclipse.draw2d.Figure;
import org.eclipse.draw2d.FigureUtilities;
import org.eclipse.draw2d.Graphics;
import org.eclipse.draw2d.geometry.Dime... |
package com.atlassian.plugin.spring;
import com.atlassian.plugin.osgi.hostcomponents.ContextClassLoaderStrategy;
import com.atlassian.plugin.osgi.hostcomponents.HostComponentProvider;
import com.atlassian.plugin.osgi.hostcomponents.HostComponentRegistration;
import com.atlassian.plugin.osgi.hostcomponents.PropertyBuild... |
package org.camunda.bpm.spring.boot.starter.example.simple;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.Timeout;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test... |
package de.unistuttgart.quadrama.experiments;
import static org.apache.uima.fit.factory.AnalysisEngineFactory.createEngineDescription;
import static org.apache.uima.fit.factory.CollectionReaderFactory.createReaderDescription;
import java.io.IOException;
import org.apache.uima.UIMAException;
import org.apache.uima.fit.p... |
package edu.cuny.citytech.foreachlooptolambda.ui.refactorings;
import java.text.MessageFormat;
import java.util.Arrays;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
... |
package io.subutai.core.security.rest;
import javax.naming.NamingException;
import javax.ws.rs.core.Response;
import org.bouncycastle.openpgp.PGPPublicKey;
import org.bouncycastle.openpgp.PGPPublicKeyRing;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.Strings;
import io.subutai.... |
package org.opencps.dossiermgt.action.impl;
import com.liferay.document.library.kernel.service.DLAppLocalServiceUtil;
import com.liferay.document.library.kernel.util.DLUtil;
import com.liferay.petra.string.StringPool;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.json.JSON... |
package osgi.enroute.trains.train.manager.example.provider;
import java.util.LinkedList;
import java.util.List;
import java.util.Optional;
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.ConfigurationPolicy;
i... |
package com.matthewtamlin.spyglass.processors.annotation_utils.default_annotation_util;
import com.google.testing.compile.JavaFileObjects;
import com.matthewtamlin.java_compiler_utilities.element_supplier.CompilerMissingException;
import com.matthewtamlin.java_compiler_utilities.element_supplier.IdBasedElementSupplier;... |
package org.csstudio.archive.reader.appliance;
import java.util.concurrent.ConcurrentHashMap;
import org.csstudio.archive.reader.ArchiveReader;
import org.csstudio.archive.reader.ArchiveReaderFactory;
/**
* Provides instance of the appliance archive reader.
*
* @author Miha Novak <miha.novak@cosylab.com>
*/
public ... |
//$HeadURL: svn+ssh://mschneider@svn.wald.intevation.org/deegree/deegree3/trunk/deegree-core/deegree-core-metadata/src/main/java/org/deegree/metadata/iso/persistence/QueryHelper.java $
package org.deegree.metadata.iso.persistence.sql;
import static org.deegree.commons.jdbc.ConnectionManager.Type.MSSQL;
import static or... |
package org.hisp.dhis.resourcetable.table;
import java.util.List;
import java.util.Optional;
import org.hisp.dhis.commons.util.TextUtils;
import org.hisp.dhis.organisationunit.OrganisationUnitLevel;
import org.hisp.dhis.resourcetable.ResourceTable;
import com.google.common.collect.Lists;
/**
* @author Lars Helge Overl... |
package edu.isi.karma.controller.command.alignment;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.openrdf.model.Statement;
import org.ope... |
package org.apereo.cas.authentication;
import org.apereo.cas.authentication.credential.UsernamePasswordCredential;
import org.apereo.cas.configuration.model.support.ldap.AbstractLdapSearchProperties;
import org.apereo.cas.util.LdapUtils;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.ldaptive.Attribute... |
package uk.ac.york.mondo.integration.hawk.servlet.artemis;
import java.util.List;
import java.util.regex.Pattern;
import org.apache.activemq.artemis.api.core.ActiveMQException;
import org.apache.activemq.artemis.api.core.Message;
import org.apache.activemq.artemis.api.core.TransportConfiguration;
import org.apache.acti... |
package org.csstudio.opibuilder.validation.core;
import java.io.FileInputStream;
import java.io.IOException;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
import java.util.logging.Level;
import java.util.... |
// This source code is available under agreement available at
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
package org.talend.components.simplefileio;
import org.talend.components.common.dataset.DatasetProperties;
import... |
package org.innovateuk.ifs.project.projectdetails.transactional;
import org.innovateuk.ifs.BaseServiceUnitTest;
import org.innovateuk.ifs.address.domain.Address;
import org.innovateuk.ifs.address.domain.AddressType;
import org.innovateuk.ifs.address.mapper.AddressMapper;
import org.innovateuk.ifs.address.repository.Add... |
package org.opencb.opencga.storage.core.variant.adaptors.sample;
import org.opencb.biodata.models.feature.Genotype;
import org.opencb.biodata.models.variant.StudyEntry;
import org.opencb.biodata.models.variant.Variant;
import org.opencb.biodata.models.variant.avro.FileEntry;
import org.opencb.commons.datastore.core.Que... |
package editor;
import editor.util.EditorUtilities;
import editor.util.Project;
import gw.config.CommonServices;
import gw.config.IPlatformHelper;
import gw.lang.Gosu;
import gw.lang.gosuc.GosucDependency;
import gw.lang.gosuc.GosucModule;
import gw.lang.init.GosuInitialization;
import gw.lang.reflect.TypeSystem;
impor... |
package bot;
import io.datawire.quark.netty.QuarkNettyRuntime;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.NoSuchFileException;
import java.nio.file.Paths;
import slack.SlackClient;
import slack.SlackHandler;
import slack.event.ChannelArchive;
import slack.event.ChannelCre... |
package org.neon_lang.jnex;
import java.io.DataInput;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.math.BigDecimal;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.uti... |
package it.backbox.client.rest;
import it.backbox.IRestClient;
import it.backbox.bean.ProxyConfiguration;
import it.backbox.client.http.MultipartContent.MultipartFormDataContent;
import it.backbox.client.oauth.OAuth2Client;
import it.backbox.client.rest.bean.BoxError;
import it.backbox.client.rest.bean.BoxFile;
import ... |
// ChatMsg.java
// Implementation of the Class ChatMsg
// Generated by Enterprise Architect
// Modification history:
package imcode.external.chat;
import java.util.*;
public class ChatMsg
{
private String _senderStr;
private int _msgType;
private String _msgTypeStr;
private String _chatMsg;
priv... |
package org.hisp.dhis.dxf2.metadata.objectbundle.hooks;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hisp.dhis.common.IdentifiableObject;
import org.hisp.dhis.dxf2.metadata.objectbundle.ObjectBundle;
import org.hisp.dhis.feedback.ErrorCode;
import org.hisp.dhis.feedbac... |
/*
* University of Saskatchewan
* Computer Science
*
*/
package databaseinterface;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
*
* @author ychen
*/
public class DatabaseInterface {
private final static St... |
package org.innovateuk.ifs.application.feedback.viewmodel;
import org.innovateuk.ifs.application.finance.viewmodel.ApplicationFinanceSummaryViewModel;
import org.innovateuk.ifs.application.finance.viewmodel.ApplicationFundingBreakdownViewModel;
import org.innovateuk.ifs.application.resource.ApplicationResource;
import ... |
package verification.platu.MDD;
import java.util.*;
import lpn.parser.Transition;
import verification.platu.stategraph.State;
import verification.platu.stategraph.StateGraph;
public class mddNode {
static int blockSize = 8;
static int numBlocks = 16;
static int blockIdxMask = 15;
static int arrayIdxoffs... |
package org.jkiss.dbeaver.ext.postgresql.model.impls.greenplum;
import org.jkiss.dbeaver.ext.postgresql.model.PostgreDataSource;
import org.jkiss.dbeaver.ext.postgresql.model.PostgreServerExtension;
import org.jkiss.dbeaver.ext.postgresql.model.PostgreTableBase;
import org.junit.Test;
import org.junit.runner.RunWith;
i... |
package org.camunda.bpm.qa.upgrade.scenarios7110.removaltime;
import org.camunda.bpm.engine.HistoryService;
import org.camunda.bpm.engine.batch.Batch;
import org.camunda.bpm.engine.history.HistoricProcessInstance;
import org.camunda.bpm.engine.history.HistoricProcessInstanceQuery;
import org.camunda.bpm.engine.runtime.... |
package est.sae.minesweeper;
import javax.swing.BorderFactory;
import javax.swing.JFileChooser;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTextArea;
import javax.swing.KeyS... |
package com.uoit.freeroomfinder;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import android.app.DatePickerDialog;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.os.Bundle;
import android.pr... |
package org.eclipse.smarthome.binding.wemo.discovery;
import static org.eclipse.smarthome.binding.wemo.WemoBindingConstants.*;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.MulticastSocket;
import java.net.SocketTimeoutExc... |
package org.springframework.ide.vscode.boot.java;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import org.eclipse.lsp4j.CompletionItemKind;
import org.slf4j.Logger;
import org.slf4j.Lo... |
package com.x.processplatform.service.processing.processor.manual;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Comparator;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Objects;
import java.uti... |
package com.opengamma.financial.analytics.model.credit.isda.cdsoption;
import static com.opengamma.engine.value.ValuePropertyNames.CURRENCY;
import static com.opengamma.engine.value.ValuePropertyNames.CURVE;
import static com.opengamma.engine.value.ValuePropertyNames.CURVE_CALCULATION_CONFIG;
import static com.opengamm... |
package org.csstudio.opibuilder.widgets.editparts;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.Arrays;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.csstudio.opibuilder.editparts.AbstractPVWidgetEditPart;
import o... |
package org.camunda.bpm.spring.boot.starter.example.dmn.rest;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.camunda.bpm.engine.RepositoryService;
import org.camunda.bpm.engine.impl.util.json.JSONArray;
import org.camunda.bpm.engine.impl.util.json.JSONObject;
import org.camunda.bpm.engine.repositor... |
package com.centurylink.cloud.sdk.servers.services.domain.statistics.monitoring.grouping;
import com.centurylink.cloud.sdk.servers.client.domain.group.DiskUsageMetadata;
import com.centurylink.cloud.sdk.servers.client.domain.group.GuestUsageMetadata;
import com.centurylink.cloud.sdk.servers.client.domain.group.Sampling... |
package org.csstudio.display.builder.representation.javafx.widgets;
import java.util.Objects;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import org.csstudio.display.builder.model.DirtyFlag;
import org.csstudio.display.builder.model.WidgetProperty;
import org.csstudio.display.builder.mo... |
package org.openhab.persistence.influxdb.internal;
import static org.apache.commons.lang.StringUtils.isBlank;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.concurrent.... |
// -*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
// @homepage@
package example;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Enumeration;
import java.util.List;
import java.util.Objects... |
package org.wso2.ds.ui.integration.test.dashboard;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.Select;
import org.testng.annotations.*;
import org.wso2.carbon.automation.engine.context.TestUserMode;
import org.wso2.carbon.automation.engine.frameworkutils.F... |
package org.lunifera.web.ecp.uimodel.presentation.vaadin.internal;
import org.eclipse.emf.ecp.ui.uimodel.core.editparts.IUiElementEditpart;
import org.eclipse.emf.ecp.ui.uimodel.core.editparts.IUiViewEditpart;
import org.eclipse.emf.ecp.ui.uimodel.core.editparts.context.IViewContext;
import org.eclipse.emf.ecp.ui.uimod... |
package org.innovateuk.ifs.project.status.controller;
import org.innovateuk.ifs.BaseControllerMockMVCTest;
import org.innovateuk.ifs.competition.resource.CompetitionOpenQueryResource;
import org.innovateuk.ifs.competition.resource.CompetitionPendingSpendProfilesResource;
import org.innovateuk.ifs.competition.resource.C... |
package org.corpus_tools.atomic.tokeneditor.configuration;
import org.corpus_tools.salt.common.SDocumentGraph;
import org.eclipse.nebula.widgets.nattable.NatTable;
import org.eclipse.nebula.widgets.nattable.grid.layer.GridLayer;
import org.eclipse.nebula.widgets.nattable.layer.ILayer;
import org.eclipse.nebula.widgets.... |
package com.googlecode.wickedcharts.showcase.configurations;
import java.util.Arrays;
import com.googlecode.wickedcharts.chartjs.chartoptions.AxesScale;
import com.googlecode.wickedcharts.chartjs.chartoptions.ChartType;
import com.googlecode.wickedcharts.chartjs.chartoptions.Data;
import com.googlecode.wickedcharts.cha... |
package org.uberfire.security.server.auth.source;
import javax.security.auth.Subject;
import javax.security.jacc.PolicyContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import org.uberfire.security.SecurityContext;
import org.uberfire.security.auth.Credential;
import org.uber... |
package gnu.text;
import java.text.*;
import java.text.FieldPosition;
import java.io.Writer;
/** Given a Format, pad the formatted result to a specified width. */
public class PadFormat extends ReportFormat
{
/** Minimum width. */
int minWidth;
char padChar;
/** What percentage of padding appears after the data... |
package nl.cwi.monetdb.jdbc;
import java.sql.*;
import java.io.*;
import java.util.*;
import java.util.regex.*;
/**
* A Statement suitable for the Monet database
* <br /><br />
* The object used for executing a static SQL statement and returning the
* results it produces.<br />
* <br /><br />
* By default, only o... |
package chessGame;
import java.util.ArrayList;
public class ChessMonitoringSystem {
//private static ChessPiece[] allChessPieces;
private static ArrayList<ChessPiece> allChessPieces;
private static ChessMonitoringSystem instance;
private ChessMonitoringSystem() {
// TODO - implement ChessMonitor... |
package jodd.io.http;
import jodd.io.StreamUtil;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
* Simple... |
package com.polydes.common.sys;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.apache.commons.io.monitor.FileAlterationListener;
import org.apache.commons.io.monitor.FileAlterationListenerAdaptor;
import org.apache.commons.io.monitor.FileAlterationMonitor;
i... |
package polytheque.model.pojos;
import java.sql.Date;
public class Adherent {
private int idAdherent;
private String nom;
private String prenom;
private Date dateNaissance;
private String rue;
private int cp;
private String ville;
private String mail;
private int telephone;
priva... |
package com.fatecpg.data;
import br.com.fatecpg.helpers.ConnectionFactory;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
public class Usuario {
private Integer _id;
private String _no... |
package org.genericsystem.reinforcer.tools;
import java.util.Optional;
public class GSRect {
private double x, y, width, height;
public GSRect(double x, double y, double width, double height) {
this.x = x;
this.y = y;
this.width = width;
this.height = height;
}
public GSR... |
package uk.ac.ebi.atlas.homepage;
import com.google.common.collect.ImmutableSet;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframewo... |
package com.woorea.openstack.heat;
import com.woorea.openstack.base.client.HttpMethod;
import com.woorea.openstack.base.client.OpenStackClient;
import com.woorea.openstack.base.client.OpenStackRequest;
import com.woorea.openstack.heat.model.Resources;
public class ResourcesResource {
private final OpenStackClient c... |
package imagej;
import imagej.SampleInfo.ValueType;
import imagej.process.ImageUtils;
import imagej.process.Index;
import imagej.process.Span;
import imagej.process.TypeManager;
import imagej.process.operation.SetPlaneOperation;
import mpicbg.imglib.container.ContainerFactory;
import mpicbg.imglib.image.Image;
import m... |
package net.runelite.http.service.xtea;
import java.io.IOException;
import java.util.List;
import java.util.stream.Collectors;
import net.runelite.cache.IndexType;
import net.runelite.cache.fs.Container;
import net.runelite.cache.util.Djb2;
import net.runelite.http.api.xtea.XteaKey;
import net.runelite.http.api.xtea.Xt... |
package org.mousephenotype.cda.indexers;
import org.apache.solr.client.solrj.SolrClient;
import org.apache.solr.client.solrj.SolrServerException;
import org.mousephenotype.cda.indexers.exceptions.IndexerException;
import org.mousephenotype.cda.solr.service.dto.Allele2DTO;
import org.mousephenotype.cda.utilities.RunStat... |
package com.thinkbiganalytics.feedmgr.service.template;
import com.google.common.base.Function;
import com.google.common.collect.Collections2;
import com.thinkbiganalytics.feedmgr.rest.model.RegisteredTemplate;
import com.thinkbiganalytics.json.ObjectMapperSerializer;
import com.thinkbiganalytics.metadata.api.feedmgr.f... |
package com.wavefront.metrics;
import com.google.common.collect.ImmutableList;
import com.wavefront.common.Pair;
import com.yammer.metrics.core.Counter;
import com.yammer.metrics.core.Histogram;
import com.yammer.metrics.core.MetricName;
import com.yammer.metrics.core.MetricsRegistry;
import com.yammer.metrics.core.Wav... |
// Hello from Bryan!
package ie.dit;
import ddf.minim.AudioInput;
import ddf.minim.AudioSample;
import ddf.minim.Minim;
import ddf.minim.analysis.FFT;
import ddf.minim.analysis.WindowFunction;
import processing.core.PApplet;
public class AudioViz2017 extends PApplet{
Minim minim;
AudioSample audioInput;
FFT... |
package ui;
import game.Room;
import game.Square.Type;
import game.Square;
import java.util.Scanner;
import java.io.File;
import java.io.FileNotFoundException;
/**
* Class Which constitutes the board logic within the Game
* @author Jarred Hone, Greg Oswald
*
*/
public class Board {
String filename;
private ... |
package com.memoir44.vassal;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Desktop;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.GridLayout;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.ScrollPane;
import java.awt.event.Actio... |
package com.exedio.cope;
import java.io.File;
import java.util.Arrays;
import com.exedio.cope.testmodel.AttributeItem;
import com.exedio.cope.util.ReactivationConstructorDummy;
/**
* Tests the model itself, without creating/using any persistent data.
* @author Ralf Wiebicke
*/
public class ModelTest extends Testmode... |
package jolie.lang.parse;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URI;
import java.util.HashMap;
import java.util.Map;
import jolie.lang.NativeType;
/**
* Scanner implementation for the Jolie language parser.
*
* @author Fabrizio Montesi
*
*/
public... |
// -*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
// @homepage@
package example;
import java.awt.*;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.File;
import java.io.IOException;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import... |
package org.eclipse.smarthome.core.thing.internal.console;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.eclipse.smarthome.core.events.EventPublisher;
import org.eclipse.smarthome.core.thing.Bridge;
import org.eclipse.smarthome.core.thing.ChannelUID;
import org.eclipse.smarthom... |
package tools.vitruv.domains.emf.monitorededitor.monitor;
import java.util.List;
import org.apache.log4j.Logger;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.emf.ecore.change.ChangeDescription;
import org.eclipse.emf.ecore.resource.Resource;
import tools.vitruv.domains.emf.monitorededitor.IEd... |
package com.sun.xml.xsom.impl.parser;
import com.sun.tools.rngdatatype.ValidationContext;
import com.sun.xml.xsom.XSDeclaration;
import com.sun.xml.xsom.XSSimpleType;
import com.sun.xml.xsom.XmlString;
import com.sun.xml.xsom.impl.Const;
import com.sun.xml.xsom.impl.ForeignAttributesImpl;
import com.sun.xml.xsom.impl.S... |
package org.eclipse.smarthome.binding.tradfri.handler;
import static org.eclipse.smarthome.binding.tradfri.TradfriBindingConstants.*;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Set;
import java.util.UUID;
import java.util.conc... |
package me.xdrop.jrand.generators.time;
import me.xdrop.jrand.Generator;
import me.xdrop.jrand.annotation.Facade;
import me.xdrop.jrand.annotation.PropertyFlag;
import me.xdrop.jrand.generators.basics.NaturalGenerator;
@Facade(accessor = "hour")
public class HourGenerator extends Generator<String> {
private Natural... |
package org.jboss.resteasy.reactive.server.core;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
impo... |
package org.jsimpledb.kv.array;
import com.google.common.base.Preconditions;
import java.nio.ByteBuffer;
import org.jsimpledb.kv.KVPair;
import org.jsimpledb.util.ByteUtil;
/**
* Performs searches into an {@link ArrayKVStore}.
*
* <p>
* Instances are not thread safe.
*/
class ArrayKVFinder {
private final Byte... |
package com.qpark.maven.plugin.objectfactories;
import java.io.File;
import java.util.Map.Entry;
import java.util.TreeMap;
import java.util.TreeSet;
import javax.xml.namespace.QName;
import org.apache.maven.plugin.logging.Log;
import com.qpark.maven.Util;
import com.qpark.maven.xmlbeans.ComplexType;
import com.qpark.ma... |
package org.languagetool.language;
import org.languagetool.JLanguageTool;
import org.languagetool.Language;
import org.languagetool.Languages;
import org.languagetool.databroker.ResourceDataBroker;
import java.io.*;
import java.util.*;
import java.util.regex.Pattern;
/**
* Information about common words - use as a fal... |
package org.languagetool.markup;
import org.apache.commons.lang3.StringUtils;
import java.util.List;
import java.util.Map;
import java.util.Objects;
/**
* A text with markup and with a mapping so error positions will refer to the original
* position that includes the markup, even though only the plain text parts are ... |
package com.quemb.qmbform.view;
import com.quemb.qmbform.R;
import com.quemb.qmbform.descriptor.RowDescriptor;
import android.content.Context;
import android.widget.LinearLayout;
public class SeperatorSectionCell extends FormBaseCell {
public SeperatorSectionCell(Context context,
Row... |
package ca.eandb.sortable;
import java.util.HashMap;
import java.util.Map;
public final class TrieNode {
/**
* A <code>Map</code> used to lookup the children of a particular node.
* This map will be shared by all the <code>TrieNode</code>s for a given
* trie. The key type for this map is the (node, ... |
package project;
import com.github.sormuras.bach.project.Project;
public class Configurator implements Project.Configurator {
@Override
public Project configure(Project project) {
return project.withVersion("17-M5");
}
} |
package com.xenonteam.xenonlib.common.networking;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandler.Sharable;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.BlockPos;
import ne... |
package io.mangoo.routing.handlers;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.util.Date;
import java.uti... |
package org.geotools.image;
import java.awt.Color;
import java.awt.HeadlessException;
import java.awt.Image;
import java.awt.RenderingHints;
import java.awt.Transparency;
import java.awt.color.ColorSpace;
import java.awt.image.BufferedImage;
import java.awt.image.ColorModel;
import java.awt.image.ComponentColorModel;
i... |
package com.haulmont.cuba.web.gui.components;
import com.haulmont.bali.datastruct.Pair;
import com.haulmont.bali.util.Dom4j;
import com.haulmont.chile.core.datatypes.Datatype;
import com.haulmont.chile.core.datatypes.impl.BooleanDatatype;
import com.haulmont.chile.core.model.Instance;
import com.haulmont.chile.core.mod... |
package name.abuchen.portfolio.model;
import java.math.BigDecimal;
import java.text.DecimalFormat;
import java.text.MessageFormat;
import java.text.NumberFormat;
import java.text.ParseException;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.time.format.DateTimeParseException;
import... |
package org.jasig.portal;
import org.xml.sax.*;
import org.jasig.portal.utils.*;
import org.jasig.portal.services.LogService;
import java.util.Map;
import org.jasig.portal.PropertiesManager;
/**
* This class renders channel content into a SAXBuffer.
* Rendering is done in a separate thread.
* @author Peter Kharchenk... |
// $OldId: AddAccessors.java,v 1.2 2002/11/21 14:14:31 schinz Exp $
package scalac.transformer;
import scalac.*;
import scalac.ast.*;
import scalac.typechecker.*;
import scalac.symtab.*;
import scalac.util.*;
import java.util.*;
/**
* Add private accessor functions for all class constructor arguments
* which are acce... |
package org.mwc.debrief.lite;
/**
* @author Ayesha <ayesha.ma@gmail.com>
*
*/
import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.SplashScreen;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JFrame;
import org.mwc.debrief.lit... |
package com.intellij.analysis;
import com.intellij.find.FindSettings;
import com.intellij.ide.util.scopeChooser.ScopeChooserCombo;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.ModuleManager;
import com.intellij.openapi.module.ModuleUtil;
import com.intellij.openapi.project.Project;
impo... |
package com.intellij.util.lang;
import com.intellij.openapi.util.io.FileUtilRt;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.io.IOException;
import java.net.URL;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import java.util.zip.ZipEntr... |
package com.intellij.vcs.log.data;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.progress.ProcessCanceledException;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Disposer;
import com.intellij.openapi.vfs.VirtualFile;
im... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.