text
stringlengths
10
2.72M
/* * Copyright (c) 2016. Osred Brockhoist <osred.brockhoist@hotmail.com>. All Rights Reserved. */ package com.flyingosred.app.perpetualcalendar.database.xml; import java.io.FileOutputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.List; import java.util.Map; impor...
package hola; import java.util.Scanner; public class GiftsNoRand { /* This program accepts as input names separated by commas(,) and outputs a possible order of * giving gifts between each name such that no person leaves without a gift. The output order * is fixed with no randomization yet. * */ public stat...
/* * 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 Business.Users; import Business.Abstract.User; import java.text.SimpleDateFormat; import java.util.Date; /** * * @author AE...
package com.zzp.nacos.user.test; import com.alibaba.fastjson.JSON; import com.zzp.nacos.user.entity.User; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; import ja...
package com.codingchili.instance.model.items; import com.codingchili.instance.model.entity.Creature; import com.codingchili.instance.model.events.Event; import com.codingchili.instance.model.events.EventType; /** * @author Robin Duda */ public class EntityUpdateEvent implements Event { private Creature updated;...
package com.pwc.util; import com.pwc.array.Array; import com.pwc.io.DataInputBufferStream; import java.io.*; public class BinaryObject { public static int getSizeOfFile(String fileName) throws IOException { RandomAccessFile file = new RandomAccessFile(fileName, "r"); int length = 0; ...
package com.itheima.web.servlet; import com.itheima.config.SpringConfig; import com.itheima.domain.Account; import com.itheima.service.AccountService; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import java.util.List; public...
package Transform; import entity.WaterSensor; import org.apache.flink.streaming.api.datastream.KeyedStream; import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment; import java.util.ArrayList; /** * @author douglas * @create 2021-02-19 20:55 */ public class Flink08_TransForm_nomal_Collection ...
package com.example.smdemo1.dto.response; import java.io.Serializable; import com.example.smdemo1.common.Constant; import com.example.smdemo1.util.ResponseCodeUtil; import lombok.Getter; import lombok.Setter; import lombok.ToString; /** * @author xp-dc * @date 2019/4/25 */ @Setter @Getter @ToString public class B...
package fr.aresrpg.tofumanchou.domain.event.player; import fr.aresrpg.commons.domain.event.Event; import fr.aresrpg.commons.domain.event.EventBus; import fr.aresrpg.tofumanchou.domain.data.Account; /** * An event triggered when the perso lvl up * * @since */ public class LevelUpEvent implements Event<LevelUpEven...
package controllers; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import play.libs.F.Function; import play.*; import play.data.Form; import play.libs.F.Promise; import play.libs.Json; import play.libs.ws.*; import play.mvc.*; import views.formdata.LoginForm; i...
package com.icanit.bdmapversion2.entity; import com.baidu.platform.comapi.basestruct.GeoPoint; public class Merchant implements java.io.Serializable { // Fields private long id; private String merName; private Integer typeId; private double minCost; private String detail; ...
package com.example.jse58.androiduiandlogin_jacobesworthy; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText...
package com.baiwang.custom.common.util; import sun.misc.BASE64Decoder; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; /** * 字符串对象是否为空判断工具类 * Created by LiaoJS on 2016/8/13. */ public class StringUtil { public...
package org.apache.cordova.localMusic; import android.Manifest; import android.app.Activity; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.database.Cursor; import android.graphics.Bitmap; import android.gr...
package com.capgemini.Resource_Management.service; import com.capgemini.Resource_Management.model.ProjectDetails; public interface ProjectService { public void saveProject(ProjectDetails projectDetails); }
package com.es.test; import org.apache.http.HttpHost; import org.elasticsearch.action.delete.DeleteRequest; import org.elasticsearch.action.update.UpdateRequest; import org.elasticsearch.action.update.UpdateResponse; import org.elasticsearch.client.RequestOptions; import org.elasticsearch.client.RestClient; im...
package org.celllife.stock.interfaces.service; import java.io.IOException; import javax.servlet.http.HttpServletResponse; import org.celllife.stock.application.service.user.UserService; import org.celllife.stock.domain.exception.StockException; import org.celllife.stock.domain.user.UserDto; import org.slf4j.Logger; ...
package com.chauyiu1994.grpc.service; import com.chauyiu1994.grpc.User; import com.chauyiu1994.grpc.userGrpc.userImplBase; import io.grpc.stub.StreamObserver; public class UserService extends userImplBase { @Override public void login(User.LoginRequest request, StreamObserver<User.APIResponse> responseObserv...
package br.com.zolp.estudozolp.document; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; /** * Classe responsável por efetuar o mapeamento das informações de response. * * @author mam...
package hu.mentlerd.hybrid.asm; import java.lang.reflect.Method; public class Loader { public static Class<?> loadClass( ClassLoader loader, byte[] code, String name ){ try { Class<?> clazz = Class.forName("java.lang.ClassLoader"); Method defineClass = clazz.getDeclaredMethod("defineClass", S...
package com.pruebatecnicaomar.PruebaTecnicaOmar.service; import java.util.List; import com.pruebatecnicaomar.PruebaTecnicaOmar.dto.CoinHistorial; public interface HistorialService { public List<CoinHistorial> getHistorialBTC(int ultimosMinutos); public List<CoinHistorial> getHistorialLRC(int ultimosMinutos); pub...
package com.example.zrust.helloworld; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.*; import android.widget.*; import com.exam...
package model; import java.awt.Color; import java.awt.Component; import javax.swing.JList; import javax.swing.JTextArea; import javax.swing.ListCellRenderer; import javax.swing.UIDefaults; public class CellRenderer implements ListCellRenderer { Color color; private JTextArea ta; public CellRenderer() { UIDef...
package com.tianwotian.tools; import android.graphics.Bitmap; import android.support.v4.util.LruCache; import android.util.Log; /** * 内存缓存 * 因为从 Android 2.3 (API Level 9)开始,垃圾回收器会更倾向于回收持有软引用或弱引用的对象,这让软引用和弱引用变得不再可靠。Google建议使用LruCache * Created by user on 2016/9/8. */ public class MemoryCacheUtils { // private...
package gameView; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.FileNotFoundException; import java.io.FileOutputStream; import javax.swing.JFrame; import javax.swing.JRootPane; import gameController.ObservedGame; class SaveHandler implements ActionListener { GameView g...
package ProjectManagement; public class User implements Comparable<User>,UserReport_ { private String name; private int consumption; private int latest; User(String name) { consumption=0; this.name=name; latest=0; } public String name() { return name; } @Override public int compareTo(User...
package com.rtw.myrpccore.server; import java.io.Serializable; /** * @author rtw * @since 2019-04-15 */ public class ServerRequest implements Serializable { private Long id; private Object content; // 传参 private String command; // 类 + 方法名 public String getCommand() { return command; }...
/* * 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 ie.irishliterature.dao; /** * * @author markus */ import java.sql.Connection; import java.sql.DriverManager; import java.sq...
package exercicio06; public class Miseravel extends Pessoa { Miseravel(String nome, int idade) { super(nome, idade); } public void Mendigo() { System.out.println(this.getNome()+" é considerado uma pessoa miseravel e precisa de ajuda\n"); } }
package au.gov.nsw.records.digitalarchive.struts.action; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.str...
package orm.integ.eao.model; public class FromOrmHelper { public static boolean isFromOrm(RecordObject obj) { if (obj==null) { return false; } return obj.fromOrm==1; } public static void setFromOrm(RecordObject obj) { if (obj!=null) { obj.fromOrm = 1; } } }
/* * Copyright (c) 2014 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.oauth.client; import java.io.IOException; import java.net.URL; import java.util.Properties; import org.junit.Assert; import org.junit.Test; import com.nimbusds.oau...
/* * 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 Controladores; import ConexionBaseDeDatos.ConexionBD; import Interfaces.PanelListarCarreras; import Interfaces.PanelNuevaCarre...
/* * 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.koshish.java.hibernate.ecommerce.DAO.impl; import com.koshish.java.hibernate.ecommerce.DAO.CustomerDAO; import com.koshish...
package com.rengu.operationsmanagementsuitev3.Controller; import com.rengu.operationsmanagementsuitev3.Entity.ResultEntity; import com.rengu.operationsmanagementsuitev3.Service.DeployLogDetailService; import com.rengu.operationsmanagementsuitev3.Service.DeployLogService; import com.rengu.operationsmanagementsuitev3.Ut...
package util.parameters; import board.blockingobject.Player; import items.IdentityDisc; public class StepOnParameter { private Player player; private IdentityDisc identityDisc; /** * Creates a new player step on parameter * @param player which steps on the square * * @throws IllegalArgumentException ...
package com.teamdev.webapp; import com.google.gson.Gson; import com.teamdev.business.AuthenticationService; import com.teamdev.business.ChatRoomService; import com.teamdev.business.MessageService; import com.teamdev.business.UserService; import com.teamdev.business.impl.dto.*; import com.teamdev.business.impl.exceptio...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) package com.pointinside.android.piwebservices.provider; import android.content.*; import android.database.sqlite.*; import android.net.Uri; import java.util.Arr...
package com.cn.hello.spring.cloud.web.admin.feign.feign; import org.springframework.stereotype.Component; /** * @program: spring-cloud-netflix * @ClassName: AdminFallback * @company: 鸿业(深圳)信息技术服务有限公司 * @author: Lamdong * @create: 2019-11-26 12:53 **/ @Component public class AdminFallback implements AdminService...
// Factory design patten gives us the possibility to hide the detail of how to initialize the different instance. public class ShapeFactory{ public Shape getShape(String shapeType){ if(ShapeType == null){ return null; } if(ShapeType.equalsIgnoreCase("rectangle")){ return new Rectangle(); }else if(Shape...
package com.needii.dashboard.view; import com.needii.dashboard.components.Messages; import com.needii.dashboard.model.Shippers; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Workbook; import org.springframework.beans.factory.annotation.Autowired; i...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package eu.tjenwellens.timetracker.macro; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.Me...
package com.company; import java.sql.*; import java.util.ArrayList; import java.util.Date; import com.company.Enums.*; //All functions to pull information from database, public class HotelDB { private static String url = "jdbc:mysql://38.39.89.83:3306/hotel?useSSL=false"; //URL of database being connected t...
package me.ewriter.chapter2.weatherobservable; /** * Created by Zubin on 2016/10/12. * 这个和上面weather 包下面的区别主要就是这里的观察者模式使用的是java 里面自带的Observable 和 observer * 但是这种方式有个缺点就是必须使用extends 继承,使用还是有不方便 */ public class WeatherStation { public static void main(String[] args) { WeatherData weatherData = new Weath...
package com.cyou.paycallback.resource.impl; import java.io.File; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import com.cyou.paycallback.resource.Resource; import com.cyou.paycallback.util.StringUtils; public class ClassPathResource implements Resource { private String classPath;...
/* * Copyright © 2018 www.noark.xyz All Rights Reserved. * * 感谢您选择Noark框架,希望我们的努力能为您提供一个简单、易用、稳定的服务器端框架 ! * 除非符合Noark许可协议,否则不得使用该文件,您可以下载许可协议文件: * * http://www.noark.xyz/LICENSE * * 1.未经许可,任何公司及个人不得以任何方式或理由对本框架进行修改、使用和传播; * 2.禁止在本项目或任何子项目的基础上发展任何派生版本、修改版本或第三方版本; * 3.无论你对源代码做出任何修改和改进,版权都归Noark...
package com.sinodynamic.hkgta.service.crm.backoffice.membership; import com.sinodynamic.hkgta.entity.crm.CustomerProfile; import com.sinodynamic.hkgta.service.IServiceBase; import com.sinodynamic.hkgta.util.ResponseMsg; public interface EditMemberProfileService extends IServiceBase<CustomerProfile>{ public Respons...
package me.basiqueevangelist.datapackify.mixins; import it.unimi.dsi.fastutil.ints.Int2ObjectMap; import net.minecraft.village.TradeOffers; import net.minecraft.village.VillagerProfession; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Mutable; import org.spongepowered.asm.mixin.gen.Acces...
package com.example.sosso.newsapplication.network; import com.example.sosso.newsapplication.QueryResult; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Query; public interface ArticleService { @GET("top-headlines") Call<QueryResult> listNews(@Query("country") String country, @Query("...
package OOP.Functions; public class Main { public static void main(String[] args) { Box Box1 = new Box(); Box Box2 = new Box(); Box1.length = 5; Box1.width = 4; Box1.height= 10; Box2.length = 12; Box2.width = 40; Box2.height= 3; Box1.getVo...
/** * 湖北安式软件有限公司 * Hubei Anssy Software Co., Ltd. * FILENAME : SiteTypeVo.java * PACKAGE : com.anssy.venturebar.site.vo * CREATE DATE : 2016-8-17 * AUTHOR : make it * MODIFIED BY : * DESCRIPTION : */ package com.anssy.venturebar.site.vo; /** * @author make it * @version SVN #V1# #2016-...
package rl4j; public class CosineSimilarity extends Similarity { @Override public double similarity(double[] a, double[] b, double threshold) { if (a.length != b.length) { throw new IllegalArgumentException("The two must be the same length"); } int n_aIb = 0; int n_a...
package edu.mit.cameraCulture.vblocks.predefined; import org.opencv.android.Utils; import org.opencv.core.CvType; import org.opencv.core.Mat; import org.opencv.imgproc.Imgproc; import android.content.Intent; import android.graphics.Bitmap; import android.util.Log; import android.view.MotionEvent; import an...
package vo; public enum TeamSortBy { name,// 队伍名称 matchNo, // 比赛场数 hitNo,// 投篮命中数 handNo, // 投篮出手次数 threeHitNo, // 三分命中数 threeHandNo, // 三分出手数 penaltyHitNo, // 罚球命中数 penaltyHandNo, // 罚球出手数 offenseRebs, // 进攻篮板数 defenceRebs, // 防守篮板数 rebs, // 篮板数 assistNo,// 助攻数 stealsNo, // 抢断数 blockNo, // 盖帽数...
import java.util.ArrayList; import java.util.Random; import javafx.application.Application; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.canvas.Canvas; import javafx.scene.canvas.GraphicsContext; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.con...
package com.example.netflix_project.src.main.home.Adapter; import androidx.recyclerview.widget.RecyclerView; public class YoutubeAdapter { }
package com.karya.service; import java.util.List; import com.karya.model.Login001MB; import com.karya.model.Menu001MB; public interface ILoginService { public Login001MB getLoginResult(String username, String password); public List<Menu001MB> getMenuLink(String domain); }
package locale; public class lang extends lang_en {}
package Client; import Dao.model.Comment; import Dao.model.HotGoods; import Dao.model.User; import com.google.code.kaptcha.Constants; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.ui.ModelMap; i...
import java.awt.*; import java.util.Scanner; public class RectangleFun { public static void main(String[] args){ Scanner scan = new Scanner(System.in); System.out.print("Width: "); int userWidth = scan.nextInt(); System.out.print("Height: "); int userHeight = scan.nextInt();...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hw3; import hw3.q01.Profiler; import hw3.q01.MethodProfile; import java.util.List; import hw3.q02.*; import hw3.q03.TextEditor; import hw3.q04.ExpressionTree; import hw3.q05.LeafInfo; import hw3.q05.SearchTree; ...
package five.io; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; /** * @author Tedikova O. * @version 1.0 */ public class ByteArrayIOTricks { /** * Writes array of bytes to {@link ByteArrayOutputStream} and then retrieves resulting array...
package com.hopu.bigdata.controller; import com.hopu.bigdata.model.Userinfo; import com.hopu.bigdata.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.annotation.AuthenticationPrincipal; import org.springframework.stereotype.Controller; import ...
package com.hp.roam.util; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.nio.charset.Charset; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import ja...
package com.san.diseaseXUser; import com.san.disease.Disease; import com.san.user.User; import java.io.Serializable; public class DiseaseXUserPK implements Serializable { private User user; private Disease disease; }
package by.herzhot.impl; import by.herzhot.BaseDao; import by.herzhot.ISupplierDao; import by.herzhot.Supplier; /** * @author Herzhot * @version 1.0 * 09.08.2016 */ public class SupplierDaoImpl extends BaseDao<Supplier> implements ISupplierDao { @Override protected Class<Supplier> getPersistentC...
package com.sun.tools.xjc.generator.annotation.spec; import javax.xml.bind.annotation.XmlElementDecl; import com.sun.codemodel.JAnnotationWriter; import com.sun.codemodel.JType; public interface XmlElementDeclWriter extends JAnnotationWriter<XmlElementDecl> { XmlElementDeclWriter name(String value); X...
/* * Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.server.authn.remote; import pl.edu.icm.unity.exceptions.EngineException; import pl.edu.icm.unity.server.api.TranslationProfileManagement; import pl.edu.icm.unity.serv...
package ru.otus.sua.L16; import ru.otus.sua.L16.sts.CallbackHandler; import ru.otus.sua.L16.sts.SocketTransferServiceClient; import ru.otus.sua.L16.sts.SocketTransferServiceServer; import ru.otus.sua.L16.sts.abstractions.Pollable; import ru.otus.sua.L16.sts.abstractions.SocketTransferService; import ru.otus.sua.L16.st...
package com.parry.kevin.toppromo; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; public class DataBaseHandler extends SQLiteOpenHelper { private static final int VERSION_BDD = 2; private static final Stri...
package hello; import io.spring.guides.gs_producing_web_service.GetClientRequest; import io.spring.guides.gs_producing_web_service.GetClientResponse; import io.spring.guides.gs_producing_web_service.GetPlaceResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ws.server.en...
package ac.za.cput.adp3.xyzcongolmerate.factory.user; import ac.za.cput.adp3.xyzcongolmerate.domain.user.UserDemography; import org.junit.Assert; import org.junit.Test; import java.util.Calendar; import java.util.GregorianCalendar; import static org.junit.Assert.*; public class UserDemographyFactoryTest { @Te...
package com.krt.gov.common.utils; import javax.servlet.http.HttpServletRequest; public class CommonUtil { public static String getIconUrl(String file) { return "https://iot.krtyun.com/iot-mqttgov/dist/img/icon/"+file; } public static String getLayoutUrl(String file) { return "https://iot...
package dayEXTRA; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class MeanMeMo { protected static Scanner input; public static void main(String[] args) { // TODO Auto-generated method stub // statistik(new int[] {5,2,5,5,2,1,2,9,7,8,3,9,2,1,4,5,2...
package com.appfountain.model; import java.io.Serializable; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import android.text.format.DateFormat; /** * * {"up":0,"useful":0,"user_id": 1, * "user_name":"aaaaaa","body":"bodddddddddddddd", "create...
/* * 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 utilidades; /** * * @author josue */ //Clase usada para implementar el patron factory en los objetos jefe y empleado publi...
package com.tridevmc.movingworld.common.config.priority; import com.google.common.collect.Lists; import com.tridevmc.compound.config.ConfigType; import com.tridevmc.compound.config.ConfigValue; import net.minecraft.block.Block; import net.minecraft.block.Blocks; import net.minecraftforge.fml.config.ModConfig; import n...
package usc.cs310.ProEvento.dao; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.query.Query; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import usc.cs310.ProEvento.model.EventNotification; import usc.cs310.Pro...
package com.youthlin.example.kafka; import org.apache.kafka.clients.producer.KafkaProducer; import org.apache.kafka.clients.producer.ProducerConfig; import org.apache.kafka.clients.producer.ProducerRecord; import org.apache.kafka.common.serialization.StringSerializer; import java.util.Properties; /** * @author yout...
package Metaphase01; import java.util.Arrays; import java.util.Comparator; import java.util.Queue; import java.util.Vector; /** * 自定义比较器MyComparator * */ class myPriorityQueue<E extends Comparable<E>>{ //类型擦除为Comparable,变为可比较对象 private E[] queue; //存放元素的容器 private int size; //有效元素个数 p...
/** */ package iso20022; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Conversation</b></em>'. * <!-- end-user-doc --> * * <!-- begin-model-doc --> * exchange of one or more MessageInstances amongst MessagingEndpoints * <!-- end-model-doc --> * * * @see iso20022.Iso20022Packa...
import java.util.Scanner; public class prob08 { public static void main(String[] args) { Scanner reader = new Scanner(System.in); int iterations = reader.nextInt(); reader.nextLine(); String word = reader.nextLine(); for(int i = 0; i<iterations; i++){ String output = ""; int counter = word.len...
package com.example.MongoDBConnect.repository; import com.example.MongoDBConnect.document.Mascota; import org.springframework.data.mongodb.repository.MongoRepository; /** * * @author Edinson Ayui */ public interface MascotaRepository extends MongoRepository<Mascota, Integer> { }
package com.metoo.kuaidi100.test; import java.util.HashMap; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import com.metoo.core.tools.Md5Encrypt; import com.metoo.kuaidi100.post.HttpRequest; import com.metoo.kuaidi100.utils....
package moe.tristan.easyfxml.model.beanmanagement; import java.lang.ref.WeakReference; import java.util.Objects; import moe.tristan.easyfxml.EasyFxml; /** * Selectors are special wrappers around a value used in an {@link AbstractInstanceManager} to distinguish multiple * children of the mapped class amongst themse...
package pages; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.junit.Assert; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFacto...
package http; import org.junit.Test; import java.net.HttpURLConnection; import static junit.framework.TestCase.assertEquals; import static junit.framework.TestCase.fail; public class ConnectToAPITest { @Test public void testHttpConnectionToExampleApi() { try { String requestURL = "<API ...
package au.gov.nsw.records.digitalarchive.base; import java.io.IOException; import java.io.StringWriter; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.StringTokenizer; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.s...
package com.healthyteam.android.healthylifers.Domain; import android.graphics.Bitmap; import java.util.List; public class LocationBuilder implements Builder { private Bitmap LocaitonPic; private String Name; private String Descripition; private String DateAdded; private List<String> TagList; ...
package de.denisvonscheidt.slickpong; import java.util.Random; import org.newdawn.slick.Color; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; import org.newdawn.slick.SlickException; import org.newdawn.slick.state.BasicGameState; import org.newdawn.slick.sta...
/** * */ package net.lantrack.framework.springplugin.component; import org.springframework.core.convert.support.GenericConversionService; /** * @author 大法师 */ public class string2MapConverter extends GenericConversionService { }
package com.icanit.app_v2.sqlite; import com.icanit.app_v2.entity.AppMerchant; import com.icanit.app_v2.exception.AppException; public interface UserBrowsingDao { int COLLECTED=2, VIEWED=1; int getBrowsedMerchantCountByMerId(int merId,String phone) throws AppException; void addToBrowsedMerchant(AppMe...
import org.hexworks.zircon.api.CP437TilesetResources; import org.hexworks.zircon.api.DrawSurfaces; import org.hexworks.zircon.api.GraphicalTilesetResources; import org.hexworks.zircon.api.SwingApplications; import org.hexworks.zircon.api.application.AppConfig; import org.hexworks.zircon.api.color.ANSITileColor; import ...
package com.metoo.foundation.dao; import org.springframework.stereotype.Repository; import com.metoo.core.base.GenericDAO; import com.metoo.foundation.domain.StorePoint; @Repository("storePointDAO") public class StorePointDAO extends GenericDAO<StorePoint> { }
package tictactoe; import java.util.Random; import javax.swing.ImageIcon; import javax.swing.JOptionPane; public class GameClass { String[][] Board ={{"1","2","3"},{"4","5","6"},{"7","8","9"}}; int position; boolean status; public GameClass(String Board[][]) { this.Board = Board; } ...
/* ------------------------------------------------------------------------------ * 软件名称:BB语音 * 公司名称:乐多科技 * 开发作者:Yongchao.Yang * 开发时间:2016年5月23日/2016 * All Rights Reserved 2012-2015 * ------------------------------------------------------...
package com.telcaria.kibana.dashboards; import com.google.common.base.Charsets; import com.google.common.collect.Maps; import com.google.common.io.Resources; import com.hubspot.jinjava.Jinjava; import com.telcaria.kibana.dashboards.model.KibanaDashboardVisualization; import com.telcaria.kibana.dashboards.model.KibanaD...
package com.dongh.funplus.di.module; import com.dongh.funplus.di.scope.FragmentScope; import com.dongh.funplus.view.other.OtherContract; import com.dongh.funplus.view.other.OtherModel; import dagger.Module; import dagger.Provides; /** * Created by chenxz on 2017/12/3. */ @Module public class OtherFragmentModule { ...
package com.alibaba.druid.bvt.sql.mysql.createTable; import com.alibaba.druid.sql.ast.SQLStatement; import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlCreateTableStatement; import com.alibaba.druid.sql.dialect.mysql.parser.MySqlStatementParser; import junit.framework.TestCase; import java.util.List; publi...