text stringlengths 10 2.72M |
|---|
package com.dazhi.authdemo.modules.auth.vo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigInteger;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CenterVOSS implements Serializable {
private static final long se... |
package com.org.serviceexport.api;
import com.org.serviceexport.service.HelloService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
impo... |
package cn.jbit.myshopping;
import java.util.Scanner;
public class AddCust {
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
System.out.println("我行我素购物会员管理系统 > 客户信息系统 > 添加客户信息\n");
System.out.print("请输入会员号(<4位整数>):");
int custNo=sc.nextInt();
System.out.print("请输入会员生日(月/日... |
package com.smxknife.energy.collector.core.driver;
/**
* @author smxknife
* 2021/5/12
*/
public interface Lifecycle {
default void init() {};
default void start() {};
default void stop() {};
default void terminate() {};
}
|
package com.example.ahmed.octopusmart.holders;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.RatingBar;
import android.widget.TextView;
import com.example.ahmed.octopusmart.R;
import com.example.ahmed.octopusmart.View.ExpandableTextView... |
package com.example.demo.hello.web;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.plugins.Page;
import com.example.demo.common.JsonResult;
import com.example.demo.hello.entity.Hello;
import com.example.demo.hello.service.HelloService;
import io.swagger.annotations.ApiImplicitParam;
import io.... |
package com.cisco.jwt_spring_boot.dao;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class AppRoleRepositoryTest {
@Test
void findByRole() {
}
} |
package com.getlosthere.apps.peep.fragments;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import android.util.Log;
import android.widget.Toast;
import com.getlosthere.apps.peep.applications.TwitterApplication;
import com.getlosthe... |
package com.thoughtpropulsion.fj;
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.*;
import org.junit.Test;
public class LambdaTest {
@FunctionalInterface
interface FI1 {
int scooby(final int x);
}
static class FC1 implements FI1 {
public int scooby(final in... |
package com.asiainfo.crm.demo.dao.interfaces;
import com.ai.appframe2.util.criteria.Criteria;
import resource.so.bo.BOTempTestUserBean;
/**
* Dao接口
*/
public interface IBOTempTestUserDAO {
/**
* 新增用户
*
* @param iboTempTestUserValue
* @throws Exception
*/
void addUsers(resource.so.i... |
package org.apache.commons.net.nntp;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.io.StringWriter;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Vector;
import org.apache.commons.net.MalformedServerReplyException;
import org.apache.commons.net.io.D... |
package lesson29.Ex5;
import lesson25.Ex5.Comparator.SortById;
import lesson25.Ex5.Comparator.SortByIdDown;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;
public... |
package com.vic.common.base.result.dtos.req.online;
import java.io.Serializable;
/**
* @classname: BaseRequestEnter
* @description: 基础封装请求参数
* @author: Vayne.Luo
* @date 2019/3/13 16:29
*/
public class BaseRequestEnter implements Serializable{
private static final long serialVersionUID = 4606804421223688087... |
package com.tencent.mm.plugin.account.friend.ui;
import com.tencent.mm.plugin.account.friend.ui.d.a;
class QQFriendUI$3 implements a {
final /* synthetic */ QQFriendUI eMV;
QQFriendUI$3(QQFriendUI qQFriendUI) {
this.eMV = qQFriendUI;
}
public final void ja(int i) {
if (QQFriendUI.a(t... |
package me433.tanay.mycam;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.SurfaceTexture;
import android.hardware.Camera;
import android.os.Bundle;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
im... |
package com.github.bobby.design.observer;
public class ConcreteSubject extends Subject{
public void getState(){
}
public void setState(){
}
}
|
package com.ybh.front.model;
public class FapiaoWithBLOBs extends Fapiao {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FreeHost_Fapiao.con
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
private String con;
... |
package co.nos.noswallet.util;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import java.util.UUID;
import co.nos.noswallet.model.AvailableCurrency;
import co.nos.noswallet.persistance.currency.CryptoCurrency;
import co.nos.noswallet.ui.home.v2... |
package risk.game.strategy;
import java.io.Serializable;
import java.util.LinkedList;
import risk.game.Player;
import risk.game.Territory;
/**
* The Cheater Strategy that implements strategy and serializable operation
*/
public class CheaterStrategy implements Strategy, Serializable {
private Player player;
pri... |
package com.onesignal;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.net.HttpURLConnection;
public class OneSignalRemoteParams {
static class FCMParams {
@Nullable String projectId;... |
package com.goldgov.portal.study.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.goldgov.gtiles.core.dao.mybatis.annotation.MybatisRepository;
import com.goldgov.portal.study.service.CourseInfo;
import com.goldgov.portal.study.service.CourseInfoQuery;
@MybatisRepository(... |
package ua.goit.timonov.enterprise.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annota... |
package com.test;
import java.io.File;
public class TestMethod {
public TestMethod() {
try {
/* DownFileInfoBean bean = new DownFileInfoBean(
"http://cdn.market.hiapk.com/data/upload//2012/09_27/17/car.wu.wei.kyo.shandian_174928.apk", "D:\\temp",
... |
package edu.congyuandong.checkei.util;
import java.text.SimpleDateFormat;
import java.util.Date;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.telephony.TelephonyManager;
import android.util.DisplayMetrics;
/**
* 获取手机的各种信息
*
* @author cong... |
package com.shopify.mapper;
import java.util.List;
import com.shopify.admin.AdminData;
import com.shopify.admin.AdminScopeData;
public interface AdminMapper {
public int insertAdmin(AdminData admin);
public int updateAdmin(AdminData admin);
public int selectAdminCount (AdminData admin);
public int selectAdminPas... |
package com.ojas.rpo.security.dao.Amrejected;
import java.util.List;
import javax.persistence.Query;
import javax.persistence.TypedQuery;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Root;
import org.springframework.transaction.... |
package baekjoon.numbertheory_combinatorics;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Test_2004 {
//2와 5 개수를 카운트 해주기 위해서 그냥 나눠서 나오는 몫만 더하면 됨
//int로 했다가 범위를 초과해서 전부 long으로 바꿔 해결
//처음 했던건 시간초과가 떠서 검색 후 해결
... |
package com.codegym.checkinhotel.controller;
import com.codegym.checkinhotel.model.AppUser;
import com.codegym.checkinhotel.service.user.IAppUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.co... |
/*
* Copyright 2008 University of California at Berkeley
*
* 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 Keming;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JLabel;
import java.awt.BorderLayout;
import javax.swing.JButton;
public class SwingFormExample {
private JFrame frame;
/**
* Launch the application.
*/
public static void main(String[] args) {
Event... |
package com.giga.repository;
import com.giga.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
public interface UserRepository extends JpaRepository<User, Integer> {
}
|
package com.smxknife.java.ex13;
/**
* @author smxknife
* 2018/9/10
*/
public class PackageAuto {
public static void main(String[] args) {
Integer i = 1000;
int j = i;
}
}
|
package com.tencent.mm.protocal.c;
import com.tencent.mm.bk.a;
public final class ask extends a {
public int otY;
public long rUF;
public long rUG;
public String rjK;
protected final int a(int i, Object... objArr) {
int fQ;
if (i == 0) {
f.a.a.c.a aVar = (f.a.a.c.a) ob... |
package com.xzj.lerning;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
//@EnableDiscoveryClient
//@EnableCircuitBreaker
//@EnableFeignClients
public class LerningApplication {
public static void main(String[] args) {
... |
package BackEnd;
public class Zone {
private int zoneId;
private char zoneName;
private double extension;
public Zone(){}
public Zone(int zoneId, char zoneName, double extension){
this.zoneId = zoneId;
this.zoneName = zoneName;
this.extension = extension;
... |
package com.smxknife.servlet.springboot.demo04;
/**
* @author smxknife
* 2020/2/10
*/
public class Demo4InterfaceImpl implements Demo4Interface {
@Override
public String idx() {
return "myIdx";
}
}
|
/* Generated SBE (Simple Binary Encoding) message codec */
package sbe.msg;
import uk.co.real_logic.agrona.DirectBuffer;
import uk.co.real_logic.sbe.codec.java.CodecUtil;
@SuppressWarnings("all")
public class LobDataEncodingDecoder
{
public static final int ENCODED_LENGTH = 4;
private DirectBuffer buffer;
... |
package cn.nam.ssm.seckill.dao.cache;
import cn.nam.ssm.seckill.dao.SeckillDao;
import cn.nam.ssm.seckill.entiy.Seckill;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import ... |
/*
* Copyright 2009 Kjetil Valstadsve
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package com.jdroid.java.mail;
import com.jdroid.java.exception.AbstractException;
public class MailException extends AbstractException {
private static final long serialVersionUID = 7343781404856218086L;
public MailException(Throwable throwable) {
super(throwable);
}
}
|
/**
* Custom button.
*/
package com.neet.entity;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.font.FontRenderContext;
import java.awt.font.GlyphVector;
import java.awt.geom.AffineTransform;
import com.neet.handlers.LevelData;
public class GameButton {
... |
/*
* 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.roket;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import ... |
package com.smxknife.java.ex31;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
/**
* @author smxknife
* 2020/7/22
*/
public class ConcurrentHashMapKetView {
public static void main(String[] args) {
ConcurrentHashMap<Integer, Set<Integer>> ... |
package com.company;
public class People extends Mammal implements Work{
private String nationality; //getter
private String nationalID; //getter
private int salary;
private String[] subject;
public People(String name, boolean sex, int age , String nationality , String nationalID , int salary) {
... |
package com.kuali.sim;
import java.util.List;
public class Floor {
/*
* identity of the floor
*/
private String name;
private int idx;
/*
* Elevator list
*/
private List<Elevator> elevators;
/**
* Constructor
* @param name
*/
public Floor(int idx, List<Elevator> elevators)... |
package com.wshoto.user.anyong.ui.activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import com.wshoto.user.anyong.R;
import com.wshoto.user.anyong.ui.widget.InitActivity;
import butterknife.ButterKnife;
import butterknife.OnClick;
public class... |
package fr.tenebrae.MMOCore.Bags;
import java.io.IOException;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import fr.tenebrae.MMOCore.Items.Item;
import fr.tenebrae.MMOCore.Items.ItemUtils;
import fr.tenebrae.MMOCore.It... |
package com.jk.jkproject.net.okhttp;
public interface ResponseListener {
void onFailure(int paramInt, String paramString1, String paramString2);
void onSuccess(String paramString, Object paramObject);
void onStartRequest();
}
|
package steamarbitrage.steamio.tor;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnect... |
package com.lolRiver.river.util;
import org.apache.commons.lang.StringUtils;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;
import org.springframework.stereotype.Component;
import java.... |
package com.tencent.mm.modelappbrand.b;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.widget.ImageView;
import com.tencent.mm.a.g;
import com.tencent.mm.compatible.util.f;
import com.tencent.mm.modelappbrand.b.d.a;
import com.tencent.mm.sdk.f.e;
import com.tencent.mm.sdk.pla... |
package org.zalando.nakadi.service;
import com.google.common.base.Charsets;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Optional;
... |
package com.tencent.mm.plugin.wallet.pay.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import android.content.Intent;
import android.os.Bundle;
import com.tencent.mm.ab.l;
import com.tencent.mm.plugin.wallet_core.c.w;
import com.tencent.mm.plugin.wallet_core.ui.n;... |
package demo.helloworld;
import act.view.excel.JexlFunc;
@JexlFunc("util")
public class JexlUtils {
public int sum(int a, int b) {
return a + b;
}
}
|
/**
*
*/
package com.wonders.schedule.manage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import com.wonders.schedule.common.util.SimpleLogger;
import com.wonders.schedule.execute.IExec... |
package com.xlickr.dao;
import javax.transaction.Transactional;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.xlickr.hibernate.entities.FlickrImage;
@Repository
@Transactional
public class ImageDaoImpl ... |
package primary.soursefour.selfcode;
//折纸问题 【题目】 请把一段纸条竖着放在桌子上,
// 然后从纸条的下边向上方对折1次,压出折痕后展开。此时折痕是凹下去的,
// 即折痕突起的方向指向纸条的背面。
// 如果从纸条的下边向上方连续对折 2 次,
// 压出折痕后展开,此时有三条折痕,从上到下依次是下折痕、下折痕和上折痕。
// 给定一个输入参数N,代表纸条都从下边向上方连续对折N次,
// 请从上到下打印所有折痕的方向。
// 例如:N=1时,打印: down N=2时,打印... |
package server;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class Server {
private int port;
private int threadPoolMax = 5;
public Server(int po... |
/**
* shopmobile for tpshop
* ============================================================================
* 版权所有 2015-2099 深圳搜豹网络科技有限公司,并保留所有权利。
* 网站地址: http://www.tp-shop.cn
* ——————————————————————————————————————
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用 .
* 不允许对程序代码以任何形式任何目的的再发布。
* ==========================... |
package p4_group_8_repo.Game_levels;
import java.util.concurrent.TimeUnit;
import javafx.collections.ObservableList;
import p4_group_8_repo.Game_actor.End;
import p4_group_8_repo.Game_actor.Vehicle;
import p4_group_8_repo.Game_scene.MyStage;
/**
* Class of Level 6
* @author Jun Yuan
*
*/
public class Level_6 {
... |
package com.tencent.mm.plugin.ipcall.ui;
import android.content.Context;
import android.database.Cursor;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.FrameLayout.LayoutParams;
import android.widget.ImageView... |
package zystudio.cases.graphics;
import android.util.Log;
public class CaseForMath {
private static CaseForMath sCase;
public static CaseForMath obtain() {
if (sCase == null) {
sCase = new CaseForMath();
}
return sCase;
}
public void work() {
computeFunc(... |
package ebid;
import java.sql.*;
import java.util.*;
import java.io.*;
public class DriverClass
{
static Scanner in=new Scanner(System.in);
public static void main(String[] args)
{
int no_of_people=0;
Connection c;
String out;
try
{
FileWriter fr=new Fil... |
package com.qgbase.biz.reportSystem.service;
import com.qgbase.biz.reportSystem.domain.RsDeviceerrorlog;
import com.qgbase.biz.reportSystem.repository.RsDeviceerrorlogRespository;
import com.qgbase.common.TBaseBo;
import com.qgbase.common.dao.CommonDao;
import com.qgbase.common.domain.OperInfo;
import com.qgbase.util.... |
package com.redhat.labs.service;
import com.redhat.labs.service.example.TestService;
import com.redhat.labs.service.example.TestServiceImpl;
import io.netty.handler.codec.http.HttpResponseStatus;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
import io.vertx.core.... |
package dstr_linkedlist;
import java.util.ArrayList;
public class Finder {
private final FamilyTree familyTree;
public Finder(FamilyTree familyTree) {
this.familyTree = familyTree;
}
public void findParents(String name) {
if (isMember(name)) {
if (familyTree.getParents(n... |
package base.policy.impl;
import base.policy.Policy;
import base.policy.PolicyDecision;
import base.policy.PolicyPackage;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import... |
package com.bastiaanjansen.jwt.exceptions;
public class JWTExpiredException extends JWTValidationException {
public JWTExpiredException() {}
public JWTExpiredException(String message) {
super(message);
}
}
|
package com.jim.multipos.ui.mainpospage.presenter;
import com.jim.multipos.core.Presenter;
/**
* Created by Sirojiddin on 27.10.2017.
*/
public interface SearchModePresenter extends Presenter {
void setSkuSearchMode(boolean active);
void setNameSearchMode(boolean active);
void setBarcodeSearchMode(bo... |
package org.itstep.model;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.*;
@Setter
@Getter
public class User {
}
|
package api.longpoll.bots.adapters.deserializers;
import api.longpoll.bots.model.events.VkEvent;
import api.longpoll.bots.model.events.EventType;
import api.longpoll.bots.model.events.boards.BoardPostDeleteEvent;
import api.longpoll.bots.model.events.boards.BoardPostEvent;
import api.longpoll.bots.model.events.likes.L... |
package zm.gov.moh.core.repository.database.entity.domain;
import androidx.room.*;
import com.squareup.moshi.Json;
import org.threeten.bp.LocalDateTime;
@Entity(tableName = "patient_identifier_type")
public class PatientIdentifierType {
@PrimaryKey
@ColumnInfo(name = "patient_identifier_type_id")
@Json... |
package test_strutturali;
import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
import java.util.*;
import org.junit.Before;
import org.junit.Test;
import sistema.*;
public class ApplicazioneGestoreCinemaTest {
ApplicazioneGestoreCinema app;
Calendar birthday;
GestoreCinema gestore;
Applicazi... |
package base;
import org.openqa.selenium.support.PageFactory;
import org.openqa.selenium.support.ui.WebDriverWait;
import pages.ContactPage;
import pages.HomePage;
import pages.SubmissionGuidPage;
import java.util.Map;
/**
*
*/
public class BasePage extends BaseUtil {
protected BaseUtil base;
protected Con... |
package com.mycompany.dao;
/**
* Created by reza on 2/8/17.
*/
public interface CorporateEventDao {
}
|
package yul.board;
import java.util.HashMap;
import java.util.List;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.datasource.DataSourceTransactionManager;
import org.springframework.stereotype.Service;
import org.springfram... |
/*
* Copyright (c) 2013 University of Tartu
*/
package org.dmg.pmml;
public class FieldName {
private String value = null;
public FieldName(String value){
setValue(value);
}
@Override
public int hashCode(){
return getValue().hashCode();
}
@Override
public boolean equals(Object object){
if(object ... |
package com.lr.service;
import com.lr.mapper.UtilMapper;
import com.lr.util.subjectUtil;
import com.lr.util.testPaperUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import java.util.List;
@Servi... |
class FastReader {
private BufferedReader br;
private StringTokenizer st;
FastReader() {
br = new BufferedReader(new InputStreamReader(System.in));
}
private String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(... |
package com.epam.strings.text.entity;
import java.util.List;
public class TokenLeaf implements Component{
private final String value;
private final TypeLeaf type;
private TokenLeaf(String value, TypeLeaf type) {
this.value = value;
this.type = type;
}
@Override
public String ... |
package teat;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
public class KeySet {
public static void main(String[] args) {
Map<String,String> map = new HashMap<>();
map.put("PS4","战神");
map.put("Switch","萨尔达");
map.put("Xbox","光环");
map.put("PC","嘿嘿"... |
package AsyncTask;
import android.os.AsyncTask;
import com.firebase.client.DataSnapshot;
import com.firebase.client.Firebase;
import com.firebase.client.FirebaseError;
import com.firebase.client.ValueEventListener;
import com.google.android.gms.maps.model.LatLng;
import java.text.ParseException;
import java.text.Sim... |
package com.example.android.jokesapp;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import com.example.android.jokedisplayer.JokeActivity;
import com.example.android.jokesource.Joke;
public class MainActivity extends AppCompatActiv... |
package unalcol.agents;
import java.util.Hashtable;
/**
* <p>Title: Percept</p>
* <p>
* <p>Description: Abstract definition of a perception</p>
* <p>
* <p>Copyright: Copyright (c) 2007</p>
* <p>
* <p>Company: Universidad Nacional de Colombia</p>
*
* @author Jonatan Gomez
* @version 1.0
*/
public class Perc... |
package com.tao.dao;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import com.tao.model.Commodity;
import com.tao.model.User;
import com.tao.utils.*;
public class UserDao extends Dao{
public UserDao(DataProcess dataProcess) {
super(dataProcess);
}
public User fin... |
package Serializacao;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.Scanner;
public class Program {
public static void main(String[] args) throws IOException {
Scanner s... |
package com.book.proxy;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Proxy;
/**
* @author weigs
* @date 2017/10/5 0005
*/
public class TestDriver {
public static void main(String[] args) {
PersonBean personBean1 = new PersonBeanImpl();
PersonBean personBean2 = new Person... |
package rs.code9.taster.service.memory;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Service;
import rs.code9.taster.model.Question;
import rs.code9.taster.service.QuestionService;
/**
* In memory backed {@link QuestionService} implementation.
*
* @author d.gajic
*... |
package com.mitelcel.pack.bean.api.request;
import com.google.gson.Gson;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.mitelcel.pack.bean.GenericBean;
import com.mitelcel.pack.utils.MiUtils;
/**
* Created by sudhanshu.thanedar on 11/17/15.
*/
public class B... |
package chapter04;
import java.util.Scanner;
public class Exercise04_07 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("Enter the radius of the bounding circle: ");
double radius = input.nextDouble();
double a = Math.PI / 2.;
int side = 5;
... |
package com.tencent.mm.plugin.ipcall.ui;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
class IPCallMyGiftCardUI$1 implements OnMenuItemClickListener {
final /* synthetic */ IPCallMyGiftCardUI kwG;
IPCallMyGiftCardUI$1(IPCallMyGiftCardUI iPCallMyGiftCardUI) {
this... |
package com.pfchoice.springboot.repositories;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;
import com.pfchoice.springboot.model.CPTMeasure;
import com.pfchoice.springboo... |
package com.ntech.service.impl;
import com.ntech.dao.OperationLogMapper;
import com.ntech.model.OperationLog;
import com.ntech.model.OperationLogExample;
import com.ntech.service.inf.IOperationLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
impo... |
package com.an.an_be.controller;
import com.alibaba.fastjson.JSONObject;
import com.an.an_be.entity.Result;
import com.an.an_be.service.BillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.R... |
package com.tencent.mm.an;
import com.tencent.mm.g.a.js;
import com.tencent.mm.protocal.c.avq;
import com.tencent.mm.sdk.b.a;
class b$5 implements Runnable {
final /* synthetic */ avq eba;
b$5(avq avq) {
this.eba = avq;
}
public final void run() {
js jsVar = new js();
jsVar.b... |
package com.yougou.merchant.api;
import javax.annotation.Resource;
import org.junit.Test;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests;
import com.yougou.base.JUnitServiceBase;
import com.yougou.merchant.api... |
package com.mycompany.sport.Domain;
/**
* Created by KristinnH on 16.8.2016.
*/
public class Activity {
int rating;
int lengthMinutes;
ActivityType activityType;
ActivityWith activityWith;
public enum ActivityType{
practice,match
}
public enum ActivityWith{
team,indivi... |
package com.pfchoice.springboot.service.impl;
import com.pfchoice.springboot.configuration.ConfigProperties;
import com.pfchoice.springboot.model.MembershipProblem;
import com.pfchoice.springboot.repositories.MembershipProblemRepository;
import com.pfchoice.springboot.service.MembershipProblemService;
import com.pfcho... |
/*
* UniTime 3.5 (University Timetabling Application)
* Copyright (C) 2014, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* 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 Soft... |
package com.tencent.mm.plugin.appbrand.f;
import android.content.Context;
import com.tencent.mm.plugin.fts.a.d.a;
import com.tencent.mm.plugin.fts.a.d.e.b;
public final class e extends a {
public final com.tencent.mm.plugin.fts.a.d.e a(Context context, b bVar, int i) {
return new f(context, bVar, i);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.