text stringlengths 10 2.72M |
|---|
/**
* Package for junior.pack1.p4.ch2 Stream API. Переделать задачу #10038 "Банковские переводы" на Stream API.
*
* @author Gureyev Ilya (mailto:ill-jah@yandex.ru)
* @version 2018-12-11
* @since 2017-05-15
*/
package ru.job4j.bank; |
package com.fanfte.algorithm.jz;
/**
* Created by dell on 2018/7/18
**/
public class DeleteNode013 {
public static void main(String[] args) {
}
public ListNode deleteListNode(ListNode head, ListNode toBeDeleted) {
if(head == null || toBeDeleted == null) {
return null;
}
... |
package com;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.InputStreamReader;
public class IODemo {
public IODemo() {
// TODO Auto-generated constructor stub
}
public static void main(String[] args) {
// TODO Auto-generated method stub
try {
BufferedReader... |
package Defect;
import java.util.*;
import java.util.Calendar;
/**
* Esta clase genera un Usuario
* @author Mauro Galvan
* @version 1.0
*
*/
public class Usuario {
//Campos de la clase
private String nombre;
private String apellido;
private String mail;
private String pais;
private Calendar nacimiento;... |
package edu.neu.ccs.cs5010;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Created by wenfei on 11/13/17.
*/
public class SecureBankVerificationSimulatorTest {
SecureBankVerificationSimulator secureBankVerificationSimulator;
@Before
public void setUp() throws ... |
package fr.maBanque.dao;
import java.io.Serializable;
import org.springframework.data.jpa.repository.JpaRepository;
import fr.maBanque.entities.Client;
public interface ClientRepository extends JpaRepository<Client, Long>{
}
|
package com.aisino.invoice.xtsz.po;
import java.util.List;
/**
* @ClassName: FwkpModCustom
* @Description:
* @author: ZZc
* @date: 2016年10月10日 下午8:05:57
* @Copyright: 2016 航天信息股份有限公司-版权所有
*
*/
public class FwkpModCustom extends FwkpMod {
private List<FwkpModCustomChild> fwkpModCustomChild;
private int... |
/*
* 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.csci360.alarmclock;
/**
*
* @author baldy
*/
public class AlarmController {
Alarm alarm = new Alarm();
pub... |
/*
* Created on 13/10/2008
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package com.citibank.ods.modules.product.prodassettype.functionality;
import java.math.BigInteger;
import java.util.Date;
import org.apache.str... |
import ca.roumani.i2c.MPro;
import ca.roumani.i2c.MPro;
import static org.junit.Assert.*;
public class MCalcPro_ActivityTest {
public static void paymentTest() {
MPro mp = new MPro();
mp.setInterest("2");
mp.setAmortization("20");
mp.setPrinciple("400000");
String monthlyPay... |
package info.datacluster.crawler;
public class PropertyConstant {
public static String ZOOKEEPER_SPLIT = "/";
/**
* 存放提交的任务信息
*/
public static String ZOOKEEPER_TASK_PATH = "/crawler/task";
/**
* 存放每个server的信息
*/
public static String ZOOKEEPER_CRAWLER= "/crawler/meta/server";
... |
package com.example.todo.test;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import com.example.todo.R;
public class AddNewData extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setCont... |
// https://leetcode.com/problems/product-of-array-except-self/
// #array
class Solution {
/*
product prefix and suffix (first).
*/
public int[] productExceptSelf(int[] nums) {
int n = nums.length;
int[] output = new int[n];
output[n - 1] = 1;
int pre = output[n - 1];
for (int i = n - 2; i >=... |
package com.amunga.david.diabeat.common;
/**
* Created by amush on 04-Nov-17.
*/
public class Common {
}
|
package net.mapthinks.repository.search;
import net.mapthinks.domain.CompanyUser;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
/**
* Spring Data Elasticsearch repository for the CompanyUser entity.
*/
public interface CompanyUserSearchRepository extends ElasticsearchRepository<C... |
module mod.z_bottom {
requires mod.layer;
requires mod.z_middle;
exports pkgz.bottom;
}
|
/*
* 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.santana.controller;
import com.santana.model.Alumno;
import com.santana.model.Grupo;
import com.santana.service.A... |
package com.example.balling;
import java.lang.reflect.Method;
import com.vaadin.util.ReflectTools;
public interface BallerTouchListener {
public static final Method OBJECT_TOUCHED = ReflectTools.findMethod(
BallerTouchListener.class, "objectTouched", BallerTouchEvent.class);
void objectTouched(... |
package ru.shikhovtsev.driving;
public class Car implements Vehicle {
private int speed;
public Car(int speed) {
this.speed = speed;
}
@Override
public int getSpeed() {
return speed;
}
@Override
public double getFuelCost() {
throw new UnsupportedOperationException();
}
}
|
package com.sinoway.sinowayCrawer.service.impl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.sinoway.sinowayCrawer.entitys.UserInfo;
import com.sinoway.sinowayC... |
package com.xinhua.xdcb;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>nbPayerAccountVO complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* <complexTy... |
package cn.collin.controller;
import cn.collin.service.ConnDB;
import cn.collin.users.Users;
import cn.collin.utils.AnalyseData;
import net.sf.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.Map;
... |
package com.davivienda.utilidades.edc;
/**
* TipoRegistro.java
*
* Fecha : 30/05/2007, 07:26:48 PM
* Descripción : Identificación de los tipos de registro del EDC
*
* @author : jjvargas
* @version : $Id$
*/
public enum DenominacionBillete {
Diez('B',"10000"),
Veinte('C', "20000... |
package servlets;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Iterator;
import java.util.List;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
impor... |
package com.example.smartphonesensing2.activity_monitoring;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEvent... |
package nightgames.skills;
import nightgames.characters.Character;
import nightgames.combat.Combat;
import nightgames.combat.Result;
import nightgames.items.Item;
import nightgames.status.Bound;
import nightgames.status.Stsflag;
public class Tie extends Skill {
public Tie(Character self) {
super("Bind", ... |
package net.acomputerdog.advplugin.cmd;
import net.acomputerdog.advplugin.AdvancedPlugin;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class Cmd {
private final AdvancedPlugin plugin;
private final CommandSender user;
private final Com... |
package com.gaoshin.business;
import java.util.List;
import com.gaoshin.beans.Configuration;
public interface ConfigurationService {
Configuration save(Configuration conf);
Configuration save(String key, String value);
Configuration save(Object obj);
List<Configuration> getList(String... |
// **********************************************************
// 1. 제 목: 평가 결과조회
// 2. 프로그램명: ExamResultBean.java
// 3. 개 요:
// 4. 환 경: JDK 1.3
// 5. 버 젼: 0.1
// 6. 작 성: Administrator 2003-08-29
// 7. 수 정:
//
// **********************************************************
package com.ziaa... |
package com.invillia.acme.controller;
public enum ResponseType {
SUCCESS, //NORMAL STATUS
REDIRECT, //USEFUL IF WE NEED TO TELL SOME FRONT-END INTERFACE TO REDIRECT INSTEAD OF FORCING IT
UNEXPECTED_ERROR, //USED WHEN PROBLEM HAPPENED SPECIFICALLY WITH PERSISTENCE STORE
VALIDATION_... |
package bd;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import javax.swing.JOptionPane;
public class conexao {
private static Connection conexao;
public static Connection getConexao () {
try {
if(conexao == null) {
Cla... |
package com.social.server.util;
import com.social.server.dto.UserDto;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.JwtException;
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.SignatureAlgorithm;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class TokenUtil {
private final static String SECRET_KE... |
package com.svalero.examen.utils;
import javafx.scene.control.Alert;
public class Alerts {
/**
* Muestra una alerta de información
* @param message
*/
public static void showInfoAlert(String message) {
Alert infoAlert = new Alert(Alert.AlertType.INFORMATION);
infoAlert.setTitle... |
package com.designurway.idlidosa.a.utils;
import android.content.Context;
import android.content.SharedPreferences;
public class SharedPrefManager {
static SharedPreferences preferences;
public static final String PREF_TOTAL_KEY = "pref_total_key";
public static final String PREF_NAME = "pref_total_key"... |
package p20;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
public class Service {
DBCon dbCon;
String sql;
Service() {
dbCon = new DBCon();
}
public ArrayList<HashMap<String, Object>> getClassInfo() throws SQLException {
... |
package com.jooink.experiments.gwtwebgl.client.tests.cube;
import com.google.gwt.typedarrays.shared.Float32Array;
import com.google.gwt.typedarrays.shared.Uint16Array;
public interface WebGLobject {
public Float32Array getVerticesArray();
public Uint16Array getIndexesArray();
public int getNumIndices();
publ... |
/*
* 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.serpientesescaleras.principal;
import java.util.*;
import javax.swing.JOptionPane;
/**
*
* @author nroda
*/
pu... |
/*
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.example.user.controller;
import com.example.user.entity.User;
import com.example.user.service.UserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.a... |
package com.beta.rulestrategy;
public enum Rule {
// Rule number matters here. DON'T CHANGE THIS ORDER
UNKNOWN, REVERSE, HASH;
}
|
package com.latmod.warp_pads.net;
import com.feed_the_beast.ftbl.lib.net.MessageToServer;
import com.feed_the_beast.ftbl.lib.net.NetworkWrapper;
import com.feed_the_beast.ftbl.lib.util.NetUtils;
import com.latmod.warp_pads.block.TileWarpPad;
import io.netty.buffer.ByteBuf;
import net.minecraft.entity.player.EntityPlay... |
package com.anyuaning.osp.jnimp3lame;
/**
* Created by thom on 14-5-10.
*/
public class SimpleMp3Lame {
}
|
class PingPongThread extends Thread {
final Printer printer;
String message;
public PingPongThread(Printer printer, String message) {
this.printer = printer;
this.message = message;
this.start();
}
@Override
public void run() {
while (true) {
synchro... |
package lab.nnverify.platform.verifyplatform.mapper;
import lab.nnverify.platform.verifyplatform.models.Verification;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import java.util.Lis... |
package Problem_1245;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.LinkedList;
import java.util.Queue;
import java.util.StringTokenizer;
public class Main {
static int N, M;
static String buf;
static int[][] arr;
static boolean[][] isvis... |
package com.example.lanternaverde.retrofit;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.e... |
package com.duanc.api;
import java.util.List;
import com.duanc.model.Menu;
import com.duanc.model.SubMenu;
public interface MenuService {
/**
* @Description: 获取系统菜单
* @return List<Menu>
*/
List<Menu> getMenu(Integer userId, Integer menuId, Integer subMenuId);
/**
* @Description: 获取子菜单
... |
import javafx.util.Pair;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Queue;
public class DigraphAL extends Graph
{
private ArrayList<LinkedList<Pair<Integer,Integer>>> nodo;
public DigraphAL(int size) {
super(size);
nodo = new ArrayList<>();
for (int i = ... |
package org.maxhoffmann.dev.ProductionAnalysisAnnotation;
import java.util.List;
import org.apache.log4j.Logger;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.maxhoffmann.dev.util.HibernateUtil;
public class ResourceGro... |
package com.mmc.design.pattern.extend;
/**
* @packageName:com.mmc.design.pattern.extend
* @desrciption: 转换成大写
* @author: gaowei
* @date: 2018-10-16 15:34
* @history: (version) author date desc
*/
public class Upcase extends Processor {
@Override
String process(Object input) {
return ((String)inp... |
package symap.closeup;
import colordialog.ColorListener;
interface HitDialogInterface extends ColorListener {
public int getNumberOfHits();
public int showIfHits();
}
|
import java.io.*;
import java.util.*;
import java.util.concurrent.atomic.*;
import java.util.stream.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Solution {
static int flatlandSpaceStations(int n, int[] c) {
TreeSet<Integer> stations = IntStream.of(c).boxed().collect(Co... |
public class Motorrad extends Fahrzeug
{
private int ps;
public Motorrad(String kennzeichen, int baujahr, int ps) throws AutoException
{
super(kennzeichen, baujahr);
setPs(ps);
}
public Motorrad(String zeile) throws AutoException
{
super(zeile);
try {
String... |
package com.cg.healthify.services;
import java.util.List;
import javax.persistence.EntityManager;
import com.cg.healthify.daos.CaloriesLogDAO;
import com.cg.healthify.daos.CaloriesLogDAOImpl;
import com.cg.healthify.exceptions.NegativeIdEntryException;
import com.cg.healthify.pojo.CaloriesLog;
import com.cg.healthi... |
package ua.siemens.dbtool.serializers.WorkPackage;
import com.google.gson.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ua.siemens.dbtool.model.entities.Job;
import ua.siemens.dbtool.model.entities.WorkPackage;
import ua.siemens.dbtool.serializers.Job.BasicJobSerializer;
import java.lang.reflect.... |
package com.wkrzywiec.spring.library.service;
import java.io.IOException;
import org.springframework.stereotype.Component;
import com.wkrzywiec.spring.library.retrofit.RandomQuoteAPI;
import com.wkrzywiec.spring.library.retrofit.model.RandomQuoteResponse;
import okhttp3.OkHttpClient;
import retrofit2.Call... |
package com.example.projet20.ui.home;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.l... |
package com.vkoval.addressbook.controller;
import com.vkoval.addressbook.dao.UserRepository;
import com.vkoval.addressbook.entity.user.Role;
import com.vkoval.addressbook.entity.user.User;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframewor... |
package info.datacluster.crawler.listener;
import info.datacluster.common.zookeeper.ZookeeperClient;
import org.apache.curator.framework.recipes.cache.NodeCache;
import org.apache.curator.framework.recipes.cache.NodeCacheListener;
public class TaskNodeListener implements NodeCacheListener {
private ZookeeperClie... |
package com.mabang.android.okhttp.callback;
import com.google.gson.Gson;
import java.lang.reflect.ParameterizedType;
import okhttp3.Response;
/**
* @author View
* @date 2016/11/27 16:34
*/
public abstract class JsonCallback<T> extends Callback<T> {
protected Class<T> clazz;
public JsonCallback() {
... |
package com.citibank.ods.persistence.pl.dao.rdb.oracle;
import com.citibank.ods.common.persistence.dao.rdb.oracle.BaseOracleDAO;
import com.citibank.ods.persistence.pl.dao.BaseTplProdPlayerRoleDAO;
//
//©2002-2007 Accenture. All rights reserved.
//
/**
*@author acacio.domingos,Apr 10, 2007
*
*/
public... |
package khoapham.ptp.phamtanphat.appluutruthongtin1903.API;
public class DataResponse {
private static final String base_url = "https://servertest12.herokuapp.com/";
public static APICallback sendRequest(){
return Retrofitinit.initRetro(base_url).create(APICallback.class);
}
}
|
package com.nowcoder.community.service;
import com.nowcoder.community.dao.CommentMapper;
import com.nowcoder.community.dao.DiscussionPostMapper;
import com.nowcoder.community.entity.Comment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springf... |
/**
*/
package iso20022.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import iso20022.Iso20022Package;
import iso2... |
package com.reptile.util;
import java.io.IOException;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.HttpVersion;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.message.BasicHttpResponse;
impor... |
package khosbayar.hs.com.droidpheramor.models;
import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable;
public class User implements Parcelable {
private String email;
private String password;
private String fullName;
private String zip;
private String feet;
private Str... |
package picoplaca;
import java.math.BigDecimal;
import java.util.Scanner;
public class PicoPlacaValidator {
private String _plateNumber;
private String _dateCar;
private String _timeCar;
static Scanner scan;
DateValidator objDateValidator;
static String executionControl = "C";
public PicoPlacaValidato... |
package com.karya.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import com.karya.dao.IIt... |
package com.lipnus.gleam.model;
/**
* Created by LIPNUS on 2017-10-29.
*/
public class Mypage {
public String color; //무슨 색 화장품인지
public int count; //몇개인지
}
|
package com.gxtc.huchuan.bean;
import java.io.Serializable;
/**
* 来自 伍玉南 的装逼小尾巴 on 17/8/31.
*/
public class WithdrawRecordBean implements Serializable {
private static final long serialVersionUID = 1L;
/**
* createTime : 1499220490000
* id : 31
* money : 50.00
* openingBank :
* ... |
package com.example.autopermission.bean;
import java.io.Serializable;
public class ASStepBean implements Serializable {
/**
* 一步需要的延迟时间
*/
public int delay_time;
/**
* 需要找到的文本
*/
public String find_text;
/**
* 行为(点击, 选择)
*/
public String action_type;
/**
... |
package web.command.impl;
import classes.util.Resultado;
import dominio.evento.IDominio;
import web.command.AbsCommand;
public class ConsultarCommand extends AbsCommand {
@Override
public Resultado execute(IDominio entidade) {
return fachada.consultar(entidade);
}
}
|
package oops;
import java.util.Scanner;
public class Tariffsingle {
public static void main(String[] args) {
// TODO Auto-generated method stub
Seasonbook ob = new Seasonbook();
ob.roomBooking();
ob.roomBook();
}
}
class Booking {
Scanner s = new Scanner(System.in);
int a,b;
double f;
... |
package is.ru.aaad.RemindMe;
import android.app.Activity;
import android.app.Dialog;
import android.content.Intent;
import android.content.IntentSender;
import android.location.LocationListener;
import android.os.Bundle;
import android.support.v4.app.*;
import android.support.v4.view.ViewPager;
import android.util.Log... |
package cn.edu.zzti.lm.pojo;
/**
* 图书评论信息实体类
* Created by 至尊小涛 on 2018/4/26.
*/
public class Conment {
private String id;
private String userId;
private String bookId;
private String content;
private String conmentTime;
private String remarks;
//用户变量,因为评论要显示发表屏幕的用户的相关信息
private User ... |
package SeleniumLiveProject1;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.t... |
package com.tech.interview.siply.redbus.repository.contract.users;
import com.tech.interview.siply.redbus.entity.dao.users.Driver;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.Optional;
import java.util.UUID;
@Repository
public inter... |
/*
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package courierserviceapp.domain;
import java.util.Date;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
public class DateTime {
private static DateFormat df = new SimpleDateFormat("dd/MM/yy");
private static Date date;
private String dateToday;
public DateTime(){
date = new D... |
/**
* This class reads Common.cfg and records the variables.
*/
import java.io.BufferedReader;
import java.io.FileReader;
public class CommonCfg {
private int numberOfPreferredNeighbors;
private int unchokingInterval;
private int optimisticUnchokingInterval;
private String fileName;
private int ... |
package com.mobile.mobilehardware.exceptions;
/**
* exception
*/
public class MobException extends Exception {
public MobException(String error) {
super(error);
}
public MobException(Throwable throwable) {
super(throwable);
}
}
|
package unidade3;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Scanner;
public class ClienteApp {
public static String usuario = "... |
package com.example.bootcamp.service;
import com.example.bootcamp.model.ResetPasswordModel;
public interface UserPasswordTokenService {
String sendPasswordResetLink(String emailorPhone);
String verifyPasswordResetLink(String resetLink);
String updatePassword(ResetPasswordModel resetPasswordModel, String link);
... |
package cartas;
public class DragonDefinitivo extends CartaRequiereSacrificios {
public DragonDefinitivo() {
super();
this.sacrificiosRequeridos = 3;
this.puntosDeAtaque = new Puntos(4500);
this.puntosDeDefensa = new Puntos(3800);
this.nivel = 12;
this.nombre = "Dragon Blanco de Ojos Azules Def... |
/*
* Copyright (c) 2014 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.oauth.as;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.util.Date... |
package com.octave.mapper;
import com.octave.entity.PostOrder;
import org.springframework.stereotype.Component;
import java.util.List;
@Component("orderMapper")
public interface OrderMapper {
int deleteByPrimaryKey(Integer orderId);
int insert(PostOrder record);
int insertSelective(PostOrder record);
... |
package compiler.nodes;
import java.util.ArrayList;
import compiler.virtualMachine.Visitor.NodeVisitor;
public class FunctionCall extends AbstractFunctionCall{
public FunctionCall(){
parameters = new ArrayList<String>();
}
@Override
public void Accept(NodeVisitor visitor) {
visitor.visit(this);
}
}
|
package com.mvalho.study.pattern.factory.model;
public enum ShapeType {
CIRCLE, RECTANGLE, SQUARE;
}
|
package br.com.oliversys.mmnsimplify.domainmodel.aggregate.entity;
import org.hibernate.validator.constraints.br.CPF;
import br.com.oliversys.mmnsimplify.domainmodel.aggregate.root.ProspectoAggRoot;
import br.com.oliversys.mmnsimplify.domainmodel.valueobject.DadosFormularioCadastroEmpresaMMN;
public class Consultor ... |
package com.mygdx.game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic... |
package com.soa.ws;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceException;
import javax.xml.ws.WebServiceFeature;
/**
* This class was ... |
/**
*
*/
package com.oriaxx77.javaplay.gof.flyweight;
import java.util.HashMap;
import java.util.Map;
import com.oriaxx77.javaplay.gof.GofExample;
/**
* Factory to create and store models. It should be the only point to
* get {@link Model} objects.
* @author BagyuraI
*/
@GofExample(pattern="Fly... |
package demo.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
private int stuNo;
private String stuName;
private int stuAge;
private String graName;
private boolean stuSex;
}
|
package com.Premium.entity;
import java.util.Date;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Join... |
package lettieri.masstexter.activities;
import android.Manifest;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.provider.ContactsContract;
import android.support.annotation.NonNull;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.ContextCompat;
... |
package com.app.myapplication.remote;
import android.app.Person;
import com.app.myapplication.pojo.Empleado;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.PUT;
import retrofit2.http... |
package com.jpa.servises;
import com.jpa.entity.Station;
import javax.persistence.EntityManager;
import javax.persistence.Persistence;
import javax.persistence.TypedQuery;
import java.util.List;
/**
* Created by Дарья on 05.03.2015.
*/
public class StationServices {
public EntityManager em = Persistence.c... |
//package eric.keys;
//
//public class FirebaseUIAdapter {
// FirebaseRecyclerOptions<Chat> options =
// new FirebaseRecyclerOptions.Builder<Chat>()
// .setQuery(query, Chat.class)
// .build();
//}
|
package com.sunny.netty.chat.codec;
import com.sunny.netty.chat.protocol.PacketCodec;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.LengthFieldBasedFrameDecoder;
/**
* <Description> <br>
*
* @author Sunny<br>
* @version 1.0<br>
* @taskId:... |
package app.akeorcist.deviceinformation.application;
import android.app.Application;
import app.akeorcist.deviceinformation.network.NetworkManager;
import app.akeorcist.deviceinformation.utility.SnackBar;
/**
* Created by Ake on 2/25/2015.
*/
public class DDIApplication extends Application {
private static Sn... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.