text
stringlengths
10
2.72M
package com.trump.auction.goods.service.impl; import com.cf.common.util.mapping.BeanMapper; import com.trump.auction.goods.dao.MerchantInfoDao; import com.trump.auction.goods.domain.MerchantInfo; import com.trump.auction.goods.model.MerchantInfoModel; import com.trump.auction.goods.service.MerchantInfoService; import ...
/** * */ package uy.edu.um.adt.hash; import uy.edu.um.adt.linkedlist.MyList; public interface MyHash<Key, Value> { /** * Agrega la clave dentro del hash * @param key * @param value */ void put(Key key, Value value); /** * Retorna null si no existe la clave si no el valor asociado * @param key * ...
/*********************************************************************** * Module: PayChanel.java * Author: Exorics * Purpose: Defines the Class PayChanel ***********************************************************************/ package com.lenovohit.ebpp.bill.model; import javax.persistence.CascadeType; import j...
package pro.likada.service.serviceImpl; import org.hibernate.HibernateException; import pro.likada.dao.TelegramButtonMenuDAO; import pro.likada.model.TelegramButtonMenu; import pro.likada.service.TelegramButtonMenuService; import pro.likada.util.TelegramButtonMenuEnum; import javax.inject.Inject; import javax.inject....
package com.cs240.server.java.service.shared; import dao.*; import model.Authtoken; import model.Event; import model.Person; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.sql.Connection; import ja...
package com.proyecto.server.mapper; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import com.proyecto.dom.User; import com.proyecto.dto.UsuarioAplicacionDTO; import com.proyecto.utils.UtilsService; public final class MapperToDTO { public static U...
module state { }
package com.nfschina.aiot.adapter; import java.util.ArrayList; import java.util.List; import com.nfschina.aiot.activity.R; import com.nfschina.aiot.entity.NewsListEntity; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.LinearLayout; import...
public class CountandSay { public String countAndSay(int n) { String s = "1",str = "1"; int num = 0,len ; char c; for(int i=1;i<n;i++){ num = 1; c=s.charAt(0); str = ""; len = s.length(); for(int j=1;j<len;j++){ if(s.charAt(j) == c){ num++...
package com.group.etoko.Database.dao; import androidx.lifecycle.LiveData; import androidx.room.Dao; import androidx.room.Insert; import androidx.room.OnConflictStrategy; import androidx.room.Query; import androidx.room.Transaction; import com.group.etoko.Fragment.CategoryList.Model.CategorySubcategoryAndProduct; impor...
package com.seven.contract.manage.uploader; import org.springframework.context.annotation.Import; import java.lang.annotation.*; @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented @Import({EnableUploaderImportSelector.class}) public @interface EnableUploader { }
package solo; import java.util.Arrays; public final class Storage { private static final int MAX_SIZE = 2<<15; public static final int[][] allMaps = new int[MAX_SIZE][]; public static final int[][] allAppear = new int[MAX_SIZE][]; public static final int[][] allTypes = new int[MAX_SIZE][]; public static...
package com.sinodynamic.hkgta.service.crm.backoffice.membership; import java.io.Serializable; import java.math.BigDecimal; import java.sql.Timestamp; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import j...
package com.lundellnet.toolbox.evince; public class StrandStream { }
package com.yg.schedule; import com.yg.service.EmpManagerService; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; import org.springframework.scheduling.quartz.QuartzJobBean; import javax.annotation.Resource; public class PunchJob extends QuartzJobBean { private boolean isRunning =...
package com.niksoftware.snapseed.controllers.adapters; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import com.niksoftware.snapseed.core.filterparameters.FilterParameter; import com.niksoftware.snapseed.views.ItemSelectorV...
package hwarang.artg.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import hwarang.artg.rrboard.model.ReviewReplyVO; public interface ReviewReplyMapper { public int insertReview_Reply(ReviewReplyVO rr); public int updateReview_Reply(ReviewReplyVO rr); public int deleteReview_Reply(int...
package controller; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JComboBox; import javax.swing.JOptionPane; import model.GameEngineImpl; import view.AppFrame; import view.model.PlayerStates; public class RemovePlayerListener implements ActionListener { private GameEn...
package no.nav.vedtak.felles.jpa.savepoint; import java.sql.Connection; import java.sql.SQLException; import java.util.Objects; import jakarta.persistence.EntityManager; import org.hibernate.Session; import org.hibernate.jdbc.ReturningWork; import org.jboss.weld.interceptor.util.proxy.TargetInstanceProxy; /** * Kj...
package net.edzard.kinetic; import com.google.gwt.uibinder.client.UiConstructor; import com.google.gwt.user.client.ui.Composite; import com.google.gwt.user.client.ui.HTMLPanel; /** * Wrapper for a Kinetic Stage to be easily used as Widget, also within UiBinder. * @author maik * */ public class KineticStage extend...
/* 413m - Arithmetic Slices */ import java.util.*; public class Solution { /* Given a window/range, number of slices can be computed */ public int sum(int i, int j) { int res=0; while(i<=j-2) { res+= j-i-1; i++; } return res; } public int numb...
package Server.api; import java.io.DataInputStream; import java.io.IOException; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.LinkedList; import java.util.Queue; import com.google.gson.Gson; import Server.ClientData; import msg.Envelop; public class Dispatcher extends Thread { ...
package dakrory.a7med.cargomarine.helpers; import com.google.gson.JsonObject; import dakrory.a7med.cargomarine.Models.userData; import dakrory.a7med.cargomarine.Models.userImage; import dakrory.a7med.cargomarine.Models.vehicalsDataAllList; import dakrory.a7med.cargomarine.Models.vehicalsDetails; import dakrory.a7med....
import java.util.Scanner; public class Exercicio1B{ public static void main(String args[]){ Scanner teclado; teclado = new Scanner(System.in); double a, b, c; System.out.println("Digite a valor da Base: "); a = teclado.nextDouble(); System.out.println("Digite a valor ...
package com.sl.web.category.controller; import java.util.Locale; import javax.servlet.http.HttpSession; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import...
/** * Created by robin on 2017/8/6. */ public class Client { public static void main(String[] args) { FrontController frontController = new FrontController(); frontController.dispatchRequest("HOME"); frontController.dispatchRequest("STUDENT"); } }
package com.zc.pivas.statistics.bean.prescription; import java.util.ArrayList; import java.util.List; /** * 按批次和状态进行统计 * * @author jagger * @version 1.0 */ public class Batch2StatusBean { /** * 批次 */ private Integer zxbc; /** * 批次名称 */ private String b...
package com.leetcode; import java.util.Arrays; public class L283_Move_Zeroes { public static void main(String args[]){ int[] input = {1,1,0,3,0,12}; moveZeroes(input); Arrays.stream(input).forEach(System.out::println); } public static void moveZeroes(int[] nums) { for(int ...
package com.example.dialogueapp.Model; import androidx.lifecycle.LiveData; import androidx.lifecycle.ViewModel; import java.util.List; public class TeacherListViewModel extends ViewModel { private LiveData<List<User>> listTeachers = Model.instance.getAllUsers(); public LiveData<List<User>> getListTeachers()...
/* * Welcome to use the TableGo Tools. * * http://vipbooks.iteye.com * http://blog.csdn.net/vipbooks * http://www.cnblogs.com/vipbooks * * Author:bianj * Email:edinsker@163.com * Version:5.8.0 */ package com.lenovohit.hwe.org.model; import java.util.Set; import javax.persistence.CascadeType; import javax...
package ir.shayandaneshvar.blog.api.v1.mappers; import ir.shayandaneshvar.blog.api.v1.model.LoginRequest; import ir.shayandaneshvar.blog.api.v1.model.RegisterRequest; import ir.shayandaneshvar.blog.model.User; import org.mapstruct.Mapper; import org.mapstruct.factory.Mappers; @Mapper public interface UserMapper { ...
package statespace; import java. public class Node { private int id; //identification for the Node Object private String name; //name of the Node Object private Queue<Packet> packetQueue; public Node() { } }
package selenium.basics.webdriver; import java.util.List; import java.util.Set; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import selenium.basics.DriverSetup; public class MultipleWindows { public static void main(String[] args) { WebDriver driver ...
package com.salesfloors.sfdc; import com.force.sdk.connector.ForceConnectorConfig; import com.force.sdk.connector.ForceServiceConnector; import com.sforce.soap.partner.PartnerConnection; import com.sforce.soap.partner.QueryResult; import com.sforce.soap.partner.SaveResult; import com.sforce.soap.partner.UpsertResult; ...
package com.taurus.openbravo.integracionPOS.XML.impl; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import com.taurus.openbravo.integracionPOS.XML.GT_CLS_XMLServiceInterface; import com.taurus.open...
package com.epam.meal.parser.stax; import com.epam.meal.parser.entity.Meal; import com.epam.meal.parser.entity.MenuTagName; import javax.xml.stream.XMLStreamConstants; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; import java.util.ArrayList; import java.util.List; /** * Handl...
/* * Created by Angel Leon (@gubatron), Alden Torres (aldenml) * Copyright (c) 2011-2014, FrostWire(R). All rights reserved. * * 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 versio...
package com.quickhealth.medicare.httpRequestHelpers; import android.os.AsyncTask; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; imp...
package Lithe_Data.Mail; public class MailBox { private Message[] mySendMessage; private Message[] myReceiveMessage; private String[] myContactList; public MailBox(){} public Message get_A_SendMessage(int messageID) { for (int i = 0; i < mySendMessage.length; i++) { if (my...
package io.ceph.rgw.client.model.admin; import software.amazon.awssdk.core.SdkField; import software.amazon.awssdk.core.SdkPojo; import software.amazon.awssdk.core.protocol.MarshallLocation; import software.amazon.awssdk.core.protocol.MarshallingType; import software.amazon.awssdk.core.traits.ListTrait; import softwar...
package Entry; public class Validity { public boolean valid; public String reason; public Validity(boolean valid, String reason) { this.valid = valid; this.reason = reason; } }
package org.lsmr.usecases; import java.awt.image.BufferedImage; import java.io.IOException; import java.util.ArrayList; import java.util.Scanner; import org.lsmr.selfcheckout.Card; import org.lsmr.selfcheckout.Card.CardData; import org.lsmr.selfcheckout.devices.AbstractDevice; import org.lsmr.selfcheckout.devices.Car...
/* * 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.pmm.sdgc.model; import com.pmm.sdgc.converter.LocalDateConverter; import com.pmm.sdgc.converter.LocalDateConverter1; impor...
package com.citibank.newcpb.action; import java.util.Iterator; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.lang.StringUtils; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache...
package com.qifen.toyvpn; import android.app.Dialog; import android.app.ActionBar; import android.app.ProgressDialog; import android.content.BroadcastReceiver; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import androi...
package com.example.mohammedmansour.newsapp.API; import com.example.mohammedmansour.newsapp.API.Responses.Everything.EverythingResponse; import com.example.mohammedmansour.newsapp.API.Responses.Source.SourceResponse; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Query; public interface AP...
package ru.gurps.generator.desktop.controller.tables; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import javafx.beans.property.SimpleBooleanProperty; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXML;...
import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowEvent; import javax.swing.JOptionPane; public class ReiniciaJogo implements ActionListener{ Tabuleiro tabuleiro; public ReiniciaJogo(Tabuleiro a){ tabuleiro = a; } public void actionPerformed(ActionEv...
package cn.edu.cqut.entity; import com.baomidou.mybatisplus.extension.activerecord.Model; import com.baomidou.mybatisplus.annotation.TableId; import java.time.LocalDate; import java.time.LocalDateTime; import org.springframework.format.annotation.DateTimeFormat; import com.baomidou.mybatisplus.annotation.TableField...
package com.ipincloud.iotbj.api.utils.hik; import java.util.HashMap; public class PageRequest extends HashMap { public int pageNo; public int pageSize; public PageRequest(int pageNo, int pageSize) { if (pageNo <= 0 || pageSize <= 0 || pageSize > 1000) throw new IllegalArgume...
/* * 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 rs.ac.bg.fon.ps.view.forms; import java.awt.event.ActionListener; import java.awt.event.MouseListener; /** * * @author Mr O...
package edu.upenn.cis455.Indexer.EMRIndexer; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import com.amazonaws.regions.Regions; import com.amazonaws.services.s3.AmazonS3; import com.amazonaws.services.s3.AmazonS3ClientBuilder; import com.amazonaws.services.s3.model.S3Ob...
package cz.muni.fi.pa165.monsterslayers.dto.jobs; import javax.validation.constraints.Max; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; /** * DTO for evaluating a Job. * * @author David Kizivat */ public class EvaluateJobDTO { private Long jobId; @NotNull @Min...
package com.example.demo.repository; import java.util.List; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import com.example.demo.entity.Customer; @Mapper public interface CustomerRepository { Customer selectById...
package com.example.ecoleenligne; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.os.StrictMode; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.ListView; import...
package com.cy.service.base; import java.io.Serializable; import java.util.LinkedHashMap; import java.util.Map; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import org.springframework.transaction.annot...
package com.rachelgrau.rachel.health4theworldstroke.Activities; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.graphics.Typeface; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; impo...
package com.gtambit.gt.app.mission; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.graphics.Bitmap; import android.net.http.SslError; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.webkit.SslErr...
package com.wrw.proxy.demo01; /* * Q:怎么知道方法运行了多长时间 * A3:聚合(区分好 组合 和 聚合) * !!!!!!聚合比继承更灵活!!!!!! */ public class Tank3 implements moveable{ /* public Tank3(Tank t) { super(); this.t = t; } */ public Tank3(moveable t) { super(); this.t = t; } //换成下面变成多个代理 // Tank t; moveable t; public void mov...
package autoit; import java.io.IOException; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import io.github.bonigarcia.wdm.WebDriverManager; public class FileUpload { public static void main(...
import java.util.Scanner; public class Vehicle { private String modelNumber; private String engineType; private int enginePower; private float tyreSize; private static int ID = 101; private String vehicleId; public static int visitor = 30; String vehicleTypes; /* constructor: vehi...
package com.worldchip.bbp.bbpawmanager.cn.utils; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; impo...
package Parte04.P4PG47; import java.util.ArrayList; import java.util.Date; import java.util.Random; public class BatalhaNaval { public static Random r = new Random(new Date().getTime()); public static void main(String[] args) { ArrayList paraguay = new ArrayList(); ArrayList brasil = new Arr...
package de.netempire.leftright; import de.netempire.leftright.classes.Fork; import de.netempire.leftright.classes.PhilosopherLeftly; import de.netempire.leftright.classes.PhilosopherRightly; import de.netempire.leftright.logger.ResultLogger; import java.util.Calendar; import java.util.Date; import java.util.concurren...
package exemplos.aula03; import exercicios.aula03.Motor2; public class Carro2 { private int cor; private int numeroDePortas = 4; private int quantidadePassageiros = 5; private String marca; private String modelo; private double quantidadeDeCombustivel = 10.5; private boolean farolLigado; private Motor2 motor...
package com.example.demo.juc; /** * @ClassName ThreadLocalTest * @Description: TODO * @Author Administrator * @Date 2020/5/15 09 58 * @Version V1.0 **/ public class ThreadLocalTest { //本地线程作用是控制变量在同一个线程内部可以识别,线程结束后会自动销毁 private static final ThreadLocal<String> threadLocal = new ThreadLocal<String>() { ...
package cn.shizihuihui.ssweddingserver.mapper; import cn.shizihuihui.ssweddingserver.entity.User; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** * <p> * 小程序用户表 Mapper 接口 * </p> * * @author song * @since 2019-10-24 */ public interface UserMapper extends BaseMapper<User> { }
package com.baytie.baytie.Menu; import android.app.Activity; import android.os.Bundle; import android.provider.Telephony; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.EditText; import andro...
/** * Copyright 2010 Västra Götalandsregionen * * This library is free software; you can redistribute it and/or modify * it under the terms of version 2.1 of the GNU Lesser General Public * License as published by the Free Software Foundation. * * This library is distributed in the hope that it will be u...
package com.kevin.cloud.provider.mapper; import com.kevin.cloud.provider.domain.UmsAdminLoginLog; import tk.mybatis.mapper.MyMapper; public interface UmsAdminLoginLogMapper extends MyMapper<UmsAdminLoginLog> { }
package arranger.algo; public class Statistics { // Static values for computing averages int m_instances_number; int m_summed_breakpoints_number; int m_summed_cycles_number; int m_summed_hurdles_number; int m_summed_super_hurdles_number; int m_summed_fortress; int m_summed_reversal_distance; int ...
package bean.users; 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.JoinColumn; import javax.persistence.ManyToOne; import javax.persis...
package com.gaoshin.fbobuilder.client.editor; public class Zindex { public static final int TOP = 999999; }
package seedu.address.logic.parser.order; import static org.junit.Assert.assertTrue; import java.util.Arrays; import java.util.Collections; import java.util.Date; import java.util.List; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import seedu.address.logic.parser.excepti...
package com.worldchip.bbp.bbpawmanager.cn.view; import android.app.ActionBar.LayoutParams; import android.app.Dialog; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import a...
package com.bjsxt.springbootexcepionandjunit.exception; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.handler.SimpleMappingExceptionResolver; import java.util.Properties; /** * 全局异常 * SimpleMappingExceptionRes...
package com.citibank.ods.modules.client.contactcust.functionality.valueobject; import com.citibank.ods.entity.pl.TplContactCustEntity; /** * @author Hamilton Matos * */ public class ContactCustDetailFncVO extends BaseContactCustDetailFncVO { public ContactCustDetailFncVO() { m_tplContactCus...
package com.yc.education.model; import java.util.Date; import javax.persistence.*; /** *@Description TODO 角色表 *@Author QuZhangJing *@Date 9:52 2019/2/28 *@Version 1.0 */ public class Roles { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; /** * 角色名称 */ priv...
package com.codigo.smartstore.database.domain; import java.util.EnumSet; interface Dimension { double getWidth(); double getHeight(); } public enum PapeSizeSeries { SerieA(null), SerieB(null), SerieC(null), A0(SerieA, 841d, 1189d), A1(SerieA, 594d, 841d), A2(SerieA, 420d, 594d), A3(SerieA, 297d, 420d), ...
package com.thoughtworks.calculator; public class Interpreter { public Operation parseToGetOperation(String command) { String[] splitCommand = command.split(" "); if (splitCommand.length == 2) { boolean isValid = checkIfArgumentPassedIsInt(splitCommand[1]); switch (splitCo...
package Problem_2668; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { static int[] arr; static boolean[] isvisited; static boolean[] cycle; static int cnt; public static boolean DFS(int startNum, int nextNum) { if(isvisited[nextNum...
//package com.krixon.ecosystem.profiling.config; // //import org.springframework.beans.factory.annotation.Autowired; //import org.springframework.context.annotation.Configuration; //import org.springframework.data.rest.core.config.RepositoryRestConfiguration; //import org.springframework.data.rest.webmvc.config.Reposit...
package com.company; import ru.ifmo.se.pokemon.*; public class Numel extends Pokemon { public Numel() { this("Numel",1); } public Numel(String name,int level){ super(name,level); this.setType(Type.FIRE,Type.GROUND); this.setStats(60,60,40,65,45,35); ...
package com.pwq.jdbc; /** * @Author:WenqiangPu * @Description * @Date:Created in 19:40 2017/8/11 * @Modified By: */ public class t { public static void main(String[] args) { MyDataSource myDataSourc = new MyDataSource(); } }
import java.io.File; import java.io.FileReader; import java.io.IOException; class Test { void main(File f) throws IOException { FileReader fileReader = new FileReader(f); fileReader.close(); f.delete(); } void main2(File f1, File f2) throws IOException { FileReader fileRead...
package com.target.interview.poc.commentmoderator.resource; import com.target.interview.poc.commentmoderator.data.Comment; import com.target.interview.poc.commentmoderator.data.CommentValidationResponse; import com.target.interview.poc.commentmoderator.repo.NoiseRespository; import org.slf4j.Logger; import org.slf4j.L...
package pattern.command; public class PlayCommand implements Command{ private Player player; private String file; public PlayCommand(Player player, String file) { super(); this.player = player; this.file = file; } public Player getPlayer() { return player; } public void setPlayer(Player player) { ...
package com.ssi.cinema.model; public class RepertoireItem { private Long roomId; private Long movieId; private String date; private String time; public Long getRoomId() { return roomId; } public void setRoomId(Long roomId) { this.roomId = roomId; } public Long getMovieId() { return movieId...
package file; import java.io.File; import java.util.regex.Pattern; import javax.swing.filechooser.FileFilter; public class RegexFileFilter extends FileFilter { private Pattern pattern; private String description; public RegexFileFilter (final String regex, final String description) { ...
package com.haku.light.graphics.gl.texture; import com.haku.light.graphics.gl.GL20; public enum GLTextureWrap { CLAMP(GL20.GL_CLAMP_TO_EDGE), REPEAT(GL20.GL_REPEAT); public final int flag; private GLTextureWrap(int flag) { this.flag = flag; } }
package dayTwo; //import static dayTwo.generatedPeople.people; /** * Created by student on 8/23/2016. */ public class MainProgramme { public static void main(String[] args) throws Exception { //generatedPeople.addPeople(); TaskProcessing.prepareDb(); new WelcomeWindow(); } }
package be.openclinic.api; import java.io.IOException; import java.io.StringWriter; import java.io.UnsupportedEncodingException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Hashtable; import java.util.Iterator; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServ...
package screens; import java.util.ArrayList; import java.util.List; import gui.components.AnimatedComponent; import gui.components.Graphic; import gui.interfaces.Visible; import gui.userInterfaces.FullFunctionScreen; public class LevelScreenG extends FullFunctionScreen{ /** * */ private static...
/** * "Visual Paradigm: DO NOT MODIFY THIS FILE!" * * This is an automatic generated file. It will be regenerated every time * you generate persistence class. * * Modifying its content may cause the program not work, or your work may lost. */ /** * Licensee: Juan José(University of Almeria) * License Type:...
package itchihuahua.mitec.com.mitec; import android.content.pm.ActivityInfo; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class Bandeja extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { setRequestedOrientation(ActivityInfo....
package nz.ac.aut.prog2.minesweeper.model; import org.junit.After; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; /** * Test framework for the Occupant class. * * @author Anne Philpott and Stefan Marks * @version v1.0 - 2012.06: Created */ public class OccupantTest ...
package com.laoxu.idjiami.util; import java.lang.reflect.Field; import java.util.List; import java.util.stream.Collectors; import org.apache.commons.collections4.CollectionUtils; import com.github.pagehelper.PageInfo; import com.google.common.collect.Lists; import com.laoxu.idjiami.annotation.IdEncryption; import o...
///* // * To change this template, choose Tools | Templates // * and open the template in the editor. // */ //package asa.client; // //import java.awt.Component; //import java.awt.Frame; //import java.awt.Label; //import java.awt.event.WindowAdapter; //import java.awt.event.WindowEvent; //import java.util.Vector; //imp...
package com.huotn.bootjsp.bootjsp.controller; import com.huotn.bootjsp.bootjsp.pojo.Land; import com.huotn.bootjsp.bootjsp.service.LandService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping...
public class Mutants extends SuperHero { public Mutants(String name, int enemies) { super(name, enemies); } }