text
stringlengths
10
2.72M
package com.vr.player.ndk; import com.vr.player.settings.SettingsManager; /** * Created by qiangwang on 1/13/17. */ public interface INative { boolean setShowMode(SettingsManager.ShowMode mode, SettingsManager.ResolutionRatio resolution, boolean isLeft); int onSurfaceCreated(boolean isSingle); void onS...
package com.itobuz.android.awesomechat.navigation; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.widget.Toast; import com.afollest...
package com.citibank.ods.entity.bg.valueobject; import java.math.BigInteger; import com.citibank.ods.common.entity.valueobject.BaseEntityVO; // //©2002-2007 Accenture. All rights reserved. // /** * [Class description] * * @see package com.citibank.ods.entity.bg.valueobject; * @version 1.0 * @aut...
import com.badlogic.gdx.backends.lwjgl.LwjglApplication; import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; public class Launcher { public static void main (String[] args) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); // change configu...
import java.lang.*; import java.util.*; import java.io.*; // #!/usr/bin/python -O // #include <stdio.h> // #include <stdlib.h> // #include <string.h> // #include<stdbool.h> // #include<limits.h> // #include<iostream> // #include<algorithm> // #include<string> // #include<vector> // #include<queue> // using namespace...
import java.util.Calendar; public class A3Calendar { public static void main(String[] args) { Calendar c=Calendar.getInstance(); int y=c.get(Calendar.YEAR); int m=c.get(Calendar.MONTH)+1; int m2=c.get(Calendar.DAY_OF_MONTH); int m3=c.get(Calendar.WEEK_OF_MONTH); int d=c.get(Calendar.DAY_OF_YEAR); Syste...
package com.example.forcatapp.Member; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.webkit.CookieManager; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import androidx.annotation.NonNull; import a...
package com.metoo.manage.admin.tools; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.metoo.core.tools.CommUtil; import com.metoo.fo...
package com.cos.blog.domain.reply.dto; import lombok.Data; @Data public class DeleteReqDto { private int userId; private int replyId; }
/** *베타테스트의 운영자에게 빈클래스 *<p> 제목:BetaAdminBean.java</p> *<p> 설명:운영자에게 빈</p> *<p> Copyright: Copright(c)2004</p> *<p> Company: VLC</p> *@author 박준현 *@version 1.0 */ package com.ziaan.beta; import java.sql.PreparedStatement; import java.util.ArrayList; import com.ziaan.library.ConfigSet; import com.ziaan.library.DBCo...
// // Decompiled by Procyon v0.5.36 // package com.davivienda.sara.base; import java.util.Calendar; import javax.persistence.Query; import java.util.ArrayList; import java.util.Collection; import javax.persistence.EntityExistsException; import javax.persistence.TransactionRequiredException; import com.davivienda.sa...
package com.barnettwong.coolview.activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import com.barnettwong.coolview.R; import com.barnettwong.view_library.view.likebutton.LikeButton; import com.barnettwong.view_library.view.likebutton.OnLikeListener; import com.blankj.utilcode...
package pages; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.How; import org.openqa.selenium.support.PageFactory; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.sel...
package org.hadoop.praveen; import java.io.IOException; import org.apache.hadoop.io.Text; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.mapreduce.Mapper; public class MultipleOutputMapper extends Mapper<LongWritable,Text,Text,Text>{ private Text empId = new Text(); private Text empData = new...
package jdbc; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import entidades.Tarefa; public class TarefaDAO { private Connection con = Conexao.getConnection(); public void cadastrar(Tarefa ta...
package com.KingIsDdServer; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.nio.file.Files; import static java.nio.file.StandardOpenOption.CREATE_NEW; public class Main { public static Boolean ExitGame = false; public static void main(String[] args) throws IOException, I...
/* * 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 ciphers; import interfaces.Cipherable; public abstract class Rotor implements Cipherable { /* input and output alphabets */ char[] in; //Input alphabet char[] out; //Output alphabet int alphabetLength; //Length of alphabets int position; //Current position of rotor (between 0 and alphabetLength - 1...
package com.example.demo; import java.util.Locale; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.S...
public class Driver{ public static void main(String[] args){ Frame x = new Frame(); System.out.println(x.frame(5,4)); } }
package com.example.demo.service; import com.example.demo.model.User; import com.example.demo.repository.UserRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public class UserService { @Autowired private UserRepository repo; ...
package com.example.rihaf.diabetesdietexpert; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget...
package com.graphbuilder.curve; /** Curves that extend the ParametricCurve class are continuous and can use the BinaryCurveApproximationAlgorithm class to generate a sequence of points that approximate the curve. Note: Approximate means a finite set of points that are <i>on</i> the curve, <u>not</u> close to th...
public class AlreadySorted { public static void main(String[] args) { Array arr = new Array(10000); arr.randomInit(10000); arr.sort(); Array arr1 = new Array(arr); Array arr2 = new Array(arr); Array arr3 = new Array(arr); long startTime1 = TimeUtils.now(); arr1.bubbleSort(); long endTime1 = TimeUti...
package com.niit.model; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import javax.validation.constraints.NotNull; im...
package com.engin.activity; import android.Manifest; import android.app.Activity; import android.content.Context; import android.content.pm.PackageManager; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import android.support.v4.app.Fragment; import android.util.Log; import an...
package by.herzhot.impl; import by.herzhot.*; import by.herzhot.exceptions.DaoException; import by.herzhot.exceptions.ServiceException; import javax.ejb.Stateless; import javax.inject.Inject; import java.util.List; import java.util.Map; /** * @author Herzhot * @version 1.0 * 03.08.2016 */ @Stateless pub...
package com.health.system.domain.dto; import com.health.system.domain.SysRole; import com.health.system.domain.SysUser; import lombok.Data; import lombok.EqualsAndHashCode; import java.util.List; /** * @author zhangqing * @version V1.0 * @Description: 在这里简单描述该类的作用 * @Copyright: Copyright (c) 2018 * @company TOD...
/* * 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 fr.lteconsulting.pomexplorer; import fr.lteconsulting.pomexplorer.graph.relation.BuildDependencyRelation; import fr.lteconsulting.pomexplorer.graph.relation.DependencyRelation; import fr.lteconsulting.pomexplorer.graph.relation.ParentRelation; import org.apache.maven.model.Model; import org.apache.maven.model....
import java.util.ArrayList; import java.util.Arrays; import java.util.List; /* 给定一个包含 n 个整数的数组 nums 和一个目标值 target,判断 nums 中是否存在四个元素 a,b,c 和 d ,使得 a + b + c + d 的值与 target 相等?找出所有满足条件且不重复的四元组。 注意: 答案中不可以包含重复的四元组。 示例: 给定数组 nums = [1, 0, -1, 0, -2, 2],和 target = 0。 满足要求的四元组集合为: [ [-...
// import java.io.*; // import java.util.*; // // 요거는 solved 아니니 주의하시게 // class baek__16161 { // public static void main(String[] args) throws IOException { // BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // int n = Integer.parseInt(br.readLine()); // int[] arr = new int[n + 1]; // String...
package ui.game; import java.awt.Graphics; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.List; import javax.swing.JPanel; import cards.Card; import core.client.GamePanel; import core.player.PlayerCardZone; import listeners.game.CardOnHandListener; import ui.game.interfaces.CardRa...
package com.barnettwong.view_library.view; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.widget.CompoundButton; import android.widget.LinearLayout; import android.widget.TextView; import com.barnettwong.view_library.R; /** * Created by tiank...
import java.util.Random; import java.util.Scanner; public class TryThis{ private static boolean running = true; public static void main(String[] arg) { Character juku=new Character(); Character kati=new Character(); juku.move(); kati.changeDirection(Direction.UP); kati.move(); juku.changeDirection(Directi...
package com.training.servlets; import java.io.IOException; import java.io.InputStream; import java.sql.Connection; import java.sql.SQLException; import java.util.TreeSet; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.Htt...
package blazeplus; import cpw.mods.fml.common.Side; import cpw.mods.fml.common.asm.SideOnly; import net.minecraft.src.Enchantment; import net.minecraft.src.EnchantmentHelper; import net.minecraft.src.Entity; import net.minecraft.src.EntityArrow; import net.minecraft.src.EntityLiving; import net.minecraft.src.EntityPla...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
package com.example.restapi3; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import retrofit2.Retrofit; import retrofit2.converter.gs...
package webapp; /** * @author simetrias */ public class DatasetCanvasItemModel extends AbstractCanvasItemModel { }
package com.juannarvaez.taskworkout.model.Internet; public interface TaskWorkoutCallBack<T>{ void tareaCorrecta (T respuesta); void tareaError (Exception exception); }
package com.toni.programming.data; public abstract class LifeBeing implements IAction, IRender { protected Status status; protected String typeOfToy; public Status getStatus() { return status; } public void setStatus(Status status) { this.status = status; } public Strin...
package com.arthur.leetcode; import org.omg.PortableInterceptor.INACTIVE; import java.util.ArrayList; import java.util.Arrays; import java.util.PriorityQueue; /** * @program: leetcode * @description: 最小的k个数 * @title: JZoffer40 * @Author hengmingji * @Date: 2022/1/2 16:34 * @Version 1.0 */ public class JZoffer...
package app.akeorcist.deviceinformation.dialog; import android.content.DialogInterface; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.Window; import android...
package resources; import javax.swing.Icon; import javax.swing.ImageIcon; import frames.HelpFrame; public class AllImage { public static final Icon RECORDS=new ImageIcon(AllImage.class.getResource("/image/Records.png")); public static final Icon TETRIS=new ImageIcon(AllImage.class.getResource("/image/Te...
package io.github.futurewl.imooc.java.authority.management.param; import lombok.Getter; import lombok.Setter; import org.hibernate.validator.constraints.NotBlank; import javax.validation.constraints.Max; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; import java.util.List; /** ...
package intersection; import org.junit.Assert; import org.junit.Test; /** * Created by eprijilevschi on 5/29/2017. */ public class IntersectionTest { private Intersection intersection = new Intersection(); @Test public void testEmptyString(){ String inputString = ""; String expected = "...
package com.vipvideo.ui.reader; import android.support.design.widget.AppBarLayout; import android.view.View; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import android.widget.FrameLayout; import android.widget.TextView; import com.lixh.base.BasePageView; import com.lixh.irea...
package fr.aresrpg.tofumanchou.domain.data.entity; import fr.aresrpg.dofus.structures.Orientation; import fr.aresrpg.dofus.structures.game.Effect; import java.util.Set; /** * * @since */ public interface Entity { long getUUID(); Set<Effect> getEffects(); int getCellId(); void setCellId(int cellid); int...
package org.vanilladb.comm.protocols.totalorderappl; import java.io.Serializable; import net.sf.appia.core.AppiaEventException; import net.sf.appia.core.Channel; import net.sf.appia.core.Direction; import net.sf.appia.core.Event; import net.sf.appia.core.Session; public class TotalOrderMessages extends Event { pr...
package presentation.controller; import common.ResultMessage; /** * @ author lienming * @ version 2016-11-27 * @ description */ public interface RegisterViewControllerService { /** * 注册账号 * @return id:String (or "FAIL") * @author lienming * @version 2016-11-27 */ public String re...
public class TheKingsArmyDiv2 { public int getNumber(String[] state) { boolean happy = false; for(int i = 0; i < state.length; ++i) { for(int j = 0; j < state[i].length(); ++j) { if(state[i].charAt(j) == 'H') { happy = true; if(j +...
package com.ipincloud.iotbj.srv.domain; import java.io.Serializable; import java.math.BigDecimal; import java.sql.Time; import java.sql.Date; import java.sql.Timestamp; import com.alibaba.fastjson.annotation.JSONField; //(Iotman)网关管理 //generate by redcloud,2020-07-24 19:59:20 public class Iotman implements Serializab...
package n.db; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; import n.models.Area; import n.models.Match; import n.models.TravelAr...
package com.imooc.article.mapper; import com.imooc.my.mapper.MyMapper; import com.imooc.pojo.Article; public interface ArticleMapper extends MyMapper<Article> { }
import java.util.Scanner; public class Practice1 { public static void main(String args[]) { Scanner input = new Scanner(System.in); int mid; int end; int practice; double avg; System.out.print("중간고사 점수를 입력하시오 : "); mid = input.nextInt(); System.out.print("기말고사 점수를 입력하시오 : "); end = input.ne...
package sort; import java.util.Random; /** * @author leeray * @version 创建时间:2019年3月23日 上午11:24:24 <br> * 描述:插入排序<br> */ public class InsertSort { public static void main(String[] args) { int a[] = new int[10]; for (int i = 0; i < a.length; i++) { a[i] = new Random().nextInt(50); System.out.pri...
package com.example.karam.transportation; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.ImageView; public class Driver_setting extends AppCompatActivity { ImageView back_et; @Override protected void onC...
package lesson2.hw.acmp; /** * Алгоритмы_и_структуры_данных_на_Java.БазовыйКурс. 24.09.2019 Webinar. * Teacher: Фанзиль Кусяпкулов * Урок 1. Общие сведения об алгоритмах и структурах данных * Домашняя работа. * @author Litvinenko Yuriy * Задачи на http://acmp.ru * Тема. Двумерные массивы. * ЗАДАЧА №802. Магиче...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class C1IOtest { public static void main(String[] args) /*throws IOException*/{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); try{ while(true) { String name = in.readLine(); ...
package kr.ac.kopo.day12.homework; import java.util.Scanner; public class GameMeun { public static int totalWin; public static int totalLose; public static int totalDraw; Scanner sc = new Scanner(System.in); //게임 선택 및 전체 게임 진행 public void selectGame() { System.out.println("게임을 선택하세요"); System.out.println...
package ch.mitti.geometrische_figuren; import java.awt.geom.*; //Alle Klassen des Geometrie-Pakets public class Linie extends Figur { public int xEnde; public int yEnde; // Konstruktor public Linie() { super(10,10,"black"); this.xEnde=100; this.yEnde=100; this....
package com.project; public enum DamageType { }
package pl.edu.wszib.springhelloworld.configurations; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.w...
package edu.weber.cs3230.assignment1.Chart; import java.util.ArrayList; /** * Created by Scott on 9/15/2014. */ public class Chart { private double loanAmmount; private double interestRate; private int numYears; private double monthlyPayment; private double loanBalance; private double tota...
package org.apache.helix.controller.changedetector.trimmer; /* * 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 u...
package com.unistudent.app.unistudentappv2; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import com.unistudent.app.unistudentappv2.adapters.CommentListAdapter; import com.unistudent.app.un...
package com.rudolfschmidt.amr; import org.junit.*; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import static org.junit.Assert.assertEquals; public class IncluderTest { private static final String templatesDirectory = "src/test/resources/includer"; private static Amr engine...
package FirstProject.src; public class Child extends Parent{ public void displayMessage(){ System.out.println("displayMessage() method of Child invoked"); } }
package com.micHon.messager; import com.micHon.forecast.WeatherForecast; public class TVNews implements Observer { public void updateForecast(WeatherForecast weatherForecast) { System.out.println("TV News: Temp: " + weatherForecast.getTemperature() + " Pressure: " + weatherForecast.getPressure()); } ...
/** * The MIT License (MIT) * Copyright (c) 2012-present 铭软科技(mingsoft.net) * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights t...
package org.point85.domain.dto; import org.point85.domain.proficy.ProficySource; public class ProficySourceDto extends CollectorDataSourceDto { private Integer uaaHttpPort; private Boolean validateCertificate; private Integer httpsPort; public ProficySourceDto(ProficySource source) { super(source); this....
package com.gxtc.huchuan.data; import com.gxtc.commlibrary.data.BaseRepository; import com.gxtc.huchuan.bean.ChooseClassifyBean; import com.gxtc.huchuan.http.ApiCallBack; import com.gxtc.huchuan.http.ApiObserver; import com.gxtc.huchuan.http.ApiResponseBean; import com.gxtc.huchuan.http.service.MineApi; import com.gxt...
package com.example.jpm.offthestreets.ui; import android.Manifest; import android.content.pm.PackageManager; import android.nfc.Tag; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import android.support.v4.app.FragmentActivity; import android.os.Bundle; import android...
package formularios; import java.awt.Color; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import javax.swing.UIManager; import javax.swing.plaf.ColorUIResource; import javax.swing.table.DefaultTableModel; public class ModeloTabla extends DefaultTableModel {//mostrará l...
package net.xiaolanglang.web.exception.account; /** * Token验证失败 * Created by gaoyang on 14/11/26. */ public class TokenErrorException extends Exception { }
package com.zantong.mobilecttx.car.fragment; import android.annotation.SuppressLint; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; import com.umeng.analytics.MobclickAgent; import com.zantong.mobilecttx.R; import com.zantong.mobilecttx.base.fragment...
/* * 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 livraria.gui; import livraria.bo.ReservaBO; import livraria.bo.Formulario; import livraria.gui.tablemodel.ReservaTableModel; i...
/* * Copyright 2002-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package me.libraryaddict.disguise.disguisetypes.watchers; import me.libraryaddict.disguise.disguisetypes.Disguise; import me.libraryaddict.disguise.disguisetypes.MetaIndex; public class CreeperWatcher extends InsentientWatcher { public CreeperWatcher(Disguise disguise) { super(disguise); ...
package rso.dfs.dummy.server; import org.apache.thrift.server.TServer; import org.apache.thrift.server.TServer.Args; import org.apache.thrift.server.TSimpleServer; import org.apache.thrift.transport.TServerSocket; import org.apache.thrift.transport.TServerTransport; import rso.dfs.dummy.generated.NamingService; /** ...
package controliteration; public class PIValue { private static final String PI_POET = "Nem a régi s durva közelítés,\n" + "Mi szótól szóig így kijön\n" + "Betűiket számlálva.\n" + "Ludolph eredménye már,\n" + "Ha itt végezzük húsz jegyen.\n" + "De rendre...
package com.example.student.myapplication; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.Spinner; import android.widget.Toast; import java.util.ArrayList; public class XuLySVAct...
package org.vincent.event; import org.springframework.context.ApplicationListener; import org.springframework.context.event.ContextRefreshedEvent; import org.springframework.stereotype.Component; /** * @author PengRong * @package org.vincent.event * @ClassName StartUp.java * @date 2019/8/7 - 20:41 * @ProjectName...
package functionalTesting.companyManagement.independently.jobList; import functionalTesting.companyManagement.independently.companyList.AddCompanyTest; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.junit.Assert; import org.junit.Test; import org.openqa.selenium.By; imp...
/* * (C) Copyright 2010 Marvell International Ltd. * All Rights Reserved * * MARVELL CONFIDENTIAL * Copyright 2008 ~ 2010 Marvell International Ltd All Rights Reserved. * The source code contained or described herein and all documents related to * the source code ("Material") are owned by Marvell International L...
import p1.button1; import p1.coffee; import java.awt.*; import javax.swing.*; class TabbedPaneExample extends JFrame { private JTabbedPane tabbedPane; public TabbedPaneExample() { Container c=this.getContentPane(); c.setLayout( new BorderLayout() ); button1 bt=new butto...
package io.core9.plugin.widgets.widget; import java.util.List; public interface WidgetProvider { List<Widget> getWidgets(); }
package ac.a14ehsr.platform; import java.io.IOException; import java.util.Arrays; import ac.a14ehsr.exception.TimeoutException; import ac.a14ehsr.platform.visualizer.Visualizer; import ac.a14ehsr.player.Player; public abstract class Game { protected int numberOfPlayers; protected int numberOfGames; prote...
package org.kuali.ole.deliver.batch; import com.lowagie.text.*; import com.lowagie.text.Font; import com.lowagie.text.pdf.PdfPCell; import com.lowagie.text.pdf.PdfPTable; import com.lowagie.text.pdf.PdfWriter; import org.apache.log4j.Logger; import org.kuali.ole.OLEConstants; import org.kuali.ole.OLEParameterConstants...
package com.valentino.indomie.entitys; import lombok.Getter; import lombok.Setter; import org.hibernate.annotations.GenericGenerator; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java.util.Objects; @Entity @Gett...
package ValtechTest; import org.junit.Assert; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class Valtest { public static void main(String[] args) { } WebDriver driver; public void Fir...
package com.gaoshin.onsalelocal.slocal.service.impl; import java.math.BigDecimal; import java.util.List; import javax.annotation.PostConstruct; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.tran...
package productManager.service.purchase; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface PurchaseRepository extends JpaRepository<Purchase,Long> { }
package com.krixon.ecosystem.profiling.web.answer; import lombok.EqualsAndHashCode; import lombok.NonNull; import lombok.Value; import org.springframework.hateoas.ResourceSupport; import org.springframework.hateoas.core.Relation; @Value @EqualsAndHashCode(callSuper = true) @Relation(value = "answer", collectionRelati...
package com.tapan.tbd; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * Servlet implementation class SearchWeb */ public class SearchWeb extends HttpServlet { ...
/* * Population.java * Created on Apr 30, 2018 (10:04:25 AM). */ package main.algotithm; import java.util.ArrayList; import java.util.List; import main.entity.Book; import main.entity.Shelf; import main.shelf.BookIndividual; /** * Represents a set of individuals * @author */ public class Population { priva...
package org.itst.service.impl; import java.util.List; import org.itst.dao.ClubMemberMapper; import org.itst.domain.Club; import org.itst.domain.ClubMember; import org.itst.service.ClubMemberService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service ...
package com.ui.toto.toto.dao; // mapper java类 import org.apache.ibatis.annotations.Mapper; import com.ui.toto.toto.domain.User; @Mapper public interface UserDao { // 该方法在UserMapper.xml中定义 public User selectUserById(Integer userId); }
package com.zer0.possessor; public class CRC64 { private static final long POLY = 0xc96c5795d7870f42L; private static final long[][] LOOKUPTABLE; static { long crc; LOOKUPTABLE = new long[8][256]; for (int n = 0; n < 256; ++n) { crc = n; for (int k = 0; ...