text
stringlengths
10
2.72M
package com.neuedu.homework; import java.util.concurrent.CountDownLatch; public class MyTest0217 { public static int a; public static Object obj = new Object(); public static void main(String[] args) { // MyThread04 m1 = new MyThread04(); // new Thread(() -> { // m1.add(); // ...
package test.proxy.my; import java.lang.reflect.Proxy; /** * Created by maguoqiang on 2017/2/11. */ public class MyPorxyTest { public static void main(String[] args) { MyProxyDemoImpl demo = new MyProxyDemoImpl(); MyHandler handler = new MyHandler(demo); MyProxyDemoImpl a = (MyProxyDemo...
/* * 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 cl.duoc.ptf8502.ejb.facade; import cl.duoc.ptf8502.ejb.entity.Rack; import javax.ejb.Stateless; import javax.persiste...
package com.example.cj.perfectj.service.impl; import java.util.List; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.data.redis.core.RedisTemplate; import org.springframewor...
package com.spring.views; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.poi.hssf.usermodel.HSSFFont; import org.apache.poi.hssf.usermodel.HSSFHeader; import org.apache.poi.hssf.usermodel.HSSFRow; import org....
package com.e6soft.form.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.e6soft.core.mybatis.EntityDao; import com.e6soft.form.FormService; imp...
package com.github.fragmention; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import java.util.ArrayList; import java.util.List; /** * 类描述 * 创建者:tiny * 日期:17/12/2 */ public class SupportDelegate { ...
package usingActionEvent; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.control.TextField; import javafx.scene.layout.BorderPane; import javafx.stage.Stage; public class Main extends Application { Label la...
package com.rms.risproject.util; import java.util.Calendar; public class Constant { private static final int MACID_LENGTH=16; public static final int SESSION_OVERTIME_MINUTES =30; public static final int QR_OVERTIME_SECONDS =3*24*60*60; //3天 以秒为单位 public static final String URINE_WX_INTERFACE_SCENECO...
/* * 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 tolteco.sigma.model.dao; import java.util.Date; import java.util.List; import tolteco.sigma.model.entidades.Financa; /** * ...
import java.io.*; import java.util.*; public class BridgeCrossing { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); int group = Integer.parseInt(in.readLine()); int peopleN = Integer.parseInt(in.rea...
package com.tencent.mm.plugin.sns.ui; import android.view.MenuItem; import android.view.MenuItem.OnMenuItemClickListener; import com.tencent.mm.plugin.sns.i$j; import com.tencent.mm.ui.base.h; class SnsMsgUI$11 implements OnMenuItemClickListener { final /* synthetic */ SnsMsgUI nYl; SnsMsgUI$11(SnsMsgUI snsM...
package com.cts.lifeengage.util; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class FNADbUtil { private static Connection connection = null; public static Connection getConnection() throws ClassNotFoundException, SQLException { String driver ="com.mysql.jdb...
import java.io.*; import java.sql.Connection; import java.sql.DriverManager; import java.sql.CallableStatement; import java.sql.SQLException; import java.util.StringTokenizer; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servle...
package com.ganesh.gsmarena.model; /** * @author shriganesh * */ public class GSMArenaData { private String brand=null; private String model=null; private String imageURL=null; private String productURL=null; //Network private String technology=null; private String twoGBands=null; private String threeGBa...
package com.herz.avl_tree.model; public class AVLNode<T> { private T mData; private AVLNode<T> mRight; private AVLNode<T> mLeft; private int mHeight; public AVLNode(T data) { this.mData = data; this.mHeight = 0; } public AVLNode(T data, int height) { this.mData = d...
package ru.otus.l131.servlet; /* * Created by VSkurikhin at winter 2018. */ import ru.otus.l131.dataset.*; import ru.otus.l131.db.*; public class Workload { private DBService dbService; public Workload(DBService dbService) { this.dbService = dbService; } public void run() { final ...
import Task.Login; import org.openqa.selenium.WebDriver; import org.testng.annotations.Test; public class TestLogin extends Base{ @Test public void testLogin(){ Login.as(webDriver, "Liz","admin123"); } }
package com.nontrace.ant.timer; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Timer; import javax.servlet.Serv...
package com.rickyluu.locker; import com.sun.jna.Native; import com.sun.jna.win32.StdCallLibrary; import com.sun.jna.platform.win32.WinNT.HANDLE; public interface Kernel32 extends StdCallLibrary { Kernel32 INSTANCE = (Kernel32)Native.loadLibrary("kernel32", Kernel32.class); public boolean SetProce...
package webdriver.service; import org.openqa.selenium.WebDriver; import webdriver.screen.cloud.GoogleCloudPageObject; import webdriver.screen.cloud.service.CloudParameters; public class CalculateService { public void calculate(WebDriver driver, CloudParameters cloudParameters) { new GoogleCloudPageObject...
package org.fhcrc.honeycomb.metapop; import java.util.Map; import java.util.List; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; /** * Saves the state of {@code Saveable} objects. * Created on 28 Apr, 2013. * @author Adam Waite * @version $Id: StateSave...
package com.qswy.app.model; /** * Created by ryl on 2017/1/4. */ public class ShoppingCarShop { private boolean isHave; private int id; private int pid; private String pname; private String img; private int skuId; private double price; private int amount; private int deliveFee; ...
package com.espendwise.manta.dao; import com.espendwise.manta.model.data.CostCenterAssocData; import java.util.List; import java.util.List; public interface CostCenterAssocDAO { public List<CostCenterAssocData> readCostCenterAssocs(Long costCenterId, String assocType); }
package de.fafeitsch.maze.domain; public class MazeBuilder { public static Cell buildMaze(char[][] maze, int startRow, int startCol) { Cell[][] cells = new Cell[maze.length][]; for (int row = 0; row < maze.length; row++) { cells[row] = new Cell[maze[row].length]; } for...
package com.example.linear_equation; import android.os.Bundle; import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import androidx.annotation.NonNull;...
package com.array; import java.util.Arrays; public class ArrayDirection { static int N; // 배열의 크기 public static void main(String[] args) { // TODO Auto-generated method stub int[][] data = { {1,2,3,4,5}, {1,2,3,4,5}, {1,2,3,4,5}, {1,2,3,4,5}, {1,2,3,4,5}, }; N =data.length; int[][] re...
package org.icabanas.jee.api.integracion.dao.consulta; /** * <br/><br/> * <b>Responsabilidad</b> : Enumeración que indica los distintos tipos de orden que se pueden aplicar a * la cláusula ORDER BY. * <br/> * <br/> * <ul> * <li></li> * </ul> * * @author f009994r * */ public enum OrderEnu...
package com.ifinance.model.base; import com.jfinal.plugin.activerecord.Model; import com.jfinal.plugin.activerecord.IBean; /** * Generated by JFinal, do not modify this file. */ @SuppressWarnings("serial") public abstract class BaseSaleorder<M extends BaseSaleorder<M>> extends Model<M> implements IBean { public v...
package com.tencent.mm.plugin.sns.ui.a; import com.tencent.mm.plugin.sight.decode.a.b; import com.tencent.mm.plugin.sight.decode.a.b.e; class i$1 implements e { final /* synthetic */ i okq; i$1(i iVar) { this.okq = iVar; } public final void d(b bVar, int i) { } }
package bnorm.messages; /** * The {@link MessageHandler} interface provides a simple way to require certain * methods pertaining to custom Robocode messages. * * @author Brian Norman * @version 1.0 */ public interface MessageHandler { /** * Handles the message that was specified. If the message handler ...
package com.cimcssc.chaojilanling.adapter.enterprise; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.cimcssc.chaojilanling.R; import java.util.ArrayList; /** *...
/* * 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 gerenciador.telas.ultilidades; import gerenciador.telas.LoginGUI; import java.awt.Desktop; import java.io.IOException; import ...
package util; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import java.util.List; /** * Created by STGLJY@126.COM on 2017/12/10. */ public class ControllerHelper { /** * 获得代表查询条件的List对象 ...
package dev.hive.test.etl; import java.util.Objects; /** * @fileName: ETLUtils.java * @description: 原始数据ETL工具类,基于MR做的数据清洗 * @author: by echo huang * @date: 2020-06-14 13:51 */ public class ETLUtils { public static String etlStr(String oriStr) { StringBuffer buffer = new StringBuffer(); if (O...
package com.tencent.mm.plugin.nearby.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import com.tencent.mm.model.au; import com.tencent.mm.plugin.nearby.ui.NearbyFriendsUI.14.1; class NearbyFriendsUI$14$1$1 implements OnCancelListener { final /* synthetic */ 1 ...
package com.future.msuser.controller; import org.springframework.beans.factory.annotation.Value; import org.springframework.cloud.context.config.annotation.RefreshScope; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; /** * @Date 2019/11/18 10...
package fotoshop.Events; import java.io.File; /** * PropertyMessage is used to pass various values to the Editor * {@link fotoshop.Editor#processCommand(fotoshop.Command) process command} method * via a {@link fotoshop.Command Command} object. * @author Benjamin Nicholls, bn65@kent.ac.uk */ public class Proper...
// Sun Certified Java Programmer // Chapter 7, P613 // Generics and Collections class Dog extends Animal { }
package com.example.mixture; import android.annotation.SuppressLint; import android.os.Build; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.view.View.OnClickListener; import android.widget.TextView; /** * Created by ouyangshen on 2017/12/11. */ @...
package javadecompiler.gui; import java.awt.BorderLayout; import java.awt.Container; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.io.File; import java.io.FileWriter; ...
package com.tencent.mm.g.a; import com.tencent.mm.sdk.b.b; public final class tf extends b { public a ceI; public b ceJ; public tf() { this((byte) 0); } private tf(byte b) { this.ceI = new a(); this.ceJ = new b(); this.sFm = false; this.bJX = null; } }...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distr...
import java.awt.Image; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; import javax.imageio.ImageIO; import javax.swing.ImageIcon; /* * To change this license header, choose License Headers in Project Properties. ...
package collection.visualizer.controller; import collection.visualizer.ACollectionVisualizer; import collection.visualizer.CollectionVisualizer; @SuppressWarnings("rawtypes") public abstract class AButtonPressTrapper implements ButtonPressTrapper { protected Control controller; protected CollectionVisualizer visua...
package com.jack.rookietest.csv; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStreamReader; /** * @author jack * @Classname CsvReadTest1 * Create by jack 2020/1/5 * @date: 2020/1/5 12:06 * @Description: */ public class CsvReadTest1 { public static void main(String[] arg...
package dia2901; import java.util.Scanner; public class ejercicio6 { public static void main(String[] args) { int multiplo = 5, valor; Scanner Teclado = new Scanner(System.in); for (int i = 0; i <= 50; i++) { if (i>4) { System.out.printf("\n %s x %s = %s",multiplo, i, multiplo*i); } ...
package com.qgil.controller; import java.util.Calendar; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.ui.ModelMa...
package com.nxtlife.mgs.enums; public enum PSDArea { PersonalDevelopment("Personal Development"), SocialDevelopment("Social Development"); private final String psdArea; public static boolean matches(String psdArea) { for (PSDArea pa : PSDArea.values()) { if (pa.getPsdArea().equalsIgnoreC...
package university; /** * Created by acedric on 10/02/2017. */ public class Course { private String courseName; private int courseGrade; Course(String courseName,int courseGrade){ this.courseName=courseName; this.courseGrade=courseGrade; } public void setCourseName(String course...
package com.jasoftsolutions.mikhuna.service; import android.app.IntentService; import android.content.Context; import android.content.Intent; import android.util.Log; import com.jasoftsolutions.mikhuna.activity.RestaurantListActivity; import com.jasoftsolutions.mikhuna.activity.preferences.RestaurantListFilterPrefere...
/* * 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.boris.vue; import com.boris.controleur.Sujet; /** * * @author boris */ public interface Observateur { ...
package ru.mail.controller; import com.fasterxml.jackson.annotation.JsonView; import com.google.gson.Gson; import ru.mail.service.UserDAO; import ru.mail.service.impl.UserDAOImpl; import ru.mail.service.jsonview.Views; import ru.mail.service.model.AjaxResponseUser; import ru.mail.service.model.User; import javax.serv...
package com.vilio.bps.commonMapper.pojo; import java.io.Serializable; import java.util.*; import java.text.SimpleDateFormat; import java.text.ParseException; /** * @实体名称 算法表 * @数表名称 BPS_ALGORITHM * @开发日期 2017-06-12 * @技术服务 www.fwjava.com */ public class BpsAlgorithm implements Serializable { /** * 数据...
package com.example.cine; import com.example.cine.model.Movies; import retrofit2.Call; import retrofit2.http.GET; public interface CineAPI { @GET("pam/cine.json") Call<Movies> getMovies(); }
package com.dataflow.exportable; import java.util.ArrayList; import java.util.List; public class TemplateFieldMapping { public List<Dependency> dependencies; public TemplateFieldMapping() { this.dependencies = new ArrayList<>(); } }
package com.tencent.mm.plugin.wallet.bind.ui; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import com.tencent.mm.ab.l; import com.tencent.mm.plugin.wallet.pay.a.a.b; import com.tence...
package pl.cwanix.opensun.commonserver.packets.processors; import io.netty.channel.ChannelHandlerContext; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.stereotype.Component; import pl.cwanix.opensun.commonserver.packets.c2s.C2SAskUnknownPacket; @Component @C...
package de.madjosz.adventofcode.y2016; import static org.junit.jupiter.api.Assertions.assertEquals; import de.madjosz.adventofcode.AdventOfCodeUtil; import java.util.List; import org.junit.jupiter.api.Test; class Day10Test { @Test void day10() { List<String> lines = AdventOfCodeUtil.readLines(2016,...
package design.pattern.responsibilitychain; public class SecondHandler extends AbstractHanler { public SecondHandler(AbstractHanler succesor, int level) { super(succesor, level); } @Override public void handle(AbstractRequest request) { System.out.println("second handle"+request.getContent()); } }
package com.Jnet.ChatApplication.Websocket; import com.google.gson.JsonObject; //The Sessions class implements this public interface MessageSender { void sendMessageToAll(JsonObject message); }
import java.util.Stack; public class ProducerThread extends Thread { private Stack<IProduct> stack; private IProduct newProduct; private int stackMaxSize; public ProducerThread(Stack<IProduct> stack, int stackMaxSize) { super(); this.stack = stack; this.stackMaxSize = stackMaxSize; } @Over...
package pk.edu.kics.dsl.qa.qe; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import pk.edu.kics.dsl.qa.entity.Question; import pk.edu.kics.dsl.qa.util.CollectionHelper; import pk.edu.kics.dsl.qa.util.StringHelper; public class CoDice extends Cooccurrence { HashMap<String, HashMap<Stri...
package org.learn.Question; import org.learn.PrepareTree.Node; public class DeleteNodeInBST { public static void inorder(Node root) { if(root == null) return; inorder(root.left); System.out.printf("%d ",root.data); inorder(root.right); } private static int min(Node node) { if(node.left == null) ...
package com.yt.s_server.home; public class Attendance { private int startSection; private String studentLeaveFormId; private String week; private String courseItem; private String teacher; private String course; private String freeListenFormId; private String type;//[1 旷课][2 迟到][3 早退][4...
package dao; import model.VisitorComment; public interface CommentDao extends BaseDao<Long, VisitorComment> { }
import java.io.Serializable; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; @DatabaseTable(tableName = "vagon") public class Vagon implements Serializable { @DatabaseField(persisted = false) private static final long sVer = 1L; @DatabaseField(id = true) pri...
public class RichestCustomerWealth { public static int maximumWealth(int[][] accounts) { int richest =0; int rich =0; for (int row =0; row<accounts.length; row++){ for (int col = 0; col<accounts[row].length; col++){ rich = rich + accounts[row][col]; } if (rich>richest...
package com.mx.profuturo.bolsa.configuration.security; import com.mx.profuturo.bolsa.context.TestContext; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframew...
package com.onlineretail.qa.constants; /** * This class contains the path of the log ,properties file,implicit wait,page load timeout */ import java.io.File; public class Constants { public final static String PROJECT_BASE_PATH= System.getProperty("user.dir"); public final static long IMPLICIT_WAIT = ...
package unalcol.search.multilevel; import unalcol.search.Goal; import unalcol.search.Search; import unalcol.search.Solution; import unalcol.search.space.Space; public class MultiLevelSearch<G, P> implements Search<P> { protected Search<G> lowLevelSearch; protected CodeDecodeMap<G, P> map; public MultiLev...
package ua.project.protester.service; import lombok.RequiredArgsConstructor; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframew...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package datos; import java.io.Serializable; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; /** * * @author profesor */ @XmlAccessorType(XmlAccessType.FIELD) public ...
package com.appc.report.model; import com.appc.framework.mybatis.annotation.Lazy; import com.appc.framework.mybatis.annotation.Property; import com.appc.framework.mybatis.annotation.Query; import com.appc.framework.mybatis.annotation.Where; import com.appc.framework.mybatis.common.enums.LazyType; import javax.persist...
/* * 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 co.id.mii.clientapp.config; import co.id.mii.clientapp.util.AuthorizationUtil; import java.io.IOException; import org.springfr...
package com.ai.slp.order.api.shopcart.impl; import com.ai.opt.base.exception.BusinessException; import com.ai.opt.base.exception.SystemException; import com.ai.opt.base.vo.ResponseHeader; import com.ai.opt.sdk.constants.ExceptCodeConstants; import com.ai.slp.order.api.shopcart.interfaces.IShopCartSV; import com.ai.slp...
package a4adept; public class IllegalFrame2DGeometryException extends RuntimeException{ private static final long serialVersionUID = 1L; public IllegalFrame2DGeometryException() { super("Illegal geometry"); } }
package kame.kameplayer.commands; import java.util.Arrays; import kame.kameplayer.baseutils.Utils; import kame.kameplayer.baseutils.Utils.FailType; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import o...
package com.onplan.persistence.mongodb; import com.google.common.base.Joiner; import com.mongodb.DB; import com.mongodb.MongoClient; import org.apache.log4j.Logger; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.net.UnknownHostException; import static com.google.com...
import java.io.FileNotFoundException; import java.io.PrintWriter; public class Receipt { public Receipt() { try { PrintWriter out = new PrintWriter("Receipt.txt"); out.println("*****************************************"); out.println(" RECEIPT! "); out.prin...
package com.ajayb.infoworks; import java.util.*; /** * Directed Acyclic graph implementation. Auto corrects itself when a cycle is detected */ public class DirectedAcyclicGraph<T> implements Iterable<T> { private final Map<T, Set<T>> mGraph = new HashMap<T, Set<T>>(); public boolean addNode(T node) { ...
package edu.iit.cs445.StateParking.Objects; import java.util.ArrayList; import java.util.HashMap; import edu.iit.cs445.StateParking.ObjectsEnum.VehicleType; public class NullPark implements ParkBoundaryInterface { private static NullPark instance = null; private NullPark() {} public static ParkBoundaryInterface g...
/* * Copyright 2010 Google 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 or ag...
package edu.mayo.cts2.framework.filter.match; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; import edu.mayo.cts2.framework.filter.match.RegexMatcher; public class RegexMatcherTest { private RegexMatcher matcher; @Before public void setUpMatcher(){ this.matcher ...
package com.tsm.template.controller; import com.tsm.template.dto.AuthTokenDTO; import com.tsm.template.dto.UserDTO; import com.tsm.template.model.User; import com.tsm.template.service.JwtTokenUtil; import com.tsm.template.service.UserService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.a...
package org.alienideology.jcord.event.channel.group.update; import org.alienideology.jcord.event.channel.group.GroupUpdateEvent; import org.alienideology.jcord.handle.user.IUser; import org.alienideology.jcord.internal.object.IdentityImpl; import org.alienideology.jcord.internal.object.channel.Channel; /** * @author...
/** * Project Name:WebScan * File Name:SimpleDatabaseSourceDriver.java * Package Name:databasesource * Date:2014年1月10日上午12:13:05 * Copyright (c) 2014, hzycaicai@163.com All Rights Reserved. * */ /** * Project Name:WebScan * File Name:SimpleDatabaseSourceDriver.java * Package Name:databasesource * Date:2014年1月...
package com.tencent.mm.aa; import android.os.StatFs; import com.tencent.mm.kernel.g; import com.tencent.mm.plugin.report.f; import com.tencent.mm.sdk.f.e; import com.tencent.mm.sdk.platformtools.x; import com.tencent.wcdb.Cursor; import com.tencent.wcdb.database.SQLiteDatabase; import com.tencent.wcdb.database.SQLiteD...
package com.tencent.mm.ui.chatting; public interface v$a { void ET(int i); }
package cn.itcast.demo02; public class SleepTreadDemo { public static void main(String[] args) { subSleepThread sst = new subSleepThread(); System.out.println(sst.getName());//用getName()得到sst线程的名字 sst.start(); System.out.println(Thread.currentThread().getName()); } }
package com.example.mayank.rock_paper_scissor; import android.app.PendingIntent; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.telephony.SmsManager; import android.view.View; import android.widget.Button; import android.widget.EditText...
import java.util.Scanner; /** * User: Alexandr * Date: 17.09.2014 */ public class Sell { public static void main(String[] args) { String name = new String("Inna, Yasya, Andrey"); String name2 = new String("Alexandr Rudenko"); System.out.println(name.toUpperCase()); System.out.println(nam...
package org.basic.comp.base; import javax.swing.*; import java.awt.*; import java.util.Vector; public class ComboBox extends JComboBox { /** * */ private static final long serialVersionUID = 8738097170338146861L; public ComboBox() { super(); setFirst(); } public ComboBox(ComboBoxMod...
package Controller; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.mvc.Controller; public class HelloController implements Controller{ public ModelAndView handleRequest(HttpServl...
package ex2_1; public class joueur { private String nom ; private String prenom; private int nomChandail; private String date; private String ville; private String position; private int score ; //constructure pas de type de retour public joueur(){ nom = "inconnue"; prenom = "inconnue"; } ...
package com.utils; import org.glassfish.jersey.jackson.JacksonFeature; import org.glassfish.jersey.server.ResourceConfig; import org.glassfish.jersey.server.mvc.jsp.JspMvcFeature; /** * Created by Administrator on 2017/8/28 0028. */ public class RestApplication extends ResourceConfig { public RestApplication() ...
package edu.miu.cs.cs425.demos.elibrary.service; import edu.miu.cs.cs425.demos.elibrary.model.Book; import java.util.List; public interface BookService { List<Book> getBooks(); }
package org.buaa.ly.MyCar.dto; import com.alibaba.fastjson.JSON; import com.google.common.collect.Lists; import lombok.extern.slf4j.Slf4j; import org.buaa.ly.MyCar.config.TestLoader; import org.buaa.ly.MyCar.entity.Order; import org.buaa.ly.MyCar.entity.VehicleInfo; import org.buaa.ly.MyCar.http.dto.OrderDTO; import o...
package com.github.paulovictorpvc.hearthstoneapi.util; import java.util.List; import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; import javax.validation.ConstraintViolation; import javax.validation.ConstraintViolationException; import com.github.paulovictorpvc.hearths...
/** * */ package corgi.hub.core.bean; import java.util.Date; /** * @author a * */ public class Principal { private String tokenId; private Date tokenExpireDate; private String username; public String getTokenId() { return tokenId; } public void setTokenId(String tokenId) { this.tokenId = tokenId...