text stringlengths 10 2.72M |
|---|
/*
* Copyright 2005-2010 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
/*
* Copyright (c) 2014. igitras.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
package com.uinsk.mobileppkapps.adapter;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import com.uinsk.mobileppkapps.R;
import com.uinsk.mobileppkapps.... |
import org.apache.poi.xssf.usermodel.XSSFCell;
import org.apache.poi.xssf.usermodel.XSSFRow;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.TreeMap;
public class Excel {
public static v... |
package com.mysql.cj.conf;
import com.mysql.cj.exceptions.ExceptionInterceptor;
public class StringPropertyDefinition extends AbstractPropertyDefinition<String> {
private static final long serialVersionUID = 8228934389127796555L;
public StringPropertyDefinition(String name, String alias, String defaultValue, b... |
package org.academy.springbootessentials.service;
import org.academy.springbootessentials.domain.Book;
import org.academy.springbootessentials.repository.BookRepository;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Service;
import org.springframework.web.server.ResponseStatusExcept... |
package org.lvzr.fast.java.patten.behavior.chain;
public interface Handler {
public void operator();
}
|
package fall2018.csc2017.matchingcards;
import android.content.Context;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.ViewTreeObserver;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
import java.util.ArrayList;
imp... |
package com.canfield010.mygame.item.weapon;
import com.canfield010.mygame.mapsquare.MapSquare;
import javax.imageio.ImageIO;
import java.awt.*;
import java.io.File;
import java.util.Random;
public class SharpenedStick extends Weapon {
public static Image image;
//private final int maxDamage = 3;
//priv... |
package edu.imtl.BlueKare.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.fragment.app.Fragment;
import com.github.mikephil.charting.charts.BarChart;
import com.github.mikephil.charting.dat... |
package edu.mayo.cts2.framework.core.xml;
import java.util.Properties;
import org.springframework.oxm.Marshaller;
import org.springframework.oxm.Unmarshaller;
/**
* Used for CTS2 Java Bean <-> XML conversions.
*
* This Marshaller/UnMarshaller will automatically register all CTS2
* XSD schemas and other options. ... |
package com.smxknife.spring.schema;
import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
/**
* @author smxknife
* 2019/12/14
*/
public class SmxknifeNamespaceHandler extends NamespaceHandlerSupport {
@Override
public void init() {
super.registerBeanDefinitionParser("application", new Applicati... |
import java.util.*;
public class TwoSum
{
public Integer[] count(int[] list, int target)
{
ArrayList<Integer> data = new ArrayList<>();
// 先对数组进行排序
Arrays.sort(list);
for (int i = 0, j = 0; i < list.length; i++) {
// TODO int溢出问题
j = rank(list, target-lis... |
package com.dhanush.airline.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.dhanush.airline.entity.Passenger;
@Repository
public interface PassengerDao extends JpaRepository<Passenger, Long> {
}
|
package org.inftel.scrum.activities;
import java.lang.reflect.Type;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.apache.http.message.BasicNameValuePair;
import org.inftel.scrum.R;
import org.inftel.scrum.modelXML.Proyect... |
package com.sm.report.rpc.rpc;
import com.google.common.collect.Lists;
import com.sm.report.rpc.param.CreateParamTree;
import com.sm.report.rpc.param.type.BaseParam;
import lombok.Data;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.lang.reflect.Type;
import java.util.List;
/**
* 一... |
package fontys.sot.rest.service.classes.validators;
public class PasswordValidator extends ValidatorBase {
private static final int MINIMUM_SIZE = 4;
private String password;
private String confirmPassword;
public PasswordValidator(String password, String confirmPassword) {
this.password = pa... |
package com.lingnet.vocs.entity;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.lingnet.common.entity.BaseEntity;
/**
* 问题解决方案
* @ClassName: Solution
* @Description: TODO
* @author tangjw
* @date 2017年6月2日 上午10:... |
package com.elepy.handlers;
import com.elepy.dao.Crud;
import com.elepy.http.HttpContext;
import com.elepy.http.Request;
import com.elepy.models.ModelContext;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.util.List;
import java.util.stream.Collectors;
/**
* This is a combination of {@link MappedFi... |
package com.tencent.mm.plugin.subapp.ui.pluginapp;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
import android.content.pm.PackageManager.NameNotFoundException;
import and... |
package com.Assignment_08_Sep_2021;
interface My {
int x = 10;
}
interface My1 {
int x = 20;
}
class InterfaceDemo1 implements My, My1 {
void display() {
System.out.println("Interface");
}
}
class InterfaceDemo {
public static void main(String args[]) {
System.out.printl... |
/**
* Spring MVC REST controllers.
*/
package tech.jhipster.vuejs.demo.web.rest;
|
package com.itheima.core;
import entity.OrdersVo;
public interface OrderCountService {
OrdersVo search(Integer page, Integer rows, OrdersVo ordersVo, String name);
}
|
import javax.servlet.http.*;
import javax.servlet.*;
import java.io.*;
import java.sql.*;
public class ErrorServlet extends HttpServlet
{
PrintWriter out;
public void service(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException
{
res.setContentType("text/html");
ou... |
package com.pangpang6.hadoop.constant;
public class KafkaConsumerType {
public static final String LATEST = "LATEST";
public static final String EARLIEST = "EARLIEST";
}
|
package com.quizcore.quizapp.model;
import java.util.UUID;
public class Answer {
UUID questionId;
public String text;
public UUID[] options;
public UUID getQuestionId() {
return questionId;
}
public void setQuestionId(UUID questionId) {
this.questionId = questionId;
}
public String getText() {
retur... |
package server.controller;
import base.annoation.Processor;
import io.netty.handler.codec.http.FullHttpRequest;
import io.netty.handler.codec.http.FullHttpResponse;
import server.model.HomePage;
import server.view.ThymeleafDraw;
/**
* @author guyue
* @date 2018/10/16
*/
@Processor(path = {"/", "/index", "/index.ht... |
package com.tencent.mm.plugin.game.ui;
class i$1 implements Runnable {
final /* synthetic */ i jVV;
i$1(i iVar) {
this.jVV = iVar;
}
public final void run() {
this.jVV.notifyDataSetChanged();
}
}
|
package com.didiglobal.thriftmock.server;
import org.apache.thrift.ProcessFunction;
import org.apache.thrift.TBaseProcessor;
import java.util.Map;
public class TMockProcessor extends TBaseProcessor {
public TMockProcessor(Map<String, ProcessFunction> processFunctionMap) {
super(new MockIface() {}, processFunc... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
package com.jayqqaa12.abase.util;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class AdapterUtil
{
public static void changeAdpaterData(List<? extends Map<String, ?>> data, String[] from, Object[]... objs)
{
int i = -1;
for (Map map : data)
{
i... |
package com.example.coffemachine.configuration;
/**
* Configuration class for configuring CoffeeMachine
* @author siddu
*
*/
public class Configuration {
private Integer outletCount;
public Integer getOutletCount() {
return outletCount;
}
public void setOutletCount(Integer outletCount) {
this.outletCoun... |
package com.mes.cep.manage;
/**
*@author Stephen Wen
*@email 872003894@qq.com
*@date 2017年4月11日
*@Version
*@Chinesename 信息管理
*/
public class InformationManagement {
}
|
package com.hhub.bookhub.Activities.BookListActivity;
import com.hhub.bookhub.Models.Background;
import com.hhub.bookhub.Models.Book;
import java.util.ArrayList;
public interface BookListView {
void showList(ArrayList<Book> books);
void showBackground(Background background);
}
|
package com.jim.multipos.ui.settings.di;
import android.content.Context;
import android.support.v7.app.AppCompatActivity;
import com.jim.multipos.config.scope.PerActivity;
import com.jim.multipos.config.scope.PerFragment;
import com.jim.multipos.core.BaseActivityModule;
import com.jim.multipos.ui.settings.SettingsAct... |
/*
* 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.rentatree.service;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import javax.serv... |
package org.elasticsearch.hadoop.util;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import org.elasticsearch.hadoop.EsHadoopIllegalArgumentException;
... |
package org.cap.service;
import java.util.List;
import org.cap.dao.IProductDbDao;
import org.cap.model.Product;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service("productDbService")
public class ProductDbServiceImpl implements IProductDbS... |
package com.blockchain;
/**
* Struct-like class which contains definition of a block.
*/
public class Block {
private int index;
private long timestamp;
private String data, hash, previousHash;
public Block(int index, String data, long timestamp, String hash, String previousHash) {
this.in... |
package com.example.pind;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.Menu;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.view.animation.LinearInterpolator;
import android.vi... |
/*
* 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 epn.edu.ec.ciphers;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author josemiguel
*/
public class Keyedcea... |
package project.timesheetWebapp.constants;
public class QueryConstant {
public static StringBuilder GET_TIMESHEET = new StringBuilder("SELECT id,Date,hours,task as name,employee_id FROM TIMESHEET WHERE EMPLOYEE_ID = ? AND DATE = ?") ;
}
|
package code;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
public class ValidateIpAddress {
public static void main (String args[]) {
BufferedReader reader = null... |
package com.cb.project.constants;
/**
* @author user
*
*/
public interface IUserConstants {
public interface Messages {
/**
* RESSOURCE_NOT_EXISTS
*/
String RESSOURCE_NOT_EXISTS = "The user does not exist";
/**
* MISSING_ATTRIBUTES
*/
String MISSING_ATTRIBUTES = "Missin... |
package com.example.petstore;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import org.springframework.stereotype.Component;
//@Component
public class Cart implements PetRepository{
List<Pet> pets = new ArrayList<Pet>();
public Cart(){
}
@Override
publi... |
package com.ifli.mbcp.util;
/**
* Represents all the constants that will be referred to in the MBCP application
* domain model.
*
* @author FL867
* @version 1.0
* @since 29 April 2013
*/
public class MBCPConstants
{
public static final short MALE = 1;
public static final short FEMALE = 2;
public st... |
/**
* @Contacts.java
* @com.lingnet.vocs.entity
* @Description:
*
* @author zhangyu
* @copyright 2017
* @version V
* @since 2017年6月19日
*/
package com.lingnet.vocs.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.lingnet.... |
package wx.realware.grp.pt.pb.datasource.config.mybatis;
import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.boot.autoconfigure.ConfigurationCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* 注解版,sql忽略大小写
*/
@Conf... |
package com.example.examen1;
import com.example.examen1.Cita;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
import java.awt.*;
import java.util.ArrayList;
import java.util.List;
@Controller
public class controlador {
privat... |
package function.extracttrycatchblocks;
public class Example {
}
|
package com.devashishsharma.capstone;
import android.app.Application;
import com.google.android.gms.analytics.GoogleAnalytics;
import com.google.android.gms.analytics.Tracker;
/**
* Created by devashish.sharma on 12/27/2016.
*/
public class ExpensesApplication extends Application {
private Tracker mTracker;
... |
package com.sporsimdi.action.home;
import java.util.Map;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.ViewScoped;
import javax.faces.context.FacesContext;
import com.sporsimdi.action.facade.WebIletisimFacade;
import com.sporsim... |
package com.Camus.service.impl;
import com.Camus.entity.Borrow;
import com.Camus.repository.ReaderRepository;
import com.Camus.repository.impl.ReaderRepositoryImpl;
import com.Camus.service.ReaderService;
import java.util.List;
/**
* @auther camus
* date 2019/6/29 16:13
*/
public class ReaderServiceImpl implement... |
package com.cse308.sbuify.playlist;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;
@Entity
public class OverviewPlaylist {
@Id
@GeneratedValue
private Integer id;
@NotNull
private String title;
@NotNull
@Enumer... |
package com.spbsu.flamestream.example.bl.text_classifier.model;
import com.spbsu.flamestream.example.bl.text_classifier.model.containers.DocContainer;
import com.spbsu.flamestream.example.bl.text_classifier.ops.classifier.TextUtils;
import java.util.HashMap;
import java.util.Map;
import java.util.stream.Stream;
publ... |
package com.tencent.mm.boot.svg.a.a;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Paint.Cap;
import android.graphics.Paint.Join;
import android.graphics.Paint.Style;
import android.graphics.Path;
import android.os.Looper;
import com.tencent.mm.svg.WeChatSVGRenderC2Java;
import... |
import java.util.ArrayList;
import dto.Livro;
import dto.Usuario;
public class RegrasNegocio {
public static final int MAX_EMPRESTIMOS_POR_USUARIO = 2;
private BaseDeDados baseDeDados = new BaseDeDados();
public boolean cadastraLivro(Livro livro) {
return baseDeDados.cadastraLivro(livro);
}
public boolean c... |
package com.javarush.task.task16.task1632;
/**
* Created by Администратор on 22.04.2017.
*/
public class Infinity extends Thread {
@Override
public void run() {
while (true) {
}
}
}
|
package com.nta.latecoffee.ui.view_orders;
import android.app.AlertDialog;
import android.graphics.Color;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.Toast;
import... |
package com.beiyelin.projectportal.service.impl;
import com.beiyelin.account.entity.EmbeddableAccount;
import com.beiyelin.common.bean.JwtUser;
import com.beiyelin.common.constant.MasterDataStatusEnum;
import com.beiyelin.common.exception.CheckException;
import com.beiyelin.common.reqbody.PageReq;
import com.beiyelin.... |
package com.trs.om.service.impl;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import java.text.ParseException;
import java.text.Simpl... |
package testCases;
public class TestCase15 {
}
|
package com.wan.basis;
import java.text.DateFormat;
import java.util.Date;
import java.util.Locale;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.... |
package com.zihui.cwoa.system.service;
import com.zihui.cwoa.system.dao.sys_task_bMapper;
import com.zihui.cwoa.system.pojo.sys_task_b;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
@Service
public class ... |
package com.cngl.bilet.api;
import java.util.List;
import javax.validation.Valid;
import com.cngl.bilet.dto.KuponRequestDto;
import com.cngl.bilet.dto.KuponResponseDto;
import com.cngl.bilet.service.impl.KuponServiceImpl;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation... |
package com.tencent.mm.plugin.record.ui;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.BitmapFactory.Options;
import android.widget.ImageView;
import com.tencent.mm.R;
import com.tencent.mm.a.e;
import com.tencent.mm.plugin.record.b.f;
import com.tencent.mm.plugin.recor... |
package com.example.Dao;
import com.example.Model.Fatura;
import org.springframework.data.repository.CrudRepository;
import javax.transaction.Transactional;
/**
* Created by memojja on 18.07.2016.
*/
@Transactional
public interface FaturaDao extends CrudRepository<Fatura,Long> {
}
|
package test;
import esir.dom11.nsoc.context.presence.PresenceCalendarEvent;
import esir.dom11.nsoc.context.presence.PresenceEvent;
import esir.dom11.nsoc.context.presence.PresenceManager;
import junit.framework.TestCase;
public class PresenceManagerTest extends TestCase {
public void testGeneral() {
Pre... |
package com.weique.commonres.constans;
import androidx.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* @author GK
* @description: event bus 行为 字段
* @date :2020/6/2 13:34
*/
public interface ConstantEventBus {
/**
* 通用事件回调
*/
@IntDef(... |
package smart.lib;
import smart.lib.session.Session;
import smart.util.Helper;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.Random;
/**
* 验证码
*/
public class Captcha {
// 验证码长度
public final static long SIZE = 5;
private static final char[] mapTable = {
... |
package com.example.galdino.filmespopulares.telas.detalhesDoFilme;
import com.example.galdino.filmespopulares.dominio.Filme;
import com.example.galdino.filmespopulares.dominio.filmeDetalhe.Comentarios;
import com.example.galdino.filmespopulares.dominio.filmeDetalhe.Result;
import com.example.galdino.filmespopulares.mv... |
package com.rc.adapter.search;
import com.rc.components.*;
import com.rc.res.Colors;
import com.rc.utils.FontUtil;
import javax.swing.*;
import javax.swing.border.LineBorder;
import java.awt.*;
/**
* 搜索结果中的每一个文件项目
* Created by song on 17-6-22.
*/
public class SearchResultFileItemViewHolder extends SearchResultIte... |
package SUT.SE61.Team07;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.A... |
/*
* 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 soruIslemleri;
import java.sql.*;
import java.util.ArrayList;
import javax.swing.table.AbstractTableModel;
/**
*... |
package com.hxzy.controller.interceptor;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ht... |
package rabbaitmq.base;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
/**
* @Description:
* @author junjin4838
* @date 2016年9月1日
* @version 1.0
*/
@RunWith(SpringJUnit4ClassRunner.class)
@Con... |
package com.tencent.mm.plugin.wallet_core.id_verify.util;
import android.app.Activity;
import android.content.DialogInterface;
import android.content.DialogInterface.OnDismissListener;
class a$2 implements OnDismissListener {
final /* synthetic */ Activity ews;
final /* synthetic */ boolean plf;
a$2(bool... |
package ga;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
/**
* An object that contains the list of strategy parameters
* that will be used by an individual in the ES algorithm.
*/
public class StrategyParameters {
private double minValue = -0.3;
private double maxValue = 0.3;
L... |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GN... |
package spring_in_action.tacocloud.repositories.Ingredients;
import spring_in_action.tacocloud.models.Ingredient;
public interface IngredientRepository {
Iterable<Ingredient> findAll();
Ingredient findOne (String id);
Ingredient save (Ingredient ingredient);
}
|
package com.jack.jkbase.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jack.jkbase.entity.SysUserRole;
public interface SysUserRoleMapper extends BaseMapper<SysUserRole>{
} |
package hu.aensys.collections;
import java.util.*;
public class CollectionMain {
public static void main(String[] args) {
Collection<Integer> diamondOperator = new ArrayList<>();
//Don't do this
List<Integer> emptyIntegerList = Collections.EMPTY_LIST;
//Do this
List<In... |
package com.wangyi.wangyi_yanxuan.controller;
import com.wangyi.wangyi_yanxuan.domain.Commodity;
import com.wangyi.wangyi_yanxuan.service.GoodsService;
import com.wangyi.wangyi_yanxuan.utils.FileUtil;
import com.wangyi.wangyi_yanxuan.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.spri... |
package com.example.wattson.main_fragments;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.FragmentTransaction;
import android.graphics.Color;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.util.Log;
import android.view.LayoutIn... |
package com.mideas.rpg.v2.game.spell.list;
import com.mideas.rpg.v2.Sprites;
import com.mideas.rpg.v2.game.spell.Spell;
public class ThunderClap extends Spell {
private static int cd;
public ThunderClap() {
super(900, 900, 400, 0, 0, 0, 2, 0, 105);
name = "Thunder Clap";
sprite = Sprites.spell_thunder_clap... |
package ru.learn2code.yrank.service;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ru.learn2code.yrank.model.Serp;
import ru.learn2code.yrank.repository.SerpRepository;
@Service
public class SerpServ... |
package cn.bs.zjzc.model.response;
import java.util.List;
/**
* Created by Administrator on 2016/6/29.
*/
public class OrderDetail extends BaseResponse {
/**
* id : 1
* order_num : WM1201606281234
* place_time : 1432654561
* place_userid : 1
* type : 1
* take_x : 14.131324
*... |
package com.lspring.JDKaop.container;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.util.HashMap;
import java.util.Map;
import java.util.Prope... |
/*
* FileName: HibernateOperateLogDao.java
* Description:
* Company: 南宁超创信息工程有限公司
* Copyright: ChaoChuang (c) 2006
* History: 2006-4-21 (hzr) 1.0 Create
*/
package com.spower.basesystem.oplog.service.dao.hibernate;
import java.util.Calendar;
import java.util.Date;
import java.util.List;... |
package chessProgram;
import java.util.*;
public class Game
{
/*****************************
* runningGame(p1,p2,42,1337);
* starts a game
***************************** */
public static void runningGame(Player whitePlayer, Player blackPlayer, long seed, int MAX_TIME)
{
Random random = new Random(see... |
package generators;
import generic.ItemNameGenerator;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.bukkit.Material;
import org.bukkit.inventory.FurnaceRecipe;
import org.bukkit.inventory.I... |
package model;
import com.music.model.PlayList;
import com.music.model.Song;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
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 pastesitessearch;
import java.io.IOException;
import java.sql.SQLException;
import java.util.Set;
import java.util.l... |
package in.zollet.abhilash.retailstore.Common;
import android.content.ContentProviderOperation;
import android.content.Context;
import android.content.OperationApplicationException;
import android.net.Uri;
import android.os.RemoteException;
import android.widget.Toast;
import java.util.ArrayList;
import in.zollet.ab... |
package com.plainid.assignment.dao;
/**
* Pokémon are creatures of all shapes and sizes who live in the wild or alongside humans.
* For the most part, Pokémon do not speak except to utter their names.
* There are currently more than 700 creatures that inhabit the Pokémon universe.
*/
public class Pokemon {
in... |
package com.mycompany.app;
/**
* Created by tester_2 on 24.08.2015.
*/
public class ShippingRequestValueContainer
{
}
|
package rgg.campusvirtualapp.presentador;
public interface IPresentadorGaleriaTarea {
/**
* Método encargado en recuperar las tareas de una asignatura
*/
void recuperarTareas();
/**
* Método que recibe una tarea seleccionada
*
* @param posicion
* contiene la posición de la galeria de la tar... |
package com.twoals.messengeragain;
public class Constants {
public static final int TAB_ONE = 0;
public static final int TAB_TWO = 1;
public static final int TAB_THREE = 2;
public static class URL {
private static final String HOST = "http://127.0.0.1:8087";
public static final String... |
package com.ibeiliao.statement.api.enums;
/**
* 对账不匹配类型
*
* @author zhouhaocheng Aug 12, 2016
*/
public enum UnmatchType {
/** 对账第一方数据缺失 */
LOST_LEFT((short) 1),
/** 对账第二方数据缺失 */
LOST_RIGHT((short) 2),
/** 对账两方数据不匹配 */
CONTENT_ERROR((short) 3);
private short value;
private Unmatch... |
package com.example.mymodule.Server;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;
import com.googlecode.objectify.annotation.Index;
import java.util.ArrayList;
import javax.inject.Named;
/**
* Created by demouser on 8/1/14.
*/
@Entity
public class ServerRoute... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.