text stringlengths 10 2.72M |
|---|
package com.recrutationproject.recrutationproject;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class RecrutationprojectApplicationTests {
@Test
void contextLoads() {
}
}
|
// Kathryn Brusewitz
// Bellevue College CS211
// Instructor - Bill Iverson
// Chapter 13 - Runtime Complexity with Collections.sort()
import java.util.*;
public class Testing {
public static void main(String[] args) {
int randomRange = 5000000; // Random number range
int min = 1000; // Starting number of elem... |
package com.cos.springlegacy.dto;
import lombok.Data;
@Data
public class RequestJsonDto {
private String id;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
}
|
package com.example.hotelmange;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
impo... |
package com.alura.service;
import com.alura.dto.CursoDto;
import com.alura.exception.CursoNotFoundException;
import com.alura.modelo.Curso;
import com.alura.repository.CursoRepository;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.... |
package com.example.db1;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.FrameLayout;
import android.widget.GridView;
import androi... |
package org.team16.team16week5;
import org.team16.team16week5.Bill;
import static org.junit.Assert.*;
import org.junit.Test;
public class DetailedCostTest{
public static final String GOLD = "Gold";
public static final String SILVER = "Silver";
private Bill bill;
private void setBillInfo(String ty... |
/**
*
*/
package com.zh.java.basic.rmi;
import java.net.MalformedURLException;
import java.rmi.Naming;
import java.rmi.NotBoundException;
import java.rmi.RemoteException;
/**
* @author ZH
* 远程方法调用测试 客户端代码。
*/
public class HelloRmiClient {
public static void main(String[] args) {
IHelloRmi h;
... |
package com.ibisek.outlanded.components;
import android.content.Context;
import android.text.Editable;
import android.text.TextWatcher;
import android.util.AttributeSet;
import android.widget.EditText;
/**
* EditText with extended functionality.
*
* @author ibisek
* @version 2013-10-02
*/
public c... |
package com.meehoo.biz.core.basic.service.security;
import com.meehoo.biz.common.util.BaseUtil;
import com.meehoo.biz.common.util.StreamUtil;
import com.meehoo.biz.common.util.StringUtil;
import com.meehoo.biz.core.basic.dao.bos.IMenuDao;
import com.meehoo.biz.core.basic.dao.security.IAuthRoleMenuDao;
import com.meeho... |
package org.flowable.cloud.runtime.core.behavior.classdelegate;
import java.lang.annotation.Annotation;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.flowable.cloud.runtime.core.behavior.classdelegate.annotation.CloudClassDelegateScan;
import org.flowabl... |
package com.esum.framework.core.management.manager;
import java.util.Set;
import javax.management.MBeanServerConnection;
import javax.management.ObjectName;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.esum.framework.core.component.ComponentInfo;
import com.esum.framework.core.component.Compo... |
package net.server;
import core.server.Lobby;
import core.server.LoggedInUser;
import core.server.Room;
import core.server.WelcomeSession;
/**
* This class represents a generic server-side object, like
* {@linkplain WelcomeSession}, {@linkplain Lobby}, and
* {@linkplain Room}.
*
* @author Harry
*
*/
public i... |
package mvc.controller;
import mvc.objects.ResultApi;
import mvc.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.propertyeditors.CustomDateEditor;
import org.springframework.http.HttpEntity;
import org.springframework.stereotype.Controller;
import or... |
package de.varylab.discreteconformal.plugin.hyperelliptic;
public class EditChangeEvent {
public Object source;
public EditChangeEvent(Object source) {
this.source= source;
}
}
|
import java.io.*;
import java.util.*;
class baek__7785 {
static class Custom implements Comparator<String> {
public int compare(String u, String v) {
return -u.compareTo(v);
}
}
public static void main(String[] args) throws IOException {
BufferedReader br = new Buffere... |
package frc.built_groups;
import java.util.function.Consumer;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.ParallelRaceGroup;
public class BuiltRace extends ParallelRaceGroup {
public BuiltRace(Consumer<GroupBuilder> lambda) {
var builder = new GroupBuilder();
... |
package com.aliam3.polyvilleactive.model.transport;
import com.aliam3.polyvilleactive.model.deserializer.SectionDeserializer;
import com.aliam3.polyvilleactive.model.location.Place;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.time.LocalDateTime;
/**
* Classe representant une etape ... |
/**
* Created by mohammad on 5/21/17.
*/
public class GraduationService {
GraduationStrategy graduationStrategy;
public boolean validateGraduation(StudentInfo studentInfo, History history){
if (studentInfo.hasMinor()){
graduationStrategy = new WithMinorStrategy();
} else {
... |
package technicalblog.model;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Entity
@Table(name="users")
public class User {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name="id")
// It is optional to use the @Column annotation unless you want to overrid... |
package kxg.searchaf.url.juicycouture;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import kxg.searchaf.mail.SystemMail;
import kxg.searchaf.url.juicyc... |
package com.karachevtsevuu.mayaghosts;
import org.andengine.entity.scene.CameraScene;
import android.view.KeyEvent;
public class Room extends CameraScene {
private boolean childsAttached = false;
public Room() {
super(MainActivity.mainCamera);
}
public void Show() {
setVisible(true);
setIgnoreUpdate(... |
package com.example.umarramadhana.atp.network;
import android.content.Context;
import android.util.Log;
import android.widget.ArrayAdapter;
import android.widget.AutoCompleteTextView;
import android.widget.ListView;
import com.example.umarramadhana.atp.R;
import com.example.umarramadhana.atp.pojo.Account;
import com.... |
// Copyright (C) 2016 The Android Open Source Project
//
// 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 ... |
/*
* Copyright (C) 2011 MineStar.de
*
* This file is part of MineStarLibrary.
*
* MineStarLibrary 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, version 3 of the License.
*
* MineStarLib... |
package com.example.usuario.recyclerview;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.app.AppCompatActivity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
imp... |
package com.zc.pivas.statistics.repository;
import com.zc.base.orm.mybatis.annotation.MyBatisRepository;
import com.zc.base.sc.modules.batch.entity.Batch;
import com.zc.pivas.statistics.bean.allocationWork.AllocationSQLBean;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.M... |
package com.lq.dao;
import java.util.List;
import javax.annotation.Resource;
import com.lq.entity.Isbn;
import com.lq.other.PartRentable;
import org.hibernate.Query;
import org.hibernate.SessionFactory;
import org.springframework.stereotype.Repository;
@Repository
public class IsbnDaoImpl implements IsbnDao{
@Resou... |
/**
* Copyright (c) 2013 SLL <http://sll.se/>
*
* 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 b... |
package Dao;
import java.sql.SQLException;
import java.util.List;
import entity.UserTicket;
public interface UserTicketDao {
/**
* 添加
* @param UserTicket
* @return
* @throws Exception
*/
boolean add(int userticketuserid,int userticketticketid,String userticketname,String userticketidentity_number,Str... |
package pl.pjatk.gameplay.controller;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.web.s... |
package com.suntf.pkm.util;
import org.apache.http.HttpEntity;
/**
* The call back interface for
*
* @author bright_zheng
*
*/
public interface AsyncResponseListener {
/** Handle successful response */
public void onResponseReceived(HttpEntity response);
/** Handle exception */... |
package com.sai.one.dto;
public interface Entity {
}
|
package controllers;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import models.Cart;
import models.Product;
public class CartController {
public static void addProduct(Cart cart, Product product, Integer qnt) {
Map<Product, Integer> set = cart.getProducts();
... |
package com.aidmo.aidmod.blocks;
public class AidBlocks {
}
|
package com.technicaltest.prices.project.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind... |
package com.stockstats.exception;
import java.util.List;
import org.springframework.http.HttpStatus;
import org.springframework.validation.FieldError;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(value = HttpStatus.BAD_REQUEST, reason = "Stats Request is Bad")
public class BadStatsR... |
package emp.entidades;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import org.hibernate.annotations.CascadeType;
@Entity
... |
package file;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.WebElement;
import o... |
package controller;
import model.ModelUsuarios;
import DAO.DAOUsuarios;
import java.util.ArrayList;
/**
*
* @author Vinicius Lisboa
*/
public class ControllerUsuarios {
private DAOUsuarios daoUsuarios = new DAOUsuarios();
/**
* grava Usuarios
* @param pModelUsuarios
* return int
*/
publi... |
package serve.serveup.views;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import serve.serveup.R;
import serve.serveup.views.login.LoginFragment;
import serve.serveup.views.login.RegistrationFragment;
public class MainActivity extends Ap... |
package starwars.app.starwarsse.adapters;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;
import java.util.List;
import starwars.app.starwarsse.R;
import sta... |
package com.application.dockers.SQLite;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import androidx.annotation.Nullable;
public class DockersActivitySQLiteHelper extends SQLiteOpenHelper
{
public static f... |
package com.testFileUpload.filter;
import com.testFileUpload.util.JWTToken;
import org.apache.shiro.authz.UnauthorizedException;
import org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServle... |
package com.zxq.spring.controller;
import com.zxq.spring.entity.CommentResult;
import com.zxq.spring.entity.Payment;
import com.zxq.spring.service.PaymentService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
... |
package com.capp.test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import com.capp.config.SpringRootConfig;
import com.capp.dao.UserDAO;
import com.capp.domain.User;
import com.capp.service.UserService;
public class TestUser... |
package com.way.mobile.permission;
import java.lang.annotation.*;
/**
* 功能描述:服务鉴权方式 :注解可以加在方法
*
* @ClassName AuthPermission
* @Author:xinpei.xu
* @Date:2017/07/20 20:49
*/
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface AuthPermission ... |
package ru.qa.rtsoft;
import org.testng.Assert;
import org.testng.annotations.Test;
/**
* Created by korvin on 17.02.2017.
*/
public class SquareTests {
@Test
public void testArea(){
Square s = new Square(7);
Assert.assertEquals(s.area(), 49.0);
}
}
|
package com.esum.framework.common.thread;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicInteger;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* ThreadFactory.
* Thread생성을 daemon으로 생성하도록 하며, thread마다 고유의 이름을 부여한다.(xtrus로 시작함)
*/
public class CommonThreadFactory... |
package com.delaroystudios.alarmreminder.Adapter;
public interface IClickListenerAvatarChildAdapter {
void ClickAvatarChild(int iD);
}
|
package core;
public enum Type {
XPATH, CSS
}
|
package com.lsjr.zizisteward.activity.product.ui;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.text.TextUtils;
import android.view.ViewGroup;
import android.view.ViewParent;
import android.webkit.JavascriptInterface;
import andro... |
package com.example.android.sunshine.app.gcm;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v4.app.Notificat... |
package ejercicio17;
import java.util.ArrayList;
import java.util.Scanner;
/**
*
* @author Javier
*/
public class Ejercicio17 {
public static boolean esPrimo(int numero) {
boolean primo = true;
for (int i = 2; i < numero/2+1 & primo; i++) {
if (numero %i == 0) primo = false;
... |
package diabetes.aclass.presenter;
import android.util.Log;
import java.io.IOException;
import diabetes.aclass.diabetes.HomePageActivity;
import okhttp3.Call;
import okhttp3.Callback;
import okhttp3.MediaType;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;
import okhttp3.Response;
... |
package com.beike.wap.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.beike.wap.dao.MCatalogDao;
import com.beike.wap.entity.MAbstractCatlog;
import com.beike.wap.entity.MCouponCatlog;
import com.beike.wap.e... |
package dao;
import java.util.List;
import hibernate.HibernateUtil;
import model.AddressLookup;
import model.Directorate;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.Transaction;
public class DirectorateDAO implements DirectorateInterface{
private Ses... |
package com.shichuang.mobileworkingticket.entify;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Created by Administrator on 2018/3/23.
*/
public class WorkingTicketDetails {
private List<WorkFlowModels> workFlowModels;
private List<MemberRosModel> memberRos;
private T... |
package test.xitikit.examples.java.mysql.logwatch.cli;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import org.mockito.Mockito;
import org.xitikit.examples.java.mysql.logwatch.cli.LogWatchCli;
import org.xitikit.examples.java.mysql.logwatch.data.*;
import org.xitikit.examples.java.mysq... |
/**
* Sencha GXT 3.0.1 - Sencha for GWT
* Copyright(c) 2007-2012, Sencha, Inc.
* licensing@sencha.com
*
* http://www.sencha.com/products/gxt/license/
*/
package com.sencha.gxt.explorer.client.layout;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibind... |
package learnspring.controller;
import java.io.File;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMap... |
package cz.metacentrum.perun.spRegistration.web.models;
import cz.metacentrum.perun.spRegistration.common.enums.AuditMessageType;
import java.sql.Timestamp;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@ToString
@EqualsAndH... |
/**
* Copyright (C) 2008 Atlassian
*
* 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 t... |
/**
* @Author: Mahmoud Abdelrahman
* Main Class
*/
package com.easylearn.easylearn;
import com.easylearn.easylearn.entity.Parent;
import com.easylearn.easylearn.entity.Student;
import com.easylearn.easylearn.entity.Teacher;
import com.easylearn.easylearn.jwt.JwtUserDetails;
import com.easylearn.easylearn.model.enum... |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
final String LINE_SPR = System.getProperty("line.separator");
final int BIG_MOD = 1000000007;
char[][] grid;
boole... |
package com.github.tobby48.java.example;
/**
* <pre>
* com.github.tobby48.java.example
* Fibonacci.java
*
* 설명 : 재귀함수를 이용한 피보나치 수열, 10번까지 결과 출력
* </pre>
*
* @since : 2017. 6. 28.
* @author : tobby48
* @version : v1.0
*/
public class Fibonacci {
public static int recursive(int value){
... |
package com.homework.pattern.abstractfactory;
/**
* @author lq
* @version 1.0
* @desc
* @date 2019/3/19 0:09
**/
public class LenovoFactory implements IFactory {
@Override
public IMouse createMouse() {
return new LenovoMouse();
}
@Override
public IKeyboard createKeyboard() {
r... |
package test.java.liceosorolla;
import static org.junit.Assert.assertEquals;
import org.junit.Before;
import org.junit.Test;
import mein.java.liceosorolla.Usuario;
public class UsuarioTest {
private Usuario usuario;
@Before
public void Before() {
usuario = new Usuario("Nacho","Martin", "2020-... |
package com.foxweave.connector.mixpanel;
import com.foxweave.test.FoxWeaveTestCase;
import com.foxweave.test.web.jetty.RequestResponse;
import com.foxweave.test.web.jetty.SimpleServer;
import com.mixpanel.mixpanelapi.MixpanelAPI;
import org.json.JSONObject;
import org.junit.After;
import org.junit.Before;
import org.j... |
package com.egswebapp.egsweb.enums;
import org.springframework.http.HttpStatus;
public enum PostErrorCode implements ErrorCode {
POST_NOT_EXIST(HttpStatus.NOT_FOUND, "Post not exist"),
POST_CONTENT_NOT_EXIST(HttpStatus.NOT_FOUND, "Post content not found"),
CATEGORY_NOT_EXIST(HttpStatus.NOT_FOUND, "Ca... |
package com.qianqian.cms.util;
/**
* 在ThreadLocal里保存当前线程的数据源
* @Project : maxtp.framelib
* @Program Name: com.framelib.db.DataSourceSwitch.java
* @ClassName : DataSourceSwitch
* @Author : zhangyan
* @CreateDate : 2014-4-22 下午3:52:40
*/
public class DataSourceSwitch {
private static final Threa... |
package com.memberComment.model;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
public class MemberCommServiceB {
private MemberCommentDAOInterfaceB dao;
public MemberCommServiceB() {
dao = new MemberCommentDAOB();
}
public MemberCommentVO addMemberComm(MemberCommentV... |
package by.htp.cratemynewpc.controller.command.impl;
import by.htp.cratemynewpc.controller.command.Command;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
public cl... |
package com.spring.professional.exam.tutorial.module03.question04.callback.custom;
import com.spring.professional.exam.tutorial.module03.question04.callback.custom.expression.AddExpressionEvaluator;
import com.spring.professional.exam.tutorial.module03.question04.callback.custom.expression.ExpressionEvaluator;
import ... |
package com.mtl.hulk;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.concurrent.atomic.AtomicBoolean;
public class HulkShutdownHook {
private static final Logger logger = LoggerFactory.getLogger(HulkShutdownHook.class);
private static final HulkShutdownHook hulkShutdownHook = new... |
/*
Nama : Nurindah Sari
Stambuk : 13020180004
Tanggal : 21 April 2020
Waktu : 19.35 WITA
*/
class ModifierNoAccess{
double kecepatan;
void setKecepatan(double kecepatan){
this.kecepatan = kecepatan;
}
double getKecepatan(){
... |
package farmerline.com.dev.farmerserviceapp.dashboard.home;
import android.support.annotation.Nullable;
import farmerline.com.dev.farmerserviceapp.dashboard.home.analytics.AnalyticsFragment;
import farmerline.com.dev.farmerserviceapp.dashboard.home.baseFragment.BaseFragment;
import farmerline.com.dev.farmerserviceapp... |
package com.twu.biblioteca.Books;
import com.twu.biblioteca.Books.Book;
import com.twu.biblioteca.Books.BookPrinter;
import com.twu.biblioteca.Books.SampleBooks;
import org.junit.Before;
import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.util.ArrayList;
import java.ut... |
package com.multivision.ehrms.business;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
/**
* Update: Added JPA(JSR 317) su... |
package com.alibaba.druid.bvt.pool.vendor;
import java.sql.SQLException;
import com.alibaba.druid.PoolTestCase;
import junit.framework.TestCase;
import org.junit.Assert;
import com.alibaba.druid.pool.vendor.InformixExceptionSorter;
public class InformixExceptionSorterTest extends PoolTestCase {
public void tes... |
package com.seven.contract.manage.controller.contract.data.request;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
/**
* Created by apple on 2018/12/24.
*/
public class InitiateSigningRequest imple... |
package com.example.hotel.config.security;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;
import org.springframewo... |
package strings.cifraDeCesar;
import java.text.CharacterIterator;
import java.text.StringCharacterIterator;
public class Mensagem implements CifraDeCesar {
String msg;
int cod;
public Mensagem(final String msg, final int cod){
this.msg = msg.toUpperCase(); //lidar com caracteres uppercase para u... |
import com.fasterxml.jackson.core.JsonProcessingException;
import domain.CalculateKwhRequest;
import domain.CalculatePrijsRequest;
import logic.ServiceController;
import org.junit.Test;
import static org.junit.Assert.*;
public class UnitTests {
private ServiceController s = new ServiceController();
private Cal... |
package pl.olart.pmsuite.model;
import java.io.Serializable;
/**
* User: grp
* Date: 16.06.16
* Time: 02:39
*/
public class TypKosztuBean implements Serializable, Comparable {
private String nazwa;
private String ktoPrzypisany;
public TypKosztuBean(String nazwa) {
this.nazwa = nazwa;
}
... |
package com.github.ytjojo.supernestedlayout;
import android.animation.ValueAnimator;
import android.content.Context;
import android.support.v4.view.MotionEventCompat;
import android.support.v4.view.VelocityTrackerCompat;
import android.support.v4.view.ViewCompat;
import android.support.v4.widget.ScrollerCompat;
import... |
/*
* Copyright 2002-2018 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... |
package com.hubPlayer.ui.tool;
import java.awt.GridLayout;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import com.hubPlayer.expansion.game_2048.My2048;
import com.hubPlayer.expansion.game_snake.MySnake;
import view.ChessFrame;
/**
* 拓展功能面板,为播放器增加一些游戏程序
*
* @date 2016-6-6
*... |
package com.HTTPServer;
import java.util.List;
public class Utility {
public static String toString(List<Talk> talks){
StringBuilder sb = new StringBuilder();
for(Talk t: talks){
sb.append(t.title);
sb.append(",");
sb.append(t.description);
sb.append... |
package bwi.prog2B.SS2017.wi16b044_kapferer.ExerciseSheet03;
import bwi.prog.utils.TextIO;
public class Track {
private int duration;
private Artist performer = new Artist();
private String title;
private Artist writer = new Artist();;
private int year;
// CONSTRUCTORS
public Track(... |
package qdu.java.recruit.service;
import org.apache.ibatis.annotations.Param;
public interface HrappService {
Boolean inserthrapp(int positionId, int hrId,int userId);
int delecthrapp(int positionId,int userId);
}
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package graphic;
import hibernate.HibernateUtil;
import hibernate.Profils;
import java.util.Iterator;
import java.util.Map;
import org.hibernate.Session;
import org.snmp4j.smi.OctetString;
import snmp_server.Profil;
imp... |
package com.orsegrups.splingvendas.fragment;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewG... |
/*
* Copyright (C) 2012 www.amsoft.cn
*
* 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 agr... |
package co.project.bloodbankmgmt.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import java.util.List;
import co.project.bloodbankmgmt.models.BloodGroup;
/**
* C... |
package com.fotoable.fotoime.ui;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
... |
//package com.appspot.smartshop.ui.user;
//
//import java.io.ByteArrayInputStream;
//import java.io.DataInputStream;
//import java.io.DataOutputStream;
//import java.io.File;
//import java.io.FileInputStream;
//import java.io.FileNotFoundException;
//import java.io.IOException;
//import java.io.InputStream;
/... |
package com.exmertec.elvis.scal.controller;
public class SimpleRequestControllerTest {
}
|
package example.com.twitterdemo.Adapter;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.AppCompatImageView;
import android.support.v7.widget.AppCompatTextView;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInfla... |
package com.keepmoving.to.coordinatetest.model;
/**
* Created by caihanyuan on 2017/11/15.
* <p>
* 省市区实体类的基类
*/
public class BaseBean {
protected String name;
protected String id;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.