text stringlengths 10 2.72M |
|---|
package vue;
import controler.controlerLocal.ChessGameControler;
import model.Coord;
import model.PieceIHM;
import model.observable.ChessGame;
import tools.ChessImageProvider;
import javax.swing.*;
import java.awt.*;
import java.util.List;
public class ChessGameGUI extends javax.swing.JFrame
... |
package com.lj.app.bsweb.upm.user.service;
import com.lj.app.core.common.base.service.BaseService;
import com.lj.app.bsweb.upm.user.entity.UpmUserAndUserGroupRel;
import java.util.List;
import java.util.Map;
public interface UpmUserAndUserGroupRelService<UpmUserAndUserGroupRel> extends BaseService {
}
|
package com.server;
import com.messages.Message;
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.HashSet;
public class Server {
private static final int PORT = 9001;
private static final HashSet<String> names = new HashSet<String>();
private static HashSet<Object... |
import java.util.Scanner;
public class Prog7{
public static void main(String args[]){
int x,y,z;
Scanner scn = new Scanner(System.in);
System.out.println("Enter X:");
x = scn.nextInt();
System.out.println("Enter Y:");
y = scn.nextInt();
System.out.println("Enter Z");
... |
package org.ah.minecraft.tweaks;
import org.bukkit.Material;
import org.bukkit.entity.LivingEntity;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.inventory.ItemStack;
public class PrimitiveTools extends Tweak {
@EventHandler
public void onHi... |
package fr.lteconsulting.outil;
import javax.servlet.http.HttpServletRequest;
import fr.lteconsulting.User;
public class DonneesScopes
{
public static void resetSession( HttpServletRequest request )
{
request.getSession().invalidate();
}
/**
* Returns the user registered in the session
*/
public static ... |
package com.tencent.mm.ui.base;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.AdapterView.OnItemLongClickListener;
import android.widget.GridView;
import com.ten... |
/*
* This demo started life as part of Sun's Java Tutorial for Drag and Drop/Cut and Paste.
* The tutorial had already been updated to Java 6 (which includes changes to
* TransferHandler that I didn't want to use yet), so a cached version was found
* at http://mockus.us/optimum/JavaTutorial/mustang/uiswing/dnd/exa... |
package s260452449.MyTools.Tree;
import boardgame.Board;
import halma.CCMove;
/**
* Created by jeffrey on 3/28/2014.
*/
public class Leaf extends Node{
private Board board;
public Leaf (CCMove move, Board theBoard, Integer depth)
{
super(move, depth);
this.board = theBoard;
}
... |
import java.io.Serializable;
public class MyBean implements Serializable {
private static final long serialVersionUID = 1L;
private String one;
private String two;
public MyBean() {
}
public MyBean(String one, String two) {
this.one = one;
this.two = two;
}
public String getOne() {
return one;
}
p... |
package com.melonBean.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.melonBean.entities.Employee;
public interface EmployeeMapperSql {
public List<Employee> getEmpByCondition(Employee emp);
public Integer updateEmpById(Employee emp);
public Integer addEmps(@Param("emps")... |
package com.gym.appointments.ServiceImp;
import com.gym.appointments.Input.AlphabetSoupInput;
import com.gym.appointments.Input.DatosInput;
import com.gym.appointments.Input.JsonInput;
import com.gym.appointments.Input.MensajeInput;
import com.gym.appointments.Model.*;
import com.gym.appointments.Service.SopaDePalabra... |
package com.ant.liao.chuxin;
public interface GifAction {
/**
* gif解码观察�?
* @hide
* @param parseStatus 解码是否成功,成功会为true
* @param frameIndex 当前解码的第几帧,当全部解码成功后,这里�?1
*/
public void parseOk(boolean parseStatus,int frameIndex);
}
|
package com.packers.movers.commons.contracts;
import com.packers.movers.commons.utils.JsonUtils;
import sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl;
import java.lang.reflect.Type;
public class DataContract<Contract> extends ContractBase {
private final Contract data;
public DataContract(Con... |
package com.javaconceptprograms;
import java.util.Arrays;
import java.util.*;
public class ArrayConcept {
public static void main(String[] args) {
String s = "Syed Qhubaib Ahmed Roshan Sadaddin Hasnaino";
String t[] = s.split(" ");
String a[] = {"Syed", "Qhubaib", "Ahmed", "Roshan", "Sadaddin", "Hasnain"}... |
package com.tao.logger.printer;
import android.util.Log;
import com.tao.logger.utils.Utils;
/**
* @project android_lib_logger
* @class
* @describe
* @anthor
* @time 2019/4/29 5:31 PM
* @change
* @time
* @describe
*/
class LogcatPrinter implements IPrinter {
public static final int MAX_LOG_LENGTH = 1... |
package ru.sg_studio.escapegame.bindings.libgdx.primitives;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.Batch;
import net.raydeejay.escapegame.Reactor;
import ru.sg_studio.escapegame.IProxiedObject;
import ru.sg_studio.escapegame.bindings.libgdx.LibGDXTextureUtilities;
import ru... |
package ac.iie.nnts.pgserver;
import io.hops.exception.StorageException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
public class CountHelper {
public static final String COUNT_QUERY = "select count(*) from %s";
public static final S... |
package Tests.Produit;
import marche.traitement.Produit.Miel;
import marche.traitement.Produit.Produit;
import java.time.LocalDate;
public class TestProduit {
@org.junit.jupiter.api.Test
public void test()
{
Miel miel = new Miel(5, LocalDate.MAX,"");
Produit mazer = miel.clone();
... |
package com.wsg.protocl_7001;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class HashUtil {
public static byte[] md5(byte[] src) {
return hash(src, "MD5");
}
private static byte[] hash(byte[] src, String algorithm) {
MessageDigest messageDigest;
try {
message... |
package com.rex.demo.study.demo.sink;
import com.rex.demo.study.demo.constants.KafkaConstants;
import com.rex.demo.study.demo.entity.FlinkInitInfo;
import com.rex.demo.study.demo.enums.KafkaConfigEnum;
import com.rex.demo.study.demo.util.FlinkUtils;
import lombok.extern.slf4j.Slf4j;
import org.apache.flink.api.common.... |
package com.timmy.highUI.coordinatorLayout.behavior.zhihuHome;
import android.content.Context;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.CoordinatorLayout;
import android.util.AttributeSet;
import android.view.View;
import com.timmy.library.util.Logger;
/**
* Created by... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package talaash.Indexer;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import talaash.ExtraGui.histgui;
import talaash.Tasveer_Talaash;
/**
*
* @au... |
package pageobjects;
import static org.junit.Assert.assertTrue;
import static org.testng.Assert.assertEquals;
import java.util.List;
import java.util.Map;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
i... |
package com.tencent.mm.plugin.downloader.model;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.support.v4.app.z.d;
import com.tencent.mm.kernel.g;
import com.tencent.mm.loader.stub.b;
import com.tencent.mm.plugin.appbrand.s$l;
import com.tencent.mm.plugi... |
package com.ojas.rpo.security.dao.location;
import java.util.List;
import javax.persistence.TypedQuery;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Root;
import org.springframework.transaction.annotation.Transactional;
import ... |
package jp.smartcompany.job.modules.quartz.pojo.dto;
import jp.smartcompany.job.group.UpdateGroup;
import jp.smartcompany.job.modules.quartz.JobValidateMessage;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constrai... |
package com.tencent.mm.ipcinvoker.wx_extension;
import com.tencent.mm.ab.b;
import com.tencent.mm.ab.l;
import com.tencent.mm.ab.v;
import com.tencent.mm.ipcinvoker.a;
import com.tencent.mm.ipcinvoker.c;
import com.tencent.mm.ipcinvoker.wx_extension.service.IPCRunCgiRespWrapper;
import com.tencent.mm.sdk.platformtools... |
package org.sang.controller;
import org.sang.bean.*;
import org.sang.service.LikesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.anno... |
package m;
import android.os.Handler;
import org.json.JSONObject;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.inject.Inject;
import bean.Duanzibean;
import bean.Guanggao;
import bean.TuijianBean;
import bean.UserBean;
import fragment.Tuijian;
import io.reactivex.Observer;
i... |
package MiddleClass;
/**
* @author renyujie518
* @version 1.0.0
* @ClassName nearMultiple4Times.java
* @Description
* 给定一个数组arr, 如果通过调整可以做到arr中任意两个相邻的数字相乘是4的倍数, 返回true; 如果不能返回false
*
* 思路:
* 遍历数组 找到四种数:奇数 a个 偶数只有一个2因子 b个 偶数包含4因子 c 个
* 思路:
* 当b = 0的时候 什么情况下用到c的个数最少: 奇4奇4... 观察发现 a>=1 c就要>=a-1
* 当b!=0 ... |
package com.smxknife.servlet.async.servlet;
import javax.servlet.*;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.co... |
package com.fancy.ownparking.ui.activate;
import android.text.TextUtils;
import com.fancy.ownparking.data.local.LocalDatabase;
import com.fancy.ownparking.ui.base.mvp.BasePresenter;
import io.reactivex.Flowable;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedul... |
package com.ericlam.mc.minigames.core.event.player;
import com.ericlam.mc.minigames.core.game.GameState;
import com.ericlam.mc.minigames.core.game.InGameState;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;
import org.bukkit.event.HandlerList;
import org.bukkit.event.player.PlayerEvent;
import ... |
package com.tencent.mm.plugin.sns.ui;
import android.app.Activity;
import android.content.Intent;
import android.view.MenuItem;
import com.tencent.mm.g.a.cb;
import com.tencent.mm.g.a.ch;
import com.tencent.mm.g.a.pt;
import com.tencent.mm.plugin.sns.c.a;
import com.tencent.mm.plugin.sns.data.i;
import com.tencent.mm.... |
package com.dao;
import com.pojo.Dept;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
public class DeptDao extends BaseDao{
private Connection conn;
private PreparedStatement pstm;
private ResultSet rs;
private Statement st;
public void update(Dept dept)
{
con... |
package com.internousdev.ecsite.action;
public class ItemCreateCompleteAction extends ActionSupport implements SessionAware{
public Map<String,Object> session;
public String execute()throws SQLException{
ItemCreateComp;
}
}
|
package cc.isotopestudio.Strength.data;
import java.sql.Statement;
public class PlayerData {
public static Statement statement;
}
|
package com.tencent.mm.plugin.account.friend.a;
import android.content.ContentValues;
import android.database.Cursor;
import com.tencent.mm.bt.h;
import com.tencent.mm.sdk.e.m;
import com.tencent.mm.sdk.platformtools.bg;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
import java... |
package com.jenmaarai.sidekick.locale;
import java.util.Locale;
import javax.swing.event.EventListenerList;
/**
* Delegate for the <tt>Locale</tt> class with extended capabilities.
* This class is most notably able to register <tt>LocaleListener</tt>s and
* call them back whenever a change of locale happens. The o... |
package com.thoughtworks.capability.gtb;
import java.time.LocalDate;
import java.time.Month;
import java.time.Period;
/**
* 计算任意日期与下一个劳动节相差多少天
*
* @author itutry
* @create 2020-05-15_16:33
*/
public class Practice1 {
public static long getDaysBetweenNextLaborDay(LocalDate date) {
Month currentMonth = date... |
package co.nos.noswallet.network.nosModel;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
import co.nos.noswallet.util.Extensions;
public abstract class BaseWebsocketRequest implements Serializable {
@SerializedName("action")
public String action = getActionName();
@Se... |
package com.tencent.tencentmap.mapsdk.a;
import android.content.Context;
import android.content.SharedPreferences;
public class r {
private static r a;
private SharedPreferences b = null;
public static r a(Context context) {
if (a == null) {
synchronized (r.class) {
if... |
package com.example.abidemi.seniorproject;
import java.util.LinkedList;
import java.util.List;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
p... |
package com.example.android.dreamdestinations.Model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;
/**
* Created by joycelin12 on 9/21/18.
*/
public class OperatingCarriers implements Parcelable {
@SerializedName("0")
private String OperatingCa... |
/*자동차를 정의해본다*/
class Car{
String name="벤츠";
int price=9000;
String color="sliver";
public void setPrice(int price){
this.price=price; //this.price는 멤버 변수 price는 지역변수
}
public static void main(String[] args){
Car c1=new Car();
Car c2=new Car();
Car c3=c2; //c3은 c2를 가리키는 용도기때문에 메모리엔 c1,c2 2대만 ... |
/*
* 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 edu.eci.arsw.webstore.persistence;
import edu.eci.arsw.webstore.model.User;
import java.util.List;
/**
*
* @author jmvillat... |
package dev.schoenberg.kicker_stats.core.domain;
public class Credentials {
public final String mail;
public final String password;
public Credentials(String mail, String password) {
this.mail = mail;
this.password = password;
}
}
|
package email;
abstract class EmailDecorator implements IEmail {
private IEmail email;
EmailDecorator(IEmail email) {
setEmail(email);
}
private IEmail getEmail() {
return this.email;
}
private void setEmail(IEmail email) {
this.email = email;
}
abstract Stri... |
package com.ormuco.technicaltest.questionbrest.dto;
import javax.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
* Request object fields.
*
* <p>
* Request object contain all fields to evaluate if two version string as input and returns
* whether one is ... |
package javaStudy.jdbc;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
/*
JDBC 실행절차>>>
1. JDBC driver 등록
2. Connection(network) 객체 얻어내기:Driver Manager의 getConnection()를 이용
3. Statement객체 얻어내기: Connection 객체의 createStatement()를 이용
4. SQL을 DB에 전송: Statement객체의 executeQuer... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the te... |
package com.javaconceptprograms;
public class CountNoOfObjectsCreated {
public static void main(String[] args) {
// Whenever we are creating Object The Class will start as the new one
// Even the class is having the another Object also
// For Example Here we have created 6 Objects
// When we try to call the ... |
package com.esprit.lyricsplus.entities;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.text.ParseException;
import java.text.SimpleDateFormat;
public class Comments {
private int id ;
private java.sql.Date dateComment ;
private String text ;
privat... |
package com.rawls.ai;
public class GMAI implements iManagementAI{
}
|
package co.aurasphere.courseware.java.jaxb.model;
import java.util.Set;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRo... |
package com.mo.mohttp.executor;
import com.mo.mohttp.*;
import com.mo.mohttp.constant.Headers;
import com.mo.mohttp.entity.Entity;
import com.mo.mohttp.entity.FileMultipartEntity;
import com.mo.mohttp.entity.FormUrlencodedEntity;
import com.mo.mohttp.entity.StringEntity;
import com.mo.mohttp.pair.NameFileP... |
package clib.javafx.i18n;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.nio.charset.StandardCharsets;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
import javafx.beans.property.SimpleStringProperty;
public class I18NString extends Sim... |
package com.faac.occupancy.service;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.simp.SimpMessagingTemplate;
import org.springframework.web.bind.annotation.RequestBody;
import org.spr... |
package itri.io.emulator.experiment;
import itri.io.emulator.parameter.FileSize;
public class BlockTemporalLocalityManager {
private BlockWithTemporalLocality[] blocks;
public BlockTemporalLocalityManager(FileSize size) {
int len = (int) (size.getSize() / Block.UNIT_4K);
len = (int) (size.getSize() % Block... |
package jp.co.tau.web7.admin.supplier.dao.mappers;
import static org.assertj.core.api.Assertions.fail;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annota... |
package LeetCode.BitManipulation;
public class MissingNumber {
public int missingNumber(int[] a) {
int xor = a.length;
for (int i = 0; i < a.length; i++) {
xor ^= a[i] ^ i;
}
return xor;
}
public int gauss(int[] a) {
int expected = (a.length * (a.length + 1)) / 2;
int sum = 0;
... |
package com.revature.abstraction;
public interface Anfibious {
void swim();
}
|
package com.github.vinja.debug;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.github.vinja.compiler.CompilerContext;
import com.github.vinja.omni.ClassInfo;
import com.github.vinja.omni.ClassMetaInfoManager;
impo... |
package com.yoeki.kalpnay.hrporatal.Request;
import android.app.Activity;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import ... |
package pajacyk;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import java.io.*;
import java.sql.Time;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Scanner;
public class PajacykMain {
WebDriver driver = new Ch... |
package com.hesoyam.pharmacy.pharmacy.dto;
import com.hesoyam.pharmacy.pharmacy.model.InventoryItemPrice;
import com.hesoyam.pharmacy.util.DateTimeRange;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
public class InventoryItemPriceDTO {
private Long id;
@Min(0)
p... |
package oop;
public class App
{
public static void main(String[] args)
{
Dog dog=new Dog();
dog.setName("Fido");
System.out.println(dog.getName());
dog.beFriendly();
dog.play();
Ball ball=new Ball();
ball.setupBall();
}
} |
package com.example.hp.ournetwork;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class BackView extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_b... |
package me.oscardoras.pistonsoverhaul;
public class Counter {
public int id = 0;
public boolean cancel = false;
public boolean rotated = false;
public int tick = 0;
public void up() {
tick++;
}
public void down() {
tick--;
}
}
|
package app.extension;
import magnet.Implementation;
@Implementation(forType = Tab.class, forTarget = "2")
class UnknownTypeTab2 implements Tab {} |
package router;
import java.util.Arrays;
public class IPAddress {
private int[] components;
public IPAddress(int[] copy) {
// components = Arrays.copyOf(copy, copy.length);
components = new int[4];
if (copy.length >= 4) {
for (int i = 0; i < 4; ++i) {
components[i] = copy[i];
}
} else if (copy.l... |
package com.companyname.springapp.business;
import org.springframework.jdbc.datasource.DriverManagerDataSource;
public class Conexion {
public DriverManagerDataSource Conectar() {
DriverManagerDataSource dataSource=new DriverManagerDataSource();
dataSource.setDriverClassName("com.mysql.cj.jdbc.Driver");
da... |
package cn.edu.hebtu.software.sharemate.Bean;
import android.graphics.Bitmap;
import java.util.List;
import cn.edu.hebtu.software.sharemate.R;
public class NoteBean {
private int noId;
private int noPhoto;
private String title;
private int noteImage;
private String noteDetail,noteTitle;
priv... |
package com.tencent.mm.plugin.card.model;
import com.tencent.mm.bt.h.d;
class am$9 implements d {
am$9() {
}
public final String[] xb() {
return h.diD;
}
}
|
package aspect.sample.fm;
public class PickleFeature extends AtomicFeature {
public PickleFeature() {
super("Pickle");
}
}
|
package com.kingfish.show.mybatis.model;
import java.io.Serializable;
import java.util.Date;
public class Msg implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column msg.id
*
* @mbg.generated
*/
private Long... |
package pages;
import static com.codeborne.selenide.CollectionCondition.texts;
import static com.codeborne.selenide.Condition.text;
import static com.codeborne.selenide.Selectors.byText;
import static com.codeborne.selenide.Selenide.*;
public class StudentRegistrationFormPage {
public void openPage() {
o... |
package com.example.marek.komunikator.controllers.config;
/**
* Created by marek on 20.01.18.
*/
public abstract class Controller {
protected Response response;
protected static String JWT;
public Controller(Response response) {
this.response = response;
}
public abstract void proceed(... |
package com.rofour.baseball.dao.store.bean;
import java.io.Serializable;
/**
* 爱学派门店dto类
*
* @author WJ
*
*/
public class AxpBean implements Serializable{
/**
* @Fields serialVersionUID
*/
private static final long serialVersionUID = 6175543863110225702L;
/**
* 就是商户编码Store_id
*/
private Long ... |
package com.yjjyjy.yjj.controller.account;
import java.awt.image.BufferedImage;
import java.io.OutputStream;
import java.util.Map;
import javax.annotation.Resource;
import javax.imageio.ImageIO;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.Http... |
package com.yixin.kepler.v1.service.capital.yntrust;
import javax.annotation.Resource;
import com.yixin.kepler.enity.AssetContractTask;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframewor... |
package dados;
import java.util.ArrayList;
import beans.Fornecedor;
import java.util.List;
import java.util.Collections;
public class RepositorioFornecedor implements IRepositorioFornecedor {
private ArrayList<Fornecedor> listaFornecedores;
private static RepositorioFornecedor instance;
public RepositorioFornece... |
package com.tencent.mm.ac;
import com.tencent.mm.protocal.c.cgc;
import java.util.LinkedList;
public interface h$a {
String MQ();
void d(LinkedList<cgc> linkedList);
}
|
package com.yida.design.responsibility.generator;
/**
*********************
* 处理者返回的数据
*
* @author yangke
* @version 1.0
* @created 2018年5月12日 下午3:37:42
***********************
*/
public class Response {
}
|
/*
* Copyright 2014 Google Inc. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* 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 loc.daos;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util... |
package kr.co.ecommerce.repository.jpa.interfaces;
public interface AuthorityRepositoryCustom {
}
|
package spring4.aopdemo;
import org.springframework.stereotype.Service;
/**
* 使用注解的被拦截类
* @author yrz
*
*/
@Service
public class DemoAnnotionService {
@Action(name="注解式拦截的add操作")
public void add() {}
}
|
package smart.lib.express;
import java.util.ArrayList;
import java.util.List;
public class ProvincePrice {
private final List<Long> provinces;
// 首重价格
private long firstPrice;
// 续重价格
private long additionalPrice;
public ProvincePrice() {
provinces = new ArrayList<>();
... |
package ru.stoloto.protocol.lotos.requests;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.*;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.spri... |
package com.pacific.domain;
import java.util.Date;
/**
* Created by yadavm on 04/06/14.
*/
public class OptionChain extends StockDate {
private Long optionChainId;
private Date expirationDate;
public Long getOptionChainId() {return optionChainId;}
public void setOptionChainId(Long optionChainId)... |
package com.tt.miniapp.msg.ad;
import com.tt.miniapphost.host.HostDependManager;
import com.tt.option.ad.c;
import com.tt.option.e.e;
public abstract class BannerAdCtrl extends BaseAdCtrl {
public BannerAdCtrl(String paramString, int paramInt, e parame) {
super(paramString, paramInt, parame);
}
... |
package org.gmart.devtools.java.serdes.codeGenExample.openApiExample.generatedFiles;
import javax.annotation.processing.Generated;
import org.gmart.devtools.java.serdes.codeGen.javaGen.model.classTypes.AbstractClassDefinition;
import org.gmart.devtools.java.serdes.codeGen.javaGen.model.classTypes.ClassInstance;
impor... |
package com.tencent.mm.plugin.talkroom.component;
import com.tencent.mm.sdk.platformtools.bd;
class g$7 extends bd<e> {
final /* synthetic */ c ovI;
final /* synthetic */ g ovy;
g$7(g gVar, c cVar) {
this.ovy = gVar;
this.ovI = cVar;
super(3000, null, (byte) 0);
}
protect... |
package at.fhj.swd.data.impl;
import java.util.List;
import javax.inject.Inject;
import javax.persistence.EntityManager;
import at.fhj.swd.data.UserDAO;
import at.fhj.swd.data.entity.User;
import at.fhj.swd.data.exceptions.DataSourceLayerException;
import javax.inject.Named;
/**
* DAO Implementation for User enti... |
package org.mlgb.dsps.analysis_plan;
/**
* Online parameter optimization.
* @author Leo
*
*/
public interface Optimizer {
/**
* Optimizing method.
*/
void optimizing();
}
|
package fiscal;
public enum FiscalAcaoAutuacaoEnum {
NAO_INFORMADO(0L), AUTUADO(1L);
FiscalAcaoAutuacaoEnum(Long value) {
this.value = value;
}
private Long value;
public void setValue(Long value) {
this.value = value;
}
public Long getValue() {
return value;
}
}
|
package com.tpnote.pointet.controller;
import com.tpnote.pointet.model.DarkSkyAPI.Currently;
import com.tpnote.pointet.model.DarkSkyAPI.Weather;
import com.tpnote.pointet.model.GeoAPI.GeoRequest;
import com.tpnote.pointet.model.GeoAPI.Geometry;
import com.tpnote.pointet.model.GeoAPI.Properties;
import org.springframew... |
package com.leetcode.oj;
// 52 https://leetcode.com/problems/n-queens-ii/
public class NQuensII_52 {
private int solve;
public int totalNQueens(int n) {
solve = 0;
if (n == 0) {
return solve;
}
boolean[] cols = new boolean[n];
boolean[] diagonal = new boolean[(n << 1) - 1];
boolean[... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.