text
stringlengths
10
2.72M
package com.siicanada.article.controller; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.result.MockMvcRe...
package core.event.handlers.hero; import cards.Card.Color; import core.event.game.basic.AttackLockedTargetSkillsCheckEvent; import core.event.handlers.AbstractEventHandler; import core.heroes.skills.YujinOriginalHeroSkill; import core.player.PlayerCompleteServer; import core.server.game.BattleLog; import core.server.g...
package org.bsns.server.board.approval; import java.sql.SQLException; import java.util.List; import org.apache.log4j.Logger; import org.bsns.server.common.Condition; import org.bsns.server.common.SqlMapClientConfig; import org.bsns.server.domain.ApprovalVO; import org.springframework.stereotype.Repository; ...
package com.wipro.arrays; import java.util.*; public class Ex6 { public static void main(String[] args) { // TODO Auto-generated method stub int n=args.length; int[] a=new int[n]; for(int i=0;i<n;i++) a[i]=Integer.parseInt(args[i]); Arrays.sort(a); for(int i=0;i<n;i++) System.out.print(a[i]+" "); ...
import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; public class Atomic { private AtomicInteger count = new AtomicInteger(0); public int incrementAndGet() { return count.incrementAnd...
package com.leo_sanchez.itunestopalbums.Activities.Main; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; import com.leo_sanchez.itunestopalbums.Activities.Album.AlbumActivity; import com.leo_sanchez.itunestopalbums.Activities.DownloadJsonActivity; imp...
package walnoot.dodgegame; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.g2d.ParticleEffect; import com.badlogic.gdx.graphics.g2d.ParticleEffectPool; import com.badlogic.gdx.graphics.g2d.ParticleEffectPool.PooledEffect; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.utils.Arr...
import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JPanel; public class WelcomePanel extends JPanel...
package com.bloodl1nez.analytics.vk.service.analytics; import com.bloodl1nez.analytics.vk.job.ProfileJobRunner; import com.bloodl1nez.analytics.vk.model.entity.AnalyseProgress; import com.bloodl1nez.analytics.vk.model.entity.User; import com.bloodl1nez.analytics.vk.model.repository.ProgressRepository; import com.blood...
package com.isteel.myfaceit.ui.players; import android.content.Context; import androidx.recyclerview.widget.LinearLayoutManager; import dagger.Module; import dagger.Provides; @Module public class PlayerModule { /*@Provides PlayerAdapter providePlayerAdapter() { return new PlayerAdapter(...
package com.example.qunxin.erp.activity; import android.app.Dialog; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.Window; import android.view.Window...
package com.example.logs.controller; import com.alibaba.fastjson.JSON; import com.example.logs.mapper.ReportMapper; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springf...
package ma.jit.service; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import java.util.Random; import java.util.stream.Stream; import javax.transaction.Transactional; import org.springframework.beans.factory.annotation.A...
package pers.mrxiexie.card; import java.io.File; import java.io.IOException; import java.util.Map; import java.util.Set; import java.util.concurrent.TimeUnit; import okhttp3.Call; import okhttp3.Callback; import okhttp3.FormBody; import okhttp3.MediaType; import okhttp3.MultipartBody; import okhttp3.OkHttpClient; imp...
package ng.mobilea.airvoucher.utilities; import android.content.Context; import android.telephony.TelephonyManager; import android.util.Patterns; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import java...
package com.bofsoft.laio.customerservice.Activity.Select; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ListView; import com.bofsoft.laio.customerservice.Activity.BaseVehicleActivity; import com.bofsoft.laio.customerservice....
package cn.kim.common.shiro.cache; import org.apache.shiro.cache.CacheException; import java.util.Collection; import java.util.Set; /** * Created by 余庚鑫 on 2019/12/3 * 重写cache */ public interface Cache<K, V> extends org.apache.shiro.cache.Cache { /** * redission 模糊搜索 * * @param keyPattern ...
package com.tandon.tanay.locationtracker.constants; /** * Created by tanaytandon on 18/09/17. */ public interface DbConfig { String NAME = "LocationTracker"; }
/** * https://www.hackerearth.com/practice/basic-programming/bit-manipulation/basics-of-bit-manipulation/practice-problems/algorithm/monk-and-binary-array-1/ * #bit-manipulation */ /* 0 1 2 3 4 5 6 7 8 9 1 1 0 0 1 1 0 0 0 1 preSum 1 2 2 2 3 4 4 4 4 5 L R --------------- ...
package com.xianzaishi.wms.tmscore.manage.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import com.xianzaishi.wms.common.exception.BizException; import com.xianzaishi.wms.tmscore.dao.itf.IPickBasketDao; import com.xianzaishi.wms.tmscore.manage.itf.IPickBasketManage; impo...
package com.tuskiomi.TSSUS.graphics; import org.newdawn.slick.Graphics; public interface Lighting { public void render(Graphics g); }
package br.com.alura.loja; import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.client.WebTarget; import static org.junit.Assert.*; import org.junit.Test; public class ClienteTestProjeto { @Test public void testaQueAConexaoComOServidorFunciona() { Client client = Cl...
package com.tessoft.nearhere.fragments; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.wid...
package de.mq.phone.web.person; import java.util.Map; import org.springframework.core.convert.converter.Converter; import de.mq.phone.domain.person.Person; import de.mq.vaadin.util.Mapper; interface MapToPersonMapper extends Mapper<Map<String,?>, Person>, Converter<Person,Map<String,Object>> { Person ...
package architecture.exception; public class BoardPostingNotFoundException extends RuntimeException{ // private static final long serialVersionUID = 112989079055962932L; public BoardPostingNotFoundException(String message){ // super(message); } }
package com.example.snapup_android.service; import com.example.snapup_android.dao.SeatMapper; import com.example.snapup_android.pojo.Seat; import java.util.Date; public class SeatServiceImpl implements SeatService{ private SeatMapper seatMapper; private TrainRunService trainRunService; publ...
//ввод названия месяца словом вывод месяца числом package Tasks; import java.io.*; import java.util.*; public class Task44 { public static void main(String[] args) throws Exception{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayList<String> months = new ArrayL...
package com.docker.data; import com.docker.storage.mongodb.CleanDocument; import org.bson.Document; import script.memodb.ObjectId; import java.util.HashMap; import java.util.Map; /** * Created by wenqi on 2018/12/4 */ public class ServiceAnnotation { public static final String TYPE = "type"; public static ...
package com.demo.model; import javax.validation.constraints.Size; import com.demo.helloController.isValidSubject; public class SubjectMarks { private int marks; @Size(min=2,max=10) @isValidSubject(listOfValidSubjects = "physics|maths|chemistry") //This will be caught in isValidSubject private String subject...
package com.briup.apps.poll.service.Impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.briup.apps.poll.bean.Options; import com.briup.apps.poll.bean.Question; import com.briup.apps.poll.bean.QuestionExample; ...
/* * Copyright 2002-2021 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 org.zeos.cafe.exception; /** * Created by alxev on 09.07.2017. */ public class AlreadyClosedException extends Exception { }
/* * 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.victuxbb.javatest.security.service; import com.victuxbb.javatest.security.token.InMemoryUserTokenRepository; import com.v...
import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.*; import java.io.IOException; import java.sql.SQLException; @WebServlet("/auth") public class LoginServlet extends HttpServlet { protected void doPost(HttpServletRe...
import java.lang.*; class high { public static void main(String args[]){ int a=20,b=10,c=4; if(a>b) if(a>c) System.out.print("Highest value="+a); else System.out.print("\nHighest value="+b); else if(b>c) System.out.print("\nHighest value="+b); else System.out.print("\nHighest value="+c); ...
package com.smokescreem.shash.popularmovies.ui.adapters; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import a...
package org.cruise.service; import org.apache.commons.lang3.StringUtils; import org.apache.log4j.Logger; import org.cruise.model.Preach; import org.cruise.repositories.CompanyRepository; import org.cruise.repositories.PreachRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springfra...
package com.example.daryl.error404; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.Toast; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.FirebaseDatabase; public cla...
package com.example.studentmanagment; import android.app.Application; public class GlobalClass extends Application { private String collegeId; private String facultyId; public String getCollegeId() { return collegeId; } public void setCollegeId(String collegeId) { this.collegeId = college...
package com.infinite.study.repository.post; import com.infinite.study.model.Id; import com.infinite.study.model.posts.Post; import com.infinite.study.model.user.User; import java.util.List; import java.util.Optional; public interface PostRepository { Post insert(Post post); void update(Post post); Opt...
package com.xinhua.api.domain.xDCBBean; import java.io.Serializable; /** * Created by tanghao on 2015/12/21. * 新单承保-响应 * 险种现金价值表 */ public class XzAmtTableListResponse implements Serializable { private String polBenefitCount; private String cashValueCount; private String count; private String prnt...
package hopper.interpreter; import hopper.Coordinate; /** * The CollectCommand class encapsulates the '<code>-collect</code>' command * passed on by the user to the application via the terminal. * * A <code>CollectCommand</code> object contains a property which is an array of * two <code>Coordinate</code>s, bo...
package com.myvodafone.android.model.service; import java.io.Serializable; public class BAInfo implements Serializable { public String billingAccountId; public String activeConnections; public BAInfo() { this.billingAccountId = ""; this.activeConnections = ""; } public String ge...
package com.tscloud.address.server.provider; import com.alibaba.dubbo.config.annotation.Service; import com.github.pagehelper.PageInfo; import com.tscloud.address.domain.entity.DistrictEntity; import com.tscloud.address.domain.entity.SearchParams; import com.tscloud.address.domain.provider.IDistrictProvider; import co...
package com.example.yuanbaodianfrontend.dao; import com.example.yuanbaodianfrontend.pojo.QuestionVo; import com.example.yuanbaodianfrontend.pojo.YbdExchanageMall; import com.example.yuanbaodianfrontend.pojo.YbdQuestionBack; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; ...
package com.mbti.board.service; import com.mbti.board.dao.BoardReplyDAO; import com.mbti.board.vo.BoardReplyVO; import com.mbti.main.controller.Service; public class BoardReplyUpdateService implements Service{ private BoardReplyDAO dao; @Override public Object service(Object obj) throws Exception { // TODO Auto-...
package generic; public class Path<T> { <D> Path<D> get() { return new Path<>(); } }
package kr.co.people_gram.app; import android.content.Context; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.CheckBox; import android.widget.ImageView; import android.widget.TextView; impor...
package com.ytf.zk.nameservice; import com.ytf.zk.constant.ClientBase; import org.apache.zookeeper.CreateMode; import org.apache.zookeeper.KeeperException; import org.apache.zookeeper.ZooDefs; import org.apache.zookeeper.ZooKeeper; import java.io.IOException; /** * Created by yutianfang * DATE: 17/4/23星期日. */ pub...
package heylichen.alg.graph.tasks; import heylichen.alg.graph.structure.SymbolGraph; import heylichen.test.AppTestContext; import lombok.extern.slf4j.Slf4j; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; @Slf4j public class DegreesOfSeparationTest extends AppTestContext { @...
package models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.Objects; @AllArgsConstructor @NoArgsConstructor @Data @JsonIgnoreProperties(ignoreUnknown = true) public class FileDto { private Strin...
package com.youthlin.example.chat.protocol.request; import com.youthlin.example.chat.protocol.Command; import com.youthlin.example.chat.protocol.Packet; import lombok.Data; /** * 创建: youthlin.chen * 时间: 2018-11-13 20:17 */ @Data public class LogoutRequestPacket extends Packet { private static final long serial...
package com.hwj.service; import com.hwj.entity.student; public interface IStudentService extends IBaseService<student>{ }
package cj.oshopping.user.admin.web; import java.util.List; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.core.convert.ConversionService; import org.springframework.core.convert.T...
package org.usfirst.frc.team319.robot; import org.usfirst.frc.team319.robot.subsystems.Drivetrain; import org.usfirst.frc.team319.robot.subsystems.Pneumatics; import org.usfirst.frc.team319.robot.subsystems.Wrist; import org.usfirst.frc.team319.utils.VisionHelper; import org.usfirst.frc.team319.robot.subsystems.Acube...
package be.mxs.common.util.io; import java.awt.image.BufferedImage; import java.io.File; import java.net.URL; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Timestamp; import javax.imageio.ImageIO; import org.apache.commons.io.FileUtils; import org.dcm4che2...
package com.corneliouzbett.mpesasdk.exception; public class MpesaException extends RuntimeException { private static final long serialVersionUID = 2516935680980388130L; public MpesaException(final String message) { super(message); } public MpesaException(final String message, final Throwable cause) { super(...
package fr.perrine.starlove; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStore; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.view.View; import android....
package com.thomson.dp.principle.zen.lsp.domain; /** * AUG狙击枪 * * @author Thomson Tang */ public class AUG extends Rifle { //狙击枪会携带一个精准的望远镜,这就是子类AUG特有的个性方法 public void zoomOut() { System.out.println("用望远镜瞄准敌人......"); } @Override public void shoot() { System.out.println("用AUG狙击枪射击....
package org.xaab.springmvc; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @Controller public class LoginController { private stati...
package io.github.yanhu32.xpathkit.converter; import io.github.yanhu32.xpathkit.utils.Strings; /** * @author yh * @since 2021/4/22 */ public class DoubleTextConverter implements TextConverter<Double> { @Override public Double apply(String text) { if (Strings.isEmpty(text)) { return null...
package com.soa.soap; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for wsElf complex type. * * <p>The following schema fragment specifies the expecte...
package highscore; import java.io.IOException; import gui.GUIApplication; import mainGame.components.Song; public class HighscoreGui extends GUIApplication{ /** * */ private static final long serialVersionUID = 1L; private HighscoreScreen highscore; public static void main(String[] args) ...
package com.github.andlyticsproject; import android.os.Bundle; import android.preference.CheckBoxPreference; import android.preference.Preference; import android.preference.Preference.OnPreferenceChangeListener; import android.preference.PreferenceCategory; import android.preference.PreferenceManager; import com.act...
import java.util.Scanner; public class Uri1060{ public static void main(String args[]){ Scanner teclado = new Scanner(System.in); float N; int qtd=0; for (int cont = 1; cont <=6; cont++){ N = teclado.nextFloat(); if (N > 0){ //System.out.prin...
package fileManager; public class Node { String key; Node left, right; public Node (String item) { key = item; left = right = null; } public String toString() { return "good"; } }
package kompressor.huffman.structures; import kompressor.huffman.TreeBuilder; import static org.junit.Assert.assertEquals; import org.junit.Test; public class HuffmanTreeTest { private HuffmanTree tree; public HuffmanTreeTest() { } @Test public void testSearchCode() { tree = TreeBui...
package al.ahgitdevelopment.municion; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import java.util.ArrayList; /** * Created by Alberto on 11/04/2016. */ public class ...
package generics; /** * Created by user on 05.12.16. */ public class Car extends Machine { public Long model; public Long year; }
package cn.tedu.annotation; @Apple(s = 6.6, value = "大牛") public class TestDome { String name; public void play() { System.out.println("普通方法"); } }
package jesk.system; import java.awt.Image; import java.io.File; import java.lang.reflect.Method; import javax.swing.ImageIcon; import javax.swing.filechooser.FileSystemView; public class ShellFolder { private final File file; private final Object shell; public ShellFolder(File file) { this.file = f...
package hwarang.artg.manager.service; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import hwarang.artg.common.model.CriteriaDTO; import hwarang.artg.mapper.ManagerMainMapper; import hwarang.artg.member.model...
package component; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import dbConstant.DBConstant; public class MySQLStub { // Attribute private java.sql.Statement statement; // Constructor public MySQLStub() {this.login(DBConstant.URL, DBCons...
package pet_shop.DAO; import java.util.ArrayList; import pet_shop.negocio.beans.Produto; public class ProdutoDAO { private ArrayList<Produto> repositorioProduto; private static ProdutoDAO instance; private ProdutoDAO() { this.repositorioProduto = new ArrayList<>(); } public static ProdutoD...
package com.example.spring05.model.member.dao; import com.example.spring05.model.member.dto.MemberDTO; public interface MemberDAO { public boolean loginCheck(MemberDTO dto); public MemberDTO viewMember(String userid); }
/* * Copyright 2002-2022 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.xcafe.bank.service.repository; import com.xcafe.bank.entity.Account; import org.springframework.dao.DataAccessException; import org.springframework.jdbc.core.ResultSetExtractor; import java.sql.ResultSet; import java.sql.SQLException; public class AccountExtractor implements ResultSetExtractor<Account> {...
package az.omar.staticfragmentexplain; import androidx.appcompat.app.AppCompatActivity; import androidx.fragment.app.FragmentManager; import android.os.Bundle; import java.util.Stack; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { ...
// // Decompiled by Procyon v0.5.36 // package com.davivienda.sara.tablas.transportadora.session; import java.util.Collection; import javax.annotation.PostConstruct; import com.davivienda.sara.tablas.transportadora.servicio.TransportadoraServicio; import javax.persistence.PersistenceContext; import javax.persistenc...
/* * 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 services; import dataaccess.CategoriesDB; import dataaccess.ItemsDBException; import java.util.List; import models.Category; ...
/* * class SuiteTest version 1.0 * Fecha de creación: 29/05/2021 Fecha de Última modificación: 29/05/2021 * * Copyright (c) David Jiménez Riscardo, 2021 * Módulo: DISEÑO DE INTERFACES Ejercicio ejemplo para el Examen Final de Junio */ package calculator; import org.junit.runner.R...
package br.cefetrj.sca.infra.cargadados; import java.io.File; import java.io.IOException; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.persistence.EntityManager; import javax.persistence.NoResultException; import javax.persisten...
import java.util.ArrayList; public class Task1_1 { /* Составить линейную программу, печатающую значение true если сумма двух первых чисел заданного четырехзначного числа равна сумме двух его последних цифр, и false - в противном случае */ public static void main(String[] args) { final String...
public enum VehicleType { SUV(1000),SEDAN(100),MOTOR_CYCLE(10),MPV(1500),TRUCK(3000),VAN(2000); private int rate; private VehicleType(int rate) { this.rate = rate; } public int getRate() { return this.rate; } }
package itemData; public class buff { public String showName = null; public buff(String buffType){ showName = buffType; } }
package cn.wormholestack.eventnice.annotation; import java.lang.annotation.*; /** * @description: Annotation:标识一个方法为事件接收器方法 * @Author MRyan * @Date 2021/10/7 22:50 * @Version 1.0 */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @Documented public @interface EventReceive { }
package de.deeprobin.amethyst_mod; import net.fabricmc.api.ModInitializer; import net.minecraft.block.*; import net.minecraft.entity.EquipmentSlot; import net.minecraft.item.*; import net.minecraft.structure.rule.BlockMatchRuleTest; import net.minecraft.util.Identifier; import net.minecraft.util.registry.BuiltinRegist...
package Project; import java.util.*; public class Student extends User implements Function, java.io.Serializable { //initialize variable private ArrayList<Course> regCourse = new ArrayList<Course>(); //default constructor public Student() { super(); } //constructor for new student public Student(String u...
/* * 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 org.abrahamalarcon.datastream.controller; import org.abrahamalarcon.datastream.service.DatastoreService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.messaging.handler.annotation.DestinationVariable; import ...
package dao.impl; import java.util.List; import javax.annotation.Resource; import org.springframework.stereotype.Repository; import model.User; import model.UserComic; import dao.IUserComicDao; import dao.common.AbstractHibernateDao; @Repository("userComicDao") public class UserComicDao extends AbstractHibernateDa...
package com.metoo.foundation.domain; import java.math.BigDecimal; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import org.hibernate.annotations.Cache; import org.hibernate.annotations.CacheConcurrencyStrategy; import com.metoo.c...
package com.gamzat; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner Bender = new Scanner(System.in); double FirstNumber; double SecondNumber; double Result; //double FirstNumber, SecondNumber, Result System.out.printl...
package com.strategy.entity; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.Date; @Data @AllArgsConstructor @NoArgsConstructor public class Account { String strategy; String email; Date placementDate; OfferTag offerTag; TreatmentTool treatm...
package com.mytechia.robobo.framework.hri; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import com.mytechia.robobo.framework.RoboboManager; import com.mytechia.robobo.f...
package com.txxlc.SystemConfig.securityConfig.Properties; public class ImageCodeproperties { private int width = 67; private int height = 23; private int length = 4; private int expirIN = 60; private String url = "/login";//需要验证码的路径 public String getUrl() { return url; } pu...
package com.capgemini.swissbank.ui; import java.util.List; import java.util.Scanner; import com.capgemini.swissbank.bean.AccMasterBean; import com.capgemini.swissbank.bean.AccountType; import com.capgemini.swissbank.bean.CustomerBean; import com.capgemini.swissbank.bean.PayeeBean; import com.capgemini.swissb...
package ui; import java.awt.Color; import java.awt.Graphics; import java.awt.Point; import javax.swing.ImageIcon; import javax.swing.JPanel; public class JPanelStTwo extends JPanel implements Runnable{ private static final long serialVersionUID = 1L; private JPanelSettingNext jpstn; private JMai...
package mx.redts.adendas.service; import java.util.Date; import java.util.List; import mx.redts.adendas.dao.IOpenBravoDAO; import mx.redts.adendas.model.FeDetalle; import mx.redts.adendas.model.FeDirFiscal; import mx.redts.adendas.model.FeDirReceptor; import mx.redts.adendas.model.FeEncabezado; import mx.re...
package gamez; import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Game extends JPanel { private Hamdy hamdy; private Assignment a1, a2, a3; private Boss boss; private BG bg; private int speed; public Game() { speed = 10; setSize(450,750); ha...