answer stringlengths 17 10.2M |
|---|
package eu.amidst.huginlink.inference;
import COM.hugin.HAPI.*;
import eu.amidst.core.distribution.*;
import eu.amidst.core.inference.InferenceAlgorithmForBN;
import eu.amidst.core.models.BayesianNetwork;
import eu.amidst.core.utils.BayesianNetworkGenerator;
import eu.amidst.core.variables.Assignment;
import eu.amidst.... |
package ev3dev.utils.io;
import com.sun.jna.LastErrorException;
import com.sun.jna.NativeLong;
import com.sun.jna.Pointer;
import com.sun.jna.ptr.IntByReference;
import java.io.Closeable;
import java.nio.ByteBuffer;
public class NativeFile implements Closeable, AutoCloseable {
protected int fd = -1;
private ILi... |
package org.inaturalist.android;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;
import org.apache.commons.lang3.StringUtils;
import org.inaturalist.android.INaturalistApp.INotificationCallback;
import org.json.JSONArray;
import org.json.JSONException;
import ... |
// My Answer for CodeIQ Q431
//CodeIQ Q431
// Quiz-Title: Restricted Words
// Hello World
// PerlqqqwRuby%Q%q%w
// AppleScript(osascript)/C/C++/C#/Clojure/D/Erlang/Fortran/Go/Groovy/Haskell/
// Hello Algorithm/HSP/Java/JavaScript(Node.js)/Kuin/Lisp/Lua/OCaml/Pascal/
// Perl/PHP/Pike/Python/R/Ruby/Scala/Scheme/Smalltal... |
package com.facebook.imagepipeline.core;
import javax.annotation.concurrent.ThreadSafe;
import java.lang.Exception;
import java.util.Set;
import java.util.concurrent.CancellationException;
import java.util.concurrent.atomic.AtomicLong;
import android.net.Uri;
import com.facebook.cache.common.CacheKey;
import com.facebo... |
package com.facebook.imagepipeline.core;
import android.net.Uri;
import bolts.Continuation;
import bolts.Task;
import com.facebook.cache.common.CacheKey;
import com.facebook.callercontext.CallerContextVerifier;
import com.facebook.common.internal.Objects;
import com.facebook.common.internal.Preconditions;
import com.fa... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package uk.ac.cs.man.openphacts.queryexpander;
import java.net.URLEncoder;
import java.util.Set;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax... |
package org.rabix.engine.processor.handler.impl;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.rabix.bindings.BindingException;
import org.rabix.bindings.model.Job;
import org.rabix.bindings.model.Job.JobStatus;
import org.rab... |
package name.matco.hotspot.api;
import java.io.IOException;
import java.util.Properties;
import javax.ws.rs.ApplicationPath;
import org.glassfish.jersey.jackson.JacksonFeature;
import org.glassfish.jersey.media.multipart.MultiPartFeature;
import org.glassfish.jersey.server.ResourceConfig;
import org.glassfish.jersey.se... |
package net.fusejna;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.concurrent.locks.ReentrantLock;
import java.util.logging.Logger;
import java.util.regex.Pattern;
import net.fusejna.StructFlock.FlockWrapper;
import net.fusejna.StructFuseFileInfo.FileInfoWrapper;
import n... |
package net.imagej.ops;
import java.util.List;
import org.scijava.ValidityProblem;
import org.scijava.command.CommandInfo;
import org.scijava.module.Module;
import org.scijava.module.ModuleItem;
/**
* Container class for a possible operation match between an {@link OpRef} and
* an {@link OpInfo}, as computed by the {... |
package net.krinsoft.chat;
import com.pneumaticraft.commandhandler.CommandHandler;
import net.krinsoft.chat.commands.*;
import net.krinsoft.irc.IRCBot;
import net.krinsoft.irc.InvalidIRCBotException;
import net.krinsoft.chat.listeners.IRCListener;
import net.krinsoft.chat.listeners.PlayerListener;
import org.bukkit.Cha... |
package nl.ovapi.rid.model;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import java.util.Map;
import java.util.TimeZone;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import nl.ovapi.bison.model.K... |
package org.boon.primitive;
import org.boon.cache.Cache;
import org.boon.cache.CacheType;
import org.boon.cache.SimpleCache;
import org.boon.core.reflection.FastStringUtils;
import sun.nio.cs.Surrogate;
import java.io.IOException;
import java.io.Writer;
import java.math.BigDecimal;
import java.math.BigInteger;
import j... |
package com.temenos.interaction.sdk;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.List;
import org.apache.velocity.Template;
import org.apache.v... |
package com.temenos.interaction.sdk;
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.StringWriter;
import ja... |
package com.java110.oa.bmo.oaWorkflowForm.impl;
import com.alibaba.fastjson.JSONObject;
import com.java110.core.factory.GenerateCodeFactory;
import com.java110.dto.oaWorkflow.OaWorkflowDto;
import com.java110.dto.oaWorkflowData.OaWorkflowDataDto;
import com.java110.dto.oaWorkflowForm.OaWorkflowFormDto;
import com.java1... |
package org.fosstrak.tdt;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigInteger;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.uti... |
package org.geotools.gis;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;
import java.util.HashSet;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import org.geotools.data.FileData... |
package net.localizethat.tasks;
import java.io.File;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.persistence.EntityManager;
import javax.swing.JButton;
import javax.swing.JTextArea;
import javax.swing.SwingWorker;
import net.localizethat.Ma... |
package org.gmagnotta.log;
import java.util.Date;
/**
* Represents an information that should be logged
*/
public class LogEvent {
private static final String UNSET_MARKER = "UNSET";
private LogLevel logLevel;
private String sourceClass;
private Date date;
private String threadName;
private St... |
package org.imirsel.nema.model;
import java.io.Serializable;
import java.util.Date;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
i... |
package net.ssehub.kernel_haven.util;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Queue;
import java.util.concurrent.TimeoutException;
/**
* A blocking queue that can send data from one thread to another. One thread can push data into the queue, that will
* be read from the other thread. ... |
package com.intellij.psi.impl.compiled;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.pom.java.LanguageLevel;
import com.intellij.psi.CommonClassNames;
import com.in... |
package org.jfclere.h2demo;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.PushBuilder;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStre... |
package nl.mpi.arbil.importexport;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.util.Hashtable;
import java.util.StringTokenizer;
import nl.mpi.arbil.GuiHelper;
import nl.mpi.arbil.ImdiField;
import nl.mpi.arbil.LinorgWindowManager;
import nl.mpi.arbil.data.*;
public class ... |
package com.semmle.extractor.java;
import java.lang.reflect.*;
import java.io.File;
import java.io.IOException;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import ... |
package org.pentaho.di.ui.repository.repositoryexplorer.controllers;
import java.util.Collection;
import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.MessageBox;
import org.eclipse.swt.widgets.Shell;
import org.pentaho.di.core.Const;
import org.pentaho.di.core.database.DatabaseMeta;
import... |
package org.jtrfp.trcl.math;
public final class Vect3D {
private static final boolean CATCH_NAN = true;
private static final boolean CATCH_POS_INF = false;
private static final boolean CATCH_NEG_INF = false;
public static void subtract(double[] l, double[] r, double[] dest) {
dest[0]=l[0]-r[0];
... |
package org.myrobotlab.service;
import org.myrobotlab.framework.Service;
import org.myrobotlab.framework.interfaces.ServiceInterface;
import org.myrobotlab.logging.LoggerFactory;
import org.myrobotlab.logging.LoggingFactory;
import org.myrobotlab.service.config.PirConfig;
import org.myrobotlab.service.config.ServiceCon... |
package org.titans.fyp;
import java.io.*;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
public class Calculation {
public static String output_folder = "./LawIE/DocVector/Output";
public List<List<Double>> CalDocumentVector(List<String> inputWordList, HashSet<String> vocabulary, d... |
package com.intellij.codeInsight.documentation;
import com.intellij.codeInsight.CodeInsightBundle;
import com.intellij.codeInsight.TargetElementUtilBase;
import com.intellij.codeInsight.hint.HintManagerImpl;
import com.intellij.codeInsight.hint.ParameterInfoController;
import com.intellij.codeInsight.lookup.Lookup;
imp... |
package projacker;
public class Waveform implements Element {
private Instrument parent;
private WaveFile sibling;
private Octave child = new Octave( this );
private boolean squareWave;
private int octave, numCycles;
public Waveform( Instrument parent ) {
this.parent = parent;
si... |
package picard.sam;
import htsjdk.samtools.SAMValidationError;
import htsjdk.samtools.SamFileValidator;
import htsjdk.samtools.SamReader;
import htsjdk.samtools.SamReaderFactory;
import htsjdk.samtools.ValidationStringency;
import htsjdk.samtools.BamIndexValidator.IndexValidationStringency;
import htsjdk.samtools.refer... |
package ee.ria.xroad.proxy.clientproxy;
import ee.ria.xroad.common.CodedException;
import ee.ria.xroad.common.SystemProperties;
import ee.ria.xroad.common.conf.globalconf.GlobalConf;
import ee.ria.xroad.common.conf.serverconf.ServerConf;
import ee.ria.xroad.common.identifier.CentralServiceId;
import ee.ria.xroad.common... |
package pw.amel.civspell;
import pw.amel.civspell.builtin.*;
import pw.amel.civspell.commands.GiveSpellItem;
import pw.amel.civspell.commands.ReloadCommand;
import pw.amel.civspell.gameplay.SpellCastListener;
import org.bukkit.plugin.java.JavaPlugin;
public class CivSpells extends JavaPlugin {
public SpellConfig co... |
package quantisan.qte_lmax;
import com.lmax.api.*;
import com.lmax.api.account.LoginCallback;
import com.lmax.api.account.LoginRequest;
import com.lmax.api.heartbeat.HeartbeatCallback;
import com.lmax.api.heartbeat.HeartbeatEventListener;
import com.lmax.api.heartbeat.HeartbeatRequest;
import com.lmax.api.heartbeat.Hea... |
package org.languagetool.gui;
import org.languagetool.Language;
import org.languagetool.tools.StringTools;
import java.io.*;
import java.util.*;
/**
* Configuration like list of disabled rule IDs, server mode etc.
* Configuration is loaded from and stored to a properties file.
*
* @author Daniel Naber
*/
public cl... |
package ru.lj.alamar.microbe;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.util.Arrays;
import java.util.Locale;
import java.util.Properties;
import java.util.Random;
import... |
package seedu.task.model.task;
import java.util.Comparator;
import java.util.Objects;
import seedu.task.commons.util.CollectionUtil;
import seedu.task.model.tag.UniqueTagList;
/**
* Represents a Task in the ToDo List. Guarantees: details are present and not
* null, field values are validated.
*/
public class Task im... |
package au.gov.ga.geodesy.support.mapper.dozer.populator;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.dozer.event.DozerEvent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import au.gov.ga.geodesy.support.utils.GMLGeoTools;
import au.gov.ga.geodesy.... |
package org.lenskit.data.dao.file;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ObjectReader;
import com.google.common.collect.Lists;
import it.unimi.dsi.fastutil.longs.LongSet;
import org.hamcrest.Matcher;
import org.hamcrest.... |
package ca.corefacility.bioinformatics.irida.ria.web.files;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
im... |
package ca.corefacility.bioinformatics.irida.ria.web.models.tables;
import java.util.List;
import java.util.stream.Collectors;
import org.springframework.data.domain.Sort;
public class AntTableRequest {
private AntPagination pagination;
private List<AntSort> order;
public Sort getSort() {
if (order ... |
package tars.commons.core;
/**
* Container for user visible messages.
*/
public class Messages {
public static final String MESSAGE_UNKNOWN_COMMAND = "Unknown command";
public static final String MESSAGE_INVALID_COMMAND_FORMAT = "Invalid command format! \n%1$s";
public static final String MESSAGE_INVALID_... |
package com.almightyalpaca.discord.jdabutler.commands.commands;
import com.almightyalpaca.discord.jdabutler.Bot;
import com.almightyalpaca.discord.jdabutler.EmbedUtil;
import com.almightyalpaca.discord.jdabutler.commands.Command;
import com.kantenkugel.discordbot.versioncheck.VersionCheckerRegistry;
import com.kantenku... |
package com.clevergang.dbtests.repository.impl.jdbctemplate;
import com.clevergang.dbtests.repository.api.DataRepository;
import com.clevergang.dbtests.repository.api.data.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewor... |
package water.api;
import hex.DGLM.CaseMode;
import hex.DGLM.Family;
import hex.DGLM.GLMModel;
import hex.DGLM.Link;
import hex.KMeans.KMeansModel;
import hex.rf.Confusion;
import hex.rf.RFModel;
import java.io.File;
import java.util.*;
import water.*;
import water.ValueArray.Column;
import water.util.*;
import com.goo... |
package xjon.jum.proxy;
import xjon.jum.init.UselessBlocks;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraftforge.oredict.OreDictionary;
public class CommonProxy {
public void registerRenders()
{
}
private void addOreDictionary() {
OreDictionary.registerOre("oreUseless", Use... |
package com.skelril.skree.content.zone.group.shnugglesprime;
import net.minecraft.entity.monster.EntityZombie;
import org.spongepowered.api.entity.Entity;
import org.spongepowered.api.entity.living.monster.Giant;
import org.spongepowered.api.entity.living.monster.Zombie;
import org.spongepowered.api.entity.living.playe... |
package eu.socialsensor.framework.client.search.solr;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.log4j.Logger;
import org.apache.solr.client.solrj.SolrQuery;
impor... |
package org._3pq.jgrapht.alg;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org._3pq.jgrapht.Graph;
import org._3pq.jgrapht.event.ConnectedComponentTraversalEvent;
import org._3pq.jgrapht.event.GraphEdgeChangeEve... |
package org.anddev.andengine.util.pool;
import java.util.Collections;
import java.util.Stack;
import org.anddev.andengine.util.Debug;
/**
* @author Valentin Milea
* @author Nicolas Gramlich
*
* @since 22:19:55 - 31.08.2010
* @param <T>
*/
public abstract class GenericPool<T> {
// Constants
// Fields
p... |
package org.apache.bsf.engines.jython;
import java.io.ByteArrayInputStream;
import java.util.Vector;
import org.python.util.*;
import org.python.core.*;
import org.apache.bsf.*;
import org.apache.bsf.util.BSFEngineImpl;
import org.apache.bsf.util.BSFFunctions;
public class JythonEngine extends BSFEngineImpl {
BSFPyth... |
package org.spongepowered.common.mixin.core.entity.effect;
import com.flowpowered.math.vector.Vector3i;
import com.google.common.collect.Lists;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.BlockPo... |
package org.apache.xerces.impl.xs.models;
import org.apache.xerces.xni.QName;
import org.apache.xerces.impl.dtd.models.CMNode;
import org.apache.xerces.impl.xs.SchemaSymbols;
import org.apache.xerces.impl.xs.XSDeclarationPool;
import org.apache.xerces.impl.xs.XSComplexTypeDecl;
import org.apache.xerces.impl.xs.XSPartic... |
package org.appwork.storage.simplejson;
/**
* @author thomas
*/
public class JSonFactory {
public static boolean DEBUG = false;
private int global = 0;
private char c;
private final String str;
final StringBuilder sb;
private final StringBui... |
package org.caleydo.view.bicluster.physics;
import java.awt.geom.Rectangle2D;
import org.caleydo.view.bicluster.util.Vec2d;
/**
* @author Samuel Gratzl
*
*/
public class Physics {
public static Vec2d distance(Rectangle2D a, Rectangle2D b) {
// return circleDistance(a, b);
return aabbDistance(a, b... |
package org.concord.data.state;
import java.awt.CardLayout;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.Box;
import javax.swing.BoxLayout;
import ... |
package org.concord.sensor.serial;
/**
* @author scott
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class ByteBufferStream
{
byte [] inBuf;
int offset;
int endOffset;
boolean lowNibble = false;
public... |
package org.exist.xmldb.test;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import junit.framework.TestCase;
impo... |
package org.exist.xslt;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.sax.SAXTransformerFactory;
import org.apache.log4j.Logger;
import org.exist.storage.DBBroker;
/**
* Allows the TransformerFactory that is used for XSLT to be
* chosen through configuration settings in conf.xml
*
* With... |
package org.wyona.yanel.impl.resources.login;
import org.wyona.yanel.core.Resource;
import org.wyona.yanel.core.api.attributes.ViewableV2;
import org.wyona.yanel.core.attributes.viewable.View;
import org.wyona.yanel.core.attributes.viewable.ViewDescriptor;
import org.wyona.yanel.servlet.YanelServlet;
import org.apache.... |
/*
* $Id: LockssRepositoryImpl.java,v 1.44 2004-01-10 00:53:36 eaalto Exp $
*/
package org.lockss.repository;
import java.io.*;
import java.net.*;
import java.util.*;
import java.net.MalformedURLException;
import org.lockss.app.*;
import org.lockss.daemon.*;
import org.lockss.plugin.*;
import org.lockss.util.*;
impor... |
package org.lwjgl.opengl.swt;
import java.nio.IntBuffer;
import java.util.HashSet;
import java.util.Set;
import org.eclipse.swt.SWT;
import org.eclipse.swt.SWTException;
import org.eclipse.swt.widgets.Canvas;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.... |
package collections1;
import static kiss.API.*;
import java.util.HashSet;
import java.util.Set;
import java.util.TreeSet;
public class Collections1 {
void testProgram(){
int x = 0;
assert x == 0;
}
void testHashSet() {
// Showing that sets don't restore another value if there is a eq... |
package org.ojalgo.matrix.decomposition;
import java.math.BigDecimal;
import org.ojalgo.access.Access2D;
import org.ojalgo.access.Structure2D;
import org.ojalgo.array.Array1D;
import org.ojalgo.array.BasicArray;
import org.ojalgo.matrix.MatrixUtils;
import org.ojalgo.matrix.store.MatrixStore;
import org.ojalgo.scalar.C... |
package org.opencms.importexport;
import org.opencms.file.CmsFile;
import org.opencms.file.CmsFolder;
import org.opencms.file.CmsObject;
import org.opencms.file.CmsProperty;
import org.opencms.file.CmsPropertydefinition;
import org.opencms.file.CmsResource;
import org.opencms.file.CmsResourceFilter;
import org.opencms.... |
package org.opencms.ui.apps.user;
import org.opencms.db.CmsUserSettings;
import org.opencms.file.CmsGroup;
import org.opencms.file.CmsObject;
import org.opencms.file.CmsProject;
import org.opencms.file.CmsResource;
import org.opencms.file.CmsUser;
import org.opencms.main.CmsException;
import org.opencms.main.CmsIllegal... |
package org.owasp.esapi.reference;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.text.DateFormat;
import java.util.Arrays;
import java.util.Date;
import java.util.Enumeration;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
imp... |
package org.jamocha.parser;
import java.util.Collection;
import java.util.Iterator;
import org.jamocha.rete.BoundParam;
import org.jamocha.rete.Fact;
import org.jamocha.rete.Slot;
public class JamochaValue {
public static final JamochaValue NIL = new JamochaValue(JamochaType.NIL,
null);
public stati... |
package org.pentaho.di.repository;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFact... |
package org.pentaho.di.trans.steps.addxml;
import org.pentaho.di.core.row.ValueMeta;
/**
* Describes a single field in an XML output file
*
* @author Matt
* @since 14-jan-2006
*
*/
public class XMLField implements Cloneable
{
private String fieldName;
private String elementName;
private int type... |
package org.stagemonitor.logging;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.stagemonitor.core.metrics.metrics2.MetricName.name;
import java.util.Map;
import com.codahale.metrics.Meter;
import com.codahale.metrics.SharedMetricRegistries;
import org.junit... |
package org.subethamail.core.injector;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.security.GeneralSecurityException;
import java.util.ArrayList;
import java.util.Dat... |
package stroom.data.retention.shared;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
@JsonInclude(Include.NON_NULL)
publ... |
package org.jboss.as.subsystem.test;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.DEFAULT_INTERFACE;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.HOST;
import static org.jbos... |
package io.takari.maven.plugins.compile.jdt;
import static org.apache.maven.plugin.testing.resources.TestResources.cp;
import static org.apache.maven.plugin.testing.resources.TestResources.rm;
import static org.apache.maven.plugin.testing.resources.TestResources.touch;
import io.takari.maven.plugins.compile.CompileRule... |
package com.ysu.zyw.tc.components.rpc.httpx;
import com.google.common.collect.Maps;
import com.ysu.zyw.tc.base.constant.TcConstant;
import com.ysu.zyw.tc.base.ex.TcException;
import com.ysu.zyw.tc.base.utils.TcDateUtils;
import lombok.Getter;
import lombok.Setter;
import lombok.SneakyThrows;
import lombok.extern.slf4j.... |
package pitt.search.semanticvectors;
import java.lang.IllegalArgumentException;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Enumeration;
import pitt.search.semanticvectors.LuceneUtils;
import pitt.search.semanticvectors.VectorSearcher;
import pitt.search.semanticvectors.VectorStore;
import... |
package fr.adrienbrault.idea.symfony2plugin.tests.config.yaml;
import com.intellij.psi.PsiElement;
import fr.adrienbrault.idea.symfony2plugin.config.yaml.YamlElementPatternHelper;
import fr.adrienbrault.idea.symfony2plugin.tests.SymfonyLightCodeInsightFixtureTestCase;
import org.jetbrains.annotations.NotNull;
import or... |
package com.scispike.ws;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import org.junit.Assert;
import org.junit.Test;
import com.scispike.callback.Callback;
import com.scispike.callback.Event;
import com.scispike.callback.EventEmitter;
import com.scispike.test.Util;
public class Soc... |
package guitests;
import static org.junit.Assert.assertTrue;
import static seedu.geekeep.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import org.junit.Test;
import guitests.guihandles.PersonCardHandle;
import seedu.geekeep.commons.core.Messages;
import seedu.geekeep.logic.commands.UpdateCommand;
import seedu.g... |
package com.twu.biblioteca;
import org.junit.Test;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import static org.junit.Assert.assertEquals;
public class BibliotecaAppTest
{
private final ByteArrayOutputStream outContent = new ByteArrayOutputStream();
@T... |
package integration;
import com.codeborne.selenide.Configuration;
import com.codeborne.selenide.SelenideElement;
import com.codeborne.selenide.impl.ScreenShotLaboratory;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreen... |
package io.pivio;
import org.apache.commons.cli.*;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import java.nio.file.Paths;
import static org.assertj.core.api.Assertions.*;
public class ConfigurationTest {
private Configuration configuration;
@Before
public void setUp() throws... |
package org.storage;
import static org.junit.Assert.*;
import java.util.*;
import org.dml.storage.Level2.*;
import org.dml.storage.berkeleydb.generics.*;
import org.dml.storage.commons.*;
import org.junit.*;
import org.q.*;
import org.toolza.Timer;
public class TestSetOfNodes
extends BaseTest_for_Storage
{
... |
package org.takes.http;
import com.google.common.base.Joiner;
import com.jcabi.http.request.JdkRequest;
import com.jcabi.http.response.RestResponse;
import com.jcabi.matchers.RegexMatchers;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;... |
package com.matthewtamlin.spyglass.library.util;
import com.matthewtamlin.spyglass.library.default_adapters.DefaultAdapter;
import com.matthewtamlin.spyglass.library.handler_adapters.HandlerAdapter;
import com.matthewtamlin.spyglass.library.meta_annotations.Default;
import com.matthewtamlin.spyglass.library.meta_annota... |
package GuiElements;
import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JTextArea;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.awt.Dimension;
import javax.swing.JTextPane;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.border.LineBorder;
import ... |
package nammari.network.ui;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.LoaderManager.LoaderCallbacks;
import android.support.v4.content.Loader;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager... |
package com.novoda.downloadmanager;
import org.junit.Before;
import org.junit.Test;
import static org.mockito.BDDMockito.given;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
public class LiteBatchFileBuilderTest {
private static final String ANY_NETWORK_ADDRESS = "http://ak.asset... |
package com.litesalt.batch.entity;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.alibaba.fastjson.JSONObject;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
import redis.clients... |
package java.lang;
public final class String implements Comparable<String> {
private Object data;
private int offset;
private int length;
private int hash;
public String(char[] data, int offset, int length, boolean copy) {
this((Object) data, offset, length, copy);
}
public String(char[] data, int off... |
package com.codahale.metrics;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicLong;
public class InstrumentedThreadFactory implements ThreadFactory
{
private static final AtomicLong nameCounter = new AtomicLong();
private final ThreadFactory factory;
final Counter created;
fi... |
package org.apache.geronimo.common.net.protocol;
import java.net.URL;
import java.net.URLStreamHandler;
import java.util.List;
import java.util.LinkedList;
import java.util.Iterator;
import java.util.StringTokenizer;
import java.util.Map;
import java.lang.reflect.Field;
import java.security.AccessController;
import jav... |
package com.haulmont.cuba.desktop.gui.components;
import com.haulmont.cuba.desktop.gui.data.TableModelAdapter;
import com.haulmont.cuba.desktop.sys.vcl.JXTableExt;
import com.haulmont.cuba.gui.data.CollectionDatasource;
import org.apache.commons.lang.ObjectUtils;
import org.jdesktop.swingx.JXTable;
import javax.swing.e... |
package name.abuchen.portfolio.ui.util;
import java.util.Collections;
import java.util.List;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
import name.abuchen.portfolio.model.Bookmark;
import name.abuchen.portfolio.model.Client;
import name.abuchen.portfolio.model.ClientSetting... |
package org.jill.game.level;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.jill.game.gui.menu.ClassicMenu;
import org.jill.game.gui.menu.MenuInterface;
import org.jill.game.level.cfg.L... |
package org.opennms.netmgt.syslogd;
import static org.junit.Assert.assertEquals;
import static org.opennms.core.utils.InetAddressUtils.addr;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.UndeclaredThrowableException;
import java.net.BindException;
import java.net.DatagramPacket;
impor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.