answer stringlengths 17 10.2M |
|---|
package com.daveme.intellij.chocolateCakePHP.util;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.patterns.PlatformPatterns;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile;
import com.intellij.psi.PsiManager;
import com.jetbrains.php.Ph... |
package com.github.gummywormz.AutoJARC.Background;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* Gets MD5 hash of a specified file
* @author Paul Alves
*/
... |
// Package
package com.hp.hpl.jena.ontology.impl.test;
// Imports
import java.io.*;
import java.util.*;
import com.hp.hpl.jena.graph.*;
import com.hp.hpl.jena.graph.impl.*;
import com.hp.hpl.jena.mem.GraphMem;
import com.hp.hpl.jena.ontology.*;
import com.hp.hpl.jena.rdf.model.*;
import com.hp.hpl.jena.reasoner.*;
impo... |
package com.hp.hpl.jena.reasoner.rulesys.test;
import com.hp.hpl.jena.mem.GraphMem;
import com.hp.hpl.jena.reasoner.*;
import com.hp.hpl.jena.reasoner.rulesys.*;
import com.hp.hpl.jena.reasoner.test.TestUtil;
import com.hp.hpl.jena.datatypes.xsd.XSDDatatype;
import com.hp.hpl.jena.graph.*;
import com.hp.hpl.jena.graph.... |
package com.idunnololz.widgets;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.util.SparseArray;
import android.view.View;
import android.view.ViewGroup;
import... |
package datastructures;
import java.util.Comparator;
import java.util.HashMap;
/**
* A priority queue/map hybrid backed by a mutable d-ary heap. Supports O(1)
* find-min, O(lg n) insert, O(lg n) delete (for any element), O(lg n) update,
* and O(1) lookup by key.
*
* @param <K> the key type
* @param <V> the value ... |
package ibis.satin.impl.loadBalancing;
import ibis.ipl.IbisIdentifier;
import ibis.ipl.ReadMessage;
import ibis.ipl.SendPortIdentifier;
import ibis.satin.impl.Config;
import ibis.satin.impl.Satin;
import ibis.satin.impl.spawnSync.IRVector;
import ibis.satin.impl.spawnSync.InvocationRecord;
import ibis.satin.impl.spawnS... |
package no.kantega.publishing.common;
import javax.swing.text.AttributeSet;
import javax.swing.text.MutableAttributeSet;
import javax.swing.text.html.HTML;
import javax.swing.text.html.HTMLEditorKit;
import javax.swing.text.html.parser.ParserDelegator;
import java.io.IOException;
import java.io.Reader;
import java.io.S... |
package ibis.satin.impl.sharedObjects;
import ibis.ipl.IbisIdentifier;
import ibis.ipl.ReadMessage;
import ibis.satin.SharedObject;
import ibis.satin.impl.Config;
import ibis.satin.impl.Satin;
import ibis.satin.impl.spawnSync.InvocationRecord;
import java.util.HashMap;
import java.util.Vector;
class SharedObjectInfo {
... |
package io.liveoak.spi.state;
import java.net.URI;
import java.net.URISyntaxException;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.IllegalFormatException;
import java.util.List;
import java.util.Set;
/**
* ... |
package com.jcwhatever.nucleus.npc.traits;
import com.jcwhatever.nucleus.Nucleus;
import com.jcwhatever.nucleus.collections.players.PlayerSet;
import com.jcwhatever.nucleus.providers.npc.INpc;
import com.jcwhatever.nucleus.providers.npc.INpcProvider;
import com.jcwhatever.nucleus.providers.npc.ai.goals.INpcGoals;
impor... |
package it.unimi.dsi.sux4j.mph;
import static it.unimi.dsi.bits.Fast.log2;
import static it.unimi.dsi.sux4j.mph.HypergraphSorter.GAMMA;
import it.unimi.dsi.Util;
import it.unimi.dsi.bits.BitVector;
import it.unimi.dsi.bits.BitVectors;
import it.unimi.dsi.bits.Fast;
import it.unimi.dsi.bits.LongArrayBitVector;
import it... |
//This library is free software; you can redistribute it and/or
//modify it under the terms of the GNU Lesser General Public
//This library is distributed in the hope that it will be useful,
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//You should have received a copy of the GNU Lesser General Publi... |
package de.lessvoid.nifty.html;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
import org.htmlparser.Tag;
import org.htmlparser.Text;
import org.htmlparser.visitors.NodeVisitor;
import de.lessvoid.nifty.Nifty;
import de.lessvoid.nifty.builder.ElementBuilder;
import de.lessvoid.nifty.builder.... |
package net.sourceforge.clonekeenplus;
import android.app.Activity;
import android.app.Service;
import android.content.Context;
import android.os.Bundle;
import android.os.IBinder;
import android.view.MotionEvent;
import android.view.KeyEvent;
import android.view.Window;
import android.view.WindowManager;
import androi... |
package com.rapid.server.filter;
import java.io.IOException;
import java.net.InetAddress;
import java.security.GeneralSecurityException;
import java.util.Enumeration;
import java.util.List;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servle... |
// modification, are permitted provided that the following conditions are met:
// documentation and/or other materials provided with the distribution.
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// LIABLE FOR ... |
package dr.evomodel.tree;
import dr.evolution.tree.NodeRef;
import dr.evolution.tree.Tree;
import dr.evolution.util.Taxa;
import dr.evolution.util.TaxonList;
import dr.inference.model.Statistic;
import dr.xml.*;
import java.util.Set;
/**
* A statistic that tracks the time of MRCA of a set of taxa
*
* @author Alexei ... |
package com.subgraph.orchid.circuits.hs;
import com.subgraph.orchid.crypto.TorPublicKey;
import com.subgraph.orchid.data.HexDigest;
import com.subgraph.orchid.data.IPv4Address;
public class IntroductionPoint {
private HexDigest identity;
private IPv4Address address;
private int onionPort;
private TorPub... |
package com.intellij.jar;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.compiler.CompileContext;
import com.intellij.openapi.compiler.CompileScope;
import com.intellij.openapi.compiler.PackagingCompiler;
import com.intellij.openapi.compiler.ValidityState;
import com.intellij.op... |
package org.jpos.iso.channel;
import org.jpos.core.Configuration;
import org.jpos.core.ConfigurationException;
import org.jpos.iso.*;
import org.jpos.iso.header.BASE1Header;
import org.jpos.util.LogEvent;
import org.jpos.util.Logger;
import java.io.IOException;
import java.net.ServerSocket;
/**
* ISOChannel implementa... |
package dr.inference.trace;
import dr.evolution.io.Importer;
import dr.evolution.io.NexusImporter;
import dr.evolution.io.TreeImporter;
import dr.evolution.tree.Tree;
import dr.evomodel.coalescent.VDdemographicFunction;
import dr.evomodel.coalescent.VariableDemographicModel;
import dr.evomodelxml.LoggerParser;
import d... |
package com.tactfactory.harmony.plateforme;
import com.google.common.base.Strings;
import com.tactfactory.harmony.plateforme.android.AndroidAdapter;
import com.tactfactory.harmony.plateforme.ios.IosAdapter;
import com.tactfactory.harmony.plateforme.rim.RimAdapter;
import com.tactfactory.harmony.plateforme.winphone.Winp... |
package edu.oakland.OUSoft.items;
/**
* "The person class should include information such as id, first name, last name, etc."
*/
public class Person {
private String ID;
private String FirstName;
private String LastName;
private Date Birthday;
/**
* Create an empty person
*/
public P... |
package com.untamedears.ItemExchange.utility;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import or... |
package org.apache.lenya.workflow.impl;
import java.io.File;
import javax.xml.transform.TransformerException;
import org.apache.lenya.cms.workflow.CMSSituation;
import org.apache.lenya.workflow.BooleanVariable;
import org.apache.lenya.workflow.Event;
import org.apache.lenya.workflow.Situation;
import org.apache.lenya.w... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.untamedears.JukeAlert.storage;
import com.untamedears.JukeAlert.JukeAlert;
import com.untamedears.JukeAlert.chat.ChatFiller;
import com.untamedears.JukeAlert.group.GroupMediator;
import com.untamedears.JukeAl... |
package eu.modernmt.model;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Iterator;
public class Alignment implements Iterable<int[]>, Serializable {
private final int[] sourceIndexes;
private final int[] targetIndexes;
private final float score;
public static Alignment fromAlign... |
package org.jdesktop.swingx;
import java.util.regex.MatchResult;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* An abstract implementation of Searchable supporting
* incremental search.
*
* Keeps internal state to represent the previous search result.
* For all methods taking a string as par... |
package org.jivesoftware.spark.ui;
import org.jivesoftware.resource.Res;
import org.jivesoftware.smack.packet.Presence;
import org.jivesoftware.spark.PresenceManager;
import org.jivesoftware.spark.SparkManager;
import org.jivesoftware.spark.component.VerticalFlowLayout;
import org.jivesoftware.spark.component.panes.Col... |
package org.kuali.rice.krms.api;
import java.util.List;
/**
* The context represents the area(s) of an organization's activity where a
* rule applies and where the terms used to create the rule are defined and relevant.
* An equivalent phrase often used is business domain. Rules only make sense in a
* particular co... |
package com.esotericsoftware.kryonet;
import static com.esotericsoftware.minlog.Log.*;
import java.io.IOException;
import java.net.Socket;
import java.net.SocketAddress;
import java.net.SocketException;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import java.nio.channels.SelectionKey;
import ja... |
package foam.nanos.http;
import foam.nanos.app.Mode;
import foam.box.Box;
import foam.box.SessionServerBox;
import foam.core.FObject;
import foam.core.ProxyX;
import foam.core.X;
import foam.lib.json.ExprParser;
import foam.lib.json.JSONParser;
import foam.lib.parse.*;
import foam.nanos.app.AppConfig;
import foam.nanos... |
package ljdp.minechem.common.recipe;
import java.util.ArrayList;
import java.util.Iterator;
import ljdp.minechem.api.core.Chemical;
import ljdp.minechem.api.core.Element;
import ljdp.minechem.api.core.EnumElement;
import ljdp.minechem.api.core.EnumMolecule;
import ljdp.minechem.api.core.Molecule;
import ljdp.minechem.a... |
package de.mrapp.android.adapter.list;
import static de.mrapp.android.adapter.util.Condition.ensureAtLeast;
import static de.mrapp.android.adapter.util.Condition.ensureAtMaximum;
import static de.mrapp.android.adapter.util.Condition.ensureNotNull;
import java.io.Serializable;
import java.util.ArrayList;
import java.uti... |
//#MIDP_EXCLUDE_FILE
package jade.core.management;
import jade.core.ServiceFinder;
import jade.core.HorizontalCommand;
import jade.core.VerticalCommand;
import jade.core.GenericCommand;
import jade.core.Service;
import jade.core.BaseService;
import jade.core.ServiceException;
import jade.core.Sink;
import jade.core.Fil... |
package eu.bryants.anthony.plinth.compiler;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
/**
* @author Anthony Bryant
*/
public class ArgumentParser
{
private String mainTypeName;
private String output;
private String outputDir;
private String[] sources;
... |
public class Solution {
public int evalRPN(String[] tokens) {
ArrayList<String> wordlist = new ArrayList<String>(Arrays.asList(tokens));
int loc = 0;
int leftoperand;
int rightoperand;
int operandafter = 0;
String symbol;
if(wordlist.size()==1) operandafter = ... |
package au.com.agic.apptesting;
import au.com.agic.apptesting.constants.Constants;
import au.com.agic.apptesting.exception.FileProfileAccessException;
import au.com.agic.apptesting.exception.RunScriptsException;
import au.com.agic.apptesting.utils.*;
import au.com.agic.apptesting.utils.impl.*;
import net.lightbody.bmp.... |
package eu.visualize.ini.convnet;
import net.sf.jaer.util.TobiLogger;
import java.awt.Color;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import com.jogamp.opengl.GL2;
import com.jogamp.opengl.GLAutoDrawable;
import java.io.IOException;
import java.net.DatagramSocket;
import java.net... |
package br.com.caelum.parsac.modelo;
import java.util.ArrayList;
import java.util.List;
import br.com.caelum.parsac.util.SecaoConverter;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;
@XStreamAlias("secao")
@XStreamConverter(SecaoConverter.class)
... |
package eu.ydp.empiria.player.client.module;
public enum ModuleTagName {
DIV("div"), GROUP("group"), SPAN("span"), TEXT_INTERACTION("textInteraction"), IMG("img"),
CHOICE_INTERACTION("choiceInteraction"),
SELECTION_INTERACTION("selectionInteraction"), IDENTYFICATION_INTERACTION("identificationInteraction"),... |
package br.fameg.edu.view;
import br.fameg.edu.domain.model.*;
import br.fameg.edu.domain.repositories.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping(value = "/coordenadores", consumes = "application/json", produces = "... |
package ch.ethz.globis.tinspin;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Random;
import ch.ethz.globis.phtree.PhTreeHelper;
import ch.ethz.globis.tinspin.TestStats.IDX;
import ch.ethz.globis.tinspin.TestStats.TST;
import ch.ethz.globis.tinspin.data.AbstractT... |
package cn.net.openid.web;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging... |
package com.cx.client;
import com.checkmarx.v7.*;
import com.cx.client.dto.CreateScanResponse;
import com.cx.client.dto.LocalScanConfiguration;
import com.cx.client.dto.ReportType;
import com.cx.client.dto.ScanResults;
import com.cx.client.exception.CxClientException;
import com.cx.client.rest.CxRestClient;
import com.... |
package com.diary.services;
import com.diary.dao.StudentDAO;
import com.diary.dto.GradeDTO;
import com.diary.model.Grade;
import com.diary.model.SchoolClass;
import com.diary.model.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springfra... |
package com.dominikschreiber.underscore;
import com.dominikschreiber.underscore.java.util.function.BiFunction;
import com.dominikschreiber.underscore.java.util.function.BiPredicate;
import com.dominikschreiber.underscore.java.util.function.Consumer;
import com.dominikschreiber.underscore.java.util.function.Function;
im... |
package com.flavio.controller;
import java.io.Serializable;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.application.FacesMessage;
import javax.faces.view.ViewScoped;
import javax.inject.Inject;
import javax.inject.Named;
import org.apache.commons.logging.Log;
import org.apache.commo... |
package scal.io.liger.model;
import android.content.Context;
import android.graphics.Bitmap;
import android.support.annotation.NonNull;
import android.util.Log;
import com.google.gson.Gson;
import com.google.gson.annotations.Expose;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStr... |
package com.fundynamic.d2tm.game.map;
import com.fundynamic.d2tm.game.terrain.Terrain;
import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;
public class Cell {
private Terrain terrain;
public Cell(Terrain terrain) {
if (terrain == null) throw new IllegalArgumentException("Terrain arg... |
package com.github.davidmoten.rtree;
import static com.google.common.base.Optional.of;
import java.util.Comparator;
import rx.Observable;
import rx.functions.Func1;
import com.github.davidmoten.rtree.geometry.Geometry;
import com.github.davidmoten.rtree.geometry.Rectangle;
import com.github.davidmoten.rx.operators.Oper... |
package com.github.lpandzic.junit.bdd;
import java.util.Optional;
public final class Bdd {
/**
* Used for specifying behavior that should throw an throwable.
*
* <p><strong>Note: Not defining then inside the test after calling this method will cause throwable to be
* silently swallowed and can c... |
package com.greghaskins.spectrum;
/**
* This is a convenience class to make working with Java closures easier. Variables from outer
* scopes must be {@code final} to be referenced inside lambda functions. Wrapping objects in a
* {@link #Variable} instance allows you to get/set values from anywhere as long as the Var... |
package com.heroku;
import com.atlassian.bamboo.build.logger.BuildLogger;
import com.atlassian.bamboo.security.StringEncrypter;
import com.atlassian.bamboo.task.*;
import com.herokuapp.directto.client.DeployRequest;
import com.herokuapp.directto.client.DirectToHerokuClient;
import com.herokuapp.directto.client.EventSub... |
package com.afollestad.silk.http;
import ch.boye.httpclientandroidlib.HttpResponse;
import ch.boye.httpclientandroidlib.StatusLine;
/**
* @author Aidan Follestad (afollestad)
*/
public class SilkHttpException extends Exception {
SilkHttpException(Exception e) {
super(e);
}
SilkHttpException(HttpRe... |
package com.lothrazar.backport;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.BlockBreakable;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creati... |
package com.rarchives.ripme.ui;
import java.awt.*;
import java.awt.TrayIcon.MessageType;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.F... |
package com.s24.redjob.worker;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.util.AnnotatedTypeScanner;
import org.springframework.util.Assert;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.datab... |
package com.sdl.bootstrap.form;
import com.sdl.selenium.web.SearchType;
import com.sdl.selenium.web.WebLocator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
public class DatePicker extends Web... |
package lucee.commons.io.log;
import java.io.PrintStream;
import lucee.commons.io.log.log4j.LogAdapter;
import lucee.commons.lang.ExceptionUtil;
/**
* Helper class for the logs
*/
public final class LogUtil {
public static final int LEVEL_TRACE=5; // FUTURE add to Log interface, if log interface not get removed
... |
package com.sdl.selenium.extjs6.grid;
import com.sdl.selenium.web.SearchType;
import com.sdl.selenium.web.WebLocator;
import com.sdl.selenium.web.table.Table;
import com.sdl.selenium.web.utils.RetryUtils;
import com.sdl.selenium.web.utils.Utils;
import lombok.extern.slf4j.Slf4j;
import java.util.ArrayList;
import java.... |
package acx.lam;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.hash.HashFunction;
import com.google.common.hash.Hashing;
public class HashMaglev16Balancer<T extends Cell> {
private stat... |
package com.sourcegraph.javagraph;
import com.sun.source.tree.CompilationUnitTree;
import com.sun.source.tree.ExpressionTree;
import com.sun.source.util.JavacTask;
import com.sun.source.util.TreePath;
import com.sun.source.util.Trees;
import com.sun.tools.javac.tree.JCTree;
import org.apache.commons.lang3.StringUtils;
... |
package com.toomasr.sgf4j.parser;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
import com.toomasr.sgf4j.board.StoneState;
public class GameNode implements Comparable<GameNode>, Cloneable {
private final Set<GameNode> children = new TreeSet<>();
private final Map<St... |
package com.ueffort.study.base;
public class IndexMinPQ<Key extends Comparable<Key>> {
private Node[] pq;
private int N = 0; // pq[1..N]pq[0]
private Node[] iq;
private class Node{
private int index;
private Key key;
private int priority;
public Node(int index, Key key,... |
package coyote.commons.network.http;
import java.io.ByteArrayInputStream;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.URL;
import java.net.URLDecoder;
import java.nio.... |
package de.prob2.ui.internal;
import java.io.CharArrayWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.lang.ref.WeakReference;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Collections;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import... |
package gov.nih.nci.calab.service.util;
import gov.nih.nci.calab.domain.nano.characterization.Characterization;
import java.util.HashMap;
import java.util.Map;
public class CaNanoLabConstants {
public static final String DOMAIN_MODEL_NAME = "caNanoLab";
public static final String CSM_APP_NAME = "caNanoLab";
... |
/**
*
* $Id: PublicationAction.java,v 1.6 2005-10-26 20:12:43 pandyas Exp $
*
* $Log: not supported by cvs2svn $
*
*/
package gov.nih.nci.camod.webapp.action;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import gov.nih.nci.camod.Constants;
import gov.nih.nci.camod.domain.... |
package gov.nih.nci.cananolab.ui.sample;
import gov.nih.nci.cananolab.dto.common.FileBean;
import gov.nih.nci.cananolab.dto.common.UserBean;
import gov.nih.nci.cananolab.dto.particle.SampleBean;
import gov.nih.nci.cananolab.dto.particle.characterization.CharacterizationSummaryViewBean;
import gov.nih.nci.cananolab.dto.... |
package fi.tekislauta.webserver;
import com.google.gson.Gson;
import com.google.gson.JsonSyntaxException;
import fi.tekislauta.db.Database;
import fi.tekislauta.db.objects.BoardDao;
import fi.tekislauta.db.objects.ModelValidationException;
import fi.tekislauta.db.objects.PostDao;
import fi.tekislauta.models.Board;
impo... |
package gov.nasa.jpl.mbee.model;
import gov.nasa.jpl.mbee.DocGen3Profile;
import gov.nasa.jpl.mbee.generator.DocumentValidator;
import gov.nasa.jpl.mbee.generator.GenerationContext;
import gov.nasa.jpl.mbee.lib.Debug;
import gov.nasa.jpl.mbee.lib.GeneratorUtils;
import gov.nasa.jpl.mbee.lib.MoreToString;
import gov.nas... |
package main.java.gui.application;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Point;
import java.rmi.RemoteException;
import javax.swing.border.LineBorder;
import main.java.data.Data;
import main.java.game.ExceptionForb... |
package info.faceland.strife;
import com.comphenix.xp.lookup.LevelingRate;
import info.faceland.api.FacePlugin;
import info.faceland.facecore.shade.command.CommandHandler;
import info.faceland.facecore.shade.nun.ivory.config.VersionedIvoryConfiguration;
import info.faceland.facecore.shade.nun.ivory.config.VersionedIvor... |
package info.faceland.strife.effects;
import info.faceland.strife.data.StrifeMob;
import info.faceland.strife.data.WorldSpaceEffectEntity;
import org.bukkit.entity.Entity;
import org.bukkit.util.Vector;
public class Push extends Effect {
private double power;
private double height;
private boolean cancelFall;
p... |
package joshie.maritech.items;
import java.util.List;
import joshie.lib.util.Text;
import joshie.mariculture.api.core.MaricultureTab;
import joshie.mariculture.api.fishery.fish.FishDNABase;
import joshie.mariculture.api.fishery.fish.FishSpecies;
import joshie.mariculture.core.items.ItemMCDamageable;
import joshie.maric... |
package no.priv.garshol.duke;
import java.io.IOException;
import java.io.FileOutputStream;
import org.xml.sax.helpers.AttributeListImpl;
import no.priv.garshol.duke.datasources.Column;
import no.priv.garshol.duke.datasources.CSVDataSource;
import no.priv.garshol.duke.datasources.JDBCDataSource;
import no.priv.garshol.d... |
package org.adrenalinee.stomp;
import java.net.URI;
import java.nio.channels.NotYetConnectedException;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Timer;
import java.util.TimerTask;
import java.util.TreeMap;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.HttpsURLConnection;
impor... |
package io.mangoo.email;
import java.util.Objects;
import java.util.Properties;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import io.mangoo.core.Config;
import io.mangoo.enums.Required;
import jakarta.mail.Authenticator;
import jakarta.mail.MessagingException;
import jakarta.mail.PasswordAuthe... |
package org.animotron.graph;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.security.MessageDigest;
import java.util.UUID;
import org.animotron.MessageDigester;
import org.neo4j.graphdb.Relationship;
/**
* @author <... |
package org.broad.igv.ui.panel;
import com.jidesoft.swing.JidePopupMenu;
import org.broad.igv.charts.ScatterPlotUtils;
import org.broad.igv.feature.RegionOfInterest;
import org.broad.igv.track.RegionScoreType;
import org.broad.igv.track.TrackType;
import org.broad.igv.ui.IGV;
import org.broad.igv.ui.action.MenuAction;
... |
package org.cs4j.core.domains;
import com.sun.istack.internal.NotNull;
import org.cs4j.core.SearchDomain;
import org.cs4j.core.collections.PackedElement;
import org.cs4j.core.collections.PairInt;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
imp... |
package org.duyi.airVis;
import com.mongodb.*;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoCursor;
import com.mongodb.client.MongoDatabase;
import com.vividsolutions.jts.geom.Coordinate;
import com.vividsolutions.jts.geom.Geometry;
import com.vividsolutions.jts.geom.GeometryFactory;
import... |
package org.geoserver.shell;
import it.geosolutions.geoserver.rest.HTTPUtils;
import it.geosolutions.geoserver.rest.decoder.utils.JDOMBuilder;
import org.jdom.Element;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.shell.core.CommandMarker;
import org.springframework.shell.cor... |
package org.iq80.leveldb.impl;
import com.google.common.base.Function;
import com.google.common.base.Preconditions;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
import static com.google.common.base.Charsets.UTF_8;
import static org.iq80.leveldb.util.SizeOf.SIZE_OF_LONG;
pub... |
package org.jfree.chart.plot;
import java.awt.AlphaComposite;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Composite;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.Rectangle;
import java.awt.Shape;
import java.awt.Stroke;
import java.awt.geom.Line2D;
imp... |
package org.lightmare.cache;
import static org.lightmare.jpa.JPAManager.closeEntityManagerFactories;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.concur... |
package org.lightmare.cache;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
impor... |
package org.lightmare.cache;
import java.util.Collection;
import java.util.Iterator;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import org.glassfish.jersey.server.model.Resource;
import org.lightmare.rest.RestConfig;
import org.lightmare.rest.provider... |
package org.neo4j.driver;
import org.neo4j.driver.exception.Neo4jClientException;
import org.neo4j.driver.v1.*;
import java.util.Spliterator;
import java.util.stream.Stream;
import java.util.stream.StreamSupport;
import static java.util.Spliterators.spliterator;
/**
* Client transaction.
*/
public class Neo4jTransact... |
package org.ng200.openolympus;
import java.sql.SQLException;
import java.util.HashSet;
import java.util.Locale;
import java.util.Set;
import javax.servlet.MultipartConfigElement;
import javax.sql.DataSource;
import org.apache.commons.dbcp.BasicDataSource;
import org.ng200.openolympus.cerberus.util.Lists;
import org.ng2... |
package org.skife.jdbi.v2;
import org.skife.jdbi.v2.tweak.Argument;
public interface ArgumentFactory<T>
{
boolean accepts(Class<? super T> expectedType, T it, StatementContext ctx);
Argument build(Class<? super T> expectedType, T it, StatementContext ctx);
} |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.xtx.ut4converter.t3d;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.u... |
package com.janosgyerik.tools.util;
import java.util.*;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import java.util.stream.StreamSupport;
/**
* Utility methods related to iterators.
*/
public final class IterTools {
private IterTools() {
throw new AssertionError("utility class,... |
package org.xtx.ut4converter.t3d;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.xtx.ut4converter.UTGames;
import org.xtx.ut4converter.UTGames.UTGame;
/**
* Base class to match or replace "basic" actor such as pickups, weapons
* a... |
package poc.pc.manager;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
impo... |
package SpecmatePageClasses;
import java.util.Objects;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
//Page Class
public class LoginElements {
WebDriver driver;
//Elements and their locators
By username = By.id("login-username-textfield");
By password = By.id("login-password-textf... |
package seedu.address.logic.parser;
import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.address.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.... |
package seedu.address.model.task;
import seedu.address.commons.exceptions.IllegalValueException;
/**
* Represents a Task's priority in the task manager.
* Guarantees: immutable; is valid as declared in {@link #isValidPriority(String)}
*/
public class Priority {
public static final String MESSAGE_PRIORITY_CONSTRA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.