text
stringlengths
10
2.72M
package com.lvmama.www.android_listview.ItemBean; import android.content.Context; import android.media.Image; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.Gallery; import android.widget.Ima...
import java.util.Scanner; public class homework_13{ public static void main(String[] args){ System.out.println("name:cck, number:20151681310210"); System.out.println("welcome to java"); System.out.print("Enter the rows and columns in the array: "); Scanner input = new Scanner(System.in); int input_row...
package br.com.fatec.proximatrilha.service.provider; import static br.com.fatec.proximatrilha.utils.ValidateUtils.notNullParameter; import java.sql.Timestamp; import java.util.Collection; import java.util.logging.Level; import java.util.logging.Logger; import org.springframework.beans.factory.annotation.Aut...
/* * Copyright 2018 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 applica...
package com.baizhi.controller; import com.baizhi.entity.User; import com.baizhi.service.UserService; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.IncorrectCredentialsException; import org.apache.shiro.authc.UnknownAccountException; import org.apache.shiro.authc.UsernamePasswordToken; import org...
package br.cefetrj.sca.service.util; import java.util.ArrayList; @SuppressWarnings("serial") public class SolicitaInclusaoDisciplinaResponse extends ArrayList<SolicitaInclusaoDisciplinaResponse.Item>{ public class Item { private String nomeDepartamento; private String codigoDepartamento; public Item(String...
package scalagoon; import static org.junit.Assert.assertEquals; import java.util.Arrays; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; @RunWith(Parameterized.class) public class ShortSpares { ...
package sop.utils; import java.io.FileInputStream; import java.io.IOException; import java.util.List; import org.apache.commons.lang.ArrayUtils; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.poifs.filesystem.POIFSFileSystem; import dwz.common...
/* * Merge HRIS API * The unified API for building rich integrations with multiple HR Information System platforms. * * The version of the OpenAPI document: 1.0 * Contact: hello@merge.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.te...
package com.fz.dao; import com.fz.pojo.ProductInfo; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; /** * @author: FZ * @date: 2021/4/15 16:27 * @description: */ public interface P...
package com.himanshu.springboot2.angular.orders.dao; import com.himanshu.springboot2.angular.orders.entity.Customer; import org.springframework.data.repository.CrudRepository; public interface CustomerDao extends CrudRepository<Customer, Long> { }
package graph; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.Rectangle; import java.awt.image.BufferedImage; import java.util.ArrayList; import java.util.EnumMap; import util.Enums.ColorMode; import util.Enums.DisplayMode; /** * * @author Joac...
package fr.campusacademy.oopcourse.tetrisproject.game; import org.newdawn.slick.BasicGame; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; public class SimpleSlickGame extends BasicGame { public SimpleSlickGame(String gamename) { super(gamename);...
package com.gxtc.huchuan.im.bean.dao; import com.gxtc.huchuan.im.bean.RemoteMessageBean; import com.gxtc.huchuan.im.bean.RemoteMessageBeanDao; import org.greenrobot.greendao.DaoException; import org.greenrobot.greendao.annotation.Entity; import org.greenrobot.greendao.annotation.Generated; import org.greenrobot.green...
package com.thepoofy.website_searcher.csv.writer; import java.io.FileNotFoundException; import java.io.IOException; import java.util.List; import com.thepoofy.website_searcher.models.MozResults; /** * * @author wvanderhoef */ public interface MozWriter { public void toFile(String fileName, List<MozResults> ...
package org.vpontus.vuejs.web.rest.errors; import org.zalando.problem.AbstractThrowableProblem; import org.zalando.problem.Status; /** * @author vpontus */ public class OperationNotAllowedException extends AbstractThrowableProblem { public OperationNotAllowedException(String message) { super(ErrorConst...
package servlet; import java.io.IOException; import java.io.PrintWriter; import java.sql.SQLException; import java.util.List; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.htt...
package com.kwik.repositories.product; import java.util.List; import com.kwik.models.Product; public interface ProductRepository { Product add(Product product); Product update(Product product); List<Product> listAll(); List<Product> findBy(List<Long> ids); Product findBy(Long id); void destroy(Product p...
package old.Data20180411; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Set; public class WordBreakII { ArrayList<String> list = new ArrayList<>(); public static void main(String[] args) { String s = "catsanddog"; Set<String> dict = new HashSet<Stri...
package com.mobdeve.s11.g32.tindergree.Adapters; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import com.mobdeve.s11.g32.tindergree.Models.Chat; import com.mobdeve.s11.g32.tindergree....
package com.cmm.pay.refund.dto; import lombok.Data; import java.io.Serializable; @Data public class RefundNoticeResultDTO implements Serializable { private Integer code; //1:成功,-1:失败 private String msg; private String tradeNo; private Long refundSerialNo; }
package org.e7.s2nd.codec; /** * @author e7 */ public class BaseSerializer { public static byte[] shortToByteArray(int a) { return new byte[] { (byte) ((a >> 8) & 0xFF), (byte) (a & 0xFF) }; } public static short byteArrayToShort(byte[] b) { return...
/* WebApp.java Purpose: Description: History: Fri Dec 9 16:23:08 2005, Created by tomyeh Copyright (C) 2005 Potix Corporation. All Rights Reserved. {{IS_RIGHT This program is distributed under LGPL Version 2.1 in the hope that it will be useful, but WITHOUT ANY WARRANTY. }}IS_RIGHT */ package org.z...
package com.example.macintosh.moviesprojectstage1; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import android.view.ViewGroup; import java.util.ArrayList; import java.util.Lis...
package com.wjfit.introspector; public class User { private String name; private int age; private boolean man; //属性名:name public void setName(String name) { this.name = name; } //属性名:age public int getAge() { return age; } //属性名:man public boolean isMan() { return man; } //属性名:man public void setM...
package io.github.cottonmc.libcd.api.tweaker; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.function.Function; import net.minecraft.class_2960; public class TweakerManager { public static final TweakerManager INSTANCE = new TweakerManager(); pri...
package net.mv.dao; import org.hibernate.Session; public class AnimalWebDAO { public static Animal lookup(String id) { Session session = null; session = HibernateUtility.getSessionFactory().openSession(); //transaction? long l_id = Long.parseLong(id); System.out.println(l_id); Animal a1 = (Animal)ses...
package com.koreait.board2.db; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import com.koreait.board2.model.BoardCmtVO; import com.koreait.board2.model.BoardVO; public class BoardDAO...
package com.daexsys.automata.event.tile; import com.daexsys.automata.Tile; import com.daexsys.automata.event.Event; public class TileAlterEvent implements Event { private Tile tile; private TilePlacementReason tileAlterCause; public TileAlterEvent(Tile tile, TilePlacementReason tileAlterCause) { ...
package br.cefetrj.sca.dominio.repositories; import java.io.Serializable; import org.springframework.data.jpa.repository.JpaRepository; import br.cefetrj.sca.dominio.Departamento; public interface DepartamentoRepositorio extends JpaRepository<Departamento, Serializable> { public Departamento findDepartamentoByI...
package dk.webbies.tscreate.paser.AST; import com.google.javascript.jscomp.parsing.parser.util.SourceRange; import dk.webbies.tscreate.paser.ExpressionVisitor; import java.util.Collections; /** * This can only occur as expressions in properties of objects. */ public class GetterExpression extends Expression { ...
package entities; import javax.persistence.CascadeType; import javax.persistence.OneToMany; import javax.persistence.Transient; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.util.NoSuchElementException; @javax.persistence.Entity public class University extends Entity impl...
package com.donkeymonkey.recyq.defines; public class Defines { // Waster locations public class NearestWasteLocation { public final static String kAmsterdamsePoort = "A'damse Poort"; public final static String kHBuurt = "H-Buurt"; public final static String kHolenDrecht = "Holendrech...
/* CAFileFilter -- a class within the Cellular Automaton Explorer. Copyright (C) 2007 David B. Bahr (http://academic.regis.edu/dbahr/) 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; eit...
package vehicles.interf; public interface Travel { double countSpeed(); }
package org.apache.bookkeeper.proto; import com.google.protobuf.ByteString; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.apache.bookkeeper.bookie.Bookie; import org.apache.bookkeeper.bookie.BookieException; import org.apache.bookkeeper.proto.BookkeeperProtocol.ReadRequest; import org.apache.bo...
package com.infohold.bdrp.org.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import javax.persistence.Transient; import org.apache.commons.lang3.builder.HashCodeBuilder; import com.infohold.core.model.BaseIdModel; import com.infohold.core.utils.StringUtils; ...
package com.jrz.bettingsite.event; import com.jrz.bettingsite.team.Team; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.Optional; @Controller public class EventController { @Autow...
//Created by MyEclipse Struts // XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_3.8.2/xslt/JavaClass.xsl package com.aof.webapp.action.helpdesk; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ActionFor...
package TreeMap; import java.util.Iterator; import java.util.Map; import java.util.TreeMap; public class Treemap { public static void main(String[] args) { Student2 s1 = new Student2("Bindu","1"); Student2 s2 = new Student2("Priya","2"); Student2 s3 = new Student2("Deepu","3"); Student2 s4 = ...
package com.vmware.onlinetest; import java.util.Arrays; import java.util.List; /* * Given list of song durations, find the pairs of songs which sum up to 60 or multiples of 60 * * songs = [10, 50, 90, 30] * combinations are (10, 50) and (90, 30) so output is 2. */ public class SongCombinations { /* * Ti...
package com.example.android.worldheadlines.utilitaries; import android.content.ContentValues; import android.content.Context; import com.example.android.worldheadlines.database.Contract; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.List; public class GetJso...
/// Roee Ebenstein /// 2013.09.23 //////////////////////////// // This is the main file - creates the vectors, and writes the files. // Over here there's also an xml readers that extract the interesting sections of the xmls. import java.io.File; import java.io.FilenameFilter; import org.w3c.dom.Document; impo...
package com.ibisek.outlanded.smsReceiver; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; ...
package mathPhysicsEngine; public class WorldPoint { private double x; private double y; private double z; private double t; public WorldPoint(double x, double y, double z, double t) { super(); this.x = x; this.y = y; this.z = z; this.t = t; } public WorldPoint(double x, double y, double z) { supe...
package com.parse; import java.util.regex.Matcher; import java.util.regex.Pattern; public class LogRegExp { public static void main(String[] args) { // Input for matching the regexe pattern String input = "11-09-2017 03:40:53 - :: | Error: 3303 | P_36628_6270 | 6275000150 Error: 3303 36628 ...
package main.java.Pipelines; import main.java.Pipelines.Advanced.BetterTowergoalPipeline; import main.java.Pipelines.Basic.PipelineTester; import main.java.Pipelines.Basic.PnPPipelineTester; import main.java.Utils.BetterTowerGoalUtils; import main.java.Utils.CvUtils; import main.java.Utils.VideoPlayback; import org.op...
package baek2675; 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)); //문자열 상태인 버퍼 리더를 사용할것이다 ...
package Lec_05_Whill_Loop_1; import java.util.Scanner; public class Pro_05_02_ExamPreparation { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.print("Въведете броя незадоволителни оценки, които може да получи: "); int inputNumPoorGrade = In...
/*********************************************************** * @Description : * @author : 梁山广(Liang Shan Guang) * @date : 2020/5/4 12:42 * @email : liangshanguang2@gmail.com ***********************************************************/ package 第4到27章_23大设计模式.第21章_观察者模式.订阅课程的例子; public class Ques...
package com.bofsoft.laio.customerservice.DataClass.Order; import com.bofsoft.laio.data.BaseData; /** * 设置默认的Erp账号 * * @author yedong */ public class SettingDefaultErpAccountData extends BaseData { // 请求参数 // ERPId Integer ERP记录Id public String UserPhone; // 用户手机号(如果没有就填写“”) public String UserERPNa...
package br.com.belezanaweb.domain; public enum WarehouseType { ECOMMERCE(1), PHYSICAL_STORE(2); private int codigo; WarehouseType(int codigo) { this.codigo = codigo; } public int getCodigo() { return codigo; } }
package com.bag.utils.crawler.htmlParser; import com.bag.pin.model.Pin; import org.joda.time.DateTime; import org.joda.time.format.DateTimeFormat; import org.jsoup.nodes.Document; import org.springframework.stereotype.Service; import org.springframework.util.StringUtils; import java.util.Date; /** * Created by john...
package com.pricer.test.menuparser.parser; import com.fasterxml.jackson.dataformat.xml.XmlMapper; import com.pricer.test.menuparser.model.BreakfastMenu; import com.pricer.test.menuparser.model.Food; import lombok.extern.slf4j.Slf4j; import java.io.IOException; import java.nio.file.Path; import java.util.Arrays; impor...
public class TestStdArrayAppend{ public static void main(String[] args){ int[] a = [10,20,50]; int[] b = [12,22,55]; int i = 2; //Test 1 System.out.println(StdArray.append(a,b).length == a.length + b.length); //Test 2 System.out.println(append(a,b)[i] == a[i]); //Test 3 System.out.println(...
package com.kingnode.gou.dto; import java.math.BigDecimal; import com.kingnode.gou.entity.OrderHead; import com.kingnode.gou.entity.OrderReturnDetail; /** * @author 58120775@qq.com (chenchao) * 订单返回列表 */ public class OrderReturnListDTO{ private long productId;//产品id private String orderNo;//订单编号 privat...
/** * All rights Reserved, Designed By www.tydic.com * @Title: ItemParamItemController.java * @Package com.taotao.controller * @Description: TODO(用一句话描述该文件做什么) * @author: axin * @date: 2018年12月15日 上午12:02:03 * @version V1.0 * @Copyright: 2018 www.hao456.top Inc. All rights rese...
package com.apssouza.mytrade.trading.forex.portfolio; public enum ExitReason { STOP_ORDER_FILLED, COUNTER_SIGNAL, RECONCILIATION_FAILED, END_OF_DAY }
/* * Copyright 2016 Virtual Rainbow, LLC * * 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 a...
public class ElectronicPetEasy { public String isDifficult(int st1, int p1, int t1, int st2, int p2, int t2) { for(int i = 0; i < t1; ++i) { if(st2 <= st1) { int test = st1 - st2; if(test%p2 == 0) { if(test/p2 < t2) { re...
package exer2; import java.util.Random; public class Main { static Random random = new Random(); public static int sumMachine =1 + random.nextInt(20); static int candidate = 1+random.nextInt(10); public static void main(String[] args) { Runnable server = new Server(); Thread thread = ne...
package br.com.abc.javacore.metodo.test; import br.com.abc.javacore.metodo.classes.Calculadora; public class ParametrosTest { public static void main(String[] args) { Calculadora calc = new Calculadora(); int num1 = 5; int num2 = 10; calc.alteraDoisNumeros(num1, num2); System.out.println("Dentro do teste")...
/* * 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 Controller; import gui.InfoEvent; import java.io.File; import java.io.IOException; import java.util.List; import model.Animal;...
/* * 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 mx.appsw.persistencia.integration; import java.util.HashMap; import java.util.Map; /** * * @author kitto */ public class Se...
package com.beike.common.enums.trx; /** * @Title: BizActHistoryType.java * @Package com.beike.common.enums.trx * @Description: 帐务相关的外在产品业务类型 * @author wh.cheng@sinobogroup.com * @date May 5, 2011 2:35:06 PM * @version V1.0 */ public enum BizType { /** * 帐务相关的外在产品业务类型。可频繁更改 */ CARDLOAD,// 千...
package entity; import entity.Item; import java.util.ArrayList; public class Minibar { ArrayList<Item> itemlist = new ArrayList(); ArrayList<String> consumedItems = new ArrayList(); private int barrevenue = 0; public Minibar(ArrayList<Item> itemlist) { this.itemlist = itemlist; } ...
/* ------------------------------------------------------------------------------ * 软件名称:他秀手机版 * 公司名称:多宝科技 * 开发作者:Yongchao.Yang * 开发时间:2014年7月15日/2014 * All Rights Reserved 2012-2015 * -----------------------------------------------------...
package collection_framework; import java.util.*; public class ComprableSorting { public static void main(String[] args) { List<Family1> list=new ArrayList<Family1>(); list.add(new Family1("Pitamber rana", 70, "old but for me always gold")); list.add(new Family1("Vishal rana", 20, "youngster")); list...
package edu.mit.needlstk; public enum IdentifierType { STREAM, RELATION, COLUMN, AGG_FUNC, STATE, STATE_OR_COLUMN, }
package model.SQLserver; import java.io.Serializable; import javax.persistence.*; /** * The persistent class for the fakturak database table. * */ @Entity @NamedQuery(name="Fakturak.findAll", query="SELECT f FROM Fakturak f") public class Fakturak implements Serializable { private static final long serialVersio...
package com.worldchip.bbp.bbpawmanager.cn.utils; import android.util.Log; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import com.worldchip.bb...
package com.chinasoft.test; import java.util.List; import javax.annotation.Resource; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import com.chinasoft.dao.CkDao...
/** * Dragster.java */ /** * Dragster is a class to represent a dragster that races at a drag strip. Create Dragster objects and "race" them to * determine their elapsed time for a 1/4 mile race. * * @author James Veith jmv5576 */ public class Dragster { /** * Private instance variable for the time it...
package com.example.g0294.tutorial.memoryleak; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import com.example.g0294.tutorial.R; public class MemoryTwo extends Activity{ public static final String TAG = "Memory Two"; private Object[] mObjs = ...
package com.bigpotato.async.hystrix; import com.netflix.hystrix.HystrixCommand; import com.netflix.hystrix.HystrixCommandGroupKey; /** * Created by hjy on 16/9/20. */ public class HelloCommand extends HystrixCommand<String> { private final String name; public HelloCommand(String name) { super(Hystr...
/* * 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 dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLEx...
package com.marcioalexfig.blognoticias.modelo; /** * Created by alex on 25/05/2016. */ public class Noticia { String titulo; String link; String imageLink; public Noticia() {} public Noticia(String titulo, String link, String imageLink) { this.titulo = titulo; th...
package com.pwq.Stream; import org.junit.Test; import java.io.*; /** * Created by pwq on 2018/1/14. */ public class BufferStreamTest { public static void main(String[] args) throws IOException { FileInputStream fileInputStream = new FileInputStream("示例图片_02.jpg"); BufferedInputStream bufferedIn...
package by.htp.cratemynewpc.controller.command.impl; import by.htp.cratemynewpc.controller.command.Command; import by.htp.cratemynewpc.domain.PCBean; import by.htp.cratemynewpc.service.PcService; import by.htp.cratemynewpc.service.ServiceFactory; import by.htp.cratemynewpc.service.exception.ServiceException; import j...
package com.example.prova; import androidx.annotation.StringRes; import androidx.appcompat.app.AppCompatActivity; import android.annotation.SuppressLint; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.But...
package com.example.gubee.hexagon.api.impl; import java.util.List; import com.example.gubee.hexagon.api.ServicoTecnologia; import com.example.gubee.hexagon.domain.Tecnologia; import com.example.gubee.hexagon.spi.TecnologiaRepository; import lombok.RequiredArgsConstructor; @RequiredArgsConstructor public class Servi...
package com.forestry.service.sys; import com.forestry.model.sys.SensorLastData; import core.service.Service; /** * @框架唯一的升级和技术支持地址:https://item.taobao.com/item.htm?spm=a230r.7195193.1997079397.8.wNJFq2&id=551763724593&abbucket=20 */ public interface SensorLastDataService extends Service<SensorLastData> { ...
package com.flavio.android.petlegal.view; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.support.v4.app.ActivityCompat; import android.support.v7.app.AppCompatActivity; import android...
/* * 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 calculadora; /** * * @author Aluno */ public class ViewCalculadora extends javax.swing.JFrame { /** * Crea...
import java.util.*; class ques1d11 { static int palin(String s) { int a[]=new int[26]; s=s.toUpperCase(); for(int i=65;i<=90;i++) { for(int j=0;j<s.length();j++) { if((int)s.charAt(j)==i) a[i-65]++; } } ...
package com.experian.brand.entity; /** * 映射表: brand_category_check */ public class BrandCategoryCheck { /** * 映射字段: id */ private Integer id; /** * 映射字段: content */ private String content; /** * 映射字段: category_id */ private Integer categoryId; /** * 用...
package com.lsjr.zizi.chat.xmpp.listener; public interface AuthStateListener { public static final int AUTH_STATE_NOT = 1; // 未登录 public static final int AUTH_STATE_ING = 2; // 登录中 public static final int AUTH_STATE_SUCCESS = 3;// 已经认证 public void onAuthStateChange(int authState); }
package org.pdffusion; import java.io.File; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.io.StringWriter; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; public class PdfFusion extends GUIApplication { public stati...
/* * Copyright 2014 Basho Technologies 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 o...
package com.esum.web.monitor.controller; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; impor...
package org.xtext.tortoiseshell.lib.view; import com.google.inject.Inject; import org.eclipse.jface.action.Action; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.swt.graphics.Image; import org.eclipse.xtext.ui.PluginImageHelper; import org.xtext.tortoiseshell.lib.view.TortoisePartListener; impor...
package world.tile; public class Material { public static final Material GRASS = new Material().setBounds(new boolean[] {true, true, true, true}); public static final Material DIRT = new Material().setBounds(new boolean[] {true, true, true, true}); public static final Material STONE = new Material().setBounds(new b...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImportView.java * * Created on Nov 25, 2010, 8:49:31 AM */ package josteo.views; import java.text.*; import javax.swing.*; import java.awt.event.*; import java.awt.*; import java.util.*; import java.io.*; impo...
package com.san.user; import com.san.tokenUserInfo.TokenUserInfo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.core.userdetail...
package com.codingchili.instance.model.spells; import com.codingchili.instance.context.GameContext; import com.codingchili.instance.context.Ticker; import com.codingchili.instance.model.entity.Entity; import com.codingchili.instance.model.items.CollectionFactory; import java.time.Instant; import java.util.*; /** * ...
package Problem_1929; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int M = sc.nextInt(); int N = sc.nextInt(); boolean[] arr = new boolean[1000001]; arr[0] = true; arr[1] = true; for(int i = 2; i<=1000000;i++) { ...
package com.smart.droidies.tamil.natkati.library; import java.util.List; import android.app.Activity; import android.content.SharedPreferences; import android.graphics.Typeface; import android.preference.PreferenceManager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; im...
package org.androware.androbeans.beans; import android.util.JsonReader; import java.io.IOException; import java.util.HashMap; import java.util.Stack; import org.androware.androbeans.legacy.InstaBean; import org.androware.androbeans.legacy.JSONinstaBean; import org.androware.androbeans.utils.ConstructorSpec; ...
/* * Copyright 2002-2019 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 ar.edu.utn.d2s.model.addres; import org.uqbar.geodds.Point; public class Address { private String mainStreet; private String street1; private String street2; private int streetNumber; private byte floor; private byte apartment; private byte unit; private int postalCode; pr...