text stringlengths 10 2.72M |
|---|
package com.hcl.neo.eloader.common;
@SuppressWarnings("rawtypes")
public class Logger extends org.apache.log4j.Logger{
protected Logger(String name) {
super(name);
}
public static void debug(Class clazz, Object message){
getLogger(clazz).debug(message);
}
public static void info(Class clazz, Object messag... |
package com.gonzajf.spring.masteringSpring.config;
import java.time.LocalDate;
import org.springframework.boot.web.server.ErrorPage;
import org.springframework.boot.web.server.WebServerFactoryCustomizer;
import org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory;
import org.springframework... |
/**
* project name:ach
* file name:MsgTmplConstant
* package name:com.cdkj.common.constant
* date:2017-08-25 15:43
* author:yw
* Copyright (c) CD Technology Co.,Ltd. All rights reserved.
*/
package com.cdkj.constant;
/**
* description: //TODO <br>
* date: 2017-08-25 15:43
*
* @author yw
* @version 1.0
* @... |
package com.quickdoodle.trainer;
import java.util.LinkedHashMap;
import com.quickdoodle.model.activationfunction.DataUtils;
public class Test {
public static void main(String[] args) {
//Input schedule
LinkedHashMap<Integer, Float> schedule = new LinkedHashMap<Integer, Float>();
schedule.put(1, 0.1f);
sched... |
package com.jlmcdeveloper.notes.ui.login;
import com.jlmcdeveloper.notes.ui.base.MvpView;
public interface LoginMvpView extends MvpView {
void finishedAnimation(String info);
void openMainActivity();
}
|
package com.stylefeng.guns.rest.film.bean.rebuild;
import com.stylefeng.guns.rest.film.bean.MtimeFilmT;
/**
* @Author: Qiu
* @Date: 2019/6/5 17:02
*/
public class BoxRankFilm extends MtimeFilmT {
private int filmId;
private int boxNum;
public BoxRankFilm() {
}
public BoxRankFilm(int filmId, ... |
package com.quaspecsystems.payspec.persistence.repository;
import java.util.Set;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.transaction.annotation.Transactional;
import com.quaspecsystems.payspec.persistence.domain.Menu;... |
package de.kfs.db;
import javafx.stage.Stage;
/**
* Factory for use of injecting SceneManger via Google guice
*/
public interface SceneManagerFactory {
/**
* Creates instance of the SceneManager
*
* @param primaryStage Stage used by JavaFX application
* @return SceneManger for main applic... |
package com.staniul.teamspeak.modules.adminlists;
import com.staniul.teamspeak.commands.CommandResponse;
import com.staniul.teamspeak.commands.Teamspeak3Command;
import com.staniul.teamspeak.query.Client;
import com.staniul.teamspeak.query.ClientDatabase;
import com.staniul.teamspeak.query.Query;
import com.staniul.te... |
package seperate;
import java.util.*;
import com.opencsv.bean.CsvBindByName;
public class UserModel {
@CsvBindByName
private String ProgramName;
@CsvBindByName
private String Location;
@CsvBindByName
private String PhoneNumber;
@CsvBindByName
private String Website;
@CsvBindByName
private Str... |
package Tutorial.P3_ActorTool.S4_FSM_State.Buncher;
import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.Props;
import akka.event.Logging;
import akka.event.LoggingAdapter;
import org.junit.Assert;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import java.util.Link... |
/*
* 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 search;
import BDD.Requete;
import Entite.Classe;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Ar... |
package com.lenovohit.ssm.payment.model.si;
public class SIPrePayRequest {
}
|
package com.codeclan.coursebooker.coursebooker.projections;
import com.codeclan.coursebooker.coursebooker.models.Booking;
import com.codeclan.coursebooker.coursebooker.models.Course;
import com.codeclan.coursebooker.coursebooker.models.Customer;
import org.springframework.data.rest.core.config.Projection;
@Projection... |
package model;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
public class Cargo {
private StringProperty id;
private StringProperty nombre;
public Cargo(String nombre) {
this.nombre = new SimpleStringProperty("nombre");
}
public Cargo( String id, String nom... |
package ru.atott.combiq.web.controller;
import org.springframework.stereotype.Controller;
@Controller
public class PromoController {
}
|
package br.com.vitormarcal.gestao_consulta.auth;
import br.com.vitormarcal.gestao_consulta.auth.model.ERole;
import br.com.vitormarcal.gestao_consulta.auth.model.Role;
import br.com.vitormarcal.gestao_consulta.auth.model.User;
import br.com.vitormarcal.gestao_consulta.auth.repositorio.RoleRepositorio;
import br.com.vi... |
package cn.Thread;
import java.util.concurrent.Callable;
import java.util.concurrent.FutureTask;
/**
* 使用Callable 接收返回值
* @author Administrator
*
*/
class MyThread4 implements Runnable, Callable<String>{ //多线程操作类
private int ticket = 10; //定义的类中属性
@Override
public String call() throws Exception{
for(int x ... |
package com.citibank.ods.common.functionality;
import com.citibank.ods.common.functionality.valueobject.BaseFncVO;
//
//©2002-2007 Accenture. All rights reserved.
//
/**
* [Class description]
*
* @see package com.citibank.ods.common.functionality;
* @version 1.0
* @author bruno.zanetti,Mar 9, 2007
... |
package ru.buryachenko.moviedescription.database;
import android.annotation.SuppressLint;
import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;
import ru.buryachenko.moviedescription.api.MovieJson;
@Entity
public class MovieRecord {
@PrimaryKey
private Integer id;
pr... |
package com.example.cropad;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import andr... |
package cn.com.finn.base;
/**
* 原型
*
* @author Finn Zhao
* @version 2017年2月16日
*/
public interface Prototype {
}
|
package me.jcomo.slimtwitter.activities;
import android.app.SearchManager;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import com.codepath.apps.slimtwitter.R;
impo... |
/******************************************************************************
* __ *
* <-----/@@\-----> *
* <-< < \\// > >-> *
... |
package evolutionYoutube;
public class Mi_cuenta extends Mi_cuenta_ventana {
/**
*
*/
private static final long serialVersionUID = 1L;
public Mi_perfil _unnamed_Mi_perfil_;
public Datos_personales _unnamed_Datos_personales_;
public Mi_cuenta() {
datos_personales.addComponent(new Datos_personales());
... |
package ks.types.dataFeed.accounting.csv;
public interface IAccountingWorkbook <S extends IAccountingSheet<IAccountingRow<IAccountingCell>, IAccountingCell>>{
public S getSheetByName(String name);
public void addSheet(String name);
}
|
package com.flyusoft.apps.jointoil.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.flyusoft.apps.jointoil.dao.CompressorDao;
import c... |
package com.company;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Semaphore;
public class Main {
public static void main(String[] args) {
CountDownLatch cdl = new CountDownLatch(10);
Semaphore semaphore = new Semaphore(4);
for (int i = 1; i <cdl.getCount() ; i++... |
package com.atguigu.lgl;
public class Test {
public static void main(String[] args) {
// Student student = new Student();
Student student = new Student(1001, 30, 50, 70);
student.age = 10;
student.sex = '女';
student.age = 27;
System.out.println(student.aver());
System.out.println(student.max());
Sy... |
package br.com.fiap.teste;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JOptionPane;
import br.com.fiap.beans.Voluntario;
import br.com.fiap.bo.VoluntarioBO;
import br.com.fiap.dao.VoluntarioDAO;
public class VoluntarioTeste {
public static void main(String[] args) throws Exception {
Vol... |
/**
* Copyright 2014 零志愿工作室 (http://www.0will.com). All rights reserved.
* File Name: BaseEntity.java
* Author: chenlong
* Encoding UTF-8
* Version: 1.0
* Date: 2014年12月4日
* History:
*/
package com.Owill.web.system.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Mod... |
package com.treela.thefarmerguy.repository;
import com.treela.thefarmerguy.model.Session;
import java.util.List;
import java.util.Map;
import javax.transaction.Transactional;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.... |
package by.epam.aliaksei.litvin.services;
import by.epam.aliaksei.litvin.domain.User;
import by.epam.aliaksei.litvin.service.UserService;
import by.epam.aliaksei.litvin.service.impl.UserServiceImpl;
import org.junit.*;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
impo... |
package com.rev.service.spring;
import com.rev.dao.GenericRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
... |
package com.example;
import com.example.model.Data;
import com.hazelcast.core.IMap;
import com.hazelcast.query.Predicates;
import com.hazelcast.query.SqlPredicate;
import org.apache.log4j.Logger;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.AbstractApplicationContex... |
package cn.xeblog.xechat.controller;
import cn.xeblog.xechat.domain.vo.ResponseVO;
import cn.xeblog.xechat.service.UploadService;
import com.alibaba.fastjson.JSONObject;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework... |
package com.GestiondesClub.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.GestiondesClub.dao.DemandeAfficheRepository;
@Service
public class DemandeEventServ {
@Autowired
private DemandeAfficheRepository demAfficheDao;
}
|
package com.redislabs.research.redis;
import com.redislabs.research.Document;
import com.redislabs.research.Index;
import com.redislabs.research.Query;
import com.redislabs.research.Spec;
import com.sun.deploy.util.ArrayUtil;
import java.io.IOException;
import java.util.*;
import java.util.concurrent.*;
import java.... |
package com._520it.test;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.junit.Test;
import com._520it.jdbc.JDBCUtils_V1;
import com._520it.jdbc.JDBCUtils_V2;
import com._520it.jdbc.JDBCUtils_V3;
public class TestUtil {
/**
* 根据i... |
package com.travel.lodge.userservice.dto;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
@Data
public class AddUserRequest {
@NotNull
private String firstName;
@NotNull
private String las... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package vpssmsserver;
import java.io.Serializable;
/**
*
* @author Royal
*/
public class Subject implements Serializable{
private String subjectId;
private String name;
private String status;
private... |
package com.capgemini.batatatinhadellivery.enums;
public enum StatusPedido {
RECEBIDO, PREPARANDO, A_CAMINHO, ENTREGUE;
}
|
/**
*/
package com.wdl.dao.rbac.impl;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.wdl.base.dao.impl.BaseDaoImpl;
import com.wdl.dao.rbac.OrgDao;
import com.wdl.entity.rbac.Org;
@Repository("DepartmentDao")
public class OrgDaoImpl extends BaseDaoImpl implements O... |
/*
* 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 camera.toandoan.com.cameraproject;
import android.net.Uri;
import android.os.Environment;
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.Date;
import static android.provider.MediaStore.Files.FileColumns.MEDIA_TYPE_IMAGE;
import static android.provider.MediaStore.Files.FileColumns.ME... |
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
/*
* @lc app=leetcode.cn id=78 lang=java
*
* [78] 子集
*/
// @lc code=start
class Solution {
public List<List<Integer>> subsets(int[] nums) {
List<List<Integer>> res = new LinkedList<>();
LinkedList<Integer> current =... |
package com.xwolf.eop.util;
/**
* <p>
* 字符串处理工具类
* </p>
*
* @author xwolf
* @date 2017-01-07 12:47
* @since V1.0.0
*/
public class StringUtil {
private static final String UNDERLINE="_";
/**
* 将驼峰命名法转化为_链接的字符串
* @param param
* @return
*/
public static String camelToUnder... |
package me.waco001.companies;
import java.io.IOException;
import java.sql.SQLException;
import java.util.logging.Logger;
import lib.Databases.Database;
import lib.Databases.SQLite;
import me.waco001.companies.includes.Metrics;
//import me.waco001.companies.listeners.CommandListener;
import me.waco001.companies.liste... |
package revolt.backend.service;
import revolt.backend.dto.LiquidDto;
import java.util.List;
public interface LiquidService {
List<LiquidDto> getLiquids();
LiquidDto createLiquid(LiquidDto liquidDto);
LiquidDto getLiquid(Long id);
LiquidDto updateLiquid(LiquidDto liquidDto, Long liquidId);
vo... |
package DataStructures.linkedlists;
/**
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from the end, the linked list becomes 1->2->3->5.
Note:
* If n is greater than the size of the list... |
package aeroportSpringTest;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.util.List;
import java.util.Optional;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotati... |
package com.javarush.task.task14.task1409;
public class WaterBridge implements Bridge {
public static int cars = 3;
public int getCarsCount(){
return cars;
}
}
|
package edu.unm.cs.blites.co_lect;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.android.volley.toolbox.ImageLoader;
import com.android.volley.toolbo... |
package wawi.datenhaltung.bestellungverwaltungs.service;
import java.util.List;
import javax.persistence.EntityManager;
import wawi.datenhaltung.wawidbmodel.entities.Produkt;
/**
*
* @author Oliver (Local)
*/
public interface IKundeService {
public void setEntityManager(EntityManager em);
public List<Produ... |
/*
* $Id$
*
* ### Copyright (C) 2006 Michael Fuchs ###
* ### All Rights Reserved. ###
*
* Author: Michael Fuchs
* E-Mail: michael.fuchs@unico-group.com
* URL: http://www.michael-a-fuchs.de
*/
package org.dbdoclet.tidbit.medium.javahelp;
import java.io.File;
import java.text.MessageFormat;
imp... |
/*
* 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 siralamaalgoritmalari;
/**
*
* @author minter
*/
public class SiralamaAlgoritmalari {
/**
* @param args the comma... |
package com.auto.pages;
public interface BasePage {
}
|
package tech.liujin.drawable.progress.load;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.PathMeasure;
import android.graphics.Rect;
import android.graphics.RectF;
import android.support.annotation.NonNull;
import tech.liujin.drawable.progress.Prog... |
public class LC167 {
static int[] twoSum(int[] numbers, int target) {
/*方法一:暴力改进法
int[] res=new int[2];
for(int i=numbers.length-1;i>= 0;i--){
if(target>=numbers[i]){
for(int j=0;j<numbers.length;j++){
if(numbers[i]+numbers[j]==target){
... |
package ch.zhaw.prog2.io.picturedb;
import java.io.*;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.text.DateFormat;
import java.text.ParseException;
import java.t... |
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.border.EmptyBorder;
import javax.swing.*;
import java.awt.Color;
import java.awt.Font;
pub... |
package com.example.zeal.rxjava;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.reflect.TypeToken;
import java.io.IOException;
import java.lang.reflect.Type;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import o... |
//
// Decompiled by Procyon v0.5.36
//
package com.davivienda.sara.procesos.reintegros.filtro.host.session;
import java.io.FileNotFoundException;
import com.davivienda.sara.base.exception.EntityServicioExcepcion;
import java.util.Calendar;
import javax.ejb.Local;
@Local
public interface ProcesoHostSessionLocal
{
... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.mycompany.serpientesescaleras.excepciones;
import javax.swing.JOptionPane;
/**
*
* @author nroda
*/
public class Mane... |
package cn.novelweb.tool.upload.fastdfs.protocol.storage.callback;
import java.io.IOException;
import java.io.InputStream;
/**
* <p>文件下载回调接口</p>
* <p>2020-02-03 16:48</p>
*
* @author LiZW
**/
public interface DownloadCallback<T> {
/**
* 注意不能直接返回入参的InputStream,因为此方法返回后将关闭原输入流<br/>
* 不能关闭inputStream... |
/*
* 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 kz.greetgo.file_storage.impl;
import java.util.Date;
import java.util.Map;
import org.bson.types.Binary;
public class MongoUtil {
public static String toStr(Object objectValue) {
if (objectValue == null) {
return null;
}
if (objectValue instanceof String) {
return (String) objectValu... |
package com.trump.auction.activity.dao;
import com.trump.auction.activity.domain.ActivityUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
/**
* 活动用户相关
* @author wangbo 2018/1/11.
*/
@Repository
public interface ActivityUserDao {
/**
* 插入一条活动用户记录
* @p... |
// **********************************************************
// 1. 제 목:
// 2. 프로그램명: ExamBean.java
// 3. 개 요:
// 4. 환 경: JDK 1.3
// 5. 버 젼: 0.1
// 6. 작 성: Administrator 2003-08-29
// 7. 수 정:
//
// **********************************************************
package com.ziaan.exam;
/**
*... |
package net.rafaeltoledo.vidabeta;
import java.util.ArrayList;
import java.util.List;
import net.rafaeltoledo.vidabeta.model.Podcast;
import android.app.Activity;
import android.app.AlertDialog.Builder;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.DialogInterface.O... |
package com.example.attest.validator;
import brave.Tracer;
import com.example.attest.dao.TransactionRepository;
import com.example.attest.exception.ServiceException;
import com.example.attest.model.api.TransactionApi;
import com.example.attest.model.domain.Transaction;
import java.math.BigDecimal;
import java.time.Loc... |
package com.beike.entity.user;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
* Title:用户扩展信息
* </p>
* <p>
* Description:
* </p>
* <p>
* Copyright: Copyright (c) 2011
* </p>
* <p>
* Company: Sinobo
* </p>
*
* @date May 5, 2011
* @author ye.tian
* @version 1.0
*/
public class UserProfi... |
package com.example.haoch.wocao;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.annotation.N... |
package learn.sprsec.ssia0204provider.security;
import org.springframework.security.authentication.AuthenticationCredentialsNotFoundException;
import org.springframework.security.authentication.AuthenticationProvider;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.sp... |
public class DengklekTryingToSleep {
public int minDucks(int[] ducks) {
int min = Integer.MAX_VALUE;
int max = 0;
for(int i = 0; i < ducks.length; i++) {
if(ducks[i] < min) {
min = ducks[i];
}
if(max < ducks[i]) {
max = ducks[i];
}
}
... |
package com.smyc.kaftanis.lookingfortable;
import android.app.DialogFragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.E... |
/**
*
* @author ntnrc
*/
public class Ventilador {
public String color, tipoAspa;
public int potencia;
//metodos
@Override
public String toString(){
return "El color del ventilador es: "+color+"\nel tipo de aspa es: "+tipoAspa+"\nla potencia es de: "+potencia;
}
}
|
package actions.ajax;
import com.opensymphony.xwork2.ActionSupport;
import facade.GestionStratego;
import modele.Joueur;
import modele.Partie;
import org.apache.struts2.interceptor.ApplicationAware;
import org.apache.struts2.interceptor.SessionAware;
import java.util.Map;
/**
* Created by reda on 24/11/2016.
*/
pu... |
package controller;
import dao.ProductoDAO;
import dao.ProductoImplementadoDAO;
import model.Producto;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
impo... |
package bean;
/**
* 会员实体类
* @author computer
*
*/
public class Member {
private int id; //会员编号,与登陆表中的id相同,是它的外键
private String memberName; //会员姓名
private String memberSex; //会员性别
private String memberPhone; //会员电话
private double totalConsumption; //消费总额
private double balance; //账户余额
pu... |
package algorithms.fundamentals.sub3_collection.exercises.linkedlist;
import java.util.Iterator;
import java.util.function.Consumer;
/**
* Created by Chen Li on 2017/4/28.
*/
public class CircularLinkedListQueueImpl<Item> implements Iterable<Item> {
private Node last;
private int size;
public CircularLinkedL... |
package com.egame.beans;
import org.json.JSONObject;
import com.egame.utils.ui.IconBeanImpl;
/**
* @desc 游戏包内的游戏(图片和名称)
*
* @Copyright lenovo
*
* @Project EGame4th
*
* @Author zhangrh@lenovo-cw.com
*
* @timer 2012-1-12
*
* @Version 1.0.0
*
* @JDK version used 6.0
*
* @Mod... |
package com.shangdao.phoenix.config;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cache.CacheManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.cache.RedisCacheManager;
... |
package com.sample.problem.writer;
public enum WriterType {
CONSOLE_WRITER, DB_WRITER
}
|
package xhu.wncg.firesystem.system.controller;
import com.google.code.kaptcha.Constants;
import com.google.code.kaptcha.Producer;
import org.apache.commons.io.IOUtils;
import org.apache.shiro.crypto.hash.Sha256Hash;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.anno... |
// package com.document.feed;
//
// import static org.apache.commons.lang3.StringUtils.reverse;
// import static org.apache.commons.lang3.StringUtils.strip;
//
// import com.document.feed.model.Article;
// import com.document.feed.model.ArticleReactiveRepository;
// import com.document.feed.model.ArticleRepositoryMulti... |
package com.citi.yourbank;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class YourBankApplication {
public static void main(String[] args) {
SpringApplication.run(YourBankApplication.class, args);
}
}
|
package hw3.ch3.q2.math;
import java.text.DecimalFormat;
/**
* Represents a complex number with two doubles:
* one to represent the real part, and the other
* to represent the imaginary part (the coefficient of i).
*/
public class Complex implements ComplexNumber {
private double real, imaginary;
private f... |
package com.appspot.smartshop.mock;
import com.appspot.smartshop.dom.CategoryInfo;
public class MockCategory {
public static CategoryInfo getInstance() {
String[] parentCategory = { "Áo quần", "Giày dép", "Mỹ phẩm",
"Váy dự tiệc" };
String[][] childrenCategory = { { "Nam", "Nữ" },
{ "Mỹ", "Trung... |
package org.giddap.dreamfactory.leetcode.onlinejudge.implementations;
import org.giddap.dreamfactory.leetcode.onlinejudge.EditDistance;
import java.util.Arrays;
public class EditDistanceBottomUpDpImpl implements EditDistance {
@Override
public int minDistance(String word1, String word2) {
final int n... |
package org.sitenv.xdrmessagesender.services.enums;
/**
* Created by Brian on 2/23/2017.
*/
public enum XdrMessageType {
MINIMAL,FULL
}
|
package com.example.mp3player;
public class GetSet {
String songName="",artistName="", songURL="", duration="";
//Bitmap image;
public GetSet(String songName, String artistName, String songURL, String duration){
this.songName=songName;
this.artistName=artistName;
this.songURL=songU... |
package rafaxplayer.cheftools.stocks;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import rafaxplayer.cheftools.Globalclasses.BaseActivity;
import rafaxplayer.cheftools.R;
import rafaxplayer.cheftools.stocks.fragment.StocksDetalle_Fragment;
import rafaxpl... |
package br.com.fatec.tcc.rotasegura.roadMap;
import java.util.HashMap;
import java.util.Map;
public class Polyline {
private String points;
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
/**
*
* @return
* The points
*/
public String getPoi... |
package com.beike.common.entity.discountcoupon;
import java.util.Date;
import com.beike.common.enums.trx.DiscountCouponStatus;
/**
* @title: DiscountCoupon.java
* @package com.beike.common.entity.discountcoupon
* @description: 线下优惠券
* @author wangweijie
* @date 2012-7-11 下午06:05:19
* @version ... |
package pom;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class JobPageObjects {
@FindBy(id="menu_admin_viewAdminModule")
public static WebElement adminButton;
@FindBy(id="menu_admin_Job")
public static WebElement job;
@FindBy(id="menu_admin_viewJobTi... |
package application;
import java.io.IOException;
import java.util.List;
import application.controller.MainController;
import application.model.Artist;
import application.model.Tuple;
import javafx.application.Application;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
i... |
package cn.v5cn.v5cms.filter;
import cn.v5cn.v5cms.service.SiteService;
import cn.v5cn.v5cms.entity.Site;
import com.google.common.collect.ImmutableList;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.servlet.ModelAndView;
impo... |
package net.gdsspt.app.ui.fragment;
import com.smartydroid.android.starter.kit.app.StarterFragment;
/**
* Created by LittleHans on 2016/8/2.
*/
public class BaseFragment extends StarterFragment {
@Override protected int getFragmentLayout() {
return 0;
}
}
|
package com.eshop.controller;
import com.eshop.domain.Client;
import com.eshop.domain.Product;
import com.eshop.service.BasketService;
import com.eshop.service.ClientService;
import com.eshop.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.