text stringlengths 10 2.72M |
|---|
package com.lqs.hrm.util;
/**
* 随机数字工具类
* @author Administrator
*
*/
public class RandomNumberUtil {
/**
* 获取随机6位数
* @return
*/
public static Integer getRandomSixDigitNumber() {
return (int)((Math.random()*9+1)*100000);
}
}
|
package com.tyjradio.jrdvoicerecorder.bean;
import com.alibaba.fastjson.annotation.JSONField;
import java.io.Serializable;
public class TimeBean implements MessageBody, Serializable {
private String currentTime;
@JSONField(name="Time")
public String getCurrentTime() {
return currentTime;
}
... |
package mk.petrovski.weathergurumvp.ui.main;
import java.util.List;
import mk.petrovski.weathergurumvp.data.local.db.CityDetailsModel;
import mk.petrovski.weathergurumvp.ui.base.BaseMvpView;
/**
* Created by Nikola Petrovski on 2/14/2017.
*/
public interface MainMvpView extends BaseMvpView {
void showCities(Lis... |
package popcol.dao;
import java.util.List;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import popcol.model.Faq;
@Repository
public class FaqDaoImpl implements FaqDao {
@Autowired
private SqlSessionTe... |
package com.katsura.service;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import net.sf.ehcache.CacheManager;
import net.sf.ehcache.Ehcache;
import org.springframework.beans.factory.annotation.Autowired;
im... |
package com.angrykings.utils;
import com.angrykings.Action;
import com.angrykings.Keyframe;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
/**
* This class provides static methods to build quickly Json Messages for our game.
*/
public class Server... |
package com.concordia.soen6441riskgame;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* Class to control the game for players with an aggressive strategy. Only one game is
* possible during runtime
*
*
* @author Julian Beltran
* ... |
package com.facebook.react.uimanager;
import com.facebook.i.a.a;
import java.lang.reflect.Array;
public class MatrixMathHelper {
public static void applyPerspective(double[] paramArrayOfdouble, double paramDouble) {
paramArrayOfdouble[11] = -1.0D / paramDouble;
}
public static void applyRotateX... |
package com.upu.zenka.broadcasttest.view;
import com.upu.zenka.broadcasttest.bean.ApinfoBean;
import com.upu.zenka.broadcasttest.bean.BkbroadcastBean;
import com.upu.zenka.broadcasttest.bean.DownloadBean;
import com.upu.zenka.broadcasttest.bean.broadcastBean;
import com.upu.zenka.broadcasttest.bean.exceptionBean;
impo... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package DBTests;
import java.util.logging.Level;
import java.util.logging.Logger;
import legaltime.model.UserInfoBean;
import legaltime.model.UserInfoManager;
import legaltime.model.exception.DAOException;
import org.j... |
package com.tencent.mm.plugin.setting.ui.setting;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
import com.tencent.mm.ab.l;
import com.tencent.mm.bg.d;
import com.tencent.mm.compatible.e.n;
import com.tencent.mm.compatible.e.q;
import com.tencent.mm.kernel.g;
import com.tencent.mm... |
package com.shopware.test.pages.base;
public interface CustomerPageConstansts {
public static String TITLE_NAME_PAGE = "Registration | QA Test Shop";
}
|
package com.example.apoxeo;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.util.AttributeSet;
import android.view.View;
import androidx.annotation.Nullable;
import androidx.core.content.ContextC... |
package com.enjoy.controller.auth.controller;
import com.enjoy.controller.auth.controller.util.JwtTokenUtil;
import com.enjoy.controller.auth.controller.vo.AuthRequestVO;
import com.enjoy.controller.auth.controller.vo.AuthResponseVO;
import com.enjoy.controller.common.BaseResponseVO;
import com.enjoy.controller.except... |
package com.zhao.rpc;
import java.util.concurrent.ExecutionException;
import com.zhao.rpc.client.RpcClient;
import com.zhao.rpc.client.RpcFuture;
import com.zhao.rpc.proxy.RpcAsyncProxy;
public class ConsumerStarter {
public static void sync() {
// rpcClient
RpcClient rpcClient = new... |
package com.chenyou.noveleditor.utils;
import android.text.Editable;
import android.text.TextWatcher;
import android.widget.EditText;
import androidx.annotation.NonNull;
import java.util.Stack;
/**
* 撤销和恢复撤销
*/
public class PerformEdit {
//操作序号(一次编辑可能对应多个操作,如替换文字,就是删除+插入)
int index;
//撤销栈
Stack<Ac... |
package com.coates.sharding.configure;
import lombok.extern.log4j.Log4j2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
/**
* @ClassName ShardingDataSourceConfig
* @Description TODO
* @Author mc
* @Date 2019/8/29 15:39
* @Version 1.0
**/
@Component... |
package simpleframework.inject;
import com.xxw.controller.MainPageController;
import com.xxw.service.combine.HeadLineShopCategoryCombineService;
import com.xxw.service.combine.impl.HeadLineShopCategoryCombineServiceImpl;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.DisplayName;
import org.juni... |
package com.xiaodao.log.event;
import com.xiaodao.admin.entity.SysOperLog;
import org.springframework.context.ApplicationEvent;
/**
* 系统日志事件
*/
public class SysOperLogEvent extends ApplicationEvent
{
//
private static final long serialVersionUID = 8905017895058642111L;
public SysOperLogEvent(SysOperLo... |
package mobi.wrt.oreader.app.clients.twitter;
import android.app.Activity;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import org.apache.http.client.methods.HttpUriRequest;
import org.json.JSONException;
import by.istin.android.xcore.Core;
import by.istin.android.xcore.callable.ISucc... |
package com.shirocheng.recordapp.db.dao;
import android.database.Cursor;
import android.database.sqlite.SQLiteStatement;
import com.shirocheng.recordapp.data.bean.Record;
import org.greenrobot.greendao.AbstractDao;
import org.greenrobot.greendao.Property;
import org.greenrobot.greendao.database.Database;
import org.... |
package com.tencent.mm.plugin.shake.c.b;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface.OnCancelListener;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.ShapeDrawable;
import android.graphics.drawabl... |
package com.xiaoxiao.controller;
import com.xiaoxiao.pojo.XiaoxiaoHobby;
import com.xiaoxiao.service.RedisHobbyService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.amqp.Rabbit... |
package cn.timebusker.repository.one2many;
import cn.timebusker.model.one2many.department;
import cn.timebusker.repository.BasicRepository;
public interface departmentRepository extends BasicRepository<department, Long> {
}
|
package ru.otus.dataset;
/*
* Created by VSkurikhin at autumn 2018.
*/
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.*;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.b... |
package start.service;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import start.entity.ApiServiceError;
/**
* @Author: Jason
* @Create: 2020/10/11 9:19
* @Description 创建一个远程接口的调... |
package model.vo.mycinema;
public class MemberLevelInfoVO{
private int member_level_no;
private String member_level;
public MemberLevelInfoVO() {
super();
// TODO Auto-generated constructor stub
}
public MemberLevelInfoVO(int member_level_no, String member_level) {
super();
this.member_level_no... |
package shawn.designpattern.adapter;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import java.io.*;
import java.util.Arrays;
import java.util.List;
import static java.util.stream.Collectors.joining;
import static org.assertj.core.api.Assertions.assertThat;
public class JavaAPIAdapter... |
package com.project.dao.assignment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.project.dao.assignment.AssignmentDaoImpl;
import com.project.model.Assignment;
@Service
public class AssignmentService {
@Autowired
AssignmentDaoImpl assignm... |
package negocio.editorial;
import java.sql.SQLException;
import java.util.Collection;
import integracion.editorial.DAOEditorial;
import integracion.factorias.FactoriaDAO;
import integracion.transacciones.Transaction;
import integracion.transacciones.manager.TManager;
/**
* The Class SAEditorialImp.
*/
public class... |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// write your code here
int n,m,i,j;
Scanner obj = new Scanner(System.in);
n = obj.nextInt();
m = obj.nextInt();
int arr[][]=new int... |
package sm.com.httesting;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.util.Log;
import android.view.Vi... |
package com.facebook.yoga;
public enum YogaPositionType {
ABSOLUTE,
RELATIVE(0);
private final int mIntValue;
static {
ABSOLUTE = new YogaPositionType("ABSOLUTE", 1, 1);
$VALUES = new YogaPositionType[] { RELATIVE, ABSOLUTE };
}
YogaPositionType(int paramInt1) {
this.mInt... |
package com.xj.base.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import com.xj.base.entity.support.BaseEntity;
import lombok.Data;
/**
* 公告实体类
... |
package useless;
import biorimp.optmodel.fitness.GeneralizedImpactQuality;
import biorimp.optmodel.mappings.metaphor.MetaphorCode;
import biorimp.optmodel.operators.RefOperMutation;
import biorimp.optmodel.space.RefactoringOperationSpace;
import edu.wayne.cs.severe.redress2.entity.refactoring.RefactoringOperation;
imp... |
package com.zhouyi.business.core.dao;
import com.zhouyi.business.core.model.LedenCollectPortrait;
import com.zhouyi.business.core.vo.LedenCollectPortraitVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@Mapper
public interface LedenCollectPortraitMap... |
package www.limo.com.mymovies;
import android.app.Activity;
import android.arch.persistence.room.Room;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.view... |
package persistencia;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import otros.DAOException;
import presentacion.Invitacion;
public class DAOInvitacionImp implements IDAOInvitacion {
protected ConnectionManager conex;
public DAOInvitacionImp() throws DAOException{
super();
t... |
/**************************************************************************
* <pre>
*
* Copyright (c) Unterrainer Informatik OG.
* This source is subject to the Microsoft Public License.
*
* See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
* All other rights reserved.
*
* (In other words you may co... |
package de.jmda.graph.shape;
/** implemented by shapes that have a front */
public interface Front { } |
package ar.edu.utn.frlp.app.controller;
import ar.edu.utn.frlp.app.config.ApiVersion;
import ar.edu.utn.frlp.app.controller.util.PaginationUtil;
import ar.edu.utn.frlp.app.controller.util.ResponseUtil;
import ar.edu.utn.frlp.app.dto.ColumnBoardDTO;
import ar.edu.utn.frlp.app.service.ColumnBoardService;
import io.swagg... |
package ager;
public final class IntPt3Stack {
int[] data;
int headPtr = -3;
public int x, y, z;
public IntPt3Stack(final int capacity) {
data = new int[3 * capacity];
}
public int size() { return headPtr / 3 + 1; }
public int capacity() { return data.length / 3; }
public boolean isEmpty() { return headPt... |
package pl.cwanix.opensun.agentserver.packets.c2s.connection;
import pl.cwanix.opensun.agentserver.packets.AgentServerPacketOPCode;
import pl.cwanix.opensun.commonserver.packets.Packet;
import pl.cwanix.opensun.commonserver.packets.annotations.IncomingPacket;
@IncomingPacket(category = AgentServerPacketOPCode.C... |
package psk.com.mediaplayerdemo.database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by Prashant Kashetti on 22/10/16.
*/
public class DatabaseManager extends SQLiteOpenHelper {
private static final String DATABA... |
package inheritance;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import static org.junit.Assert.*;
public class RestaurantTest {
@Test
public void constructTest() {
String name = "Test";
Restaurant test = new Restaurant(name);
assertEquals(name, test.na... |
package test.thread;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.*;
/**
* Parallel operation for Iterable instance
*
* TODO: Try one common pool for all instances with timeout param
*
* Created by qq_chen ... |
package com.linkedbook.entity;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.Immutable;
import javax.persistence.*;
@Getter @Setter
@Entity
@Immutable
@Table(name = "popular_comment")
public class PopularCommentView {
@Id
@Column(name = "id")
private int ... |
package in.ac.sharda.PizzaApplication.domain;
import java.util.ArrayList;
import java.util.List;
public class Cart {
private List<Product> products=new ArrayList<>();
private int i;
public Cart(int i) {
this.i = i;
}
// add a product
public void addProduct(Product product) {
this.products.... |
package com.tencent.mm.plugin.scanner.a;
import java.util.List;
public final class o {
public static o mGG;
public String bgn;
public String csD;
public String fkq;
public String fkz;
public List<String> mGA;
public List<String> mGB;
public List<String> mGC;
public String mGD;
... |
package com.rofour.baseball.service.report;
import java.util.List;
import java.util.Map;
import com.rofour.baseball.controller.model.report.ReportThirdPartyInfo;
import com.rofour.baseball.controller.model.report.ReportThirdPartyPhoneInfo;
/**
* @author ZXY
* @ClassName: ReportThirdParty
* @Description: 第三方报表服务接口... |
package health.fitnessfreak;
import com.exaple.fitnessfreak.R;
import java.util.ArrayList;
import android.R.string;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.support.v4.widget.CursorAdapter;
import android.util.Log;
import android.view.LayoutInflat... |
package com.tencent.mm.protocal.a.a;
import com.tencent.mm.bk.a;
import java.util.LinkedList;
public final class h extends a {
public int qXC;
public int qXj;
public int qXk;
public o qXl;
public o qXm;
public int qXn;
public int qXo;
public int ret;
protected final int a(int i, O... |
package com.lubarov.daniel.data.util;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public final class DigestUtils {
private static final MessageDigest md5;
static {
try {
md5 = MessageDigest.getInstance("MD5");
} catch (NoSuchAlgorithmException e) {
throw... |
package com.appscode.ci.plugins.blueprint;
import com.appscode.ci.model.blueprint.Job;
import com.appscode.ci.model.blueprint.Job.Docker.Volume;
import hudson.EnvVars;
import hudson.Extension;
import hudson.Launcher;
import hudson.Util;
import hudson.model.*;
import hudson.remoting.Callable;
import hudson.tasks.BuildW... |
package com.saven.batch.mapper;
import com.saven.batch.domain.ColumnBuilder;
import com.saven.batch.domain.Column;
import com.saven.batch.domain.Row;
import org.springframework.batch.item.ExecutionContext;
import org.springframework.batch.item.file.transform.FieldSet;
import org.springframework.validation.BindExceptio... |
package com.e6soft.core.mybatis;
import static org.mybatis.spring.SqlSessionUtils.closeSqlSession;
import static org.mybatis.spring.SqlSessionUtils.isSqlSessionTransactional;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMa... |
package net.lin.www;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import java.io.IOException;
import java.net.SocketTimeoutException;
/**
* Created by Lin on 12/26/15.
*/
public class PageLoader
{
static int standerdTimeout = 5000;
static int timeoutIncrement = 1000;
static int timeout = st... |
package org.openhab.support.knx2openhab.model;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.stream.Collectors;
import org.knx.xml.KnxFunctionT;
import org.knx.xml.KnxSpaceT;
public class KNXThing
{
private f... |
package com.libedi.jpa.compositekey.identify;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.JoinColumn;
import javax.persistence.JoinColumns;
import javax.persistence.ManyToOne;
import lombok.Getter;
import lom... |
package com.company;
public class FigurDAOStub implements FigurDAO {
private String[] testFiguren = {
"Rechteck 150 20 30 40",
"Linie 100 100 200 200",
"Kreis 10 75 5"
};
private int currentFigur = 0;
@Override
public String[] readNextFigurData() ... |
package com.gushiyu.springbootwebcrud;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import redis.clients.jedis.Jedis;
import java.util.HashMap;
import java.util.Map;
@RunWith(SpringRun... |
/**
*
*/
package nz.org.take.strelka.actions;
import javax.swing.Icon;
import javax.swing.JOptionPane;
import nz.org.take.strelka.TakePlugin;
import nz.org.take.strelka.preferences.TakePluginPreferences;
import de.tu_cottbus.r2ml.RuleBase;
import de.tu_cottbus.rule.r2ml.R2MLExport;
import de.uni_paderborn.fujaba.... |
package com.tencent.mm.plugin.appbrand.appcache;
import com.tencent.mm.plugin.appbrand.e;
import com.tencent.mm.plugin.appbrand.g;
import com.tencent.mm.plugin.appbrand.q.c;
import com.tencent.mm.pluginsdk.ui.tools.s;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
import com.ten... |
import java.util.Scanner;
public class TutorialScanner {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in); // storage input data from the keybord to scan ( tool = Scanner )
int valueone;
int valuetwo;
int sum;
System.out.println("Enter your first number: ");
value... |
package zajaczkowski.adrian.tools;
public class U2 extends Rocket {
public U2() {
name = "U2";
cost = 120;
weight = 18_000;
maxWeight = 29_000;
cargoLimit = maxWeight - weight;
}
@Override
public boolean launch() {
boolean result = true;
double ... |
package com.jayqqaa12.mobilesafe.domain;
import com.jayqqaa12.abase.annotation.db.Table;
@Table(name = "applock")
public class AppLock
{
private int id ;
private String packname;
public AppLock()
{
}
public AppLock(String packname)
{
this.packname =packname;
}
public int getId()
{
return id;
}
p... |
import java.util.Scanner;
public class Menu2 {
int ap;
public Menu2()
{
ap=0;
}
public void mostrarMenu2()
{
Scanner leer=new Scanner(System.in);
do
{
System.out.println("\n* * *MENU 2 PRINCIPAL* * *\n");
System.out.println("1 <- * ");
System.out.println("2 <- + ");
Sys... |
package com.java.smart_garage.contracts.repoContracts;
import com.java.smart_garage.models.Credential;
import java.util.List;
public interface CredentialRepository {
List<Credential> getAllCredentials();
Credential getById(int id);
Credential getByUsername(String username);
Credential create(Cred... |
package mod.coda.ambients.common.entity;
import com.google.common.collect.Sets;
import java.util.Calendar;
import java.util.Set;
import javax.annotation.Nullable;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.ai.EntityAIBase;
import net.minecraft.entity.ai.EntityAIFollowParent;
import net.m... |
package com.example.ecommerce.AllPaymentGateWay;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
impo... |
package org.rebioma.server.services;
import java.io.File;
import java.io.FileFilter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.rebioma.client.AscModelResult;
import org.rebioma.client.services.RebiomaModelService;
import com.google.gwt.user.server.rpc.RemoteServiceSe... |
package SwordOffer;
/**
* @author renyujie518
* @version 1.0.0
* @ClassName isHouXuInTree.java
* @Description 输入一个整数数组,判断该数组是不是某二叉搜索树的后序遍历的结果。假设输入的数组的任意两个数字都互不相同。
* 注意 这棵树还是二叉搜索书
* 二叉搜索树定义: 左子树中所有节点的值 < 根节点的值;右子树中所有节点的值 > 根节点的值;其左、右子树也分别为二叉搜索树。
*
* https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu... |
package com.codegym;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
public class SuccessServlet extends HttpServlet {
protected void doPost(HttpServletRequest req... |
package lesson25.Ex1;
public abstract class Animal {
private String name; //tên
private String species; //loài động vật
private float height; //chiều cao
private float weight; //cân nặng
private String habitat; //môi trường sống
private String reproduction; //hình thức sinh sản
//các hà... |
package service;
import org.apache.log4j.Logger;
import org.jtransforms.fft.DoubleFFT_1D;
import service.exception.WavFileException;
import service.model.WavFile;
import java.io.File;
import java.io.IOException;
/**
* Created by vlad on 26.04.17.
*/
public abstract class AbstractService implements IService {
p... |
package com.zdzimi.blog.service;
import com.zdzimi.blog.dao.ParagraphRepository;
import com.zdzimi.blog.model.Article;
import com.zdzimi.blog.model.Paragraph;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Optional;... |
package com.epam.restaurant.entity;
import org.junit.Assert;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
*/
public class UserTest {
private User user = new User("name", "surname", "email", "12341234", "login", "hash");
@Test
public void testGetName() throws Exception {
asse... |
/*
* Copyright 2007 Jens Dietrich
* 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 to in wr... |
package com.pg.whatsstatussaver.Fragments;
import android.os.Bundle;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.pg.whatsstatus... |
package com.app.bowlingscorer;
import android.support.multidex.MultiDex;
import com.app.bowlingscorer.di.ApplicationComponent;
import com.app.bowlingscorer.di.DaggerApplicationComponent;
import dagger.android.AndroidInjector;
import dagger.android.DaggerApplication;
/**
* Created by a.hegazy on 18/4/2018.
*/
publi... |
package com.question.dao;
import org.springframework.stereotype.Repository;
@Repository
public interface ReturnDao {
/**
* 更新选项被选中的次数
* @param selectionId
*/
public void updateSelectionCount(int selectionId);
}
|
/**
* 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... |
package com.zihui.cwoa.financial.pojo;
/**
* 项目总请款和总报销查询结果实体类
*/
public class ProjectInAndOut {
//项目名称
private String project_name;
//总请款
private String all_out;
//总报销
private String all_in;
public String getProject_name() {
return project_name;
}
pu... |
package it.test.funzionali;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import it.cinema.multisala.Abbonamento;
import it.cinema.multisala.CartaDiCredito;
import it.cinema.multisala.Cliente;
import it.cinema.multisala.Manager;
public class UC10 {
Manager m;
Cliente c;
Abbona... |
public class Money {
private int amount;
private String currency;
}
|
package com.tencent.mm.g.a;
import com.tencent.mm.sdk.b.b;
public final class bi extends b {
public a bIT;
public bi() {
this((byte) 0);
}
private bi(byte b) {
this.bIT = new a();
this.sFm = false;
this.bJX = null;
}
}
|
package com.example.xyzreader.presentation.article_detail;
import android.app.Application;
import android.util.Log;
import androidx.lifecycle.AndroidViewModel;
import androidx.lifecycle.LiveData;
import com.example.xyzreader.data.XYZRepository;
import com.example.xyzreader.database.XYZDatabase;
import com.example.xy... |
package network;//
import java.io.IOException;
import java.util.Scanner;
//Created by DaMasterHam on 06-04-2017.
//
public class ServerApp
{
private static Server server;
private static Scanner in;
private static boolean running;
private static void command(String command)
{
String[] comm... |
package com.worker.framework.recovery;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import org.junit.Before;
import org.junit.Test;
import org.junit.run... |
package com.legalzoom.api.test.util;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.List;
import javax.ws.rs.container.ContainerRequestContext;
import javax.ws.rs.container.ContainerRequestFilter;
import javax.ws.rs.core.MultivaluedMap;
import j... |
package egg.project000.repositories;
import egg.project000.models.MedListElement;
public interface MedListDAOHeader {
public MedListElement insert(MedListElement m);
}
|
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
public class Discrepancy
{
final static String FILENAME = "input.txt";
public static void main(String[] args)
{
try {
FileReader fr = new FileReader(FILENAME);
BufferedReader br =... |
package leecode.string;
import zuoshen.输入输出练习.I;
import java.util.HashMap;
import java.util.Map;
//左神285 对于字符串,可以使用数组作为map使用
//不需要申请数组dp:使得dp[i]表示已str[i]结尾的长度
//可以考虑使用滑动窗口
public class 无重复字符的最长子串_3 {
public static int lengthOfLongestSubstring(String s) {
if(s==null||s.length()==0){
return 0;
... |
package com.tencent.mm.protocal.c;
import com.tencent.mm.bk.a;
import f.a.a.b;
import java.util.LinkedList;
public final class bez extends a {
public int id;
public bhz sgA;
public bhz sgB;
public bhz sgC;
public bhz sgD;
public bhz sgE;
public bhz sgF;
public bhz sgx;
public bhz s... |
package com.fixit.ui.fragments;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebResourceRequest;
import android.webk... |
package com.qgbase.config.exception.handler;//package com.com.qgbase.config.exception.handler;
//
//import com.com.qgbase.common.enumeration.EnumResultType;
//import com.com.qgbase.util.TToolRequest;
//import com.com.qgbase.config.exception.SysRunException;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
/... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the te... |
package com.controller;
import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.security.Principal;
import java.sql.Connection;
import java.sql.Date;
import java.sql.Drive... |
package Lap1;
public class Strudent1 {
public Strudent1(String ten, int tuoi, String gioitinh) {
System.out.println("hoc sinh 1 la: " + ten + tuoi + gioitinh);
}
} |
/*
* Copyright 2013 JBoss Inc
*
* 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 to i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.