text stringlengths 10 2.72M |
|---|
package uk.co.dyadica.unitymsband;
import android.app.Activity;
import android.content.Context;
import android.os.AsyncTask;
import android.widget.Toast;
import com.microsoft.band.BandClient;
import com.microsoft.band.BandClientManager;
import com.microsoft.band.BandException;
import com.microsoft.band.BandInfo;
impo... |
/**
*/
package iso20022;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Data Type</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Representation of a set of values without identity.
* <!-- end-model-doc -->
*
*
* @see iso20022.Iso20022Package#getDataType()
*... |
package com.company.project.other.fgmc;
import com.alibaba.fastjson.JSONObject;
import com.company.project.utils.GsonUtil;
import com.company.project.utils.ResourcePath;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework... |
package utils;
import gui.ComponentTools;
import gui.comp.ProgressBar;
import gui.tree.AutoTree;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.util.HashMap;
import java.util.Map;
import javax.swing.JFrame;
im... |
//package com.tdr.registration.view;
//
//import android.content.Context;
//import android.graphics.Color;
//import android.view.View;
//
//
//import com.parry.pickerview.builder.TimePickerBuilder;
//import com.parry.pickerview.listener.OnTimeSelectListener;
//import com.parry.pickerview.view.TimePickerView;
//import c... |
/**
* Created by owen on 2017/6/13.
*/
public class StaticSingleton {
/**
* 使用静态内部类实现的单例模式
*/
public static StaticSingleton getInstance(){return Inner.INSTANCE;}
private StaticSingleton(){}
private static class Inner{
final static StaticSingleton INSTANCE = new StaticSingleton();
... |
package com.wipro.stringstringbuffer;
public class Ex10 {
public static void main(String[] args) {
// TODO Auto-generated method stub
String[] s=args[0].split(",");
String nstr="";
if(!s[0].equals(""))
{
String str=s[0];
int len=str.length();
int c=Integer.parseInt(s[1]);
for(int i=1;i<=c;i++)
... |
package com.apecoder.apollo.service.impl;
import com.apecoder.apollo.domain.CommentArticleEntity;
import com.apecoder.apollo.mapper.CommentMapper;
import com.apecoder.apollo.service.CommentService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ba... |
/*
* Created on Mar 18, 2007
*
*
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.citibank.ods.persistence.pl.dao;
import com.citibank.ods.entity.pl.BaseTplProdSubFamlPrvtEntity;
/**
* @author leonardo.nakada
*
*
* Preferences - Java - Code Style - Code Templates
... |
package com.gen.serve;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
imp... |
package com.legaoyi.protocol.up.messagebody;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.legaoyi.protocol.message.MessageBody;
/**
* 上传终端音视频属性
*
* @author <a href="mailto:shengbo.gao@gmail.c... |
package com.example.fileshare.model;
import org.hibernate.annotations.OnDelete;
import org.hibernate.annotations.OnDeleteAction;
import javax.persistence.*;
import java.util.Set;
@Entity
public class Order {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@ManyToOne
... |
package first.improve.递增的三元子序列;
public class SolutionC {
public boolean increasingTriplet(int[] nums)
{
// 设置两个变量first, second存储最小值与中间值
// 之后扫描数组
// 当有遇到数组中数num, 其有num < first时, 则first = num
// 当有遇到数组中数num, 其有first < num < second时, 则second = num
// 当有遇到数组中数num, 其有second ... |
package Task2;
public interface Men_Clothes {
public void WearMen();
}
|
package com.serotonin.modbus4j.serial.rtu;
import com.serotonin.io.messaging.MessageRequest;
import com.serotonin.io.messaging.MessageResponse;
import com.serotonin.modbus4j.base.BaseMessageParser;
import com.serotonin.util.queue.ByteQueue;
/**
* Message parser implementation for RTU encoding. Primary reference for ... |
package com.weiziplus.springboot.common.utils.token;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.SignatureAlgorithm;
import javax.servlet.http.HttpServletRequest;
import java.util.Date;
/**
* JwtToken
*
* @author wanglongwei
* @data 2019/5/7 9:50
*/
public class JwtTokenUt... |
package com.example.young.mymusicplayer.Activity;
import android.content.ComponentName;
import android.content.Intent;
import android.content.ServiceConnection;
import android.content.pm.PackageManager;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.os.Han... |
package com.designurway.idlidosa.a.model;
import com.google.gson.annotations.SerializedName;
public class AddressModel {
private String status;
private String name;
private String phone;
private String pin_code;
private String office_pin_code;
@SerializedName("home_address")
private Str... |
package com.flavio.android.petlegal.view;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
import com.flavio.android.petlegal.R;
import com.flavio.android.petlegal.controll.ControlaTelefone;
import com.flavi... |
package com.xinyuf.util;
import android.content.Context;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
public class DateUtils {
//2015年1月1日 00:00
public static String getFormatDate(Date date){
return new SimpleDateFormat("yyyy年MM月dd日 HH:... |
package heylichen.alg.graph.structure.weighted.mst;
import heylichen.alg.graph.structure.weighted.EdgeWeightedGraph;
import heylichen.alg.graph.structure.weighted.WeightedEdge;
import java.util.ArrayList;
import java.util.List;
import java.util.PriorityQueue;
/**
* @author lichen
* @date 2020/4/8 15:43
* @desc
*... |
/**
* Created by owen on 2017/6/14.
*/
public class FindNumberInTwoDArray {
/**
* 二维数组中数字从左到右,从上到下递增
* 给定一个数字,查找二维数组返回结果
*/
public boolean find(int[][] a,int s){
//检查输入有效性
if (a==null)
return false;
int i = 0,j=a[i].length-1;//默认是矩形
while(i<a.length&... |
package emp;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;... |
package com.lumpofcode.collection.compare;
import java.util.Comparator;
/**
* Created by emurphy on 10/21/15.
*/
public class DescendingComparator extends AscendingComparator implements Comparator<Comparable<Object>>
{
@Override
public int compare(Comparable<Object> theValue, Comparable<Object> theOtherValu... |
package com.stratumn.sdk.model.misc;
import java.util.function.Function;
/***
*
* A Class to hold the data identifying a specific property in an object hierarchy
* V is the Type of the object we are searching for
* Id a unique identifier of the value of the property
* Path Json like path for a property.
* Pa... |
package com.company.game;
import xyz.noark.core.annotation.ControllerAdvice;
/**
* 异常处理器
*
* @author 小流氓[176543888@qq.com]
*/
@ControllerAdvice
public class ExceptionHandlerAdvice {
}
|
package com.hthj.utils;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
/**
* @Description
* @Author pengx
* @Date 2020/4/17 23:57
*/
public abstract class DefaultPageCondition<T> imple... |
/**
* Copyright (c) 2004-2021 All Rights Reserved.
*/
package com.adomy.mirpc.core.util.lang;
/**
* @author adomyzhao
* @version $Id: ServiceUtil.java, v 0.1 2021年03月24日 12:59 PM adomyzhao Exp $
*/
public class ServiceUtil {
/**
* 生成服务唯一KEY
*
* @param interfaceName
* @param serviceVersion... |
package com.gci.api.model.contract;
import java.util.Date;
import java.util.List;
import com.gci.api.model.invoice.Invoice;
public interface Contract {
public void setId(String id);
public void setStartDate(Date date);
public void setEndDate(Date date);
public void setInvoices(List<Invoice> date);
public ... |
package com.javarush.task.task08.task0817;
import java.util.HashMap;
import java.util.Map;
/*
Нам повторы не нужны
*/
public class Solution {
public static Map<String, String> createMap() {
Map<String, String> map = new HashMap<>();
map.put("Иванов", "Иван");
map.put("Федоров", "Альберт"... |
package com.telpoo.hotpic.adapter;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.util.Log;
import android.util.SparseArray;
import android.view.LayoutInflater;
impor... |
package com.aof.webapp.action.prm.report;
import java.io.FileInputStream;
import java.text.NumberFormat;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFCellStyle;
import org.apache.po... |
package com.fujitsu.frontech.palmsecure_smpl.segovia;
import org.apache.commons.csv.*;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.Reader;
import java.util.ArrayList;
import java.util.Date;
import java.util.TreeMap;
public class CSVManager {
private final String campai... |
/****************************************************************
* 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 ... |
package com.kun.security.core.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* @author CaoZiye
* @version 1.0 2017/11/19 21:59
*/
@ConfigurationProperties(prefix = "kun.security")
public class SecurityProperties {
private CommonProperties common = new CommonPro... |
/*
* 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.scf.core.persistence.db.dao.mongodb.impl;
import java.util.List;
import org.mongodb.morphia.Datastore;
import org.mongodb... |
/*
* 출처 : https://ko.wikipedia.org/wiki/%ED%8C%A9%ED%86%A0%EB%A6%AC_%EB%A9%94%EC%84%9C%EB%93%9C_%ED%8C%A8%ED%84%B4
https://refactoring.guru/design-patterns/factory-method/java/example
https://gmlwjd9405.github.io/2018/08/07/factory-method-pattern.html
* 역할
Creator : java.util.Calend... |
package com.mpower.database;
import java.util.ArrayList;
import java.util.List;
import java.util.zip.Adler32;
import com.mpower.model.Querydata;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database... |
package io.gtrain.domain.model.dto;
import io.gtrain.domain.model.PhoneNumber;
import io.gtrain.domain.model.enums.Major;
import io.gtrain.domain.model.enums.Minor;
import io.gtrain.domain.model.enums.Year;
import java.util.Objects;
import java.util.StringJoiner;
/**
* @author William Gentry
*/
public class Regist... |
// File generated by hadoop record compiler. Do not edit.
package fm.last.hadoop.io.records;
public class RowColumn extends org.apache.hadoop.record.Record {
private static final org.apache.hadoop.record.meta.RecordTypeInfo _rio_recTypeInfo;
private static org.apache.hadoop.record.meta.RecordTypeInfo _rio_rtiFilte... |
package vn.poly.hailt.bookmanager.ui;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android... |
package exceptionmulticatch.converter;
public class BinaryStringConverter {
public boolean[] binaryStringToBooleanArray(String str) {
if (str == null)
{
throw new NullPointerException("binaryString null");
}
boolean[] results = new boolean[str.length()];
for (in... |
package ba.unsa.etf.rpr;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.sce... |
package org.study.schedule;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.study.admin.ScheduleDAO;
import org.study.admin.ScheduleVO;
@Service
public class ScheduleServiceImpl implements ScheduleService{
@Autowired
p... |
package net.sf.throughglass.network.clients;
import net.sf.throughglass.network.Network;
import net.sf.throughglass.proto.Works;
import net.sf.throughglass.utils.AndroidTaskQueueImpl;
import ye2libs.utils.TaskQueue;
public class BaseClient {
private static TaskQueue queue = null;
public synchronized static TaskQu... |
package com.exam.zzz_other_menu;
import java.util.ArrayList;
import android.content.Context;
import android.database.Cursor;
import android.view.View;
import android.view.ViewGroup;
import android.view.View.OnClickListener;
import android.view.LayoutInflater;
import android.widget.TextView;
import android.widget.I... |
package nh.automation.tools.utils;
import java.nio.charset.Charset;
import org.apache.commons.httpclient.Header;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.methods.HttpPut;
im... |
package filesprocessing;
import java.io.File;
import java.io.FileFilter;
import java.util.ArrayList;
import java.util.Arrays;
import static filesprocessing.DirectoryProcessor.*;
import static filesprocessing.Errors.*;
import static filesprocessing.FilterFactory.*;
public class Filter {
/** greater_than filter *... |
//package com.my.moms.pantry.scraps;
//
//
//
//import androidx.fragment.app.Fragment;
//import androidx.fragment.app.FragmentManager;
//import androidx.fragment.app.FragmentPagerAdapter;
//
//import com.my.moms.pantry.GroceryListFragment;
//import com.my.moms.pantry.PantryListFragment;
//import com.my.moms.pantry.Reci... |
package com.alibaba.druid.sql.dialect.mysql.ast.statement;
import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;
/**
* @author lijun.cailj 2017/11/16
*/
public class MysqlShowHtcStatement extends MySqlStatementImpl implements MySqlShowStatement {
private boolean full;
private boolean isHis;
... |
package com.java.lock;
/**
* Created by Ness on 2017/7/4.
*/
public class Test2 {
//资源类
static class Service {
public void print(String stringParam) {
try {
synchronized (stringParam) {
while (true) {
System.out.println(Thread.cu... |
package scut218.pisces.view.fragments;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SwipeR... |
package org.mike.licenses.services;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixProperty;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.mike.licenses.clients.OrganizationRestTemplat... |
import java.util.*;
import java.io.*;
public class prob08 {
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
//Scanner in = new Scanner(System.in);
Scanner in = new Scanner(new File("prob08-1-in.txt"));
int N = in.nextInt();
for (int idx = 0; idx < N; idx++) {... |
package com.learning.arrays;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
public class Task12272Test {
Task12272 task12272;
char[][] concreteArray;
@Before
public void init() {
task12272 = new Task12272();
concreteArray = new char[3][3];
concreteAr... |
package br.com.deguste.dao;
import java.io.Serializable;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.inject.Disposes;
import javax.enterprise.inject.Produces;
import javax.inject.Named;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import j... |
package common.util;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class MD5 {
public static String md5(Object original) {
if ((original == null)) {
return null;
}
byte[] defaultBytes = original.toString().getBytes();
... |
package de.alexhausmann.parprog;
import org.apache.commons.lang.NotImplementedException;
public class Bank {
/**
* Erzeugt ein neues Konto mit initialem Kontostand 0.
* @return das neue Konto
*/
public Account createAccount() {
return new Account();
}
/**
* Ruft den aktuelle... |
package com.mygdx.story;
/**
* Contains all the flags for the story.
*/
public class StoryHandler {
//Variables should be self-explanatory.
public static Boolean introductionPart1 = false;
public static Boolean startedIntroPart2 = false;
public static Boolean introductionPart2 = false;
public sta... |
package com.designPatterns.iteratorPattern3;
/**
*
* So in future you want to deal with ex. list of product or person object you don't need to
* change the main method implementation, you only need to change BrowserHistory class implementation.
* @Author Vaibhav
*/
public class Main {
public static void main... |
package mx.infotec.dads.kukulkan.shell.commands.navigation;
import static mx.infotec.dads.kukulkan.shell.util.TextFormatter.formatDirNotExistText;
import static mx.infotec.dads.kukulkan.shell.util.TextFormatter.formatNormalText;
import java.nio.file.Path;
import java.nio.file.Paths;
import org.jline.utils.Attributed... |
package DesignPattern.Bridge;
public class Docter implements PersonToBridge {
@Override
public void waitForPickUp() {
// TODO Auto-generated method stub
System.out.println("docker waiting");
}
@Override
public void followToDo() {
// TODO Auto-generated method stub
... |
package javaDay5;
import java.util.Arrays;
import java.util.List;
public class Program11 {
public static void main(String[] args) {
List<Integer> lst = Arrays.asList(2,3,5,1);
System.out.println(
lst.stream().map(e->2*e).mapToInt(i -> i.intValue()).average().getAsDouble()
)... |
/*
* char can be considered as a positive integer.
*
* Whatever, it may cause string out index bound exception.
*/
package String;
/**
*
* @author YNZ
*/
public class CharAtChar {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
... |
package com.envisioniot.quartz.entity;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
/**
* @author YangHaojie
* @date 2020/8/31
*/
public class ReportJob implements Job {
@Override
public void execute(JobExecutionContext jobExecutionContext) throws J... |
package com.tibco.as.util.convert.impl;
public class NumberToLong extends AbstractConverter<Number, Long> {
@Override
protected Long doConvert(Number source) {
return source.longValue();
}
}
|
package com.example.android.offline;
import android.arch.paging.PagedListAdapter;
import android.content.Context;
import android.support.v7.util.DiffUtil;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.sap.cloud.mo... |
package ru.mcfr.oxygen.framework.extensions;
import ro.sync.contentcompletion.xml.ContextElement;
import ro.sync.contentcompletion.xml.WhatElementsCanGoHereContext;
import ro.sync.ecss.extensions.api.*;
import ro.sync.ecss.extensions.api.node.AuthorDocumentFragment;
import ro.sync.ecss.extensions.api.node.AuthorElemen... |
package FileLecture;
import java.io.File;
import java.util.Date;
public class FileExamples {
/**
* @param args
*/
public static void main(String[] args)
{
//You create the file object first
//then you attem
File f = new File("abc.txt"); // this is only a path name to some potential file in the working ... |
package com.lti.ComparatorComparable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
/**
* Created by busis on 2020-12-05.
*/
public class Movie implements Comparable<Movie>{
private int relyear;
private String Name;
Movie(int year, String ... |
package uz.otash.shop.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import uz.otash.shop.entity.template.AbsEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persi... |
public class Scope {
public static void main(String[] args) {
int age = 44;
int adult = 18;
String teacherName = "Rafael";
if(age>= adult) {
System.out.println("Is Adult");
boolean isCefetTeacher = true;
System.out.println("Name: " + teacherName + ", age: " + age + "\nCEFET Teacher: " + isCefetTeacher);... |
package net.awesomekorean.podo.lesson.lessonReviewRewards;
import net.awesomekorean.podo.lesson.lessons.Lesson;
import net.awesomekorean.podo.lesson.lessons.Lesson00;
import net.awesomekorean.podo.lesson.lessons.Lesson01;
import net.awesomekorean.podo.lesson.lessons.Lesson02;
import net.awesomekorean.podo.lesson.lesso... |
import java.util.Scanner;
class Lesson_30_Activity {
public static String [] list = {"every", " near ing ", " checking", "food ", "stand", "value "};
public static void main(String[] args) {
String[] list2 = new String[list.length];
for (int i = 0; i < list.length; i ++) {
... |
//package alien4cloud.it.cloud;
//
//import java.util.List;
//import java.util.Set;
//
//import org.apache.commons.lang3.StringUtils;
//import org.apache.http.NameValuePair;
//import org.apache.http.message.BasicNameValuePair;
//import org.junit.Assert;
//
//import alien4cloud.it.Context;
//import alien4cloud.model.clo... |
public class MergeAndSortArrayTest {
public static void main(String[] params) {
int[] array1 = new int[]{31, 88, 73, 41, 32, 53, 16, 24, 57, 42, 74, 55, 36};
int[] array2 = new int[]{22, 9, 16, 55, 32, 13, 38, 83, 66, 26, 49, 15, 44};
int[] resultArray = new int[array1.length + array2.len... |
package com.learning.recursion;
public interface Executable {
StringBuilder execute();
/**
* Utility method that return pseudo random number in range
* from 0 to 25
*
* @return long primitive type from 0 to 25
*/
static Long getRandomPositiveNumber() {
return (long) (Math... |
package com.aowin.frame;
import java.awt.Container;
import java.awt.FlowLayout;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import com.aowin.Exceptions.FormatException;
import com.aowin.stuff... |
package ar.edu.utn.d2s.externaldependencies.cgp;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
public class CgpAPIImplMock implements CgpAPIMock {
private static CgpAPIImplMock instance = null;
private List<CenterDTOMock> centersDTO = new ArrayList<>();
public C... |
package com.blog.bean;
/**
* <p>此javabean用于记录页面信息,分页时会使用</p>
* @author duanjigui
*@time 2016/5/15
*@version 1.0
*/
public class PageInfoBean {
private int currentPage; //当前属于第几页
private int maxPage; //所能分的最大页
private int pageItem; //每页能存放信息的条数
public int getCurrentPage() {
return currentPage;
}
public vo... |
package sop.vo;
import it.sauronsoftware.base64.Base64;
/**
* @Author: LCF
* @Date: 2020/1/9 11:38
* @Package: sop.vo
*/
public class GlInterfaceVo {
private Integer id;
/**
* gl_inf_code
*/
private String glInfCode;
private String encodeGlInfCode;
/**
* gl_inf_desc
... |
package com.git.cloud.sys.service;
import com.git.cloud.common.exception.RollbackableBizException;
import java.lang.reflect.InvocationTargetException;
/**
* 执行定时任务Service
*
* @author w
* @date 2018/09/19
*
*/
public interface ITimingTaskExecService {
/**
* 扫描并执行定时任务
*/
void updateScanTimingTa... |
package gov.nih.mipav.view.renderer.WildMagic.Interface;
import gov.nih.mipav.model.file.FileIO;
import gov.nih.mipav.model.file.FileInfoSurfaceRefXML;
import gov.nih.mipav.model.file.FileInfoXML;
import gov.nih.mipav.model.file.FileSurfaceXML;
import WildMagic.LibFoundation.Mathematics.ColorRGB;
import WildMagic.Lib... |
/**
* Copyright (c) 2008-2011, Open & Green Inc.
* All rights reserved.
* info@gaoshin.com
*
* This version of SORMA is licensed under the terms of the Open Source GPL 3.0 license. http://www.gnu.org/licenses/gpl.html. Alternate Licenses are available.
*
* This library is distributed in the hope that it will b... |
/******************************************************************************
* __ *
* <-----/@@\-----> *
* <-< < \\// > >-> *
... |
/*
* 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 co.edu.uniandes.csw.mueblesdelosalpes.dto;
/**
*
* @author don_d
*/
public class Oferta {
private int idOfer... |
package com.example.bublly.bemedisure;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.List... |
package com.joalib.member.svc;
import com.joalib.DAO.memberinfoDAO;
public class MemberDeleteService {
public boolean memberDelete (String member_id) {
boolean isSuccess = false;
memberinfoDAO dao = memberinfoDAO.getinstance();
int i = dao.memberDel(member_id);
if(i > 0) {
isSuccess = true;
}
... |
package com.lenovohit.hcp.odws.web.rest;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.anno... |
package org.cloudbus.cloudsim.network.datacenter;
import net.sourceforge.jswarm_pso.FitnessFunction;
public class MyFitnessFunction extends FitnessFunction{
public MyFitnessFunction(double[][] td, double[] et, double[][] vd, double[][] vt){
super(false);
workFlowDataTrans = td;
workFlowTaskExcution = et;
vmD... |
package com.study.pattern.state;
/**
* @author
*
*/
public class MobileRingMode {
private AlertState alertState;
public MobileRingMode() {
alertState= new Ring();
}
public void setAlertState(AlertState alertState) {
this.alertState=alertState;
}
public void showAlert() {
alertState.alert();
}
}
|
package ex0428;
import java.util.Date;
public class SVO {
private String scode;
private String sdept;
private String year;
private Date birthday;
private String pname;
private String pdept;
private String sname;
public String getScode() {
return scode;
}
public void setScode(String scode) {
this.scode... |
/*
* 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 object;
import data.DataAccess;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
im... |
package com.eme.aelegant.ui;
import android.os.Bundle;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.eme.aelegant.App;
import com.eme.aelegant.R;
import com.eme.aelegant.base.BaseRxActivity;
import com.eme.aelegant.contract.MainContract;
import com.eme.aelegant.injector.component.Da... |
package com.example.demo;
public class Adapter {
public static void main(String[] args) {
//todo more logics
//DispatcherServlet
}
}
|
package com.myvodafone.android.front.support;
/**
* Created by d.alexandrakis on 27/4/2016.
*/
public class UserInfo {
private String username,password,number,afm,email = "";
public UserInfo(){}
public UserInfo(String username, String msisdn, String afm){
this.username = username;
this... |
package ru.bookstore.domain;
import javax.persistence.*;
@Entity
@Table(name = "books_authors")
public class BooksAuthorsEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "id", updatable = false, nullable = false)
private Integer id;
@Column(name = "book", nullable =... |
package com.yusys.workFlow;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Service;
import com.yusys.Utils.DateTimeUtils;
import com.yusys.Utils.RequestUtils;
import com.yusy... |
package com.lsm.boot.shiro.vo;
public enum ResultCode {
C200(200, "Success"),
C203(203, "No Enough Authority"),
C204(204, "No Content"),
C301(301, "Request Error"),
C400(400, "Client Error"),
C403(403, "Forbidden"),
C401(401, "Unauthorized Auth"),
C412(412, "参数错误"),
C41... |
package eu.tjenwellens.timetracker.main;
import android.content.Context;
import eu.tjenwellens.timetracker.R;
import eu.tjenwellens.timetracker.calendar.Evenement;
import eu.tjenwellens.timetracker.calendar.Kalender;
import eu.tjenwellens.timetracker.database.DatabaseHandler;
import eu.tjenwellens.timetracker.m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.