text
stringlengths
10
2.72M
package com.wy.test.service.impl; import com.wy.test.entity.SysRoleMenu; import com.wy.test.mapper.SysRoleMenuMapper; import com.wy.test.service.SysRoleMenuService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; /** * <p> * 角色与权限关系表 服务实现类 * </p> ...
package realtime.vo; public class BaiduStockVO { private String name; private String code; private String date; private String time; private Double OpenningPrice; private Double closingPrice; private Double currentPrice; private Double hPrice; private Double lPrice; private Double competitivePr...
package Vorlesung05; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; //<T> Funktioniert für Objekte vom Typen T public class SerializationHelper<T> { private String path; public SerializationHelper(St...
package br.assembleia.service.impl; import br.assembleia.dao.EmprestimoDAO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import br.assembleia.entidades.Emprestimo; import br.assembleia.se...
package edu.oleg088097.arkanoid.util; import android.graphics.Color; import java.util.ArrayList; import java.util.Random; public class Utils { static private final Random rand = new Random(); static public ArrayList<Integer> generateColors(){ ArrayList<Integer> colors = new ArrayList<>(125); ...
package org.shazhi.businessEnglishMicroCourse.controller; import org.shazhi.businessEnglishMicroCourse.entity.ContactsEntity; import org.shazhi.businessEnglishMicroCourse.entity.MessageEntity; import org.shazhi.businessEnglishMicroCourse.service.MessageService; import org.shazhi.businessEnglishMicroCourse.util.Result;...
package com.bfwg.repository; import com.bfwg.model.Account; import com.bfwg.model.Transaction; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.tran...
package com.jushu.video.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import java.io.Serializable; import j...
package com.example.i_donate.DataModels; import java.util.Date; public class RequestDataModel { private String details; private Date date; private String phone; RequestDataModel(){} public RequestDataModel(String details,Date date, String phone) { this.details = d...
/* * 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.controller; import com.entity.Cliente; import com.entity.CodigoSesion; import com.entity.Comentario; import co...
package menu; import java.awt.Color; import java.awt.Font; import java.awt.Point; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import javax.swing.JFileChooser; import javax.swing.JFrame; import javax.swing.table.DefaultTableModel; import listener.Calibr...
package com.lenovohit.ssm.treat.transfer.dao; import com.alibaba.fastjson.annotation.JSONField; import com.lenovohit.core.utils.StringUtils; public class RestResponse { @JSONField(name="RESULTCODE") private String resultcode; @JSONField(name="RESULT") private String result; @JSONField(name="CONTENT") private St...
package net.aphotix.conversion; import java.util.Map; /** * Encapsulates currency rates received from a restful json api * * @author Veil (nathan@aphotix.net). */ class CurrencyRates { private String base; private String date; private Map<String, Double> rates; /** * Get the base currency all the rates ...
package xtrus.ex.tcs.test; import org.apache.commons.io.IOUtils; import org.apache.log4j.PropertyConfigurator; import org.junit.Before; import org.junit.Test; import com.esum.framework.cache.CacheFactory; import com.esum.framework.common.sql.Record; import xtrus.ex.tcs.channel.client.TcsClient; import xtrus.ex.tcs.m...
package com.ipfsoftwares.mangi360.customer; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.util.Log; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.v...
public class Solution{ //this method takes O(b) time(b is the length of bit sequence) and O(1) space. public static int flipBitToWin(int num){ int SEQUENCE_LENGTH = 32; if(num==-1){return SEQUENCE_LENGTH;} boolean used = false; int max = 0; int before = 0; int after = 0; for(int i=0;i<SEQUENCE_LENGTH;i+...
package Builder.Difficult; import Builder.Computer; public class BuilderAbsTest { public static void main(String[] args) { Director director = new Director(); director.setBuilder(new OfficeComputerBuilder()); Computer computer = director.buildComputer(); System.out.println(computer...
package com.github.timm.cucumber.generate; import com.github.timm.cucumber.generate.name.ClassNamingScheme; import org.apache.maven.plugin.MojoExecutionException; public class CucumberITGeneratorFactory { private final OverriddenCucumberOptionsParameters overriddenParameters; private final ClassNamingScheme ...
/* * 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 common; import java.util.Calendar; import java.util.Date; /** * * @author Kray */ public class MessageRecu extends Message...
package com.alibaba.druid.bvt.pool.exception; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import junit.framework.TestCase; import com.alibaba.druid.mock.MockConnection; import com.alibaba.druid.pool.DruidDataSource; import com.alibaba.druid.pool.DruidPooledConnection;...
package com.brainacad.oop.diplom; import java.util.ArrayList; /** * Created by Администратор on 31.01.2016. */ public class Trainer { private Integer idTrainer; private String firstNameTrainer; private String secondNameTrainer; private ArrayList<Integer> listTrainerCourse; }
package it.unibo.bd1819.job2.reducers; import it.unibo.bd1819.job2.utils.Utility; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Reducer; import java.io.IOException; public class CountReducer extends Reducer<Text, IntWritable, Text, IntWritable> { ...
package com.sys2017.android_app_test; import android.content.Intent; import android.support.design.widget.BaseTransientBottomBar; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatA...
package com.joy.concurrent.threadpool; import java.util.Date; import java.util.Timer; import java.util.TimerTask; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; /** * Created by SongLiang on 2019-10-09 */ public class ThreadPoolShed...
package net.gupt.ebuy.admin.service; import java.util.List; import net.gupt.ebuy.admin.dao.PaymentDao; import net.gupt.ebuy.admin.dao.PaymentDaoImpl; import net.gupt.ebuy.pojo.Payment; /** * 支付方式后台管理业务接口实现类 * @author glf * */ public class PaymentServiceImpl implements PaymentService{ private PaymentDao paymentDa...
/** * search.java * binary search function to search an element e in an array A * all the elements in array A are useful elements, and the values in A are ordered in ascending order. * @since 21 NOV 2019 * @author Huiying Chen */ package cs463lab13_Heap; public class search { /** * @param A - an ascending o...
package cn.Object; //此时设置的T在Point定义上只表示一个标记,在使用的时候需要为其设置具体的类型 class Point<T>{ //定义坐标,Type = T private T x; //此事的类型不知道,由Point类使用时动态决定 private T y; public T getX() { return x; } public void setX(T x) { this.x = x; } public T getY() { return y; } public void setY(T y) { this.y = y; } } public class T...
package com.online.spring.core.property; public class Properties { String model; String color; String make; int yofm; public Properties() { } public Properties(String model, String color, String make, int yofm) { this.model = model; this.color = color; this.make = make; this.yofm = yofm; } public ...
package com.dongh.sample.http; import com.dongh.baselibs.http.RetrofitManager; import com.dongh.sample.http.api.Api; import com.dongh.sample.http.cache.CacheProvider; import com.dongh.sample.http.cache.WeatherCacheProvider; import com.dongh.sample.http.service.RetrofitService; import com.dongh.sample.http.service.Weat...
package co.edu.campusucc.sd.modelo; // Generated 23/05/2020 02:30:18 PM by Hibernate Tools 5.4.7.Final import java.util.HashSet; import java.util.Set; /** * Banco generated by hbm2java */ public class Banco implements java.io.Serializable { private String idBanco; private String nombreBanco; privat...
package com.trl.consumerautomaticoffsetcommitting.constants; public final class Constants { public Constants() { } public static final String LOG_HEADER = ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "; }
package dev.liambloom.softwareEngineering.chapter11.polygonComparable; public class IsoscelesTrapezoid extends Trapezoid { // Constructors public IsoscelesTrapezoid() { super(); } public IsoscelesTrapezoid(double base1, double base2, double height) { super(base1, base2, height); } ...
package com.example.demo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import org.springframework.c...
package com.auro.scholr.payment.data.model.request; public class PaytmWithdrawalByUPIReqModel { String mobileNo; String upiaddress; String disbursementMonth; String disbursement; String purpose; public String getMobileNo() { return mobileNo; } public void setMobileNo(String ...
package leetcode; import java.util.ArrayList; public class ZigZagConversion6 { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println(convert("AB",1)); } public static String convert(String s, int numRows) { ArrayList<ArrayList<Character>> resultArray = new Arr...
package com.trump.auction.goods.api.impl; import com.alibaba.dubbo.config.annotation.Service; import com.trump.auction.goods.api.ProductInventoryLogRecordSubService; import com.trump.auction.goods.model.ProductInventoryLogRecordModel; import com.trump.auction.goods.service.ProductInventoryLogRecordService; import org....
package com.sevael.lgtool.dao.impl; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.bson.Document; import org.bson.conversions.Bson; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; ...
package com.mediafire.sdk.config; import java.util.HashMap; import java.util.Map; public class DefaultCredentials implements MFCredentials { private final Map<String, String> credentials = new HashMap<String, String>(); private boolean valid; public DefaultCredentials() { } @Override public...
/** * MIT License * <p> * Copyright (c) 2017-2018 nuls.io * <p> * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
package objects.android.popupmenus; import io.appium.java_client.android.AndroidDriver; import io.appium.java_client.android.AndroidElement; import objects.android.MainViewDR; import org.openqa.selenium.By; import org.openqa.selenium.support.ui.ExpectedConditions; public class PopUpMenuOfStopDisplayButtonDR extends ...
import java.util.Scanner; public class task4 { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.print("Введите три числа: "); int x = in.nextInt(); int y = in.nextInt(); int z = in.nextInt(); int result = (x + y + z) / 3; ...
/* * Copyright (C) 2021 Tenisheva N.I. */ package com.entrepreneurship.rest.webservices.restfulwebservices; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /* * Current class starts the program * @version 1.0 @author Tenisheva N.I. */ ...
package idea_service.serviceimpl; import idea_dao.UsersDao; import idea_dao.impl.UserDaoImpl; import idea_entity.Users; import idea_service.UserService; import java.util.List; /** * Created by YYJ on 2017/11/3. */ public class UserServiceimpl implements UserService { @Override public List<Users> findall() ...
package com.itheima.interceptor; import org.springframework.web.servlet.HandlerInterceptor; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class LoginInterceptor implements HandlerInterceptor { @Override public boolean preHandle(HttpServletRequest request, Http...
package com.quickly.module.mvp; import android.view.View; import com.quickly.module.mvp.base.MvpBaseFragment; import java.util.List; import me.drakeet.multitype.MultiTypeAdapter; public class NewsArticleFragment extends MvpBaseFragment implements NewsArticleContract.View{ private NewsArticleContract.Presenter...
package com.example.demo.service; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.example.demo.entity.Employee; import com.example.demo.repo.DemoRepo; @Service public class DemoService { @Autowired private DemoRe...
/* * Copyright (C) 2015 Adrien Guille <adrien.guille@univ-lyon2.fr> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later vers...
package com.utils; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.net.InetAddress; import java.net.URL; import java.net.URLConnection;...
package com.onightperson.hearken.viewworkprinciple.toolbar; import android.app.Activity; import android.os.Bundle; import android.support.design.widget.BaseTransientBottomBar; import android.support.design.widget.CoordinatorLayout; import android.support.design.widget.Snackbar; import android.view.View; import android...
package usantatecla.draughts.models; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; public class StateTest { private StateBuilder stateBuilder; @Before public void setUp() { this.stateBuilder = new Sta...
package me.gaigeshen.fastdfs.client.connection; /** * 结果数据处理器,用于处理连接返回的数据 * * @author gaigeshen */ @FunctionalInterface public interface ResultHandler { /** * 处理结果数据,然后返回是否需要继续接收新数据 * * @param result 结果数据 * @return 如果本次的结果数据只是部分数据的话,需要指明要继续处理 */ boolean handle(byte[] result); }
package com.soft1841.thread; import org.omg.PortableServer.THREAD_POLICY_ID; import javax.swing.*; import java.awt.*; import java.util.Random; /** * 线程学习 绘制彩色线段 * @author 黄敬理 * 2019.04.10 */ public class DrawLineThread implements Runnable { int x = 100; int y = 100; private JFrame frame; private ...
package People; public class Experiencer extends Candidate { protected int expYear; protected String proSkill; public Experiencer( String iD, String name, int date, String address, String phoneNumber, String email, int type, int expYear, String proSkill ) { super(iD, name, date, address, phoneNum...
package java二.Exception; class Math{ public static int div(int x,int y)throws Exception{ int res = 0; System.out.println("*********开始除法计算****"); res = x/ y ; //当除数为0,出现异常,向上抛 System.out.println("*****除法计算结束****"); return res ; } } p...
package com.eussi._08_certificate; import com.eussi._08_certificate.base.PEMCoder; import junit.framework.Assert; import org.bouncycastle.jce.provider.BouncyCastleProvider; import org.junit.Before; import org.junit.Test; import javax.crypto.Cipher; import java.security.*; /** * Created by wangxueming on...
package essenceentity; import com.google.common.base.Objects; /** * Created by max on 03/12/14. */ public abstract class AbstractEntity<I> implements Entity<I>{ @Override public final boolean identityEquals(Entity<?> other) { if(this.getId() == null){ return false; } re...
package food.codi; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.view.WindowManager; import android.widget.ProgressBar; import food.codi.publico.PrefUtil; /** * By: El Bryant */ public class Splash extends AppComp...
package com.example.the_season_of_the_song; import android.content.Intent; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import and...
package com.github.andrelugomes.v1.model; import com.google.gson.Gson; import com.google.gson.JsonObject; public class Merchant { private JsonObject data; private String op; private String id; public Merchant(String merchantString) { Gson gson = new Gson(); Merchant merchant = gson.fr...
package com.fun.driven.development.fun.unified.payments.vault.service; /** * PCI Strong Cryptography definition: * Cryptography based on industry-tested and accepted algorithms, along with key lengths that provide a minimum of 112-bits of effective key * strength and proper key-management practices. Cryptography is...
package loecraftpack.enums; public enum LivingEventId { LIVING_FALL, LIVING_ATTACK, LIVING_HURT, LIVING_DEATH, LIVING_DEATH_PRE, ENTITY_ITEM_PICKUP, PLAYER_SLEEP_IN_BED, ENTITY_INTERACT, ATTACK_ENTITY, USE_HOE, BONEMEAL, FILL_BUCKET, PLAYER_DESTROY_ITEM, PLAYER_FLYABLE_FALL, PLAYER_DROPS, ARROW_LOOSE, ...
package example.parser; import example.model.XmlElement; import org.xml.sax.SAXException; import javax.xml.parsers.ParserConfigurationException; import java.io.File; import java.io.IOException; import java.util.LinkedList; import org.xml.sax.Attributes; import org.xml.sax.helpers.DefaultHandler; import javax.xml.pa...
package net.tascalate.async.tools.core; import java.io.PrintWriter; import java.io.StringWriter; import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassVisitor; import org.objectweb.asm.Opcodes; import org.objectweb.asm.tree.ClassNode; import org.objectweb.asm.tree.MethodInsnNode; import org.objectweb.as...
package com.example.van.baotuan.model.network; import java.io.IOException; import okhttp3.Interceptor; import okhttp3.Request; import okhttp3.Response; /** * 拦截器,用于为网络请求添加公共参数 * Created by Van on 2016/8/8. */ public class MyInterceptor implements Interceptor{ public MyInterceptor() { } @Override ...
package mb.tianxundai.com.toptoken.view; /** * @author txd_dbb * @emil 15810277571@163.com * create at 2018/10/1313:12 * description: */ public class Config { //测试 // public static String BASE_URL="http://47.52.161.84:8081/Api"; // public static String BASE_URL1="http://47.52.161.84:8081/"; //商城测试 ...
package alien4cloud.deployment; import java.util.Map; import javax.annotation.Resource; import javax.inject.Inject; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; import alien4cloud.dao.IGenericSearchDAO; import alien4cloud.model.deployment.Deployment; import alien4cloud.model.dep...
package marks.whoneeds.gui.setups; import javafx.scene.input.KeyCode; import marks.whoneeds.gui.GUIHandler; import marks.whoneeds.gui.resources.Images; import marks.whoneeds.gui.sprites.SpriteBackground; public class SetupHowToPlay extends Setup { public SetupHowToPlay() { super(); this.addSprite(ne...
package lab411.android2pc.loadsharing; import java.net.Socket; public class DetectSocket { public static Socket socket; public static void set(Socket s) { socket = s; } }
package com.swapp.swboard.controller; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import com.swapp.vo.MemberVO; @Controller publi...
package com.example.android.liverpooltour; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; /** * ToDo: Add a Class Header Comment */ public class FragmentAdapter extends FragmentPagerAdapter { private String[] INDEX_TI...
package answers; import org.junit.*; import org.junit.rules.ExpectedException; public class AccountTest { @Test public void withdraw500FromAccount_shouldBeAllowed() throws Exception { // Arrange - create a new account with a balance of 1000 Account account = new Account(1000); // Ac...
package homework5.api; public interface ISpliteratorText { String[] splitByRegEx(String text); String[] splitByIndexOf(String text); }
package db.jdbc; import java.sql.Driver; import java.sql.DriverManager; import java.sql.SQLException; /** * The Class tester. */ public class Tester { /** * The main method. * * @param args the arguments * @throws IllegalAccessException * @throws InstantiationException */ public stat...
package com.spring.integration.rest; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.ResponseBody; @Controller @Slf4j @AllArgsConstructor publ...
public class Lesson_14_Activity_One { public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.println("Enter a number:"); int x = scan.nextInt(); if (x < 5 || x > 76) { System.out.println("True"); } else { System....
package Tests.JunitTests; import org.junit.Test; import static Utils.ConstantsUtils.URL_BASE2; public class TestLoginJunit extends BaseClassJunit{ @Test public void loginSIte(){ System.out.println("Here we do the login"); driver.navigate().to(URL_BASE2 + "/customer/account/login"); } }
package net.awesomekorean.podo.lesson.lessons; import net.awesomekorean.podo.R; import java.io.Serializable; public class Lesson40 extends LessonInit_Lock implements Lesson, LessonItem, Serializable { private String lessonId = "L_40"; private String lessonTitle = "to do"; private String lessonSubTitle =...
package br.com.wasys.gfin.cheqfast.cliente.model; /** * Created by pascke on 28/06/17. */ public class UploadModel { public String path; public UploadModel(String path) { this.path = path; } }
package com.android.wendler.wendlerandroid.main.contract; /** * Created by QiFeng on 7/11/17. */ public class EditContract { public interface Presenter{ public void saveClicked(); } public interface View{ public void showSavedToast(); } }
package com.uog.miller.s1707031_ct6039.servlets.users.child; import com.uog.miller.s1707031_ct6039.beans.ChildBean; import com.uog.miller.s1707031_ct6039.oracle.ChildConnections; import com.uog.miller.s1707031_ct6039.oracle.YearConnections; import java.io.IOException; import java.util.Map; import javax.servlet.annotat...
package cn.tedu.tickets; /*需求:设计多线程编程模型,4个窗口共计售票100张 * 本方案使用多线程编程方案1,继承Thread类的方式来完成*/ public class TestThread { public static void main(String[] args) { //5.创建多个线程对象 TicketThread t1 = new TicketThread(); TicketThread t2 = new TicketThread(); TicketThread t3 = new TicketThread(); ...
package cn.itcast.core.service; import cn.itcast.core.dao.seller.SellerDao; import cn.itcast.core.pojo.entity.PageResult; import cn.itcast.core.pojo.seller.Seller; import cn.itcast.core.pojo.seller.SellerQuery; import com.alibaba.dubbo.config.annotation.Service; import com.github.pagehelper.Page; import com.github.pag...
package com.blockgame.crash; import com.blockgame.crash.model.MemberVo; import com.blockgame.crash.model.RecordVo; import com.blockgame.crash.repository.MemberRepository; import com.blockgame.crash.repository.RecordRepository; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Auto...
package pl.szymonleyk.jpa; /** * Hello world! * */ public class App { public static void main(String[] args) { AddressRepository addressRepository = new AddressRepository(); // dodanie elementu Address address = new Address("Gdynia", "Hutnicza", "3", 5, "51-222"); addressRepository.insert(address); // ...
package com.yc.education.service.impl.account; import com.yc.education.mapper.account.AccountReceivableRushMapper; import com.yc.education.model.account.AccountReceivableRush; import com.yc.education.service.account.IAccountReceivableRushService; import com.yc.education.service.impl.BaseService; import lombok.SneakyTh...
import java.math.BigDecimal; /** * Created by dell on 2016-12-30. */ public class CalculatorBean { private String a="0"; public String getA() { return a; } public void setA(String a) { this.a = a; } public String getB() { return b; } public void setB(Strin...
package com.yma; import java.util.*; /** * Created by Yoshan Amarathunga on 3/16/2017. */ public class Poles { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int k = in.nextInt(); Map map = new HashMap<Integer, Integer>(); ...
package com.example.administrator.panda_channel_app.MVP_Framework.module.home.intentactivity; import com.example.administrator.panda_channel_app.MVP_Framework.base.BaseActivity; import com.example.administrator.panda_channel_app.R; /** * Created by Administrator on 2017/7/15 0015. */ public class Home_VideoActivit...
package com.aaa.house.service; import com.aaa.house.entity.HouseLaIm; import java.util.List; import java.util.Map; /** * @Author: GZB * @Description: * @Date:Created in 10:12 2019/8/2 * @Modified By: */ public interface DHouseService { List<Map> getHouse1(Map map); /** * 数量 * @return */ ...
package StepDefinitions; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import io.cucumber.java.en.*; import io.github.bonigarcia.wdm.WebDriverManager; public class SampleGoog...
package com.example.chetanmuliya.studentpanel.helper; import android.view.View; /** * Created by domaine on 26/04/18. */ public interface CustomOnCLickListener { void onCLick(View v,int position); }
package com.example.omni_vision; import android.hardware.Camera; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.SurfaceHolder; import android.view.SurfaceView; import android.view.View; import an...
package Business; import DataAccess.TableDAL; import Entity.Restaurant; import Entity.Table; import java.util.List; public class TableBAL { private static TableBAL instance; public static TableBAL getInstance() { if(instance == null) { instance = new TableBAL(); } return...
package im.compIII.exghdecore.banco; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Statement; public class Conexao { private static Connection connection; protected static PreparedStatement psmt; protected static Statem...
package com.example.administrator.panda_channel_app.Activity; import android.support.v7.widget.LinearLayoutManager; import android.widget.ImageView; import com.androidkun.PullToRefreshRecyclerView; import com.androidkun.callback.PullToRefreshListener; import com.example.administrator.panda_channel_app.Adapter.Origina...
package ru.andersen; import ru.andersen.service.EmployeeServiceImpl; import javax.xml.ws.Endpoint; /** * @author Vladimir Ryazanov (v.ryazanov13@gmail.com) */ public class Publisher { public static void main(String[] args) { Endpoint.publish("http://localhost:8080/employeeservice", new ...
package org.jinku.sync.application.server.comet; import io.netty.channel.ChannelHandlerContext; import org.jinku.sync.application.ao.ResultAo; import org.jinku.sync.domain.types.ReqType; public interface ReqHandler { ReqType getReqType(); ResultAo handleReq(String reqData, ChannelHandlerContext ctx); }
package lockedme.com; import java.io.File; import java.io.IOException; import java.util.Scanner; public class DigitalFileStoragePrototype { public static void main(String args[]) { int choice = 0; String Enterchoice = ("1. Display all files from directory\n" + "2. Add a File to directory\n" ...
import com.google.api.client.auth.oauth2.Credential; import com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp; import com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver; import com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow; import com.google....
package com.Exception_concepts; public class UncheckedExceptionDemo { public static void main(String[] args) { /* int num = 12; int num1 = 0; int result = num/num1; System.out.println(result); System.out.println("Calling from main ()");*/ String name = null; System.out.println(name.length()); ...