text
stringlengths
10
2.72M
package javaProgramming; import java.util.List; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.*; public class DynamicGoogleSearch { publ...
package entity; import threads.AbstractThread; import utills.ResturantEntityUtill; public class Customer extends AbstractResturanEntity { public enum Name { Jhon, Mike, Snow, Guy, Lernamis, Yoheved, Bane, Joker, Superman, Spaiderman; public static String getRandomName() { return Name.values()[ResturantEntit...
package ru.job4j.presentation; import com.fasterxml.jackson.databind.ObjectMapper; import ru.job4j.controller.PlacesDB; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.Http...
package com.alivecaren.config; import com.alivecaren.enums.DBTypeEnum; import java.lang.annotation.*; @Target({ElementType.METHOD,ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface DB { DBTypeEnum value() default DBTypeEnum.CLOUD_DB; }
package com.mochasoft.fk.security.filter; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springf...
package searchcodej.model; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; public class PartOfString { private static final Pattern pattern = Pattern.compile("\\[(\\d+)[,](\\d+)\\]"); private int beginIndex; private int endIndex; public PartOfString(int beg...
package Tasks.LessonTwo; public class TaskTen { // Создайте программу, вычисляющую факториал натурального числа n, которое пользователь введёт с клавиатуры. public static void factorial(int a) { int result = 1; // Получается что итоговое значение ограничено размером int for (int i = 1; i <=...
package bean; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import java.beans.PropertyVetoException; import java.beans.VetoableChangeListener; import java.beans.VetoableChangeSupport; /** * Bean类似观察者模式里的主题角色或者是被观察者角色(Observable) */ public class SomeBean { protected Property...
package com.hesoyam.pharmacy.medicine.service; import com.hesoyam.pharmacy.medicine.model.MedicineReservationItem; import java.util.List; public interface IMedicineReservationItemService { List<MedicineReservationItem> getAll(); MedicineReservationItem create(MedicineReservationItem medicineReservationItem);...
package com.streming.kafka.partitioner; import org.apache.kafka.clients.producer.Partitioner; import org.apache.kafka.common.Cluster; import java.util.Map; /** * @fileName: CustomPartitioner.java * @description: 自定义分区器 * @author: by echo huang * @date: 2020-08-02 18:25 */ public class CustomPartitioner implemen...
package com.asack_software_group.tools.quchan_citizen.fragment; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.ActivityCompat; import android.su...
package com.tencent.mm.plugin.chatroom.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import com.tencent.mm.model.au; import com.tencent.mm.plugin.chatroom.d.g; class ChatroomInfoUI$19 implements OnCancelListener { final /* synthetic */ ChatroomInfoUI hLX; ...
package amlsim.model.normal; import java.util.Random; import amlsim.Account; import amlsim.AccountGroup; import amlsim.TargetedTransactionAmount; import amlsim.model.AbstractTransactionModel; /** * Send money to neighbors periodically */ public class PeriodicalTransactionModel extends AbstractTransactionModel { ...
package com.bfchengnuo.security.core.validate.code.sms; /** * 发送短信验证码 * * @author Created by 冰封承諾Andy on 2019/8/2. */ public interface SmsCodeSender { void send(String phone, String code); }
package piefarmer.immunology.model; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class ModelDiagnosticTable extends ModelBase { //This was built using Techne. Please go support Techne project. ModelRenderer TableLeft; ...
package com.example.ferdinand.travelup.adapter; import android.content.Context; import android.content.Intent; import android.support.v7.widget.CardView; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Ima...
package com.qimou.sb.web.controller; import java.net.URLDecoder; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.spri...
package matth.dungeon.EnemyTile.ProjectileTypes.PatternTypes; import android.os.Handler; import matth.dungeon.EnemyTile.ProjectileTypes.PlayerProjectileClassic; import matth.dungeon.Utility.MainUtility; import matth.dungeon.Utility.PlayerUtility; public class BurstPattern extends Pattern { private MainUtility m...
package com.brainmentors.los.operation; import com.brainmentors.los.customer.ICustomer; public interface ILOSProcess { public void sourcing(ICustomer customer); public void checkStage(int applicationNumber); }
package fotoshop.Filter; import fotoshop.ColorImage; import fotoshop.GUI.ImagePanel; import java.awt.*; import javax.swing.*; /** * Derived from suggestions made in the book, "Objects First with * Java" by David Barnes and Michael Kolling. * Filter class is the abstract super for all filters. Simply contains the n...
package com.chris.projects.fx.ftp.fix; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import quickfix.ConfigError; import quickfix.SessionSettings; import java.io.InputStream; import static java.util.Objects.requireNonNull; public class FixSessionSettingsFactory implements FixSessionSettings{ privat...
package map; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Stroke; import java.util.ArrayList; import java.util.List; import javax.swing.JPanel; import tower.Laser; import tower.RingTower; import tower.Tower; import composite.BlendComposite...
package com.spintech.testtask.service.impl; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.spintech.testtask.converter.ShowConverter; import com.spintech.testtask...
package exceptions; /** Eccezione lanciata quando non è possibile trovare lo scontrino a database. */ public class ScontrinoNotFoundException extends ScontrinoException { public ScontrinoNotFoundException(String message) { super(message); } }
package com.dio.api.service; import com.dio.api.model.TypeDate; import com.dio.api.repositories.TypeDateRepository; import com.dio.api.service.exceptions.ObjectNotFoundException; import com.dio.api.util.MessageUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.S...
package com.example.root.githubsearch; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; /** * Created by root on 2/14/18. */ public class ResultDataAdapter extends RecyclerView.Adapter<ResultD...
package com.noteshare.wechat.model.message.accept; public class LocationMessage extends AcceptBaseMessage{ private static final long serialVersionUID = -7354020636708467754L; /** * 地理位置维度 */ private double location_X; /** * 地理位置经度 */ private double location_Y; /** * 地图缩放大小 */ private int scale; /**...
package com.example.ecommerce.ViewHolder; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import androidx.anno...
package com.computerstudent.madpractical.Practical_23; import androidx.appcompat.app.AppCompatActivity; import android.annotation.SuppressLint; import android.app.ProgressDialog; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.AsyncTask; import android.os.Bundle; impor...
package com.tencent.mm.plugin.ipcall.ui; import android.content.Intent; import android.view.View; import android.view.View.OnClickListener; import com.tencent.mm.sdk.platformtools.bi; class IPCallUserProfileUI$3 implements OnClickListener { final /* synthetic */ IPCallUserProfileUI kzx; IPCallUserProfileUI$3...
package com.worker.framework.python; //we throw this exception in a case of some system problem in python shell process IO, so that currently processed message will be redelivered public class PythonProcessRestartedException extends PythonProcessException { private static final long serialVersionUID = 1L; pub...
package com.dishcuss.foodie.hub.Listners; /** * Created by Naeem Ibrahim on 10/17/2016. */ public interface OnLoadMoreListener { void onLoadMore(); }
/** * Provides core libraries for analyzing global image features. */ package pwr.chrzescijanek.filip.gifa.core;
package agents.anac.y2013.MetaAgent.portfolio.thenegotiatorreloaded; import java.util.HashMap; public class TheNegotiatorReloaded_Offering extends OfferingStrategy{ private TimeManager timeManager; private double kalaiPoint; private TimeDependentFunction TDTFunction; private StrategyTypes opponentStrat...
package com.jun.nettydemo.handlerorder; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelOutboundHandlerAdapter; import io.netty.channel.ChannelPromise; import io.netty.util.CharsetUtil; import io.netty.util.concurrent.Promis...
package com.yqwl.service.impl; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Resource; import org.springframework.beans.BeanUtils; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; imp...
package com.cnk.travelogix.custom.zifwsb.inv.cancel.data; public class ZifstStatusDocData { protected String uniqid; protected String docnumber; protected String status; protected String messagetype; protected String message; protected String sysubrc; /** * Gets the value of the uniqid property. * * @r...
package services; import android.os.AsyncTask; import db.DBHelper; public class GetCurrencyAsyncTask extends AsyncTask<Void, Void, String> { private DBHelper mydb; public GetCurrencyAsyncTask(DBHelper mydb) { this.mydb = mydb; } @Override protected String doInBackground(Void... params) { // TODO Auto-gen...
package pl.edu.agh.to.lab4.suspects; import pl.edu.agh.to.lab4.suspects.Suspect; import java.util.Calendar; public class Prisoner extends Suspect { private final int judgementYear; private final int sentenceDuration; private final String personalId; public Prisoner(String name, String surname, Str...
package com.example.test; import android.app.Activity; import android.content.Intent; import android.graphics.Typeface; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.Chec...
package cn.gavinliu.notificationbox.ui.main; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; i...
package com.example.news_app; import androidx.appcompat.app.AppCompatActivity; import android.app.SearchManager; import android.content.Intent; import android.view.View; import android.widget.SearchView; import android.widget.SearchView.OnQueryTextListener; import androidx.recyclerview.widget.LinearLayoutManager; impo...
package com.example.GPSSimulator; public class Track { private Point keypoint[]; private int pointnum; private Point curpoint; private int pre;//index of previous key point private double interval=1500.0;//time interval between two points (ms) private boolean random_track_flag=true;//Whether to set a random devi...
package com.tencent.mm.h; import android.content.Intent; import com.tencent.mm.R; import com.tencent.mm.g.a.ah; import com.tencent.mm.g.a.ry; import com.tencent.mm.model.au; import com.tencent.mm.platformtools.af; import com.tencent.mm.plugin.account.ui.DisasterUI; import com.tencent.mm.sdk.b.c; import com.tencent.mm....
package Client; import Client.Services.*; import Client.Services.Enums.*; import Client.Services.Enums.Help.*; public class MainClass { public static void main (String[] args) { AllExpenses all = new AllExpenses(); all. } }
/* * J1.0 Dec 2007 */ class Main { public static void main(String[] args){ int[] tag = new int[12]; Decoder decoder = new Decoder(args); if(decoder.processTag()) { decoder.copyTag(tag); for(int i=0; i<12; i++) System.out.print(tag[i]); System.out.println(); } decoder = null; } }
package com.laoji.provider.api; import com.laoji.provider.domain.UmsAdminLoginLog; /** * 系统管理员登录日志表api * @author: laoji * @date:2020/4/10 21:33 */ public interface UmsAdminLoginLogService { /** * 插入数据 * @param umsAdminLoginLog * @return */ int insert(UmsAdminLoginLog umsAdminLoginLog);...
package com.zhao.leetcode; import java.util.HashMap; public class WordsFrequency { HashMap<String,Integer> map =new HashMap<>(); public WordsFrequency(String[] book) { for (String word :book){ Integer count =map.get(word); if (count==null||count==0){ count=1; ...
package com.qa.tests; import org.apache.http.client.methods.CloseableHttpResponse; import org.testng.Assert; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import com.qa.base.TestBase; import com.qa.client.RestClient; import io.restassured.RestAssured; import io.restassured.response....
/* * 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 co.id.mii.clientapp.services; import co.id.mii.clientapp.models.Region; import co.id.mii.clientapp.models.dto.ResponseModel; i...
package Anlage; public class AnlageApp { public static void main(String[] args) { // TODO Auto-generated method stub Anlage Laptop = new Anlage("Laptop",2000,5); Laptop.simulate(5,500); Anlage NewLaptop = Laptop.renew(1000, 4); System.out.println("Name:"+NewLaptop.getBezeichnung()+" Wert:"+NewLapt...
package au.com.pactera.sampledownloader.network; import au.com.pactera.sampledownloader.dto.Constants; import au.com.pactera.sampledownloader.dto.JSONResponse; import retrofit.Callback; import retrofit.http.GET; /** * Created by priju.jacobpaul on 3/05/15. */ public class NetworkServices { public interface Dow...
package com.smxknife.java2.collections.list; import java.util.Stack; /** * @author smxknife * 2020/7/9 */ public class StackDemo { public static void main(String[] args) { Stack<Integer> stack = new Stack<>(); stack.pop(); } }
package br.eti.ns.nssuite.compartilhados; import java.io.*; import java.text.SimpleDateFormat; import java.util.Base64; import java.util.Date; public class Genericos { public static void gravarLinhaLog(String modelo, String conteudo) throws IOException, IOException { //Lendo Path do computador utlilizado...
package besic.borna.youtubemp3downloader; import android.Manifest; import android.app.Activity; import android.app.ProgressDialog; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.os.Handler; import android.support...
package com.home.rest; import java.util.ArrayList; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.Application; import javax.ws.rs.core.MediaType; import com.sun.xml.internal.bind.v2.schemagen.xmlschema.List; @Path("/webservices") public class RestS...
package com.jt.manage.factory; import java.util.Calendar; /** * 实例化工厂demo * @author Administrator * */ public class InstantiationFactory { public Calendar getIns() { return Calendar.getInstance(); } }
package com.yeahbunny.stranger.server.controller; import javax.inject.Inject; import javax.persistence.EntityNotFoundException; import com.yeahbunny.stranger.server.model.notifications.StrangerNotification; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springfr...
package com.hservice.grpc.client; import com.hservice.grpc.schema.GreeterGrpc; import com.hservice.grpc.schema.HelloReply; import com.hservice.grpc.schema.HelloReplyUpdate; import com.hservice.grpc.schema.HelloRequest; import io.grpc.StatusRuntimeException; import net.devh.springboot.autoconfigure.grpc.client...
package com.algaworks.osworks.api.controller; //import java.util.Arrays; import java.util.List; import java.util.Optional; import javax.validation.Valid; //import javax.persistence.EntityManager; //import javax.persistence.PersistenceContext; import com.algaworks.osworks.domain.model.Cliente; import com...
import java.util.Scanner; import java.io.File; import java.io.IOException; import java.io.FileNotFoundException; import java.util.ArrayList; public class RoundRobin { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.print("Enter the time quantum: "); int timeQuantum = ...
package com.linkedbook.dto.deal.createDeal; import lombok.Getter; import lombok.NoArgsConstructor; @NoArgsConstructor @Getter public class CreateDealImage { private String imageUrl; private int orders; }
package fr.pederobien.uhc.interfaces; import java.time.LocalTime; import org.bukkit.block.Block; public interface IUnmodifiableHungerGameConfiguration extends IUnmodifiableConfiguration { Block getBorderCenter(); Double getInitialBorderDiameter(); Double getFinalBorderDiameter(); LocalTime getFractionTime();...
package com.ani.examples; public class StaticMethod { private int a; private static int counter = 0; public StaticMethod(int a) { this.a = a; //Static methods are called by Class name. StaticMethod.incrementCounter(); } //Static method is used to access/manipulate static members of the class. public s...
package Yichang; import java.util.Scanner; public class YcTest { public static void main(String[] args) { System.out.println("请输入年龄"); Scanner scanner=new Scanner(System.in); Yochang a=new Yochang(); try { int age=scanner.nextInt(); a.setAge(age); }...
package com.yida.design.builder.demo.car; /** ********************* * 宝马模型 * * @author yangke * @version 1.0 * @created 2018年5月10日 下午5:41:55 *********************** */ public class BMWModel extends AbstractCarModel { @Override protected void start() { System.out.println("宝马车跑起来是这个样子的...");...
package com.lollipop; import java.util.Scanner; /** * Created by zhuxh on 2017/11/28. */ public class Main { private static int[] num = {2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9}; static int count; static char[] cArr; static String temp; public static void mai...
/* 包装类(Wrapper) 针对八中基本数据类型定义相应的引用类型——包装类 int--interger char--Character 包装类的使用 包装类:八中基本数据类型对应着一个类(基本数据类型+包装类+String之间的相互转化) 练习:包装类+String+基本数据类型之间的相互转换 TestWrapper.java */ package day3; import org.junit.Test; public class TestWrapper { // 基本数据类型和包装类之间的转换 @Test public void test1() { int i = 90; boole...
/* * Copyright 2016 Andrei Zaiats. * * 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 t...
package statics; import game.Handler; public abstract class Boost extends StaticEntity { public static int DURATION_ON_SCREEN = 15000; protected boolean destroyed = false; private long timer = 0; private long lastTime = System.currentTimeMillis(); public Boost(Handler pHandler, float x, float y...
package com.yuanxiao.greendao.utils; import android.util.Log; import com.yuanxiao.greendao.BuildConfig; /** * Created by kc on 17/5/9. */ public class MyLog { private static final String TAG = "MyLog"; public static void showLog() { if (BuildConfig.IS_SHOW_LOG) { Log.i(TAG, "showLog: ...
package sistema.presentation.cliente; import java.util.List; import java.util.Observable; import javax.swing.DefaultComboBoxModel; import javax.swing.ImageIcon; import sistema.logic.Canton; import sistema.logic.Cliente; import sistema.logic.Distrito; import sistema.logic.Provincia; public class ViewCliente extends ja...
package br.eti.ns.nssuite.requisicoes._genericos; public class InutilizarReq { public String cUF; public String ano; public String tpAmb; public String CNPJ; public String serie; public String xJust; }
package co.com.emerdeveloper.questions; import net.serenitybdd.screenplay.Actor; import net.serenitybdd.screenplay.Question; import net.serenitybdd.screenplay.targets.Target; import net.serenitybdd.screenplay.waits.WaitUntil; import org.slf4j.LoggerFactory; import static net.serenitybdd.screenplay.matchers.WebElement...
package com.espendwise.manta.web.validator; import com.espendwise.manta.util.validation.ValidationResult; import com.espendwise.manta.web.forms.SimpleFilterForm; import com.espendwise.manta.web.util.WebErrors; import org.springframework.validation.Validator; public class SimpleFilterFormValidator extends AbstractFor...
/* * Sonar Motion Chart plugin * Copyright (C) 2009 SonarSource * dev@sonar.codehaus.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the Licens...
package com.cpz.Demo07; public class DemoMain { public static void main(String[] args) { MyinterImpl obj = new MyinterImpl() { @Override public void cpz() { System.out.println("鹏哥真帅"); } }; obj.cpz(); System.out.println(10%3); ...
package net.asurovenko.netexam.network.models; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class AddedExam { @SerializedName("name") @Expose private String name; @SerializedName("semester") @Expose private int semester; public Added...
package com.tencent.mm.plugin.radar.ui; import android.app.Activity; import android.view.View; import b.b; import b.c.b.e; import b.c.b.f; import b.d; import b.g; import b.h; import b.l; public final class i { static final class a extends f implements b.c.a.a<T> { final /* synthetic */ Activity mnk; ...
package com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.builder; import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.AggregateprogrammType.BEHGN2; import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.GluehstapelPlanungType; import java.io.StringWriter; import javax.xml.bind.JAXBElement; import java...
package com.libedi.jpa.manytomany.simplejointable; import static org.junit.Assert.fail; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.EntityTransaction; import javax.persistence.Persistence; import org.junit.FixMethodOrder; import org.junit.Rule; impo...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int age = 0; double finage = 0; double cont = 0; while (true) { age = scan.nextInt(); if (age < 0) { ...
package com.qf.entity; import com.qf.util.Constant; import lombok.Data; import java.io.Serializable; @Data public class ResultData<T> implements Serializable { private String code; private String msg; private T data; /** * 构建一个成功的返回对象 * @param data * @param <T> * @return */ ...
public class Node<T> { T value; Node<T> next; Node<T> prev; public Node(T v) { value = v; } public T getValue() { return value; } public void setValue(T v) { value = v; } public Node<T> getNext() { return next; } public...
package com.podarbetweenus.Entity; /** * Created by Gayatri on 3/10/2017. */ public class AttendHolidayResult { public String Holidaydate = ""; public String strmonthid = ""; }
package com.example.women_safety; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.Spinner; public class rate extends AppCompatActivity { pub...
/* * [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 ch.springcloud.lite.core.client; import java.lang.reflect.Method; import java.lang.reflect.Parameter; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.stream.Collectors; import javax.servlet.http.HttpServletReque...
import java.util.ArrayList; import java.util.Scanner; public class Event implements Comparable<Event> { private ArrayList<Choice> choiceList = new ArrayList<Choice>(); private String eventDesc; private int priority; private Scanner sc; public Event(String eventDesc, ArrayList<Choice> choiceLi...
/** * Helios, OpenSource Monitoring * Brought to you by the Helios Development Group * * Copyright 2007, Helios Development Group and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free softw...
package com.zero.votes.cronjobs; import com.zero.votes.persistence.entities.Participant; import com.zero.votes.persistence.entities.Poll; import com.zero.votes.web.util.EMailer; import java.util.Locale; /** * This task offers functionality to send a reminder mail. */ public class ReminderMailTask implements Runnabl...
package za.co.edusys.domain.model.event; /** * Created by marc.marais on 2017/02/25. */ public enum EventStatus { OPEN("Open"), IN_PROGRESS("In Progress"), CLOSED("Closed"); private String name; EventStatus(String name){ this.name = name; } public String getName() { ret...
package com.zxjdev.smile.domain.user.usecase; import com.zxjdev.smile.domain.common.base.DataUseCase; import com.zxjdev.smile.domain.common.base.UseCaseRequestParams; import com.zxjdev.smile.domain.user.UserRepository; import io.reactivex.Observable; public class UploadAvatar extends DataUseCase<UploadAvatar.Request...
/** * Provides an Interface for the Internal Model Repository Service to be used by * the Core Service. * * @author Matthias Fetzer - fetzerms@studi.informatik.uni-stuttgart.de * @author Rene Trefft - trefftre@studi.informatik.uni-stuttgart.de * */ package org.opentosca.core.internal.model.repository.service;
package org.eginez; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; public class Problem3Test { @Test public void testLongest() { Assertions.assertEquals("GTAB", Problem3.longestSubSeq("AGGTAB", "GTAB")); Assertions.assertEquals("AB", Problem3.longestSubSeq("ADDDDDB...
package com.szcinda.express.persistence; import com.szcinda.express.Address; import com.szcinda.express.BaseEntity; import com.szcinda.express.FeeDeclareStatus; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.*; import javax.validation.constraints.NotNull; import java.time.LocalDateTime;...
package botenanna.prediction; import botenanna.game.Car; import botenanna.math.Vector3; public class Estimates { /** Returns an estimate of how long time it will take for a car to reach a ball. A speed parameter describes how * much effort the car expects to put into getting there. If speed = 1, the car is ...
package commandline.language.parser.specific; import commandline.exception.ArgumentNullException; import commandline.language.parser.ArgumentParser; import org.jetbrains.annotations.NotNull; /** * User: gno Date: 25.06.13 Time: 15:57 */ public class StringArgumentParser extends ArgumentParser<String> { @Override ...
package com.tencent.mm.plugin.facedetect.e; import com.tencent.mm.plugin.facedetect.e.a.a; import com.tencent.mm.plugin.facedetect.model.d; import com.tencent.mm.sdk.platformtools.x; class a$2 implements Runnable { final /* synthetic */ a iSF; public a$2(a aVar) { this.iSF = aVar; } public f...
package com.example.spring; import com.example.ApiConnect; @MySpringApplication public class ZApplication { @MyAutowired private SomeService someService; @MyAutowired private ApiConnect apiConnect; public static void main(String[] args) { Spring.run(ZApplication.class); } publi...