answer
stringlengths
17
10.2M
package org.pentaho.di.trans.steps.delete; import java.sql.SQLException; import org.pentaho.di.core.Const; import org.pentaho.di.core.database.Database; import org.pentaho.di.core.database.DatabaseMeta; import org.pentaho.di.core.exception.KettleDatabaseException; import org.pentaho.di.core.exception.KettleException; i...
package io.spine.server.bus; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.CheckReturnValue; import com.google.protobuf.Message; import io.grpc.stub.StreamObserver; import io.spine.core.Ack; import io.spine.core.MessageEnvelope; import io.spine.core.Rejection; i...
package org.appspot.apprtc; import android.app.Activity; import android.content.SharedPreferences; import android.content.SharedPreferences.OnSharedPreferenceChangeListener; import android.os.Bundle; import android.preference.ListPreference; import android.preference.Preference; import org.webrtc.Camera2Enumerator; imp...
package org.wikipedia.edit; import android.content.Intent; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import androidx.annotation.Nullable; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.widget.PopupMenu; import com.google.gson.JsonObject; import org.wiki...
package city.restaurant.eric; import agent.Role; import city.Place; import city.interfaces.Person; import city.restaurant.eric.interfaces.*; import city.restaurant.eric.gui.EricWaiterGui; import java.util.ArrayList; import java.util.ConcurrentModificationException; import java.util.List; import java.util.concurrent.Sem...
package com.intellij.ide; import com.intellij.Patches; import com.intellij.ide.ui.UISettings; import com.intellij.openapi.Disposable; import com.intellij.openapi.actionSystem.DataConstants; import com.intellij.openapi.actionSystem.DataContext; import com.intellij.openapi.actionSystem.ex.DataConstantsEx; import com.inte...
package go.graphics.swing.opengl; import go.graphics.GLDrawContext; import go.graphics.swing.text.JOGLTextDrawer; import go.graphics.text.EFontSize; import go.graphics.text.TextDrawer; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer; import java.nio.ShortBuffer; import java.util.Array...
package com.thoughtworks.xstream.converters; /** * To aid debugging, some components expose themselves as ErrorReporter * indicating that they can add information in case of an error.. * * @author Joerg Schaible * * @since upcoming */ public interface ErrorReporter { /** * Append context information to ...
package com.xpn.xwiki.plugin.packaging; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.StringReader; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.uti...
package org.yamcs.parameter; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java...
package webit.script.util; import java.math.BigDecimal; import java.math.BigInteger; import webit.script.Context; import webit.script.exceptions.ScriptRuntimeException; /** * * @author Zqq */ public class ALU { private static final int NULL = 0; private static final int OBJECT = 1; private static final i...
package org.zanata.common; import java.io.Serializable; public class TranslationStats implements Serializable { private static final long serialVersionUID = 1L; private TransUnitCount unitCount; private TransUnitWords wordCount; public TranslationStats() { this(new TransUnitCount(), new TransUnitWo...
package lombok.ast.printer; import static lombok.ast.printer.SourceFormatter.FAIL; import lombok.ast.AlternateConstructorInvocation; import lombok.ast.Annotation; import lombok.ast.AnnotationDeclaration; import lombok.ast.AnnotationElement; import lombok.ast.AnnotationMethodDeclaration; import lombok.ast.ArrayAccess; i...
package org.jasig.portal.car; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.security.AccessController; import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; import java.security.SecureClassLoader; import java.util.StringTokenizer; impo...
package retail; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.SQLException; import java.util.ArrayList; import javax.swing.*; import database_comm.UserDatabase; import login.SecurityHelper; import login.User; public class AddUserFrame extends JFrame { pr...
/** * University of British Columbia ("UBC") will freely share software * registered in the JA-SIG Clearing House with institutions of * higher-education for their non-profit use. The borrowing institution * will not share or distribute the software without the consent of * UBC. By its use, the borrowing institu...
// Depot library - a Java relational persistence library // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should...
package com.mygdx.game; import com.badlogic.gdx.graphics.Texture; public abstract class Habilidad { private String id; private String nombre; private int tiempo; private String tipo; private int disponibilidad; private String textura; private String animacion; private int indice; pr...
package org.jfree.chart.axis; import java.util.List; import org.jfree.chart.util.ParamChecks; import org.jfree.ui.RectangleEdge; /** * A collection of axes that have been assigned to the TOP, BOTTOM, LEFT or * RIGHT of a chart. This class is used internally by JFreeChart, you won't * normally need to use it yoursel...
package org.jfree.data.xy; /** * An extension of the {@link XYDataset} interface that allows an x-interval * and a y-interval to be defined. Note that the x and y values defined * by the parent interface are NOT required to fall within these intervals. * This interface is used to support (among other things) bar p...
package org.apache.commons.lang; import java.io.File; /** * <p>Helpers for <code>java.lang.System</code>.</p> * * <p>If a system property cannot be read due to security restrictions, * the corresponding field in this class will be set to <code>null</code> * and a message will be written to <code>System.err</code>....
package org.ojalgo.matrix.decomposition; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.ojalgo.TestUtils; import org.ojalgo.array.Array1D; import org.ojalgo.function.PrimitiveFunction; import org.ojalgo.matrix.store.MatrixStore; import org.ojalgo.matrix.store.PhysicalStore; impor...
import java.util.*; /** * Send your busters out into the fog to trap ghosts and bring them home! * */ class Player { static int ghostCount, myTeamId, bustersPerPlayer; static HashMap<Integer, Ghost> ghosts = new HashMap<>(); static HashMap<Integer, Buster> busters = new HashMap<>(); static HashMap<In...
package org.concord.otrunk.datamodel; import java.util.ArrayList; import java.util.HashMap; import java.util.Map.Entry; import java.util.logging.Logger; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.concord.framework.otrunk.OTID; import org.concord.framework.otrunk.OTXMLString; import org.c...
package org.orbeon.oxf.xml.dom4j; import org.dom4j.*; import org.dom4j.io.DocumentSource; import org.dom4j.io.OutputFormat; import org.dom4j.io.SAXReader; import org.dom4j.io.XMLWriter; import org.orbeon.oxf.common.OXFException; import org.orbeon.oxf.processor.generator.DOMGenerator; import org.orbeon.oxf.xml.Namespace...
package scenariorunner; import org.openqa.selenium.WebDriver; import command.Command; public class ScenarioRunnerSyntaxCheck extends ScenarioRunnerProto { public ScenarioRunnerSyntaxCheck(String name) { super(name); } @Override public WebDriver execute_sentence(String sentence, WebDriver driver)...
package se.chalmers.watchme.ui; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.CacheRequest; import java.net.CacheResponse; import java.net.MalformedURLException; import java.net.R...
package lukazitnik.jshint; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.swing.event.UndoableEditEvent; import javax.swing.event.UndoableEditListener; import javax.swing.text.JTextComponent; imp...
package st.alr.mqttitude.services; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.UUID; import st.alr.mqttitude.App; import st.alr.mqttitude.db.Waypoint; import st.alr.mqttitude.db.WaypointDao; import st.alr.mqttitude.db.WaypointDao.Properties; import st.alr.mqttitude.model.G...
import java.io.File; import java.io.FileNotFoundException; import org.w3c.dom.Node; import com.sun.star.beans.Property; import com.sun.star.beans.PropertyValue; import com.sun.star.document.MacroExecMode; import com.sun.star.document.UpdateDocMode; import com.sun.star.document.XDocumentInfoSupplier; import com.sun.star...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package magpie.data.materials; import java.io.BufferedReader; import java.io.LineNumberReader; import java.io.FileReader; import java.io.IOException; import java.nio.charset.Charset; import java.nio.file.*; import java.u...
package cn.momia.mapi.api.v1; import cn.momia.mapi.common.config.Configuration; import cn.momia.mapi.common.http.MomiaHttpParamBuilder; import cn.momia.mapi.common.http.MomiaHttpRequest; import cn.momia.mapi.common.http.MomiaHttpResponseCollector; import cn.momia.mapi.web.response.ResponseMessage; import com.alibaba.fa...
package main.java.com.YeAJG.fx.particle; import java.util.ArrayList; import org.lwjgl.util.Color; import org.lwjgl.util.vector.Vector3f; /** * * @author Richard Coan */ public class Particle extends AParticle { /** * @param location * @param size * @param scale * @param rotation * @param...
package com.axelby.podax; import android.content.Context; import android.content.SharedPreferences; import android.media.AudioManager; import android.preference.PreferenceManager; import android.util.Log; import android.widget.Toast; import com.axelby.podax.player.AudioPlayer; import java.util.ArrayList; public class P...
/** * Created Aug 13, 2008 */ package com.crawljax.forms; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.xml.xpath.XPathExpressionException; import org.apache.log4j.Logger; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import com.crawljax....
package com.danielflower.apprunner; import com.danielflower.apprunner.mgmt.AppManager; import com.danielflower.apprunner.mgmt.FileBasedGitRepoLoader; import com.danielflower.apprunner.mgmt.GitRepoLoader; import com.danielflower.apprunner.problems.InvalidConfigException; import com.danielflower.apprunner.web.ProxyMap; i...
package com.derniereligne.engine; import com.derniereligne.engine.board.Board; import com.derniereligne.engine.board.Square; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; public class Match { /** * The list of players in this mat...
package com.braintreepayments.api; import android.annotation.TargetApi; import android.app.Activity; import android.app.Fragment; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.os.Build.VERSION_CODES; import android.os.Bundle; import android.os.Parcelab...
package org.commcare.suite.model.graph; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.Enumeration; import java.util.Hashtable; import java.util.Vector; import org.commcare.suite.model.DetailTemplate; import org.commcare.suite.model.Text; import org.javaros...
package main.demo.gui; import gx.realtime.CollaborativeMap; import gx.realtime.Document; import gx.realtime.EventType; import gx.realtime.ValueChangedEvent; import javax.swing.*; import javax.swing.event.ListSelectionEvent; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.W...
package io.spine.base; import com.google.common.base.Objects; /** * A type of environment. * * <p>Some examples may be {@code STAGING} or {@code LOCAL} environments. * * @implNote developers are encouraged to make their environment types singletons, such * that their API is consistent with the env types p...
package com.braintreepayments.cardform.view; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Build.VERSION_CODES; import android.text.Editable; import android.text.TextWatcher; import android.util.AttributeSet; import and...
package com.epictodo.engine; import com.epictodo.engine.WorkDistributor.CommandType; import com.epictodo.model.Task; import com.epictodo.util.TaskBuilder; import java.util.ArrayList; import java.util.Scanner; import java.util.logging.Logger; public class MenuWorker { private final static String MENU_SELECT_UPDATE_O...
package net.fortuna.ical4j.model.component; import java.util.Iterator; import net.fortuna.ical4j.model.Component; import net.fortuna.ical4j.model.ComponentList; import net.fortuna.ical4j.model.Date; import net.fortuna.ical4j.model.DateList; import net.fortuna.ical4j.model.DateTime; import net.fortuna.ical4j.model.Dur; ...
package com.example.poker.service; import java.io.Serializable; import java.util.Objects; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; @XmlAccessorType(XmlAccessType.NONE)...
package com.plivo.api; import com.plivo.api.models.brand.BrandUsecase; import org.junit.Before; import org.junit.Test; public class BrandUsecaseTest extends BaseTest { private PlivoClient client; @Before public void setUp() throws Exception { super.setUp(); client = new PlivoClient("MA123456789012345678",...
package mm.da; import java.sql.Connection; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; import javax.enterprise.event.Observes; import java.sql.Statement; imp...
package model; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Random; public class BetAdvisor { public static Bet calculateBetterBet(Player player, List<Bet> unavailableBets, int sumOfAvaila...
package edu.hm.hafner; import javax.xml.parsers.SAXParser; import org.apache.commons.digester3.Digester; import org.apache.commons.digester3.binder.DigesterLoader; import org.xml.sax.XMLReader; import com.tngtech.archunit.base.DescribedPredicate; import com.tngtech.archunit.core.domain.JavaCall; import com.tngtech.arch...
package com.xpn.xwiki.util; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.io.StreamTokenizer; import java.io.StringReader; import java.net.URLDecoder; import java.net.URLEncoder; import java....
package com.faforever.client.i18n; import com.faforever.client.preferences.PreferencesService; import com.google.common.base.Strings; import javafx.beans.property.ReadOnlySetWrapper; import javafx.collections.FXCollections; import javafx.collections.ObservableSet; import org.springframework.beans.factory.InitializingBe...
package model; import java.util.Iterator; import java.util.List; import javafx.beans.property.BooleanProperty; import javafx.beans.property.IntegerProperty; import javafx.beans.property.SimpleBooleanProperty; import javafx.beans.property.SimpleIntegerProperty; import javafx.beans.property.SimpleStringProperty; import j...
package org.apache.batik.bridge; import java.awt.AlphaComposite; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Component; import java.awt.Composite; import java.awt.Font; import java.awt.FontMetrics; import java.awt.GradientPaint; import java.awt.Graphics; import java.awt.Graphics2D; import java.a...
package com.fishercoder.solutions; import com.fishercoder.common.classes.TreeLinkNode; import java.util.LinkedList; import java.util.Queue; public class _116 { public static class Solution1 { public void connect(TreeLinkNode root) { TreeLinkNode head = null; //head of the next level ...
package model; import java.io.IOException; import java.lang.ref.WeakReference; import java.text.SimpleDateFormat; import java.time.LocalDateTime; import java.time.ZoneId; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.stream.Collectors; import jav...
package no.birkett.kiwi; import org.junit.Test; import java.util.*; import static org.junit.Assert.assertEquals; import org.junit.Test; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import static org.junit.Assert.assertEquals; public class RealWorldTests { private static double EPSILON ...
package com.fishercoder.solutions; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Queue; /** * 126. Word Ladder II Given two words (beginWord and endWord), and a dictionary's word list, find...
package de.bitbrain.braingdx; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.InputMultiplexer; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.g2d.Batch; import com....
package org.htmlcleaner; import junit.framework.TestCase; import java.io.IOException; import java.io.File; /** * Testing node manipulation after cleaning. */ public class PropertiesTest extends TestCase { public void testPropertiesAdvancedXmlEscape() throws Exception { HtmlCleaner cleaner = new HtmlCleane...
package com.fishercoder.solutions; public class _198 { public static class Solution1 { public int rob(int[] nums) { if (nums == null || nums.length == 0) { return 0; } if (nums.length == 1) { return nums[0]; } if (nu...
package org.bridje.vfs; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * A glob syntax expression for file search. */ public class GlobExpr { private final String glob; private final Pattern pattern; /** * Default constructor for the GlobExpr object. * * @param glob THe...
package org.luaj.debug.j2se; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.net.URL; import java.util.Properties; import junit.framework.TestCase; import org.luaj.debug.DebugLuaState; import org.luaj.debug.j2se.StandardLuaJVM.ParseException; ...
package com.fishercoder.solutions; import com.fishercoder.common.classes.TreeNode; import java.util.LinkedList; import java.util.Queue; /**226. Invert Binary Tree Invert a binary tree. 4 / \ 2 7 / \ / \ 1 3 6 9 to 4 / \ 7 2 / \ / \ 9 6 3 1 Trivia: This problem was inspired ...
package net.kirauks.minigames.brickbreaker; import java.net.URISyntaxException; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Random; import java.util.logging.Logger; import javafx.geometry.Insets; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene...
package com.fishercoder.solutions; import com.fishercoder.common.classes.NestedInteger; import java.util.List; public class _339 { public static class Solution1 { private int sum = 0; public int depthSum(List<NestedInteger> nestedList) { return dfs(nestedList, 1); } private int dfs(List<NestedIn...
package com.fishercoder.solutions; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class _368 { public static class Solution1 { public List<Integer> largestDivisibleSubset(int[] nums) { int len = nums.length; int[] count = new int[len]; ...
package org.jaexcel.framework.JAEX.engine; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.math.BigDecimal; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import java.util.Date; import org.apache.commons.lang3.StringUti...
package com.fishercoder.solutions; import java.util.Deque; import java.util.LinkedList; import java.util.List; public class _542 { public static class Solution1 { public List<List<Integer>> updateMatrix(List<List<Integer>> matrix) { int m = matrix.size(); int n = matrix.get(0).size()...
package dbtools.sqlupdater; import dbtools.common.utils.DateUtils; import dbtools.common.utils.StrUtils; import java.io.File; import java.io.FilenameFilter; import java.util.*; /** * Hello world! */ public class App { public static void main(String[] args) { System.out.println("Specify the MySQL dumped fi...
package com.fishercoder.solutions; public class _647 { public static class Solution1 { public int countSubstrings(String s) { int count = 0; for (int i = 0; i < s.length(); i++) { count += extendPalindrome(s, i, i);//odd length count += extendPalindrom...
package eu.drus.jpa.unit.sql; public final class Constants { private Constants() {} public static final String KEY_DATA_SOURCE = "eu.drus.jpa.unit.sql.DataSource"; }
package alma.ACS.impl; import java.util.ArrayList; import java.util.regex.Pattern; import org.omg.CORBA.Any; import org.omg.CORBA.NO_IMPLEMENT; import org.omg.CORBA.SystemException; import org.omg.CosPropertyService.PropertySet; import alma.ACS.CharacteristicModelOperations; import alma.ACS.NoSuchCharacteristic; import...
package com.fishercoder.solutions; /** * 925. Long Pressed Name * * Your friend is typing his name into a keyboard. * Sometimes, when typing a character c, the key might get long pressed, * and the character will be typed 1 or more times. * * You examine the typed characters of the keyboard. * Return True if it...
package com.fishercoder.solutions; import java.util.ArrayList; import java.util.List; public class _986 { public static class Solution1 { public int[][] intervalIntersection(int[][] firstList, int[][] secondList) { int i = 0; int j = 0; List<int[]> list = new ArrayList<>(...
package com.github.enanomapper; import java.io.File; import java.io.FileReader; import java.io.FilenameFilter; import java.io.InputStream; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Properties; import java.util.Set; import org.semanticweb.owl...
package soot.dexpler; import java.io.File; import java.util.Collections; import java.util.HashSet; import java.util.Set; import org.jf.dexlib2.DexFileFactory; import org.jf.dexlib2.dexbacked.DexBackedDexFile; import org.jf.dexlib2.iface.ClassDef; import org.jf.dexlib2.iface.DexFile; import soot.ArrayType; import soot.P...
package org.xcri.core.presentation; import org.jdom.Element; import org.junit.Test; import org.xcri.exceptions.InvalidElementException; import org.xcri.presentation.LanguageOfInstruction; public class LanguageTest { @Test(expected=InvalidElementException.class) public void invalidLanguage() throws InvalidElemen...
package com.nerodesk.om.aws; import com.amazonaws.services.s3.model.CopyObjectRequest; import com.amazonaws.services.s3.model.ObjectMetadata; import com.google.common.base.Joiner; import com.google.common.collect.Sets; import com.jcabi.immutable.ArrayMap; import com.jcabi.s3.Bucket; import com.jcabi.s3.Ocket; import co...
package server; import graphrep.GraphRep; import graphrep.GraphRepDumpReader; import graphrep.GraphRepTextReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InvalidClassException; import java.util.ArrayList; import java.util.Collectio...
package com.ninty.nativee.lang; import com.ninty.nativee.INativeMethod; import com.ninty.nativee.NaMethodManager; import com.ninty.runtime.LocalVars; import com.ninty.runtime.NiFrame; import com.ninty.runtime.NiThread; import com.ninty.runtime.Slot; import com.ninty.runtime.heap.*; import com.ninty.utils.VMUtils; impor...
package com.romainpiel.lib.ui.fragment; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Parcelable; import android.support.v4.app.Fragment; import android.text...
package com.ociweb.gl.api; import java.io.File; import java.io.IOException; import java.lang.reflect.Field; import java.net.URL; import java.util.ArrayList; import java.util.Enumeration; import java.util.concurrent.TimeUnit; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.ociweb.gl.impl.BuilderImpl;...
package ch.openech.mj.edit.fields; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import ch.openech.mj.db.model.Constants; import ch.openech.mj.toolkit.IComponentDelegate; import ch.openech.mj.util.StringUtils; public abstract class AbstractEditField<T> implements IComponentDelegate, Edi...
package com.racoon.ampdroid; import java.io.IOException; import java.util.ArrayList; import com.racoon.ampache.Song; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.ContentResolver; import android.content.Conte...
package com.ociweb.iot.astropi; import com.ociweb.iot.maker.FogCommandChannel; import com.ociweb.iot.maker.I2CListener; import com.ociweb.pronghorn.iot.schema.I2CCommandSchema; import com.ociweb.pronghorn.pipe.DataOutputBlobWriter; /** * * @author huydo */ //public class AstroPi implements I2CListener { public c...
package com.orbekk.protobuf; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.IOException; import java.net.Socket; import java.net.UnknownHostException; import java.util.LinkedList; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; import j...
package com.afforess.assembly; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; impor...
package com.tinkerrocks.storage; import com.tinkerrocks.structure.RocksEdge; import com.tinkerrocks.structure.RocksElement; import com.tinkerrocks.structure.RocksGraph; import com.tinkerrocks.structure.Utils; import org.apache.tinkerpop.gremlin.structure.Direction; import org.apache.tinkerpop.gremlin.structure.Edge; im...
package com.vdurmont.emoji; /** * Enum that represents the Fitzpatrick modifiers supported by the emojis. */ public enum Fitzpatrick { /** * Fitzpatrick modifier of type 1/2 (pale white/white) */ TYPE_1_2("\uD83C\uDFFB"), /** * Fitzpatrick modifier of type 3 (cream white) */ TYPE_3...
package com.facebook.react.common; /** * Lifecycle state for an Activity. The state right after pause and right before resume are the * basically the same so this enum is in terms of the forward lifecycle progression (onResume, etc). * * <p>BEFORE_CREATE is used before a ReactRootView is attached to ReactInstanceMa...
package com.wesabe.servlet; import java.util.Collections; import java.util.Enumeration; import java.util.List; import java.util.Map; import java.util.Map.Entry; import javax.servlet.RequestDispatcher; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRe...
package de.braintags.netrelay; import java.util.List; import de.braintags.io.vertx.pojomapper.IDataStore; import de.braintags.io.vertx.pojomapper.init.IDataStoreInit; import de.braintags.io.vertx.pojomapper.mapping.IMapperFactory; import de.braintags.io.vertx.pojomapper.mongo.init.MongoDataStoreInit; import de.braintag...
package edu.jhu.data; import java.util.ArrayList; import java.util.List; import edu.jhu.data.conll.SrlGraph; import edu.jhu.parse.cky.BinaryTree; import edu.jhu.parse.cky.NaryTree; /** * Representation of a single sentence with many annotations. * @author mgormley */ public class AnnotatedSentence { /* * TO...
package eloquent.adapters; import eloquent.models.File; import eloquent.models.Directory; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.util.Date; import java.io.*; import java.util.List; import eloquent.exceptions.DirectoryAlreadyExistsException; imp...
package fr.novia.zaproxyplugin; import fr.novia.zaproxyplugin.report.ZAPreport; import fr.novia.zaproxyplugin.report.ZAPreportCollection; import hudson.EnvVars; import hudson.Extension; import hudson.FilePath; import hudson.FilePath.FileCallable; import hudson.Launcher; import hudson.model.AbstractDescribableImpl; impo...
package io.tus.java.client; import java.io.IOException; /** * TusExecutor is a wrapper class which you can build around your uploading mechanism and any * exception thrown by it will be caught and may result in a retry. This way you can easily add * retrying functionality to your application with defined delays betw...
package me.michaelkrauty.Kettle; import me.michaelkrauty.Kettle.Objects.Locker; import me.michaelkrauty.Kettle.Objects.User; import me.michaelkrauty.Kettle.command.essential.*; import me.michaelkrauty.Kettle.command.factions.FactionsCommand; import me.michaelkrauty.Kettle.command.kettle.KettleCommand; import me.michael...
package mho.wheels.math; import mho.wheels.misc.Readers; import mho.wheels.ordering.Ordering; import mho.wheels.structures.Pair; import org.jetbrains.annotations.NotNull; import java.math.BigDecimal; import java.math.BigInteger; import java.util.Optional; import static org.junit.Assert.*; /** * <p>The {@code BinaryFra...
package mkremins.fanciful; import java.io.StringWriter; import java.util.ArrayList; import java.util.List; import net.amoebaman.util.Reflection; import org.bukkit.Achievement; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.Statistic; import org.bukkit.Statistic.Type; import org.bukkit.craftb...
/** * <p>Project name is RoomieS<br> * Package name is life.theroomie.mail<br> * File name is IdentifyMail.java<br> * * @author YeonGyu Yang * @since Mar 16, 2016 */ package com.faveroomies.mail; import java.util.Locale; import javax.mail.internet.MimeMessage; import org.slf4j.Logger; import org.slf4j.LoggerFact...