text stringlengths 10 2.72M |
|---|
package com.anonymous9495.mashit;
import java.io.Serializable;
/**
* Created by staffonechristian on 2017-09-09.
*/
public class UserData implements Serializable{
private String name;
private String emailId;
private String fbId;
private String userId;
private int hotScore;
private String ge... |
// 插入与归并(25)
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;
public class Main {
private static int[] strSplit(String string)
{
String[] split = string.split(" ");
int[] splited = new int[split.length];
for (int i=0;i<split.length;i++)
{
... |
package com.zhongyp.spring.demo.annotation;
import com.sun.istack.internal.NotNull;
import com.sun.istack.internal.Nullable;
import lombok.NonNull;
/**
* @author zhongyp.
* @date 2019/7/4
*/
public class NullAnnotation {
// @Nullable
public static String nullable(@Nullable String b){
System.out.p... |
package controller;
import javax.annotation.Resource;
import javax.servlet.http.HttpSession;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpRequest;
import org.springframework.stere... |
import java.io.BufferedInputStream;
import java.util.*;
/**
* @author EasonZz
*/
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(new BufferedInputStream(System.in));
int n = sc.nextInt();
if (n < 3) {
System.out.println(0);
ret... |
package com.example.bouncingball;
import android.graphics.Paint;
public class Bloque {
private Paint pincel;
private int anchoBloque;
private int altoBloque;
private int posX;
private int posY;
private int dureza;
private int id;
private int nroFila;
private int nr... |
/**
* Sencha GXT 3.0.1 - Sencha for GWT
* Copyright(c) 2007-2012, Sencha, Inc.
* licensing@sencha.com
*
* http://www.sencha.com/products/gxt/license/
*/
package com.sencha.gxt.desktopapp.client.spreadsheet;
import com.sencha.gxt.desktopapp.client.FileBasedMiniAppView;
public interface SpreadsheetView extends Fi... |
package DesignPattern.Decorator;
public class FilmStar extends Modeling {
public FilmStar(){
super();
System.out.println(" FilmStart cost 5000");
setPrice(5000f);
}
@Override
public void show() {
}
@Override
public float cost() {
... |
package ua.siemens.dbtool.service.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataIntegrityViolationException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotatio... |
package uchet.service.permissions;
import uchet.models.Permission;
import uchet.models.Position;
import java.util.List;
import java.util.Map;
public interface PermissionService {
List<Permission> getAll();
}
|
package com.jwebsite.daoimpl;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import com.jwebsite.dao.PhotoClassDao;
import com.jwebsite.db.DBManager;
import com.jwebsite.db.DbConn;
import com.jwebsite.db.ConnectionPool.PooledConnection;
import com.jwebsite.p... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.candlelit.slimeweed;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
import org.junit.jupiter.api.*;
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.awt.image.RenderedImage;
import java.io.ByteArrayOutputStream;
import java.io.File... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package controller;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.enterpr... |
package denoflionsx.DenPipes.AddOns.Forestry.logger;
import denoflionsx.denLib.Mod.Logger.DenFormat;
import java.util.logging.FileHandler;
import java.util.logging.Handler;
import java.util.logging.Logger;
public class ForestryPipeLogger {
private static final Logger LOG = Logger.getLogger(ForestryPipeLogger... |
package fr.mawathilde.minecraftsuggestions.client.renderer;
import fr.mawathilde.minecraftsuggestions.MinecraftSuggestions;
import net.minecraft.client.renderer.entity.AbstractZombieRenderer;
import net.minecraft.client.renderer.entity.EntityRendererManager;
import net.minecraft.client.renderer.entity.model.ZombieMode... |
package ru.parse.dump.objects;
/**
* Dump header.
*/
public class DumpHeader {
private final long version;
private final DumpPlatform platform;
private final boolean hashed;
private final boolean j9VM;
private final String jvmVersion;
public DumpHeader(long version, DumpPlatform platform, bo... |
package UI.editor;
import experiments.RewardStation;
import javax.swing.*;
import java.awt.*;
/**
* Created by Netai Benaim
* for G-Lab, Hebrew University of Jerusalem
* contact at: netai.benaim@mail.huji.ac.il
* version:
* <p>
* this is RewardIcon in UI.editor
* created on 9/15/2016
*/
// // TODO: 9/29/2016... |
package Learn;
public class L8 {
public static void main(String args[]){
int [] nums = {1,2,3,4,5};
for(int x : nums){
System.out.print(x);
System.out.print(",");
}
System.out.print("\n");
String [] names = {"Tom","Jame","Lacy"};
for(String x ... |
/*
* 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 pbo3.pkg10117089.latihan49.biayaemaskawin;
/**
*
* @author a
*/
public class Emas {
private double totalBerat;
priv... |
package com.igs.qhrzlc.view.activity;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.igs.qhrzlc.presenter.PresenterCaoPanList;
import com.igs.qhrzlc.utils.IntentUtils;
import com.igs.qhrzlc.view.... |
package Ch14;
public class bubbleSort {
public static void main(String args[]) {
int a[] = { 69, 10, 30, 2, 16, 8, 21, 22 };
bubbleSort bs = new bubbleSort();
System.out.printf("\n정렬할 원소 : ");
for (int i = 0; i < a.length; i++) {
System.out.printf(" %d", a[i]);
... |
/* Session.java
Purpose:
Description:
History:
Mon May 30 21:29:17 2005, Created by tomyeh
Copyright (C) 2005 Potix Corporation. All Rights Reserved.
{{IS_RIGHT
This program is distributed under LGPL Version 2.1 in the hope that
it will be useful, but WITHOUT ANY WARRANTY.
}}IS_RIGHT
*/
package org.... |
/*
* 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 ee_t04_listas;
/**
*
* @author Victor Hugo Bolaños
*/
public class Nodo <T>{
private T dato;
private ... |
package com.sam.ui.controller;
import java.util.List;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.Reques... |
package graph;
import java.util.LinkedList;
import java.util.Queue;
public class SimplestBFS implements PathSearcher{
class Node{
int number;
int x;
int y;
Node parent;
Node (int x, int y, int number){
this.number = number;
this.x = x;
t... |
package com.prive.exercices.euroMillion;
@SuppressWarnings("serial")
class NameJeuxException extends Exception
{
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
// CONSTRUCTEUR
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%... |
package basic;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
public class Koala {
public static void main(String[] args) {
try {
FileInputStream inkoala = new FileInputStream("d:/d_other/koala.jpg");
FileOutputStream oukoala = new FileOutputStream("d:/d_Othe... |
package ng.mobilea.airvoucher.utilities.loaders;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import ng.mobilea.airvoucher.client.AgentService;
import ng.mobilea.airvoucher.client.ServiceGenerator;
import ng.mobilea.airvoucher.entities.MyVoucher;
import ng.mobilea.airvoucher... |
package com.hillel.javaElementary.classes.Lesson_7;
import java.util.Date;
public class MulticastingLifecycleObserver implements IHumanLifecycleObserver {
private final IHumanLifecycleObserver[] observers;
public MulticastingLifecycleObserver(IHumanLifecycleObserver[] observers) {
this.observers = o... |
package android.support.constraint.solver.widgets;
import android.support.constraint.solver.LinearSystem;
import android.support.constraint.solver.SolverVariable;
import android.support.constraint.solver.widgets.ConstraintWidget.DimensionBehaviour;
public class Optimizer {
static void applyDirectResolutionHorizon... |
package com.ryg.utils;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.graphics.drawable.Drawable;
import android.os.Build;
import andr... |
package xyz.softwaredeveloveper.CustomCache;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import xyz.softwaredeveloveper.impl.TimeStampLog;
import java.util.Optional;
import static org.junit.Assert.*;
public class TimeStampLogTest {
private TimeStampLog<Integer> log = new TimeStampLog... |
package View;
import javafx.scene.effect.DropShadow;
import javafx.scene.effect.Effect;
import javafx.scene.text.Font;
import javafx.scene.text.FontWeight;
public class ViewEffects {
public static Effect getShadowEffect(int xOffset,int yOffset) {
DropShadow dropShadow = new DropShadow();
dropShado... |
/**
Name: Rafiul Huq
Date: 10/07/2018
Course Section: IT 206-006
Assignment: Programming Assignment 8
Description:
This program will keep track of all a companyís servers. There is a maximum of 206
servers and a server must be either a web server or a file server, cannot just be a
server. The program will tra... |
package architecture.exception;
public class BoardPostingDuplicationException extends RuntimeException{
//
private static final long serialVersionUID = -6038657093205153751L;
public BoardPostingDuplicationException(String message){
//
super(message);
}
}
|
package com.shadow.repository;
import com.shadow.domain.ImageFile;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* Created by qq65827 on 2015/1/26.
*/
@Repository
public interface ImageFileRepository extends MyCustomRepository<ImageFile,Long> {
public List<ImageFile> findByUserI... |
package com.example.navigationdrawerandfragments;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import a... |
package com.ifeng.recom.mixrecall.common.util;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.lang.reflect.Type;
public class GsonUtil {
private static final Logger logger = LoggerFac... |
package com.damianogiusti.cleanandroid.ui;
/**
* Created by Damiano Giusti on 03/05/17.
*/
public class others_ui_packages_here {
}
|
package xhu.wncg.firesystem.modules.mapper;
import xhu.wncg.firesystem.modules.controller.vo.TransferTableVO;
import xhu.wncg.firesystem.modules.controller.qo.TransferTableQO;
import xhu.wncg.common.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 移交书
*
* @author zhaobo
* @email 15528330581@... |
package com._520it.wms.util;
import java.util.Calendar;
import java.util.Date;
/**
* Created by 123 on 2017/8/5.
*/
public class DateUtil {
// 当前天的最后一秒
public static Date getEndDate(Date current){
Calendar c = Calendar.getInstance();
c.setTime(current);
c.set(Calendar.HOUR_OF_DAY,23... |
package ua.epam.provider.dao;
import org.junit.Assert;
import org.junit.jupiter.api.Test;
import ua.epam.provider.entity.User;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.List;
import java.util.Random;
class UserDaoTest {
private UserDao userDao = new UserDao();
@Test
vo... |
package strings;
// 1.wap to enter a word and character and delete the inputted character from word
import java.util.*;
class S4_character_delete
{
Scanner sc=new Scanner(System.in);
void d(char ch)
{
System.out.println("ENTER A WORD");
String str=sc.next();
StringBuffer stb=new Str... |
package pl.pmisko.mypetclinic.services;
import pl.pmisko.mypetclinic.model.Specialty;
public interface SpecialtyService extends CrudService<Specialty, Long> {
}
|
package com.lfj.service.impl;
import com.lfj.entity.Permission;
import com.lfj.mapper.PermissionMapper;
import com.lfj.service.IPermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 服务实现类
* </p>
*
* @author lfj
* @since... |
package com.rhino.mailParser;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.util.Date;
import java.util.LinkedList;
import java.util.Map;
import org.apache.log4j.Logger;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Tra... |
package com.ifeng.recom.mixrecall.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* Created by liligeng on 2019/8/19.
*/
@RestController
@RequestMapping("/mixrecom/debug")
public class DebugController {
}
... |
/*
* Copyright (C) 2014 Changchao 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 applicable law or... |
/**
* This class is generated by jOOQ
*/
package schema.tables;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.Identity;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.... |
package br.com.fitNet.util;
public class Mensagens {
private String mensagemSucesso;
private String mensagemErro;
public Mensagens(){
this.mensagemSucesso = "";
this.mensagemErro = "";
}
public String getMensagemSucesso() {
return mensagemSucesso;
}
public void setMensagemSucesso(String mensagem) {... |
package com.apon.taalmaatjes.backend.api.returns;
import java.sql.Date;
import java.util.List;
public class ReportReturn {
private Date dateStart;
private Date dateEnd;
private List<RangeReportReturn> volunteers;
private List<RangeReportReturn> students;
public ReportReturn(Date dateStart, Date d... |
//
// Decompiled by Procyon v0.5.36
//
package com.davivienda.multifuncional.cuadrecifrasmulti.session;
import java.util.Collection;
import java.util.Date;
import com.davivienda.sara.entitys.Tipomovimientocuadremulti;
import com.davivienda.sara.base.exception.EntityServicioExcepcion;
import com.davivienda.sara.enti... |
package com.weiziplus.springboot.common.utils.token;
import com.weiziplus.springboot.common.utils.redis.RedisUtil;
import lombok.extern.slf4j.Slf4j;
/**
* 用户token配置
*
* @author wanglongwei
* @data 2019/5/8 9:06
*/
@Slf4j
public class TokenUtil {
/**
* 根据用户id获取用户Redis的key值
*
* @param audience-... |
package cn.Lamda;
/**
* 实现方法的引用接口
* @param <P> 引用方法的参数类型
* @param <R> 引用方法的返回类型
*/
interface IMessage5<P,R>{
public R zhuanhuan(P p);
}
public class TextDemo5 {
public static void main(String[] args) {
//即:将String.valueOf()方法变为了IMessage接口里的zhuanhuan()方法
IMessage5<Integer, Integer> msg = String :: valueof;... |
package uk.nhs.hee.web.component;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.hippoecm.hst.core.component.HstRequest;
import org.hippoecm.hst.core.component.HstResponse;
import org.onehippo.cms7.crisp.api.resource.ResourceException;
import org.onehippo.cms7.essentials.c... |
//Nicole Leon 3/20/19
package textExcel;
public class ValueCell extends RealCell {
public ValueCell(String input) {
super(input);
}
//same fullCellText and abbreviatedCelltext
//plus same DoubleValue and getText
public String getText() {
return valueText.substring(0,valueText.leng... |
package JavaBasics;
/**
* Created by RXC8414 on 5/3/2017.
*/
public class WhileLoop {
public static void main(String[] args) {
//Declare and initialize my counter
int i = 0;
// We are looping from 0-10 and printing out the value of counter
while(i <= 10){
System.out.... |
package com.perfect.web.service;
import com.perfect.entity.User;
import com.perfect.web.form.UserForm;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
/**
* <p>
* 用户表 服务类
* </p>
*
* @author Ben.
* @since 2017-03-15
*/
public interface UserService extends IService<U... |
package com.trinary.security.token;
import java.util.HashMap;
import java.util.Map;
import com.trinary.security.entities.User;
import org.springframework.stereotype.Component;
@Component
public class MemoryResidentTokenManager extends TokenManager {
protected static Map<String, Token> tokenMap = new HashMap<String,... |
package Daos;
import java.io.*;
import beans.User;
public class UserSerializer implements UserDao{
public static final UserSerializer us = new UserSerializer();
@Override
public void logNewUser(User u) {
if (u ==null) {
System.out.println("Something went wrong, no user was passed");
return;
}
File f =... |
package jsonparser.tests;
import java.util.Arrays;
public class Person {
public String name;
public int age;
public String hobbies[];
public int negage;
public Person spouce;
public Person() {
}
@Override
public String toString() {
return "Name : " + name + ", age... |
package me.chillgu.jwt;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Jwt02Application {
public static void main(String[] args) {
SpringApplication.run(Jwt02Application.class, args);
}
}
|
package com.woniu.controller;
import com.woniu.pojo.ResultVO;
import com.woniu.pojo.Patient;
import com.woniu.service.IPatientService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import javax.servlet... |
package fr.nirahtech.garage.repositories;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import fr.nirahtech.garage.entities.Vehicule;
public interface VehiculesRepository extends JpaRepository<Vehicule, Integer> {
Optional<Vehicule> findById(Long id);
}
|
package com.javatutorial.teennumberchecker;
public class Main {
public static void main(String[] args) {
System.out.println(TeenNumberChecker.hasTeen(9,99,19));
System.out.println(TeenNumberChecker.hasTeen(23,15,42));
System.out.println(TeenNumberChecker.hasTeen(22,99,24));
Syst... |
package com.sezioo.permission.param;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class TestVo {
@NotNull
private Integer id;
@NotBlank
private String msg;
}
|
package com.leetcode.oj.hash;
import java.util.ArrayList;
import java.util.List;
public class SudokuSolver {
public void solveSudoku(char[][] board) {
List<Integer> empty = new ArrayList<>();
for (int i = 0; i < 9; i++) {
for (int j = 0; j < 9; j++) {
if (bo... |
package com.example.studyEnum;
/**
* @PackageName: com.example.studyEnum
* @ClassName: EnumTest
* @Description: TODO
* @author: qiuweijie
* @date: 2019/12/26 10:53
*/
public class EnumTest {
public void judge(SeasonEnum s){
switch (s){
case SPRING:
System.out.println("春"... |
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.business.model;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
@MappedSuperclass
publi... |
package edu.ncsu.csc563.velocity.actors.components;
public class ForcedMovement extends Component {
private Transform mTransform;
public static float mSpeed = 0.2f;
public ForcedMovement(Transform transform) {
this.mTransform = transform;
}
@Override
public void update() {
this.mTransform.translate(0, 0, ... |
package ru.job4j.max;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
public class MaxTest {
@Test
public void whenFirstLessSecond() {
Max max = new Max();
int result = max.max(1, 4);
assertThat(result, is(4));
}
@Test
... |
package mobile.komputer.unsyiah.ac.id.mahasiswa;
import android.content.ContentValues;
import android.content.Intent;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
impo... |
package org.sinhro.ForeignLanguageCourses.repository;
import org.sinhro.ForeignLanguageCourses.domain.Language;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface LanguageRepository extends JpaRepository<Language, Integer> {
}
|
package com.esum.framework.core.queue.listener;
import javax.jms.JMSException;
import com.esum.framework.core.queue.JmsMessageHandler;
public class TopicChannelListener extends AbstractJmsChannelListener {
private String messageSelector = null;
public TopicChannelListener(JmsMessageHandler handler) {
super(ha... |
/*
* Copyright (C) 2018 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 com.javasampleapproach.mysql.exam.repo;
import org.springframework.data.repository.CrudRepository;
import com.javasampleapproach.mysql.exam.model.Teacherwise;
import com.javasampleapproach.mysql.model.Admission;
import com.javasampleapproach.mysql.model.Unit;
public interface Teacherwiserepository extends Cr... |
package com.gustavoballeste.authlogin.data.dao;
import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Insert;
import android.arch.persistence.room.Query;
import android.arch.persistence.room.Update;
import com.gustavoballeste.authlogin.data.model.Token;
@Dao
public interface TokenDao {
... |
package com.proyectogrado.alternativahorario.entidades;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.... |
package com.example.springboot.urlshortener.service;
import java.util.Optional;
import java.util.Random;
import java.util.logging.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.example.springboot.urlshortener.dao.URLRepository;
import ... |
package com.needii.dashboard.controller;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.L... |
package ru.mcfr.oxygen.updater.web;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
import ru.mcfr.oxygen.updater.Version;
import ru.mcfr.oxygen.updater.utils.Streamer;
import ru.mcfr.oxygen.updater.utils.Zipper;
import sun.net.www.protocol.http.Ht... |
package com.rafael.personalitytest.ui.answer;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;
import android.widget.Toast;
import com.rafael.personalitytest.App;
import com.rafael.personalitytest.R;
import com.rafael.persona... |
package com.blog.Iservice;
import java.util.List;
import com.blog.bean.Adminuser;
import com.blog.bean.DongTai;
public interface IAdminuserService {
/**
*先查询账户是否存在,否则返回false
*/
public boolean isLogin(String a_name);
/**
*先查询账户是否存在,返回Adminuser
*/
public Adminuser isAdminUserByname(String a_name);
/**
... |
package com.esum.comp.nckims;
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 NcKimsConf... |
package com.project.maps;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.SupportMapFragment;
import com.google.android.gms.maps.model.BitmapDescriptorFact... |
package com.dream.searchit;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import com.dream.searchit.models.Contact_info;
public class AddPer... |
package kr.co.flyingturtle.edu.batch;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import kr.co.flyingturtle.repository.mapper.AttendMapper;
@Component
public class SpringBatch... |
package com.trump.auction.trade.service.impl.bid.initiali;
import com.trump.auction.trade.service.AuctionInfoService;
import com.trump.auction.trade.service.BidManagerService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRun... |
package com.wang;
public class Guess1To10 {
public static void main(String[] args) {
}
}
|
package com.algaworks.algamoney.api.data.repository;
import com.algaworks.algamoney.api.data.entity.EntryEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
/**
* @author jsilva on 31/10/2019
*/
public interface EntryReposito... |
package com.cninfo.proxy.http.impl;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import org.apache.hadoop.io.IOUtils;
import org.apache.l... |
/*
Copyright (C) 2013-2016, Securifera, Inc
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and... |
package fr.aresrpg.tofumanchou.infra.data;
import fr.aresrpg.commons.domain.condition.Option;
import fr.aresrpg.commons.domain.log.Logger;
import fr.aresrpg.commons.domain.log.LoggerBuilder;
import fr.aresrpg.dofus.protocol.DofusConnection;
import fr.aresrpg.tofumanchou.domain.data.Account;
import fr.aresrpg.tofumanch... |
package cn.jaychang.scstudy.account.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* @author zhangjie
* @... |
package com.git.cloud.resmgt.compute.handler;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;... |
package com.yuan.library.imagedialog;
/**
* yuan
* 2020/2/14
**/
public interface OnImageClickListener {
void onImageClickListener();
}
|
package com.renker.ws.service;
public interface IExampleService {
public String Hellow(String msg);
}
|
package ir.ac.aut;
import java.util.ArrayList;
public class PcPlayer extends Player{
//the Color array which contains the index of every color
private static COLOR[] nextPlayersColor={
COLOR.RED, COLOR.BLUE, COLOR.YELLOW, COLOR.GREEN
};
/*
Type of cards:
-1)NumericCards
... |
package io.github.ihongs.action.serv;
import io.github.ihongs.Core;
import io.github.ihongs.CoreSerial;
import io.github.ihongs.HongsException;
import io.github.ihongs.HongsExemption;
import io.github.ihongs.action.ActionHelper;
import io.github.ihongs.action.ActionDriver;
import io.github.ihongs.action.NaviMa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.