text stringlengths 10 2.72M |
|---|
package org.spider.core;
import org.spider.config.WebSpiderConfig;
import org.spider.core.content.HtmlContent;
/**
* @author liuxin
* @version Id: SpiderInitializer.java, v 0.1 2018/7/27 下午10:12
*/
public interface SpiderInitializer {
Spider initialize(WebSpiderConfig webSpiderConfig, SpiderHandler spiderHandl... |
package backend;
import java.sql.SQLException;
import java.sql.ResultSet;
import java.util.TreeSet;
import java.util.Vector;
import java.util.Properties;
import java.util.TreeMap;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Collections;
import java.io.FileInputStream;
import java.io.FileReader... |
package com.alibaba.druid.bvt.sql.eval;
import junit.framework.TestCase;
import org.junit.Assert;
import com.alibaba.druid.sql.visitor.SQLEvalVisitorUtils;
import com.alibaba.druid.util.JdbcConstants;
public class EvalMethodTest_substring_2 extends TestCase {
public void test_method() throws Exception {
... |
package com.healthyteam.android.healthylifers.Domain;
import android.graphics.Bitmap;
import java.util.LinkedList;
import java.util.List;
public class PersistenceController {
private static final int startWorldUserCount=50;
public static List<User> getFriendFor(User u){
//get user from database
... |
package ru.job4j.lsp.menu;
public interface FindBy {
Node findBy(String name);
}
|
package com.raymon.consumer.controller;
import com.alibaba.dubbo.config.annotation.Reference;
import com.raymon.api.pojo.User;
import com.raymon.api.service.UserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.... |
package com.example.demo.filter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import javax.servlet.*;
import java.io.IOExce... |
package com.artogrid.framework.model;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.hiber... |
package wawi.datenhaltung.bestellungverwaltungs.impl;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceException;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Befor... |
/**
* --------------------------------------------------------------------------------------------------------------------
* <copyright company="Aspose Pty Ltd" file="PdfDigitalSignature.java">
* Copyright (c) 2003-2023 Aspose Pty Ltd
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, t... |
package com.example.medaid.helpers;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import com.example.medaid.models.Prescription;
import com.example.medaid.models.WeeklySchedule;
import java.util.Calendar;
imp... |
package com.esum.comp.socket;
import java.io.IOException;
import com.esum.framework.core.component.ComponentException;
import com.esum.framework.core.component.config.ComponentConfig;
import com.esum.framework.core.config.Configurator;
import com.esum.framework.core.exception.SystemException;
public class SocketConf... |
/*
* Copyright 2002-2023 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... |
/*
* Copyright (C) 2017 The Android Open Source Project
*
* 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 app... |
package ur.ur_flow.task;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import com.ambit.city_guide.R;
import com.gtambit.gt.app.mission.obj.URTaskObj;
import java.ut... |
package com.stk123.task.schedule;
import java.sql.Connection;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.stk123.model.bo.Stk;
import com.stk123.model.Index;
import com.stk123.common.db.util.DBUtil;
import com.stk123.commo... |
package it.itis.cuneo;
import javax.print.DocFlavor;
public class Controllo {
public static int ATTESA = 0;
public static final String STRINGA = "Veronica";
public static void main(String[] args) {
System.out.println("Stringa da invertire: '" + STRINGA + "'");
long startTime... |
package lesson7.hw;
import java.util.LinkedList;
import java.util.Scanner;
/**
* Algorithms and data structures in Java. 24.09.2019 Webinar. Teacher: Fanzil' Kusyapkulov
* Урок 7. Графы
* Рассмотрим работу с одной из самых гибких и универсальных структур.
* Homework.
* @author Yiriy Litvinenko
* DONE 1. Реализо... |
package com.util;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.group.model.GroupVO;
import redis.clients.jedis.JedisPool;
import javax.servlet.ServletContext;
import javax.servlet.ServletOutputStream;
import javax.servlet.ServletResponse;
import javax.se... |
package com.bchetty.service.rest;
import com.sun.jersey.core.spi.component.ComponentContext;
import com.sun.jersey.core.spi.component.ComponentScope;
import com.sun.jersey.spi.inject.Injectable;
import com.sun.jersey.spi.inject.InjectableProvider;
import java.lang.reflect.Type;
import javax.ejb.EJB;
import javax.namin... |
package game;
import java.awt.geom.Rectangle2D;
/**
*
* @author Nitro
*/
public abstract class Entity {
protected static int idCount = 0;
protected int id;
protected float xPos, yPos; //world position
protected float xVel = 0;
protected float yVel = 0;
protected int width = 0;
protected... |
package com.cakeworld.controller;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springf... |
package com.wxt.designpattern.facade.test02;
public interface CModuleApi {
void testC();
}
|
/*
* 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 BLL;
import DAL.DAL_NhanVien;
import DTO.DTO_NhanVien;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.ut... |
/*
* Copyright Verizon Media, Licensed under the terms of the Apache License, Version 2.0. See LICENSE file in project root for terms.
*/
package com.yahoo.cubed.service;
import com.yahoo.cubed.dao.DAOFactory;
import com.yahoo.cubed.dao.FieldDAO;
import com.yahoo.cubed.model.Field;
import com.yahoo.cubed.service.ex... |
/***********************************************************
* @Description : 添加readResolve方法解决序列化破坏单例模式的问题
* @author : 梁山广(Liang Shan Guang)
* @date : 2020/5/2 15:15
* @email : liangshanguang2@gmail.com
***********************************************************/
package 第4到27章_23大设计模式.第08章_单例模式... |
package com.thinkgem.jeesite.modules.sys.interceptor;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
public class CsrfIntercepter implements HandlerInterceptor... |
package tjava.base.utils;
import tjava.base.Function;
import tjava.base.Result;
import tjava.base.TailCall;
import tjava.base.Tuple;
public class UnfoldUtils {
public static <A> A unfold(A a, Function<A, Result<A>> f) {
Result<A> ra = Result.success(a);
return unfold(new Tuple<>(ra, ra), f).eval(... |
package com.zym.blog.dto;
import com.zym.blog.model.Admin;
import java.io.Serializable;
import java.util.List;
/**
* @author Gavin
* @date 2016-10-19
*/
public class AdminInfoDto implements Serializable {
private Admin admin;
private List<AdminMenuRightDto> menuRightDtos;
public Admin getAdmin() {
... |
package com.mindstatus.module;
import java.util.List;
import com.mindstatus.module.query.MsEmployeeQuery;
import com.vicutu.persistence.query.Pagination;
public interface IMsEmployeeDao
{
void saveOrUpdate(MsEmployee msEmployee);
void delete(MsEmployee msEmployee);
List<MsEmployee> findAll();
M... |
package exercises;
import java.util.Scanner;
public class CondoSales
{
public static void main(String[] args)
{
// TODO Auto-generated method stub
int input = 0;
Scanner input1 = new Scanner(System.in);
System.out.println("Hi welcome to Summerdale condos, there are 3 different views for you to... |
package net.feliperocha.gameofthree.domain;
public enum PlayerStatus {
WAITING,
PLAYING,
DISCONNECTED,
FINISHED
}
|
package com.example.checker;
public enum cell {
empty,
black,
white;
}
|
package com.lucasirc.servercatalog.service;
import com.google.gson.Gson;
import com.lucasirc.servercatalog.dao.DefaultDAO;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public abstract class ResourceService<T>{
protected ResourceTransformer<T> transformer;
... |
package com.yf.bigdata.kafka.hollysys;
import com.alibaba.fastjson.JSONObject;
import com.yf.bigdata.kafka.hollysys.listener.KafkaProducerMessageListener;
import lombok.extern.log4j.Log4j2;
import org.apache.commons.lang3.time.DateFormatUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.s... |
import java.util.*;
class Day7q2 {
static int countWays(int[] arr, int n)
{
int max_val = 0;
for (int i = 0; i < n; i++)
max_val = Math.max(max_val, arr[i]);
int[] freq = new int[max_val + 1];
for (int i = 0; i < n; i++)
freq[arr[i]]++;
... |
import java.io.File;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.FileNotFoundException;
import java.util.Scanner;
import java.lang.SecurityException;
import java.util.Arrays;
public class WifiPass {
private File name;
private int count = 1;
private int j;
... |
package com.example.lolhelperapp.models.deltas;
public class GoldPerMinDeltas extends Deltas{
}
|
package com.mindstatus.component.employee;
import java.awt.Color;
import java.awt.Font;
import java.awt.RenderingHints;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ... |
/*
* Copyright (c) MyScript. All rights reserved.
*/
package com.myscript.iink.samples.batchmode;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.DisplayMetrics;
import com.google.gson.Gson;
import com.myscript.iink.Configur... |
package fr.unice.polytech.isa.polyevent.cli.commands;
import fr.unice.polytech.isa.polyevent.cli.framework.Command;
import fr.unice.polytech.isa.polyevent.cli.framework.CommandBuilder;
import fr.unice.polytech.isa.polyevent.cli.framework.Context;
import fr.unice.polytech.isa.polyevent.stubs.Evenement;
import fr.unice.... |
package com.example.chordnote.ui.period.comment;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
impo... |
package Class2.TechbowBadgeSystem;
import Class2.TechbowBadgeSystem.Rules.IValidateRule;
import java.util.List;
/**
* Created by FLK on 2019-12-27.
*/
public interface IValidationService {
int getUserSecurityLevel(final String userId);
int getCheckerSecurityLevel(final String checkerId);
String getUs... |
package com.lenovohit.ssm.base.utils;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import javax.imageio.ImageIO;
import org.apache.h... |
package entity.mob.snake.weapon.shell;
import java.awt.Graphics2D;
import java.awt.Image;
import main.Game;
import main.Pictures;
import main.World;
import entity.Entity;
import entity.mob.Mob;
public class Shell extends Entity
{
private Image img;
protected Mob owner;
public Shell init(long x, l... |
package com.gaoshin.dating;
public enum DimensionRace {
Asian("Asian", 10),
Black("Black", 20),
HispanicLatin("Hispanic / Latin", 30),
Indian("Indian", 40),
MiddleEastern("Middle Eastern", 50),
NativeAmerican("Native American", 60),
PacificIslander("Pacific Islander", 70),
Whi... |
package com.javawebtutor.Models;
import javax.persistence.*;
import java.util.List;
@Entity
@Table(name = "cars")
public class Cars {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "carId")
private int cars;
@ManyToOne
@JoinColumn(name = "carModelId")
private Car... |
/*
* Copyright 2002-2021 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... |
// Optimized as well
import java.util.ArrayList;
import java.util.List;
public class PrimeNumberSieve {
public static void main(String[] args) {
System.out.println(findAllPrimesUpto(100));
}
public static List<Integer> findAllPrimesUpto(final int n) {
final boolean[] touched = new boole... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.davivienda.sara.entitys;
import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Tempor... |
public class StrategyExample_03 {
public static void main(String[] args) {
Developer developer = new Developer();
developer.setActivity(new Sleeping());
developer.executeActivity();
developer.setActivity(new Training());
developer.executeActivity();
developer.setA... |
package kr.or.ddit.basic;
class Util2{
public static <T extends Number> int compare(T t1, T t2) { // T extends Number -T는 number를 상속받았다-> Number 객체를 상속받음
double v1 = t1.doubleValue(); // int,float,double 등 number객체에서 정의해놓은 요소를 가져다 쓸 수 있음
double v2 = t2.doubleValue();
return Double.compare(v1, v2); // double의 st... |
package com.smart.droidies.tamil.natkati.library.util;
public class Time {
private static final String C_SEPERATOR = ":";
private int hour;
private int min;
private boolean pm;
private boolean empty;
public Time() {
this.hour = 0;
this.min = 0;
this.pm = false;
}
public Time(int hour, int min, boolean... |
package com.htz.test;
import com.htz.model.Car;
import com.htz.model.Preson;
public class Test {
public static void main(String[] args) {
Car car = new Car("À¼²©»ùÄá", "ºìÉ«");
Preson p = new Preson("ͳ¸ç",22,car);
System.out.println(p);
}
}
|
package com.example.TRUsell;
import android.app.ProgressDialog;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widg... |
package br.com.guisfco.onlineshopping.domain;
import br.com.guisfco.onlineshopping.entity.Customer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustomerListResponse... |
package com.appspot.smartshop.ui.user.subcribe;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.ListActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import... |
/*
* 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 clase2SincronizmodeHilo;
public class Parte3 {
//para que el sincronizado funcione el objeto saludo debe ser un... |
package com.example.htw.currencyconverter.ui;
import android.arch.lifecycle.Lifecycle;
import android.arch.lifecycle.LifecycleOwner;
import android.arch.lifecycle.LifecycleRegistry;
import android.databinding.BindingAdapter;
import android.databinding.DataBindingUtil;
import android.graphics.Typeface;
import android.os... |
package com.pwq.mavenT;
import com.pwq.utils.DateUtils;
import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
/**
* @Author:WenqiangPu
* @Description
* @Date:Created in 17:42 2017/11/16
* @Modified By:... |
package utn.sau.hp.com.modelo;
// Generated 04/12/2014 23:31:51 by Hibernate Tools 3.6.0
import java.util.Date;
/**
* PagosArts generated by hbm2java
*/
public class PagosArts implements java.io.Serializable {
private Integer id;
private Conveniosparticulares conveniosparticulares;
private Date ... |
package com.uav.rof.vo;
public class PaymentTypeVO {
private Integer paymentTypeId;
private String typeName;
public Integer getPaymentTypeId() {
return paymentTypeId;
}
public void setPaymentTypeId(Integer paymentTypeId) {
this.paymentTypeId = paymentTypeId;
}
public S... |
/*
* 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 ht.gouv.faes.entity;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Basic;
import java... |
package bis.project.model;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
impo... |
package com.example.demo.util;
import org.springframework.stereotype.Component;
import java.io.*;
/**
* Utility for creating and converting object to byte and vice versa
*/
@Component
public class RedisSerializer {
/**
* Convert the bytes to Object. deSerialize Object
* @param bytes
* @return
... |
package com.example.exam.ui.userGallery;
import android.content.Context;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.example.exam.dataBase.ImageHandler;
import com.example.exam.models.Image;
import java.util.ArrayList;
import java.ut... |
package com.myou.appback.resource;
import org.restlet.resource.ServerResource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Description: 基础resource<br>
* @version 1.0
*/
public class BaseResource extends ServerResource{
/** 日志对象 */
protected Logger logger = LoggerFactory.getLogg... |
package dk.webbies.tscreate.analysis.methods.mixed;
import dk.au.cs.casa.typescript.types.Signature;
import dk.webbies.tscreate.Options;
import dk.webbies.tscreate.analysis.*;
import dk.webbies.tscreate.analysis.unionFind.*;
import dk.webbies.tscreate.declarationReader.DeclarationParser.NativeClassesMap;
import dk.web... |
package hwl3;
import java.util.Random;
public class CommonFunctions {
public static int getRand() {
Random rand = new Random();
int Number = rand.nextInt(100000);
return Number;
}
public static int getRand(int max) {
Random rand = new Random();
int Number = rand.nextInt(max);
return Number;
}
publi... |
package game;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.LineUnavailableException;
import javax.sound.sampled.SourceDataLine;
import ja... |
/*
* 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 chatsystem;
import static chatsystem.Chat.window;
import common.Message;
import static common.Message.MsgType.TEXT_MESSAGE;
im... |
/** contains the run method for the vehicle and manages
* the speed at which the car moves across the grid
*/
public class BasicCar extends Vehicle {
/** the amount of time the car waits before attempting to enter the next block */
private int speed;
/** constructor */
public BasicCar(int c, Direction d, int s, ... |
package pl.cloth.shop.model;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;
import org.springframework.data.annotation.ReadOnlyProperty;
import javax.pe... |
class HugePrime{
HugePrime(){
findNum();
}
public static void main(String [] args){
new HugePrime();
}
boolean isPrime(int n){
if(n==2) return true;
if(n%2==0 || n==1) return false;
for(int i=3;i<Math.sqrt(n)+1;i+=2){
if(n%i==0) return false;
}
return true;
}
void findNum(){
int max=10001;
i... |
package com.corejava.collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class SetToMapConversion {
public static void main(String[] args) {
Set<Employee> employeeSet=new HashSet<>();
employeeSet.add(new Employee(101, "Ashutosh"));
employeeSet... |
/*
* Copyright 2002-2023 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.example.purchaserequisitionapp;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import java.util.ArrayList;
public class CustomAdaptor extends BaseAdapter {
... |
package com.teaboot.context.common;
import java.io.IOException;
import java.util.Properties;
import com.teaboot.context.utils.StringUtil;
import com.teaboot.context.utils.Utils;
public class PropertiesManager {
Properties applicationProperties = null;
Properties applicationEnvProperties = null;
priva... |
package reflect;
import generic.Generic;
import java.util.Properties;
/**
* 简述:
*
* @author WangLipeng 1243027794@qq.com
* @version 1.0
* @since 2019/12/23 11:24
*/
public class ReflectTest {
public static void main(String[] args) throws Exception {
// Class cls1 = Class.forName("reflect.Beacon");
... |
package com.softserveinc.uschedule.entity;
import com.softserveinc.uschedule.entity.util.LocalDateTimePersistenceConverter;
import javax.persistence.*;
import java.time.LocalDateTime;
@Entity
@Table(name = "event")
public class Event {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Integer ... |
package modelo;
public class Habitacion3 extends Habitacion {
public Habitacion3(int prcio,int nroHab){
super(prcio, nroHab);
}
}
|
package com.nisum.webflux.service.impl;
import com.nisum.webflux.model.Address;
import com.nisum.webflux.model.City;
import com.nisum.webflux.model.Employee;
import com.nisum.webflux.model.Hobby;
import com.nisum.webflux.repository.EmployeeRepo;
import com.nisum.webflux.service.impl.EmployeeService;
import org.junit.... |
package com.sweetitech.services;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.sweetitech.entities.Country;
import com.sweetitech.entities.TeamMember;
import com.sweetitech.repositories.CountryRepository;
import com.swe... |
package fj.swsk.cn.eqapp.subs.collect.Common;
import android.database.Cursor;
import java.sql.Date;
import java.util.ArrayList;
import java.util.List;
import fj.swsk.cn.eqapp.conf.CommonService;
import fj.swsk.cn.eqapp.conf.ISQLite;
import fj.swsk.cn.eqapp.subs.collect.M.Tscene;
import fj.swsk.cn.eqapp.subs.more.M.E... |
/*
* java-math-library is a Java library focused on number theory, but not necessarily limited to it. It is based on the PSIQS 4.0 factoring project.
* Copyright (C) 2018 Tilman Neumann (www.tilman-neumann.de)
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU Gen... |
package com.zc.pivas.allowork.bean;
import java.io.Serializable;
/**
* 对应配置费分类数量
*
* @author jagger
* @version 1.0
*/
public class AlloWorkCount implements Serializable {
/**
* 注释内容
*/
private static final long serialVersionUID = 1L;
/**
* 编码
*/
private S... |
package com.velan.zoho.pageobjects;
public class ZohoCreatorPage {
}
|
package com.arthur.leetcode;
/**
* @program: leetcode
* @description: 计算力扣银行的钱
* @title: No1716
* @Author hengmingji
* @Date: 2022/1/15 10:44
* @Version 1.0
*/
public class No1716 {
public int totalMoney(int n) {
int count = n / 7;
int ans = (28 + ((count - 1) * 7 + 28)) * count / 2;
... |
package de.phantomcreations.backend.rest.api;
public interface VolumeService {
}
|
package pe.gob.sis;
import java.util.Vector;
public class Procedimientos extends SIS_Object{
public Procedimientos() {
super(11, "SIS_PROCEDIMIENTOS");
}
public static Vector getForFUA(String uid){
return SIS_Object.getForFUA("SIS_PROCEDIMIENTOS", 11, uid);
}
public static void moveToHistory(String uid){... |
package com.baidu.serivce;
import java.util.Collections;
import java.util.List;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
impo... |
package com.fm.scheduling.util;
import com.fm.scheduling.domain.User;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ResourceBundle;
public class UtilLog {
priv... |
package com.longfellow.tree;
/*
* 从给定的先序和 中序遍历重建二叉树
*/
public class PreInBuildTree {
public TreeNode reBinarTreeContruct2(int[] preorder, int[] inorder) {
if (preorder == null || inorder == null || preorder.length == 0 || inorder.length == 0) {
return null;
}
return helper(preorder, 0, preorder.length - 1, ... |
package com.company;
public interface PrintData {
}
|
package demo01.shape.impl;
import demo01.shape.Shape;
/**
* @Description:
* @Author: lay
* @Date: Created in 13:59 2018/12/6
* @Modified By:IntelliJ IDEA
*/
public class Rectangle implements Shape {
@Override
public void draw() {
System.out.println("Rectangle::draw()");
}
}
|
package com.sinodynamic.hkgta.dao.mms;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.sinodynamic.hkgta.dao.GenericDao;
import com.sinodynamic.hkgta.entity.mms.SpaCenterInfo;
@Repository
public class SpaCenterInfoDaoImpl e... |
package sign.com.biz.user.dto;
public class SignGroupDto {
private Integer idGroup;
private String name;
private String createdBy;
private Integer idRole;
public Integer getIdGroup() {
return idGroup;
}
public void setIdGroup(Integer idGroup) {
this.idGroup = idGroup;
}
public Integer getIdRo... |
package com.grocery.codenicely.vegworld_new.notifications.presenter;
/**
* Created by ramya on 6/4/17.
*/
public interface NotificationsListPresenter {
void getNotificationsList(String access_token);
void onDestroy();
}
|
package com.github.andlyticsproject;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app... |
package com.github.grimpy.gotifier;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
public class AutoStarter extends BroadcastReceiver {
@Override
public void onReceive... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.