text
stringlengths
10
2.72M
package com.jt; import org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer; import org.springframework.boot.context.embedded.EmbeddedServletContainerFactory; import org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory; import org.springframework.context.ann...
package System; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Image; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.io.DataOutputStream; import java.io.IOException; impor...
package com.egova.baselibrary.util; import java.math.BigDecimal; public class CalKit { public static final int defaultScale = 2; /** * 两个数相加,四舍五入保留2位小数 * * @param sum1 * @param sum2 * @return */ public static BigDecimal add(String sum1, String sum2) { return add(sum1...
package com.fanfte.algorithm.recursive; import java.util.ArrayList; import java.util.List; public class RestoreIpAddresses { public static List<String> restoreIpAddresses(String s) { List<String> res = new ArrayList<>(); if(s == null || s.length() < 4 || s.length() > 12) { return res;...
package net.sduhsd.royr6099.unit11.labassesment; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Scanner; public class ComponentSet { private List<Component> components; private void init() { components = new ArrayList<Component>(); } ...
package com.fixit.core.utils; import java.util.ArrayList; import java.util.List; import com.fixit.core.data.WorkingDay; import com.fixit.core.data.WorkingHours; import com.fixit.core.data.mongo.Tradesman; /** * @author Kostyantin * @createdAt 2017/04/15 16:51:58 GMT+3 */ public class TestUtils { public stat...
package com.jgw.supercodeplatform.trace.service.dynamic; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory...
package com.navarromugas.models; import java.awt.*; public class Mosca { public static final int MAX_LONGITUD_DEL_PASO = 10; public static final int MAX_COORDENADA_Y_DE_UBICACION = 640; public static final int MAX_COORDENADA_X_DE_UBICACION = 480; private Color color; private int x; private int y; ...
package com.hl.service.impl; import com.hl.document.UserObjectDocument; import com.hl.repository.UserObjectDocumentRepository; import com.hl.service.UserObjectEsSearchService; import lombok.extern.log4j.Log4j2; import org.springframework.stereotype.Service; import javax.annotation.Resource; import java.util.ArrayList...
package tech.icey.ds; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import tech.icey.basic.ListUtil; import java.util.*; import static org.junit.jupiter.api.Assertions.assertArrayEquals; public class BPlusTreeTest { static List<String> getFixedKeySequence() { return List.of...
package com.yc.education.service.account; import com.yc.education.model.account.AccountReceivableFee; import com.yc.education.service.IService; import java.util.List; /** * @Description * @Author BlueSky * @Date 2018-12-07 11:39 */ public interface IAccountReceivableFeeService extends IService<AccountReceivableF...
import java.util.Scanner; class Main { public static void main(String[] args) { // put your code here int k = 1; int value = 0; //boolean out = true; Scanner scanner = new Scanner(System.in); String str = scanner.nextLine(); String[] strArr = str.split("\\s+")...
package com.nuthana.automation.test; import com.nuthana.automation.utils.General; public class TestCase12 { public static void main(String[] args) { // TODO Auto-generated method stub General gen = new General(); gen.OpenApplication(); gen.newuserregistration(); } }
package com.karya.bean; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; import org.hibernate.validator.constraints.NotEmpty; public class SalesTaxesBean { private int id; @NotNull @NotEmpty(message = "Please Enter Title") private String title; @NotNull @NotEmpty(mess...
/** */ package iotwearable.model.iotw.impl; import iotwearable.model.iotw.DHT11; import iotwearable.model.iotw.IotwFactory; import iotwearable.model.iotw.IotwPackage; import iotwearable.model.iotw.Pin; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.util.BasicEList; import org.eclips...
// https://www.youtube.com/watch?v=sFt3KVGyeWw class Solution { public List<Integer> sequentialDigits(int low, int high) { String digits = "123456789"; int n = 10; List<Integer> result = new ArrayList(); int lowLen = String.valueOf(low).length(); int highLen = String.valueO...
package com.romens.yjkgrab.utils; import android.content.Context; import android.util.DisplayMetrics; import android.util.TypedValue; /** * Created by myq on 15-12-9. */ public class DimenHelper { private static DisplayMetrics metrics; public static int dp(float px, Context context) { return (int)...
package matrices; @SuppressWarnings("serial") public class RotationZMatrix extends Matrix4f { private float theta; /** * Constructs a new Matrix that rotates objects around the Z-axis. * * @param theta The rotation angle in degrees. */ public RotationZMatrix(float theta) { super( (float)M...
package person; import org.w3c.dom.ls.LSOutput; import java.util.ArrayList; import java.util.List; public class Group<T extends Person> { private List<T> personGroup = new ArrayList<>(); public T add(T person){ personGroup.add(person); System.out.println(person); return person; } ...
package exercicio04; import java.util.Scanner; public class Usuario { private Integer id; private String nome; private String senha; Scanner entrada = new Scanner(System.in); int operador; Usuario(Integer id, String nome, String senha) { System.out.println("Bem vindo, insira os adados por favo...
package com.n0texpecterr0r.classtimetable.ui; import android.app.Dialog; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.n0texpecterr0r.classtimetable.R; import com...
package com.example.dailyroutineplanner; public class Summary { private int SummaryID, Success, Miss; public Summary(int summaryID, int success, int miss) { SummaryID = summaryID; Success = success; Miss = miss; } public int getSummaryID() { return SummaryID; } ...
package com.hc.element_ec.sign; import android.app.Activity; import android.os.Bundle; import android.support.design.widget.TextInputEditText; import android.support.v7.widget.AppCompatButton; import android.support.v7.widget.AppCompatTextView; import android.util.Patterns; import android.view.View; import android.wid...
package com.challenge.jacobtcantera.movietestapp.domain.model; /** * Created by jacob on 20/01/2018. */ public class Movie { private static final String BASE_URL = "http://image.tmdb.org/t/p/"; private static final String COVER_SIZE = "w342"; private String title; private String overview; priva...
package de.xconnortv.warps.utils; import java.util.ArrayList; import java.util.List; import org.bukkit.ChatColor; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; public class InventoryFill { private final Inventory inv; private ...
package redington.week3.project; public class SquareAndCubeTest { public static void main(String[] args) { // TODO Auto-generated method stub SquareAndCube a1=new SquareAndCube(); a1.getInput(); a1.square(); a1.cube(); } }
package com.unimelb.comp90015.Server.Dictionary; /** * Xulin Yang, 904904 * * @create 2020-03-24 0:15 * description: interface for dictionary to provide extendability **/ public interface IDictionary { /** * @param word the word to be searched * @return word's meaning * @throws WordNotFoundEx...
package com.nick.java.handler; import com.nick.java.GraphType; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class GraphTypeHandler implements ActionListener { GraphType gt; public GraphTypeHandler(GraphType gt) { this.gt = gt; } public void actionPerformed...
package racingcar.vo; import racingcar.domain.Car; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; public class RacingResultOfRound { private final List<Car> carsOfRound; private final int round; public RacingResultOfRound(List<Car> carsOfRound, int round) { ...
package group.dao; import java.io.File; import java.util.Arrays; import java.util.List; import org.apache.log4j.Logger; import group.Group; import souvenirs.Picture; import tool.DB; public class GroupDAO { private Logger logger = Logger.getLogger(GroupDAO.class); private static GroupDAO group_dao = ...
package com.factory.factorydeletedetails.dao; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Repository; /** * Author: Amit * Date: 03-01-2020 */ @Repository public class ApplicationDeleteDaoImpl implements Ap...
package com.github.xiaomi007.annotations; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.os.Handler; import android.os.HandlerThread; import android.util...
package com.redhat.service.bridge.manager.api.user.validators.actions; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; import com.redhat.service.bridge.actions.ActionProvider; import com.red...
package org.oatesonline.yaffle.services.impl; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.SortedSet; import java.util.TreeSet; import org.json.simple.JSONArray; import org.json.simple.JSONValue; import org.oatesonline.yaffl...
package duke.command; import duke.ImageType; import duke.Storage; import duke.TaskList; import duke.Ui; import duke.exception.EmptyDescriptionException; import duke.exception.WrongFormatException; import duke.task.Deadline; import duke.task.Event; import duke.task.TaskType; import duke.task.Todo; /** * Represents a ...
package com.ifeng.recom.mixrecall.core.channel.excutor; import com.google.common.collect.Lists; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.ifeng.recom.mixrecall.common.api.SearchApi; import com.ifeng.recom.mixrecall.common.dao.elastic.EsCl...
package com.legaoyi.storer.handler; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import javax.annotation.PostConstruct; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.bea...
/** * (C) Copyright 2005-2009 Yerbabuena Software <http://www.yerbabuena.es> * Authors: vs@athento.com (Yerbabuena Software) * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License version 2 as published by the * Free Software Foundation. *...
package com.badawy.carservice.utils; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import androidx.constraintlayout.widget.ConstraintLayout; import com.badawy.carservice....
package slimeknights.tconstruct.gadgets.client; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.RenderItem; import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.client.renderer.entity.RenderSnowball; import net.m...
package com.entity.entities; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.io.Serializable; import java.util.List; public class ClassificationResponse implements Serializable { private static final long serialVersionUID = -10273337721239334...
package Study2; import java.util.*; public class S5 { public static void main(String[] args){ HashMap<Integer, String> Sites = new HashMap<>(); Sites.put(1,"one"); Sites.put(2,"two"); Sites.put(3,"three"); Sites.put(4,"four"); System.out.println(Sites); } }
package madeinbrazil; import java.util.List; /** * * @author Daniel Machado * @author Eduardo Mallmann */ public class main { public static void main(String[] args) { //Criando DB System.out.println("Criando Database..."); try { StartDBDataSource.criarBd(); } catc...
package com.kharis.expense.tracker.model.response; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.util.Date; @Data @Builder @AllArgsConstructor @NoArgsConstructor public class CategoryResponse { private Long categoryId; private String...
/* package com.wy.test.config; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; */ /** * @author wenyang * @description TODO * @since 2019/12/26 9:40 *//* public class MyWebAppConfigurer extends Web...
package de.fu_berlin.cdv.chasingpictures.api; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.util.List; /** * Class to receive results from searching for places. * @author Simon Kalt */ @JsonIgnoreProperties(ignoreUnknown = true) public class PlacesApiResult extends ApiResult<List<Place...
package Schnittstellen; import java.io.File; import javax.ws.rs.core.MediaType; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; import javax.xml.bind.Unmarshaller; import com.kellnersystem.artikelliste.Artikelliste; import com.kellnersystem.main....
package com.example.testproject.setting; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import androidx.appcompat.app.AppCompatActivity; import com.example.testproject.R; public class CallForwardingActivity extends AppCompatActivity { pub...
//@ObjectsPackage(namespace = WS_OBJECTS_NAMESPACE) //@XmlSchema( // namespace = WS_OBJECTS_NAMESPACE + "/WebService", // elementFormDefault = XmlNsForm.QUALIFIED, // location = WS_OBJECTS_NAMESPACE + "/WebService.xsd" //) package com.db.persistence.wsSoap;
package seedbed.unitTest; import org.apache.log4j.Logger; import org.testng.annotations.Test; import org.testng.Assert; /** * <b>Description:</b> Class that has the unit test for CU1050 gestionar operaciones * <b>Use case:</b> CU1050 gestionar operaciones * @author Andrés Cruz */ public class ArithmeticOperation...
package edu.mit.cci.simulation.excel.responsesurfaces; import org.junit.Assert; import org.junit.Test; import java.util.List; /** * User: jintrone * Date: 2/25/11 * Time: 7:42 AM */ public class SimpleResponseSurfaceTest { Polynomial p = new Polynomial(new double[]{4, 5}); SliceSegment<Float, Integer> ...
// Binary Search in Java //Author: Diana Mascarenhas package arrays; import java.util.Arrays; import java.util.Scanner; public class binarySearch { public static void main(String args[]) { Search obj= new Search(); int a[]= {14,1,19,34,-4,9,87,2}; Scanner sc= new Scanner(System.in); System.out.println("Enter elem...
package sd.service; /** * This is a simple Calculator class that * has four public methods that will be used * as an Axis2 Web Service. * * @author Shane Doyle <iamshanedoyle> */ public class Calculator { private double result = 0; /** * This method is used for adding two values and * it returns the r...
package com.xld.common.validator; import com.baidu.unbiz.fluentvalidator.Validator; import com.baidu.unbiz.fluentvalidator.ValidatorChain; import com.xld.common.other.StrUtil; import java.util.ArrayList; import java.util.List; import java.util.regex.Pattern; /** * 字符串校验链 * @author sjl */ public class StringValida...
package com.example.tarena.protop.util; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; /** * 作者:Linqiang * 时间:2016/5/18:20:24 * 邮箱: linqiang2010@outlook.com * 说明: */ public class DBHelper extends SQLiteOpenHelper { private stati...
// // Decompiled by Procyon v0.5.36 // package com.davivienda.multifuncional.tablas.totalesestacionmultifuncional.servicio; import javax.persistence.Query; import com.davivienda.sara.base.exception.EntityServicioExcepcion; import java.util.logging.Level; import java.util.logging.Logger; import java.util.Collection;...
package jp.ac.sojou.izumi.chikaken.synthesizerui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.J...
package com.example.Bank_App_5.models; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; public abstract class BankAccount { public double balance; public double interestRate; public long accountNumber; public Date accoun...
package com.gxjtkyy.standardcloud.admin.service.impl; import com.gxjtkyy.standardcloud.admin.domain.vo.DocVO; import com.gxjtkyy.standardcloud.admin.domain.vo.request.QueryDocPageReq; import com.gxjtkyy.standardcloud.admin.service.DocService; import com.gxjtkyy.standardcloud.admin.service.TemplateService; import com.g...
package com.jfronny.raut.gui; import com.jfronny.raut.RaUt; import dev.emi.trinkets.api.TrinketsApi; import io.github.cottonmc.cotton.gui.CottonCraftingController; import io.github.cottonmc.cotton.gui.widget.WGridPanel; import io.github.cottonmc.cotton.gui.widget.WItemSlot; import io.github.cottonmc.cotton.gui.widget....
package com.tandon.tanay.locationtracker.ui.base; import android.content.Context; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.view.View; import com.tandon.tanay.locationtracker.LocationTracker; public abstract class BaseActivity extends AppCompatAct...
/* * 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 vista; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JScrollPane; im...
import java.util.Arrays; import java.util.Random; import java.util.Scanner; class MaxMinMidle { //метод возвращает наибольший элемент static int Max(int...arr) { Arrays.sort(arr); //сортируем полученный массив return arr[arr.length-1]; //возвращаем наибольший } //метод возвращает наименьший элемент s...
package cglib; import java.lang.reflect.Method; import net.sf.cglib.proxy.MethodInterceptor; import net.sf.cglib.proxy.MethodProxy; /** * Specific method interceptor for {@link Object#hashCode()}. * * @author <a href="http://blog.frankel.ch/">Nicolas Frankel</a> */ public class HashCodeAlwaysZeroMet...
package com._520it.line; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class LineServlet extends HttpServlet { public void doGet(HttpServletRequest request,...
package server.sport.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.transaction.annotation.Transactional; import server.sport.model.UserResponsibility; i...
package com.emc.subscribe.client; import com.emc.subscribe.handler.MessageHandler; import io.netty.handler.logging.LogLevel; import java.util.HashMap; import java.util.Map; @SuppressWarnings({"unused", "WeakerAccess"}) public class SubscribeClientBuilder { /**最大接收长度*/ private int maxFrameLength; /**消息结束...
package com.lsjr.zizi.view; import android.content.Context; import android.view.MotionEvent; import android.widget.LinearLayout; /** * 创建人:$ gyymz1993 * 创建时间:2017/8/3 13:03 */ public class TLinearLayout extends LinearLayout { public TLinearLayout(Context context) { super(context); } @Override...
package com.jd.jarvisdemonim.ui.testadapteractivity.showcustomview; import android.animation.Animator; import android.animation.ValueAnimator; import android.graphics.Path; import android.graphics.PathMeasure; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v7.wid...
package com.bwie.juan_mao.jingdong_kanglijuan.view.shop; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AlertDialog; import android.support.v7.widget.DividerItemDecoration; import android.support.v7.widget.LinearLayoutManager; import android.suppo...
package com.project.daicuongbachkhoa.student.physicsonestudent; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import com.github.barteksc.pdfviewer.PDFView; import com.github.barteksc.pdfviewer.scroll.DefaultScrollHandle; import com.project.daicuongbachkhoa.R; public class OutlinePhysics...
package com.xuchengpu.shoppingmall.community.adapter; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import java.util.List; /** * Created by 许成谱 on 2017/3/5 17:31. * qq:1550540124 * for: */ //也可以用pageradapter API一提供了封装好...
import java.awt.*; import java.javax.swing.*; class screen extends JWindow { JProgressBar pb1; JLabel l1,l2; public void de() { pb1=new JProgressBar(0,100); pb1.setStringPainted(true); l1=new JLabel("WELCOME"); l2=new JLabel("PlEASE WATE"); setBounds(10,10,500,500); l1.setBounds(20,50,300,30); pb1.setBounds(...
/* * Copyright 2002-2020 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 com.youthlin.example.cglib.bean; import net.sf.cglib.proxy.MethodInterceptor; import net.sf.cglib.proxy.MethodProxy; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; import java.util.Objects; /** * 创建: youthlin.chen * 时间: 2017-11-09 10:26 */ ...
package com.lti.CaseStudy.CaseStudy2; import com.lti.CaseStudy.CaseStudyPlan.Course; import com.lti.CaseStudy.CaseStudyPlan.Student; import java.sql.*; import java.util.ArrayList; import java.util.List; /** * Created by busis on 2020-12-04. */ public class AppEngine { public void introduce(Course course) throws...
package kr.or.ddit.newsboard.controller; import java.net.URLEncoder; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.ServletRequest; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import kr.or.ddit.newsboard.service.NewsBoardSe...
package pages; import java.io.IOException; import java.io.PrintWriter; import java.util.Map; import java.util.Set; import java.util.Map.Entry; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servl...
package network; import java.net.ServerSocket; import java.net.Socket; import java.util.logging.Logger; import settings.Settings; public class ConnectionAcceptor extends Thread{ private ConnectionCallback callback; private ServerSocket socket; public ConnectionAcceptor(ConnectionCallback callback) { this....
//////////////////////////////////////////////////////////////////////////////////// // MIT License // // // // Copyright (c) 2020 Utkarsh Priyam ...
package tinkoff.androidcourse.model.db; import com.raizlabs.android.dbflow.annotation.Database; /** * Created by entr0x on 23.04.2017. */ @Database(name = ChatDatabase.DB_NAME, version = ChatDatabase.VERSION) public final class ChatDatabase { public static final String DB_NAME = "CHAT_DB"; public static ...
package com.danielvizzini.util; /** * Interface to standardize how pertinent information is ascertained to solve Knapsack problems */ public interface KnapsackItem { /** * @return the profit of the knapsack item (e.g. the value of a jug of olive oil) */ public abstract Double getProfit(); /** * @return t...
package co.aca.model.response; import co.aca.model.Course; import com.fasterxml.jackson.annotation.JsonInclude; import java.util.List; @JsonInclude(JsonInclude.Include.NON_NULL) public class ResponseCourse { private String isSuccessful; private Course course; private List<Course> courseList; private...
/* * 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 crawlers; import crawlers.publishers.globalVoices.GlobalVoicesCrawlerAM; import crawlers.publishers.globalVoices.GlobalVoicesC...
package mx.redts.simoc.model.entities; // Generated 27/10/2013 05:02:01 PM by Hibernate Tools 3.4.0.CR1 import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; /** * Parametros generated by hbm2java */ @Entity @Table(name = "parame...
package net.sf.throughglass.templates; /** * Created by guang_hik on 14-8-10. */ public class MemoryCache<T> { }
package com.baopinghui.bin.mapper.app; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Param; import com.baopinghui.bin.dto.ResultDto; import com.baopinghui.bin.entity.DianMianEntity; import com.baopinghui.bin.util.MyMapper; public interface DianMianMapper extends MyMapp...
package com.jwebsite.dao; import java.util.List; import com.jwebsite.vo.Model; public interface ModelDao { //根据ID删除模型 public void delModel(int ID) throws Exception; //更新记录 public void updateModel(Model md) throws Exception; //添加模型 public void insertModel(Model md) throws Exception; //查询模型 public List<Model>...
package com.sndo.fcm.demo4; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.media.RingtoneManager; import android.net.Uri; import android.os.Build; import android.os.Handler;...
package by.partymaker.dto; import by.partymaker.entities.Account; import by.partymaker.entities.Event; import com.fasterxml.jackson.annotation.JsonIgnore; import com.sun.xml.internal.stream.Entity; import java.util.Date; /** * Created on 15.07.2016 * * @author user */ public class EventDto { private String n...
package server.sport.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import server.sport.model.Location; import server.sport.service.LocationService; ...
package com.karya.bean; import javax.validation.constraints.NotNull; import org.hibernate.validator.constraints.NotEmpty; public class BankReconcileBean { private int bankrecId; @NotNull @NotEmpty(message = "Please enter the bank account") private String bankAccount; @NotNull @NotEmpty(message = "Pleas...
import java.math.BigInteger; import java.util.*; public class FibonacciLastDigit { private static int getFibonacciLastDigitNaive(int n) { if (n <= 1) return n; int previous = 0; int current = 1; for (int i = 0; i < n - 1; ++i) { int tmp_previous = previous...
package travel.api.ws; import com.alibaba.fastjson.JSONObject; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import travel.api.dto.response.user.UserInfoResponseDTO; import travel.api.table.entity.PrivateMsg; import tra...
/* * 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.ss */ package com.pmm.sdgc.model; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import jav...
package net.lantrack.framework.jms.kafka; import java.io.IOException; import java.util.Properties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.io.support.PropertiesLoaderUtils; /** * KafKa Client Properties Config * @date 2019年5月13日 */ public class PropertiesConfig { p...
package com.spreadtrum.android.eng; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import java.nio.charset.Charset; public class PhaseCheck extends Activity { private engfetch mEf; private String mText; private TextView mTextView; public void onCreate(Bundle sa...
package com.ipincloud.iotbj.srv.service.impl; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Isolation; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; import javax.annotation.Resource; imp...
package com.Action; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.sf.json.JSONArray; import net.sf.json.JSONObject; import org.apache.struts2.ServletActionContext; import com.dao.zzglDao; import com.model.UpRate; public class UpRateA...
package com.gen.serve; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.Http...