text
stringlengths
10
2.72M
/* * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
package com.bon.wx.domain.vo; import io.swagger.annotations.ApiModelProperty; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; /** * @program: 后台 * * @description: 菜单视图类 * * @author: Bon * * @create: 2018-06-03 17:24 **/ public class MenuVO impl...
package ru.mcfr.oxygen.framework.extensions; import ro.sync.ecss.extensions.api.AuthorAccess; import ro.sync.ecss.extensions.api.node.AuthorElement; import ro.sync.ecss.extensions.api.node.AuthorNode; import ro.sync.ecss.extensions.api.structure.AuthorOutlineCustomizer; import ro.sync.ecss.extensions.api.structure.Ren...
package revolt.backend.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import revolt.backend.entity.RTA; @Repository public interface RTARepository extends JpaRepository<RTA, Long> { // List<RTA> findAllByActive(Boolean b); }
package checkPt1.Model; import java.awt.Color; import java.awt.Graphics; import java.io.PrintWriter; import java.util.ArrayList; import javax.swing.JComponent; public class Goal extends Coordinate implements Drawable { ArrayList<CoreObject> occupiedList; boolean trueGoal; Robot robot; public boole...
package com.lucasirc.servercatalog.service; import java.util.Map; public interface ResourceTransformer<T> { public T contentToEntity(String content); public T contentToEntity(long id,String content); public Map entityToMap(T entity); }
package FlowProccessor.config; public class ProcessorConfig { private boolean debugMode; public boolean isDebugMode() { return debugMode; } private void setDebugMode(boolean debugMode) { this.debugMode = debugMode; } public static class ProcessorConfigBuilder { priv...
public class week3qsn3 { public static void main(String[]args) { int n=13; if(n%3==0) if(n%5==0){ System.out.println("it is divisible by both 3and 5"); } else { System.out.println("it is divisible by 3 but not 5"); } ...
/* * This file is a part of VideoLibrary Interface * Copyright © Vyacheslav Krylov (slavone@protonmail.ch) 2021 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
package xtrus.nhvan.mgr.nhmca.vo; public class NhMcaInfo { // primary key private String interfaceId; // fields private String useInbound; private String inboundIfId; private String inboundUseEvent; private String useOutbound; private String outboundServerIp; private int outboundServerPort; private int o...
package sheep.domain; import net.bytebuddy.dynamic.loading.InjectionClassLoader; import javax.persistence.*; import java.time.LocalDate; import java.time.LocalDateTime; import java.util.*; @Entity public class Member { @Id @GeneratedValue @Column(name = "MEMBER_ID") private Long id; @Column(...
package net.tanpeng.arithmetic.arithmetic4.reference; import java.util.ArrayList; import java.util.List; public class SortedBinaryTree<E> { private Node<E> root; // 根节点 private int size; // 二叉树元素个数 /** * 二叉树节点 */ private static class Node<E> { E element; // 节点元素 Node<E> lCh...
package com.blog.utils; /** * 系统常量接口 */ public interface SystemConstants { String SUCCESS = "success"; /** * 评论状态 1-未审核 2-已审核 */ int COMMENT_STATE_OK = 2; int COMMENT_STATE_NO = 1; }
package edu.athens.cs.gradegeneratortest; import android.app.Fragment; import android.app.FragmentManager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class GradeActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { su...
package com.cs.promotion; import com.google.common.base.Joiner; import com.google.common.base.Splitter; import com.google.common.base.Strings; import org.hibernate.HibernateException; import org.hibernate.engine.spi.SessionImplementor; import org.hibernate.usertype.UserType; import org.slf4j.Logger; import org.slf4j.L...
package com.teaboot.context.entity; import java.util.Map; import java.util.Set; import com.teaboot.context.beans.BeansType; public class EntityType{ public EntityType() { } String classMap; Map<String,MethodType> fieldMap; Object obj; BeansType beansType; public String getClassMap() { ret...
package com.davivienda.sara.entitys; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.NamedQueries; import javax.persistence.NamedQuery; import javax.persistence.Table; /** * Zona * Descripción : Zonas de ubicación ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package gui; import java.awt.BorderLayout; import javax.swing.JLabel; import javax.swing.JPanel; /** * * @author Ilham */ public c...
package com.unionfind_data; import java.util.Random; public class Test { @org.junit.Test public void test1() { int size =10000000; int m = 10000000; /*UnionFind_1 u1 = new UnionFind_1(size); double time1 = testUF(u1, m); System.out.println("UnionFind_1: " +time1+" s"); UnionFind_2 u2 = new UnionFind_...
package com.web.minimalistsremotecontrol; import android.os.Bundle; import android.app.Activity; import android.content.pm.ActivityInfo; import android.graphics.Color; import android.text.InputType; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import a...
package org.w2b.designpatterns.singleton; public class ClassHolderSingleton { private static final ClassHolderSingleton INSTANCE = null; /* Private constructor */ private ClassHolderSingleton() { /* the body of the constructor here */ } /* Access point to the unique instance of the single...
package craps_project; import java.io.IOException; public interface GameState { boolean pointOff() throws IOException; boolean pointOn() throws IOException; }
package com.yf.accountmanager.sqlite; import java.util.List; import java.util.Set; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.yf.accountmanager.common.IConstants; import com.yf.accountmanag...
package com.gxtc.huchuan.ui.mine.classroom.directseedingbackground.livebgsetting; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.EditText; import com.gxtc.commlibrary.base.BaseTitleActivity; import com.gxtc.commlibrary.utils.Even...
package org.systemsbiology.gaggle.cereopsis.core; import org.apache.activemq.spring.ActiveMQConnectionFactory; import org.apache.activemq.command.ActiveMQTextMessage; import org.systemsbiology.gaggle.cereopsis.goose.CereopsisGoose; import org.systemsbiology.gaggle.cereopsis.serialization.CompactNetworkToGaggleNetworkC...
package org.aksw.autosparql.commons.nlp.pos; import static org.junit.Assert.*; import org.junit.Test; public class StanfordPartOfSpeechTaggerTest { @Test public void testStanfordPartOfSpeechTagger() { String s = StanfordPartOfSpeechTagger.INSTANCE.tag("The quick brown fox jumps over the lazy dog."); assertEqua...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.davivienda.sara.reintegros.general.formato; /** * TituloLogGeneral - 24/10/2019 Descripcion : Formato de configuracion de los * reportes ejecucion cargue masivo de timbres Version : 1.0 * * @author juan ...
package com.xiv.gearplanner.controllers.Importers; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectWriter; import com.xiv.gearplanner.exceptions.AriyalaParserException; import com.xiv.gearplanner.exceptions.Unexp...
package com.bistel.listener; import java.io.IOException; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.apache.commons.logging.Log; import org.springframework.core.task.TaskExecutor; import com.bistel.common.WebCache; import com.bistel.util.ObjectConvertorUtils; import com.bistel...
package barryalan.ediary70; /** * Created by Al on 10/30/2017. */ import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.view.View; impor...
package Views.Inventory; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.Point; import java.util.ArrayList; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import Controllers.Inventory.AddInventor...
package hwl4; import java.util.Random; public class GuessTheLetterGame { public static void startGame() { Random rand = new Random(); int letter = 0; int minIndex = 65; int maxIndex = 90; int exitIndex = 48; int ansver; boolean endGame = false; System.out.println("Для выхода из игры введите \"0\"");...
package my-package; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "to", "distance" }) public cla...
package dev.liambloom.softwareEngineering.chapter5; import dev.liambloom.softwareEngineering.Globals; public class $ { public static boolean between (int min, int max, int c) { return min < c && c < max; } public static int mid (int a, int b, int c) { int min = Globals.Math.min(a, b, c); int max = ...
package com.qzdatasoft.comm.dao.util; /** * 类型转变 */ import java.util.Date; public class TypeUtil { public static Object cast(String value, Class propertyType) { String className = convertType(propertyType); return cast(className, value); } private static Object cast(String className, String value) { if...
/* * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.cinema.biz.dao; import java.util.List; import java.util.Map; import com.cinema.biz.model.SimThreshold; import com.cinema.biz.model.base.TSimThreshold; import tk.mybatis.mapper.common.Mapper; import tk.mybatis.mapper.common.MySqlMapper; public interface SimThresholdMapper extends Mapper<TSimThreshold>,...
package itcs4180.otherintents; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.support.v4.app.ActivityCompat; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatA...
import java.io.IOException; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Mapper; public class Map extends Mapper<LongWritable,Text,Text,IntWritable>{ private Text Column1 = new Text("Column1"); private Text Co...
/** * */ package enumerate; import enumerate.Days; /** * @author Aloy * */ public class Working_days { /** * */ public Working_days() { // TODO Auto-generated constructor stub } private static void weekend(Days d) { // TODO Auto-generated method stub if(d.equals(Days.sunday)...
package com.romens.yjkgrab.ui; import android.app.Application; import android.text.TextUtils; import android.util.Log; import com.avos.avoscloud.AVException; import com.avos.avoscloud.AVInstallation; import com.avos.avoscloud.PushService; import com.avos.avoscloud.SaveCallback; import com.romens.yjkgrab.model.Order; ...
package com.fotoable.fotoime.ui; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.graphics.Rect; import android.graphics.drawable.ColorDrawable; import android.net.Uri; import android.os.Bundle; import android.prefere...
package com.yoti.api.client.spi.remote; import static org.junit.Assert.assertEquals; import java.io.UnsupportedEncodingException; import java.text.ParseException; import org.junit.Before; import org.junit.Test; import com.yoti.api.client.Date; public class DateAttributeValueTest { private static final String ...
/* * Created on Mar 2, 2007 * */ package com.citibank.ods.modules.client.customerprvtcmpl.functionality.valueobject; /** * @author bruno.zanetti * */ public class CustomerPrvtCmplMovementListFncVO extends BaseCustomerPrvtCmplListFncVO { private String m_lastUpdUserIdSrc; public static fina...
package utils; import java.io.IOException; import javax.servlet.http.*; import javax.servlet.jsp.PageContext; public class Util { public static int parseIntOr(String str, int value) { if ( !(str == "" || str == null) ) { value = Integer.parseInt(str); } return value; } public static void sendErr(Pag...
package com.txxlc.utils; import java.util.Random; /** *qq登陆时生成随机密码的方法 * */ public class PasswordGenerator { public String passwordGenerator(){ String password=""; char[] en ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".toCharArray(); Random random = new Random(); ...
package com.atlassian.bitbucket.jenkins.internal.client; import com.atlassian.bitbucket.jenkins.internal.model.BitbucketRepository; /** * Repository client, used to interact with a remote repository for all operations except cloning * source code. */ public interface BitbucketRepositoryClient extends BitbucketClie...
package com.carlos.theculinaryapp; public class RecipeItem { private String name; private String imageFile; private String recipeUuid; private String ownerUuid; public String getOwnerUuid() { return ownerUuid; } public void setOwnerUuid(String ownerUuid) { this.ownerUuid =...
package com.javawebtutor.Controllers.ClientControllers; import com.javawebtutor.Controllers.Controller; import com.javawebtutor.Controllers.LogInController; import com.javawebtutor.Models.*; import com.javawebtutor.Models.Classes.ClientCarCheck; import com.javawebtutor.Utilities.HibernateUtil; import javafx.collection...
package cr.ac.tec.ce1103.structures.trees; /** * * @author Adrian Sanchez * */ public class NodoAVLTree <AnyType extends Comparable>{ public int dato, fe; NodoAVLTree hijoIzquierdo, hijoDerecho; NodoAVLTree(AnyType d) { this.dato = (int) d; this.fe = 0; this.hijoDerecho = null; this.hijoIzquierdo = nul...
package com.appspot.smartshop.map; import java.util.List; import java.util.Set; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import com.ap...
public class CalculadoraDePrecoDeVendas { private double totalDeProdutosEmEstoque=0; public void acumulaValorDosProdutos(Produto p){ this.totalDeProdutosEmEstoque += p.getValorEmMercadoria(); } public double getTotalDeProdutosEmEstoque() { return totalDeProdutosEmEstoque; } }
package com.alura.exception; public class CursoNotFoundException extends RuntimeException{ public CursoNotFoundException(String message){ super(message); } }
package data; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; public class QueryFileDAO implements QueryDAO { private static final Strin...
package msip.go.kr.message.service.impl; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import org.springframework.stereotype.Reposit...
package org.systemsbiology.gaggle.cereopsis.core; import org.apache.activemq.spring.ActiveMQConnectionFactory; import org.systemsbiology.gaggle.core.datatypes.Namelist; import org.systemsbiology.gaggle.core.datatypes.Network; import org.systemsbiology.gaggle.core.datatypes.Cluster; import org.systemsbiology.gaggle.cor...
package ca.kitamura.simpleaddressbook.networking; import okhttp3.OkHttpClient; import retrofit2.Retrofit; import retrofit2.converter.gson.GsonConverterFactory; /** * Created by Darren on 2016-12-13. */ //Retrofit creation is costly, make it static and do it once... public final class NetworkingService { priva...
package com.tqb.service.question; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import com.tqb.interfaces.questi...
package com.noobs2d.superawesomejetgame; import com.badlogic.gdx.Game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.GL10; public class SuperAwesomeJetGame extends Game { @Override public void create() { setScreen(new StageScreen(this)); } @Override public void render() { Gdx.g...
package Roman; import java.util.Scanner; public class RomanNumeralCalculator { private Scanner keyboard = new Scanner(System.in); /** * Asks the user if they want to add, subtract, multiply, or divide. * Prompts the user to enter two Roman Numbers, does the arithmetic * and creates a new Roman Numeral w...
public class BalanceIsNotEnoughException extends Exception { /** * */ private static final long serialVersionUID = 1L; public BalanceIsNotEnoughException() { super("The balance is not enough to complete the payment!"); } }
package com.binfan.davantitest.model.asset; import android.os.Parcel; import android.os.Parcelable; /** * Created by Bin on 2016/3/30. */ public class Link implements Parcelable { private String url; private String urlName; protected Link(Parcel in) { url = in.readString(); urlName = i...
/* * (C) Copyright 2010 Marvell International Ltd. * All Rights Reserved * * MARVELL CONFIDENTIAL * Copyright 2008 ~ 2010 Marvell International Ltd All Rights Reserved. * The source code contained or described herein and all documents related to * the source code ("Material") are owned by Marvell International L...
package com.mabang.android.entity.vo; /** * 手机验证码信息 * * @author xiong * */ public class MobileValidateCodeInfo extends VoBase { /** * 序列ID */ private static final long serialVersionUID = 4942334939895083795L; private String mobile; // 手机号码 public String getMobile() { return this.mobile; } public ...
// SPDX-License-Identifier: BSD-3-Clause package org.xbill.DNS.dnssec; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import java.io.IOException; import org.junit.jupiter.api.Test; import org.xbill.DNS.Flags; import org.xbill.DNS.Message; impor...
/* * Test11 * * Testiamo la chiamata a un metodo definito in questo file (non di sistema). */ class HelloWorld { static void MyMethod() { System.out.println("Sto in MyMethod"); } static public void main(String[] a) { MyMethod(); } }
package enshud.syntaxtree; import java.util.Map; import enshud.s3.checker.TypeExpressionMap; import enshud.symboltable.SymbolTable; import enshud.symboltable.SymbolTableStack; public abstract class AbstractVisitor { public void preorder( TypeExpressionMap typeExpressions, Map<AbstractSyntaxNode, SymbolTable>...
package io.github.jitinsharma.insplore.fragment; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.Snackbar; import andr...
/** * Created by Гамзат on 04.06.2017. */ public class Happiness { }
package cttd.admin.dao; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import common.bean.PaginationList; import cttd.admin.dao.UserDAO; import cttd.admin.model.User; import lombok.extern.slf4j.Slf4j; import common.util.DBUtil; @Slf4j public class UserD...
package multiplayer; import game.GameHandler; import game.Player; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.util.Arrays; import main_app.LampPanel; public class RemotePlayer { MultiplayerGameHandler handler; int id; double x, y...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package test; import java.awt.BorderLayout; import java.awt.Color; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JTextPane; import javax.swing.text.BadLocationException; import jav...
package ejemplomerge; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.util.logging.Level; import java.util.logging.Logger; import javax.xml.transform.Transformer; import javax.xml.transform.TransformerConfigurationException; import javax.xml.transform.TransformerE...
package com.yu.hu.roomtest.activity; import androidx.annotation.Nullable; import androidx.lifecycle.Observer; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.content.Intent; import android.util.Log; import android.view.View; import android.widg...
package com.edu.realestate.yelp; public abstract class YelpElement { protected String name; protected String url; protected String address; public YelpElement(String name, String url, String address) { super(); this.name = name; this.url = url; this.address = address; } public String getName() { ret...
package am.bizis.stspr.fo; public enum Zpusobilost { PLNA, OMEZENA, ODNATA; private String rozsah; private ISEOOsoba zastupce; public void setRozsah(String s){ if(this.equals(OMEZENA)) this.rozsah=s; } public String getRozsah(){ if(this.equals(OMEZENA)) return this.rozsah; else return null; } pub...
/* * Copyright 2020 WeBank * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
package myGame.entity.enemy; public class TankerEnemy { }
package startGame; import controller.MenuController; import model.*; import net.Connection; public class Game { private Player player1; private Player player2; private Map mapGame; public Game() { mapGame = new Map(); if (MenuController.gameWithAI) { player1 = new Human('...
package falcons.plugin; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * * @author Julius * * An annotation that contains the ID and versionID of the plugin. * */ @Retention(RetentionPolicy.RUNTIME) public @interface Plugin { String pluginID() default "No ...
package com.podraza.android.spotifystreamer; import android.os.Parcel; import android.os.Parcelable; import java.io.Serializable; import java.util.List; import kaaes.spotify.webapi.android.models.Artist; /** * Created by adampodraza on 6/20/15. */ public class ParcelableArtist implements Parcelable, Serializable{...
package com.crossenagetask.utils; /** * Created by NrapendraKumar on 14-03-2016. */ public class AppUtil { public static final String DATE_FORMAT = "YYYYMMDD"; public static final String COMMA = ","; public static final String APPLICATION_PROPERTY = "/application.properties"; public static final Stri...
package com.crypto.document; import java.math.BigDecimal; import java.sql.Date; import com.fasterxml.jackson.annotation.JsonProperty; public class Crypto { Date date; @JsonProperty("txVolume(USD)") String txVolume; BigDecimal txCount; @JsonProperty("marketcap(USD)") BigDecimal marketcap; ...
package juez.david.transportbcn.provider.metro; import juez.david.transportbcn.provider.base.BaseModel; import java.util.Date; import android.support.annotation.NonNull; import android.support.annotation.Nullable; /** * Data model for the {@code metro} table. */ public interface MetroModel extends BaseModel { ...
package com.model.dao.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.model.dao.BaseDao; import com.model.dao.UserDao; import com.model.pojo.Friend; import com.model.pojo.User; @Repository public clas...
package com.lenovohit.hwe.treat.service; import java.util.Map; import com.lenovohit.hwe.treat.model.Activity; import com.lenovohit.hwe.treat.transfer.RestEntityResponse; import com.lenovohit.hwe.treat.transfer.RestListResponse; public interface HisActivityService { public RestEntityResponse<Activity> getInfo(Activi...
package com.yusys.warrantManager; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import com.yusys.Utils.JsonUtils; import co...
package exam4; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ThreadPoolExecutor; public class ThreadPoolEx13 { public static void main(String[] args) { // 단일 스레드에서 실행되는 ExecutorService를 생성 ExecutorService executorService = Executors.newSin...
package tree.splay; public interface Tree<T extends Comparable<T>> { void insert(T data); Node<T> find(T data); T getMin(); T getMax(); void inOrderTraversal(); }
import Body.Payload; import io.restassured.RestAssured; import io.restassured.path.json.JsonPath; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import util.ReusabaleMethods; import static io.restassured.RestAssured.given; public class DynamicJson { @Test (dataProvider = "BooksData...
package com.ziaan.library; import java.sql.PreparedStatement; import java.util.ArrayList; /** * <p> 제목: Mail 관련 라이브러리</p> * <p> 설명: 메일환경세팅</p> * <p> Copyright: Copyright (c) 2004</p> * <p> Company: </p> *@author 이정한 *@date 2003. 12 *@version 1.0 */ public class MailSet { private ConfigSet conf; ...
package com.interestcalc; import java.text.ParseException; import java.util.ArrayList; import java.util.Date; public class Transactions { public static ArrayList<Transaction> transactions=new ArrayList<Transaction>(); private static Transaction addEntry(Transaction transaction) { Date entryDate=transactio...
package com.davivienda.utilidades.ws.cliente.notaCredito; import java.math.BigDecimal; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ProductoCorrienteRe...
package com.turios.activities.listeners; import javax.inject.Inject; import android.location.Location; public class TuriosLocationListener implements com.google.android.gms.location.LocationListener { @Inject public TuriosLocationListener() { } @Override public void onLocationChanged(Location loca...
package billing_system; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import java.awt.Font; import javax.swing.JSeparator; import javax.swing.JTextField; import javax.swing.JButton; import javax.swing.JScrollPane; import javax.swing.JTable; import j...
package com.zju.courier.service.impl; import com.zju.courier.dao.ApInfoDao; import com.zju.courier.dao.CriteriaDao; import com.zju.courier.dao.RankDao; import com.zju.courier.entity.APInfo; import com.zju.courier.entity.Criteria; import com.zju.courier.entity.Rank; import com.zju.courier.pojo.Score; import com.zju.cou...
package com.upgrade.mvc.biz; import java.util.List; import com.upgrade.mvc.dto.EmpDto; public interface EmpBiz { public List<EmpDto> selectList(); public EmpDto selectOne(String id); public int insert(EmpDto dto); public int update(EmpDto dto); public int delete(String id); }
package com.kmdc.mdu.oaid; import android.content.Context; import com.bun.miitmdid.core.InfoCode; import com.kmdc.mdu.BuildConfig; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Arrays; import java.util.concurrent.BlockingQueue; import ja...
package screen; import java.io.*; import java.util.*; import java.util.Map.Entry; import bakery.*; /** * Screen for exporting store data * @author rcj, anhtran9 * @version 06/17/14 * */ public class ExportData extends Screen { /** * Constructor to set the screen title */ public ExportData() { ...
package org.shujito.cartonbox.view.adapter; import java.util.ArrayList; import java.util.List; import org.shujito.cartonbox.R; import org.shujito.cartonbox.controller.listener.OnErrorListener; import org.shujito.cartonbox.controller.task.ImageDownloader; import org.shujito.cartonbox.controller.task.listener.O...