text stringlengths 10 2.72M |
|---|
package org.maple.jdk8.methodReference;
import java.util.Arrays;
import java.util.List;
/**
* @Author Mapleins
* @Date 2019-04-05 0:23
* @Description
*/
public class Test1 {
public static void main(String[] args) {
List<String> list = Arrays.asList("hello", "world", "hello world!");
// list.f... |
package com.gt.supertier.business.user.boundary;
import com.gt.supertier.business.user.entitiy.User;
import com.gt.supertier.business.user.entitiy.UserRepository;
import javax.ejb.Stateless;
import javax.inject.Inject;
import java.io.Serializable;
import java.util.List;
@Stateless
public class UserManager implements... |
package com.youngtech.fabartists.ui.activity;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
imp... |
/*
* Created by Angel Leon (@gubatron), Alden Torres (aldenml)
* Copyright (c) 2011-2014, FrostWire(R). All rights reserved.
*
* 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 versio... |
package com.tsuro.referee;
import com.tsuro.tile.ITile;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Queue;
import lombok.NonNull;
/**
* An {@link Iterator<ITile>} that cycles through the injected Tiles. Can only be used once.
*/
public class CycleThroughTile... |
package com.baiwang.custom.common.base;
import com.alibaba.fastjson.annotation.JSONField;
import com.baiwang.bop.request.impl.invoice.common.RequestThreadLocal;
import java.util.ArrayList;
import java.util.List;
/**
* WebService返回结果<p>
* @author Li Jiayi
* @version 2018年7月26日 下午6:04:40
* @param <T>
*/
public class ... |
package com.example.hbase.util;
public final class FactoryUtil {
public static Object getInstance(String className) throws InstantiationException, IllegalAccessException, ClassNotFoundException{
Class<?> class1 = Class.forName(className);
return class1.newInstance();
}
}
|
package com.eniso.regimi.services;
import java.util.HashSet;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.http.ResponseEntity;
import org.sp... |
package com.meehoo.biz.core.basic.vo.bos;
import com.meehoo.biz.common.util.BaseUtil;
import com.meehoo.biz.common.util.DateUtil;
import com.meehoo.biz.core.basic.domain.bos.AttachFile;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* Created by cz on 2018/08/27.
*
*/
@Getter
@Se... |
/*
* (c) Copyright 2001-2007 PRODAXIS, S.A.S. All rights reserved.
* PRODAXIS PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package com.prodaxis.mappingfilegenerator.toplink;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Collection;
im... |
package ui.client.components;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import core.Constants;
public class ControlButtonGui extends JButton
{
private static final long serialVersionUID = -2494394522921888799L;
private static final int WIDT... |
package junseong.k.myapplication;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import android.app.DatePickerDialog;
import android.app.TimePickerDialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.v... |
public class Queue <T> implements QueueInterface<T>{
/* Circular Linked List implementation of Queue */
private Node lastnode;
public void dequeueAll()
{
this.lastnode = null;
}
//checks if Queue is empty
public boolean isEmpty()
{
return lastnode == null;
}
... |
package com.codigo.smartstore.database.domain.catalog;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.validation.constraints.Digits;
import com.codigo.smartstore.database.domain.entity.ColumnPosition;
@Embeddable
public cl... |
package com.spart.io.Controller;
import com.spart.io.Model.Employee;
import java.io.BufferedReader;
import java.io.FileReader;
import java.sql.*;
public class CRUD implements DAO {
@Override
public void getEmployee(int id) {
try{
Connector connect =Connector.getIns();
Connect... |
/**
* Possible operations available to remote client.
*
*
* @author Elena Villalon
*/
package jremote;
import java.util.List;
import java.util.Vector;
public class RemoteMethodsAdapter implements RemoteMethods{
public RemoteMethodsAdapter(){
super();
}
/**add video url to database*/
public void addVideo(String ... |
package com.designurway.idlidosa.ui.home_page.fragments;
import androidx.annotation.NonNull;
import androidx.navigation.ActionOnlyNavDirections;
import androidx.navigation.NavDirections;
import com.designurway.idlidosa.HomeNavGraphDirections;
import com.designurway.idlidosa.R;
public class EmergencyFragmentDirections... |
package com.rev.dao.spring;
import com.rev.dao.RoomRepository;
import com.rev.model.Room;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
@Repository
public class RoomSpringRepository extends SpringRepository<Room> i... |
package com.flyingh.moguard.service;
import java.util.List;
import android.app.ActivityManager;
import android.app.ActivityManager.RunningAppProcessInfo;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
public class KillBackgroundProcessesService extends Service {
p... |
package com.gxtc.huchuan.bean;
/**
* Created by Administrator on 2018/3/31.
*/
public class ClassOrderHeadBean {
double realIncome;
int count;
public double getRealIncome() {
return realIncome;
}
public void setRealIncome(double realIncome) {
this.realIncome = realIncome;
... |
package domain;
public abstract class Werknemer {
private String naam, voornaam, rijksregisternummer;
private int aantalGewerkteUren;
public Werknemer(String naam, String voornaam, String rijksregisternummer) {
if (naam.trim().isEmpty() || voornaam.trim().isEmpty() || rijksregisternummer.trim().is... |
package peropt.me.com.performaceoptimization.dn;
/**
* desc:
*/
public class HandlerTest {
}
|
package listTest;
import java.util.Stack;
public class StackDemo {
public static void main(String[] args) {
Stack<Integer> s = new Stack();
for (int i = 0 ; i < 10 ; i ++){
s.push(i);
}
int r = s.pop()+s.pop();
System.out.println(r);
int c = s.peek();
... |
package com.esum.as2.transaction;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.esum.as2.AS2Exception;
import com.esum.as2.message.AS2Message;
import com.esum.as2.message.AS2MessageException;
import com.esum.as2.message.MDNMessage;
import com.esum.as2.message.Message;
import com.esum.as2.message... |
/*
* 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 mwr.prototype.dao;
import java.util.Date;
import java.util.List;
import javax.mail.Address;
import javax.persistence.TypedQue... |
package atm.utils;
/**
* Defines some status returned by the ATM
*/
public class Status{
public static final int SUCCESS = 0;
public static final int TOO_LITTLE_CASH = 1;
public static final int UNKNOWN_CARD = 2;
public static final int UNKNOWN_FINGER = 3;
public static final int WRONG_PIN = 4;
... |
package com.exam.models;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Value;
import java.io.Serializable;
@Value
@AllArgsConstructor
@Builder
public class Relation implements Serializable {
private static final long serialVersionUID = -4708283852516612162L;
private final Long id;
... |
package at.craftworks.challenge.tms.repository;
import org.springframework.data.repository.CrudRepository;
import at.craftworks.challenge.tms.model.Task;
public interface TaskRepository extends CrudRepository<Task, Long>{
}
|
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import org.firstinspires.ftc.robotcore.external.Telemetry;
public class Movement {
LinearOpMode op;
RobotHardware robotHardware;
Telemetry telemetry;
Constants constants = new Constants();
publi... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Threads;
import java.util.Scanner;
/**
*
* @author rm
*/
public class Sleep_Class_Vedio5 extends Thread {
public static void main(String[] args) {
Sleep_Class_Vedio5 obj = new S... |
package com.zheng.highconcurrent.concurrent.reentrantlock;
import java.util.concurrent.locks.ReentrantLock;
/**
* 可中断死锁检查
*
* @Author zhenglian
* @Date 2019/1/12
*/
public class InterruptReentrantLockApp {
private static final ReentrantLock lock1 = new ReentrantLock();
private static final ReentrantLock... |
package concursantes;
import org.springframework.stereotype.Component;
@Component
public class Audiencia {
public void sentarse(){
System.out.println("El show esta por comenzar, porfavor tomar haciento..");
}
public void apagarCelulares(){
System.out.println("Favor apagar los celulares..");
}
public voi... |
package com.example.bootcamp.security;
import static com.example.bootcamp.security.SecurityConstants.HEADER_STRING;
import static com.example.bootcamp.security.SecurityConstants.SECRET;
import static com.example.bootcamp.security.SecurityConstants.TOKEN_PREFIX;
import java.io.IOException;
import java.time.LocalDate;
... |
package dacorators;
import AdapterPattern.Pigeon;
import AdapterPattern.Quackable;
public class DoubleTab implements Quackable {
private Pigeon pigeon;
public DoubleTab(Pigeon pigeon){
this.pigeon = pigeon;
}
public void call(){
this.pigeon.coo();
}
@Override
public void... |
package frameWork;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import Castlevenia.Handler;
public class KeyInput extends KeyAdapter implements KeyListener { //abstraction
Handler handler;
public int Key;
public KeyInput(Handler handler) {
this.hand... |
/*
* to change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jearl.email.smtp;
import java.io.File;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.ScheduledThreadPoolExecutor;
import j... |
package org.uth.jdgtest1;
import org.uth.jdgtest1.listeners.ExpirationEventLogListener;
import java.util.concurrent.TimeUnit;
import org.infinispan.client.hotrod.*;
public class ExpirationTest
{
public static void main( String[] args )
{
RemoteCacheManager rcm = new RemoteCacheManager();
RemoteCache<Integ... |
package myLabs;
import java.util.Scanner;
/**
* Created by 12 on 30.10.2017.
* Count summary of numbers
*/
public class SumOfNumbers {
public static void main(String args[]){
Scanner sc=new Scanner(System.in);
System.out.println("введите число");
int input=sc.nextInt();
sc.close... |
package com.dbs.portal.ui.component.view;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import com.vaadin.ui.AbstractLayout;
import com.vaadin.ui.CssLayout;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Window;
p... |
package com.netcracker.app.domain.info.entities.vacancies;
import com.netcracker.app.domain.info.entities.resumes.ResumeImpl;
import net.minidev.json.annotate.JsonIgnore;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import java.util.Set;
@Entity
public class VacancyImpl extends AbstractVacanc... |
package com.tauros;
public class UserAlreadyExists extends Throwable{
public static final String message = "User already exists";
}
|
package com.cairenhui.service;
import com.cairenhui.model.FileStoreModel;
import com.cairenhui.model.VideoModel;
public interface VideoBusinessService {
public int insert(VideoModel videoModel);
public void update(VideoModel videoModel);
public VideoModel getObjectByBizId(String string, String bizType);
}
|
package com.esum.wp.ims.monitorinfo.struts.action;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import com.... |
/*
* Copyright Verizon Media, Licensed under the terms of the Apache License, Version 2.0. See LICENSE file in project root for terms.
*/
package com.yahoo.cubed.pipeline.launch;
import org.testng.Assert;
import org.testng.annotations.Test;
import com.yahoo.cubed.settings.CLISettings;
import com.yahoo.cubed.settin... |
package com.mustafayuksel.notificationapplication;
import java.io.IOException;
import java.util.stream.Collectors;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.DispatcherServlet;
import org.springframework.web.servlet.HandlerExecu... |
package com.beike.entity.common;
import java.io.Serializable;
/**
* <p>Title: 短信实体</p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2011</p>
* <p>Company: Sinobo</p>
* @date May 6, 2011
* @author ye.tian
* @version 1.0
*/
@SuppressWarnings("serial")
public class Sms implements Serializable{
privat... |
package apiAlquilerVideoJuegos.controlador;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import io.swagger.annotations.*;
import org.springframework.http.HttpStatus;
import or... |
package ch6;
class MyMath2 {
//인스턴스 변수
long a, b;
//인스턴스 변수 a, b만을 이용해서 작업하므로 매개변수가 필요없다.
//a,b는 인스턴스 변수
//인스턴스 메서드
long add() {return a + b;}
long subtract() {return a - b;}
long multiply() {return a*b;}
double divide() {return a/b;}
//인스턴스변수와 관계없이 매개변수만으로 작업이 가능하다.
//a, b는 지역변수
//클래스 메서드
static lo... |
package com.stackroute.pe2;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.w3c.dom.Text;
import static org.junit.Assert.*;
import java.io.File;
import java.io.IOException;
public class TextFileToUpperCaseTest {
private static TextFileToUpperCase textFileToUpperCase;
@Bef... |
/*
* Copyright (c) 2019 Thermo Fisher Scientific
* All rights reserved.
*/
package personal.springboot.example.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.reposit... |
package com.sohan.restf.messenger.service;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.sohan.restf.messenger.database.Database;
import com.sohan.restf.messenger.model.Comment;
import com.sohan.restf.messenger.model.Message;
public class CommentService {
private M... |
package com.arrays;
import javax.crypto.spec.PSource;
public class DeleteElement {
static int count=0;
public static void main(String[] args) {
int a[] = {12,13,14,15,16};
DeleteElement d = new DeleteElement();
count = a.length;
d.print(a);
System.out.println();
//d.deleteFromEn... |
package pro.likada.service;
import pro.likada.dto.VehiclePosition;
import pro.likada.model.Vehicle;
import java.util.Date;
import java.util.List;
/**
* Created by abuca on 07.03.17.
*/
public interface VehicleService {
Vehicle findById(long id);
void save(Vehicle vehicle);
List<Vehicle> findAllVehicl... |
package mc.kurunegala.bop.model;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import mc.kurunegala.bop.dao.UploadsMapper;
@Service
public class UpploadService {
@Autowired
UploadsMapper mapper;
public void add(Uploads entity) {
mapper.insertSelec... |
package action;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import model.Register;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
impor... |
package com.simple.wechatsimple.util;
import android.content.Context;
import android.os.Environment;
import java.io.File;
public class FileUtil {
public static final String ROOT_DIR = "Android/data/";
public static String getDir(String name, Context context) {
StringBuilder sb = new StringBuilder();... |
package org.hpin.webservice.dao;
import java.util.List;
import org.hpin.common.core.orm.BaseDao;
import org.hpin.webservice.bean.PreSalesMan;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.stereotype.Repository;
/**
*
* @description: 预留营销员信息表对应dao
* create by henry.xu 2017... |
/*
* Application.java
* Last release on June 2008
* Created on 6 juin 2005, 17:57
* Revised on September 2011
*/
package learning;
import ihm.*;
import java.util.*;
import maze.*;
/**
*
* @author De Loor
*/
public class Application {
/** Creates a new instance of Application */
public ... |
package cn.swsk.rgyxtqapp.custom;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.ListView;
import android.widget.ScrollView;
public class InnerLV extends ListView{
private ScrollView parentScrollView;
private int currentY; in... |
/*
Copyright (C) 2013-2014, Securifera, Inc
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and... |
package com.example.mikeb.lostandfound.Utils;
/**
* Created by Mikeb on 11/18/2017.
*/
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONObject;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.Inpu... |
package GUI;
import java.awt.FlowLayout;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JFrame;
import javax.swing.JButton;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JOptionPane;
public class ButtonGUI extends JFrame {
private JButton reg;... |
package org.dbdoclet.test.sample;
public class Brainstorm extends Idea implements Comparable {
public Brainstorm(String idea1) {
super(idea1);
}
public boolean isBoring(Thought meeting) throws DreamingException {
return true;
}
/**
* Die Methode <code>compareTo</code> aus d... |
package com.danharding.user;
public enum Status {
SUCCESS,
USER_ALREADY_EXISTS,
FAILURE
}
|
<<<<<<< HEAD
package com.example.sieunhan.github_client.api.model;
/**
* Created by dannyle on 03/12/2016.
*/
=======
package com.example.sieunhan.github_client.api.model;
>>>>>>> rebuilt-version
public class Plan {
public String name;
<<<<<<< HEAD
public int space;
public int private_repos;
===... |
/*
* Copyright 2002-2023 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* 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 ht.gouv.faes.entity;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.persist... |
/* ====================================================================
*
* Copyright (c) Atos Origin INFORMATION TECHNOLOGY All rights reserved.
*
* ==================================================================== *
*/
package com.aof.component.domain.module;
import java.util.Set;
import java.io.Serializable... |
/*
* @(#) BaseNodeInfo.java
* Copyright (c) 2007 eSumTech Co., Ltd. All Rights Reserved.
*/
package com.esum.wp.ims.nodeinfo.base;
import com.esum.appframework.dmo.BaseDMO;
/**
* This is an object that contains data related to the NODE_INFO table.
* Do not modify this class because it will be overwritten if th... |
package gov.nih.mipav.view.renderer.J3D.model.structures;
import gov.nih.mipav.model.structures.*;
import gov.nih.mipav.view.*;
import gov.nih.mipav.view.dialogs.*;
import java.io.*;
import javax.swing.*;
import javax.vecmath.*;
/**
* A triangle mesh that represents a level surface. The mesh is stored in its hi... |
package com.example.mycalorietracker;
import android.app.IntentService;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.util.Log;
import android.widget.Toast;
import java.util.Calendar;
import java.util... |
package com.adi.ho.jackie.versa_news.SyncAdapter;
import android.accounts.Account;
import android.content.AbstractThreadedSyncAdapter;
import android.content.ContentProviderClient;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.content.SyncR... |
package ggwozdz.nordea.texttransform;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import javax.xml.stream.FactoryConfigurationError;
import javax.xml.stream.XMLOutputFactory;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamW... |
/******************************************************************************
* __ *
* <-----/@@\-----> *
* <-< < \\// > >-> *
... |
package com.nmt.crud.model;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Getter;
import lombok.NoArgsConstruct... |
package com.ledungcobra.entites;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
@MappedSuperclass
@Getter
@Setter
@NoArgsConstructor
public abstract class User extends BaseEntity
{
@Column(name = "PASSWORD"... |
package kr.co.shop.batch.cmm.repository.master.base;
import java.util.List;
import java.lang.Object;
import kr.co.shop.batch.cmm.model.master.CmMessageSendHistory;
/**
* ※ 절대 수정 금지. 해당 파일은 code generator 작동 시 내용을 전부 덮어 씌우게 됩니다.
*
*/
public interface BaseCmMessageSendHistoryDao {
/**
*... |
package org.usfirst.frc.team3164.lib.baseComponents.motors;
import edu.wpi.first.wpilibj.Victor;
public class VicMotor implements IMotor {
private int pwmLoc;
private Victor m;
private double power;
private boolean reversed;
/**
* Make a new Motor Object
* @param pwmLoc ... |
package com.trump.auction.web.service;
import java.util.Map;
import com.trump.auction.web.util.HandleResult;
public interface PayService {
/**
* <p>
* Title: 主动查询是否支付成功
* </p>
* <p>
* Description:
* </p>
* @param outTradeNo
* @param type
* @return
*/
HandleResult isPaySuccess(String outTrade... |
package ejercicio03;
import java.util.StringTokenizer;
/**
*
* @author Javier
*/
public class Ejercicio03 {
public static void main(String[] args) {
StringTokenizer nombre = new StringTokenizer ("Javier;Berrocal;Martín", ";");
for (int i = 0; i < nombre.countTokens(); i++) {
... |
package com.ai.platform.agent.entity;
import java.util.ArrayList;
import java.util.List;
public class AgentClientInfo {
private String aid;
private String name;
private String common;
/** agent可管理服务器列表 */
private List<OSServerInfo> computerList = new ArrayList<OSServerInfo>();
public String getAid() {
re... |
package com.lenovohit.ssm.treat.model;
/**
* 就诊卡
* @author xiaweiyi
*
*/
public class MedicalCard {
private String id;
private String cardNo;
private String createDate;
private String holderId;
private String holderName;
private String holderIdNo;
private String balance;
public String getId() {
return id;... |
package cn.hellohao.utils;
import org.omg.CORBA.Environment;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
/**
* @author ... |
package test;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Scanner;
public class TreeDepth {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scan = new Scanner(System.in) ;
int n = scan.nextInt();
int root =0;
HashMap<Int... |
package me.leaver.bloger.app.mvp.model.fundamental;
import java.util.Arrays;
/**
* Created by zhiyuan.lzy on 2016/3/13.
*/
public class Post {
private int id;
private String type;
private String slug;
private String url;
private String status;
private String title;
private String title_... |
package xhu.wncg.firesystem.modules.controller.vo;
import xhu.wncg.firesystem.modules.pojo.PoliceStation;
/**
* 派出所表
*
* @author zhaobo
* @email 15528330581@163.com
* @version 2017-11-02 15:58:16
*/
public class PoliceStationVO extends PoliceStation {
}
|
package com.driva.drivaapi.model.product;
public enum ProductCategory {
KURS(1), LEKCJA(2);
private int index;
ProductCategory(int index) {
this.index = index;
}
public int getIndex() {
return index;
}
}
|
package com.zc.pivas.workReport.controller;
import com.zc.base.common.controller.SdBaseController;
import com.zc.base.common.util.DateUtil;
import com.zc.pivas.workReport.bean.WorkBean;
import com.zc.pivas.workReport.service.WorkReportService;
import org.springframework.stereotype.Controller;
import org.springf... |
package com.example.workreview_java;
import com.example.workreview_java.model.EventModel;
import java.util.ArrayList;
import java.util.concurrent.TimeUnit;
import io.reactivex.Single;
import retrofit2.Call;
import retrofit2.Callback;
import okhttp3.OkHttpClient;
import retrofit2.Response;
import retrofit2.Retrofit;
... |
package com.fsj.action;
import java.util.HashMap;
import java.util.Map;
import com.fsj.entity.Managergroup;
import com.fsj.entity.Pager;
import com.fsj.service.ManagergroupDAO;
import com.fsj.service.impl.ManagergroupDAOImpl;
//用户管理组Action动作类
public class ManagergroupAction extends SuperAction {
private static fin... |
////////////////////////////////////////////////////////////////////////////////////
// MIT License //
// //
// Copyright (c) 2020 Utkarsh Priyam ... |
/**
* Core package of the JMS support.
* Provides a JmsTemplate class and various callback interfaces.
*/
@NonNullApi
@NonNullFields
package org.springframework.jms.core;
import org.springframework.lang.NonNullApi;
import org.springframework.lang.NonNullFields;
|
/**
* Copyright 2017 伊永飞
*
* 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 agreed to in writin... |
/*
* 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.
*/
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Res... |
package com.softserveinc.uschedule.security;
import com.softserveinc.uschedule.entity.ApplicationRole;
import com.softserveinc.uschedule.entity.UserToGroup;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import java.util.Collection;
import... |
package com.ross.ui.shops;
import com.ross.domain.shops.ShopDetailViewModel;
import com.ross.game.ItemId;
import javax.swing.*;
import java.awt.*;
public class ShopDetailPanel extends JPanel {
public ShopDetailPanel(ShopDetailViewModel shopDetails, ShopTabContentPanel parent) {
JButton button = new JButt... |
package com.bnade.wow.utils;
/**
* String工具类
* Created by liufeng0103@163.com on 2017/7/11.
*/
public class StringUtils {
private StringUtils() {}
/**
* 判断字符串不会空
* @param s String
* @return 是否为空
*/
public static boolean isNotEmpty(String s) {
return s != null && s.length() ... |
package de.ilouminaten.plugin;
public enum Games {
VIERGEWINNT();
// CHESS();
// TICTACTOE(),
// BILLARD(); <- Just kidding :D
}
|
package checkers.server.rules;
import checkers.core.Checker;
import checkers.core.Coordinates;
import checkers.server.game.Game;
public interface RulesManager {
int checkMove(Game game, Coordinates currLocation, Coordinates destination, Checker checker);
}
|
package com.springMVCHibernate.service;
import java.util.List;
import com.springMVCHibernate.form.Country;
public interface CountryService {
public void addCountry(Country country);
public List<Country> listCountry();
public void removeCountry(Integer countryid);
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.