text stringlengths 10 2.72M |
|---|
package domain.model;
import java.util.Date;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
@Data
@EqualsAndHashCode(callSuper=true)
@Entity
@DiscriminatorValue("B")
public class Bond ext... |
package br.com.sdad.entidades.informacoes;
import javax.persistence.*;
import java.sql.Timestamp;
@MappedSuperclass
public class InformacaoVital {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int idRegistro;
private int idUsuario;
@Column(columnDefinition="TimestampTimeFormat... |
package com.lbsp.promotion.core.key;
import java.util.UUID;
public class PrimaryKeyGenerator implements KeyGenerate{
@Override
public String generate() {
return String.valueOf(UUID.randomUUID().hashCode());
}
}
|
package com.mcf.manage.web.controller.common;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import or... |
package dao;
import java.sql.SQLException;
import com.mysql.jdbc.Connection;
import com.mysql.jdbc.PreparedStatement;
import common.msgs;
public class Add_Book {
msgs thismessage;
Connection localdbConnection;
public void getAdd_Book(msgs loginmsgs,Connection dbConnection){
thismessage = loginmsg... |
package com.system.controller;
import com.system.constants.BaseErrorConstants;
import com.system.entity.UserMasterEntity;
import com.system.service.UserMasterService;
import com.system.util.*;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.... |
package alice.af.tileentity;
import alice.af.FillerMode;
import alice.af.client.entity.EntityFillerFrame;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import... |
package fr.polytech.lechat.moviereview;
public class IRecyclerViewManager {
}
|
package bnorm.virtual;
import org.junit.Assert;
import org.junit.Test;
import bnorm.utils.Trig;
/**
* A group of unit tests for {@link Vector}s.
*
* @author Brian Norman
*/
public class VectorTest {
/**
* A test for the {@link Vector#getDeltaX()} method.
*/
@Test
public void testGetDeltaX() {
... |
package javadateclassical;
import java.util.Calendar;
import java.util.TimeZone;
public class JavaTimeZoneExample
{
public static void main(String[] args)
{
String[] id=TimeZone.getAvailableIDs(); // return an array of IDs.
System.out.println("In TimeZone class available Ids are : ");
for(int i=0;i... |
package porto.barrier;
import org.apache.curator.RetryPolicy;
import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.CuratorFrameworkFactory;
import org.apache.curator.framework.recipes.barriers.DistributedDoubleBarrier;
import org.apache.curator.retry.ExponentialBackoffRetry;
import... |
package LessonsJavaCore_14.Task_1;
public class lessons14 implements Comparable<lessons14> {
private String s;
private int i;
public lessons14(){
}
public lessons14(String s,int i){
this.s=s;
this.i = i;
}
public String getS() {
return s;
}
public void s... |
package se.kb222vt.app;
import static spark.Spark.exception;
import static spark.Spark.get;
import java.io.File;
import java.io.IOException;
import java.io.Reader;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.csv.CSVFormat;
import o... |
package ua.project.protester.model.executable;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@NoArgsConstructor
@Getter
@Setter
public class ActionRepresentation {
private Integer id;
private String className;
private String description;
}
|
package com.zebra.pay.base;
public interface QueryDAO {
/**
* 方法说明:返回LIST集合
* @param key
* @param obj
* @return
*/
public Object queryList(String key, Object obj);
/**
* 方法说明:返回LIST集合
* @param key
* @param obj
* @param offset 偏移值
* @param count 一次查询数值
* @return
*/
pu... |
package chessProgram;
import java.util.Random;
public class HumanPlayerGUI implements Player
{
@Override
public double getFitness(Board board, BlackWhite color)
{
return 0;
}
@Override
public Move chooseMove(Board board, BlackWhite color, int milliSeconds, Random random)
{
PlayerGUI theGUI = new P... |
package com.pel.mathias.merob;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.wifi.p2p.WifiP2pDevice;
import android.net.wifi.p2p.WifiP2pDeviceList;
import android.net.wifi.p2p.WifiP2pManager;
import android.util.Log;
import java.util.Collec... |
package Quizizz;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Scanner;
import java.util.Set;
public class CharacterFreqFromStringArray {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
System.out.println("Enter the size of the array");... |
package enduro.sorter;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
public class PersonalInfoParser {
private Map<String, String> map = new TreeMap<String, String>();
private String delimiter;
public PersonalInfoParser(String delimiter) {
this.delimiter = delimiter;
}
public Map<... |
package schr0.tanpopo.capabilities;
import javax.annotation.Nullable;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumFacing;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.common.capabilities.ICapabilityProvider;
import net.mine... |
package com.ducph.consoledrawing.command;
import com.ducph.consoledrawing.exception.InvalidCommandParams;
import org.junit.Test;
public class BucketFillCommandTest {
@Test
public void testCreate() {
new BucketFillCommand( "1", "1", "o");
}
@Test(expected = InvalidCommandParams.class)
pub... |
package com.example.jh.picdemo.bean;
import java.io.File;
/**
* Created by lenovo on 2016/11/27.
*/
public class Bean {
private String filePath;
private boolean isChecked;
private boolean isShow;
private int id;
public String getFilePath() {
return filePath;
}
public void setF... |
/*******************************************************
* Created by Marneus901 *
* © 2013 Dynamac.org *
********************************************************
* Dynamac's custom log system. *
***********************************... |
package Exceptions;
public class ClientNotFoundException extends Exception {
public ClientNotFoundException() {
super("The client is not found in the system.");
}
}
|
package com.bulldozer.simulation.console;
import com.bulldozer.domain.bulldozer.BulldozerFactory;
import com.bulldozer.domain.bulldozer.IBulldozerController;
import com.bulldozer.domain.site.SiteFactory;
import com.bulldozer.domain.site.TraversableSite;
import java.io.BufferedReader;
import java.io.FileReader;
import... |
package org.ah.minecraft.tweaks;
import org.bukkit.Bukkit;
import org.bukkit.Server;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
public class TenHourSleep extends Tweak {
@Override
public void init(final Server server, Plugin plugin) {
server.getScheduler().scheduleSyncRepeatingT... |
package com.myhome.lee;
import org.apache.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class ApimockSpringboot2Application {
private static Logger logger = Logger.getLogger(ApimockSpringboot2Appli... |
package com.telecom.controller;
import com.telecom.model.PageResult;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* Created... |
package com.penzias.entity;
import java.util.Date;
/**
*
* 描述:机构状态信息表<br/>
* 作者:Bob <br/>
* 修改日期:2015年12月16日 - 下午5:26:37<br/>
* E-mail: sireezhang@163.com<br/>
*
*/
public class DepartStatusInfo {
private Integer infoid;
//机构编码
private String depbm;
//数据来自于sm_codeitem的code字... |
package com.rs.utils.spawning;
import com.rs.game.World;
import com.rs.game.WorldObject;
import com.rs.game.WorldTile;
//import com.rs.game.player.Player;
public enum ObjectSpawning {
/** START HOME OBJECTS */
EXIT_PORTAL(11368, 3994, 6108, 0, 1 ),
DUEL_PORTAL(11356, 3604, 3375, 0, 0), //white portal
ARMOUR_STA... |
package ai;
import enemy.Enemy;
import java.awt.Point;
public interface AI {
public Point move();
public void reset();
public void playerSeen();
public void setEnemy(Enemy enemy);
}
|
package com.szcinda.express.dto;
import lombok.Data;
import java.io.Serializable;
@Data
public class RPAInsertToDBDto implements Serializable {
private String financialReportId;//报表ID
private double volume;//体积
private double inShippingFee;//运费
private double inDeliveryFee;//送货费
private double in... |
/*
* 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 Modelos;
import org.springframework.jdbc.datasource.DriverManagerDataSource;
/**
*
* @author Pc
*/
public class Conexion {... |
package playground.ds;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.hasItem;
import static org.hamcrest... |
package com.hb.rssai.view.iView;
import com.hb.rssai.bean.ResBase;
import com.hb.rssai.bean.ResInfo;
import com.hb.rssai.bean.ResUserInformation;
/**
* Created by Administrator on 2017/10/28 0028.
*/
public interface IRecordView {
void loadError(Throwable throwable);
void setInfoResult(ResInfo resInfo);
... |
package file;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStr... |
package com.maven.threadPool;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import java.util.concurrent.Future;
public class TaskExecutor {
/**
* 标注@Async注解的方法和调用的方法一定不能在同一个类下,这样的话注解会失效
* 因为@Transactional和@Async注解的实现都是基于Spring的AOP,而AOP的实现是基于动态代理模式实现的。
* 那么注解失效... |
package edu.monash.mymonashmate.entities;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class MatchCriteria implements Serializable{
public final static int COND_DISTANCE = 99;
private List<Integer> sourceIDs = new ArrayList<Integer>();
public List<Integer> getSource... |
package examen2p2_andresnuila;
public class Procesador extends Parte {
private int nucleos;
private double velocidad;
public Procesador() {
}
public Procesador(int nucleos, double velocidad, int tiempo) {
super(tiempo);
this.nucleos = nucleos;
this.velocidad = velocidad;
... |
package com.uptc.prg.maze.resource;
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
/**
* <b>Image Converter class</b>
* Utilities for converting and changing the values of the pixels of a certain image.
*
* @author Luis Alejan... |
package models.excel;
import lombok.Data;
import models.entity.TaskTables;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
import org.apache.poi.ss.usermodel.CreationHelper;
import org.apache.poi.ss.usermodel.She... |
package com.felipe.myportfolio.article;
import com.felipe.myportfolio.article.form.ArticleForm;
import com.felipe.myportfolio.model.Article;
import com.felipe.myportfolio.repository.ArticleRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.... |
package com.tencent.mm.plugin.appbrand.appcache;
import com.tencent.mm.plugin.appbrand.appstorage.k;
import java.io.File;
public class h$b {
public static long aby() {
return k.w(new File(ah.abY()));
}
}
|
package ro.msg.cm.dto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import ro.msg.cm.types.CandidateCheck;
import java.time.LocalDate;
import java.util.HashMap;
import java.util.Map;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CandidateDto {
private Map<St... |
/*
* This file is part of SMG, a symbolic memory graph Java library
* Originally developed as part of CPAChecker, the configurable software verification platform
*
* Copyright (C) 2011-2015 Petr Muller
* Copyright (C) 2007-2014 Dirk Beyer
* All rights reserved.
*
* Licensed under the Apache License, Ver... |
package com.olal.caclulator.model;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Set;
@Entity
@Table(name = "recipes_categories")
public class RecipeCategory implements Serializable {
private Integer id;
private String title;
private String description;
private Set<Recipe>... |
package com.test;
import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.GenericXmlApplicationContext;
public class StudentMain {
public static void main(String[] args) {
AbstractApplicationContext ctx = new GenericXmlApplicationContext("class... |
package Tests;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.HttpClients;
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class GetServiceTest extends Testable implements Runnabl... |
package com.itfdms.common.util;
import com.itfdms.common.util.exception.CheckedException;
import org.apache.commons.lang3.StringUtils;
import javax.validation.ConstraintViolation;
import javax.validation.Validation;
import javax.validation.Validator;
import java.util.Set;
/**
* @author lxr
* @Title: Assert
* @Pr... |
package com.puti.pachong.util;
import com.puti.pachong.entity.proxy.FreeProxy;
import org.junit.jupiter.api.Test;
class ProxyUtilTest {
@Test
void isAlive() {
FreeProxy freeProxy = new FreeProxy();
freeProxy.setIp("99.79.83.80");
freeProxy.setPort(80);
boolean alive = ProxyUti... |
package models.SortingAlgorithms;
import java.util.ArrayList;
import java.util.Collections;
import javafx.animation.FillTransition;
import javafx.animation.ParallelTransition;
import javafx.animation.SequentialTransition;
import javafx.animation.TranslateTransition;
import javafx.scene.layout.StackPane;
import javafx... |
package com.tencent.mm.plugin.ipcall.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
class IPCallShareCouponUI$7 implements OnClickListener {
final /* synthetic */ IPCallShareCouponUI kyP;
IPCallShareCouponUI$7(IPCallShareCouponUI iPCallShareCouponUI) {
... |
package exerciciosAula18;
import java.util.HashSet;
import java.util.Set;
public class Prova {
public static void somaTotal(Set<Integer> conjuntoDeInteiros) {
int soma = 0;
for (Integer numero : conjuntoDeInteiros) {
System.out.print(numero+" ");
soma += numero;
... |
package com.epam.jmp.module.concurency.experiment;
import java.util.HashMap;
import java.util.concurrent.ConcurrentMap;
public class ExperimentSynchronizedConcurrentMap<K, V> extends HashMap<K, V> implements ConcurrentMap<K, V> {
@Override
public synchronized V putIfAbsent(K key, V value) {
return s... |
/*
* 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 figuras;
import javax.swing.JOptionPane;
/**
*
* @author ESTUDIANTE
*/
public class Figuras {
/**
* @param args t... |
package com.nitgar.axonsample.command;
/**
* Created by anuraggupta on 28/03/17.
*/
public class AccountCreateCommand {
private final String accountNo;
public AccountCreateCommand(String accountNo) {
this.accountNo = accountNo;
}
public String getAccountNo() {
return accountNo;
... |
package fi.lassemaatta.temporaljooq.config.jooq.converter;
public class TimeRangeUtil {
public static final TimeRange EMPTY = TimeRange.empty();
public static final TimeRange UNBOUNDED = TimeRange.unbounded();
}
|
package com.rex.demo.study.demo.sink;
import com.alibaba.fastjson.JSON;
import com.rex.demo.study.demo.entity.Student;
import com.rex.demo.study.demo.util.DruidConnectionPool;
import lombok.extern.slf4j.Slf4j;
import org.apache.flink.api.common.ExecutionConfig;
import org.apache.flink.api.common.typeutils.base.VoidSer... |
package telcel.android.rick.com.rvisor.exceptions;
/**
* Created by PIN7025 on 18/01/2017.
*/
public class WebServiceConexionException extends RuntimeException {
public WebServiceConexionException(final String mensaje){
super(mensaje);
}
public WebServiceConexionException(String mensaje, Throw... |
package org.bashemera.openfarm.controller;
import java.security.Principal;
import javax.validation.Valid;
import org.bashemera.openfarm.exception.AccountCreationException;
import org.bashemera.openfarm.form.AccountForm;
import org.bashemera.openfarm.model.Farm;
import org.bashemera.openfarm.model.User;
import org.ba... |
/**
*
*/
package test.layout;
import java.awt.Dimension;
import java.awt.Insets;
import java.util.List;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
import site.com.google.anywaywrite.component.gui.BgAreaLabel;
import site.com.google.anywaywrite.component.layout.BgAreaLayout;
import site.com.goog... |
package com.tencent.mm.plugin.wallet_payu.remittance.a;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.wallet_core.e.a.a;
import java.util.HashMap;
import java.util.Map;
import org.json.JSONObject;
public final class f extends a {
public int bNI;
public int bWA;
public double hUL;
pu... |
package api.longpoll.bots.methods.impl.messages;
import api.longpoll.bots.methods.AuthorizedVkApiMethod;
import api.longpoll.bots.methods.VkApiProperties;
import api.longpoll.bots.model.objects.basic.Chat;
import api.longpoll.bots.model.response.GenericResponse;
import com.google.gson.annotations.SerializedName;
/**
... |
package com.ss.android.ugc.aweme.miniapp.c;
import com.ss.android.ugc.aweme.miniapp_api.services.a;
public final class a implements a {}
/* Location: C:\Users\august\Desktop\tik\df_miniapp\classes.jar!\com\ss\androi\\ugc\aweme\miniapp\c\a.class
* Java compiler version: 6 (50.0)
* JD-Core Ver... |
package classAndObject;
/**
* @author malf
* @description 懒汉式单例模式
* @project how2jStudy
* @since 2020/9/14
*/
public class GiantDragon2 {
// 私有化构造方法使得该类无法在外部通过new 进行实例化
private GiantDragon2() {
}
// 准备一个类属性,用于指向一个实例化对象,但是暂时指向null
private static GiantDragon2 instance;
// public static 方法,返回实例对象
public sta... |
/*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... |
package br.pe.joaopedro.page;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
public class DemoPage {
private WebDriver driver;
public void scrollAteFinalPagina() throws InterruptedException {
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("windo... |
package com.alonemusk.medicalapp.ui.Login;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.google.firebase.auth.PhoneAuthCredential;
import com.google.firebase.auth.PhoneAuthProvider;
public class SendOtpViewModel extends ViewModel {
public MutableLiveData<Boolean> cod... |
package com.games.kripa.guessthemovie;
import java.util.ArrayList;
/**
* Created by Kripa on 7/2/2017.
*/
public class TmdbConfig {
private final String ImageBaseUrl;
private final ArrayList<String> posterSizes;
private TmdbConfig(ConfigBuilder builder){
ImageBaseUrl = builder.ImageBaseUrl;
... |
package com.android.yinwear;
import android.app.Application;
import android.util.Log;
import com.android.yinwear.core.controller.CoreController;
import com.android.yinwear.core.db.AppDatabase;
import com.android.yinwear.core.db.DbClient;
import static com.android.yinwear.BuildConfig.DEBUG;
public class YINApplicat... |
package org.smxknife.airport.client.web.controller;
import lombok.extern.slf4j.Slf4j;
import org.apache.axis.EngineConfiguration;
import org.apache.axis.Handler;
import org.apache.axis.SimpleChain;
import org.apache.axis.SimpleTargetedChain;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
im... |
package engines;
import bots.Marcel;
import org.junit.Test;
import static org.junit.Assert.*;
public class TestTurn {
Turn turn;
Marcel marcel;
@Test
public void createTurn() {
turn = new Turn();
assertEquals(2, turn.getActionNb());
}
}
|
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.HashMap;
import java.net.URLDecoder;
/**
* Created by Kevin Lau on 4/23/2016.
*/
public class WordHolder {
private HashMap<String, Number> wordCount;
private static final String TARGET_... |
package com.tis.retulix.mapper;
import com.tis.common.model.NotUserException;
import com.tis.retulix.domain.MemberVO;
public interface UserMapper {
int createUser(MemberVO user);
MemberVO findUserByEmail(String email);
MemberVO isLoginOk(String email, String pwd) throws NotUserException;
}
|
package com.spower.business.exam.controller;
import java.net.BindException;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.Mode... |
package org.study.core.concurrency.thread;
/**
* Created by iovchynnikov on 7/29/2015.
*/
public class Synchronizations {
public void run() {
Counter counter = new Counter();
Thread thread1 = new Thread(new RunnableObject("test1", counter, new Boolean[]{true, false, true, true}));
Thread... |
package com.tencent.mm.plugin.wallet_core.model;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
public class Orders$RemarksInfo implements Parcelable {
public static final Creator<Orders$RemarksInfo> CREATOR = new 1();
public String pqi;
public String pqj;
... |
package com.creativewidgetworks.goldparser.engine;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import org.junit.Test;
import com.creativewidgetworks.goldparser.engine.GroupList;
public class GroupListTest {
@Test
public void testConstructorDefault() {
Gro... |
package soumyavn.store.SalesTax;
import static org.junit.Assert.*;
import java.math.BigDecimal;
import java.util.ArrayList;
import org.junit.Test;
import soumyavn.store.SalesTax.catalog.ImportedProduct;
import soumyavn.store.SalesTax.catalog.ImportedTaxableProduct;
import soumyavn.store.SalesTax.catalog.... |
package com.uwiseone.notify.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.sql.DataSource;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.RowMapper;
public class NotifyDao impl... |
package net.minecraft.block;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyInteger;
import net.minecraft.block.state.BlockStateContainer;
import net.minecraft.block.state.IBlockS... |
package servlets;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
//importamos la li... |
package com.knaptus.domainiser.clone;
import com.knaptus.domainiser.core.DomainDefinition;
import com.knaptus.domainiser.core.impl.DomainGraphDefinitionImpl;
import com.knaptus.domainiser.core.DomainResolver;
import com.knaptus.domainiser.example.Address;
import com.knaptus.domainiser.example.ExampleDomainResolver;
im... |
package org.kt3k.straw.plugin;
import static org.kt3k.straw.plugin.HttpPlugin.*;
import java.io.UnsupportedEncodingException;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import javax.net.ssl.SSLSession;
import org.junit.Test;
import org.junit.Rule;
import org.junit.Bef... |
package org.hodroist.app;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.u... |
package org.webmaple.common.enums;
/**
* @author lyifee
* on 2021/2/2
*/
public enum SourceType {
SERVER('0'),
MYSQL('1'),
MONGODB('2'),
REDIS('3')
;
private char type;
SourceType(char type) {
this.type = type;
}
public char getType() {
return type;
}
p... |
package com.yeahbunny.stranger.server.utils;
import org.springframework.security.core.context.SecurityContextHolder;
import com.yeahbunny.stranger.server.security.CustomUserDetails;
public class AuthUtils {
public static String getAuthenticatedUserUsername() {
return ((CustomUserDetails) SecurityContextHo... |
package Politech;
import java.util.ArrayList;
import java.util.Date;
public interface Service {
ArrayList list();
int num();
Date uD();
}
|
package com.example.todolist.Model.RemoteDataSource;
import com.example.todolist.Model.Entities.EntryResponse;
import com.example.todolist.Model.Entities.Groups;
import com.example.todolist.Model.Entities.Tasks;
import com.google.gson.JsonObject;
import java.util.List;
import io.reactivex.Single;
import retrofit2.ht... |
package com.jianglei.zhaopin.utils;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLEncoder;
import net.sf.json.JSONArray;
import net.s... |
package com.example.demo.Controller;
import com.example.demo.Config.JwtUtil;
import com.example.demo.Config.pwdEncoder;
import com.example.demo.Mappers.StudentMapper;
import com.example.demo.Mappers.TeacherMapper;
import com.example.demo.Mappers.UserMapper;
import com.example.demo.Status.Exception.NotFoundException;
i... |
package de.zarncke.lib.err;
import java.io.Serializable;
import java.lang.Thread.UncaughtExceptionHandler;
import java.util.ConcurrentModificationException;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import javax.annotation... |
package com.tencent.mm.plugin.translate;
import android.os.Looper;
import com.tencent.mm.ab.e;
import com.tencent.mm.bt.h.d;
import com.tencent.mm.g.a.rt;
import com.tencent.mm.model.ar;
import com.tencent.mm.model.au;
import com.tencent.mm.plugin.translate.a.c;
import com.tencent.mm.plugin.translate.a.c$a;
import com... |
package com.upu.zenka.broadcasttest.util;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.util.Log;
import com.upu.zenka.broadcasttest.view.MyView;
import java.io.File;
import java.io.IOException;
import java.util.List;
/**
* Created by ThinkPad on 2018/12/23.
*/
public class ... |
package org.megaphone.rest;
import org.megaphone.util.walkers.AudiobookDirectoryWalker;
import javax.enterprise.context.RequestScoped;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import java.io.File;
import java.util.ArrayList;
@RequestScoped
@Path("/directories")
public class Direc... |
package com.ese.cloud.client.controller.core;
import com.alibaba.fastjson.JSON;
import com.ese.cloud.client.entity.MetricsInfo;
import com.ese.cloud.client.util.ReturnData;
import org.apache.log4j.Logger;
import org.apache.poi.util.StringUtil;
import org.springframework.stereotype.Controller;
import org.springframewor... |
package command;
import exceptions.IncorrectArgumentException;
import utility.Console;
import utility.Invoker;
import utility.Receiver;
import java.net.SocketAddress;
import java.nio.channels.DatagramChannel;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import java.time.format... |
package algorithm.kakaoBlindTest._2018;
import java.util.*;
/*
* 1:30 시작 2:20 끝 50분소요
* 수학공식이 필요할땐 Math 클래스 라이브러리 쓰기
* 잘한 것 : 손으로 먼저 써보고 실행에 옮김. 하지만 이전에 풀어본 기억이 나서 빨리 푼 듯 싶음
* 고쳐야할 것 :
* 1. 손으로 써보고 코딩을 시작하긴했지만 완전히 쓰지않고 중간에 바로 코딩해서 마지막에 디버깅해야하는 일이 생김
* 2. 스택이어서 배열의 끝부터 push해야할때 for문이 배열의 끝부터 돌아야하는 것에 필요한 조건을 잘못... |
import java.awt.*;
import java.awt.geom.Line2D;
import java.util.*;
import java.io.*;
public class EuropeanTrip {
public static void main(String[] args) throws IOException {
Scanner nya = new Scanner(System.in);
Point.Double a = new Point.Double(nya.nextDouble(),nya.nextDouble());
Point.Do... |
package com.simpson.kisen.fanBoard.model.vo;
import java.sql.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FbComment {
private int commentNo;
private int commentLevel;
private String writer;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.