text
stringlengths
10
2.72M
package com.pisen.ott.launcher.movie; public class QiyiCache { }
import processing.core.PApplet; import com.hookedup.processing.ExtraWindow; public class MyExtraWindow extends ExtraWindow { public MyExtraWindow(PApplet theApplet, String theName, int theWidth, int theHeight) { super( theApplet, theName, theWidth, theHeight); // TODO Auto-generated constructor stub } f...
/* * Copyright 2002-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.codingchili.instance.model.stats; import java.util.HashMap; /** * @author Robin Duda */ public class Modifiers extends HashMap<Attribute, Float> { public Modifiers add(Attribute attribute, Float value) { Float current = getOrDefault(attribute, 1.0f); put(attribute, current + value);...
package de.csiebmanns.graphqlexample.fetchers; import de.csiebmanns.graphqlexample.data.Author; import de.csiebmanns.graphqlexample.data.Data; import de.csiebmanns.graphqlexample.data.HasAuthorName; import graphql.schema.DataFetcher; import graphql.schema.DataFetchingEnvironment; public class AuthorFetcher implements...
/* * 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.ok.sudoku.background; import javax.swing.ImageIcon; /** * * @author okan */ public class BackgroundSet implements Comm...
package protocol; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; /** * Reference https://github.com/haochending/Go-Back-N/ */ public class GBNReceiver { private InetAddress hostAddres...
package com.stagged.auth.services; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.client.builder.AwsClientBuilder; import com.amazonaws.services.dynamodbv2.AmazonDynamoDB; import com.amazonaws.service...
import java.util.Scanner; public class PromTicket { private String name = ""; private String gradeClass = ""; private int guestCount = 0; private String type = ""; private String amountDue = ""; private double payment = 0; public PromTicket() { Scanner keyboard = new Scanner(System.in); System...
/* * Copyright Daon. * * 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...
package com.zc.schedule.product.scheduleRule.controller; import java.util.List; import java.util.Map; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import org.apache.log4j.Logger; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; im...
package org.jude.demo.companycatalog.repository; import org.jude.demo.companycatalog.model.Company; import org.springframework.data.repository.CrudRepository; import java.util.List; public interface CompanyRepository extends CrudRepository<Company, Long> { @Override List<Company> findAll(); }
package tech.liujin.drawable.widget; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.support.annotation.ColorInt; import android.support.annotation.ColorRes; import android.support.annotation.DrawableRes; import...
package com.nextLevel.hero.mngPay.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.annotation.AuthenticationPrincipal; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMa...
package com.gedesys.ws; import com.gedesys.ifacade.OpcionesFacadeRemote; import com.gedesys.persistence.Opcion; import javax.ejb.EJB; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; /** * * @author econtreras */ @WebService() public class SecurityWS { @EJB private Opcio...
package de.fraunhofer.iem.StudentService.service; import de.fraunhofer.iem.StudentService.model.Student; import org.springframework.stereotype.Service; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.*; @Service public class StudentService { private final A...
package stormedpanda.simplyjetpacks.items; import net.minecraft.item.IArmorMaterial; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.Rarity; import net.minecraft.util.ResourceLocation; import stormedpanda.simplyjetpacks.SimplyJetpacks; import stormedpanda.simplyjetpacks.c...
package com.redsun.platf.web.controller.system; import com.redsun.platf.dao.base.IPagedDao; import com.redsun.platf.entity.sys.SystemTxn; import com.redsun.platf.service.account.AccountManager; import com.redsun.platf.util.treenode.TreeNode; import com.redsun.platf.util.treenode.TreeNodeBuilder; import com.redsun.plat...
/* * 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 Formularios; /** * * */ public class frminicio extends javax.swing.JFrame { /** * Creates new form */ ...
package fmi; public interface Sound { void play(); }
package com.bwardweb.iterator.model; public class ApplianceShop implements Shop{ private StockItem[] items; public ApplianceShop(StockItem[] items){ this.items = items; } @Override public Iterator createIterator() { return new ApplianceShopIterator(items); } }
package net.kkolyan.elements.game.tmx; import net.kkolyan.elements.engine.core.Locatable; import net.kkolyan.elements.engine.core.definition.sdl.SdlLoader; import net.kkolyan.elements.engine.core.physics.Border; import net.kkolyan.elements.engine.core.templates.Object2d; import net.kkolyan.elements.engine.core.templat...
package com.edasaki.rpg.spells.paladin; import org.bukkit.Location; import org.bukkit.entity.Player; import com.edasaki.core.utils.RParticles; import com.edasaki.core.utils.RScheduler; import com.edasaki.rpg.PlayerDataRPG; import com.edasaki.rpg.spells.Spell; import com.edasaki.rpg.spells.SpellEffect; import de.slik...
package com.itobuz.android.awesomechat.main.database; import com.itobuz.android.awesomechat.user.data_model.User; import rx.Observable; /** * Created by Debasis on 17/12/16. */ public interface CloudMessagingDatabase { Observable<String> readToken(User user); void setToken(User user); void enableTo...
package com.ctg.itrdc.janus.rpc.cluster.router.condition; import com.ctg.itrdc.janus.common.URL; import com.ctg.itrdc.janus.rpc.cluster.Router; import com.ctg.itrdc.janus.rpc.cluster.RouterFactory; /** * ConditionRouterFactory * * @author Administrator */ public class ConditionRouterFactory implements RouterFact...
package com.oa.email.controller; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.directwebremoting.annotations.RemoteMethod; import org.directwebremoting.annotations.RemoteProxy; import org.springframework.bea...
import java.util.Scanner; /** * A simple class to run the Magpie class. * @author Laurie White * @version April 2012 */ public class MagpieRunner { /** * Create a Magpie, give it user input, and print its replies. */ public static void main(String[] args) { Magpie maggie = new Magpie(); ...
/** * Dedicated support for matching HTTP request paths. * * <p>{@link org.springframework.web.util.pattern.PathPatternParser} is used to * parse URI path patterns into * {@link org.springframework.web.util.pattern.PathPattern org.springframework.web.util.pattern.PathPatterns} that can then be * used for matching...
package Provedor_Consumidor; /** * * @author Garcia Garcia Jose Angel */ public class Drop { // Mensaje enviado del productor al consumidor private String message; // True si el consumidor debe esperar para que el productor envie el mensaje // false si el productor deberia esperar para que el c...
package com.jgw.supercodeplatform.trace.constants; public enum DefaultFieldEnum { ORGANIZATION_ID("OrganizationId","组织id","1"), TRACETEMPLATE_ID("TraceTemplateId","溯源模板id","1"), TRACEBATCHINFO_ID("TraceBatchInfoId","批次唯一id","1"), SYSId_ID("SysId","系统id","1"), SORTDATETIME("SortDateTime","排序时间",""), DELETE_STATUS...
/* Copyright 2017 Stratumn SAS. All rights reserved. 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...
package org.notice.beans; import java.io.Serializable; public class UserSkills implements Serializable { private int skillID = 0 , level = 0; private String userId = null; public UserSkills( String userId, int skillID, int level) { this.skillID = skillID; this.level = level; this.userId = u...
package com.leetcode.oj.binarytree; import java.util.ArrayDeque; import java.util.Deque; import java.util.Iterator; public class BinaryTreePreOrderIterator implements Iterator<TreeNode> { private Deque<TreeNode> stack; private TreeNode current; public BinaryTreePreOrderIterator(TreeNode root) {...
package com.wangzhu.other; import org.junit.Test; /** * Created by wang.zhu on 2021-03-10 00:17. **/ public class TestException { private int getResult() throws Exception { int a = 100; try { a = a + 10; throw new RuntimeException(); } catch (Exception e) { ...
package com.lx.method; public class method { /* 1000 以内 每位上面的数字的幂次方 之和 等于他本身的数字有几个 */ // bcd; int a, b, c, d, i = 0; public String shuixianhua() { System.out.println("您要找的水仙花数为:"); for (a = 100; a < 1000; a++) { b = a / 100; c = (a / 10) % 10; d = a % 100 % 10; if (a == b * b * b + ...
package com.github.tobby48.engineering.scene3.builder; /** * <pre> * com.github.tobby48.engineering.scene3.builder * TextBuilder.java * * 설명 :일반 텍스트 파일을 사용하여 문서를 만드는 클래스 * </pre> * * @since : 2017. 10. 3. * @author : tobby48 * @version : v1.0 */ public class TextBuilder extends Builder { p...
package com.example.myapplication; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatDialogFragment; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.ImageView; i...
package com.zantong.mobilecttx.user.dto; /** * Created by zhoujie on 2017/2/22. * 营销代码 */ public class JiaoYiDaiMaDTO { private String filenum; public String getFilenum() { return filenum; } public void setFilenum(String filenum) { this.filenum = filenum; } }
package firstfactor.security.provider; import firstfactor.model.User; import firstfactor.repository.UserRepository; import firstfactor.security.authentication.OTPAuthentication; import firstfactor.security.authentication.UsernamePasswordAuthentication; import firstfactor.security.proxy.OTPAuthenticationServerProxy; im...
package com.xh.save; import java.util.List; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.xh.ifaces.IDB; import com.xh.util.XhLog; /** * @version 创建时间:2017-12-26 下午12:44:56 项目:repair 包名:com.xh.save 文件名:DBImpl.java * ...
package dwz.framework.user; /** * @Author: LCF * @Date: 2020/1/8 17:16 * @Package: dwz.framework.user */ public enum UserStatus { PENDING, ACTIVE, INACTIVE, DELETED }
package com.grostore.dao; import java.util.List; import com.grostore.model.Product; public interface ProductDAO { public List<Product> list(); public Product get(String id); public void saveOrUpdate(Product product); public boolean delete(String id); }
package com.hjc.java_common_tools; import java.util.Arrays; import java.util.List; import org.junit.Assert; import org.junit.Rule; import org.junit.Test; import org.junit.experimental.categories.Categories.ExcludeCategory; import org.junit.rules.ExpectedException; /** * 个人总结的JDK中容易用错的api。 */ public class JdkEasyWr...
/** * Copyright 2014 Google * * 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 writi...
/* * 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 org.giddap.dreamfactory.leetcode.onlinejudge.implementations; import org.giddap.dreamfactory.leetcode.onlinejudge.BestTimeToBuyAndSellStockIII; public class BestTimeToBuyAndSellStockIIIOn2Impl implements BestTimeToBuyAndSellStockIII { @Override public int maxProfit(int[] prices) { // Note: Th...
// // Decompiled by Procyon v0.5.36 // package com.davivienda.sara.tablas.confmodulosaplicacion.servicio; import com.davivienda.sara.base.exception.EntityServicioExcepcion; import javax.persistence.EntityManager; import com.davivienda.sara.entitys.config.ConfModulosAplicacion; import com.davivienda.sara.base.BaseEn...
public class GeneratorAppliance extends Appliance { private int time;// measures how many times timePasses() has been called /** * timeOn here shows how many timePasses() calls it takes for GeneratorAppliance to generate electricity * The electricityUse represents how much electricity it generat...
package com.spring.boot.rocks.controller; import com.spring.boot.rocks.domain.Pet; import com.spring.boot.rocks.repository.PetRepository; import org.springframework.http.MediaType; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.w...
package com.mabang.android.okhttp.loadimg; import android.graphics.Bitmap; import android.os.Environment; import android.util.Log; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; /** * Created by suxq on 2017/4/7. */ public class ImgFileUtils { ...
/* NMS-DRIVERS -- Free NMS packages. * Copyright (C) 2009 Andrew A. Porohin * * NMS-DRIVERS 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, version 2.1 of the License. * * NMS-DRIVERS is distr...
package com.framgia.fsalon.screen.booking; import android.text.TextUtils; import com.framgia.fsalon.R; import com.framgia.fsalon.data.model.BookingOder; import com.framgia.fsalon.data.model.BookingRender; import com.framgia.fsalon.data.model.BookingResponse; import com.framgia.fsalon.data.model.DateBooking; import co...
public class HeadTailPlacement { public INode head; public INode tail; public HeadTailPlacement() { this.head = null; this.tail = null; } public void add(INode newNode) { if (this.tail == null) { this.tail = newNode; } if (this.head ...
package org.security.authentication; import org.data.persistance.model.Users; import org.data.persistance.repository.UserRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authentication.BadCredentialsException; import org.springframework.security.authenticat...
package LojaCadastro.Controller.Dto; import java.util.List; import java.util.stream.Collectors; import LojaCadastro.Modelo.Produto; ////////////// CLASSE DTO/////////// public class ProdutoDto { ////// INFOS///////////////// private Long id; private String descricao; private double precoUnitario; ...
package hello.data.holo; /** * Created by arabbani on 11/19/16. */ public class HoloDto { }
package com.github.jearls.SPRaceTracker.data; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.UUID; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.ManyToMany; import javax.persistence.OneTo...
package com.karya.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; import com.karya.dao.ILe...
public class DungeonGame { public int calculateMinimumHP(int[][] dungeon) { int rows = dungeon.length; int cols = dungeon[0].length; int[][] dp = new int[rows][cols]; dp[rows - 1][cols - 1] = dungeon[rows - 1][cols - 1] > 0 ? 1 : -dungeon[rows - 1][cols - 1] + 1; ...
package entity; import java.io.Serializable; /** * Created by Smirnov-VN on 18.04.2017. * Человек, который едет на лифте */ public class Person implements Serializable, Comparable<Person> { /** * Имя */ private String name; /** * Точка отправления */ private transient Floor de...
package io.snice.buffer; import io.snice.buffer.impl.EmptyBuffer; import org.junit.Test; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import static org.hamcrest.CoreMatchers.is; import static org.hamc...
package cn.kim.controller.manager; import cn.kim.common.annotation.NotEmptyLogin; import cn.kim.common.annotation.SystemControllerLog; import cn.kim.common.eu.UseType; import cn.kim.exception.CustomException; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframew...
package com.softeem.utils; import java.io.Serializable; import java.util.Collection; import java.util.List; public class VOResult implements Serializable { private List result = null; private Object[] rs = null; private int rowNumber = -1; private int totalRow = 0; private int beginPage = 1; private int pag...
package instanceoftest; /** * Created by 罗选通 on 2017/11/13. */ public class B extends A{ }
/* ==================================================================== * * Copyright (c) Atos Origin INFORMATION TECHNOLOGY All rights reserved. * * ==================================================================== * */ package com.aof.webapp.form; import java.io.UnsupportedEncodingException; import javax.se...
package com.test.base; public class Node { private static final int[] ARRAY = {5, 8, 4, 12, 32, -12, -43, 0, 9, 43, -23, 8, -4, 43, 5}; public static Node[] createNodeArray() { Node[] nodeArray = new Node[ARRAY.length]; for (int i = 0; i < nodeArray.length; i++) { n...
package entities; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class CategorieModeEnvoi implements Serializable{ @Id private int IdCategorieModeEnvoi; private ModeEnvoi modeEnvoi; public int getIdCategorieModeEnvoi() { return IdCategorieModeEnvoi; ...
package com.alten.main.rest; import com.alten.main.model.Room; import com.alten.main.service.RoomService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping;...
package com.example.melanieh.traveltabrxflux; import com.hardsoftstudio.rxflux.action.RxError; import com.hardsoftstudio.rxflux.store.RxStoreChange; /** * Created by melanieh on 8/3/17. */ public interface ViewDispatch { void onRxStoreChanged(RxStoreChange change); void onRxError(RxError error); voi...
package com.mindtree.spring.serviceImpl; import java.util.ArrayList; import java.util.List; import org.springframework.stereotype.Service; import com.mindtree.spring.daoImpl.EmployeeDAOImpl; import com.mindtree.spring.entity.Employee; @Service public class EmployeeServiceImpl { public List<String> getemployeedata...
package com.experian.core.nlp.bayesian; import java.util.Set; /** * @author e00898a * */ public class BayesianData { /** * 特征 */ private Set<String> features; /** * 最终分类 */ private String category; public Set<String> getFeatures() { return features; } public void setFeatures(Set<String> features...
/** * */ package net.sf.taverna.t2.component.ui.file; import static java.util.Collections.sort; import static net.sf.taverna.t2.component.ComponentHealthCheck.FAILS_PROFILE; import static net.sf.taverna.t2.component.annotation.SemanticAnnotationUtils.getDisplayName; import java.util.ArrayList; import java.util.Com...
package br.com.gestor.database.util; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java....
package com.zc.pivas.mainMenu.bean; import java.io.Serializable; import java.util.ArrayList; public class MainMenuBean implements Serializable { /** * 注释内容 */ private static final long serialVersionUID = 8253280514484982061L; private String id; private String num1; ...
package com.mhframework.platform.android; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; impo...
package com.eichiba.demo.service; import com.eichiba.demo.entitys.User; import com.eichiba.demo.repository.UserRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @Component public class UserService { @Autowired private UserRepository us...
/* * © Copyright 2016 CERN. This software is distributed under the terms of the Apache License Version 2.0, copied * verbatim in the file “COPYING“. In applying this licence, CERN does not waive the privileges and immunities granted * to it by virtue of its status as an Intergovernmental Organization or submit itsel...
package com.cs240.famillymap.net; import android.app.Person; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.util.ServiceConfigurationError; import request.AuthRequest; import request.LoginRequest; import request.PersonsRequest; import ...
package example; import javax.inject.Inject; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; @Path("/v1/time") public class TimeResource { @Inject private TimeService timeService; @GET @Produces({MediaType.APPLICATION_JSON, MediaType.TEXT_HTM...
package br.com.drem.entity; /** * @author AndreMart * @contacts: andremartins@outlook.com.br;andre.drem@gmail.com * @tel: 63 8412 1921 * @site: drem.com.br */ import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import java...
package hw6.task3; public class MyMatrix { public static void main(String[] args) { Matrix matr1 = new Matrix(3, 5, false); Matrix matr11 = new Matrix(3, 5, false); Matrix matr2 = new Matrix(5, 4, false); System.out.println("Матрица (А):"); matr1.showMatrix(); Syste...
package my.luftbohne.books; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class BooksController { @GetMapping public R...
package shoplistgener.ui; import java.util.List; import javafx.collections.ObservableList; import javafx.geometry.Insets; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.control.ListView; import javafx.scene.control.ScrollPane; import javafx.scene.control.TextField; import j...
/** * Write a description of class PlayACSLLAND here. * * @author Hannah Pang * @version February 1, 2016 */ import java.util.*; public class PlayACSLLAND { public static void main(String[] args) { Scanner console = new Scanner(System.in); // Play 5 games for (int i = ...
/* ### PROGRAMMKOPF ### Lineare Programmierung; Fallauswahl Aufgabe 3 FS23 Marc Freytag Version: 1.1 20121106 addiert, subtrahiert, multipliziert und dividiert zwei Zahlen mit Fallauswahl ### ENDE PROGRAMMKOPF ### */ public class aslp6fallauswahl { // ### HAUPTFU...
package com.ymhd.mifei.user; import android.content.Context; import android.content.SharedPreferences; import com.ymhd.main.MyApplication; import com.ymhd.mifei.annotation.NotNull; /** * Created by Administrator on 2016/2/17. */ public class ShareManager { public final static String FILE_USER = "mifei.com.user...
package com.kkwli.springcloud.service; /** * @Classname IMessageProviderService * @Date 2021/9/27 8:46 * @Created by kkwli */ public interface IMessageProviderService { String send(); }
package leader.game.event; public interface GameEventProducer { public void publishGameEvent(GameEvent event); }
package com.utils; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.util.HashSet; import java.util.Li...
package edu.ucsb.cs56.pconrad.parsing.syntax; public class GreaterThan extends OperatorScaffold { // begin constants public static final GreaterThan GREATERTHAN = new GreaterThan(); // end constants public GreaterThan() { super(">"); } }
package com.fgtit.app; import java.io.File; import java.sql.Timestamp; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase;...
/*********************************************************** * @Description : * @author : 梁山广(Liang Shan Guang) * @date : 2020/5/17 16:25 * @email : liangshanguang2@gmail.com ***********************************************************/ package 第04章_工厂方法模式.第9节_习题.第5题; public class HistogramChart...
package com.tdd.potter; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.List; import java.util.Set; class BookOrganizer { private List<Set<Integer>> booksSet = new ArrayList<Set<Integer>>(); public List<Set<Integer>> addBooks(...
package com.esum.wp.ims.monitorinfo.dao; import java.util.List; import java.util.Map; import com.esum.appframework.dao.IBaseDAO; import com.esum.wp.ims.monitorinfo.MonitorInfo; public interface IMonitorInfoDAO extends IBaseDAO{ public Map saveMonitorInfoExcel(MonitorInfo info); public List selectNodeList(); }
package it.univr.domain.tajs.original; import org.junit.Assert; import org.junit.Test; import it.univr.main.Analyzer; import it.univr.state.AbstractEnvironment; import it.univr.state.Variable; public class TAJSWhileTest { private TAJSAbstractDomain domain = new TAJSAbstractDomain(); @Test public void testWhile0...
package com.pibs.form; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionMapping; import com.pibs.constant.MiscConstant; import com.pibs.model.AdditionalServices; import com...
/** * Clasa Senzor implementeaza interfata Subject */ package observer2; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Random; /** * Implementeaza interfata Subject * @author Ali */ public class Senzor implements Subject { private List<Observer> obs = new Li...
import com.sun.xml.internal.bind.v2.runtime.reflect.Lister; import java.awt.*; import javax.swing.*; import javax.swing.JPanel; import java.awt.BorderLayout; import java.awt.TextField; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ActionListener; public class Impuesto...
package ru.orbot90.guestbook.services; import ru.orbot90.guestbook.model.SignUpRequest; import ru.orbot90.guestbook.model.User; import javax.transaction.Transactional; /** * @author Iurii Plevako orbot90@gmail.com **/ public interface UserService { @Transactional User createUser(SignUpRequest user); }
import java.util.Scanner; public class ATM { public static void main(String[] args) { Scanner input = new Scanner(System.in); String s = input.nextLine(); String[] array = s.split(" "); int withdraw = Integer.parseInt(array[0]); double totalAmount = Double.parseDoubl...