answer
stringlengths
17
10.2M
package com.brightsparklabs.asanti.validator; import com.brightsparklabs.asanti.model.schema.constraint.AsnSchemaConstraint; import com.brightsparklabs.asanti.model.schema.primitive.AsnPrimitiveType; import com.brightsparklabs.asanti.model.schema.typedefinition.*; import com.brightsparklabs.asanti.validator.builtin.*; ...
package com.rarchives.ripme.tst.ripper.rippers; import java.io.IOException; import java.net.URL; import com.rarchives.ripme.ripper.rippers.CheveretoRipper; public class CheveretoRipperTest extends RippersTest { public void testHushpix() throws IOException { CheveretoRipper ripper = new CheveretoRipper(new U...
package org.topcased.requirement.merge.process; import java.io.IOException; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Vector; import org....
package org.yakindu.sct.model.stext.ui; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; import org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.StatefulFactory; import org.eclipse.xtext.ui.editor.hover.Dispatching...
package org.xcolab.portlets.contests; import com.ext.portlet.model.Contest; import com.ext.portlet.service.ContestLocalServiceUtil; import com.liferay.portal.kernel.exception.PortalException; import com.liferay.portal.kernel.exception.SystemException; import org.springframework.stereotype.Controller; import org.springf...
package io.github.classgraph.issues; import static org.assertj.core.api.Assertions.assertThat; import java.io.File; import java.util.List; import org.junit.Test; import io.github.classgraph.ClassGraph; public class TestGetUniqueClasspathElements { @Test public void testGetUniqueClasspathElements() { fin...
package com.opengamma.integration.tool.portfolio; import org.apache.commons.cli.Option; import org.apache.commons.cli.Options; import com.opengamma.OpenGammaRuntimeException; import com.opengamma.component.tool.AbstractTool; import com.opengamma.financial.tool.ToolContext; import com.opengamma.integration.copier.portfo...
package io.jenkins.plugins.analysis.warnings; import com.tngtech.archunit.core.domain.JavaClasses; import com.tngtech.archunit.core.importer.ClassFileImporter; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; /** * Defines several architecture rules for the static analysis utilities. * * @author Ullrich Ha...
package org.epics.pvmanager.formula; import java.util.Arrays; import java.util.List; import org.epics.util.time.TimeDuration; import org.epics.vtype.Alarm; import org.epics.vtype.AlarmSeverity; import org.epics.vtype.Time; import org.epics.vtype.VNumber; import org.junit.Test; import static org.epics.vtype.ValueFactory...
package org.clafer.choco.constraint; import gnu.trove.set.TIntSet; import gnu.trove.set.hash.TIntHashSet; import org.chocosolver.solver.Model; import static org.clafer.choco.constraint.ConstraintQuickTest.$; import org.clafer.choco.constraint.ConstraintQuickTest.Check; import org.clafer.choco.constraint.ConstraintQuick...
package org.sagebionetworks.web.client; import static org.junit.Assert.*; import static org.mockito.Matchers.*; import static org.mockito.Mockito.*; import static org.apache.http.HttpStatus.*; import static org.sagebionetworks.web.shared.WebConstants.*; import java.util.ArrayList; import java.util.List; import static o...
package com.intuso.housemate.client.v1_0.real.impl.ioc; import com.google.inject.AbstractModule; import com.google.inject.Provides; import com.google.inject.Scopes; import com.google.inject.Singleton; import com.intuso.housemate.client.v1_0.real.api.*; import com.intuso.housemate.client.v1_0.real.impl.RealListImpl; imp...
package nars.inference; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.SortedSet; import java.util.TreeSet; import nars.core.Memory; import nars.entity.BudgetValue; import nars.entity.Concept; import nars...
package uk.co.bristlecone.voltdb.wrapgen.builder; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalToIgnoringWhiteSpace; import static org.hamcrest.Matchers.is; import java.util.function.Function; import org.junit.Test; import org.junit.runner.RunWith; import mockit.Expectat...
package com.hazelcast.stabilizer.tests.map; import com.hazelcast.config.MapStoreConfig; import com.hazelcast.core.HazelcastInstance; import com.hazelcast.core.IMap; import com.hazelcast.stabilizer.tests.TestContext; import com.hazelcast.stabilizer.tests.TestRunner; import com.hazelcast.stabilizer.tests.annotations.Run;...
package org.switchyard.quickstarts.rules.interview; import org.switchyard.component.rules.ExecuteRules; import org.switchyard.component.rules.Rules; @Rules(value=Interview.class, resources={"/org/switchyard/quickstarts/rules/interview/Interview.drl"}) public interface InterviewRules extends Interview { @Override ...
package com.malhartech.stream.kafka; import com.malhartech.api.Sink; import com.malhartech.dag.Stream; import com.malhartech.dag.StreamConfiguration; import com.malhartech.dag.StreamContext; import com.malhartech.dag.Tuple; import kafka.javaapi.producer.Producer; /** * * @author Chetan Narsude <[email protected]>...
package net.runelite.client.plugins.wasdcamera; import java.awt.event.KeyEvent; import javax.inject.Inject; import net.runelite.api.Client; import net.runelite.api.VarClientStr; import net.runelite.client.callback.ClientThread; import net.runelite.client.input.KeyListener; import net.runelite.client.input.MouseListener...
package com.example.bot.spring.database; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; /** * this is to handle the unanswered questions, save them into the database and reply with a default answer * @author jsongaf */ //I am doing a very stupid ...
package org.jboss.forge.addon.scaffold.faces; import java.io.FileNotFoundException; import java.io.IOException; import java.io.StringWriter; import java.io.Writer; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import...
package org.apache.mesos.elasticsearch.scheduler; import org.apache.commons.cli.BasicParser; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.HelpFormatter; import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; impor...
package org.openscore.content.json.actions; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import java.util.Map; import static junit.framework.Assert.assertEquals; public class AddJsonPropertyToObjectTest { public static final String RETURN_RESULT = "returnResult"; final...
package org.jboss.as.server.deployment.module; import java.util.HashSet; import java.util.List; import java.util.Set; import org.jboss.as.server.ServerLogger; import org.jboss.as.server.deployment.AttachmentList; import org.jboss.as.server.deployment.Attachments; import org.jboss.as.server.deployment.DeploymentPhaseCon...
package org.oskari.capabilities; import static java.util.stream.Collectors.groupingBy; import java.sql.Timestamp; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; import java.util.Set; import javax.xml.stream.XMLStreamEx...
package com.rgi.g2t; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.Set; import java.util.TreeSet; import javax.imageio.ImageIO; import com.rgi.common.BoundingBox; import com.rgi.common.CoordinateReferenceSystem; import com.rgi.common.coordinates.AbsoluteTileCoord...
package com.grandmaapp.model; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.preference.PreferenceManager; import com.grandmaapp.model.Grandma.Requests; import com.grandmaapp.model.Grandma....
// -*- 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.ActionListener; import java.util.Objects; import java.util.Optional; import java.util.regex.Matcher; import java.util.regex.Pattern; import java....
import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; public class STB_Sample { public void testSTB(File f1, File f2) throws STBException { try { InputStream is = new FileInputStream(f1); } catch (IOException ioe) { throw...
package guitests; import static org.junit.Assert.assertTrue; import static seedu.ezdo.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.ezdo.logic.commands.DoneCommand.MESSAGE_DONE_TASK_SUCCESS; import static seedu.ezdo.logic.commands.DoneCommand.MESSAGE_UNDONE_TASK_SUCCESS; import java.text.Par...
package guitests; import static org.junit.Assert.assertTrue; import static seedu.watodo.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import org.junit.Test; import guitests.guihandles.TaskCardHandle; import seedu.watodo.commons.core.Messages; import seedu.watodo.commons.exceptions.IllegalValueException; import ...
//@@author A0142073R package guitests; import org.junit.Test; import seedu.taskell.commons.core.Messages; import seedu.taskell.commons.exceptions.IllegalValueException; import seedu.taskell.model.task.Description; import seedu.taskell.model.task.TaskDate; import seedu.taskell.model.task.TaskPriority; import seedu.taske...
package beaform.entities; import java.util.List; import javax.persistence.EntityManager; import javax.transaction.HeuristicMixedException; import javax.transaction.HeuristicRollbackException; import javax.transaction.NotSupportedException; import javax.transaction.RollbackException; import javax.transaction.SystemExcep...
package br.com.ppm.test.helper; import org.mockito.Mockito; import org.mockito.stubbing.Answer; import org.mockito.stubbing.OngoingStubbing; /** * Just a Test Step. * * @param <T> the generic type * @author pedrotoliveira */ public final class Step<T> implements WeExpect, StubbingWrapper<T> { /** * The st...
package test.persistence; import static org.junit.Assert.assertEquals; import java.io.IOException; import net.f4fs.fspeer.FSPeer; import net.f4fs.persistence.DHTOperations; import net.tomp2p.dht.PeerDHT; import net.tomp2p.peers.Number160; import net.tomp2p.storage.Data; import org.junit.AfterClass; import org.junit.Bef...
package com.bio4j.model; import com.bio4j.angulillos.*; import com.bio4j.angulillos.Arity.*; public final class ENZYMEGraph<V,E> extends TypedGraph<ENZYMEGraph<V,E>,V,E> { public ENZYMEGraph(UntypedGraph<V,E> graph) { super(graph); } @Override public final ENZYMEGraph<V,E> self() { return this; } /* ## Enzy...
package com.box.sdk; /** * Thrown to indicate that an error occurred while communicating with the Box API. */ public class BoxAPIException extends RuntimeException { private static final long serialVersionUID = 1L; private final int responseCode; private final String response; /** * Constructs a ...
package com.drugbox.Util; import java.util.ArrayList; import java.util.List; public class UploadUtil { public static boolean isImageByName(String fileName){ String ext = fileName.substring(fileName.lastIndexOf(".")+1,fileName.length()); return isImage(ext); } public static boolean isImage(St...
package com.github.mizool; import lombok.AccessLevel; import lombok.NoArgsConstructor; import lombok.NonNull; import com.github.mizool.exception.DataInconsistencyException; import com.github.mizool.exception.ObjectNotFoundException; import com.google.common.base.Optional; @NoArgsConstructor(access = AccessLevel.PRIVATE...
package com.loomcom.symon; import com.loomcom.symon.devices.Memory; import com.loomcom.symon.exceptions.FifoUnderrunException; import com.loomcom.symon.exceptions.MemoryAccessException; import com.loomcom.symon.exceptions.MemoryRangeException; import com.loomcom.symon.exceptions.SymonException; import com.loomcom.symon...
package org.xbill.DNS; import java.io.*; import java.text.*; import java.util.*; import org.xbill.DNS.utils.*; /** * A representation of a domain name. * * @author Brian Wellington */ public class Name { private static final int LABEL_NORMAL = 0; private static final int LABEL_COMPRESSION = 0xC0; private static fin...
package org.xbill.DNS; import java.io.*; import java.net.*; import java.util.*; import org.xbill.DNS.utils.*; /** * Transaction signature handling. This class generates and verifies * TSIG records on messages, which provide transaction security, * @see TSIGRecord * * @author Brian Wellington */ public class TSIG...
package com.orasi.utils; import java.net.URL; import java.util.List; import java.util.Set; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.NoSuchElementException; import org.openqa.selenium.OutputType; import org.openqa.selen...
package org.xbill.DNS; import org.xbill.DNS.utils.*; /** * Constants and functions relating to DNS Types * * @author Brian Wellington */ public final class Type { private static StringValueTable types = new StringValueTable(); /** Address */ public static final short A = 1; /** Name server */ public static f...
package com.thindeck.dynamo; import com.amazonaws.services.dynamodbv2.model.Select; import com.google.common.base.Function; import com.google.common.collect.Iterables; import com.jcabi.aspects.Immutable; import com.jcabi.dynamo.Attributes; import com.jcabi.dynamo.Conditions; import com.jcabi.dynamo.Item; import com.jca...
package org.xbill.DNS; import java.io.*; import java.util.*; /** * A DNS Zone. This encapsulates all data related to a Zone, and provides * convenient lookup methods. * * @author Brian Wellington */ public class Zone extends NameSet { class AXFRIterator implements Iterator { private Iterator znames; priva...
package de.jformchecker; import java.util.Map; import de.jformchecker.criteria.Criteria; import de.jformchecker.criteria.MaxLength; import de.jformchecker.message.MessageSource; import de.jformchecker.message.MinimalMessageSource; import de.jformchecker.request.Request; import de.jformchecker.request.SessionGet; import...
package filter.expression; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.temporal.ChronoUnit; import java.util.*; import java.util.function.Function; import java.util.function.Predicate; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; im...
package filter.expression; import backend.interfaces.IModel; import backend.resource.TurboIssue; import backend.resource.TurboLabel; import backend.resource.TurboMilestone; import backend.resource.TurboUser; import filter.MetaQualifierInfo; import filter.QualifierApplicationException; import util.Utility; import java.t...
package group7.anemone.Genetics; import group7.anemone.Agent; import java.io.Serializable; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CountDownLatch; public abstract class God<t ext...
package jolie.typeChecker; import jolie.lang.NativeType; import java.io.IOException; import java.io.Writer; import java.util.HashSet; public class TypeCheckerWriter { private Writer writer; private StringBuilder sb; private HashSet<String> declaredConsts = new HashSet<>(); public TypeCheckerWriter(Write...
package com.dooble.phonertc; import java.util.LinkedList; import java.util.regex.Matcher; import java.util.regex.Pattern; import android.graphics.Point; import android.webkit.WebView; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.PluginResult; import org.j...
package app.android.simpleflashcards.ui; import java.io.IOException; import java.util.ArrayList; import java.util.List; import android.accounts.Account; import android.accounts.AccountManager; import android.accounts.AuthenticatorException; import android.accounts.OperationCanceledException; import android.app.Activity...
package hello.utilities; import java.io.File; import java.io.IOException; public class ProcessUtil { public static boolean isRcloneInstalled() { final ProcessBuilder builder = new ProcessBuilder(); builder.command("rlcone", "version"); builder.directory(new File(System.getProperty("user.home...
package hu.bme.mit.spaceship; /** * A simple spaceship with two proton torpedos and four lasers */ public class GT4500 implements SpaceShip { private TorpedoStore primaryTorpedoStore; private TorpedoStore secondaryTorpedoStore; private boolean wasPrimaryFiredLast = false; public GT4500() { this.primaryTorpe...
package hu.bme.mit.spaceship; //ASDASDASDASD //WWWWWWWWWWWWWWWWWWWWWWWW /** * A simple spaceship with two proton torpedos and four lasers */ public class GT4500 implements SpaceShip { private TorpedoStore primaryTorpedoStore; private TorpedoStore secondaryTorpedoStore; private boolean wasPrimaryFiredLast = false;...
package hu.bme.mit.spaceship; /** * A simple spaceship with two proton torpedos and four lasers */ public class GT4500 implements SpaceShip { private TorpedoStore primaryTorpedoStore; private TorpedoStore secondaryTorpedoStore; private boolean wasPrimaryFiredLast = false; public GT4500() { this.primaryTorpe...
package hudson.plugins.ec2; import static javax.servlet.http.HttpServletResponse.SC_BAD_REQUEST; import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR; import com.amazonaws.ClientConfiguration; import com.amazonaws.auth.DefaultAWSCredentialsProviderChain; import com.cloudbees.jenkins.plugins.aws...
package ixa.kaflib; import org.jdom2.Document; import org.jdom2.Element; import org.jdom2.Comment; import org.jdom2.Namespace; import org.jdom2.CDATA; import org.jdom2.output.XMLOutputter; import org.jdom2.output.Format; import org.jdom2.input.SAXBuilder; import org.jdom2.JDOMException; import org.jdom2.xpath.XPathExpr...
package java.util.stream; import java.util.ArrayList; import java.util.Collections; import java.util.EnumSet; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Set; import java.util.StringJoiner; import java.util.function.BiConsum...
package log; import log.LogListener; import java.io.IOException; import java.io.OutputStream; public class OutputStreamLogListener implements LogListener { private OutputStream outputStream; public OutputStreamLogListener(OutputStream outputStream) { this.outputStream = outputStream; } @Override...
package logbook.internal; import java.beans.XMLDecoder; import java.beans.XMLEncoder; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file....
package mingzuozhibi.persist; import org.json.JSONArray; import org.json.JSONObject; import javax.persistence.*; import java.time.Instant; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter; import java.util.*; @Entity public class Sakura extends BaseModel implements Comp...
package nl.mvdr.tinustris.gui; import javafx.application.Application; import javafx.scene.Group; import javafx.scene.Node; import javafx.scene.Scene; import javafx.scene.paint.Color; import javafx.scene.paint.CycleMethod; import javafx.scene.paint.Paint; import javafx.scene.paint.RadialGradient; import javafx.scene.pai...
package org.bouncycastle.tls.crypto.impl.bc; import java.io.IOException; import org.bouncycastle.crypto.engines.ChaCha7539Engine; import org.bouncycastle.crypto.macs.Poly1305; import org.bouncycastle.crypto.params.KeyParameter; import org.bouncycastle.crypto.params.ParametersWithIV; import org.bouncycastle.tls.AlertDes...
package to.etc.domui.server; import org.eclipse.jdt.annotation.NonNull; import org.eclipse.jdt.annotation.Nullable; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import to.etc.domui.annotations.UIRights; import to.etc.domui.component.meta.MetaManager; import to.etc.domui.component.meta.PropertyMetaModel; imp...
package net.imagej.legacy; import ij.Executer; import ij.IJ; import ij.ImageJ; import ij.ImagePlus; import ij.Macro; import ij.Menus; import ij.Prefs; import ij.WindowManager; import ij.gui.ImageWindow; import ij.gui.Toolbar; import ij.io.DirectoryChooser; import ij.io.OpenDialog; import ij.io.Opener; import ij.io.Save...
package org.basex.core.cmd; import static org.basex.core.Commands.*; import static org.basex.core.Text.*; import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import javax.xml.transform.sax.SAXSource; import org.basex.build.BuildException; import org.basex.build.Builder; import or...
package org.cactoos.iterator; import java.util.Collections; import java.util.Iterator; import org.cactoos.iterable.ListOf; /** * A few Iterators joined together. * * <p>There is no thread-safety guarantee. * * @author Yegor Bugayenko ([email protected]) * @version $Id$ * @param <T> Type of item * @since 0.1 *...
package org.fiteagle.api.core; public interface IGeni { String GENI_PROVISIONED = "geni_provisioned"; String GENI_OPERATIONAL_STATUS = "geni_operational_status"; String GENI_READY = "geni_ready"; String GENI_BEST_EFFORT = "geni_best_effort"; String GENI_END_TIME = "geni_end_time"; String GENI_AP...
package org.jtrfp.trcl; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; import org.jtrfp.trcl.core.TR; import org.jtrfp.trcl.core.TriangleVertex2FlatDoubleWindow; import org.jtrf...
package org.kohsuke.github; class Previews { static final String ANTIOPE = "application/vnd.github.antiope-preview+json"; static final String BAPTISE = "application/vnd.github.baptiste-preview+json"; static final String CLOAK = "application/vnd.github.cloak-preview+json"; static final String FLASH = "ap...
package org.lightmare.config; import java.util.Arrays; import java.util.HashSet; import org.lightmare.cache.DeploymentDirectory; /** * Keeps keys and default values for configuration * * @author Levan * */ public enum Config { // Default properties // Path where stored administrative users ADMIN_USERS_...
package org.sbrubbles.genericcons; /** * Captures and represents an open-ended list of types. This class isn't supposed to be instantiated or subclassed, * and has no fields or methods; it's a marker class, used to indicate a list in the type declaration, like below: * <p> * <pre> * Function&lt;?, ?&gt; f = new Fu...
package org.sbrubbles.genericcons; import static org.sbrubbles.genericcons.Utils.nonNull; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; /** * Captures and represents an open-ended list of...
package org.scijava.util; import java.util.ArrayList; import java.util.Collection; import java.util.List; /** * Utility class for creating and manipulating {@link PrimitiveArray} instances. * * @author Mark Hiner */ public final class ArrayUtils { private ArrayUtils() { // prevent instantiation of utili...
package org.twuni.twoson; import java.io.IOException; import java.io.InputStream; import java.util.Stack; public class JSONParser { private static enum Event { NONE, OBJECT, ARRAY, OBJECT_KEY } private static void burn( byte [] buffer ) { for( int i = 0; i < buffer.le...
package pointGroups.gui; import java.awt.BorderLayout; import java.awt.Color; import java.util.ArrayList; import java.util.Collection; import java.util.logging.Logger; import javax.swing.JPanel; import pointGroups.geometry.Fundamental; import pointGroups.geometry.Point3D; import pointGroups.gui.event.EventDispatcher; i...
package propertor; import com.sun.source.util.Trees; import com.sun.tools.javac.code.Flags; import com.sun.tools.javac.processing.JavacProcessingEnvironment; import com.sun.tools.javac.tree.JCTree; import com.sun.tools.javac.tree.JCTree.JCAssign; import com.sun.tools.javac.tree.JCTree.JCBlock; import com.sun.tools.java...
package robertbosch.utils; import java.io.BufferedWriter; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.util.concurrent.TimeoutException; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseExceptio...
package user.student; import assignment.Assignment; import assignment.AssignmentGrade; import course.CurveSetting; import course.LetterGrade; import admin.User; import util.GraderObject; import java.util.Collection; /** * Class containing all of the information for a student's record. */ public abstract class Student...
package tigase.net; import java.io.IOException; import java.nio.channels.ClosedChannelException; import java.nio.channels.CancelledKeyException; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.SocketChannel; import java.util.Iterator; import java.util.Set; import java....
package persistlayer; import java.sql.Connection; import java.sql.ResultSet; public class SearchPersistImpl{ //global variables DbAccessImpl db = new DbAccessImpl(); Connection con = db.connect(); public ResultSet getSuggestions(String searchbarContent){ ResultSet rs; String query = "SEL...
package httpserver; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; /** * A MethodWrapper is a wrapper for the reflect.Method class. It allows us to * easily invok...
package uk.org.cinquin.mutinack; import java.io.File; import java.io.IOException; import java.io.Serializable; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import j...
package us.kbase.genbank.test; import us.kbase.auth.AuthService; import us.kbase.auth.AuthToken; import us.kbase.auth.AuthUser; import us.kbase.common.service.Tuple11; import us.kbase.genbank.ConvertGBK; import us.kbase.genbank.GenometoGbk; import us.kbase.workspace.ListObjectsParams; import us.kbase.workspace.Workspac...
package client; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.URISyntaxExcep...
package org.voltdb.iv2; import java.util.AbstractMap; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.ListIterator; import java.util.Map; import java.util.Map.Ent...
package de.danielnaber.languagetool; import java.io.IOException; import junit.framework.TestCase; public class ValidateXMLTest extends TestCase { public void testPatternFile() throws IOException { XMLValidator validator = new XMLValidator(); for (int i = 0; i < Language.LANGUAGES.length; i++) { Language...
package org.mwc.cmap.xyplot.views; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import org.eclipse.core.runtime.Status; import org.eclipse.jface.action.IToolBarManager; import org.eclipse.jface.viewers.ISelection; import org.eclipse.jface.viewers.ISelectionChangedListener; import org...
package gov.nih.nci.cananolab.service.particle.impl; import gov.nih.nci.cananolab.domain.common.File; import gov.nih.nci.cananolab.domain.particle.ChemicalAssociation; import gov.nih.nci.cananolab.domain.particle.ComposingElement; import gov.nih.nci.cananolab.domain.particle.Function; import gov.nih.nci.cananolab.domai...
package com.infinityraider.elementalinvocations.render.player; import com.infinityraider.elementalinvocations.api.Element; import com.infinityraider.elementalinvocations.api.IMagicCharge; import com.infinityraider.elementalinvocations.api.IPotencyMap; import com.infinityraider.elementalinvocations.reference.Constants; ...
package com.jaeksoft.searchlib.crawler.file.process.fileInstances; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.List; impor...
package com.lothrazar.cyclicmagic.gui.playerworkbench; import java.lang.ref.WeakReference; import java.util.List; import com.lothrazar.cyclicmagic.ModMain; import com.lothrazar.cyclicmagic.net.PacketSyncExtendedInventory; import com.lothrazar.cyclicmagic.util.Const; import net.minecraft.entity.item.EntityItem; import n...
package gov.nih.nci.nautilus.ui; import gov.nih.nci.nautilus.query.CompoundQuery; import gov.nih.nci.nautilus.query.QueryCollection; import gov.nih.nci.nautilus.resultset.DimensionalViewContainer; import gov.nih.nci.nautilus.resultset.Resultant; import gov.nih.nci.nautilus.resultset.ResultsContainer; import gov.nih.nci...
package de.bmoth.backend.ltl.transformation; import de.bmoth.parser.ast.nodes.Node; import de.bmoth.parser.ast.nodes.ltl.LTLInfixOperatorNode; import de.bmoth.parser.ast.nodes.ltl.LTLKeywordNode; import de.bmoth.parser.ast.nodes.ltl.LTLNode; import de.bmoth.parser.ast.nodes.ltl.LTLPrefixOperatorNode; import de.bmoth.pa...
package fi.csc.microarray.client.visualisation.methods.gbrowser.message; import net.sf.samtools.CigarElement; import net.sf.samtools.CigarOperator; public class CigarItem { private CigarElement cigarElement; public CigarItem(CigarElement cigarElement) { this.cigarElement = cigarElement; } public...
package gov.nasa.jpl.mbee.systemsreasoner.validation.actions; import java.io.Serializable; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Map;...
package net.darkhax.darkutils.features.flatblocks.collision; import net.darkhax.bookshelf.util.InventoryUtils; import net.minecraft.block.BlockState; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityType; import net.minecraft.entity.item.ItemEntity; import net.minecraft.item.ItemStack; import net.m...
package org.hildan.minecraft.mining.optimizer.patterns.generated; import org.hildan.minecraft.mining.optimizer.chunks.Sample; import org.hildan.minecraft.mining.optimizer.chunks.Wrapping; import org.hildan.minecraft.mining.optimizer.geometry.Position; import org.hildan.minecraft.mining.optimizer.patterns.AbstractDiggin...
package org.project.openbaton.integration.test.testers; import org.project.openbaton.catalogue.mano.descriptor.NetworkServiceDescriptor; import org.project.openbaton.catalogue.mano.record.NetworkServiceRecord; import org.project.openbaton.integration.test.utils.Tester; import org.project.openbaton.sdk.api.exception.SDK...