text
stringlengths
10
2.72M
package com.earaya.voodoo.assets; import org.eclipse.jetty.util.resource.Resource; public class ClassPathAssetsComponent extends AssetsComponent { public ClassPathAssetsComponent(String assetsPath) { super(Resource.newClassPathResource(assetsPath)); } }
/* 1: */ package com.kaldin.user.register.dao.impl; /* 2: */ /* 3: */ import com.kaldin.common.util.PagingBean; /* 4: */ import com.kaldin.user.register.dao.CandidateInterface; /* 5: */ import com.kaldin.user.register.dto.CandidateDTO; /* 6: */ import com.kaldin.user.register.dto.Unr...
package com.aiyamamoto.transforemerapp.model; /** * Created by aiyamamoto on 2018-09-15. */ public class BattleResult { private boolean isNameWin; private boolean isCourageAndStrengthWin; private boolean isSkillWin; private boolean isOverallRatingWin; public BattleResult() { this.isNam...
package net.halflite.resteasy.web.module; import java.util.EnumSet; import java.util.Map; import javax.inject.Singleton; import javax.servlet.DispatcherType; import org.eclipse.jetty.servlet.FilterHolder; import org.eclipse.jetty.servlet.ServletContextHandler; import org.jboss.resteasy.plugins.guice.GuiceResteasyBoo...
package se.magmag.oauth.api.session.authentication; import javax.interceptor.InterceptorBinding; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.*; /** * Created by magnus.eriksson on 12/07/16. */...
package PoppyIlluminati; /** * * @author leho9818 */ public class Posts { private String object_id; private String name; private String message; private String type; private String shares; private String created_time; public Posts(String inObject_id, String inName, String inMessage, Str...
package com.cfs.core.constants; /** * @author chopra * 08/03/18 */ public class PaymentConstants { public static final String API_KEY_HEADER = "X-Api-Key"; public static final String AUTH_TOKEN_HEADER = "X-Auth-Token"; public static final String API_KEY = "777f5964fdadf64860acbddcf407969e"; public...
package kr.ac.sogang.gtasubway.search; import java.io.Serializable; import android.text.format.Time; public class StationInfo extends Station implements Serializable{ //String stationName=new String(""); String searchedMap; int searchedLine=0, door=0, width=0, height=0; int departure, arrival; // ...
package de.zarncke.lib.id; import de.zarncke.lib.value.Typed; /** * General form of Id types. * * @author Gunnar Zarncke */ public interface Id extends Typed { String toUtf8String(); String toHexString(); }
package com.dataflow.analysis.dependency; import com.github.javaparser.ast.body.MethodDeclaration; import com.github.javaparser.ast.expr.MethodCallExpr; import com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration; import java.util.Optional; public class MethodCallVertex extends DependencyVertex { ...
package servlet; import java.io.IOException; import java.sql.SQLException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import dao.DaoFactory; imp...
/** * */ package com.bridgegap.profile; import java.util.ArrayList; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.CollectionTable; import javax.persistence.Column; import javax.persistence.ElementCollection; import javax.persistence.Entity; import javax.persiste...
package topics.multithread; import java.util.LinkedList; public class Storage { // �ֿ����洢�� private final int MAX_SIZE = 100; // �ֿ�洢������ private LinkedList<Object> list = new LinkedList<Object>(); // ����num����Ʒ public void produce(int num) { // ͬ������� synchronized (list) { // ����ֿ�ʣ���������� ...
package com.smxknife.springdatajpa.model.grid; import com.smxknife.springdatajpa.model.Item; import lombok.Getter; import lombok.Setter; import javax.persistence.*; /** * @author smxknife * 2020/11/19 */ @Getter @Setter @Entity @Table(name = "tb_grid") public class Grid extends Item { @Column(length = 20) priv...
/* * Copyright (C) 2015 Miquel Sas * * 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 Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is d...
package it.polimi.ingsw.GC_21.CLIENT; import java.util.Scanner; import java.util.concurrent.Callable; import java.util.concurrent.CancellationException; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future...
public class Main { public static void main(String[] arg) { // int dimension = 19; // new GameWindow(dimension); new StartingWindow(); } }
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.Comparator; import java.util.Deque; import java.util.LinkedList; import java.util.Map; import jav...
package com.penzias.entity; import java.math.BigDecimal; import java.util.Date; /** * 描述:人群体格检查<br/> * 作者:Bob <br/> * 修改日期:2015年12月11日 - 上午11:35:34<br/> * E-mail: sireezhang@163.com<br/> */ public class PhysiqueExamInfo { private Integer physiqueexamid; private Integer crowdid; //检查...
package com.abhi.dao.user; import java.util.List; import com.abhi.entity.UserDetails; public interface UserDAO { /** * Add User * @param user */ public void addUser(UserDetails user); /** * Delete User * @param userId */ public void deleteUser(Integer userId); /** * Find by Id.. * @return */...
/* final关键字 final标记的类不能被继承 final标记的方法不能被子类重写 final变量(成员变量+局部变量)即成为常量,名称大写,且只能被赋值一次 此常量在哪里赋值:①此常量不能使用默认初始化 ②可以显式的赋值、代码块、构造器。 练习:TestFinal.java */ package day3; public class TestFinal { public static void main(String[] args) { } } class A1{ final int i1 = 90; final double PI; final String NAME; // 代码块中初始化...
package com.tencent.mm.plugin.luckymoney.sns; import android.view.View; import android.view.View.OnClickListener; class SnsLuckyMoneyPrepareUI$9 implements OnClickListener { final /* synthetic */ SnsLuckyMoneyPrepareUI kTy; SnsLuckyMoneyPrepareUI$9(SnsLuckyMoneyPrepareUI snsLuckyMoneyPrepareUI) { thi...
package ru.mail.chatserver.server; import org.reflections.Reflections; import ru.mail.chatserver.server.handlers.AbstractHandler; import ru.mail.chatserver.server.handlers.Handler; import java.nio.channels.SelectionKey; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; /** *...
package com.mikerussell.conjugation; import org.apache.commons.lang3.StringUtils; import org.apache.log4j.Logger; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Random; /** * Created by mrussell on 7/2/16. */ public class Conjugation {...
package fel_2; public class Main { public static void main(String[] args) { StackAggregation stack1 = new StackAggregation(5); for (int i = 0; i < 10; ++i) { // boxing: int --> Integer stack1.push(i); } System.out.print("StackAggregation : "); while (...
package com.shiku.mianshi.controller; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Resource; import org.bson.types.ObjectId; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springfra...
package com.jhy.reduce; import com.jhy.entity.ConsumptionLevel; import com.jhy.util.HBaseUtils; import org.apache.commons.lang.StringUtils; import org.apache.flink.api.common.functions.GroupReduceFunction; import org.apache.flink.util.Collector; import java.util.Iterator; /** * 消费水平Reduce * [接收数据-->统计消费金额-->判断消费...
package com.paytechnologies.util; import java.util.ArrayList; import java.util.HashMap; import com.paytechnologies.DTO.NavDrawerItems; import com.paytechnologies.cloudacar.Benifits; import com.paytechnologies.cloudacar.BookTrip; import com.paytechnologies.cloudacar.CallToBook; import com.paytechnologies.cloudacar.Das...
class QueueEmptyException extends Exception{ } class Node <T>{ T data; Node<T> next; public Node(T data) { this.data=data; } } public class queueUsingLL<T> { Node<T> front; Node<T> rear; int size; public queueUsingLL() { front=null; rear=null; size=0; } public void enqueue(T data) { Node<...
package com.oxycab.provider.ui.activity.regsiter; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.View; import android.widget.EditText; import android.widget.ImageView; import android.widget.Lin...
package Übungsblatt2; public class Transporter { public void beam(String person, String from, String to, boolean urgent)throws TransporterMalfunctionException { if(urgent==true) { double zufall=Math.random()*100; System.out.println(zufall); if(zufall<70) { throw new Transporter...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
package com.dinu; public class CeilingOfANumber { public static void main(String[] args) { int[] arr = {2, 4, 6, 7, 10, 30, 56, 102}; int target = 7; int ans = search(arr, target); System.out.println(ans); } static int search(int[] arr,int target) { int start=0; int end=arr.length; /...
package template.adapter; import lombok.Data; @Data public class PlanetResponse { private String planetId; private String planetName; }
package org.sweatshop.alphabet.health; import com.codahale.metrics.health.HealthCheck; import lombok.EqualsAndHashCode; import lombok.Value; @Value @EqualsAndHashCode(callSuper=false) public class AlphabetHealthCheck extends HealthCheck { String template; @Override protected Result check() th...
package services.chat; import model.chat.ChatMessage; import javax.json.Json; import javax.json.JsonObject; import javax.websocket.DecodeException; import javax.websocket.Decoder; import javax.websocket.EndpointConfig; import java.io.StringReader; import java.sql.Timestamp; public class ChatMessageDecoder implement...
package nbody_pap1314.simulator; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import nbody_pap1314.model.interfaces.IGalaxy; import nbody_pap1314.view.interfaces.IGalaxyView; /** * The implementation of the graphics update phase. * * @author Michele Braccini * @author...
/*---------------------------------------------------------------------------*/ /** * @(#)$Id: ProcessUtil.java 7720 2013-07-10 02:46:00Z shiyongping $ * @(#) Implementation file of class ProcessUtil. * @author sjyao * (c) PIONEER SUNTEC CORPORATION 2013 * All Rights Reserved. */ /*--------------------...
package com.kitware.doc.service; import java.util.List; import com.kitware.doc.dao.DocDAO; import com.kitware.doc.dao.DocDAOOracle; import com.kitware.doc.vo.DocVO; public class DocSelectService { private DocDAO dao = new DocDAOOracle(); public List<DocVO> findIng(String emp_num) throws Exception{ return dao.sel...
package com.lingnet.vocs.service.statistics; import com.lingnet.common.service.BaseService; import com.lingnet.vocs.entity.Annals; public interface ProvincesArrService extends BaseService<Annals, String>{ }
package org.openuri.easypo; import java.io.File; import java.util.Iterator; import java.util.List; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Unmarshaller; public class Main { // This sample application demonstrates how to unmarshal an instance // docum...
package com.momori.wepic.activity; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.telephony.TelephonyManager; import android.util.Log; import android.widget.EditText; import com.momori.wepic.R; import com.momori.wepic.common.Func; i...
package com.example.java.reflect; import com.example.java.reflect.clazz.GotClassDemo; import org.junit.Test; import java.io.Serializable; import java.lang.reflect.*; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import static org.junit.Assert.*; /** * @date 2018/3/22 *...
package com.ace.easyteacher.Activity.AddActivitys; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.ContentUris; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.graphics.Color; import android.net.Uri; imp...
package boj10989; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; // 카운팅 정렬 public class Main3 { private static BufferedReader br; private static BufferedWriter bw; private static StringBuilder sb; p...
package com.tencent.mm.ipcinvoker; import android.os.HandlerThread; import com.tencent.mm.ipcinvoker.a.b; import java.util.concurrent.ExecutorService; import java.util.concurrent.ScheduledThreadPoolExecutor; class l$a implements b { private int dmQ = 3; HandlerThread mHandlerThread; l$a() { Handl...
package com.hazelcast.map.mapstore.writebehind; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; /** * A bounded queue which throws {@link com.hazelcast.map.mapstore.writebehind.ReachedMaxSizeException} * when it reaches max size. * ...
package com.jlgproject.model.eventbusMode; /** * @author 王锋 on 2017/7/12. */ public class ResigerBean { private int showIndex; public ResigerBean(int showIndex) { this.showIndex = showIndex; } public int getShowIndex() { return showIndex; } public void setShowIndex(int sh...
/* * Copyright 2019, E-Kohei * * 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 applicable law or agreed to in...
package com.yksoul.pay.utils; import javax.servlet.http.HttpServletRequest; import java.net.InetAddress; import java.net.UnknownHostException; /** * 操作类 * * @author yksoul * @version 1.0 Date: 2017-12-05 */ public class ServerUtils { /** * 获取客户端真实ip * * @param request * @return */ ...
package be.spring.app.controller; import be.spring.app.data.MatchStatusEnum; import be.spring.app.form.ChangeResultForm; import be.spring.app.model.Account; import be.spring.app.model.Match; import be.spring.app.model.Season; import be.spring.app.model.Team; import be.spring.app.service.AccountService; import be.sprin...
/** * */ package biorimp.optmodel.mappings; import biorimp.optmodel.mappings.metaphor.MetaphorCode; import biorimp.optmodel.mappings.quantum.QubitRefactor; import edu.wayne.cs.severe.redress2.entity.TypeDeclaration; import edu.wayne.cs.severe.redress2.entity.refactoring.json.OBSERVRefParam; import edu.wayne.cs.sever...
package todo.entity; import java.sql.SQLException; import javax.xml.bind.annotation.XmlRootElement; import inventory.service.StatementManager; import com.mysql.jdbc.Statement; @XmlRootElement public class Stock { private Statement stmt; private Item item; private Branch branch; private int quant...
package com.mengdo.gameframework.utils; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import org.apache.commons.beanutils.ConversionException; import org.apache.commons.beanutils.Converter; @SuppressWarnings("unchecked") public class DateConverter implemen...
package com.Banks; import com.Jsoup.BankFinancialProducts; import com.Jsoup.BankFinancialProductsDao; import com.Jsoup.util.MyBatisUtil; import com.alibaba.fastjson.JSON; import com.demo.other.Bank; import com.demo.other.BankProduct; import com.demo.other.Table; import com.google.gson.Gson; import net.sf.json.JSONArra...
package inter; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; /** * Created by joetomjob on 3/6/18. */ class URLCount{ String urlS; int count; URLCount(String url, int count){ this.urlS = url; this.count = count; } } public class...
package entity; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import db.DBConn; public class Student { long sid; String password; String sname; int pnumber; String college; String classname; public Student(long sid,String password,String...
package com.zhkrb.eve_oauth2.bean; public class ConfigBean { private String authorizationUrl; private String scopes; public String getAuthorizationUrl() { return authorizationUrl; } public void setAuthorizationUrl(String authorizationUrl) { this.authorizationUrl = authorizationU...
package com.lfpapp.lfpapp; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class LfpAppApplication { public static void main(String[] args) { SpringApplication.run(LfpAppApplication.class, args); } }
//check if a tree is balanced or not import java.util.*; class Node{ int data; Node left,right; public Node(int item){ data=item; left=null; right=null; } } public class Balanced { int find_height_of_node_in_binary_tree(int data,Node root,int level) { Node B = root; ...
package FolhaDePagamento; import java.util.Scanner; public class IU { private static int opcao; private static Scanner ler = new Scanner(System.in); public IU() { menuGeral(); } public static void menuGeral() { System.out.println("\n******** Menu *********\n"); System.out.println("[1] - Menu Empregado...
package com.mycompany.talleralgoritmos; public class Punto2 { static int count = 1; static int num = 1; static double enl=1.0; static double fact=1.0; static double delta=1.0; public static void main(String[] args) { RecusiveWat(); System.out.println(enl); ...
package com.nefee.prawn.data.dao; import com.nefee.prawn.data.entity.ArmorSet; import org.springframework.data.repository.CrudRepository; public interface ArmorSetRepository extends CrudRepository<ArmorSet, Long> { }
package day23Arrays; import java.util.Arrays; public class aaa { public static void main(String[] args) { int number[]; number=new int [2]; number[0]=10; number[1]=20; number=new int[4]; number[2]=30; number[3]=40; System.out.println(Arrays.toString(number)); } }
package com.diumotics.qms.qms; import com.diumotics.qms.qms.controller.QueueController; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; @SpringBootApplication @ComponentScan("com.diumot...
package com.vilio.pcfs.pojo; /** * Created by dell on 2017/8/15. */ public class Messages { private Integer id; private Integer messageId; private Integer userId; private Integer messageTitle; private Integer messageContent; private Integer realitySendTime; private Integer sendTime; ...
package com.duanxr.yith.midium; import java.util.Arrays; /** * @author 段然 2021/3/8 */ public class MagicSquaresInGrid { /** * A 3 x 3 magic square is a 3 x 3 grid filled with distinct numbers from 1 to 9 such that each row, column, and both diagonals all have the same sum. * * Given a row x col grid of ...
package com.tencent.mm.ui.tools; public interface MMGestureGallery$e { void bDu(); }
package Hashmap; public class array { }
import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Table; import java.sql.ResultSet; import java.sql.SQLException; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.TableColumn; import org.eclipse.swt.widgets.TableItem; import org.eclipse.swt.widg...
package com.clay.claykey.view.fragment; import android.app.Fragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.clay.claykey.object.parse.DoorLogs; import com.clay.claykey.presenter.BaseP...
package com.tencent.mm.plugin.fav.a; class i$a { String bVs; String iVU; long iWb; int in; private i$a() { } /* synthetic */ i$a(byte b) { this(); } }
package com.example.weatherapi_dynamicurl.Activity; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.TextView; import android.widget.Toast; import com.example.weatherapi_dynamicurl.Model.WeatherResponse; import com.example.weatherapi_dynamicurl.Retrofit.WeatherServiceAp...
package com.andy.weexlab.activity.nav; import android.content.Intent; import android.util.Log; import com.andy.weexlab.activity.BaseWXActivity; /** * Created by Andy on 2017/9/18. */ public class NavStartActivity extends BaseWXActivity { @Override public boolean renderLocal() { return false; }...
package com.tech.sims.form.stock; import com.tech.sims.web.form.IForm; /** * StockForm Implementation * * @author salil. * @version 1.0 */ public class StockForm implements IForm { /** * @version */ private static final long serialVersionUID = -9021717831422394480L; /** * symbol - symbol */ privat...
package com.tencent.tencentmap.mapsdk.a; public class bc { static bx<Integer, ao> a = new bx(4086); public static void a(int i, ao aoVar, by<Integer, ao> byVar) { a.a(Integer.valueOf(i), aoVar, byVar, aoVar.e()); } }
package com.smartwerkz.bytecode.vm.methods; import com.smartwerkz.bytecode.primitives.JavaArray; import com.smartwerkz.bytecode.primitives.JavaInteger; import com.smartwerkz.bytecode.vm.Frame; import com.smartwerkz.bytecode.vm.OperandStack; import com.smartwerkz.bytecode.vm.RuntimeDataArea; public final class SystemA...
package com.tencent.mm.protocal.c; import com.tencent.mm.bk.a; import com.tencent.mm.bk.b; public final class fk extends a { public int iwE; public int otY; public b rgr; public b rgs; public int rgt; public b rgu; protected final int a(int i, Object... objArr) { int a; if...
package com.buiminhduc.controller.web.product; import com.buiminhduc.autowire.BeanFactory; import com.buiminhduc.model.entity.ProductEntity; import com.buiminhduc.model.response.PageResponse; import com.buiminhduc.model.response.ProductResponse; import com.buiminhduc.paging.PageRequest; import com.buiminhduc.repositor...
package com.forkjoin.example.task; import java.math.BigInteger; import java.util.concurrent.ExecutionException; import java.util.concurrent.ForkJoinPool; /** * * Factorial using fork join. * * @author Bharat Savanur * */ public class ForkJoinTaskExample { public static void main(String[] args) throws Inter...
package com.tencent.map.lib; public enum MapLanguage { LAN_CHINESE, LAN_ENGLISH }
package com.lanhuawei.rongyunlhwtext; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; /** * Created by Ivan.L on 2018/5/28 . * */ public class ConversationActivity extends AppCompatActivity { @Override protected void onCreate(@Nullabl...
package com.example.iutassistant.NewActivities; import androidx.appcompat.app.AppCompatActivity; import androidx.cardview.widget.CardView; import android.content.SharedPreferences; import android.os.Bundle; import android.view.View; import android.widget.TextView; import com.example.iutassistant.Extra.Constant; impo...
package kr.blogspot.ovsoce.allsearch.main.fragment; import android.content.Context; import android.os.Bundle; /** * Created by ovso on 2016. 2. 19.. */ public class PlaceholderPresenterImpl implements PlaceholderPresenter { PlaceholderPresenter.View mView; PlaceholderModel mModel; PlaceholderPresenterIm...
package q0076_hard; public class MinimumWindowSubstring { }
package com.research.collection; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.function.Function; import java.util.stream.Collectors; /** * @author shc * @date 2020-01-11 */ public class CollectionStream { public List<Person> data() { List<Person> listPerson...
package org.zacharylavallee.batch.tasklet; import org.apache.commons.io.FileUtils; import org.springframework.batch.core.StepContribution; import org.springframework.batch.core.scope.context.ChunkContext; import org.springframework.batch.core.step.tasklet.Tasklet; import org.springframework.batch.repeat.RepeatStatus; ...
package com.pangpang6.books.leecode.chain; import com.pangpang6.books.offer.structure.ListNode; /** * 给定链表的头结点 head ,请将其按 升序 排列并返回 排序后的链表 。 * * 迭代排序 */ public class SortChain { public static void main(String[] args) { ListNode<Integer> head1 = new ListNode<>(7); head1.next = new ListNode<>(1);...
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the te...
package smart.authentication; import smart.config.RedisConfig; import smart.entity.UserEntity; import smart.util.Helper; import smart.lib.Json; import smart.lib.session.Session; import java.util.Set; public class UserToken extends Token { public final static String REDIS_USER_PREFIX = "user:"; ...
import greenfoot.*; /** * Write a description of class VisibleActor here. * * @author (your name) * @version (a version number or a date) */ public abstract class VisibleActor extends Actor { protected CameraViewableWorld world; private int worldX; private int worldY; @Override public void ...
package cn.omsfuk.library.web.model; import lombok.Data; import java.util.Date; @Data public class Reader { private int id; private String username; private String password; private int max_borrow; private String email; private String phone; private String qq; private Date reg...
package utp.edu.pe.almacenamientoarchivos.models; import java.util.ArrayList; /** * Created by GrupoUTP on 24/06/2016. */ public class Message { private String text; public Message(String text ) { this.text = text; } public String getText() { return text; } public void se...
public class Player { String username; int score; boolean isDrawing; boolean guessed; /** * default constructor */ public Player() { isDrawing = false; } /** * Makes a new Player given just a username * * @param username */ public Player(String username) { this.username = ...
package com.raiza.qrpay; import android.content.Intent; import android.media.Ringtone; import android.media.RingtoneManager; import android.net.Uri; import android.os.Handler; import android.support.v4.view.MenuItemCompat; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.suppor...
package manju; import java.util.*; public class A { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int t = scan.nextInt(); while(t-- > 0) { int n = scan.nextInt(); int k = scan.nextInt(); int l = scan.nextInt(); int flag = 0; int[] b = new int[k]; ...
package com.issp.ispp.repository; import com.issp.ispp.entity.SolicitudDatos; import com.issp.ispp.entity.Usuario; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Optional; @Repository public interface SolicitudDatos...
package com.tencent.mm.plugin.traceroute.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.content.Intent; class NetworkDiagnoseAllInOneUI$5 implements OnClickListener { final /* synthetic */ NetworkDiagnoseAllInOneUI oDK; NetworkDiagnoseAllInO...
package com.example.wattson.main_fragments; import android.graphics.Color; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentTransaction; import androidx.recyclerview.widget.LinearLayoutManager...
package asus.ft.autoBrowsing; import java.io.IOException; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.Intent; import android.media.AudioManager; import android.net.Uri; import android.os.Bundle; import android.os.Message; import andr...