text stringlengths 10 2.72M |
|---|
package jwscert.jaxws.services.fromwsdl;
import java.io.PrintStream;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import javax.xml.bind.Unmarshaller;
import javax.xml.bind.util.JAXBSource;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.D... |
package net.minecraft.server.management;
import net.minecraft.block.Block;
import net.minecraft.block.BlockChest;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.mi... |
package Domain.Effetti;
import Domain.*;
import Domain.Effetti.lista.ScambiaRisorse;
import Domain.Effetti.lista.effectInterface.*;
import Exceptions.DomainException;
import Exceptions.SaltaTurnoException;
import Exceptions.SpazioAzioneDisabilitatoEffettoException;
import org.jetbrains.annotations.NotNull;
import jav... |
package com.videoservice.dao;
import com.videoservice.pojo.PickVideo;
import com.videoservice.pojo.Video;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface PickVideoDao {
public PickVideo findPackVideobyId(@Param("id") long id);
public long inser... |
package miniproject;
import java.util.Scanner;
public class BookTest
{
public static void main(String arg[])
{
Book book[]=new Book[10];
int bookId,choice=0,count=0;
String name,authorName,publisher;
double price;
Scanner sc=new Scanner(System.in);
do {
System.out.println("1.addbook... |
package com.simplewidget.demo;
import android.app.Activity;
import android.os.Bundle;
import android.widget.SeekBar;
import android.widget.SeekBar.OnSeekBarChangeListener;
import android.widget.TextView;
import android.widget.Toast;
public class SeekDemo extends Activity {
/** Called when the activity is first crea... |
package com.diozero.ws281xj.spi;
/*-
* #%L
* Organisation: diozero
* Project: diozero - WS281x Java Wrapper
* Filename: WS281xSpi.java
*
* This file is part of the diozero project. More information about this project
* can be found at https://www.diozero.com/.
* %%
* Copyright (C) 2016 - 2023 diozer... |
package org.rebioma.client.bean;
public class RevalidationException extends Exception {
private static final long serialVersionUID = 1779988796313065886L;
private RevalidationResult result=new RevalidationResult();
public RevalidationResult getResult() {
return result;
}
public void setResult(R... |
package com.rekoe.mvc.config;
/**
* @author 科技㊣²º¹³
* Feb 16, 2013 2:35:33 PM
* http://www.rekoe.com
* QQ:5382211
*/
public class GameActionHandler{
private com.rekoe.mvc.Loading loading;
private GameConfig config;
public GameActionHandler(GameConfig config) {
this.config = config;
this.loading = conf... |
package com.ftx.ftxrenewal.controller;
import lombok.extern.log4j.Log4j2;
import org.springframework.security.access.annotation.Secured;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import o... |
package org.ownbit.spring.dp.creational.abstractfactory;
public interface Color {
String getColor();
}
|
package task1.tests;
import org.apache.log4j.Logger;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebDriverException;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import tas... |
package com.osce.server.portal.system.param;
import com.osce.api.system.param.PfParamService;
import com.osce.dto.system.param.ParamDto;
import com.osce.enums.SysDicGroupEnum;
import com.osce.result.PageResult;
import com.osce.result.ResultFactory;
import com.osce.server.portal.BaseController;
import com.osce.server.u... |
package com.github.stathvaille.marketimports.esi.domain;
import lombok.Data;
@Data
public class ESIKillmailItem {
private long item_type_id;
private long quantity_destroyed;
private long quantity_dropped;
}
|
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
class StatMethodTest {
static Statistics s1;
static Statistics s2;
@BeforeAll
static void setup() {
s1 = new Statistics("values.txt", 5);
s2 = new Statistics("values2.txt", 6);
}
... |
package com.epam.lab.currentdirectory;
import org.apache.log4j.Logger;
import java.io.File;
import java.io.IOException;
import java.nio.file.*;
import java.nio.file.attribute.BasicFileAttributes;
import java.nio.file.attribute.FileTime;
import java.text.SimpleDateFormat;
import java.util.Scanner;
public class Coman... |
/*
* 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.ui.aruskas;
import com.query.PemasukanQuery;
import com.query.PemsSaldoQuery;
import com.query.PendapatanQuery;
import... |
package com.sparknetworks.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.sparknetworks.model.User;
@Repository
public interface UserRepository extends JpaRepository<User,Long>{
User findByEmail(String email);
}
|
package mystruts.action;
import java.io.File;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import o... |
package br.com.tinyconn.bean;
public interface Resposta {
}
|
/*
* Purpose:-find the prime numbers that are Anagram and Palindrome
*
* @Author:-Arpana kumari
*
* version:-1.0
* Since:-18 April, 2018
*/
package com.bridgeit.algorithmprogram;
import com.bridgeit.utility.Utility;
public class FindPrimePalindromeAndAnagram {
public static void main(String[] args) {
in... |
package model;
import ui.DeadAhead;
import java.awt.*;
public abstract class Bullet {
public static final int SPEED = 10;
public static final Color COLOR = new Color(255, 255, 255);
protected float xc;
protected float yc;
protected Player player;
protected Direction dir;
public float si... |
package com.personal.kata;
import com.personal.kata.model.Player;
import org.apache.commons.lang3.StringUtils;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provide... |
/**
* Requires that a single Literal be true for the Requirement to be met.
* @author cdgira
*
*/
public class SingleRequirement implements Requirement
{
Literal m_literal;
public SingleRequirement(Literal literal)
{
m_literal = literal;
}
/**
* Checks the world to see i... |
package com.tiandi.logistics.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tiandi.logistics.entity.pojo.DeliveryPrice;
/**
* <p>
* 配送价格管理 服务类
* </p>
*
* @author TP
* @since 2020-11-25
*/
public interface DeliveryPriceService extends IService<DeliveryPrice> {
int updateDel... |
package com.deltastuido.payment.domain;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persist... |
import java.awt.*;
import javax.swing.*;
public class Tour
{
private JButton[][] buttons;
private int currentRow;
private int currentCol;
private int counter;
private final int[] xMoves = { 2, 1, -1 , -2, -2, -1, 1 , 2 };
private final int[] yMoves = { -1, -2, -2, -1, 1, 2, 2, 1 };
//co... |
package com.hedong.hedongwx.entity;
import java.util.Date;
public class Area {
/** 表自增id */
private Integer id;
/** 小区名 */
private String name;
/** 钱包费用模板id */
private Integer tempid;
/** 在线卡费用模板id */
private Integer tempid2;
/** 商户id */
private Integer merid;
/** 管理者id */
private Integer manid;
/** 分成比... |
package exercicios;
public class Exercicio4_1 {
public static void main(String[] args) {
System.out.println(par(11));
}
static String par(int num){
if(num % 2 == 0){
return "par";
} else {
return "impar";
}
}
}
|
package com.zzxhdzj.ctsync.api;
import android.text.TextUtils;
import com.zzxhdzj.ctsync.Callback;
import com.zzxhdzj.ctsync.CtSync;
import com.zzxhdzj.ctsync.api.base.ApiGateway;
import com.zzxhdzj.ctsync.api.base.ApiResponse;
import com.zzxhdzj.ctsync.api.base.ApiResponseCallbacks;
import com.zzxhdzj.ctsync.api.base... |
package eu.stoehler.simplebot.sing;
import eu.stoehler.botapi.bots.SubCommandBot;
import eu.stoehler.botapi.bots.BotCallHistory.Call;
import eu.stoehler.botapi.bots.Context;
import eu.stoehler.botapi.data.SafeDataSet;
/**
*
* @author joern
*/
public final class SingBot extends SubCommandBot {
/**
* Only ... |
package controllers;
/**
* LemonPiePlay
* Authentication.java
* Purpose: Auth the user.
*
* @author Rick van Schalkwijk
* @date 27/11/13
* @version 0.1
*/
public class Authentication {
/**
* Auth the user.
*
* @return void.
*/
public void index(){
}
}
|
package com.tinkerboots.sdk;
import android.content.Context;
import com.tencent.tinker.lib.c.a;
import com.tencent.tinker.lib.d.c;
import com.tencent.tinker.lib.d.d;
import com.tencent.tinker.lib.service.AbstractResultService;
import com.tencent.tinker.loader.TinkerRuntimeException;
import com.tencent.tinker.loader.ap... |
package com.pcms.service;
import org.weixin4j.model.message.Articles;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public interface FileService {
/**
* 生成HTML
*
* @param param
*/
public void genFile(Map param);
public void deleFile(St... |
package entityPack;
import org.newdawn.slick.Animation;
import org.newdawn.slick.Color;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.Music;
import org.newdawn.slick.geom.Rectangle;
import asset.ProjectileManager;
import inventoryPack.Projectile;
import mainGame.WindowGame;
import mainGame.Wo... |
package com.polsl.edziennik.desktopclient.controller.teacher.groups;
import java.awt.event.ActionEvent;
import javax.swing.ImageIcon;
import com.polsl.edziennik.desktopclient.controller.teacher.TeacherAction;
import com.polsl.edziennik.desktopclient.view.common.GroupsOverview;
import com.polsl.edziennik.desk... |
package View.GUISistemaDeReservacion;
import Model.SistemaDeReservacion.GestorReservacion;
import Model.SistemaDeReservacion.Reservacion;
import Model.SistemaDeUsuario.Usuarios;
import java.io.IOException;
import java.util.Calendar;
import java.util.Scanner;
public class GUISistemaDeReservacion {
private Gesto... |
package org.qizuo.cm.modules.base.service;
import org.qizuo.cm.modules.base.dao.BaseDao;
import org.qizuo.cm.modules.base.pojo.BasePoJo;
import org.qizuo.cm.modules.base.pojo.PagePoJo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
impor... |
package com.example.retail.services.taxutility;
import com.example.retail.models.taxutility.Taxes;
import com.example.retail.repository.taxutility.TaxRepository;
import com.example.retail.util.CreateResponse;
import com.example.retail.util.JWTDetails;
import com.example.retail.util.ValidationResponse;
import com.examp... |
package com.goldgov.portal.infomanage.web;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.ResourceBundle;
import java.util.UUID;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.bea... |
package lintcode;
import java.util.List;
/**
* @Author: Mr.M
* @Date: 2019-05-31 15:35
* @Description:
**/
public class T147水仙花数 {
public static void getNarcissisticNumbers(int n) {
// write your code here
Integer[] a = new Integer[n];
int sum = 0;
Double aa = Math.pow(10,n)-1;
Double bb = Math.pow(10,... |
package com.guilhermefgl.spring.crudproduto.models.services;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.stereotype.Service;
import com.guilhermefgl.spring... |
package com.tencent.pb.common.a;
import com.tencent.smtt.sdk.TbsListener$ErrorCode;
public final class a {
public static boolean vbC = false;
public static boolean vbD = true;
public static int vbE = 1500;
public static int vbF = TbsListener$ErrorCode.INFO_CODE_MINIQB;
public static boolean vbG = ... |
package com.lidadaibiao.nacos.consumer.controller;
import com.lidadaibiao.microservice.service1.api.Service1Api;
import com.lidadaibiao.microservice.service2.api.Service2Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springfram... |
package com.elvarg.definitions;
import java.util.HashMap;
import java.util.Map;
import com.elvarg.GameConstants;
import com.elvarg.util.JsonLoader;
import com.elvarg.world.model.Item;
import com.elvarg.world.model.container.impl.Shop;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
/**
* Represents ... |
package com.stem.entity;
public class TigerUserinfo {
private Integer id;
private String idcard;
private String phone;
private String realName;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Strin... |
package de.ertlu.rob.Rage.Shader;
import android.content.Context;
import android.opengl.GLES20;
import android.util.Log;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashSet;
import java.util.Set;
import de.ertlu.rob.Rage.Co... |
package Clock;
import static org.junit.Assert.*;
import org.junit.Test;
public class BerlinClockTest {
@Test
public void testTime1() {
String Time="15:15:15";
String expectedResult="O\r\n" + "RRRO\r\n" + "OOOO\r\n" + "YYROOOOOOOO\r\n" + "OOOO";
BerlinClock berlinClock = new BerlinClock();
S... |
package com.cognitive.newswizard.api.vo.mined;
import java.time.LocalDate;
/**
* Contains the number a proper noun is counted by date
* @author tiago
*
*/
public class SimpleDailyReportItem {
private final String properNoun;
private final LocalDate date;
private Long count = 0L;
public SimpleDailyReport... |
package com.avogine.junkyard.scene.render.shaders.util;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import java.lang.reflect.Field;
import java.util.Arrays;
import java.util.List;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api... |
package com.youthchina.domain.Qinghong;
/**
* @program: youthchina
* @description: 字典表通用domain类
* @author: Qinghong Wang
* @create: 2019-04-10 11:44
**/
public class Entry {
private String id;
private String name;
public String getId() {
return id;
}
public void setId(String id) {
... |
package com.espendwise.manta.auth;
import java.io.Serializable;
public class AuthDataSourceIdent implements Serializable {
public static final String JDBC_URL = "jdbcUrl";
private String dataSourceName;
private String jdbcUrl;
public AuthDataSourceIdent(String dataSourceName, String jdbcUrl) {
... |
package org.fail.specialistjava1.lessons.lesson11;
public class Main {
public static void main(String[] args) {
Rect rect = new Rect(2, 3, -3, 2, "Rect1");
Circle circle = new Circle(10, 2, -1, "Circle1");
Shape[] shapes = {rect, circle, new Rect(1, 5, 2, 4, "Rect2")};
printAreas(shapes);
}
private stati... |
package world.creatures;
/**
*
* @author Kuhy
*/
public class Player extends Creature {
}
|
package com.takshine.wxcrm.message.sugar;
/**
* lov
*
*/
public class LovReq extends BaseCrm{
private String lov_key;
private String lov_val;
public String getLov_key() {
return lov_key;
}
public void setLov_key(String lov_key) {
this.lov_key = lov_key;
}
public String getLov_val() {
return lov_val;
... |
package com.usnschool;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JTextArea;
import javax.swing.JTextField;
public class SongContentFrame extends JFrame{
private JTextArea ... |
/*
* Test class for Door.java of ESOF322-AssignmentP2
*/
package esof322.a4;
import esof322.a4.Door;
import esof322.a4.Room;
import esof322.a4.Key;
import esof322.a4.Player;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;... |
package com.sporsimdi.model.entity;
import java.math.BigDecimal;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;... |
package temp;
import com.google.gson.Gson;
import tools.Request;
import tools.Respond;
import tools.Unit;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.Arrays;
import java.net.Socket;
/**
* Created by troy on 25.08.2016.
*/... |
/*
* 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... |
package com.bingo.code.example.mediator;
/**
* 职员A
*/
class ZhiyuanA extends ZhiYuan {
public ZhiyuanA(Mediator mediator, String name) {
super(mediator, name);
}
}
/**
* 职员B
*/
class ZhiyuanB extends ZhiYuan {
public ZhiyuanB(Mediator mediator, String name) {
super(mediator, name);
... |
package com.mundo.core.aop;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.Signature;
import org.aspectj.lang.reflect.MethodSignature;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.reflect.Method;
/**
* AbstractAspect
*
* @author maodh
* @since 2017/11/17
*/
public abstra... |
package java_Review;
import java.util.Scanner;
public class Day1 {
public static void main(String[] args) {
System.out.println("Hello World");
/*
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
*/
System.out.println(" 1 ");
System.out.println(" 1 1");... |
package org.opentosca.siengine.plugins.script.service.impl.servicehandler;
import org.opentosca.instancedata.service.IInstanceDataService;
import org.opentosca.siengine.plugins.service.ISIEnginePluginService;
import org.opentosca.toscaengine.service.IToscaEngineService;
import org.slf4j.Logger;
import org.slf4j.Logger... |
package com.healthiq;
import java.util.HashMap;
import java.util.List;
import com.healthiq.entities.Entry;
/**
* Public API of Blood Sugar Simulator
*
* @author Bakhy
*
*/
public interface BloodSugarSimulator {
public void printBloodSugarPerMinuteMap();
public void printGlycationsPerMinuteMap();
public v... |
package me.zakeer.justchat.sessions;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import me.zakeer.justchat.utility.Constant;
public class SessionOnce {
private static final String KEY = Constant.TAG_APP_NAME;
public static boolean... |
package com.podarbetweenus.Activities;
import android.app.Dialog;
import android.app.NotificationManager;
import android.app.TabActivity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import androi... |
package com.tencent.mm.plugin.card.ui;
import android.content.Intent;
import android.text.TextUtils;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.plugin.card.a.d;
import com.tencent.mm.plugin.card.d.b;
import com.tencent.mm.plugin.card.model.g;
import com.tencent.mm.plugin.... |
package com.google.android.gms.analytics.internal;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.text.TextUtils;
public final class i extends o {
SharedPreferences aFw;
private long aFx;
private long aFy = -1;
final a aFz = new a(this, "monit... |
package com.jlgproject.fragment;
import android.content.Intent;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Spinner;
import c... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.onlineshopping.order;
/**
*
* @author deepak
*/
public class MasterOrder {
private String productname;
private double productprice,subtotal;
private int productid,quantity;
public MasterOrder()... |
package com.feicui.edu.eshop.network.core;
/**
* Created by Administrator on 2017/3/1 0001.
*/
// 请求参数的基类:为了防止直接实现,我们将类做成抽象类
public abstract class RequestParam {
}
|
package com.tencent.sqlitelint;
import java.util.List;
public interface b {
void eh(List<SQLiteLintIssue> list);
}
|
package com.kprojekt.alonespace.activities.android;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.HashMap;
import org.andengine.engine.options.resolutionpolicy.RatioResolutionPolicy;
import org.andengine.util.adt.list.SmartList;
import org.w3c.dom.Node;
import android.app.Activity;
import ... |
package com.sjain.couponduniatask.network;
import android.content.Context;
import com.sjain.couponduniatask.MyApp;
import com.sjain.couponduniatask.network.services.ApiService;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
/**
* Created by arjitagarwal on 30/09/15.
*/
public cl... |
package leetcode;
// 给定一个字符串 s 和一个非空字符串 p,找到 s 中所有是 p 的字母异位词的子串,返回这些子串的起始索引。
//字符串只包含小写英文字母,并且字符串 s 和 p 的长度都不超过 20100。
//字母异位词指字母相同,但排列不同的字符串。
//不考虑答案输出的顺序。
//示例 1:
//输入:
//s: "cbaebabacd" p: "abc"
//输出:
//[0, 6]
import java.util.*;
public class 找到字符串中所有字母异位词 {
public static void main(String[] arg... |
package baekjoon.mathmatics1;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Test_2839 {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Intege... |
package com.jgybzx.isworkday.utils;
/**
* @author Jgybzx
* @date 2021/10/9 9:46
* des 星期枚举
*/
public enum WeekEnum {
/**
* 星期
*/
MON(1, "星期一"),
TUE(2, "星期二"),
WED(3, "星期三"),
THU(4, "星期四"),
FRI(5, "星期五"),
SAT(6, "星期六"),
SUN(7, "星期日");
private int value;
private Stri... |
package com.tencent.mm.plugin.sns.ui;
import com.tencent.mm.g.a.qq;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
class SnsTimeLineUI$54 extends c<qq> {
final /* synthetic */ SnsTimeLineUI odw;
SnsTimeLineUI$54(SnsTimeLineUI snsTimeLineUI) {
this.odw = snsTimeLineUI;
this.sFo ... |
package com.tencent.mm.plugin.wallet_index.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
class OrderHandlerUI$2 implements OnClickListener {
final /* synthetic */ OrderHandlerUI pDx;
OrderHandlerUI$2(OrderHandlerUI orderHandlerUI) {
this.pDx = ord... |
package eu.dons.struggle.ergebnis;
import java.util.HashMap;
import java.util.Map;
import org.joda.time.YearMonth;
public class BedarfeErgebnis {
private Map<YearMonth, Bewilligung> bewilligungen = new HashMap<>();
Map<YearMonth, Bewilligung> getBewilligungen(){
return bewilligungen;
}
/**
* Get a Copy... |
package com.and.service;
import java.sql.Connection;
import java.sql.DriverManager;
/**
* Created by Zephyr on 12/3/2014.
*/
public class Database {
private Connection dbConnection;
public Database() throws Exception {
Class.forName("com.mysql.jdbc.Driver").newInstance();
String url = "jdbc... |
package com.example.demo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBi... |
package pers.pbyang.myutil;
import java.util.HashMap;
import java.util.Map;
public class Util1 {
/**
* @param args
*
*/
public static String sql=null;
public static String biaoji=null;
public static String Country(String k) {
Map<String, String> map = new HashMap<String, String>();
map.put("C", "Chine... |
package prj.betfair.api.betting.datatypes;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import prj.betfair.api.betting.datatypes.CancelExecutionReport;
import prj.betfair.api.betting.datatypes.CancelInstructionReport;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
impor... |
package model.terrain;
import java.util.Random;
import javax.swing.ImageIcon;
/**
* A small Mountain<br>
*
* <hr>
* Date created: Jun 6, 2010<br>
* Date last modified: Jun 6, 2010<br>
* <hr>
* @author Glen Watson
*/
public class SmallMountain extends Mountain
{
private static final long serialVersionUID = 1... |
package com.ps.helloapp.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.client.ServiceInstance;
import org.springframework.cloud.client.discovery.DiscoveryClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bi... |
package com.szcinda.express;
import lombok.Data;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import javax.persistence.Version;
import java.io.Serializable;
import java.time.LocalDateTime;
@Data
@MappedSuperclass
public class BaseEntity implements Serializable {
@Id
private String ... |
package server.models;
import org.springframework.data.rest.core.config.Projection;
@Projection(types = Person.class)
public interface PersonProjection {
String getDisplayName();
}
|
package org.sang.controller;
import org.sang.bean.*;
import org.sang.service.*;
import org.sang.utils.Util;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
i... |
package io.bega.kduino.services.actions;
import android.app.Activity;
import android.util.Log;
import com.squareup.otto.Bus;
import java.io.IOException;
import io.bega.kduino.IFinishBluetoothActionCallBack;
import io.bega.kduino.R;
import io.bega.kduino.datamodel.KdUINOOperations;
import io.bega.kduino.kdUINOApplic... |
package ca.mohawk.jdw.shifty.clientapi.event.response.code;
/*
I, Josh Maione, 000320309 certify that this material is my original work.
No other person's work has been used without due acknowledgement.
I have not made my work available to anyone else.
Module: client-api
Developed By: Josh Maione (0003... |
package com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.builder;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.LokaleSprachweltType.GB;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.LokaleSprachweltType.GB.Walzprogramm;
import java.io.StringWriter;
import javax.xml.bind.JAXBElement;
im... |
package br.com.model;
public class Medico extends Funcionario{
int numeroderesgistro;
String especialdade;
public int getNumeroderesgistro() {
return numeroderesgistro;
}
public void setNumeroderesgistro(int numeroderesgistro) {
this.numeroderesgistro = numeroderesgistro;
}
public String getEs... |
package com.smxknife.java2.atomic;
import java.util.concurrent.atomic.AtomicInteger;
/**
* @author smxknife
* 2020/7/27
*/
public class AtomicIntegerDemo {
public static void main(String[] args) {
AtomicInteger integer = new AtomicInteger();
System.out.println(integer.getAndIncrement());
}
}
|
///*******************************************************************************
// * Besiege
// * by Kyle Dhillon
// * Source Code available under a read-only license. Do not copy, modify, or distribute.
// ******************************************************************************/
//package kyle.game.besie... |
import java.util.*;
//https://paiza.jp/challenges/187/show
//??????
//不満度M以内に収めつつ、食事にかかる時間の最小値を出力
public class Cat{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();//猫の数
int M = sc.nextInt();//不満度の限界
CatInfo cat[] = new CatInfo[N];
... |
package com.taotao.rest.service.impl;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.taotao.mapper.TbItemCatMapper;
import com.taotao.pojo.TbItemCa... |
package com.ss.flights.DBConnection.GetAllRows;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import com.ss.flights.DBConnection.Conn;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.CrossOrigin;... |
package ager;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import net.minecraft.world.level.chunk.storage.RegionFile;
import unknown.Tag;
public class Chunk {
private Tag t;
private Tag[] sections = new Tag[16];
priv... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.