text stringlengths 10 2.72M |
|---|
package com.av.db.layer.impl;
import java.util.List;
import org.apache.log4j.Logger;
import org.hibernate.Criteria;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Restrictions;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
import com.av.db.dataobjects.Tarjeta;... |
package com.beans.test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.beans.EnggStudent;
import com.beans.Student;
public class TestStudent {
public static void main(String[] args) {
ApplicationContext context = new Cl... |
/**
*
*/
package ru.andreychapliuk;
/**
* @author Andrey
*
*/
public interface EepromIC {
public static enum TypeI2C {
// int PageSizeToWrite, int PageSizeToRead, int QuantityPageToWrite, int QuantityPagesToRead
IC24C16(16, 128, 128, 16),
IC24C32(32, 128, 128, 32),
IC24C64(32, 128, 256... |
package basic;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class Exercise06Test {
@Test
public void test_calSumDigitsOfNumber() {
assertEquals(new Exercise06().sumSequenceOfNum(3), 20);
}
}
|
package com.hesoyam.pharmacy.pharmacy.repository;
import com.hesoyam.pharmacy.pharmacy.model.Pharmacy;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import java.util.List;
public interface Ph... |
package ru.itis.javalab.servlets;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.io.FileInputStream;
import java.io.IO... |
package org.maven.ide.eclipse.io;
import java.io.IOException;
/**
* http response 403
* @author mkleint
*
*/
public class ForbiddenException
extends IOException
{
private static final long serialVersionUID = -3931433246316614538L;
public ForbiddenException( String message )
{
super( messa... |
package com.tencent.mm.plugin.setting.ui.setting;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.sdk.platformtools.x;
class SettingsUI$2 implements OnClickListener {
... |
package com.tantransh.workshopapp.jobbooking.data;
import java.io.Serializable;
import java.util.ArrayList;
public class JobServiceList implements Serializable{
private ArrayList<ServiceInfo> serviceList;
private static JobServiceList instance;
private JobServiceList (){
serviceList = new Array... |
/**
*
* @author 141638
*/
public class main {
public static void main(String[] args) {
CheckInput ci = new CheckInput();
BubbleSort bs = new BubbleSort();
int ar[] = null;
int n = 0;
int check = 0;
do{
System.out.println("===... |
/*
* 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 antariksa.fx;
import antariksa.fx.dbase.DBConnector;
import java.sql.SQLException;
import java.util.logging.Level;
i... |
/*
* Copyright (c) 2012 by Bjoern Kolbeck.
*
* Licensed under the BSD License, see LICENSE file for details.
*
*/
package org.xtreemfs.osd;
import java.io.IOException;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.atomic.AtomicReference;
import org.xtreemfs.common.statusserver.Sta... |
//
// Wire
// Copyright (C) 2016 Wire Swiss GmbH
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This progr... |
package servlet.controller;
import java.sql.SQLException;
import java.util.ArrayList;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import servlet.model.MemberDAOImpl;
import servlet.model.MemberVO;
public class AllMem... |
package com.baomidou.mybatisplus.samples.quickstart.domain;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import java.io.Seriali... |
package del.group10.java_ee.repository;
import java.util.List;
import del.group10.java_ee.model.DaftarTujuan;
import org.springframework.data.jpa.repository.JpaRepository;
public interface TujuanRepository extends JpaRepository<DaftarTujuan, Integer> {
DaftarTujuan findByTujuan(String tujuan);
List<DaftarTujuan> find... |
/*
* 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.dto;
/**
*
* @author hi
*/
public class RoomDTO {
private String roomID, hotelID, typeID, statusID, i... |
package ibatis.services.user.impl;
import java.util.List;
import org.apache.ibatis.session.SqlSession;
import ibatis.services.domain.User;
import ibatis.services.user.UserDAO;
/*
* Persistence Layer Component :: MyBatisUserDAOImpl10
* SqlSession을 DI 하는 컴포넌트
* 1) 필드에 SqlSession 선언
* 2) setter로 주입
... |
package submitter;
//
//import java.io.BufferedReader;
//import java.io.File;
//import java.io.FileNotFoundException;
//import java.io.FileReader;
//import java.io.InputStream;
//import java.io.InputStreamReader;
//import java.io.IOException;
//import java.io.OutputStreamWriter;
//import java.net.URL;
//import java.net... |
package com.esc.fms.service.file.impl;
import com.esc.fms.common.constant.Constants;
import com.esc.fms.entity.Dictionary;
import com.esc.fms.entity.FileOperationHistory;
import com.esc.fms.entity.SharedFile;
import com.esc.fms.entity.User;
import com.esc.fms.service.base.DictionaryService;
import com.esc.fms.service.... |
package br.ufrgs.rmpestano.intrabundle.plugin;
import br.ufrgs.rmpestano.intrabundle.locator.OSGiProjectLocator;
import br.ufrgs.rmpestano.intrabundle.util.TestUtils;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.forge.project.Project;
import org.jboss.forge.resources.DirectoryResource;
i... |
package sample.entity;
import javax.persistence.*;
import java.sql.Date;
import java.util.Objects;
@Entity
@Table(name = "pokazaniya", schema = "komraz", catalog = "")
public class PokazaniyaEntity {
private int id;
private double value;
private Date date;
private SchetchikEntity schetchik;
@Id
... |
package com.tencent.mm.protocal;
import com.tencent.mm.protocal.c.g;
final class c$gr extends g {
c$gr() {
super("reportMiniProgramPageData", "reportMiniProgramPageData", 284, false);
}
}
|
package com.tencent.mm.protocal.c;
import com.tencent.mm.bk.a;
import com.tencent.mm.bk.b;
public final class bzj extends a {
public long rxH;
public int svC;
public int svD;
public int svE;
public int svF;
public b svG;
public long svs;
protected final int a(int i, Object... objArr) ... |
package com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.builder;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.ArbeitsvorgangTypType;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.KIPPENSolldatenType;
import java.io.StringWriter;
import javax.xml.bind.JAXBElement;
import javax.xml.bind... |
package jawale.ankita.helloworld;
import android.graphics.Typeface;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import static android.graphics.Typeface.ITALIC;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCrea... |
package com.demo.modules.sys.controller;
import com.demo.common.annotation.SysLog;
import com.demo.common.entity.Page;
import com.demo.common.entity.R;
import com.demo.modules.sys.entity.SysLogEntity;
import com.demo.modules.sys.service.SysLogService;
import org.springframework.beans.factory.annotation.Autowired;
impo... |
public class staticvariable1 {
static int var1=77;
String var2;
public static void main(String args[])
{
staticvariable1 ob1 = new staticvariable1();
staticvariable1 ob2 = new staticvariable1();
ob1.var1=88;
ob1.var2="I'm Object1";
ob2.var1=99;
ob2.var2="I'm Object2";
System.out.println("ob1... |
package com.ibm.ive.tools.japt.reduction.ita;
import java.util.Collection;
import java.util.Iterator;
import java.util.TreeMap;
public class FieldCollection {
/*
* Because of the implementation of the Comparable interface in
* FieldInstance, the use of TreeMap here cannot include two different
* fie... |
package com.tb.bughub.order.demo;
import com.tb.bughub.order.demo.domain.OrderRequest;
import com.tb.bughub.order.demo.domain.OrderResponse;
import com.tb.bughub.order.demo.model.Order;
import com.tb.bughub.order.demo.repository.OrderRepository;
import com.tb.bughub.order.demo.service.OrderService;
import com.tb.bughu... |
/**
*
*/
package excepciones;
/**
* @author susana
*
*/
@SuppressWarnings("serial")
public class ErrorNumeroCiclosIncorrecto extends Exception {
/**
*
*/
public ErrorNumeroCiclosIncorrecto() {
// TODO Auto-generated constructor stub
}
/**
* @param arg0
*/
public ErrorNumeroCiclosIncorrecto(Stri... |
package com.lty.entity;
/**
* @Author: lty
* @Date: 2021/1/20 10:11
*/
public class ReferenceData {
private String data;
private String data2;
public ReferenceData(String data, String data2) {
this.data = data;
this.data2 = data2;
}
public String getData2() {
return dat... |
package com.salesianos.ModeloManyToMany.service;
import com.salesianos.ModeloManyToMany.model.Song;
import com.salesianos.ModeloManyToMany.repositories.SongRepository;
import com.salesianos.ModeloManyToMany.service.base.BaseService;
import org.springframework.stereotype.Service;
@Service
public class SongService
... |
package com.villcore.gis.tiles.server;
import com.villcore.gis.tiles.FilePosition;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.ni... |
package com.facebook.yoga;
public interface YogaNodeClonedFunction {
void onNodeCloned(YogaNode paramYogaNode1, YogaNode paramYogaNode2, YogaNode paramYogaNode3, int paramInt);
}
/* Location: C:\Users\august\Desktop\tik\df_rn_kit\classes.jar.jar!\com\facebook\yoga\YogaNodeClonedFunction.class
... |
package com.deltastuido.order.interfaces;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.deltastuido.cart.domain.Cart;
import com.deltastuido.store.Address;
@Xml... |
package se.magmag.oauth.properties;
/**
* Created by magnus.eriksson on 04/07/16.
*/
import lombok.extern.slf4j.Slf4j;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import javax.annotation.PostConstruct;... |
/*
* 注册时的操作类
* 更新时间:
* ZQW-2018-03-15
* ZQW-2018-03-16
*/
package controller;
import java.awt.Color;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
import model.DataBase;
import model.FileText;
import model.JudgeTextField;
import model.Time;
public ... |
package com.tencent.mm.plugin.remittance.model;
import com.tencent.mm.ab.b;
import com.tencent.mm.ab.b.a;
import com.tencent.mm.network.q;
import com.tencent.mm.protocal.c.lo;
import com.tencent.mm.protocal.c.lp;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.wallet_core.c.h;
import java.net.URLDecod... |
package com.xindq.yilan.util;
public class UrlUtil {
public static String getHttpUrl(String address, String path) {
return "http://" + address + path;
}
public static String getWsUrl(String address, String path) {
return "ws://" + address + path;
}
}
|
package com.bsa.bsa_giphy.dto;
import lombok.AllArgsConstructor;
import lombok.Data;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
@Data
@AllArgsConstructor
public class UserIdDto {
@Pattern(regexp = "^[\\w\\-. ]+$")
@Size(min = 1, max = 260)
private final String ... |
// $Id: ackermann.java,v 1.5 2001/11/17 17:20:39 doug Exp $
// http://www.bagley.org/~doug/shootout/
package com.harris.mobihoc;
public class ackermann implements Runnable{
private boolean contin = false;
private int num = 10;
public ackermann(boolean contin, int num){
this.contin = contin;
... |
package org.usfirst.frc.team346.camera;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
public class PiCamera extends Thread
{
boolean isValid;
double lastTargetX;
double lastTargetY;
double lastTargetZ;
double lastTargetRotX;
double lastTargetRotY;
double lastTargetRotZ;
double linearDistance... |
package com.company.dog;
public class Sichu implements Dog{
@Override
public void introduces() {
System.out.println("츄츄츄츄츄츄츄츄");
}
}
|
package com.tbg.capture;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import android.Manifest;
import android.annotation.SuppressLint;
import android.content.pm.PackageManager;
import andr... |
package com.youthchina.domain.Qinghong;
import java.sql.Timestamp;
/**
* @program: youthchina
* @description: 专业信息表
* @author: Qinghong Wang
* @create: 2019-04-09 09:34
**/
public class Major {
private Integer major_num;
private Integer major_level;
private String major_code;
private String major... |
package com.aplicacion.guiaplayasgalicia.resultadoinfomareas;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.Locale;
import android.content.Con... |
package com.dvg111.model;
import java.io.Serializable;
import javax.persistence.*;
/**
* The primary key class for the ss_event database table.
*
*/
@Embeddable
public class SsEventPK implements Serializable {
//default serial version id, required for serializable classes.
private static final long ... |
package com.sky.service;
import com.sky.Student;
public class StudentService {
public Student getStudentById() {
Student student = new Student();
student.setName("张龙");
return student;
}
}
|
package cn.bs.zjzc.model.bean;
/**
* Created by yiming on 2016/6/20.
*/
public class RegisterRequestBody {
public String token;
public String acount;
public String name;
public String passwd;
public String confirmPassword;
public String code;
public RegisterRequestBody(String token, Stri... |
package com.example.logins;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.provider.ContactsContract;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import androi... |
package weather.model;
/**
* Une classe pour représenter le noeud "main" retourné par l'api openweather.
*
* @author Josselin Tobelem
*
*/
public class Meteo {
private double temp;
private int humidity;
// TODO 1. ajouter les autres attributs
// TODO 2. générer un constructeur "using fields" (fonction... |
package implementations;
import interfaces.AbstractBinarySearchTree;
public class BinarySearchTree<E extends Comparable<E>> implements AbstractBinarySearchTree<E> {
private Node<E> root;
public BinarySearchTree() {
}
public BinarySearchTree(Node<E> root) {
this.root = root;
... |
package com.tencent.mm.plugin.scanner.util;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
class e$10 implements OnClickListener {
final /* synthetic */ e mMX;
e$10(e eVar) {
this.mMX = eVar;
}
public final void onClick(DialogInterface dialogI... |
/*
* 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 com.sia.mainInterface;
import com.sia.ui.transaksi.*;
//import com.sia.ui.aruskas.HelpProduk;
import com.sia.ui.pengaman.fLogi... |
package com.tamimattafi.mydebts.ui.fragments.drawer.main;
import java.lang.System;
@kotlin.Metadata(mv = {1, 1, 16}, bv = {1, 0, 3}, k = 1, d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u0001B\u0005\u00a2... |
package com.gmail.merikbest2015.ecommerce.controller;
import com.gmail.merikbest2015.ecommerce.domain.Order;
import com.gmail.merikbest2015.ecommerce.domain.User;
import com.gmail.merikbest2015.ecommerce.service.OrderService;
import com.gmail.merikbest2015.ecommerce.service.UserService;
import lombok.extern.slf4j.Slf4... |
package com.zilker.taxi.ui;
import java.util.ArrayList;
import java.util.InputMismatchException;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.zilker.taxi.bean.CabModel;
import com.zilker.taxi.bean.CabModelDetail;
import com.zilker.taxi.constant.Constants;
impor... |
package com.smxknife.springdatajpa.model.user;
/**
* @author smxknife
* 2020/11/19
*/
public class Team {
}
|
package io;
import org.junit.Before;
import org.junit.Test;
import testutilities.TestUtilities;
import util.MyArrayList;
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import static org.junit.Asse... |
/*
* Copyright 2016-2018 www.jeesuite.com.
*
* 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 o... |
package pattern_test.factory_method;
/**
* Description:
*
* @author Baltan
* @date 2019-04-02 11:03
*/
public class Test1 {
public static void main(String[] args) {
ForeverFactory foreverFactory = new ForeverFactory();
Bicycle forever = foreverFactory.createBicycle();
System.out.printl... |
/*
* 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 resourcemanagementapp.tags;
import com.jfoenix.controls.JFXComboBox;
import com.jfoenix.controls.JFXTextField;
import java.io.... |
package Networking.HighLevelAPIS.URLConnections;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class Main {
public static void main(String[... |
public class FundoRendaFixaLongoPrazo extends FundoRendaFixa{
public double getTaxaIR(Saldo saldo) {
int quantidadeDias = saldo.getQuantidadeDiasAplicacao();
if (quantidadeDias > 720) {
return 0.15;
} else if (quantidadeDias >= 361 && quantidadeDias <= 720) {
return 0.175;
} else if (quantidadeDias ... |
package com.tencent.mm.plugin.account.ui;
import android.content.Intent;
import android.widget.Toast;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.kernel.a;
import com.tencent.mm.kernel.g;
import com.tencent.mm.modelsimple.q;
import com.tencent.mm.plugin.account.a.j;
import com.tencent... |
package server;
/**
* Created by Portatile on 18/05/2017.
*/
public abstract class AbstractServer {
private final Server server;
/**
* Costruttore astratto del server (socket o rmi)
* @param server
*/
public AbstractServer(Server server)
{
this.server = server;
}
pub... |
package DAL.Polish;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceException;
import javax.persistence.Query;
import DAL.DAL_Generic;
import basicas.polish.Polish;
public class DAL_Polish extends DAL_Generic<Polish> {
public DAL_Polish(EntityManager em) {
sup... |
import java.awt.*;
import javax.swing.*;
//import javax.swing.border.*;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.lang.NumberFormatException;
import java.lang.NullPointerException;
public class ClientJPanel extends Painel implements ActionLis... |
package groupon.edanpossey.groupon1.Client.DataAccessLayer;
import android.content.ContentValues;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import groupon.edanpossey.groupon1.Entities.AccessLevel;
/**
* Created by IlayDavid on 17... |
package com.ibm.esc.xml.parser.sax.samples;
import java.net.*;
import java.io.*;
import org.xml.sax.*;
import com.ibm.esc.xml.parser.sax.*;
import com.ibm.esc.xml.parser.sax.errorhandler.*;
/**
* This class implements a sample of the SAX XML parser
* generating a trace of the parsing on the Console.
*/
... |
package q0226_binaryTree;
import java.util.LinkedList;
import java.util.Queue;
class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) {
val = x;
}
}
public class InvertBinaryTree {
/**
翻转一棵二叉树。
输入:
4
/ \
2 7
/ \ / \
1 3 6 9
输出:
4
/ \
7 2... |
package com.voiceman.cg.serviceImpl;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.voiceman.cg.entities.CMD;
import com.voiceman.cg... |
package com.rs.game.player.dialogues;
import com.rs.game.player.Skills;
public class LargeLamp extends Dialogue {
int XP = 1550;
int LAMP = 23715;
@Override
public void start() {
sendOptionsDialogue("What skill would you like to gain experience in?", "Attack", "Strength", "Defence", "Ranged", "More...");
}... |
package com.smallproject.dominicparks.pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class ConfirmationPage {
WebDriver webdriver;
public ConfirmationPage(WebDriver webdriver) {
... |
/**
* Copyright 2013-present febit.org (support@febit.org)
*
* 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 a... |
package org.bardibardi.jruby;
import org.jruby.javasupport.JavaEmbedUtils;
import org.jruby.runtime.builtin.IRubyObject;
import com.google.inject.Inject;
import com.google.inject.Singleton;
/**
* The RubyApp (via IRubyO) is meant to be the
* starting point for using JRuby from java.
* A Guice Injector is used to c... |
package com.online.trip;
import static org.junit.Assert.assertTrue;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.apache.commons.lang.StringUtils;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mockito;
import org.springframewo... |
package com.mideas.rpg.v2.game.item;
public class RequestItem {
private DragItem slotType;
private int gemSlot;
private int slot;
private int id;
public RequestItem(int id, DragItem slotType, int slot, int gemSlot) {
this.slotType = slotType;
this.gemSlot = gemSlot;
this.slot = slot;
this.id = id;
}
... |
/*
* Copyright 2011 frdfsnlght <frdfsnlght@gmail.com>.
*
* 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 appl... |
package com.gili.msmservice.untils;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Random;
public class RandomUntils {
private static final Random random=new Random();
private static final DecimalFormat fourformat=new DecimalFormat... |
package com.tencent.mm.plugin.appbrand.dynamic.a;
import android.os.Bundle;
import com.tencent.mm.ipcinvoker.a;
import com.tencent.mm.ipcinvoker.c;
import com.tencent.mm.plugin.appbrand.dynamic.h.b;
class b$a implements a<Bundle, Bundle> {
private b$a() {
}
public final /* synthetic */ void a(Object obj,... |
package com.ibm.ive.tools.japt.testcase.escape;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Enumeration;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import java.util.Vector;
public class EscapeClass {
public static void main() {
Object arr... |
package se.jaitco.queueticketapi.controller;
import org.junit.Before;
import org.junit.Test;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.MockitoAnnotations;
import se.jaitco.queueticketapi.model.LoginRequest;
import se.jaitco.queueticketapi.model.LoginRespons... |
package com.espendwise.manta.service;
import com.espendwise.manta.model.data.OrderPropertyData;
import com.espendwise.manta.model.data.PropertyData;
import com.espendwise.manta.model.view.EntityPropertiesView;
import java.util.List;
public interface PropertyService {
public List<PropertyData> findEntityPropert... |
/*
* 2012-3 Red Hat Inc. and/or its affiliates and other contributors.
*
* 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 requi... |
import java.net.MalformedURLException;
import java.net.URL;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.remote.DesiredCapabilities;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.remote.AndroidMobileCapabilityT... |
/*
* Sonar GreenPepper Plugin
* Copyright (C) 2009 SonarSource
* dev@sonar.codehaus.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at... |
package gr.athena.innovation.fagi.exception;
/**
* Wrapper exception for wrong input related exceptions.
*
* @author nkarag
*/
public class WrongInputException extends Exception{
/**
* Empty constructor of a Wrong Input Exception.
*/
public WrongInputException() {}
/**
* Constructor ... |
package com.timebusker.repository;
import com.timebusker.entity.UserEntity;
import org.springframework.data.mongodb.repository.MongoRepository;
/**
* @DESC:UserRepository
* @author:timebusker
* @date:2018/9/5
*/
public interface UserRepository extends MongoRepository<UserEntity, Integer> {
/*
* MongoRep... |
package com.mysql.cj.protocol;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;
public class NetworkResources {
private final Socket mysqlConnection;
private final InputStream mysqlInput;
private final OutputStream mysqlOutput;
public Networ... |
package com.atguigu.gmall.index.service;
import com.atguigu.gmall.pms.vo.CategoryVO;
import com.atguigu.gmall.pms.entity.CategoryEntity;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public interface IndexService {
public List<CategoryEntity> queryLvel1Category() ;
List<Cate... |
package com.tencent.magicbrush.engine;
import java.util.TimerTask;
public class AppBrandContext$a extends TimerTask {
public int bnu;
public boolean bnv;
final /* synthetic */ AppBrandContext bnw;
public AppBrandContext$a(AppBrandContext appBrandContext, int i, boolean z) {
this.bnw = appBran... |
package com.tencent.mm.plugin.honey_pay.ui;
import com.tencent.mm.ab.l;
import com.tencent.mm.wallet_core.c.h.a;
class HoneyPayCheckPwdUI$6 implements a {
final /* synthetic */ HoneyPayCheckPwdUI kld;
HoneyPayCheckPwdUI$6(HoneyPayCheckPwdUI honeyPayCheckPwdUI) {
this.kld = honeyPayCheckPwdUI;
}
... |
package org.apache.giraph.worker;
import org.apache.hadoop.io.Text;
import java.util.regex.Pattern;
public class KMeansNodeWorkerContext extends DefaultWorkerContext {
private double[][] centers;
private int numberOfClusters;
private int numberOfDimensions;
private int maxIterations;
private fi... |
package com.team_linne.digimov.model;
import lombok.*;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.FieldType;
import org.springframework.data.mongodb.core.mapping.MongoId;
import java.util.List;
@Document
@Data
@Builder
@NoArgsConstructor
@AllAr... |
/*
* Licensed to the University Corporation for Advanced Internet Development,
* Inc. (UCAID) under one or more contributor license agreements. See the
* NOTICE file distributed with this work for additional information regarding
* copyright ownership. The UCAID licenses this file to You under the Apache
* Lic... |
/*
* Copyright (C) 2021-2023 Hedera Hashgraph, LLC
*
* 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 applicab... |
package com.slort.model.security;
// Application imports
import com.slort.model.EntityBase;
// Java imports
import java.util.Set;
public class OpcionMenu extends EntityBase implements Comparable {
public OpcionMenu() {
}
public OpcionMenu(Long id) {
setIdOpcionMenu(id);
}
public Long getI... |
package baekjoon.priority_queue;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Comparator;
import java.util.PriorityQueue;
public class Test_11286 {
//절댓값 힙
//Value 클래스 만들고 Comparator의 compare 메소드 구현해서 해결
public static void main(String[] args... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.