text
stringlengths
10
2.72M
package assignment4; import java.util.Random; /** * SuperHero Superclass * @author Jamie Lewis */ public class SuperHero { // Attributes String name; int health; boolean isDead = false; /** * Non-default SuperHero Constructor * @param name * @param health */ public SuperHero(String name, int health...
package alien4cloud.rest.orchestrator; import javax.annotation.Resource; import org.springframework.http.MediaType; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.sp...
package com.example.fantasytranslator; import android.content.Intent; import android.os.Bundle; import com.firebase.ui.auth.AuthUI; import com.google.android.gms.tasks.OnCompleteListener; import com.google.android.gms.tasks.Task; import com.google.android.material.floatingactionbutton.FloatingActionButton; import com...
package com.lyl.core.common.control; import com.lyl.core.common.context.EndMonitorCtx; import com.lyl.core.common.context.StartMonitorCtx; import com.lyl.core.common.enums.MonitorResult; /** * Created by lyl * Date 2018/12/27 17:49 */ public interface ServerMethodControl extends MethodControl { void acceptClie...
package inatel.br.nfccontrol.di.component; import inatel.br.nfccontrol.di.module.DataModule; import inatel.br.nfccontrol.di.module.SharedPreferenceModule; import javax.inject.Singleton; import dagger.Component; import inatel.br.nfccontrol.TccApplication; import inatel.br.nfccontrol.account.AccountActivity; import ina...
package com.sinha.eurekaTestProject; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; @EnableEurekaServer @SpringBootApplication public class EurekaTestProjectApplication {...
package com.uchain.uvm.repository; import com.google.common.collect.Maps; import com.sun.istack.internal.Nullable; import com.uchain.core.Account; import com.uchain.core.Code; import com.uchain.core.Contract; import com.uchain.core.consensus.ForkBase; import com.uchain.core.datastore.BlockBase; import com.uch...
package com.xsis.batch197.model; import java.util.ArrayList; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persiste...
package cn.test.ping; import cn.test.httpProgressBar.AjaxResult; import com.alibaba.fastjson.JSON; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpMethod; import org.springframework.stereotype.Service; import org.springframework.web.c...
package net.cnr.studentManagentBackEnd.test; import static org.junit.Assert.assertEquals; import org.junit.BeforeClass; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import net.cnr.studentManagen...
package com.hewuzhao.frameanimation.blobcache; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.util.Log; import com.hewuzhao.frameanimation.bytespool.BytesBuffer; import com.hewuzhao.frameanimation.utils.ResourceUtil; import java.nio.ByteBuffer; /** * @author hewuzhao * @date...
package com.yc.education.controller; import com.yc.education.application.NetworkConfiguration; import com.yc.education.model.DataSetting; import com.yc.education.model.basic.EmployeeBasic; import com.yc.education.service.UsersService; import com.yc.education.service.basic.EmployeeBasicService; import com.yc.education....
package com.esum.hotdeploy; import java.io.File; import org.apache.log4j.PropertyConfigurator; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import com.esum.xtrus.boot.classloader.XtrusBootClassLoader; public class ClassLoaderTest { @Before public void init() throws Exception { Syste...
package security; import java.util.ArrayList; import java.util.Collection; import org.apache.log4j.Logger; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.userdetails.User; import org.springframework.security.core.userdetails.UserDetails; import org....
/* * Request * * Version 1.0 * * November 25, 2017 * * Copyright (c) 2017 Team 26, CMPUT 301, University of Alberta - All Rights Reserved. * You may use, distribute, or modify this code under terms and conditions of the Code of Student Behavior at University of Alberta. * You can find a copy of the license in ...
package com.project.repository; import com.project.model.Collaborator; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface CollaboratorRepository extends JpaRepository<Collaborator, Long> { }
package domain; public class Studentenkamer extends StudentenVerblijf { public Studentenkamer(int verdiepingnummer, int verblijfnummer, Euro prijsPerVierkanteMeter, int oppervlakte) { super(verdiepingnummer, verblijfnummer, prijsPerVierkanteMeter, oppervlakte); } @Override public Euro prijs()...
package org.ingue.jpa.domain.relationship; import org.springframework.data.jpa.repository.JpaRepository; public interface RelationShipRepository extends JpaRepository<RelationShip, Long> { }
package dao; import java.util.List; import bean.Users; public interface UserDAO { public List<Users> gerUsers(); public Users getUser(int id); public boolean deleteUser(int id); public boolean updateUser(Users u); public Integer createUse(Users u); }
package services; import java.util.ArrayList; import entities.Trajet; public interface TrajetServiceInterface { public ArrayList<Trajet> getAllTraget(); public void deletedTraget(int trajetID); public void addTrajet(Trajet trajet); public void updateTrajet(Trajet trajet); }
package com.gao.commonProxy; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; public interface InvocationHandler { void Invoke(Object o, Method method, Object... args) throws InvocationTargetException, IllegalAccessException; }
package org.spider.boot; import org.spider.core.middleware.Order; import org.spider.core.middleware.RequestMiddleware; import org.spider.util.Console; import org.springframework.web.reactive.function.client.WebClient; /** * @author liuxin * @version Id: RequestMiddleware1.java, v 0.1 2018/7/27 上午11:13 */ @Order(we...
package com.auro.scholr.core.application.base_component; import android.os.Bundle; import androidx.fragment.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.auro.scholr.R; /** * A simple {@link Fragment} subclas...
/** * Sencha GXT 1.0.0-SNAPSHOT - Sencha for GWT * Copyright (c) 2006-2018, Sencha Inc. * * licensing@sencha.com * http://www.sencha.com/products/gxt/license/ * * ================================================================================ * Commercial License * ============================================...
import java.util.*; import java.math.BigInteger; class HugeFactorials { public static Map<Integer,BigInteger> preprocess(int n) { //the preprocessing step needs to be run once Map<Integer,BigInteger> factorials = new HashMap<Integer,BigInteger>(); factorials.put(0,new BigInteger("1")); for(Integer i=1; i <=...
/* * JBoss, a division of Red Hat * Copyright 2013, Red Hat Middleware, LLC, and individual * contributors as indicated by the @authors tag. See the * copyright.txt in the distribution for a full listing of * individual contributors. * * This is free software; you can redistribute it and/or modify it * under th...
package hu.lamsoft.hms.androidclient.adapter.impl; import android.view.View; import android.widget.TextView; import hu.lamsoft.hms.androidclient.R; import hu.lamsoft.hms.androidclient.adapter.ViewHolder; import hu.lamsoft.hms.androidclient.restapi.food.dto.FoodDTO; /** * Created by admin on 2017. 04. 15.. */ publ...
package packets; import java.io.Serializable; /** * Класс сообщений с массивом строк */ public class StringPacket extends Packet implements Serializable { /** * Поле сроки */ private String[] strings; /** * Конструктор класса строкосодержащего сообщения * @param mes...
package leader; import leader.clview.View; import leader.clview.command.Command; import leader.clview.command.CommandFactory; import leader.clview.command.CommandType; import leader.game.event.GameEvent; import leader.game.event.GameEventListener; import leader.game.event.GameEventType; import leader.game.Town; import...
package f.star.iota.milk.ui.gkdgif.gkd; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import java.util.ArrayList; import java.util.List; import butterknife.BindView; import f.star.iota.milk.Menus; import f.star.iota.milk.Net; import...
package com.ynyes.xunwudao.controller.front; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframewo...
package io.ceph.rgw.client.model; import io.ceph.rgw.client.action.ActionFuture; import io.ceph.rgw.client.action.ActionListener; /** * Interface to create a Request and execute the Action. * * @author zhuangshuo * Created by zhuangshuo on 2020/3/2. */ public interface RequestBuilder<REQ extends Request, RESP ex...
package com.ccloud.oa.user.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; /** * @author : breeze * @date : 2020/8/19 * @description : */ @Data @ApiModel("登录成功返回前端的用户信息") public class UserInfo { @ApiModelProperty(value = "用户账号") private Stri...
package com.shihang.myframe.manager; import android.os.Handler; import android.widget.TextView; public class CodeManager { private TextView button; private Handler handler = new Handler(); private boolean isRuning = false; private int count = -1; private String textOff; private String textOn; public CodeMana...
package shadows.hitwithaxe.block; import net.minecraft.block.state.IBlockState; import net.minecraft.util.BlockRenderLayer; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IBlockAccess; import shadows.hitwithaxe.EnumBarkType; public class BlockDebarkedSpectre ...
package io.dcbn.backend.evidence_formula.services; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.json.JsonMapper; import de.fraunhofer.iosb.iad.maritime.datamodel.AreaOfInterest; import de.fraunhofer.iosb.iad.maritime.da...
package com.api.impl; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import com.api.interf.PositionsCustomMethods; public class PositionsRepositoryImpl implements PositionsCustomMethods{ @PersistenceContext private EntityManager em; }
package com.xu.spring.bean; import java.util.ArrayList; import java.util.List; public class User { private String userName; private String password; private int age; private String email; public String getUserName() { return userName; } public void setUserName(String userName) { this.use...
/* * Лицензионное соглашение на использование набора средств разработки * «SDK Яндекс.Диска» доступно по адресу: http://legal.yandex.ru/sdk_agreement * */ package com.yandex.disk.client; import android.os.Parcel; import android.os.Parcelable; import android.util.Base64; import org.apache.http.message.AbstractHtt...
package com.arthur.bishi.wangyi0821; import java.util.Scanner; /** * @description: * @author: arthurji * @date: 2021/8/21 14:32 * @modifiedBy: * @version: 1.0 */ public class No2 { public static void main(String[] args) { // Scanner scanner = new Scanner(System.in); // String[] split = scanner...
package com.example.zeal.greendaodemo; import android.database.sqlite.SQLiteDatabase; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.webkit.DateSorter; import org.litepal.LitePal; import org.litepal.crud.DataSupport; import...
package main.java; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; public class RecupConfig { private static final Path config = Paths.get("./classes/config.properties"); // Emplacement fichier configuration pour la prod //p...
package com.jaiaxn.design.pattern.created.abstractfactory; import com.jaiaxn.design.pattern.created.abstractfactory.equipment.Equipment; import com.jaiaxn.design.pattern.created.factory.constant.HeroPositionConstant; import com.jaiaxn.design.pattern.created.factory.hero.*; /** * @author: wang.jiaxin * @date: 2019年0...
/* * 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 pl.pawel.weekop.service; import pl.pawel.weekop.dao.DAOFactory; import pl.pawel.weekop.dao.VoteDAO; import pl.pawel.weekop.model.Vote; import pl.pawel.weekop.model.VoteType; import java.sql.Timestamp; import java.util.Comparator; import java.util.Date; import java.util.List; public class VoteService { pu...
package com.baizhi.entity; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.ToString; import lombok.experimental.Accessors; import java.io.Serializable; import java.util.Date; @Data @AllArgsConstructor @NoArgsConstructor @ToString @Accessors(chain = true) public cl...
package com.useradmin.project.system.syslog; import org.apache.log4j.Logger; import java.sql.Timestamp; /** * 日志model * @author 董华健 */ @SuppressWarnings("unused") //@Table(tableName = "pt_syslog") public class Syslog /*extends BaseModel<Syslog> */{ private static final long serialVersionUID = 20519986422580155...
package com.vb.lsb.california.tour.repository; import com.vb.lsb.california.tour.model.Role; import org.springframework.data.jpa.repository.JpaRepository; import java.util.Optional; public interface RoleRepository extends JpaRepository<Role, Long> { Optional<Role> findByRoleName(String name); }
/** * Copyright (C) Alibaba Cloud Computing, 2012 * All rights reserved. * * 版权所有 (C)阿里巴巴云计算,2012 */ package com.aliyun.oss.common.parser; import com.aliyun.oss.common.comm.ResponseMessage; /** * Used to convert an result stream to a java object. */ public interface ResultParser { /** * Converts the...
package rdfsynopsis.test; import static org.junit.Assert.assertEquals; import java.io.StringWriter; import org.apache.log4j.Logger; import org.junit.Before; import org.junit.Test; import rdfsynopsis.analyzer.Analyzer; import rdfsynopsis.analyzer.TripleStreamAnalyzer; import rdfsynopsis.dataset.InMemoryDataset; impo...
/* * Copyright 2020 WeBank * * 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 writi...
package modelo; import java.util.ArrayList; import distribuciones.DistribucionMedia; import vista.PAnimacion; public class Clientes2 extends Personas{ private static final long serialVersionUID = 1L; private ArrayList<Cliente2> clientes2; private int dias; public Clientes2(PAnimacion va,int nroClDob,int vel,in...
package tnt.crasher.restaurant_management_system.Admin; import android.database.Cursor; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.ListView; import an...
package com.role.game.io.writer; import static java.lang.System.out; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; import java.nio.file.Paths; import org.apache.logging.log4j.LogManager; import org.apache.log...
package br.cefetrj.sca.dominio; import java.util.ArrayList; import java.util.List; import javax.persistence.Embedded; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity public class Ite...
//Problem //Arrange Numbers in Array //Send Feedback //Given a number n, put all elements from 1 to n in an //array in order - 1,3,.......4,2. //Input Format : // Integer n //Output Format : // Elements of the array separated by space. //Sample Input 1 : //6 //Sample Output 1 : // 1 3 5 6 4 2 //Sample Inp...
package model.queue; import java.io.Serializable; /** * A runnable with optional attributes such as priority. Note that * you can override getID() to prevent the queuing of redundant * tasks. */ public class Task implements Runnable, Serializable { private static final long serialVersionUID = 4; private R...
package egovframework.adm.hom.qna; import java.io.File; import java.util.List; import java.util.Map; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; impo...
package tech.szymanskazdrzalik.a2048_app.boardActivity.Sensors; import android.content.Context; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import tech.szymanskazdrzalik.a2048_app.R; import tech.szymanskazdrzalik.a2048_app.boardActivity.BoardActivi...
package com.bistel.storm.topology; import org.slf4j.Logger; import backtype.storm.Config; import backtype.storm.LocalCluster; import backtype.storm.StormSubmitter; import backtype.storm.topology.BoltDeclarer; import backtype.storm.topology.TopologyBuilder; import backtype.storm.tuple.Fields; import com.bistel.config...
package com.github.gaoyangthu.esanalysis.ebusi.service; import com.github.gaoyangthu.esanalysis.ebusi.bean.MasterOrder; import java.util.Date; import java.util.List; /** * master_order表接口 * * Author: gaoyangthu * Date: 14-3-12 * Time: 下午5:34 */ public interface OrderService { /** * 根据时间查询订单 * * @param...
public class LuhnApp { public static void main(String[] args) { Luhn l1 = new Luhn (); int anzParam = args.length; for( int i = 0; i< anzParam ; i++) { boolean res = l1.check(args[i], 16); System.out.println(res); } } }
/* NeighborhoodSizeAnalysis -- a class within the Cellular Automaton Explorer. Copyright (C) 2007 David B. Bahr (http://academic.regis.edu/dbahr/) 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 Fou...
package com.syscxp.biz.entity.activiti; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import java.sql.Timestamp; /** * @Author: sunxuelong. * @Cretion Date: 2018-08-28. * @Description: . */ @Entity public class VacationApplication { @Id @GeneratedV...
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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:...
package pageTests; import org.testng.Assert; import org.testng.annotations.Test; import pageObjects.FlightHomePage; import pageObjects.FlightResultPage; import seleniumTests.BaseTestUsingTestNG; public class FlightResultPageTest extends BaseTestUsingTestNG{ FlightHomePage flightHomePage; FlightResultPage flightRes...
package main.java.commands; import main.java.GeneralCommands; import main.java.ICommand; import sx.blah.discord.handle.obj.IMessage; import sx.blah.discord.handle.obj.IVoiceChannel; import sx.blah.discord.util.DiscordException; import sx.blah.discord.util.HTTP429Exception; import sx.blah.discord.util.MessageBuilder; i...
package sb.hackathon.model; import lombok.Data; @Data public class Estimate { private User user; private Integer estimation; }
package cn.itcast.core.service.goods; import cn.itcast.core.entity.PageResult; import cn.itcast.core.pojo.good.Goods; import cn.itcast.core.vo.GoodsVo; import java.util.List; public interface GoodsService { /** * 保存商品 */ public void add(GoodsVo goodsVo); /** * 商家系统下的商品列表查询 */ pub...
package com.wz.week_2.linkedlist; import com.algorithm.list.ListNode; import com.util.ListNodeUtil; import org.junit.Test; public class MergeTwoLists { /** * 输入:1->2->4, 1->3->4 * 输出:1->1->2->3->4->4 * * [5] * [1,2,4] * 遍历到两个链表的尾部 * 需要注意该种情况,有可能某一个步骤,链表并部需要往后遍历 * @param l1...
package msip.go.kr.alimi.service.impl; import java.util.List; import javax.annotation.Resource; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import msip.go.kr.alimi.entity.Alimi; import msip.go.kr.alimi.service.AlimiService; import org.springframework.stereotype.Se...
/* * 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 DAL; import DTO.DTO_TheLoai; import GUI.Assignment; import java.sql.ResultSet; /** * * @author Asus */ public class DAL_Th...
package online.lahloba.www.lahloba.ui.seller; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.util.Log; import android.widget.Toast; import com.esafirm.imagepicker.features.ImagePicker; import com.esafirm.imagepicker....
/* * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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...
/** * 静态同步synchronized方法与synchronized(class)代码块 */ /** * @author Administrator * */ package mulitThread.chapter02.t2_2_9;
package com.GestiondesClub.services; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.GestiondesClub.dao.InviterRepository; import com.GestiondesClub.dto.Clubdto; import com.GestiondesClub.entities.Inviter; @Service publi...
package org.giddap.dreamfactory.leetcode.onlinejudge; /** * <a href="http://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/"> * Best Time To Buy And Sell Stock II</a> * <p/> * Say you have an array for which the ith element is the price of a given * stock on day i. * <p/> * Design an algorithm ...
package challenge2; import java.util.ArrayList; import java.util.Random; import static challenge2.Problem2.evaluate; import static challenge2.Problem2.getInitialState; public class StocasticHC { int verticesNum; int colorNum; int oldH = 0; int newH = 0; int oldColor; int numbe...
package com.wencheng.dao.impl; import java.util.List; import net.sf.json.JSONArray; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.criterion.Projections; import org.hibernate.criterion.Restrictions; import org.hibernate.sql.JoinType; import com.wencheng.dao.TeacherDao; i...
package edu.mum.sonet.controllers; import edu.mum.sonet.models.Advertisement; import edu.mum.sonet.services.AdvertisementService; import edu.mum.sonet.services.FileService; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.validation.BindingResult; import...
package com.myvodafone.android.utils; import android.util.Log; import java.util.concurrent.TimeUnit; /** * Created by d.alexandrakis on 14/6/2016. */ public class Performance { long starts; public static Performance start() { return new Performance(); } private Performance() { re...
package zhihui.xu; import com.netflix.hystrix.HystrixCommand; import com.netflix.hystrix.HystrixCommandGroupKey; import com.netflix.hystrix.HystrixCommandKey; /** * Created by zhihui.xu on 2017/9/30. */ /** * NOTE: 每个CommandKey代表一个依赖抽象,相同的依赖要使用相同的CommandKey名称。依赖隔离的根本就是对相同CommandKey的依赖做隔离 */ public class BuildByC...
package com.accolite.au; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.scheduling.annotation.EnableAsync; @SpringBootApplication @EnableAsync public class AuApplication { public static void main(String[] args) { ...
package be.openclinic.finance; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Iterator; import java.util.Locale; import java.util.SortedMap; import java.util.SortedSet; import java.util.T...
package com.git.cloud.sys.model.po; import java.io.Serializable; import com.git.cloud.common.model.base.BaseBO; public class SysUserPo extends BaseBO implements Serializable { private static final long serialVersionUID = 1L; public SysUserPo(){} private String userId; private String orgId; ...
package com.technolearns.services; import java.util.Set; import com.technolearns.model.Owner; import com.technolearns.model.Vet; public interface VetService extends CrudService<Vet, Long> { Vet findByLastName(String lastName); }
package com.guard.myguard.services.impl; import android.util.Log; import com.guard.myguard.enums.ParsingServiceType; import com.guard.myguard.services.interfaces.ParsingService; import java.util.HashMap; import java.util.Map; public class ParsingServiceFactory { private final static Map<ParsingServiceType, Pars...
package edu.mit.cci.simulation.excel.server; import edu.mit.cci.simulation.model.DefaultVariable; import edu.mit.cci.simulation.model.Variable; import org.springframework.roo.addon.entity.RooEntity; import org.springframework.roo.addon.javabean.RooJavaBean; import org.springframework.roo.addon.tostring.RooToString; im...
package com.ifeng.recom.mixrecall.common.dao.elastic; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import com.google.common.collect.Maps; import com.ifeng.recom.mixrecall.common.constant.GyConstant; import com.ifeng.recom.m...
package session2.td.agregation; public class NatCalculantRecursivement extends NatDeleguantEtat{ public NatCalculantRecursivement(EtatNaturelPur naturelPur) { super(naturelPur); } public Nat creerNatAvecEtat(EtatNaturelPur etatNaturelPur) { return new NatCalculantRecursivement(etatNaturelPur); } public Na...
package com.fm.model.inter; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.List; import com.fm.connection.ConnectionFactory; import com.fm.model.pojo.Form; public class FormDAOImpl implements FormDAO { Connection con=null; public FormDAOImp...
package edu.mit.cci.wikipedia.collector; import javax.xml.parsers.*; import org.xml.sax.*; import org.xml.sax.helpers.*; import java.io.*; public class XMLParseRevision extends DefaultHandler { /** * @param args */ private static String userName; private Result result; private String xml; public XMLParse...
/** * This package is contains all the entity objects which interact with hibernate for persistence. * * @author @author Swapnil Ahirrao * @version 1.0 * @since 03/20/2020 * */ package com.xp.springboot.entities;
package mb.tianxundai.com.toptoken.mall.shopcar; import android.content.Context; import android.util.Log; import com.zcolin.gui.pullrecyclerview.PullRecyclerView; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import io.reactivex.Observable; import io.reactivex.O...
package gov.inl.HZGenerator.Octree; import gov.inl.HZGenerator.BrickFactory.Brick; import gov.inl.HZGenerator.CLFW; import gov.inl.HZGenerator.Kernels.PartitionerResult; import javafx.util.Pair; import org.joml.Vector3i; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java...
/* * @(#)NameGenerator.java 1.0 07/05/99 * */ package org.google.code.netapps.chat.primitive; /** * Class for generating simple names on base of incremental counter. * * @version 1.0 07/05/99 * @author Alexander Shvets */ public class NameGenerator implements java.io.Serializable { static fin...
package co.sblock.events.listeners.block; import org.apache.commons.lang3.tuple.Pair; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.event.EventHandler; import org.bukkit.event.block.BlockSpreadEvent; import co.sblock.Sblock; import co.sblock.events.listeners.SblockListener; import co.sblock...
package com.cit360projectmark4.service; import com.cit360projectmark4.pojo.UsersEntity; public interface BaseService { public boolean login(String username, String password); public String registration(UsersEntity user); }
package hw4; import hw4.q01.*; import hw4.q02.TreeAnalyzer; import hw4.q03.*; import hw4.q04.MLMRevenueTracker; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Application { public static void main(String[] args) { MyHashTable<String, Integer> sales = new ...
package ru.ifmo.modeling; import Jama.Matrix; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.function.Function; public class SystemOfEquationsSolve { /** * 'functions' are constructing a system of equations as {f_1, ..., f_n} * And we solve the system:...