text
stringlengths
10
2.72M
package com.project1.web1.application; public class DataBaseException extends RuntimeException { public DataBaseException() { super("Request is processing"); } }
package com.buildbooster.inventory.validator;
package com.zhengsr.viewpagerlib; import android.content.Context; import android.support.annotation.Nullable; import android.widget.ImageView; import com.bumptech.glide.Glide; import com.bumptech.glide.RequestBuilder; import com.bumptech.glide.load.DataSource; import com.bumptech.glide.load.engine.GlideException; imp...
package com.yida.hanlp; import java.util.List; import com.hankcs.hanlp.HanLP; /** ********************* * @author yangke * @version 1.0 * @created 2018年5月21日 下午5:47:01 *********************** */ public class Test { public static void main(String[] args) { // 关键字提取 String content = "程序员(英文P...
/** * Class to represent any three-in-a-row spaces on a SubBoard. * Holds both the position of the line and the player that won the line (either 'x' or 'o'). * Can also represent no line through {@link Line#NONE} and ' ' as winner. * @author Andy Burris and Kevin Harris * @version 4 May 2020 */ public class Win...
package lucene; import java.util.List; import java.util.Map; import system.util.ProjectPath; import com.mongodb.BasicDBObject; import com.mongodb.DBCollection; import com.mongodb.DBCursor; import com.mongodb.DBObject; import edu.uci.ics.crawler4j.examples.custom.DBUtil; /** * @ TODO 为避免数据量过大,需进行分页处理; * 专门用于处理数据库...
/** * Copyright 2011 The Buzz Media, 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 applicab...
package algorithm_test.node; /** * Description: * * @author Baltan * @date 2019-02-19 16:12 */ public class HuffmanCodingNode { private Byte data; private int weight; private HuffmanCodingNode left; private HuffmanCodingNode right; public Byte getData() { return data; } publi...
package jp.smartcompany.job.common; /** * @author xiao wenpeng */ public interface Regex { String USERNAME = "^[a-zA-Z\\d]{2,16}$"; String DATE_YEAR = "^(1|2)\\d{3}$"; /** * url不能以/或者/list结尾 */ String MENU_URL = "^sys(\\/([a-zA-Z])+)+(?<!(\\/*list))$"; /** * 用于shiro验证权限,尾部的权限根据系统需...
package com.tencent.mm.ui.chatting.g; import android.content.Context; import android.content.Intent; import android.content.pm.PackageInfo; import android.graphics.Bitmap; import android.support.v7.widget.RecyclerView.t; import android.view.LayoutInflater; import android.view.ViewGroup; import com.tencent.mm.R; import...
package ayou.view; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swin...
package com.lti.hrmanagementsystem.dao; import com.lti.hrmanagementsystem.bean.LoginBean; public interface LoginDAO { public boolean validateUser(LoginBean loginBean); public String updateUser(String userId, int status); public int getuserStatus(String userId); public String getUserType(String use...
package io.snapcard.exchange.rx; import org.knowm.xchange.Exchange; import org.knowm.xchange.ExchangeFactory; import org.knowm.xchange.bitfinex.v1.BitfinexExchange; import org.knowm.xchange.bitstamp.BitstampExchange; import org.knowm.xchange.currency.CurrencyPair; import org.knowm.xchange.dto.marketdata.Ticker; import...
package com.mygdx.game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.scenes.scene2d.Action; import com.badlogic.gdx.scenes.scene2d.actions.Actions; import java.util.ArrayList; import java.util.Random; public class LevelScreen extends BaseScreen { private BaseAc...
package com.gsonkeno.utils; import org.junit.Test; import java.util.Map; /** * Created by gaosong on 2017-11-22 */ public class ObjectUtilsTest { @Test public void testToString(){ float f = 1.822f; System.out.println(ObjectUtils.toString(f)); Map map = null; System.out.pri...
package Assignment_1_Most_Frequent_Word; import edu.duke.FileResource; import java.util.ArrayList; public class WordFrequencies { private ArrayList<String> myWords; private ArrayList<Integer> myFreqs; public WordFrequencies() { this.myWords = new ArrayList<String>(); this.myFreqs = new A...
package io.wizzie.metrics; import org.apache.kafka.clients.consumer.ConsumerConfig; import org.apache.kafka.common.serialization.StringDeserializer; import org.apache.kafka.streams.KeyValue; import org.apache.kafka.streams.integration.utils.IntegrationTestUtils; import org.junit.ClassRule; import org.junit.Test; impor...
package com.github.emailtohl.integration.web.service.cms; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; import javax.inject.Inject; import javax.transaction.Transactional; impor...
// BaseBoundedBuffer.java package mygroup; import net.jcip.annotations.*; import java.util.concurrent.locks.*; public class BaseBoundedBuffer<V> { @GuardedBy("this") private final V[] buf; @GuardedBy("this") private int head; @GuardedBy("this") private int tail; @GuardedBy("this") private int count; ...
package exercicio_002; import java.util.Scanner; public class Exercicio_002 { public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); double raio, pi, perimetro, area; pi = Math.PI; System.out.print("Digite o raio do círculo: "); r...
package com.espendwise.manta.auth.ctx; public @interface AppCtxComponent { String name() default ""; String dependency() default ""; }
package com.lubarov.daniel.web.http.websocket; import com.lubarov.daniel.data.option.Option; import com.lubarov.daniel.data.sequence.Sequence; import com.lubarov.daniel.data.serialization.ByteSink; import com.lubarov.daniel.data.util.ToStringBuilder; /** * A complete data which may have been constructed from multipl...
package pl.edu.agh.internetshop; import java.math.BigDecimal; public class Product { public static final int PRICE_PRECISION = 2; public static final int ROUND_STRATEGY = BigDecimal.ROUND_HALF_UP; private BigDecimal discount; private final String name; private final BigDecimal price; public...
package smart; import smart.authentication.UserToken; import smart.util.Helper; import smart.lib.Json; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest public class TokenTests { @Test public v...
package com.saaolheart.mumbai; import java.io.FileOutputStream; import java.io.IOException; import java.util.HashMap; import java.util.Map; import org.docx4j.openpackaging.exceptions.Docx4JException; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfigurati...
/* * Copyright 2017 Sanjin Sehic * * 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...
package com.example.mynovel; import android.util.Log; import com.mysql.jdbc.StringUtils; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; public class collectionImple { private static final String url = "jdbc:mysq...
package com.steatoda.commons.fields.service.async.crud; import com.steatoda.commons.fields.FieldEnum; import com.steatoda.commons.fields.FieldGraph; import com.steatoda.commons.fields.HasEntityFields; import com.steatoda.commons.fields.service.async.FieldsRequest; import com.steatoda.commons.fields.service.async.Field...
package cn.canlnac.onlinecourse.presentation.mapper; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import cn.canlnac.onlinecourse.domain.Course; import cn.canlnac.onlinecourse.domain.SimpleUser; import cn.canlnac.onlinecourse.presentation.internal.di.PerActivity; import cn.canlnac.on...
package com.yksoul.pay.exception; import com.yksoul.pay.domain.enums.PayErrorCodeEnum; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; import lombok.ToString; /** * @author yk * @version 1.0 * @date 2018-06-15 */ @EqualsAndHashCode(callSuper = true) @ToString(callSuper = true) public ...
package unalcol.types.collection.vector; import unalcol.clone.Clone; /** * <p>CloneService of Java Vectors.</p> * <p>Copyright: Copyright (c) 2010</p> * * @author Jonatan Gomez Perdomo * @version 1.0 */ public class ImmutableVectorCloneService<T> extends Clone<ImmutableVector<T>> { public ImmutableVectorCl...
package cranshashtable2017; import java.awt.Component; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; impo...
package com.mrhan.db.allrounddaos; /** * 实体类的字段信息 * 默认,外键 */ public enum ColumentType { /** * 默认类型 */ DEFAULT, /** * 字段为外键 */ FORGINKEY, /** * 字段为主键 */ PIRMARYKEY, /** * 字段为为一建 */ UNIQUE }
package edu.uci.ics.sdcl.firefly.report.descriptive; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.HashMap; import edu.uci.ics.sdcl.firefly.Worker; import edu.uci.ics.sdcl.firefly.util.PropertyManager; public class FileCon...
package com.tencent.mm.plugin.appbrand.ui.recents; import android.app.Activity; import android.content.Context; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.view.View; import android.view.ViewGroup; import android.view.ViewGroup.LayoutParams; import android....
package org.elasticsearch.hadoop.rest.bulk.bwc; public class BulkOutputGeneratorV1 extends BulkOutputGeneratorBase { @Override protected String getSuccess() { return " {\n" + " \"$OP$\" : {\n" + " \"_index\" : \"$IDX$\",\n" + " \"_type\" : \"$TYPE$\",\n" +...
package task3; import java.util.List; class Phone1{ String phone_id; String phone_type; int numphones; String phone_no; Phone1(String phone_id,String phone_type,int numphones,String phone_no){ this.phone_id=phone_id; this.phone_type=phone_type; this.numphones= numphones; this.phone_no=phone_no...
package uk.ac.ebi.pride.proteomes.pipeline.provider.generator.filter; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.batch.item.ItemProcessor; import uk.ac.ebi.pride.proteomes.db.core.api.cluster.ClusterPsm; import uk.ac.ebi.pride.proteomes.pipeline.mods...
package com.tt.miniapp.msg.file; import com.a; import com.tt.frontendapiinterface.ApiCallResult; import com.tt.frontendapiinterface.b; import com.tt.miniapp.msg.file.read.ApiReadFileCtrl; import com.tt.miniapp.msg.file.write.ApiWriteFileCtrl; import com.tt.miniapphost.AppBrandLogger; import com.tt.option.e.e; ...
package edu.wpi.cs.justice.cardmaker.http; public class ShowCardRequest { private final String cardId; public ShowCardRequest(String cardId) { super(); this.cardId = cardId; } public String getCardId() { return cardId; } }
import java.util.Scanner; public class PoD2 { public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.print("Input four numbers: "); int a,b,c,d; a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); d = sc.nextInt(); System.out.println(a); System.o...
package fr.lteconsulting.commande.impl.modifdisque; import fr.lteconsulting.Menu; import fr.lteconsulting.commande.Commande; import fr.lteconsulting.commande.ContexteExecution; import fr.lteconsulting.modele.Disque; import fr.lteconsulting.ui.SelectionDisque; public class ModifierDisque implements Commande {...
package app.enums; /** * Created by Yixiu Liu on 11/29/2018. */ public enum Property { STAGNANT_ITERATION, MAX_RUNTIME,MIN_TOUCHING, ALGO_NAME_ANNEAL, ALGO_NAME_GROW, ANNEALINGTHRESHOLD, GETSTATE_NAME, GETDISTRICT_STATEID, GETPRECINCT_DISTRICTID, GETPOPULATION_DISTRICTID , LOADEL...
package com.tencent.mm.plugin.wenote.ui.nativenote; import android.view.View; import android.view.View.OnClickListener; import com.tencent.mm.plugin.report.service.h; import com.tencent.mm.plugin.wenote.model.nativenote.b.a; import com.tencent.mm.plugin.wenote.model.nativenote.spans.b; import com.tencent.mm.plugin.wen...
import java.util.Arrays; // Class for a vector made of 3 components (i, j, k) // Contains useful methods for calculating vectors public class Vector3 { // Default vector is 0, 0, 0 public float[] value = new float[]{0, 0, 0}; // Vector with set value public Vector3(float i, float j, float k){ this.value = new...
package com.base.level.test; import java.util.Map; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; import com.base...
package jcrawler.service.parser.domain; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import java.io.IOException; import java.net.URI; public class Page { private Document document; public Page(String content, URI baseUrl) throws IOException { document = Jsoup.parse(content, baseUrl.toStri...
package net.lax1dude.cs50_final_project.client.renderer.opengl; import static org.lwjgl.opengles.GLES30.*; import java.nio.ByteBuffer; public class EaglVertexBuffer { public final int glObject; private int bufferSize; private boolean destroyed = false; public int getBufferSize() { return bufferSize; } ...
package com.mobileappsco.training.surprise; import android.content.Context; import android.util.Log; import android.widget.Toast; /** * Created by admin on 2/28/2016. */ public class Helpers { public static void displayToastAndLog(Context mContext, int type, String message) { switch (type) { ...
package controller.util.collectors.impl; import controller.constants.FrontConstants; import controller.exception.WrongInputDataException; import controller.util.collectors.DataCollector; import domain.Bus; import domain.Schedule; import org.apache.log4j.Logger; import resource_manager.ResourceManager; import javax.se...
/* * (C) Copyright 2014, 2016 Hewlett Packard Enterprise Development LP * * 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 require...
package com.psl.flashnotes.controller; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariab...
package br.com.functional.programming.mock; import br.com.functional.programming.dto.Person; import java.util.List; public interface PersonMock { final Person MIKE = new Person("Mike", 20); final Person NANCY = new Person("Nancy", 25); final Person JOHN = new Person("John", 15); final Person JULI...
package com.rx.rxmvvmlib.ui; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import com.rx.rxmvvmlib.ui.base.AppManager; import androidx.annotation.NonNull; import androidx.annotation.Nullable; /** * Created by wuwei * 2020/12/31 * 佛祖保佑 ...
package com.gerray.fmsystem.LesseeModule; import android.app.ProgressDialog; import android.content.ContentResolver; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.text.TextUtils; import android.util.DisplayMetrics; import android.webkit.MimeTypeMap; import android.widg...
package mocking; import java.util.LinkedList; import java.util.Queue; public class Printer { private Queue<PrintJob> jobs = new LinkedList<PrintJob>(); public void addToQueue(PrintJob job) { jobs.add(job); } public boolean startPrinting() { // complicated methode return false;...
package com.example.controller; import com.example.entity.User; import com.example.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.List; import java.util.Map; @RestController @RequestMapping(value = "/user") public...
package com.epam.training.sportsbetting.web.controller; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMa...
package com.classcheck.type; import java.util.List; import javax.swing.JComboBox; import javax.swing.table.DefaultTableModel; import com.change_vision.jude.api.inf.model.IClass; import com.classcheck.analyzer.source.CodeVisitor; import com.classcheck.autosource.Field; import com.classcheck.autosource.Method; import ...
package com.smxknife.softmarket.common.comm; public enum RespMsgType { text, music, news, image, voice, video, wxcard }
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class YanghuiAngile { public static void main(String[] args) { System.out.println("请输入行数"); Scanner scanner = new Scanner(System.in); int rowNums = scanner.nextInt(); System.out.println(generate(rowNums)); } pu...
package com.tencent.mm.plugin.record.ui; import android.view.MenuItem; import com.tencent.mm.g.a.cb; import com.tencent.mm.g.a.ch; import com.tencent.mm.g.a.mu; import com.tencent.mm.pluginsdk.model.e; import com.tencent.mm.sdk.b.a; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.ui.base.n$d; class ...
package com.tencent.mm.plugin.fingerprint.b; import com.tencent.mm.g.a.bq; import com.tencent.mm.kernel.g; import com.tencent.mm.model.q; import com.tencent.mm.plugin.wallet_core.c.y; import com.tencent.mm.sdk.platformtools.x; class a$1 implements Runnable { final /* synthetic */ bq jgn; final /* synthetic */...
/** * @author Mario de Leon * @author Derek Banas * * * Codigo del arbol binario y de un nodo codificado con * ayuda de BINARY TREE IN JAVA por Derek Banas: * http://www.newthinktank.com/2013/03/binary-tree-in-java/ * */ public class BinarySearchTree{ Nodo raiz; public void addNodo(String...
package dev.televex.fhgcore.commands; import dev.televex.fhgcore.core; import dev.televex.fhgcore.tags; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; /** * All code Copyright (c) 2015 by Eric_1299. All Rights Re...
package com.tencent.mm.plugin.appbrand.widget.recentview; import android.view.MenuItem; import android.view.View; import com.tencent.mm.kernel.g; import com.tencent.mm.plugin.appbrand.appusage.u; import com.tencent.mm.plugin.appbrand.n.d; import com.tencent.mm.plugin.appbrand.n.f; import com.tencent.mm.plugin.appbrand...
package com.shopping.etrade.mock; import java.math.BigDecimal; import com.shopping.etrade.dto.base.MoneyDTO; import com.shopping.etrade.model.base.Money; public class MoneyMocker { public static Money generateMoney() { Money money = new Money(); money.setAmount(BigDecimal.TEN); money.setCurrency("TL"); ret...
package assignment10.fitbit2; import java.awt.Font; import java.nio.charset.StandardCharsets; import jssc.SerialPortException; import sedgewick.Draw; public class Fitbit2 { final private SerialComm port; public Chart stepWindow; public Chart sleepWindow; public Chart tempWindow; public Draw summ...
/*- * -\-\- * Spotify Styx Scheduler Service * -- * Copyright (C) 2016 Spotify AB * -- * 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...
package com.walkerwang.algorithm.bigcompany; import java.util.LinkedList; import java.util.Scanner; /** * 小明同学把1到n这n个数字按照一定的顺序放入了一个队列Q中。现在他对队列Q执行了如下程序: while(!Q.empty()) //队列不空,执行循环 { int x=Q.front(); //取出当前队头的值x Q.pop(); //弹出当前队头 Q.push(x); //把x放...
package org.alienideology.jcord.internal.exception; import org.alienideology.jcord.handle.oauth.Scope; import java.util.Arrays; /** * ScopeException - When the identity try to access a resource outside of its scopes. * * @author AlienIdeology */ public class ScopeException extends Exception { private Scope[...
package api.service; import api.model.Usuario; import api.repository.AerogeradorRepository; import api.arq.rest.CRUDService; import api.arq.util.AutenticacaoUtil; import api.model.Aerogerador; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util...
package io.github.leonkacowicz.tictactoe.ai; import io.github.leonkacowicz.tictactoe.core.Board; import io.github.leonkacowicz.tictactoe.core.CellState; import io.github.leonkacowicz.tictactoe.core.Move; import io.github.leonkacowicz.tictactoe.core.Player; import java.io.PrintWriter; import java.util.ArrayList; impor...
package chapter18; import java.util.Scanner; public class Exercise18_23 { public static void main(String[] args) { try (Scanner input = new Scanner(System.in);) { System.out.println("Enter a binary number: "); String bin = input.next(); int dec = bin2Dec(bin); System.out.println("Decimal va...
package largeassendingnumber; public class Solutiontest { public static void main(String [] args){ Solution s = new Solution(); int [] a = {1,3,8,2,6,4,5}; System.out.println(s.longest(a)); } }
package com.charith.codility.PrimeAndCompositeNumbers.Flags; public class Solution { }
package com.tyss.cg.loanproject.controller; import java.util.Scanner; import com.tyss.cg.loanproject.services.ServicesImpl; public class AdminController { public static void main(String[] args) { int again=1; Scanner scanner = new Scanner(System.in); ServicesImpl servicesImpl = new ServicesImpl(); int choic...
package com.zilker.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; import com.zilker.bean.User; import com.zilker.constants.SQLConstants; import com...
package com.zhouyi.business.core.model; import java.io.Serializable; import java.math.BigDecimal; public class LedenCollectGCurrency implements Serializable { private String wpbh; private String hbzldm; private BigDecimal hbmz; private String jldw; private static final long serialVersionUID = ...
package com.mrice.txl.appthree.ui.me; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; imp...
import de.btobastian.sdcf4j.Command; import de.btobastian.sdcf4j.CommandExecutor; import sx.blah.discord.handle.obj.IMessage; /**Command for saying the current player list and queue size for the gather object associated with this channel. Must be used in command channel. * @author cameron * @see #GatherQueueObject...
package ru.vise.rest; import com.google.gson.Gson; import javax.ws.rs.*; import java.io.File; import java.io.FileNotFoundException; import java.util.*; @Path("/formbuilder") public class FormBuilder { @GET @Path("/form") public String BuildForm(@QueryParam("formname") String formname) { // return...
package com.tencent.mm.plugin.facedetect.model; import com.tencent.mm.model.at; public final class e { private static long iNr = -1; private static long iNs = -1; private static float iNt = -1.0f; public static void df(long j) { iNr = j; } public static boolean aJE() { return...
package com.kh.efp.Search.controller; import java.io.IOException; import java.net.URLEncoder; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import javax.servlet.http.HttpServletResponse; import org.json.JSONArray; import org.springframework.beans.factory.annotation.Autowired...
package com.ev.srv.demopai.api; import com.evo.api.springboot.exception.ApiException; import com.ev.srv.demopai.model.Segmentation; import com.ev.srv.demopai.service.SegmentationService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springfra...
/** * */ package com.yougou.merchant.api.supplier.service; import java.util.List; import com.yougou.merchant.api.supplier.vo.ImageJmsVo; import com.yougou.merchant.api.supplier.vo.TaobaoImage; /** * 招商图片处理相关服务(供商家中心使用) * * @author huang.tao * */ public interface IMerchantImageService { void addImageJms(I...
package com.example.trending; import java.util.List; public interface ParentView { void success(List<ListBean> listBeans); void error(String error); }
package arrayJava; import java.util.Arrays; import java.util.Scanner; public class ArrayCopyOfMethod { public static void main(String[] args) { Scanner sc = new Scanner (System.in); int a[] = new int [5]; System.out.println("Enter Array"); for (int i = 0; i < 5; i++) { a[i] = sc.nextInt(); } System.o...
package br.ufc.ong.model; public enum Status { PENDENTE("Ocorrencia pendente"), CONFIRMADO("Ocorrencia confirmada"), CANCELADO("Ocorrencia cancelada"), ADOTADO("Animal da ocorrencia adotado"), ADOCAO("Animal da Ocorrencia apto para a adoção"); private String descricao; Status...
package com.tencent.mm.modelsimple; import android.content.Intent; import com.tencent.mm.modelsimple.k.1.1; import com.tencent.mm.plugin.account.ui.DisasterUI; import com.tencent.mm.sdk.platformtools.ad; import com.tencent.mm.sdk.platformtools.x; class k$1$1$1 implements Runnable { final /* synthetic */ 1 efu; ...
package com.research.hadoop.join.reduce; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Reducer; import java.io.IOException; import java.util.Iterator; /** * @fileName: JoinReducer.java * @description: JoinReducer.java类说明 * @author: by echo huang * @...
package de.raidcraft.skillsandeffects.pvp.skills.physical; import de.raidcraft.skills.api.combat.EffectType; import de.raidcraft.skills.api.combat.action.Attack; import de.raidcraft.skills.api.exceptions.CombatException; import de.raidcraft.skills.api.hero.Hero; import de.raidcraft.skills.api.persistance.SkillProperti...
package plane_Owner; import planes.CivilAircraft; import planes.CivilAircraftType; import planes.Plane; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.UUID; public class Company implements Corporation { private String name; private List<Plane> airplanes; pr...
package misc.exceptions; public class EmptyContainerException extends RuntimeException { public EmptyContainerException() { super(); } public EmptyContainerException(String message) { super(message); } public EmptyContainerException(String message, Throwable cause) { ...
package practice.test; import java.util.ArrayList; import java.util.List; import org.junit.Test; import practice.entity.College; import practice.entity.Student; import practice.entity.University; import practice.service.StudentService; public class TestStudents { @Test public void testAscending() { List<Studen...
package com.tencent.mm.plugin.setting.ui.setting; import android.content.Intent; import android.view.MenuItem; import android.view.MenuItem.OnMenuItemClickListener; class SettingDeleteAccountInputPassUI$2 implements OnMenuItemClickListener { final /* synthetic */ SettingDeleteAccountInputPassUI mQM; SettingD...
/** * Generated classes for the example based on the EURent scenario published by the EU business rule conference http://www.eurobizrules.org. */ package example.nz.org.take.compiler.eurent.generated;
/* * This software is licensed under the MIT License * https://github.com/GStefanowich/MC-Server-Protection * * Copyright (c) 2019 Gregory Stefanowich * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal ...
package mainDemo; import javax.persistence.Query; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; import entity.Course; import entity.Instructor; import entity.InstructorDetail; public class EagarLazyDemo { public static void main(String[] args) { //...
package com.inspectorpi.inspectorpicontroller02; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.MotionEvent; import android...