text
stringlengths
10
2.72M
import java.io.*; import java.util.*; import java.lang.*; import java.net.ServerSocket; import java.net.Socket; import java.security.*; class utama { public static void main(String[] argv) { try { while (true) { ServerSocket serversocket = new ServerSocket(1234); Socket clientsocket = serversocket....
/* * Copyright 2002-2013 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package com.beiyelin.account.config; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.context.annotation.Bean; /** * 配置常用的Bean * Created by newmann on 2017-09-09. */ //@Configuration @Deprecated public class GlobalBeanConfig { @Bean public ObjectMapper ObjectMapper(){ ...
package analytic; public abstract class Analytical { double lambda; double t; private double p0; private int k; public Analytical(int k, double lambda, double t) { this.k = k; this.lambda = lambda; this.t = t; this.p0 = pZero(); } public int factorial(int n) { int fact = 1; for (int i = 1; i <= n...
package rhtn_homework; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.LinkedList; import java.util.Queue; import java.util.StringTokenizer; public class BOJ_1039_교환 { private static int N, K; private static Queue<Integer> queue; private static boolea...
package com.CallRail_Test.stepDef; import com.CallRail_Test.pages.HomePage; import com.CallRail_Test.utils.BaseClass; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; public class HomeSteps extends BaseClass{ HomePage home = new HomePage(getWebDriver()); @Then("^verify user is on homepage$"...
package com.akiosoft.mycoach; import android.app.DialogFragment; import android.support.v7.app.ActionBarActivity; import com.akiosoft.mycoach.com.akiosoft.mycoach.dialog.DeleteConfirmationFragment; /** * Created by nvoskeritchian on 9/10/14. */ public class SportsActivity extends ActionBarActivity implements Dele...
package spi.movieorganizer.data.person; import spi.movieorganizer.data.MovieOrganizerType; import exane.osgi.jexlib.data.manager.AbstractMutableListMapDM; import exane.osgi.jexlib.data.object.ExaneDataType; public class PersonDM extends AbstractMutableListMapDM<Integer, PersonDO> { @Override public ...
package com.eason.lottert.utils; import com.eason.lottert.bean.Cart; import javax.servlet.http.HttpSession; /** * @ 文件名: CartInitUtils * @ 创建者: Eason * @ 时间: 2018/10/8 11:48 * @ 描述: */ public class CartUtils { public static Cart Init(HttpSession session) { Cart cart = (Cart) session.getAttrib...
package org.opentosca.containerapi.resources.csar; import java.util.Set; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Context; import javax.ws.rs.core.MediaType; import javax.ws...
package com.tencent.mm.modelstat; import android.app.Activity; import android.app.Application; import android.app.Application.ActivityLifecycleCallbacks; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.SystemClock; import com.tencent.mm.plugin.report.f; import...
/** * Copyright 2009-2016 the original author or authors. * <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://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless requir...
package com.tencent.mm.protocal; final class c$hp extends c$g { c$hp() { super("serviceClick", "serviceClick", 304, false); } }
package com.ims.persistence.hibernate.dao; import java.util.List; import org.apache.log4j.Logger; import org.hibernate.Criteria; import org.hibernate.Query; import org.hibernate.Session; import com.ims.dto.ProductMasterDTO; import com.ims.dto.StockAlertDTO; import com.ims.exception.IPersistenceErrorCode; i...
/* * DOMUtil.java * This file was last modified at 2018.12.03 20:05 by Victor N. Skurikhin. * $Id$ * This is free and unencumbered software released into the public domain. * For more information, please refer to <http://unlicense.org> */ package ru.otus.utils.xml; import org.w3c.dom.Document; import org.xml.sa...
package com.cts.rabo.service; import java.util.ArrayList; import java.util.HashMap; import com.cts.bean.StatementModelBean; import com.cts.response.CustomError; @FunctionalInterface public interface ValidatorService { public HashMap<String, ArrayList<CustomError>> JsonValidatorSerivce(ArrayList<StatementModelBean...
package com.linkedbook.controller; import com.linkedbook.dto.comment.like.LikeCommentInput; import com.linkedbook.dto.comment.like.LikeCommentSearchOutput; import com.linkedbook.dto.comment.like.LikeCommentSearchInput; import com.linkedbook.response.PageResponse; import com.linkedbook.response.Response; import com.lin...
import java.util.HashMap; /* * (17.5) Letters and Numbers: Given an array filled with letters and numbers, * find the longest subarray with an equal number of letters and numbers. */ public class LettersAndNumbers { public static void main(String[] args) { // maps height to index HashMap<Integer...
package org.xgame.commons.serialize.simple; /** * @Name: NetMsgBase.class * @Description: // NetMsgBase * @Create: DerekWu on 2018/3/19 0:28 * @Version: V1.0 */ public class NetMsgBase implements IBaseObject { private int cmd; // 网络消息指令号(1-65535) /** * 网络消息基类构造函数 * * @param cmd 消息指令号 ...
package lando.systems.ld36.entities; import com.badlogic.gdx.math.Vector2; /** * Created by Brian on 8/28/2016. */ public class Boundary { public Vector2 position; public boolean enabled; public Boundary(Vector2 position) { this.position = position; this.enabled = true; } publ...
package se.ericthelin.bootstrap; import java.util.Properties; import java.util.regex.Matcher; import java.util.regex.Pattern; public class PropertiesMessageFactory implements MessageFactory { static final Pattern PLACEHOLDER_PATTERN = Pattern .compile("\\$\\{(\\w+)\\}"); private final Properties proper...
package com.wwylele.magiccube; import javax.microedition.khronos.egl.EGLConfig; import javax.microedition.khronos.opengles.GL10; import android.opengl.GLES20; import android.opengl.GLSurfaceView.Renderer; import android.opengl.Matrix; import android.content.res.Resources; class MainRenderer implements Renderer { ...
package decoratorpattern; public class Mocha extends CondimentDecorator { Beverage beverage; public Mocha(Beverage bv) { this.beverage = bv; } public String getDescription() { return this.beverage.getDescription() + ", 모카"; } public double cost() { return this.beverage.cost() + .20; } }
package org.arhor.diploma.commons; public interface ObjectUpdater { <T, R> void update(T target, R source); }
import java.io.IOException; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Reducer; public class ReduceJoinReducer extends Reducer<Text, Text, Text, Text> { public void reduce(Text key, Iterable<Text> values, Context context) throws IOException, InterruptedException { String name ...
/* * ************************************************************************************************* * Copyright 2017 Universum Studios * ************************************************************************************************* * Licensed under the Apache L...
package telas.sistema; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import sistema.GerenciadorImobiliarioDal; import javax.swing.JMenuBar; import javax.swing.JMenu; import javax.swing.JMenuItem; import javax.s...
package com.baidu.camera.template.gdx; import android.util.Log; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.scenes.scene2d.Acto...
/* * Copyright 2019 iserge. * * 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 w...
package edu.classm8web.rs.result; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class Result { private boolean success; private Error error; public Result() {} public boolean isSuccess() { return success; } public void setSuccess(boolean success) { this.suc...
package com.tencent.mm.plugin.mmsight.segment; public final class k { public static final class a { public static final int BW_10 = 2131689472; public static final int BW_100 = 2131689473; public static final int BW_20 = 2131689474; public static final int BW_50 = 2131689475; ...
/** * */ package com.cnk.travelogix.orgstructure.core.interceptors; import de.hybris.platform.catalog.model.CompanyModel; import de.hybris.platform.core.model.security.PrincipalGroupModel; import de.hybris.platform.servicelayer.interceptor.InterceptorContext; import de.hybris.platform.servicelayer.interceptor.Interc...
package com.greenfoxacademy.exampleexam.controllers; import com.greenfoxacademy.exampleexam.models.SecretCode; import com.greenfoxacademy.exampleexam.services.LinkService; import com.greenfoxacademy.exampleexam.services.LinkServiceImp; import org.springframework.http.HttpStatus; import org.springframework.http.Respons...
package aplicacoes; public class ExtraCode { public static void main(String[] args) { int sequence[] = { 1, 2, 1, 2 }; // System.out.println(almostIncreasingSequence(sequence) ); } public static boolean almostIncreasingSequence(int[] sequence) { boolean resposta = false; int contador = 0; int maior...
package com.tencent.mm.wallet_core.tenpay.model; import android.os.Parcel; import android.os.Parcelable; import android.os.Parcelable.Creator; import org.json.JSONObject; public class ITenpaySave$RetryPayInfo implements Parcelable { public static final Creator<ITenpaySave$RetryPayInfo> CREATOR = new 1(); publ...
package com.fkcw.util; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.util.Vector; import javax.swing.table.DefaultTableModel; import javax.swing.table.TableModel; public class DBUtils { public static TableModel rstotblmod(ResultSet rs){ try { ...
package DAO; import model.User; public interface IUserDAO { public User getUser(String name); public void saveUser(User user); public Boolean isValidUser(String name, String pwd); }
/* * 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 Index; /** * Esta clase calcula el índice de masa corporal de un invidivuo * * @author bort * @version 14-11 * @ */ publ...
/* * Copyright 2013 Cloudera 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 agreed to ...
/* * Copyright 2016 Andrei Zaiats. * * 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 t...
package lesson02; public class Car02 { public static void main(String[] args) { //ứng với default constructor bên carSP28 CarSP02 myCar = new CarSP02(); //ứng với constructor có 1 tham số bên carSP28 CarSP02 myCar1 = new CarSP02("Vinfast lux"); //ứng với constructor có 2 ...
package com.boshi.controller; import com.boshi.service.UserService; import com.boshi.util.RedisUtil; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import...
package JZOF; /** * Created by yang on 2017/4/7. */ /* 输入一个整数数组,判断该数组是不是某二叉搜索树的后序遍历的结果。 如果是则输出Yes,否则输出No。假设输入的数组的任意两个数字都互不相同。 */ public class BSTreePostSeq { public boolean VerifySquenceOfBST(int [] sequence) { if(sequence==null||sequence.length==0){ return false; } ...
package com.rbkmoney.machinarium.client; import com.rbkmoney.machinarium.domain.TMachineEvent; import com.rbkmoney.machinarium.exception.*; import com.rbkmoney.machinegun.stateproc.HistoryRange; import com.rbkmoney.machinegun.stateproc.Machine; import java.util.List; public interface AutomatonClient<A, V> { voi...
package com.estrelladelsur.social; import com.estrelladelsur.R; import com.estrelladelsur.miequipo.TabsEntrenamiento; import com.estrelladelsur.navigation.NavigationDrawerUsuario; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.AppBarLayout; import android.support.design....
package com.tencent.mm.plugin.exdevice.model; import com.tencent.mm.g.a.cz; import com.tencent.mm.g.a.cz$b; import com.tencent.mm.sdk.b.b; import com.tencent.mm.sdk.b.c; import com.tencent.mm.sdk.platformtools.x; class e$17 extends c<cz> { final /* synthetic */ e iup; e$17(e eVar) { this.iup = eVar; ...
package com.darichey.blockgame.util; import com.darichey.blockgame.world.chunk.Chunk; public class PerlinNoise { private long seed; public PerlinNoise(long seed) { this.seed = seed; } public int getNoise(int x, int range) { int selectionSize = Chunk.WIDTH * 16; // The distance between the selected points ...
package com.selenium.prueba; import java.util.HashMap; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.sele...
package wisc.jj.recbuffer; import java.io.BufferedInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.util.Arrays; import android.app.Activity; import android.os.SystemClock; import android.util.Log; public class RecBuffer imp...
package modul3.geldautomat; public class Konto { private double kontostand; public double getKontostand() { return kontostand; } public void setKontostand(double kontostand) { this.kontostand = kontostand; } public void einzahlen(double betrag) { this.kontostand += be...
package ru.lischenko_dev.fastmessenger.vkapi.models; public class VKStatus { public String text; public VKAudio audio; }
package com.tencent.mm.plugin.game.ui.tab; import android.view.MenuItem; import android.view.MenuItem.OnMenuItemClickListener; class GameTabHomeUI$1 implements OnMenuItemClickListener { final /* synthetic */ GameTabHomeUI kcY; GameTabHomeUI$1(GameTabHomeUI gameTabHomeUI) { this.kcY = gameTabHomeUI; ...
package pers.pbyang.proxy; import java.util.List; import pers.pbyang.connection.DatebaseConnection; import pers.pbyang.dao.MemberDao; import pers.pbyang.entity.Member; import pers.pbyang.impl.MemberDaolmpl; public class MemberDAOProxy implements MemberDao{ private DatebaseConnection dbc = null; private MemberDao dao ...
package br.com.pcmaker.dao; import java.util.List; import br.com.pcmaker.entity.TimelineOrdemServico; public interface TimelineOrdemServicoDAO{ List<TimelineOrdemServico> query(Integer idOrdemServico); }
package com.Collections_TreeSetUsingNavigateSetInterface; public class CloneTreeSet { }
/* * created 04.02.2008 by sell * * $Id$ */ package com.byterefinery.rmbench.extension; import com.byterefinery.rmbench.external.IExternalJdbcProvider; public class ExternalJdbcProviderExtension extends NamedExtension { private final IExternalJdbcProvider provider; protected ExternalJdbcProviderExtension( ...
package br.com.edu.fafic.release1.repositories; import br.com.edu.fafic.release1.domain.Aluno; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; import java.util.UUID; public interface AlunoRepository extends JpaRepository<Aluno, UUID>{ Aluno findByNome(String nome); Aluno...
package com.jiuzhe.app.hotel.dao.mapper; import com.jiuzhe.app.hotel.dto.PriceBondDto; import com.jiuzhe.app.hotel.entity.HotelSku; import com.jiuzhe.app.hotel.entity.SkuDailyPrice; import com.jiuzhe.app.hotel.entity.SkuImg; import org.apache.ibatis.annotations.*; import org.springframework.stereotype.Repository; imp...
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2015 Paco Avila & Josep Llort * * No bytes were intentionally harmed during the development of this application. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GN...
package com.tencent.mm.plugin.appbrand.launching; import android.content.DialogInterface; import android.content.DialogInterface.OnDismissListener; class AppBrandLaunchProxyUI$2 implements OnDismissListener { final /* synthetic */ AppBrandLaunchProxyUI geK; AppBrandLaunchProxyUI$2(AppBrandLaunchProxyUI appBr...
package com.tencent.mm.plugin.appbrand.jsapi.audio; import com.tencent.mm.model.u; import com.tencent.mm.model.u.b; import com.tencent.mm.plugin.appbrand.config.AppBrandSysConfig; import com.tencent.mm.plugin.appbrand.e$b; import com.tencent.mm.plugin.appbrand.ipc.AppBrandMainProcessService; import com.tencent.mm.plug...
package javabasico.aula13labs; import java.util.Scanner; /** * @author Kim Tsunoda * Objetivo: Faca um Programa que pergunte quanto você ganha por hora e o número de horas trabalhadas no mês. Calcule e mostre o total do seu salário no referido mês. */ public class Exercicio08 { public static void ...
/* * generated by Xtext */ package com.rockwellcollins.atc.serializer; import com.google.inject.Inject; import com.rockwellcollins.atc.limp.AbstractType; import com.rockwellcollins.atc.limp.AbstractTypeDef; import com.rockwellcollins.atc.limp.ArrayAccessExpr; import com.rockwellcollins.atc.limp.ArrayExpr; import com...
package BattleShipRMI; import java.rmi.Remote; import java.rmi.RemoteException; public interface BattleShipServerInterface extends Remote{ void rmiGame(BattleShipClientInterface battleShipClientInterface) throws RemoteException; void playTheGame(BattleShipClientInterface battleShipClientInterface, Player play...
package Info; import java.net.URL; import java.net.URLEncoder; public class requestSubwayIDForSubwayName { // 순서대로 요청 String site = "http://openapi.tago.go.kr/openapi/service"; String service = "/SubwayInfoService"; // 지하철 관련 정보 조회 서비스 String operation = "/getKwrdFndSubwaySttnList"; // 키워드 기반 지하철역 목록 Str...
package net.raydeejay.gossip.test; import java.lang.ref.*; public class WeakExample { public static void main(String[] argv){ System.out.println("Free Memory before allocation: " + Runtime.getRuntime().freeMemory()); //WeakReference<String> ref = new WeakReference<String>(new String("Hello!")); WeakReference r...
package com.example.developer001.greenzoneapplication; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.util.List; public class MyAdapter e...
package com.nhatdear.sademo.helpers; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Created by NhatNguyen on 11/25/2016. */ public class SA_Validator { private static final String EMAIL_PATTERN = "^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@" + "[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,...
/* * 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 basededatos; /** * * @author JOSAFAT */ public class Principal extends javax.swing.JFrame { /** * Creates new fo...
package com.tencent.mm.plugin.sns.ui; import android.os.Bundle; import android.os.Environment; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.view.WindowManager; import android.widget.Button; import android.widget.Li...
package pl.finapi.spring; import org.junit.Test; import org.springframework.context.support.ClassPathXmlApplicationContext; public abstract class BaseSpringConfigTest { @Test public void shouldInstantiateAllBeans() { ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(getContextF...
package aula12; public class Regiao { private String nome; private int populacao; public Regiao (String aNome, int aPopulacao) { this.nome = aNome; this.populacao = aPopulacao; } public String getNome() { return this.nome; } public int getPopulacao() { return this.populacao; } ...
package com.example.copa_america; 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.TextView; public class FragmentEquipo extends Fragment { View view; TextView cambio; pub...
package net.minecraft.init; import com.google.common.collect.Sets; import java.util.Set; import net.minecraft.potion.PotionType; import net.minecraft.util.ResourceLocation; public class PotionTypes { private static PotionType getRegisteredPotionType(String id) { PotionType potiontype = (PotionType)PotionType.RE...
package Projects.Minigames; import java.util.Random; public class dice { public static void main(String[] args) { Random num = new Random(); int x = num.nextInt(6); System.out.println("\nNumber Rolled: " + x); } }
package com.example.administrator.codeviewactivity; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.LinearLayout; import android.widget.TextView; /** * 在代码中控制ui界面 * */ public cla...
package byow.Core; import java.util.Random; public class Hallway { public static final int MIN_LENGTH = 3; public static final int MAX_LENGTH = 10; public enum Direction { North, East, South, West, } private int hallwayLength; //Random length of the hallway private int startXPo...
package com.solomon.repository; import com.solomon.domain.Article; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; import java.util.Date; /** * Created by xuehaipeng on 2017/6/13. */ @Repository pu...
package com.designPattern.behaviorPattern.commandMode; public interface Command { void exe(); }
package api.longpoll.bots.methods.impl.market; import api.longpoll.bots.methods.AuthorizedVkApiMethod; import api.longpoll.bots.methods.VkApiProperties; import api.longpoll.bots.model.objects.media.MarketItem; import api.longpoll.bots.model.response.GenericResponse; import com.google.gson.annotations.SerializedName; ...
/** * */ package org.usfirst.frc.team467.robot.simulator.draw; import javafx.scene.Group; import javafx.scene.paint.Color; import javafx.scene.shape.Rectangle; /** * */ public class PowerCubeShape { // Cube Dimensions private static final double CUBE_BASE_LENGTH_INCHES = 13.0; // Cube Shapes private Group ...
public class TestException { public static void main( String[] args ) { try { String argument = args[0]; int n = Integer.parseInt( argument ); factorielle( n ); } catch( ArrayIndexOutOfBoundsException e ) { System.out.println( "Indiquez le nombre d'entiers sur la ligne de commande" ); } ca...
package com.example.ui.pages; import com.codeborne.selenide.SelenideElement; import static com.codeborne.selenide.Selenide.*; public abstract class WebPage { public String url; public String title; }
package com.techtalentsouth.Assessment.assessment; public interface AssessmentRepository { }
package feb; public class exm { public static void main(String[] args) { jan a = new Animal(); a.fcc } }
package com.ims.exception; public interface IPersistenceErrorCode { public static final String DATABASE_PROBLEM = "PER_001"; public static final String DATABASE_CONSTRAINT_ERROR = "PER_002"; public static final String YOU_R_USING_STALE_DATA = "PER_003"; public static final String DUPLICATE_USER_NAME = "PER_0...
package org.workers.impl.rs_guide; import org.OrionTutorial; import org.workers.TutorialWorker; public class ClickOptionsTab extends TutorialWorker { public ClickOptionsTab(OrionTutorial mission) { super(mission); } @Override public boolean shouldExecute() {return true;} @Override public void work() { ...
package com.legalzoom.api.test.dto; public class SecurityQuestionIdDTO implements DTO{ /* private int customerID; public int getCustomerID() { return customerID; } public void setCustomerID(int customerID) { this.customerID = customerID; }*/ /* private String question; private String answer; ...
package cl.duoc.ptf8502.ejb.entity; import java.io.Serializable; import java.util.List; import javax.persistence.Basic; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.Named...
package com.jst.mapper; import java.util.List; import java.util.Map; import com.jst.model.Sys_user; public interface Sys_UsersMapper { //通过账号查询密码 public Sys_user getPwd(String uname); //查询所有用户(有分页) public List<Sys_user> listAll(Map map); //查询有多少条用户数据 int listAllRows(); //添加用户 public void addUs...
package com.pad.client; import com.pad.Employee; import com.pad.Filter; import com.pad.ServerStatus; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.InetSocketAddress; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import java....
/** * DNet eBusiness Suite * Copyright: 2010-2013 Nan21 Electronics SRL. All rights reserved. * Use is subject to license terms. */ package net.nan21.dnet.module.bd.business.api.elem; import java.util.List; import net.nan21.dnet.core.api.service.business.IEntityService; import net.nan21.dnet.module.bd.dom...
package com.saraew; import javax.swing.*; import javax.swing.filechooser.FileNameExtensionFilter; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowEvent; import java.io.File; public class AddDialog extends JDialog { private JPanel input, name,...
package edu.buffalo.cse.sql; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.List; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FilterInputStream; import java.io.IOException; import ja...
package com.att.api.sms.controller; import java.io.BufferedReader; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.json.JSONObject; import com.att.api.controller.APIController; import com.att.api.sms.model.SMSReceiveStatus; import com.att.api.sms.service.SMSFi...
/** * Copyright 2014 the staff of 52°North Initiative for Geospatial Open * Source Software GmbH in their free time * * 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.a...
package fr.jmini.htmlchecker.rules.impl; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.fail; import java.io.File; import java.util.List; import org.junit.Test; import com.google.common.io.Resources; import com.selesse.jxlint.model.rules.LintError; public cl...
package com.bih.nic.saathi.DataBaseHelper; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteException; import android.database.sqlite.SQLiteOpen...
package com.serenskye.flickrpaper.enums; import android.util.Log; import java.util.Arrays; import java.util.List; public enum ImageSize { SMALL (240, "url_m", "width_m", "height_m"), SMALLPLUS (320, "url_n", "width_n", "height_n"), MEDIUM (600, "url_z", "width_z", "height_z"), MEDIUMPLUS(800, "url_c", "width_c", ...
package com.tencent.mm.plugin.account.ui; import android.content.Intent; import android.view.View; import android.view.View.OnClickListener; class FacebookFriendUI$12 implements OnClickListener { final /* synthetic */ FacebookFriendUI eQm; FacebookFriendUI$12(FacebookFriendUI facebookFriendUI) { this...