text
stringlengths
10
2.72M
/* * Copyright (C) 2014 The Android Open Source Project * * 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 ...
package GameControls; /** * This thread controls all of the games actions with the exception of drawing the display. * **/ import Objects.*; import Sprites.*; import Utilities.*; public class GameControl implements Runnable { double globalTimer = 0; // Contains the time since the game started (or // res...
package jpa; import java.util.List; import org.semanticweb.owlapi.model.OWLDataFactory; import org.semanticweb.owlapi.model.OWLIndividual; import org.semanticweb.owlapi.model.OWLOntology; import com.github.javaparser.ast.Modifier; import com.github.javaparser.ast.Node; import com.github.javaparser.ast.NodeList; impo...
package com.baytie.baytie.Menu.MyPoints; /** * Created by PRINCE on 11/29/2016. */ import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.wi...
package tersletsky.ru; import java.io.IOException; import javax.servlet.http.*; @SuppressWarnings("serial") public class class1Servlet extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { String var1 = req.getParameter("var1"); String var2 ...
package org.jaxws.wsdl2html.service; import java.util.List; import javax.jws.WebService; import org.jaxws.bytecodes2stub.service.ByteCodePackageLoadingService; import org.jaxws.stub2html.model.WebServiceStubSet; import org.jaxws.stub2html.service.WebServiceStubSetFactory; import org.jaxws.stub2html.view.WebServiceDi...
public class Main { public static void main(String[] args) { int a = 0; int b = 2; int c = 3; long iterations = 100000000l; long start = System.currentTimeMillis(); long end; float exec_time; for (int i = 0; i <= iterations; i++) a += b *...
package com.beike.dao.CodeOperator; import java.util.Map; /** * 发码商品质信息接口 * @author yurenli * */ public interface CodeOperatorConfigureDao { public Map<String,String> findProductNumByGoodsId(Long goodsId,String apiType); }
/* * Copyright 2017 Lantrack Corporation All Rights Reserved. * * The source code contained or described herein and all documents related to * the source code ("Material") are owned by Lantrack Corporation or its suppliers * or licensors. Title to the Material remains with Lantrack Corporation or its * suppliers ...
package com.letscrawl.base.db.redis; import java.util.Date; import java.util.concurrent.TimeUnit; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.BoundValueOperations; import org.springframework.data.redis.core.RedisTemplate; import org.springframework...
package com.soft1841.timer; import javax.swing.*; import java.awt.*; public class DrawCircleFrame extends JFrame { private JTextArea textArea; private JScrollPane scrollPane; public DrawCircleFrame(){ init(); setTitle("绘制随机大小同心圆"); setExtendedState(MAXIMIZED_BOTH); setVisi...
package com.marketplace.service; import com.marketplace.dto.AuthDto; import com.marketplace.repository.AdminRepository; import com.marketplace.security.UserPrinciple; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.userdetails.UserDetails; import org.springframew...
package com.jacksonsmolenko.iwmy.adapters; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import com.jacksonsmolenko.iwmy.ImageMan...
package firstDuck.behavior; /** * description * * @author 金聖聰 * @version v1.0 * @email jinshengcong@163.com */ public interface IQuackBehavior { /** * 叫 * * @return void * @author 金聖聰 * @email jinshengcong@163.com * @version v1.0 * @date 2021/01/13 23:11 */ void qu...
package school.lemon.changerequest.java.banking.impl; public enum OperationType { WITHDRAW, DEPOSIT, ADD_INTEREST, SET_RATE }
import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Scanner; public class ListMenu { Scanner scanner = new Scanner(System.in); NhanVien nv; HanhChinh hc; TiepThi tt; TruongPhong tp; ArrayList<NhanVien> arr = new ArrayList<>(); public void menu() { do { ...
/* * 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 fiuba.algo3.modelo; import java.util.ArrayList ; import fiuba.algo3.modelo.SuperposicionEventoException ; /** * * @author br...
package com.example.push.controller; import com.example.push.mapper.SysUserMapper; import com.example.push.model.SysUser; import com.example.push.model.view.SysUserVo; import com.example.push.util.CheckUtil; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.IncorrectCredentialsException; import org....
/* * Copyright 2002-2017 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...
public class Solution{ //method one public static int multiply1(int x,int y){ int smaller = x>y?y:x; int bigger = smaller==x?y:x; HashMap<Integer,Integer> cache = new HashMap<>(); return divide1(smaller,bigger,cache); } private static int divide1(int x,int y,HashMap<Integer,Integer> cache){ if(x==0){retu...
package com.github.yangxy81118.loghunter.distribute.bean; public class ActionConstraints { public static final int ACTION_REGISTER = 100; public static final int ACTION_LOG_CONFIG_EDIT = 1000; public static final int RESPONSE_OK = 200; }
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class bj10828 { public static int[] stack; public static int size=0; public static void main(String[] args) throws IOException{ BufferedReader br =new...
/** * */ package br.com.lucro.manager.dao; import br.com.lucro.manager.model.FileOperationResumeCielo; /** * @author "Georjuan Taylor" * */ public interface FileOperationResumeCieloDAO extends CRUD<FileOperationResumeCielo> { }
package com.herve.recycleview_demo; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.FrameLayout; import android.widget.ImageView; import com.bumpte...
package kr.co.shop.batch.order.model.master; import kr.co.shop.batch.order.model.master.base.BaseOcOrderZeroBankbookFailureDetails; import lombok.Data; import lombok.extern.slf4j.Slf4j; @Slf4j @Data public class OcOrderZeroBankbookFailureDetails extends BaseOcOrderZeroBankbookFailureDetails { }
import java.util.Scanner; public class M6_1Exception { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int choice = scanner.nextInt(); String[] categories = {"PCs", "Notebooks", "Tablets", "Phones", "Аccessories"}; scanner.close();...
package dev.liambloom.softwareEngineering.chapter4; public class Exercises { public static void main (String[] args) { exercise21(500); } public static double exercise1 (int n) { // There's probably a formula for this, but I don't know it double total = 0; for (double i = 1; i <= n; i++) { ...
package assignment6; /** * @author Jamie Lewis * */ public class Test { /** * @param args */ public static void main(String[] args) { // create Person objects Person person1 = new Person("Jamie", "Lewis"); Person person2 = new Person("Jamie", "Lewis"); Person person3 = new Person(person1); //com...
package org.giddap.dreamfactory.leetcode.onlinejudge; import java.util.List; /** * <a href="http://oj.leetcode.com/problems/4sum/">4Sum</a> * <p/> * Copyright 2013 LeetCode * <p/> * Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all * unique quadrup...
package com.test.hello; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Map; /** * @author bianxh * 程序入口 * 任务核心算法见 Dijkstra 类,本任务的主要思路是先求得任一节点A到其他节点B(也可以是出发节点A)的最小路径集合Set(最小路径指路径中除了起止节点之外,中间不包括重复站点)。 * 用出发点和终止节点、出发点和终止点距离、出发点和终止点的节点数目进行约束,计算出目标结果。 * 计算方法是:由最短路径集合S...
/* * Copyright (C) 2011 The Android Open Source Project * * 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 app...
/** * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or distribute * this software, either in source code form or as a compiled binary, for any * purpose, commercial or non-commercial, and by any means. * * In jurisdictio...
/* * Copyright 2002-2021 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.example.ethereum.DTO; public class ContractCreationDto { private String creator; private String coach; private String coachee; public ContractCreationDto(String creator, String coach, String coachee){ this.creator=creator; this.coach=coach; this.coachee=coachee; ...
import org.junit.*; import static org.junit.Assert.*; import org.fluentlenium.adapter.FluentTest; import org.junit.ClassRule; import org.junit.Test; import org.openqa.selenium.WebDriver; import org.openqa.selenium.htmlunit.HtmlUnitDriver; import static org.assertj.core.api.Assertions.assertThat; import java.util.Arr...
package com.leo_sanchez.columbiatennisladder.Login; import android.content.Context; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.TextView; import android.widg...
package DesignPattern.Decorator; public class Haircut extends Decorator { public Haircut(Modeling model) { super(model); System.out.println("haircut cost 500 USD"); setPrice(500f); // TODO Auto-generated constructor stub } }
/* * Copyright (c) 2017-2020 Peter G. Horvath, 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 req...
package com.sohu.live56.view.main.player; import com.sohu.live56.view.BaseFragment; /** * Created by jingbiaowang on 2015/8/14. * 直播事件。 */ public interface LiveEvent extends BasePlayEvent { public void onPrepareLive(String roomName); public void puaseLive(); void onRegistSuccess(); void onResi...
package demo; import model.Game; import ui.elements.Label; import java.awt.*; public class FrameCounter extends Label { int frame = 1; long last = System.currentTimeMillis(); Game game; public FrameCounter(int x, int y, Game aGame) { super("" + 1, x, y); game = aGame; } @Ov...
package lib.basenet.utils; import android.text.TextUtils; import android.webkit.MimeTypeMap; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; /** * Created by zhaoyu1 on 2017/3/9. */ public final class FileUtils { public static final void saveFile(I...
import java.util.ArrayList; public class ArrayListMethodclearcontains { public static void main(String () args){ /* clear This method will remove all elements in the ArrayList. Methode signature is as follow: void clear() */ List<String> flag = new ArrayList<>(); ...
package com.codigo.smartstore.webapi.controllers; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RestController; import com.codigo.smartstore.webapi.SmartstoreWebapiApplication; @RestController public class RestartController { @PostMapping("/restart") pu...
package online.lahloba.www.lahloba.data.model.vm_helper; import android.graphics.Bitmap; import androidx.databinding.BaseObservable; import androidx.databinding.Bindable; import androidx.lifecycle.MutableLiveData; import online.lahloba.www.lahloba.BR; import online.lahloba.www.lahloba.data.model.ProductItem; public...
package com.example.objectbox.presenter; import android.app.Activity; import android.text.TextUtils; import android.widget.Toast; import com.example.objectbox.bean.Student; import com.example.objectbox.bean.Student_; import com.example.objectbox.bean.Teacher; import com.example.objectbox.bean.Teacher_; import com.exa...
package com.basho.riak.client.api; public class RiakException extends Exception { public RiakException() { super(); } public RiakException(String message) { super(message); } public RiakException(String message, Throwable cause) { super(message, cause); } public RiakException(Throwable cause) { s...
package xhu.wncg; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.support.SpringBootServletInitializer; import org.springframework.stereotype.Con...
package sun.study.java.algorithm; public class HeapSort2 { public static int[] sort(int[] target){ int[] arr = target.clone(); return arr; } private void generateHeap(int[] arr,int p){ if(p>=0){ } } }
/* * Copyright 2013 Basho Technologies Inc * * 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 o...
public class arrayBUb { private long[] a; // create the reference array private int nElem; // create the size of array public arrayBUb(int size) { a = new long[size]; // create the size of array nElem = 0; } public void insert(long value){ ...
package enshud.interlanguage.ilstatement; import java.util.HashSet; import enshud.interlanguage.iloperand.AbstractILOperand; import enshud.interlanguage.iloperand.AbstractILVariableOperand; import enshud.interlanguage.iloperand.ILIndexedVariableOperand; import enshud.interlanguage.iloperand.ILSimpleVariableOperand; ...
package entity; import java.util.Date; public class Weight { private Integer weight_id; private String weight_name; private Integer flag; private Date date; private Date sys_date; public Integer getWeight_id() { return weight_id; } public void setWeight_id(Integer weight_id) { this.weight_id = ...
package com.zarbosoft.luxem.tree; public class Typed { public String name; public Object value; public Typed(final String type, final Object value) { this.name = type; this.value = value; } }
/* * 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.ut.healthelink.security; import java.io.ByteArrayOutputStream; import java.io.ObjectOutput; import java.io.ObjectOutputStr...
package org.hpin.webservice.dao; import java.util.List; import org.apache.commons.lang.StringUtils; import org.hpin.common.core.orm.BaseDao; import org.hpin.webservice.bean.ErpReportdetailPDFContent; import org.springframework.dao.DataAccessException; import org.springframework.jdbc.core.BeanPropertyRowMapper; import...
/** * */ package com.PIM.persistence; import com.PIM.API.Product; /** * @author Henrik Lundin * */ public interface IProductPersistenceService { void CreateProduct(Product product); }
/** * Sencha GXT 3.0.1 - Sencha for GWT * Copyright(c) 2007-2012, Sencha, Inc. * licensing@sencha.com * * http://www.sencha.com/products/gxt/license/ */ package com.sencha.gxt.desktopapp.client.filemanager.images; import com.google.gwt.core.client.GWT; import com.google.gwt.resources.client.ClientBundle; import ...
import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.concurrent.TimeUnit; import org.apache.commons.lang3.time.StopWatch; /** * This class represents the methods used to get the time precision of a * simulation of mm1 queue * * @author Madhuri Gurumurthy * */ public clas...
package com.auro.scholr.core.common; public enum Upipsp { Sbi, imobile, pockets, ezeepay, eazypay, icici, okicici, hdfcbank, payzapp, okhdfcbank, rajgovhdfcbank, andb, axisgo, axis, pingpay, lime, axisbank, okaxis, abfspay, barodampay, ...
/** #number-theory */ import java.util.Scanner; class PalindromicSeries { public static boolean isPalindromicSeries(int n) { char[] digitsArr = String.valueOf(n).toCharArray(); int digits = digitsArr.length; int digitsSum = 0; for (int i = 0; i < digits; i++) { digitsSum += digitsArr[i] - '0'; ...
package webley; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Scanner; //This is the main driver program. public class Webley { public static void main(String[] args) { Map<Integer,Double> priceList = new HashMap<Integer,Double>(); //variab...
package org.itachi.cms.action; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.ws.rs.core.Context; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.MultivaluedMap; import javax.ws.rs.core.UriInfo; import java.util.HashMap; import java.util.Map; /** ...
package be.kdg.fastrada.services; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UsernameNotFoundException; import org.springfra...
package com.yea.core.serializer.pool; import org.apache.commons.pool2.impl.GenericObjectPool; import org.apache.commons.pool2.impl.GenericObjectPoolConfig; import com.yea.core.exception.YeaException; import com.yea.core.serializer.ISerializer; public class SerializePool { private GenericObjectPool<ISerializer> seri...
package cas2xb3_finalprototype; public class AirportVertex implements Comparable<AirportVertex> { public String name; // label for vertex public int uid; // unique identifier for vertex (index) public String airportCode; public AirportVertex(String v, String code, int i) { name = v; uid = i; airportCode ...
package metaapp.view.widget; public interface ListWidget { }
package com.asgab.util; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.transaction.annotation.Transactional; import com.asgab.entity.User; import com.asgab.service.user.UserS...
package com.training.ifaces; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; import com.training.domain.BloodDonor; @WebService public interface DonationRequest { @WebMethod public BloodDonor getRequest(@WebParam(name="bldGroup")String bldGroup); }
package ejercicionotasprom; import java.util.Scanner; public class Ejercicionotasprom { public static void main(String[] args) { // TODO code application logic here Scanner Entrada=new Scanner(System.in); float [] n; float prom,acu=0,apro=0,desa=0,acua=0,acud=0,proma,promd; ...
package swea_d2; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Solution_1979_어디에단어가들어갈수있을까 { public static void main(String[] args) throws Exception { System.setIn(new FileInputStream("input.txt")); BufferedReader ...
package com.nantian.foo.web.auth.entity; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entit...
package app; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.MouseEvent; import javax.swing.JButton; import javax.swing.JPanel; public class Settings extends Window{ JButton backButton; public Settings(WindowManager manager) { super(manager); mainPanel.setBackground(Color.GR...
package com.edasaki.rpg.spells.crusader; import java.util.ArrayList; import org.bukkit.Location; import org.bukkit.entity.Entity; import org.bukkit.entity.Player; import org.bukkit.util.Vector; import com.edasaki.core.utils.RParticles; import com.edasaki.rpg.PlayerDataRPG; import com.edasaki.rpg.spells.Spell; import...
package N2_All_indexes_array_MVC; /** * Created by HP on 19.07.2017. */ public class Model { //internal array of the modal private int array[]; public int[] getArray() { return array; } public void setArray(int[] array) { this.array = array; } /** * this method che...
package com.mario.bean; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import org.apache.olingo.odata2.api.annotation.edm.EdmEntitySet; import org.apache.olingo.odata2.api.annotation.edm.EdmEntityTy...
package org.apache.kazon.mapreduce; public class KazonMapReduceJob { }
package dk.webbies.tscreate.analysis.jsdoc; import com.google.gson.Gson; import com.google.javascript.jscomp.newtypes.Declaration; import com.google.javascript.jscomp.parsing.parser.trees.Comment; import dk.webbies.tscreate.analysis.TypeAnalysis; import dk.webbies.tscreate.analysis.declarations.typeCombiner.TypeReduce...
package com.wsp.ciliwunggame; import android.app.Activity; import android.graphics.Canvas; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.view.View; import android.view.Window; import android.view.WindowManager; import android.view.View.OnClickListener; import android.wi...
package jd.controllers; import jd.Util.AppMappings; import jd.Util.AppUtils; import jd.persistence.model.Aviation; import jd.persistence.model.Price; import jd.persistence.model.Product; import jd.persistence.repository.AviationRepository; import jd.persistence.repository.SvcgroupRepository; import jd.persistence.repo...
package com.nts.android.logs; import java.text.SimpleDateFormat; import java.util.Locale; import com.nts.cash.log.LogsWriter; import android.util.Log; public class LoggerLogAndroid implements LogsWriter { //static private boolean enabled= true; static private boolean enabledT= true; static privat...
/* * Copyright (c) 2016 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.webadmin.tprofile; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.TreeSet; import org...
package com.git.cloud.iaas.openstack.service; import com.alibaba.fastjson.JSONArray; import com.git.cloud.cloudservice.model.po.CloudFlavorPo; import com.git.cloud.iaas.openstack.model.FlavorRestModel; import com.git.cloud.iaas.openstack.model.OpenstackIdentityModel; import com.git.cloud.iaas.openstack.model.VmR...
package com.github.vincedall.wenote; public class ListItems { private String title; private String number; private String date; private long modifiedTime; public ListItems(String title, String number, String date, long modifiedTime) { this.title = title; this.number = number; ...
package com.example.parcial3capas.domain; import org.springframework.validation.annotation.Validated; import javax.persistence.*; import javax.validation.constraints.*; @Entity @Table(schema = "public", name = "materia_estudiante") public class MateriaxEstudiante { @ManyToOne(fetch = FetchType.LAZY) @JoinCo...
package com.codecool.app; import java.util.List; public class Player { protected String name; private Hand hand; private int points = 0; public Player(List<Card> cards){ this.hand = new Hand(cards); } public String getName(){ return name; } public Hand getHand(){ ...
package com.gxtc.huchuan.data; import com.gxtc.commlibrary.data.BaseRepository; import com.gxtc.huchuan.bean.pay.AccountBean; 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.gxtc.h...
package com.kkwli.springcloud.service.impl; import com.kkwli.springcloud.service.PaymentHystrixService; import org.springframework.stereotype.Component; /** * @Author kkwli * @Since 2021/9/25 14:04 */ @Component public class PaymentHystrixServiceImpl implements PaymentHystrixService { @Override public Stri...
/* * Copyright (c) 2013 MercadoLibre -- All rights reserved */ package com.zauberlabs.bigdata.lamdaoa.batch.jobs.playercounter; import java.io.IOException; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Mapper;...
package orm.integ.eao.model; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class TableModels { private static final Map<String, TableModel> models = new HashMap<>(); private static final Map<String, TableModel> tabNameModels = new HashMap<>(); private ...
package com.platform.au.entity; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class Role implements Serializable{ private static final long serialVersionUID = 1L; private String role_id; private String role_code; ...
package com.beike.common.entity.trx; import java.util.Date; import com.beike.common.enums.trx.VoucherStatus; import com.beike.common.enums.trx.VoucherVerifySource; /** * @Title: Voucher.java * @Package com.beike.common.entity.trx * @Description: 凭证实体 * @date May 26, 2011 4:58:40 PM * @author wh.chen...
package pl.manufacturer.object.example.pojo.simple; import pl.manufacturer.object.example.pojo.test.Size; public class SimpleEnumObject { private Size size; public Size getSize() { return size; } public void setSize(Size size) { this.size = size; } }
/* * 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 panel; import Auto.ChangeShow; import java.awt.Color; import java.awt.event.KeyEvent; import java.util.HashMap; import javax.s...
package com.bawei.api; import com.bawei.api.domain.ProductRpcReq; import com.bawei.entity.Product; import com.googlecode.jsonrpc4j.JsonRpcService; import java.util.List; /** * 产品相关的rpc服务 */ @JsonRpcService("rpc/product") public interface ProductRpc { // 复杂查询接口 List<Product> query(ProductRpcReq req); /...
package com.rengu.operationsmanagementsuitev3.Controller; import com.rengu.operationsmanagementsuitev3.Entity.ResultEntity; import com.rengu.operationsmanagementsuitev3.Service.DeploymentDesignDetailService; import com.rengu.operationsmanagementsuitev3.Utils.ResultUtils; import org.springframework.beans.factory.annota...
package com.mwi.aws.dynamodb.model; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class OwnerConfigTest { // private static OwnerConfigTest instance; // // public static OwnerConfig owner = new OwnerConfig(); // public static OwnerConfigTest getInstance(){...
package com.dokyme.alg4.sorting.application; import com.dokyme.alg4.sorting.merge.Merge; import com.dokyme.alg4.sorting.quick.Quick; import edu.princeton.cs.algs4.StdOut; import java.io.File; import java.util.Comparator; /** * Created by intellij IDEA.But customed by hand of Dokyme. * * @author dokym * @date 201...
/* * Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.webui.common.bigtab; import pl.edu.icm.unity.webui.common.Styles; import com.vaadin.event.LayoutEvents.LayoutClickEvent; import com.vaadin.event.LayoutEvents.LayoutC...
/* * @(#) IXmlDsigInfoService.java * Copyright (c) 2007 eSumTech Co., Ltd. All Rights Reserved. */ package com.esum.wp.ims.xmldsiginfo.service; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.esum.appframework.service.IBaseService; /** * * @author sjyim...
package KwonOkyo; class WooDong implements Product { int price=1300; //우동의 현재가격 private double bonusPoint = 0; public int setPrice(int price) {return this.price = price;} public int getPrice() {return this.price;} public double getBonusPoint(){//가격의 10%만큼 보너스포인트 추가 bonusPoint = this.price*0.1; ...