text
stringlengths
10
2.72M
package com.sinodynamic.hkgta.service.crm.account; import com.sinodynamic.hkgta.service.IServiceBase; public interface DDITaskService extends IServiceBase{ /** * upload DDI transaction report *//* public void generateDDIReporter(); //TODO --pending public void parseDDIAckReporter(File file); *//** * d...
import java.util.Scanner; import java.io.PrintWriter; import java.util.Arrays; // import java.util.HashMap; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); PrintWriter output = new PrintWriter(System.out); int n = scanner.nextInt(); ...
package com.unmcelearning.android.thyroidpathology; import android.app.ProgressDialog; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.tex...
package fox.test; import java.awt.AWTException; import java.awt.Robot; import java.awt.event.KeyEvent; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.List; import java.u...
package api; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import controller.Controller; @Path("qora") @Produces(MediaType.APPLICATION_JSON) public class QoraResource { @GET @Path("/stop") public String stop() { //STOP Controller.getInstance...
package com.zc.pivas.printlabel.controller; import com.google.gson.Gson; import com.zc.base.common.controller.SdDownloadController; import com.zc.base.common.exception.SdExceptionFactory; import com.zc.base.orm.mybatis.paging.JqueryStylePaging; import com.zc.base.orm.mybatis.paging.JqueryStylePagingResults; imp...
package ua.epam.course.java.block16; public class Student { public static enum specialities { MATHEMATHIC, BIOLOGIST } private static int count = 0; private Student.specialities speciality; private int number; /** * @param speciality */ public Student(Student.specialities speciality) { this.spe...
package process; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.HashMap; import org.simgrid.msg.Host; import org.simgrid.msg.HostFailureException; import org.simgrid.msg.Msg; import org.simgrid.msg.MsgException; import or...
package com.wozu.day14.Service; import com.wozu.day14.Model.Athlete; import java.util.Optional; public interface AthleteService { Optional<Athlete> getAthleteById(Long id); Athlete getAthleteByFirstName(String firstName); Iterable<Athlete> getAllAthletes(); void saveAthlete(Athlete athlete); Opt...
package org.com.cay.service.impl; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import org.springframework.stereotype.Service; import org.springframework.web.multipart.commons.CommonsMult...
package com.stk123.entity; import javax.persistence.*; import java.sql.Time; import java.util.Objects; @Entity @Table(name = "STK_INTERNET_SEARCH") public class StkInternetSearchEntity { private Long searchSource; private String searchUrl; private String lastSearchText; private Time updateTime; pr...
package com.example.admin.fpbackend.TeamActivity; import android.app.Dialog; import android.content.Intent; import android.os.Bundle; import android.provider.ContactsContract; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.ArrayAdapter; import ...
package Voting; import java.io.*; import java.security.*; import java.security.spec.*; import javax.crypto.*; import javax.crypto.spec.*; public class Encrypt { PublicKey publicKey; PrivateKey privateKey; byte[] data; public void createKey() { KeyPairGenerator kpg; try { kpg = KeyPai...
package com.example.wordapplication; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import android.content.ContentValues; import android.content.DialogInterface; import android.content.Intent; import android.content.res.Configuration; import android.database.Cursor; import...
package sch.frog.calculator.compile.syntax; import sch.frog.calculator.exception.CompileException; import sch.frog.calculator.compile.lexical.IToken; import sch.frog.calculator.util.collection.IList; /** * 语法树构建器 */ public interface ISyntaxTreeBuilder { /** * 将表达式构建为语法树 * @param tokens token集合 *...
package mc.kurunegala.bop.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import mc.kurunegala.bop.dao.UploadsMapper; import mc.kurunegala.bop.model.Uploads; @Service public class UploadSearvice { @Autowired UploadsMapper mapper; public void ...
package ru.shikhovtsev.exception; public class AtmException extends RuntimeException { }
import org.junit.Assert; import org.junit.Test; import java.util.Stack; public class MyStackTests { StackAPI<Integer> myStack = new MyStack<Integer>(); Stack<Integer> javaStack = new Stack<Integer>(); private void clearStacks() { myStack.clear(); javaStack.clear(); } @Test pub...
package me.walkerknapp.cfi; import java.io.File; import java.io.IOException; import java.util.concurrent.CompletableFuture; public interface ProcessRunner { CompletableFuture<Void> start(File workingDir, String... args) throws IOException; }
package pl.qaaacademy.todo.interfaces; public interface StatusChangable { void toggleStatus(); void complete(); }
import java.io.FileNotFoundException; import java.io.IOException; import virtualdisk.DiskThread; import virtualdisk.VirtualDisk; import common.Constants; import dblockcache.DBufferCache; import dfs.DFS; public class TestMain { public static void main(String[] args) throws FileNotFoundException, IOException { ...
package com.hg.mylifetomorrow.util; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import java.util.TimeZone; public class MLTUtil { public final static String DT_FORMAT="yyyy-MM-dd HH:mm:ss a"; public final static String DT_FORMAT3="yyyy-MM-dd"...
package ua.siemens.dbtool.service; import ua.siemens.dbtool.model.entities.Activity; import ua.siemens.dbtool.model.timesheet.DayEntryActivityInfo; import java.util.Collection; /** * Service interface for {@link DayEntryActivityInfo} * * @author Perevoznyk Pavlo * creation date 15 Feb 2018 * @version 1....
package library; public class IntegerOrdList extends OrderedList { //compare function defined below @Override protected int compare(Object obj1, Object obj2){ return ((Integer)obj1).intValue() - ((Integer)obj2).intValue(); } }
package interfaces; import java.util.List; import modelo.tableUsuarioDto; public interface CRUD { public List listar(); public tableUsuarioDto list(long cedula_usuario); }
package src.server_main; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.OutputStream; import java.io.InputStream; import java.net.InetSocketAddress; import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpserver.HttpHandler; import com.sun.net.httpserver.Htt...
package five; import javax.swing.*; /** * <li>1. Prost ili primitivni -> 8</li> * <li>2. Niz a zatim String</li> */ public class ContinueDemo { public static void main(String[] args) { String text = "petar pan je pojeo pancakes"; char[] nizKaraktera = text.toCharArray();//ime varijable određeno...
/** * Created by will.schick on 4/7/16. */ public class DatabaseConfiguration { /** * The configuration here can later be pulled out to a file or program argument. * @param args * @throws Exception */ public static void main(String[] args) throws Exception{ //create an H2 datab...
package cn.itcast.bookstore.category.web.servlet.admin; import java.io.IOException; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import cn.itcast.bookstore.category.domain.Category; import cn.itcast.bookst...
/* * Created on Mar 2, 2007 * */ package com.citibank.ods.modules.client.customerprvtcmpl.functionality; import com.citibank.ods.common.dataset.DataSet; import com.citibank.ods.common.entity.BaseODSEntity; import com.citibank.ods.common.functionality.ODSListFnc; import com.citibank.ods.common.functionality...
package com.gxtc.huchuan.data; import com.gxtc.huchuan.bean.LiveListBean; import com.gxtc.huchuan.http.ApiCallBack; import com.gxtc.huchuan.ui.live.list.LiveListContract; import java.util.ArrayList; import java.util.List; /** * Created by Gubr on 2017/2/27. */ public class LiveListRepository implements LiveListCo...
package egovframework.com.tag; import java.text.MessageFormat; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.jsp.JspException; import javax.servlet.jsp.JspTagException; import javax.servlet.jsp.JspWriter; import javax.servlet.jsp.tagext.TagSupport; import org.sp...
package com.company; import javax.swing.JOptionPane; public class RandomSongPicker { public static void main(String[] args) { String userOption = JOptionPane.showInputDialog("Choose a random number from 0 to 4"); int x = Integer.parseInt(userOption); String song = randomSong(x); J...
//applection based on literal class l1 { public static void main(String d[]) { int a=0117,b=0xccf; System.out.println("Var a in Decimal no="+a); System.out.printf("Var b in Decimal no="+b); }//close of main }//close of class
package acueducto.domain; import java.util.Map; import java.util.HashMap; import java.util.Collection; /** * * @author Karla Salas M. | Leonardo Sanchez J. */ public interface BombaRepository { /** * Insercion de un objeto Bomba. * @param bom * @return */ public boolean insertBomba(Bom...
package example; import com.agenarisk.api.model.DataSet; import com.agenarisk.api.model.Model; import com.agenarisk.api.model.Network; import com.agenarisk.api.model.Node; import java.io.File; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Paths; import java.nio.file.StandardOpenOpti...
package model; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Dictionary; import java.util.Hashtable; public class User { private static DB database; public User() { database = new DB(); try { database.connect("jdbc:mysql://lo...
package com.skyhorse.scs.Service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.skyhorse.scs.Bean.AdminBean; import com.skyhorse.scs.DAO.DaoService; @Service public class MainServiceImpl implements MainService...
package homework1.tasks; import java.util.Scanner; /** * Пусть a, b, c - переменные, которым присваиваются введенные числа, * а переменная m в конечном итоге должна будет содержать значение наибольшей переменной. * *Вариант без переменной m */ public class MaxNumber2 { public static void main(String[] args...
package be.mxs.common.util.pdf.general.oc.examinations; import java.sql.SQLException; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import java.util.Collection; import java.util.Iterator; import java.util.Vector; import com.itextpdf.text.Chunk; import com.itextpdf.text.Font; import com.itextpdf.t...
package com.badawy.carservice.activity; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.annotation.SuppressLint; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.os.Bundle; import android.os.Handler; imp...
package dao; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class MySql { private String ip = "127.0.0.1"; private String port = "3306"; private String user = "root"; private String pwd = ""; private String db = "bdd_bank"; private Connection connex...
package com.zjf.myself.codebase.fragment; import android.text.Html; import android.view.View; import android.widget.CheckBox; import android.widget.EditText; import android.widget.TextView; import com.zjf.myself.codebase.R; import com.zjf.myself.codebase.activity.BaseAct; import com.zjf.myself.codebase.activity.Login...
package ru.yandex.yamblz.ui.recyclerstuff; import android.content.Context; import android.support.v7.widget.GridLayoutManager; /** * Created by dalexiv on 8/5/16. */ public class OptimizedGridLayoutManager extends GridLayoutManager { public OptimizedGridLayoutManager(Context context, int spanCount) { s...
package com.example31._CRUD.config; import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer; public class SpringSecurityInitializer extends AbstractSecurityWebApplicationInitializer { }
package com.codecool.stampcollection.DTO; import com.fasterxml.jackson.annotation.JsonIdentityInfo; import com.fasterxml.jackson.annotation.ObjectIdGenerators; import java.util.Set; @JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "name") public class StampDTO { private Long ...
package baek5622; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main {//모르겠다 난 어려움 공략보면서 쉽게 생각하자아! public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Str...
package com.nps.hellow; import android.app.AlertDialog; import android.content.DialogInterface; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.CheckBox; im...
package com.croquis.crary.restclient; import android.annotation.TargetApi; import android.content.Context; import android.os.Handler; import android.os.Looper; import com.croquis.crary.restclient.gson.GsonMimeCraftMultipartConverter; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.g...
package com.imooc.spring.ioc.class08; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @Configuration @ComponentScan(value ="com.imooc.spring.ioc.class08") public class MyConfiguration { /* @...
package com.mditservices.scheduler; /*package com.webinfoways.blackbelt; import java.util.ArrayList; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class Datab...
package com.planificateurvoyage.ui.personne; import javax.swing.JPanel; import javax.swing.JButton; import javax.swing.JLabel; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import javax.swing.JTable; import javax.swing.JScrollPane; import javax.swing.JTextField; public class PersonneCo...
public class M4_11static { public static void main(String[] args) { Counter c1 = new Counter(); Counter c2 = new Counter(); System.out.println(Counter.COUNT); System.out.println(c1); System.out.println(c2); //System.out.println(c1.COUNT); //System.out.println(...
package com.wessolowski.app.android.util.media; import com.wessolowski.app.util.checks.Checks; import android.media.MediaPlayer; import android.media.audiofx.BassBoost; import android.util.Log; import android.media.audiofx.*; public class MediaPlayerEqualizer { private static final short ...
package com.pengo.storage.service; import com.baomidou.mybatisplus.extension.service.IService; import com.pengo.common.entity.Storage; public interface StorageService extends IService<Storage> { }
package com.training; public class TestGreeting{ public static void main(String[] args){ Greeting obj=new Greeting(); System.out.println(obj.getMessage()); } }
/** * */ package com.zh.common.utils; import java.io.Serializable; /** * @author ZH * 所有properties陪着的key * 都需要配置在该文件里面。 * */ public class GlobalConstants implements Serializable { private static final long serialVersionUID = 3186971530746202421L; }
package com.qst.dms.service; import java.util.List; import com.qst.dms.dao.impl.ImplLogRecDao; import com.qst.dms.dao.impl.ImplMatchedLogRecDao; import com.qst.dms.entity.LogRec; import com.qst.dms.entity.MatchedLogRec; import com.qst.dms.factory.DaoFactory; /** * @author 陌意随影 TODO :日志业务类 *2019年11月7日 下午7:26:58 ...
/* * Copyright 2002-2020 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 actions.partie; import modele.Joueur; /** * Created by alucard on 24/11/2016. */ public class QuitterPartieAction extends EnvironementCommunPartie { public String execute() { Joueur unJoueur = this.getMaFacade().getJoueur((String) this.getSessionMap().get("pseudo")); //partie unePartie ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package interfaz; import datos.ClienteBD; import datos.FacturaDB; import datos.ProductoDB; import datos.VentasBD; import java.awt.Color; import java.awt.event.KeyEvent; import java.sql.SQLException; import java.util.Arr...
package xtrus.ex.cms.test.message; import org.junit.Test; import xtrus.ex.cms.message.CmsMessage; import xtrus.ex.cms.message.CmsMessageUtils; public class Cms0630_40Test { @Test public void unmarshal() throws Exception { String v = "0096 000 0630RBCOROPShis_corporation.sam 000COROPShis_corporation.sa...
package com.ms.module.wechat.clear.activity.image; import android.content.Intent; import android.graphics.drawable.Drawable; import android.view.View; import android.widget.CheckBox; import android.widget.ImageView; import androidx.annotation.Nullable; import com.bumptech.glide.Glide; import com.bumptech.glide.load....
package org.vquiz.domain; import java.io.Serializable; /** * * @author Matti Tahvonen <matti@vaadin.com> */ public class Password implements Serializable { private String pw; public Password(String pw) { this.pw = pw; } public String getPw() { return pw; } public void se...
package com.animals; import com.animals.Animals; public class Cat extends Animals { @Override public void play() { rootLogger.info("Cat's playing"); } @Override public void voice() { rootLogger.info("Meow"); } }
package com.mss.ejb.resource; import com.mss.ejb.repo.UserRepo; import com.mss.entity.User; import javax.annotation.PostConstruct; import javax.enterprise.context.RequestScoped; import javax.enterprise.event.Observes; import javax.enterprise.event.Reception; import javax.enterprise.inject.Produces; import javax.injec...
package com.raymon.api.bean.success; import java.math.BigDecimal; import java.util.Map; public class StatusBean { private String code; private String message; private String toUrl; private BigDecimal amount; private Map<String,Object> signResult; public String getCode() { return code; ...
package ntou.cs.java2021.hw4; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.util.DefaultPrettyPrinter; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import org.simpleflatmapper.csv.CsvParser; import java.io.*;...
/** * Noark所有功能注解定义 */ package xyz.noark.core.annotation;
/* * 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...
/* * 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...
/* * Copyright 2011 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.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.opensource.org/licenses/ecl1.php * * Unless requir...
package edu.seminolestate.albumflippertwo; import android.os.AsyncTask; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.ImageView; import android.widget.Spinner; import android.widget.TextView; import org.jetbrains.annotations.NotNull; import ...
package cern.molr.inspector.remote; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedReader; import java.time.Duration; import java.util.Optional; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import ja...
package com.github.dongchan.scheduler.stats; /** * @author DongChan * @date 2020/10/22 * @time 11:40 PM */ public interface StatsRegistry { enum SchedulerStatsEvent{ UNEXPECTED_ERROR, UNRESOLVED_TASK, RAN_EXECUTE_DUE } void register(SchedulerStatsEvent e); StatsRegistry N...
package com.project.board.web.Board.dto; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.Setter; @Getter @Setter @RequiredArgsConstructor public class DeleteBoardDto { // 게시물 UID private Long BOARD_UID; // 원글 UID private Long ORIGIN_NO; // 계층 깊이 private Long L...
package entity; // Generated Jan 22, 2019 1:40:07 AM by Hibernate Tools 3.5.0.Final import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence...
package com.machao.base.controller; import java.io.File; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.io.FileUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.a...
/* * Copyright 2002-2020 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.arthur.bishi.pdd0822; import java.math.BigInteger; import java.util.Scanner; /** * @description: * @author: arthurji * @date: 2021/8/22 19:01 * @modifiedBy: * @version: 1.0 */ public class No3 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); in...
public class FillProduct implements Command { @Override public void execute(String[] cmdParts) { try { if (cmdParts.length != 3) { throw new InsufficientParameterException(); } ShopSystem shopSystem = ShopSystem.getInstance(); int productID = Integer.parseInt(cmdParts[1]); int quantity = Intege...
/** * This class is generated by jOOQ */ package schema.tables.records; import java.sql.Timestamp; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.Record1; import org.jooq.Record6; import org.jooq.Row6; import org.jooq.impl.UpdatableRecordImpl; import schema.tables.CourseOverviewsCourse...
package com.edasaki.rpg.commands.owner; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import com.edasaki.rpg.PlayerDataRPG; import com.edasaki.rpg.commands.RPGAbstractCommand; import com.edasaki.rpg.quests.QuestManager; public class CompleteQuestCommand extends RPGAbstractCommand { p...
package com.niksoftware.snapseed.util; import android.graphics.Point; import android.graphics.Rect; import android.view.View; import com.niksoftware.snapseed.MainActivity; import com.niksoftware.snapseed.core.DeviceDefs; import com.niksoftware.snapseed.util.ItemRenderer.Size; import com.niksoftware.snapseed.views.Edit...
package A002_GameOfLife; public class Cell { public int x; public int y; public boolean alive = false; public Cell(int x, int y) { this.x=x; this.y=y; } public void create(){ this.alive=true; } public void kill(){ this.alive=false; } }
package com.group.etoko.Fragment.OrderHistory.repository; import com.group.etoko.BuildConfig; import com.group.etoko.Network.Api; import com.group.etoko.Network.RetrofitClient; import com.group.etoko.Fragment.OrderHistory.model.OrderContainer; import com.group.etoko.Fragment.OrderHistory.viewmodel.OrderHistoryViewMode...
package com.example.test; import com.baidu.location.BDLocation; import com.baidu.location.BDLocationListener; import com.baidu.location.LocationClient; import com.baidu.location.LocationClientOption; import android.app.Activity; import android.app.Service; import android.content.Context; import android.content.Intent...
/* * 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 Forms; import InternalForms.OrderList; import Model.CompletedOrder; import Model.Order; import java.awt.Graphics; import java....
package com.guillermomadoery.examen.ui.configuracion; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.view.LayoutInflater; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import and...
public class Book { String title = ""; String author = ""; int number; int pageCount; Book(String title){ this.title = title; } Book(String title, int pageCount){ this.title = title; this.pageCount = pageCount; } Book(String title, int pageCount, String aut...
package com.ngocdt.tttn.entity; import javax.persistence.*; import lombok.Getter; import lombok.Setter; import java.util.Date; import java.util.HashSet; import java.util.List; import java.util.Set; @Entity @Table(name="Receiption") @Getter @Setter public class Receiption { @Id @GeneratedValue(strategy = Generatio...
package ru.job4j.socket; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.ServerSocket; import java.net.Socket; public class EchoServer { public static void main(String[] args) throws IOException { try (ServerSocket s...
package com.citibank.ods.persistence.pl.dao; import java.math.BigInteger; import java.util.ArrayList; import com.citibank.ods.entity.pl.TplDocTransferHistEntity; // //©2002-2007 Accenture. All rights reserved. // /** * [Class description] * *@see package com.citibank.ods.persistence.pl.dao; *@ve...
package cn.xeblog.xechat.constant; /** * 机器人相关常量 * * @author yanpanyi * @date 2019/4/10 */ public interface RobotConstant { /** * 存储的key */ String key = "robot"; /** * 触发机器人聊天的消息前缀 */ String prefix = "#"; /** * 机器人名称 */ String name = "小小毅"; /** * 机器人头...
package com.gys.sm.fun.demo.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.gys.sm.fun.demo.bean.GysBean; import com.gys.sm.fun.demo.dao.IGysDemoDao; @Service public class GysServiceImpl{ @Autowired pri...
import java.awt.*; import java.awt.event.*; import javax.swing.*; public class SomeShapes extends JFrame implements ActionListener { /** * */ private static final long serialVersionUID = 1L; private JButton button; private JPanel panel; public static void main (String[] args) { ...
package de.tuberlin.dima.bdapro.solutions.gameoflife; public class Cell { private boolean state; private long row; private long column; public Cell (long i, long j){ this.row = i; this.column = j; this.state = false; } public Cell (long i, long j, boolean state){ ...
package com.tang.onetomany.action; import java.util.List; import org.junit.BeforeClass; import org.junit.Ignore; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import com.tang.onetomany.dao.OrdersDao; import com...
package com.docker.script.i18n; import java.util.Properties; /** * Created by zhanjing on 2017/7/17. */ public class MessageProperties extends Properties { public String getMessage(String key) { return getMessage(key, null, null); } public String getMessage(String key, String[] parameters) { ...
/* * Created on Jul 28, 2015 */ package basics; import javafx.application.Application; import javafx.application.Platform; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.layout.BorderPane; import javafx.scene.layout.HBox; ...