text
stringlengths
10
2.72M
package dedup; public class Solution { public String deDup(String input) { // Write your solution here. if(input == null){ return null; } char [] array = input.toCharArray(); //char [] p = input.toCharArray(); int slow = 0; //!!!array[fast]!=array[slow-1] ...
package com.smxknife.lock.redis; import com.smxknife.lock.BaseLock; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; import redis.clients.jedis.params.SetParams; /** * @author smxknife * 2021/6/11 */ @Deprecated public class RedisSetLock extends BaseLock { private JedisPool jedisPool; pri...
package com.tencent.mm.plugin.shake.b; public final class i { public static final int mWK = 1; private static final /* synthetic */ int[] mWL = new int[]{mWK}; }
package org.jboss.perf.test.server.controller.forms; import java.io.Serializable; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import org.hibernate.validator.constraints.NotEmpty; @ManagedBean @ViewScoped public class ThresholdForm implements Serializable { private static final long ser...
import java.sql.SQLException; import java.util.ArrayList; public class Gruppe { Integer grId; int art,instId; String name,bemerkung; static ArrayList<Gruppe> gruppen; Gruppe(){ grId=null; name=bemerkung=null; art=instId=0; } Gruppe(SqCursor c) throws SQLException{ grId=c.getI(1); instId=c.geti(2); nam...
package com.mes.cep.event; import com.bstek.urule.model.Label; public class CheckEvent extends Event { @Label("检验请求") private String checkRequest; @Label("检验完成") private String checkFinish; public String getCheckRequest() { return checkRequest; } public void setCheckRequest(String checkRequest) { this.ch...
/* * 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 mathsapp; /** * * @author x14428818 */ public class ConJnr extends javax.swing.JFrame { /** * Creates new form Th...
package model; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; public class HandGunBulletTest { private HandGunBullet b1; private Player p; @BeforeEach ...
package com.lecture.spring; import static org.junit.Assert.*; import java.util.List; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.lecture.spring.dao.IDao; import ...
package com.mx.profuturo.bolsa.model.wallet.vo; public class WalletResultVO { private Integer idCandidato; private String areaInteres; private int idAreaInteres; private String calificacion; private int idCalificacion; private String subAreaInteres; private int idSubAreaInteres; private String tiempoEnCartera...
package com.wanglu.movcat.repository; import com.wanglu.movcat.model.Background; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; public interface BackgroundRepository extends JpaRepository<Background, Integer>{ @Query(value = "SELECT * FROM back...
package tk.mybatis.simple.mapper; import org.apache.ibatis.session.SqlSession; import org.junit.Assert; import org.junit.Test; import tk.mybatis.simple.model.SysPrivilege; import tk.mybatis.simple.model.SysRole; import tk.mybatis.simple.model.SysUser; import tk.mybatis.simple.type.Enabled; import java.util.*; public...
/** * */ package com.lmiky.dubbo.provider.servlet; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import com.alibaba.dubbo.common.extension.ExtensionLoader; import com.alibaba.dubbo.container.Container; import com.alibaba.dubbo.container.spring.SpringContainer; import com....
package designer.ui.editor.element; import java.awt.*; /** * Created by Tomas Hanus on 4/17/2015. */ public class EdgeOnValue extends Edge { private String on; public EdgeOnValue(Element parent, Element child) { super(parent, child); } public EdgeOnValue(Element parent, Point tmpChildrenP...
package com.asiainfo.fdc.business.tclz; import java.io.Serializable; import java.sql.SQLException; import java.util.List; import jef.database.QB; import jef.database.query.Query; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; ...
package algorithms.tasks; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.io.PrintStream; import java.util.Arrays; import java.util.Scanner; import static org.assertj.core.api.Assertions.assertThat; class QHeap...
package Principal; import Presentacion.MenuInicio; public class Alimentos { public static void main(String[] args) { MenuInicio interfaz = new MenuInicio(); interfaz.setVisible(true); } }
package magical.robot.global; /** * * @author Pavel Rubinson * */ public interface ObjectInfoContainer { /** * Set the horizontal location (X axis coordinate) of the object. * @param location */ public void setHorizontalLocation(double location); /** * Set the approximate distance f...
package my.sheshenya.samplespringdatajdbc; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; @Repository public interface MasterRepository extends CrudRepository<Master, Long> { }
/* * 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 ec.edu.ups.clases; /** * * @author LENOVO */ public class Materia { private int codigo; private Stri...
package com.reigens; import com.badlogic.gdx.Game; import com.reigens.screens.Splash; public class MasterWarrior extends Game { public static final String TITLE = "Master Warrior"; public static final String VERSION = "0.0.0.2"; @Override public void create () { setScreen(new Splash()); } @Override...
package foo.dbgroup.RDFstruct; import java.net.UnknownHostException; import java.util.List; import com.google.code.morphia.Datastore; import com.google.code.morphia.Morphia; import com.google.code.morphia.logging.MorphiaLoggerFactory; import com.google.code.morphia.logging.slf4j.SLF4JLogrImplFactory; import com.mongo...
/** * Copyright 2016-02-15 the original author or authors. */ package pl.szkolenie.orders; import pl.com.softproject.lilu.model.order.Order; import pl.com.softproject.utils.xml.BaseXMLSerializer; /** * @author Adrian Lapierre {@literal <adrian@soft-project.pl>} */ public class OrderSerializer extends BaseXMLSeria...
package com.tencent.mm.plugin.appbrand.jsapi.k; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.tencent.mm.plugin.appbrand.s$g; import com.tencent.mm.plugin.appbrand.s.h; import java.util.ArrayList; final class b$a extends BaseAdap...
/********************************************************************* * Este package implementa o container do evento pendente. discreteStochasticSim tambem oferece uma interface caso outros pecs * sejam necessarios. * * @author Grupo 11 * *********************************************************************/ ...
package com.espendwise.manta.util.parser; import org.apache.log4j.Logger; import java.util.Date; public class AppParserFactory { private static final Logger logger = Logger.getLogger(AppParserFactory.class); public static <T> AppParser<T> getParser(Class<T> type) { if (Integer.class.isAssignable...
package com.registered; public class RegisteredDTO { private String member_name; private String registered_date; private String id; private int listNum; public String getMember_name() { return member_name; } public void setMember_name(String member_name) { this.member_name = member_name; } ...
public class Person { private String firstName; private String lastName; /** * Constructor for Person * * @param firstName First name * @param lastName Last name */ public Person(String firstName, String lastName) { this.firstName = firstName; this....
package superintendent.features.wiki.links; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; import superintenden...
package main.model; /** * Created by gijin on 2017-12-06. */ public class Character { public enum CharacterName { DANNING, ALEXIA, FELICITY, AMY, WANLIN, DALE, DONNY, ED, WILLIAM } // do Character or name? // include information a...
/* * generated by Xtext */ package org.eclipselabs.spray.shapes.formatting; import java.util.ArrayList; import java.util.List; import org.eclipse.xtext.Keyword; import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter; import org.eclipse.xtext.formatting.impl.FormattingConfig; import org.eclipse.xtext....
import org.junit.*; import static org.junit.Assert.*; public class LibraryTest { private Library library; @Before public void buildUp() { library = new LibraryImpl("British Library"); } @Test public void testsGetName() { String output = library.getName(); String expected = "British Library"; assertEq...
import java.util.*; class Array2D{ public static void main(String args[]){ System.out.println("Enter array size"); int n,i,j; Scanner sc=new Scanner(System.in); n=sc.nextInt(); int arr[][]; arr= new int[n][n]; //int arr= new int[n]; for(i=0;i<n;i++){ for(j=0;j<n;j++){ System.out.println("Enter element"); arr[i][j]=sc.n...
package com.TestCases; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import com.GenericMethods.GenericMethods; import cucumber.api.DataTable; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; ...
package com.kindy.dao; import java.util.List; import com.kindy.domain.QueryCondition; import com.kindy.domain.Task; public interface DailyTaskDao { public List<Task> getTodayTaskList(); public boolean addNewDailyTask(Task task); public boolean updateTodayDailyTask(Task task); public List<Task> getTask...
package business; import java.io.Serializable; import java.util.Date; /** * Created by wierz on 2016/4/20. */ public class PerformanceADBean implements Serializable { private int employeeID; private String name; private String department; private String rank; private Date date; private Strin...
package com.codegym.cms.controller; import com.codegym.cms.model.Customer; import com.codegym.cms.model.Province; import com.codegym.cms.repository.CustomerRepository; import com.codegym.cms.service.CustomerService; import com.codegym.cms.service.ProvinceService; import org.springframework.beans.factory.annotation.Aut...
package de.jmda.home.ui.vaadin.usermgmt; import javax.ejb.EJB; import org.vaadin.virkki.cdiutils.application.UIContext.UIScoped; import de.jmda.cbo.user.User; import de.jmda.common.ui.web.vaadin.service.DefaultSessionContext; import de.jmda.home.bl.usermgmt.UserManagementBean; @UIScoped // virkii version public cla...
package pt.ist.sonet.service; import java.util.List; import pt.ist.sonet.service.*; import pt.ist.sonet.service.dto.*; import pt.ist.sonet.domain.*; import pt.ist.sonet.exception.*; import jvstm.Atomic; import pt.ist.fenixframework.pstm.Transaction; public class ObtainAgentPublicationTest extends SonetServiceTestCas...
package com.zlzkj.app.mapper.index; import com.zlzkj.app.model.index.Role; import com.zlzkj.core.sql.Row; import java.util.List; import java.util.Map; public interface RoleMapper { int deleteByPrimaryKey(String id); int deleteAdminByPrimaryKey(String id); int insert(Role record); Role selectByPri...
package com.scnuweb.domain; /** * * @author yehao * @date 2016年2月16日 * @comment 用来包装button,select,input的类 */ public class Item { public static final String ITEM_BUTTON = "button"; public static final String ITEM_SELECT = "select"; public static final String ITEM_INPUT = "input"; private String type; privat...
package com.catnap.core.util; import static org.junit.Assert.*; import org.junit.Test; import java.beans.PropertyDescriptor; import java.util.Date; import java.util.Map; /** * Created with IntelliJ IDEA. * * @author gwhit7 */ public class ClassUtilTest { static abstract class BaseMockModel ...
一、html 由标签组成 1、简介 1.1、html是什么? Html是用来描述网页的一种语言。 HTML 指的是超文本标记语言 (Hyper Text Markup Language) HTML 不是一种编程语言,而是一种标记语言 (markup language) html 标记语言是一套标记标签 (markup tag) HTML 使用标记标签来描述网页" 1.2、超文本 标记 语言 超文本: 笔普通文本强大,但是超越了普通文本的范畴,普通文本不能实现的超文本都能实现,包含超链接的文本 标记: 就是标签,不同的...
package com.infosys.userms.entity; public class UserEntity { }
package com.example.vineet.easybuy; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.TextView; public class PaymentSuccessActivity extends AppCompatActivity {...
//********** Nov 9 - P1***************** package ExceptionHandling; public class ThrowKeyword { public static void main(String[] args) { //Throw Keyword --> It is used to generate our own exception //we will use this in our framework //Advantages - //1. proper error messaging //2 . deliberately throw you...
package com.wllfengshu.mysql.model.entity; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 响应结果 */ @Getter @Setter public class ResultSet { public ResultSet(boolean success) { this.success = success; } public ResultSet(boolean success, String failReasons) { th...
package com.framework.model; import java.util.Date; import com.baomidou.mybatisplus.annotations.TableName; @TableName("t_pro_field") public class ProField { private Integer id; private Integer formId; private String name; private String comments; private boolean isPri; private boolean is...
package com.aprendoz_test.data.output; import java.util.Date; /** * Generated for query "estudiantes_listado_curriculo" on 01/19/2015 07:59:26 * */ public class Estudiantes_listado_curriculoRtnType { private Integer idasignatura; private Integer idpersona; private Integer idunidad; private Stri...
package com.meebu; import android.databinding.DataBindingUtil; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import com.meebu.adapter.MyReviewPagerAdapter; import com.meebu.databinding.ActivityReviewsBinding; import com.meebu.fragment.MyReviewFragment; import com...
package ual.dra.artifact19; import java.util.List; import javax.persistence.EntityNotFoundException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; impo...
package com.hdc.seckill.controller; import com.hdc.seckill.pojo.User; import com.hdc.seckill.service.IGoodsService; import com.hdc.seckill.service.IUserService; import com.hdc.seckill.vo.DetailVo; import com.hdc.seckill.vo.GoodsVo; import com.hdc.seckill.vo.RespBean; import com.hdc.seckill.vo.RespBeanEnum; import org....
package leetcode; /** * @author kangkang lou */ /** * Greedy,贪心算法 */ public class Main_45 { /** * 算法思想:贪心算法 * 假设,我们要跳跃的范围是【curBegin,curEnd】,curFarthest表示在【curBegin,curEnd】范围内 * 基于某个点所能到达的最远点,一旦到达边界点curEnd,则触发下一次跳跃。 * 下次跳跃的边界修改为curFarthest。 * * @param nums * @return */ ...
package org.github.chajian.matchgame.mapper; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.github.chajian.matchgame.data.IntegralPO; /** * 积分mapper */ @Mapper public interface IntegralMapper { IntegralPO selectByPlayerAndGameId(@Param("playerName"...
package elements; import elementfactory.base.Element; import elementfactory.base.ElementImpl; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; public class InputImpl extends ElementImpl implements Input { public InputImpl(WebElement wrappedElement) { super(wrappedElemen...
package com.yiki.blog.SecurityLearn; import org.apache.ibatis.annotations.Mapper; import java.util.List; @Mapper public interface UserMapper { public User getUserByUserName(String name); //查询用户拥有的权限 public List<Permission> getPermissionByUserName(String name); public void InsertUser(User user); }...
package 프로젝트day03; public class 산술계산 { public static void main(String[] args) { int x = 111; int y = 222; System.out.println("두 수의 합은 " + (x + y)); System.out.println("두 수의 나눗셈은 " + (x / y)); int sum = x + y; // 1 3 2 int avg1 = sum / 2; System.out.println("평균 " + avg1); // 자바에...
package org.sathya; import java.util.Iterator; import java.util.List; import org.apache.log4j.Appender; import org.apache.log4j.ConsoleAppender; import org.apache.log4j.Layout; import org.apache.log4j.Logger; import org.apache.log4j.SimpleLayout; import org.hibernate.Query; import org.hibernate.Session; import org.hi...
/* * 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.mycompany.visitorp; import java.util.ArrayList; /** * * @author User */ public class VisitorConcretTocarClaxon impleme...
package ad.joyplus.com.myapplication.network; import android.app.Activity; import android.app.Fragment; import android.content.Context; import android.graphics.Bitmap; import android.net.Uri; import android.os.AsyncTask; import android.support.v4.app.FragmentActivity; import android.util.Log; import android.widget.Ima...
package com.yqwl.dao; import java.math.BigInteger; import java.util.List; import org.apache.ibatis.annotations.Param; import com.yqwl.pojo.Color; /** * * @ClassName: ColorMapper * @description 色系的查询,新增,删除等方法 * * @author dujiawei * @createDate 2019年6月6日 */ public interface ColorMapper { /** * @Title: listC...
package com.akikun.leetcode; /** * @author 李俊秋(龙泽) */ public class _00944_DeleteColumnsToMakeSorted { public static void main(String[] args) { // Excepted: 5 // String[] strs = {"cba", "daf", "ghi"}; String[] strs = {"a", "b"}; _00944_DeleteColumnsToMakeSorted test = new _00944...
package com.vilio.mps.receivepush.service.impl; import com.vilio.mps.common.dao.CommonDao; import com.vilio.mps.common.dao.MpsMessageReceiveInfoMapper; import com.vilio.mps.common.pojo.MpsReceiveMessageInfo; import com.vilio.mps.receivepush.service.ReceiveMessage; import com.vilio.mps.util.CommonUtil; import com.vilio...
package miggy.cpu.instructions.tst; import miggy.BasicSetup; import miggy.SystemModel; import miggy.SystemModel.CpuFlag; // $Revision: 21 $ public class TSTTest extends BasicSetup { public TSTTest(String test) { super(test); } public void testByte() { setInstruction(0x4a00); //tst.b d0...
package kr.ds.fragment; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.ArrayList; import kr.ds.ObservableScrollView.ObservableListView; import kr.ds.ObservableScrollView.ObservableScrollViewCallbacks; import kr.ds.ObservableScrollView.ScrollState;...
/* * 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 utn.resumiderobilletes.ui.forms; import javax.swing.JComboBox; import javax.swing.JOptionPane; import utn.resumiderobilletes.e...
/* * Copyright (c) 2018, Lawrence Livermore National Security, LLC. Produced at the Lawrence Livermore National Laboratory * CODE-743439. * All rights reserved. * This file is part of CCT. For details, see https://github.com/LLNL/coda-calibration-tool. * * Licensed under the Apache License, Version 2.0 (the “Licensee...
/* Three friends came up with a game for having fun in the break between the classes. One of them says a three-digit number and the others use it to form a mathematical expressions by using operators for sum and multiplication between the digits of that number. The winner is the first one who founds the biggest number ...
package fun.witt.lambda; import java.util.function.Function; /** * @author witt * @fileName MyMoney * @date 2018/8/18 13:27 * @description * @history <author> <time> <version> <desc> */ public class MyMoney { private final int money; public MyMoney(int money) { this.money = money; ...
package com.example.billage.backend.api; import android.content.SharedPreferences; import android.util.Log; import com.example.billage.backend.api.data.UserAccount; import com.example.billage.backend.common.AppData; import com.example.billage.backend.common.Utils; import com.example.billage.backend.http.ApiCallAdapte...
package edu.nyu.xyz.parser; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; public class...
package crdhn.sis.http.service; import org.eclipse.jetty.server.Connector; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.nio.SelectChannelConnector; import org.eclipse.jetty.servlet.ServletHandler; import org.eclipse.jetty.util.thread.QueuedThreadPool; import org.slf4j.Logger; import org.slf4...
package com.cryfish.myalomatika; import com.cryfish.myalomatika.model.MentalNumber; import com.cryfish.myalomatika.model.MentalRandom; import org.apache.log4j.Logger; import java.util.ArrayList; public class NumbersGenerator implements Constants{ private static final Logger log = Logger.getLogger(NumbersGenerato...
package boj4673; public class Main1 { // 다른 사람 풀이 public static void main(String[] args) { // TODO Auto-generated method stub // 자료구조는 제약이 적용된 상태가 아닌 조건으로 주어진 그대로로 만든다. // 제약은 조건 및 반복으로 구현한다. int size = 10001; boolean[] isNotSelfNumber = new boolean[size]; for(int i=1; i<isNotSelfNumber.length;i++) {...
package org.sankozi.rogueland.model; import java.util.EnumMap; /** * Base of implementation of Actor class * @author sankozi */ public abstract class AbstractActor extends AbstractDestroyable implements Actor{ private final EnumMap<Actor.Param, Float> params = new EnumMap<>(Actor.Param.class); public Abst...
package de.mufl.sandbox.osm.api.data; import java.io.Serializable; import java.util.ArrayList; /** * OSM-Element für Wege und Flächen * * @author Florian Müller */ public class Way implements Serializable{ /** * Serilization ID */ private static final long serialVersionUID = -3118791757949287...
package com.tencent.mm.plugin.product.c; import com.tencent.mm.bk.a; import java.util.LinkedList; public final class f extends a { public j lRN; public String lRO; protected final int a(int i, Object... objArr) { int fS; if (i == 0) { f.a.a.c.a aVar = (f.a.a.c.a) objArr[0]; ...
package p4_group_8_repo.Game_button; import javafx.collections.ObservableList; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.control.Button; import javafx.scene.effect.DropShadow; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.input.M...
package com.java.abs_fact; public class Lion implements ILandAnimal { @Override public IAnimal print() { IAnimal animal=new Lion(); animal.disp(); return animal; } @Override public void disp() { System.out.println("lion class"); } }
/** * original(c) zhuoyan company * projectName: java-design-pattern * fileName: ProductEnums.java * packageName: cn.zy.pattern.responsibility * date: 2018-12-18 23:23 * history: * <author> <time> <version> <desc> * 作者姓名 修改时间 版本号 描述 */ package cn.zy.patter...
package com.podarbetweenus.Activities; import android.app.Activity; import android.app.ProgressDialog; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.os.Environment; impo...
package edu.mtholyoke.cs341bd.p0; import java.util. *; public class Card implements Comparable<Card>{ private Integer order; //1 or 14 private String suit; private Integer cost; //cost of A is 15 public Card(Integer c, String s, Integer o ) { cost=c; suit=s; order=o; } public Integer getOrder() //1 o...
package SpritesheetRender; //<!> ATENÇÃO esse código foi alterado com base no arquivo em GraficosComJava (Java Project) > RenderizandoStrings (package) > Game (class) //Se deseja ver os comentários desse código, vá para aquela class import java.awt.Canvas; import java.awt.Color; import java.awt.Dimension; import jav...
/**** Copyright (c) 2015, Skyley Networks, 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 the...
package com.tencent.mm.plugin.sns.ui; import com.tencent.mm.plugin.sns.c.a; class bb$14 implements Runnable { final /* synthetic */ bb ogl; bb$14(bb bbVar) { this.ogl = bbVar; } public final void run() { a.ezo.vn(); } }
package yand.service; import java.util.Map; public interface LoginService { public Map<String, Object> queryUserBean(Map<String, Object> paramMap); }
package com.lubarov.daniel.wedding.rsvp; import com.lubarov.daniel.data.option.Option; import com.lubarov.daniel.data.order.AbstractOrdering; import com.lubarov.daniel.data.order.Ordering; import com.lubarov.daniel.data.order.Relation; import com.lubarov.daniel.data.unit.Instant; public class RSVP { public static f...
package com.kh.runLearn.member.model.service; import com.kh.runLearn.member.model.vo.Member; import com.kh.runLearn.member.model.vo.Member_Image; public interface MemberService { Member login(Member m); // 로그인 int getAllUserCount();// 회원수조회 블랙포함 int insertMember(Member m); // 회원가입 int checkId(String id); // 아이디 중...
package com.petersoft.mgl.model; import org.hibernate.annotations.CreationTimestamp; import org.hibernate.annotations.UpdateTimestamp; import javax.persistence.*; import java.time.LocalDate; import java.time.LocalDateTime; @Entity public class Karbantartas { @Id @GeneratedValue(strategy = GenerationType.AUTO...
package br.com.giorgetti.games.squareplatform.gameobjects.sprite; /** * Possible states of a Sprite. * * @author fgiorgetti * */ public enum SpriteState { IDLE, WALKING, RUNNING, JUMPING, FALLING, CROUCHING; }
package org.fuserleer.time; import java.util.concurrent.TimeUnit; import org.fuserleer.Configuration; public class WallClockTime implements TimeProvider { public WallClockTime(final Configuration configuration) { super(); } @Override public long getSystemTime() { return System.currentTime...
/** * */ package com.ruyuapp; import com.ruyuapp.proxy.HttpProxy; import com.ruyuapp.proxy.ProxyPool; import com.ruyuapp.util.HttpStatus; import java.io.IOException; import java.net.*; import java.util.concurrent.TimeUnit; /** * @author <a href="mailto:letcheng@ruyuapp.com">letcheng</a> * @version create at 2016...
package pe.egcc.cartesianoapp.service; public class CartesianoService { public Double calculaDistancia(double x1, double y1, double x2, double y2 ){ double distancia; distancia = Math.hypot(x2 - x1, y2 - y1); return distancia; } public String determinaCuadrante(double x1, double ...
package com.wwwjf.wscreenrecord.utils; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.text.TextUtils; import android.util.DisplayMetrics; import android.view.ViewGroup; import android.widget.ImageView; import java.io.File; import java.lang.reflect...
package com.projects.houronearth.activities.utils; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; public class TimeUtiliserClass { public static int printDifference(String startDate1) { //milliseconds Date startDate=...
package pl.edu.wat.wcy.pz.project.server.entity.game; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import pl.edu.wat.wcy.pz.project.server.entity.User; import javax.persistence.*; import java.util.Date; @Getter @Setter @AllArgsConstructor @NoArgsConst...
package com.example.parkminhyun.trackengine; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view....
package com.example.userportal.requestmodel.payu; import lombok.Builder; import lombok.Data; @Data @Builder public class Buyer { String email; String phone; String firstName; String lastName; String language; }
package com.ing.product.controller; import java.util.List; import com.ing.product.service.ProductDetailsService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.spr...
package day16owerloading; public class Constructor03 { String isim = "Ali Can"; int yas = 33; int kilo = 85; String meslek = "Automation Teseter"; boolean emekli = false; Constructor03(){ //bu constructor uretme } Constructor03(String isim, int yas){ //bu yeni bir constructor uretme this.isim =...