text
stringlengths
10
2.72M
package org.point85.domain.email; import org.point85.domain.messaging.ApplicationMessage; /** * Listener for events received via email * */ public interface EmailMessageListener { /** * Perform processing of a received {@link ApplicationMessage} * * @param message ApplicationMessage */ void onEmailMessa...
package edu.school.masivi; import java.util.Scanner; public class Zadacha3 { public static void main(String[] args) { // TODO Auto-generated method stub Scanner k = new Scanner(System.in); int n = k.nextInt(); int [] arr = new int[n]; for(int i=0; i<arr.length; i++) { arr[i] = k.nextInt(); ...
package com.cts.bta.model; public enum TransactionType { INCOME,EXPENSE }
package resource; public class Feedback { }
public class AsynchRequest { //private static final int ARRAY_SIZE = 2100000000; private static final int ARRAY_SIZE = 1300000000; //private static final int ARRAY_SIZE = 1000000; //private static final int ARRAY_SIZE = 700000; private static final int NUMBER_OF_SERVERS = 4; public static void main(String[] ...
package DataSets; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import javax.persistence.*; @Entity @Table(name = "Answers") public class AnswersDataSet { @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(name = "id", nullable = false...
package tema02; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.IOException; import javax.swing.filechooser.FileNameExtensionFilter; public class GestiuneInterface extends JFrame{ private String pathProd; pri...
package corpse.ui; import java.awt.Insets; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.HashMap; import java.util.Map; import javax.swing.ButtonGroup; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JCheckBo...
package business.model; public class VacationDirector { protected VacationBuilder vacBuilder; public VacationDirector(VacationBuilder vacBuilder) { this.vacBuilder = vacBuilder; } public void buildKindVacation() { vacBuilder.buildKindVacation(); ...
package ankang.springcloud.dashboard; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard; /** * @author: ankang * @email: dreedisgood@qq.com * @create: 2021-01-06 ...
package work; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; public class StreamMain { public static void main(String[] args) { // creat a list and filter even all even numbers from list List<Integer> list1 = new ArrayList<>(); lis...
package DP; /* Leetcode 263: Ugly Number Write a program to check whether a given number is an ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. Example 1: Input: 6 Output: true Explanation: 6 = 2 × 3 Example 2: Input: 8 Output: true Explanation: 8 = 2 × 2 × 2 Example 3: Inp...
package uk.co.hexeption.thx.utils; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.VertexBuffer; import net.minecraft.client.renderer.vertex.DefaultVertexFormats; import org.lwjgl.opengl.GL11; public class GLUtils { publi...
package Problem_9084; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new Buff...
package com.gxtc.huchuan.ui.deal.leftMenu; import com.gxtc.commlibrary.utils.ErrorCodeUtil; import com.gxtc.commlibrary.utils.LogUtil; import com.gxtc.huchuan.bean.WxResponse; import com.gxtc.huchuan.data.WxRepository; import com.gxtc.huchuan.data.WxSource; import com.gxtc.huchuan.http.ApiCallBack; import com.gxtc.huc...
package uno.iut.fr.uno; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothManager; import android.bluetooth.BluetoothProfile; import android.bluetooth.BluetoothSocket; import android.content.BroadcastReceiver; import android.content.Context; import a...
package com.example.qiyue.mvp_dragger.module; import com.example.qiyue.mvp_dragger.iview.IView; import com.example.qiyue.mvp_dragger.presenter.UserPresenter; import dagger.Module; import dagger.Provides; /** * Created by qiyue on 2016/11/14 0014. * * 用来提供依赖的,Presenter 创建时在这里完成的,但Presenter 参数变化我们只需要修改这个类即可 * * 这...
package com.hcl.neo.eloader.model; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; @Document(collection = "transport_server_master") public class TransportServerMaster { @Id public String id; public Long serverId; public String protocol; public St...
package deloitte.forecastsystem_bih.controller; import org.joda.time.DateTime; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PostMapping; import org.springf...
package unnamedEntity; import fileOperations.FileOperations; import ioOperations.ConsoleDevice; public class ApplicationStarter { public static void start() { String dataDirectory = null; boolean verification, proceed = false; ConsoleDevice con = new ConsoleDevice(); while(!proceed) { con.prin...
package com.easemob.model; import lombok.Data; @Data public class Token { private String str; private String type; public Token() {} public Token(String str, String type) { this.str = str; this.type = type; } }
package com.zc.base.common.util.execl; public class GeneralExcelCell { private String beanField; private boolean parse = true; private boolean select = false; private String[] selectValues; private GeneralExcelValueHandler valueHandler; private int startRow; ...
package com.neu.spring; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bi...
package com.beans; // Generated Nov 4, 2012 12:07:46 AM by Hibernate Tools 3.2.1.GA /** * TblAdmin generated by hbm2java */ public class TblAdmin implements java.io.Serializable { private int aid; private TblQuestion tblQuestion; private TblRole tblRole; private String auserName; privat...
package br.com.huegroup.salao.json; public class Views { public static class AssociationInfo { } public static class View implements Permission { public static boolean getSuccess() { return true; } @Override public boolean isTokenRequired() ...
package com.metoo.modul.app.game.tree.dto; /** * <p> * Title: GameMeterialReward.java * </p> * * <p> * Description: 免费领取参数 * </p> * * <author> * HKK * </author> * */ public class GameMeterialRewardDto { private String token;// 用户登录Token(后期优化) private Long gameAward_id;// 奖品ID...
/** * https://icpcarchive.ecs.baylor.edu/index.php?option=onlinejudge&page=show_problem&problem=3803 * #trie #todo */ public class DiccionarioPortunol { static final int MAX = 'z' - 'a' + 1; static class TrieNode { TrieNode[] children; int countWord; TrieNode() { children = new TrieNode[MAX];...
package com.staniul.util.collections; import java.util.*; import java.util.stream.Collectors; /** * Utility class for {@code Set} actions. */ public class SetUtil { /** * Produces {@code HashSet} that is intersection of 2 sets. The order does not matter. * * @param a First set. * @param b ...
package com.uniinfo.common.util; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import java.util.UUID; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Object-基础工具类 * @author hongzhou.yi */ public class ObjUtil { ...
package com.jwebsite.daoimpl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import com.jwebsite.dao.SiteClassDao; import com.jwebsite.db.DbConn; import com.jwebsite.pub.DAOFactory; import com.jwebsite.pub.HashMapOperate; import com.jwebsite.pub.ObjectType; import com.jwebsite.vo.Admin; ...
package org.example.codingtest.a_real_test; import java.util.HashMap; import java.util.Iterator; import java.util.Map; public class DemoTest { private static final DemoTest o = new DemoTest(); public static void main(String[] args) { int[][] v = {{1,4},{3,4},{3,10}}; int[] solution = o.solutio...
package com.wzh.crocodile.ex03_connector; import com.wzh.crocodile.ex03_connector.connector.HttpConnector; /** * @Description: 启动类 * @Author: 吴智慧 * @Date: 2019/11/9 10:01 */ public final class Bootstrap { public static void main(String[] args) { // 创建连接器 HttpConnector connnector = new HttpCon...
package com.example.hyunyoungpark.gridlistviewtest; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.GridView; import android.widget.ImageView; public class ImageAdapter extends BaseAdapter{ private Context c; /...
package lithe.lithe; import android.app.Activity; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.AutoCompleteTextView; import android.widget.Button; import android.widget.EditT...
/* * Copyright (c) 2008-2019, Hazelcast, Inc. 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 ...
import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.sql.*; public class DeleteOrder extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { response.setContentType("text/html"); PrintWriter out ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.davivienda.sara.entitys; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persisten...
/******************************************************************************* * Copyright 2014 See AUTHORS file. * <p> * 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 * <p> * http://w...
/* * 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 com.practicejava2; abstract class Coffee { void waitCoffee() { System.out.println("Please, wait a minute for coffee"); } public void makeLatte() { } public void makeAmericano() { } public void makeTea() { } }
package com.courses.dao; import com.courses.exc.DaoException; import com.courses.model.Course; import org.sql2o.Query; import java.util.List; public interface CourseDao { void add(Course course) throws DaoException; List<Course> findALl(); Course findById(int id); }
/* * 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 buscadordenumeros; import java.util.ArrayList; import java.util.Scanner; import java.util.Timer; /** * * @author user */ p...
package io.ceph.rgw.client.model.notification; import io.ceph.rgw.client.model.Response; /** * A response of an <a href="https://docs.ceph.com/docs/master/radosgw/pubsub-module/">subscribe operation</a>. * * @author zhuangshuo * Created by zhuangshuo on 2020/8/24. * @see SubscribeRequest * @see io.ceph.rgw.clie...
package main; import entity.Hotel; import java.util.Scanner; import controller.Program; /** * * @author Peter */ public class Main { Scanner scan = new Scanner(System.in); public static void main(String[] args) { Program p = new Program(); p.welcome(); ...
package paketmalimslovima; import java.util.Scanner; public class Zadatak_1_15082019 { // Napisati program - meni - za izracunavanje i ispis povrsina // geometrijskih tela (kocke, kvadra, valjka, lopte). Koristiti // do while petlju i switch grananje. Za izlaz koristiti nulu (0). public static void m...
package cn.test.equals; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.extern.slf4j.Slf4j; /** * Created by xiaoni on 2019/3/25. */ @Data @Slf4j @AllArgsConstructor @NoArgsConstructor public class User2 { String name; String sex; String idCard; }
package pp; import hlp.MyHttpClient; import pp.model.AModel; import pp.model.xml.CGlad; import pp.service.GlRuService; import pp.service.GlRuServiceImpl; import java.io.BufferedReader; import java.io.InputStreamReader; public class GetHostelGlads { public static void main(String[] args) { MyHttpClient cl...
package pop3.command; import pop3.Mailbox; import pop3.Server; import pop3.SessionState; import static pop3.command.POP3Command.STAT; public class STATCommandExecutor implements CommandExecutor { @Override public ServerResponse execute(Session session, Server server) { CommandValidatorUtils.validateState(STAT.g...
package org.maple.mr1; import org.apache.hadoop.hbase.Cell; import org.apache.hadoop.hbase.CellUtil; import org.apache.hadoop.hbase.client.Put; import org.apache.hadoop.hbase.client.Result; import org.apache.hadoop.hbase.io.ImmutableBytesWritable; import org.apache.hadoop.hbase.mapreduce.TableMapper; import org.apache...
package com.harshitJaiswal.Patterns; import java.util.Scanner; public class Pattern12 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int lines = n; int nst = 1; int nsp = n-1; for (int i = 0; i < l...
package slimeknights.tconstruct.world.entity; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.monster.EntitySlime; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.ResourceLocation; import net.minecraft.util.math.MathHelper; import net.minecraft.wo...
package algorithms.chap1; public class test { public static void main(String[] args) { // ResizableArrayStack<String> stack = new ResizableArrayStack<String>(); LinkedListStack<String> stack = new LinkedListStack<>(); stack.push("Kaka"); stack.pop(); // stack.pop(); // stack.pop(); stack.push("Kaka1"); ...
package org.celllife.stock.domain.alert; import java.util.List; import javax.persistence.QueryHint; import org.celllife.stock.domain.drug.Drug; import org.celllife.stock.domain.user.User; import org.celllife.stock.framework.logging.LogLevel; import org.celllife.stock.framework.logging.Loggable; import org.springfram...
package nettydemo.provider; import nettydemo.publicInterface.HelloService; public class HelloServiceImpl implements HelloService { @Override public String hello(String msg) { return msg != null ? msg + "------------------>>>>> get Message" : " get Message"; } }
package com.binarysprite.evemat.page.character; import java.util.ArrayList; import java.util.List; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.list.ListItem; import org.apache.wicket.markup.html.list.ListView; import org.apache.wicket.model.IModel; import org.apache.wicket.m...
package cn.novelweb.tool.upload.fastdfs.client; import cn.novelweb.tool.upload.fastdfs.model.GroupState; import cn.novelweb.tool.upload.fastdfs.model.StorageNode; import cn.novelweb.tool.upload.fastdfs.model.StorageNodeInfo; import cn.novelweb.tool.upload.fastdfs.model.StorageState; import java.util.List; /** * <p>...
package com.oracle.handler; import com.oracle.vo.Item; import com.oracle.vo.Order; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cloud.client.ServiceInstance; import org.springframework.cloud.client.discovery.DiscoveryClient; import org.springframework.web.bind.annotation.G...
package com.example.elasticsearch.demo.document; import lombok.Data; @Data public class ProfileDocument { private String id; private String name; }
package com.jeeconf.kafka.embedded; import com.netflix.config.ConfigurationManager; import org.apache.camel.CamelContext; import org.apache.camel.spring.boot.CamelAutoConfiguration; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeansException; import org.springframework.bean...
/** * Description: Unicodes characters * @Author Elena Villalon * email:evillalon@iq.harvard.edu * */ package edu.harvard.iq.vdcnet; public enum Ucnt { dot('\u002E'), //decimal separator "." plus('\u002b'),//"+" sign min('\u002d'),//"-" e('\u0065'), //"e" percntg('\u0025'),//"%" pndsgn('\u0023'), //"#...
/* $Id$ */ package djudge.judge.executor; import java.io.File; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Vector; import org.apache.log4j.Logger; i...
package com.example.myapplication; import androidx.appcompat.app.AppCompatActivity; import androidx.fragment.app.DialogFragment; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.FrameLayout; import com.example.myapplication.adduser.addUserFragment; import com.ex...
package com.example.Haegertime_diego_spring.services; import com.example.Haegertime_diego_spring.exceptions.UserAlreadyExistsException; import com.example.Haegertime_diego_spring.exceptions.UserNotFoundException; import com.example.Haegertime_diego_spring.model.Employee; import com.example.Haegertime_diego_spring.repo...
package is.ru.aaad.RemindMe; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransaction; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import and...
package com.example.borno; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.media.MediaPlayer; import android.os.Bundle; import android.provider.MediaStore; import android.view.View; import android.widget.Button; public class Alphabets extends AppCompatActivity { Button ...
package boisson; public class Deca extends Boisson { public Deca() { description="Deca"; } @Override public double cout() { return 9; } }
package com.example.vehicleapp; import android.content.DialogInterface; import android.content.Intent; import android.os.AsyncTask; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import androi...
package com.ledungcobra.entites; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import javax.persistence.*; @Entity @Table(name = "EDUCATION_TYPE") @Getter @Setter @NoArgsConstructor @EqualsAndHashCode(onlyExplicitlyIncluded = true, callSuper = false) pu...
/** * Package for junior.pack2.p5.ch7 control. * * @author Gureyev Ilya (mailto:ill-jah@yandex.ru) * @version 1 * @since 2017-06-27 */ package ru.job4j.control;
package kredivation.mrchai.adapter; import android.app.Activity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; import kredivation.mrchai.R; public class CustomListAdapt...
package coffee.command.payment; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.json.simple.JSONArray; import coffee.bean.ProductDataBean; import coffee.commad.inter.CommandProcess; public class GetChartList implements CommandProcess { @Override public Stri...
package com.pidgin4android.libraries; public class ndkLib { static { System.loadLibrary("ndkLib"); } public native String invokeNativeFunction(); }
package com.wxt.designpattern.abstractfactory.nodp; /** * @Auther: weixiaotao * @ClassName Client * @Date: 2018/10/22 20:54 * @Description: */ public class Client { public static void main(String[] args) { //创建装机工程师对象 ComputerEngineer engineer = new ComputerEngineer(); //告诉装机工程师自己选择的配件,让装机工程师组装电脑 enginee...
package com.pda.pda_android.activity.apps; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.google.gson.Gson; import com.pd...
package com.arthur.leetcode; import java.util.ArrayList; import java.util.Arrays; /** * @program: leetcode * @description: 扑克牌中的顺子 * @title: JZoffer61 * @Author hengmingji * @Date: 2022/1/1 18:32 * @Version 1.0 */ public class JZoffer61 { public boolean isStraight(int[] nums) { Arrays.sort(nums); ...
package com.example.android.inventory; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; public class InventoryDbHelper extends SQLiteOpenHelper { private static final String LOG_TAG = "InventoryDbHelper"; p...
package projekt33.kamkk.exception.base; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Getter; @JsonIgnoreProperties({ "suppressed", "stackTrace", "cause" }) public class BaseException extends RuntimeException { @Getter private String errorCode; public BaseException(String errorCod...
package nl.jasperNiels.twitter; import nl.jasperNiels.twitter.model.TwitterModel; import android.app.Application; /** Application class to make sure there is one instance of the model. */ public class TwitterApplication extends Application { private TwitterModel model = new TwitterModel(); public TwitterModel g...
/* * Created on Mar 2, 2007 * */ package com.citibank.ods.persistence.pl.dao.rdb.oracle; import com.citibank.ods.persistence.util.CitiStatement; import java.math.BigInteger; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.util.ArrayList; import com.citiban...
package projecteuler; import java.io.IOException; public class DiaphontineEquation { public static void main(String args[]) throws IOException { int[] nums = { 2, 3, 5, 6, 7 }; int max = 0; for (int i = 0; i < nums.length; i++) { for (int j = 1; j < 10; j++) { for (int k = 1; k < 10; k++) { if (Mat...
/* * 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 under the Apache License, Version 2.0 (the * "License"); you...
package repeticao; import javax.swing.JOptionPane; public class DesafioSlide77Exer3 { public static void main(String[] args) { int cont = 0; int idade_idoso=0; int idade_jovem=0; int idade = 0; int maiores = 0; int somaidade = 0; String idoso=" "; String jovem=" "; do { String nome = JOptionPan...
package com.example.RPSGame; public enum Throw { ROCK, SCISSORS, PAPER }
package cmc.vn.ejbca.RA.controller; import cmc.vn.ejbca.RA.dto.request.*; import cmc.vn.ejbca.RA.dto.respond.KeysDto; import cmc.vn.ejbca.RA.dto.respond.TextRespondHttpClientDto; import cmc.vn.ejbca.RA.dto.respond.VersionDto; import cmc.vn.ejbca.RA.response.ResponseObject; import cmc.vn.ejbca.RA.response.ResponseStatu...
package io.breen.socrates.submission; import java.io.*; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.charset.*; import java.nio.file.Files; import java.nio.file.Path; import java.util.logging.Logger; /** * Class representing immutable objects storing information about a single file found o...
package com.ylz.dao; import com.ylz.entity.Seckill; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; public interface SeckillMapper { int deleteByPrimaryKey(Integer seckillId); int insertSelective(Seckill record); Seckill selectByPrimaryKey(Integer seckillId); ...
package com.example.churchapp; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; impor...
/* * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. * * Created Thu Nov 18 09:42:06 CST 2004 by MyEclipse Hibernate Tool. */ package com.aof.component.helpdesk; import java.io.Serializable; import com.aof.component.domain.party.UserLogin; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ChessLeague.ChessLib; /** * * @author D3zmodos */ public interface ChessListener { public void chessEvent(ChessEvent evt); }
/* * @project: webdemo * @package: com.jeeframework.logicframework.util.server * @title: JeeFrameWorkServer.java * * Copyright (c) 2016 JeeFrameWork Limited, Inc. * All rights reserved. */ package com.jeeframework.logicframework.util.server; import com.jeeframework.core.context.support.SpringContextHolder; ...
package org.rekdev.shapes; public interface Named { public void setName(String name); public String getName(); }
package de.cuuky.varo.preset; import java.io.File; import java.io.IOException; import com.google.common.io.Files; public class PresetLoader { private File file; public PresetLoader(String name) { this.file = new File("plugins/Varo/presets/" + name); } public void copyCurrentSettingsTo() { ...
package com.clc.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.ModelAttribute; import org.sp...
package webuters.com.geet_uttarakhand20aprilpro.activity; import android.app.NotificationManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.media.AudioManager; import android.media.MediaPlayer; import ...
/* * 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 excepcion; /** * * @author mati */ public class Ej3Salida { //Este ejercicio lanza dos excepciones desde el mismo métod...
package org.androware.androbeans; import android.app.Activity; import android.content.ContextWrapper; import org.androware.androbeans.utils.Utils; import java.io.FileOutputStream; import java.io.IOException; /** * Created by jkirkley on 6/24/16. */ public class ObjectWriterFactory { ContextWrapper contextWrap...
package com.nantian.foo.web.auth.service; import com.nantian.foo.web.auth.entity.RoleInfo; import com.nantian.foo.web.auth.vo.RoleBean; import com.nantian.foo.web.util.ServiceException; import com.nantian.foo.web.util.vo.CheckTreeNode; import com.nantian.foo.web.util.vo.LoginBean; import org.springframework.data.doma...
package com.soa.zad1; import java.io.IOException; import java.math.BigDecimal; import java.math.RoundingMode; import java.util.Objects; import java.util.Properties; public class CurrencyUtil { public static Double covert(Double value, String in, String out) { String propertyKey = in + "." + out; ...
package com.cs.job.player; import com.cs.payment.PaymentService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.quartz.Job; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; /** * @author Omid Alaepour */ @Co...
package collections; import java.util.Comparator; import java.util.NavigableSet; import java.util.SortedSet; import java.util.TreeSet; class Produto { int id; String nome; int qtd; public Produto(int id, String nome, int qtd) { super(); this.id = id; this.nome = nome; this.qtd = qtd; } } class Com...