text stringlengths 10 2.72M |
|---|
package ua.siemens.dbtool.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBui... |
package net.edoxile.bettermechanics.mechanics;
import net.edoxile.bettermechanics.exceptions.InvalidLineLengthException;
import net.edoxile.bettermechanics.exceptions.OutOfBoundsException;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import java.util.HashMap;
/**
* Created by IntelliJ IDEA.
* User... |
package com.zhicai.byteera.activity.product.P2P;
import com.zhicai.byteera.activity.product.entity.ProductEntity;
import java.util.List;
/** Created by bing on 2015/6/27. */
public interface DrawerRightIV {
void refreshListView(List<ProductEntity> productList,boolean isFirst);
}
|
package com.cetpainfotech.voiceautomation;
import android.content.Intent;
import android.net.wifi.WifiManager;
import android.preference.PreferenceManager;
import android.provider.MediaStore;
import android.speech.RecognitionService;
import android.speech.RecognizerIntent;
import android.support.annotation.Nullable;
i... |
package fr.formation.EvalSpring.models;
import java.io.Serializable;
import javax.persistence.*;
import lombok.Data;
import java.util.Date;
/**
* The persistent class for the patient database table.
*
*/
@Entity
@Table(name="patient")
@Data
public class Patient implements Serializable {
private static final l... |
package com.newbig.im.service.helper;
import com.google.common.collect.Lists;
import com.newbig.im.dal.model.SysOrg;
import java.util.List;
public class OrgHelper {
public static List<SysOrg> buildOrgTree(List<SysOrg> orgs) {
List<SysOrg> rootTrees = Lists.newArrayList();
for (SysOrg org : orgs) ... |
package com.codingchili.instance.model.entity;
/**
* Supported types of hitboxes.
*/
public enum HitboxType {
/**
* Requires two points to set up a rectangle.
*/
rectangular,
/**
* Requires a list of points that make up a form.
*/
freeform
}
|
package jets;
import java.io.BufferedReader;
import java.io.FileReader;
import java.util.ArrayList;
import java.util.InputMismatchException;
import java.util.List;
import java.util.Scanner;
public class AirField {
// F I E L D S
private List<Jet> jets = new ArrayList<>();
private static int jetNumber = 0;
// ... |
/// Midterm Exam
//// (Assume ball diameter of 30.)
//// GLOBALS: pool table, 3 colored balls
String title= "cst112 Midterm Exam";
String news= " Click any ball to reset it to right half of table. (r resets all)";
String news2= " press W to remove wall and E to put it back. press Q to Quit";
String... |
package webuters.com.geet_uttarakhand20aprilpro.pojo;
import java.io.Serializable;
import java.util.List;
/**
* Created by sunil on 14-03-2018.
*/
public class AlbumSongPOJO implements Serializable{
List<AlbumSongResultPOJO> albumSongResultPOJOS;
public List<AlbumSongResultPOJO> getAlbumSongResultPOJOS() ... |
package com.example.memorable_places;
import androidx.annotation.NonNull;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import androidx.fragment.app.FragmentActivity;
import android.Manifest;
import android.content.Context;
import android.content.Intent;
import android.content.S... |
package com.capstone.videoeffect;
import android.annotation.TargetApi;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Build.VERSION;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.wi... |
package course.chapter12lab;
public class ComparableTester {
public static void main(String[] args) {
Rectangle r1 = new Rectangle();
Rectangle r2 = new Rectangle(10, 4);
Circle c1 = new Circle();
Circle c2 = new Circle(5);
System.out.println("Rectangles " + r1.compareTo(r... |
package edu.westga.gradeunt.tests.samplefiles;
import static org.junit.Assert.*;
import org.junit.Ignore;
import org.junit.Test;
@Ignore
public class HasZeroGradeItems {
@Test
public void test() {
assertTrue(true);
}
}
|
package com.krishna.assistsample.firebase;
import android.text.TextUtils;
import com.google.firebase.messaging.FirebaseMessaging;
/**
* Created by krishna on 26/02/18.
*/
public class PushNotification {
public static void subscribeToTopic(String topic) {
try {
if (!TextUtils.isEmpty(topic... |
package extendedexperimentalapi;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.security.AlgorithmParameters;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKey... |
package com.example.ecoleenligne.util;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.IBinder;
import android.os.Looper;
import android.os.Message;
import android.os.Process;
import android.widget.... |
package video.api.android.sdk.infrastructure.volley;
import com.android.volley.Request;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class AnalyticsEventTest {
private AnalyticsEvent analyticsEvent;
... |
package com.evjeny.hackersimulator.game;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Evjeny on 19.01.2018 6:29.
*/
public class CodeContent extends Content{
public long id;
private String hint;
public CodeContent(List<CodePart> fragments, long id, String hint) {
super... |
package ninja.pelirrojo.takibat.irc;
import java.io.IOException;
import java.io.OutputStream;
public class Channel{
private final String chanName;
private final OutputStream out;
public Channel(String chanName){
this.chanName = chanName;
this.out = new PrefixedOutputStream(IRCConnection.instance.out,String.for... |
package hello;
import hello.domain.Message;
import hello.repos.MessageRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
@Controller // This means that this ... |
package com.example.pmu_laba_4_5v1.implementation.verletImplementation;
import com.example.pmu_laba_4_5v1.utils.Bodies;
import com.example.pmu_laba_4_5v1.utils.Body;
import com.example.pmu_laba_4_5v1.utils.Vector2;
import com.example.pmu_laba_4_5v1.utils.VerletIntegrationSystem;
import com.example.pmu_laba_4_5v1.utils... |
/**
*
*/
package com.zh.interview.designpatterns;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import net.sf.cglib.proxy.Enhancer;
import net.sf.cglib.proxy.MethodInterceptor;
import net.sf.cglib.proxy.MethodProxy;
/**
* @author ZH
... |
package com.gaoshin.top;
import java.text.ParseException;
import org.quartz.CronExpression;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageInfo;
import android.content.pm.Packag... |
package com.bon.common.domain.vo;
import com.github.pagehelper.Page;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;
/**
* @program: dubbo-wxmanage
* @description: 分页bean
* @author: Bon
* @create: 2018-05-11 15:24
**/
public class PageVO<T> implements Serializable {
private ... |
package com.miyatu.tianshixiaobai.activities.mine;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import ... |
public enum Color {
BLACK,WHITE,GREEN,YELLOW,RED;
}
|
package Gestion_bibliotheque;
import java.util.Arrays;
import java.util.Vector;
public class Adherant {
private int id;
private String nom;
private String prenom;
private String adresse;
private String type;
private int nbre_doc_empruntMax;
private int duree;
private boolean retard;
private Emprunt listepr... |
package com.originfriend.base.service;
import com.originfriend.base.dao.LabelDao;
import com.originfriend.base.pojo.Label;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.data.web.SpringDataWebProperties;
import org.springframework.data.domain.Page;
import o... |
package com.vicutu.batchdownload.engine.impl;
import java.util.Collection;
import java.util.List;
import javax.annotation.PostConstruct;
import org.apache.commons.lang.StringUtils;
import org.apache.http.client.HttpClient;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import org.spring... |
package com.example.banquetvisit;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class Add_caterers extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activit... |
package com.calc.domain;
import java.math.BigDecimal;
public class ExpressionConst implements Expression {
BigDecimal value;
public ExpressionConst(BigDecimal value) {
this.value = value;
}
@Override
public BigDecimal evaluate() {
return value;
}
}
|
package de.cuuky.varo.listener.saveable;
import org.bukkit.Effect;
import org.bukkit.block.Block;
import org.bukkit.block.Chest;
import org.bukkit.block.DoubleChest;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
... |
package heater_Aufgabe21;
import java.util.Scanner;
public class Heater {
int stufe;
public void setStufe () throws Exception{
Scanner sc = new Scanner(System.in);
System.out.println("Wählen Sie eine Stufe aus:");
int stufe = sc.nextInt();
if (stufe > 5) {
throw new WrongNumberExcepti... |
package com.karya.bean;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotEmpty;
public class AccountsPayableBean {
private int id;
@NotNull
@NotEmpty(message = "Please Select Date")
private String postingdate;
@NotNull
... |
package com.example.zad2.domain;
import java.util.ArrayList;
import java.util.List;
public class UserData {
private String username;
private String password;
private String email;
private boolean premium;
private List<AdresData> adresy = new ArrayList<AdresData>();
public List<AdresDa... |
package com.uchain.core.datastore.keyvalue;
import com.uchain.core.Code;
import com.uchain.core.Contract;
import lombok.val;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
public class CodeValue implements Convert... |
package dev.fujioka.eltonleite.presentation.dto.product;
public class ProductResponseTO {
private Long id;
private String name;
private String description;
private Integer manufactureYear;
public ProductResponseTO(Long id, String name, String description, Integer manufactureYear) {
super()... |
package controller;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Set;
import javax.swing.JFileChooser;
import javax.swing.JOptionPan... |
package exercicio05;
public class CamaroteInferior extends IngressoVip
{
private String localizašao;
private float valoradd;
private float total;
CamaroteInferior(float valorIngresso, float valoradd, String localizašao)
{
super(valorIngresso, valoradd);
this.setLocalizašao(localizašao);
}
publ... |
package com.cqut.model;
public class Account {
private String id;
private String userid;
private Boolean type;
private String accountnum;
private String banktype;
private String remark;
public String getId() {
return id;
}
public void setId(String id) {
this.i... |
package com.zxt.compplatform.indexgenerate.entity;
import java.io.Serializable;
/**
* 对应数据库的xml存储
*
* @author Dexpo
*
*/
public class PageUnit implements Serializable{
private String id;
private String pagexml;
private String name;
private String description;
public String getName() {
return name;
}
... |
package pos.hurrybunny.appsmatic.com.hurrybunnypos.URLs;
/**
* Created by Eng Ali on 9/9/2018.
*/
public class BaseUrl {
//There is an issue in login service with development url
public static final String DEVELOPMENT_URL ="http://hurrybunny.appsmatic.net/";
public static final String PRODUCTION_UR... |
package com.cst.map;
public class GoogleMapHelper {
private static double EARTH_RADIUS = 6378.137; //地球半径
//将用角度表示的角转换为近似相等的用弧度表示的角 Math.toRadians
private static double rad(double d) {
return d * Math.PI / 180.0;
}
/**
* 谷歌地图计算两个坐标点的距离
* @param lng1 经度1
* @param lat1 纬度1
* @param lng2 经度2
* @para... |
package com.hcl.neo.eloader.microservices.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import com.hcl.neo.eloader.microservices.exceptions.ServiceException;
import com.hcl.neo.eloader.mic... |
package ru.auto.Main;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
public class CarFilter {
WebDriver driver;
public C... |
package labrom.litlbro.state;
public class PageOptionsState extends StateBase {
@Override
public State change(Event e) {
if(e == Event.TAP_HW_MENU || e == Event.BACK)
return goTo(PAGE_LOADED, e);
if(e == Event.TAP_JS_TOGGLE)
return goTo(PAGE_LOADING, e);
return ... |
/**
* This class is generated by jOOQ
*/
package schema.tables;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.... |
package com.example.iowner.eva1_practica_2;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;
public class Principal extends AppCompatActivity implements RadioG... |
/**
* Sencha GXT 1.0.0-SNAPSHOT - Sencha for GWT
* Copyright (c) 2006-2018, Sencha Inc.
*
* licensing@sencha.com
* http://www.sencha.com/products/gxt/license/
*
* ================================================================================
* Commercial License
* ============================================... |
package com.xinhua.api.domain.xQjfBean;
import com.apsaras.aps.increment.domain.AbstractIncRequest;
import java.io.Serializable;
import java.util.List;
/**
* Created by lirs_wb on 2015/8/26.
* 续期缴费-请求
*/
public class XuQJFRequest extends AbstractIncRequest implements Serializable {
private String transExeDat... |
package com.example.loginpage_finalassignment;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import javax.microedition.khronos.egl.EGLDisplay;
public class StudentRegisterPage extends AppCompatActivity {
EditText s... |
package nl.oscar.dpi.donutrater.hiscore.data;
import nl.oscar.dpi.donutrater.library.domain.Donut;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface DonutRepository extends JpaRepository<Donut, String> {
}
|
package core.heroes.skills;
import commands.server.ingame.InGameServerCommand;
import commands.server.ingame.SuddenStrikeSkillInGameServerCommand;
import core.client.GamePanel;
import core.client.game.listener.skills.SuddenStrikeSkillDealEventListener;
import core.player.PlayerCompleteServer;
import core.server.game.G... |
package itemData;
public class spell{
public String name = null; //Name of the spell for conditionals
public String showName = null; //Name of the spell to be displayed
public boolean isInvisible = false; //Can the player see this spell? (Only used for 'none')
public int damage = 0; //How much to reduc... |
package org.vincent.proxy.dynamicproxy;
/**
* Created by PengRong on 2018/12/25.
* 动态代理委托类实现, 实现接口 Person,Company 实现多个接口。 被动态生成的代理类代理
*/
public class SoftwareEngineer implements Person, Company{
public SoftwareEngineer(){}
public SoftwareEngineer(String name){
this.name=name;
}
private St... |
/**
* Copyright (c) 2012, Institute of Telematics, Institute of Information Systems (Dennis Pfisterer, Sven Groppe, Andreas Haller, Thomas Kiencke, Sebastian Walther, Mario David), University of Luebeck
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, ar... |
package com.ass.model;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import lombok.Data;
@Data
@Entity
@Table(name = "Accounts")
public class Account implements Serializable{
@Id
... |
package net.itcast.course.regex.basic.lesson3;
public class AlternationBasic {
public static void main(String[] args) {
String[] strings = new String[] { "this", "that", "thit"};
String regex = "(this|that)";
for (String str : strings) {
if (str.matches(regex)) {
System.out.println("\"" + st... |
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.util.*;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.apache.log4j.Logger;
/**
* Created by shukad on 09/12/15.
*/
public class Transformer {
L... |
package com.test.id;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Component;
import com.dangdang.ddframe.rdb.sharding.id.generator.IdGenerator;
import com.test.common.Constant;
@Component
... |
package com.example.bob.health_helper.Local.Dao;
import android.content.Context;
import com.example.bob.health_helper.Local.DatabaseHelper;
import com.example.bob.health_helper.Local.LocalBean.Reminder;
import com.j256.ormlite.dao.Dao;
import java.sql.SQLException;
import java.util.List;
public class ReminderDao {
... |
package homework.homework4;
import com.codeborne.selenide.ElementsCollection;
import com.codeborne.selenide.SelenideElement;
import org.openqa.selenium.support.FindBy;
import ru.yandex.qatools.allure.annotations.Step;
import static com.codeborne.selenide.Condition.*;
import static enums.Colors.YELLOW;
import static e... |
package com.kodilla.good.patterns.challenges;
import java.util.ArrayList;
import java.util.List;
public class Application {
public static void main(String[] args) {
Buyer ari = new Buyer("Ariadna", "Kowalska", "ari", 18, 5, "ul. Pucka 3, 40-200 Warszawa");
Buyer tomek = new Buyer("Tomasz", "Szczyg... |
package javaprg05;
import java.util.Scanner;
public abstract class Armabs {
abstract void get();
abstract void print();
abstract void check();
}
class Absmain extends Armabs
{
int n,t,d,dcSum = 0;
void get()
{
Scanner s=new Scanner(System.in);
System.out.println("Enter the no u want to chec... |
class Complex {
// FILL IN YOUR CODE
double RealPart;
double ImagPart;
double Magnitude;
String ComplexNum;
public Complex() {
RealPart = 0.0;
ImagPart = 0.0;
}
public Complex(double a, double b) {
RealPart = a;
ImagPart = b;
}
// method called print... |
package paging;
import java.util.*;
import java.util.ArrayDeque;
public class Fifo {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// TODO Auto-generated method stub
int pageReq[] = new int[50];
Deque<Integer> fifo = new ArrayDeque<>();
System.out.println("Enter ... |
package gameoflife;
import java.util.Scanner;
class MyException extends RuntimeException
{
double density;
MyException(double density)
{
super ("Bad Density: " + density);
this.density = density;
}
}
public class Life {
static final int NUM_ROWS = 8;
static final int NUM_COLS = 10;
Organism[][] world;
... |
package id.co.prospect.spectraandroid.DatabaseHandler;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class SQLDBHelper extends SQLiteOpenHelper {
// Static Final Variable database meta information
public static final Strin... |
package servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import dao.ChatDao;
public class PostChatMessageServlet extends HttpServ... |
package com.houzhi.retrofitdemo.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by houzhi on 15-10-20.
*/
public class Form {
@SerializedName("log")
@Expose
private String log;
@SerializedName("pwd")
@Expose
private String ... |
package com.dqm.utils;
import java.nio.ByteBuffer;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Arrays;
/**
* Created by dqm on 2018/8/31.
*/
public class SHA256Util {
public static MessageDigest newDigest() {
try {
return MessageDigest... |
package cn.itsite.fragment;
import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androi... |
package com.xnarum.thonline.entity;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlAccessorType(XmlAccessType.FIELD)
public class PhoneNumberValidateRequestBody {
@Xml... |
package edmt.dev.androidgridlayout;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class ActivityMedical extends AppCompatActivity {
private Button MedicalNotice, MedicalResult;
@Overri... |
package com.mmall.controller.portal;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.s... |
package ru.job4j.checking;
import java.io.IOException;
import java.net.URISyntaxException;
import java.nio.file.NoSuchFileException;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.LinkedList;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.ju... |
package br.edu.ifg.proi.servlet;
import java.io.IOException;
import java.sql.SQLException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import br.e... |
package fj.swsk.cn.eqapp.map;
import android.app.Dialog;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.esri.android.map.Callout;
import com.esri.android.map.GraphicsLa... |
package ligadorps;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Scanner;
import java.util.StringTokenizer;
import java.util.logging.Level;
import java.util.logging.Logger;
import... |
package com.yuneec.flightmode15;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.os.Messenger;
import android.preference.Preference;
import android.preference.Preference.OnPrefere... |
package com.remote_interface;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
import com.model.Log;
public interface ILogService extends Remote{
/**
* 查找日志 所有时间string 格式 yyyy-MM-dd
* @param startTime
* @param endTime
* @param type
* @return 不存在返回 空... |
package org.oa.teach_fragments.app.pane;
public interface MyDataItemClickListener {
void onDataItem(MyData data);
}
|
package com.gaoshin.cloud.web.xen.service;
import java.util.Map;
import java.util.Map.Entry;
import com.gaoshin.cloud.web.xen.bean.StorageRepo;
import com.gaoshin.cloud.web.xen.bean.StorageRepoList;
import com.xensource.xenapi.SR;
import com.xensource.xenapi.SR.Record;
public class StorageRepoXenTask extends XenTask... |
package ai.maum.sample_android.RestAPI;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class RetroFitConnection {
String URL = "https://api.maum.ai/"; // 서버 API
Retrofit retrofit = new Retrofit.Builder()
.baseUrl(URL)
.addConverterFactory(GsonC... |
package com.nick.java.handler;
import com.nick.java.Graph;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
public class GraphWindowHandler extends WindowAdapter
{
Graph g;
public GraphWindowHandler(Graph f)
{
g = f;
}
public void windowClosing(WindowEvent we)
{
g.setVisible(false);
... |
package chat.errors;
/**
*/
public interface ChatErrorCodes {
public static final int CODE_CORE = 10000;
public static final int ERROR_ONLINESERVER_NOT_FOUND = CODE_CORE + 121;
public static final int ERROR_ONLINESERVER_UPDATE_FAILED = CODE_CORE + 122;
public static final int ERROR_ONLINESERVER_DELETE_FAILED =... |
package com.novakivska.app.classwork.lesson6;
/**
* Created by Tas_ka on 3/24/2017.
*/
public class ForLoop {
public static void decade() {
for (int x = 0; x <= 10; x++) {
System.out.println(x);
}
}
}
|
package ahmet.com.eatitserver.ui.food;
import android.app.SearchManager;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.DisplayMetrics;
import android.util.Log;
im... |
package com.intricatech.topwatch;
import android.Manifest;
import android.app.Activity;
import android.app.IntentService;
import android.app.Notification;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManage... |
package io.snice.protocol;
import java.util.Objects;
import java.util.UUID;
public class UuidTransactionId implements TransactionId {
private final UUID uuid;
public static TransactionId generate() {
return new UuidTransactionId(UUID.randomUUID());
}
private UuidTransactionId(final UUID uui... |
package com.nextLevel.hero.mngSalary.model.dto;
import java.io.Serializable;
import lombok.Builder;
import lombok.NoArgsConstructor;
public class memberSeverancePayDTO implements Serializable{
private int companyNo;
private int idNo;
private int memberNo;
private int sumSalAmount;
public memberSeverancePayDT... |
package com.github.edgar615.cache.spring;
import com.github.edgar615.cache.spring.l2.L2Cache;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.cache.Cache;
import org.springframework.cache.CacheManager;
import org.springframework.context.ApplicationListener;
/**
* 驱逐缓存事件监听器.
*
* ... |
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
public class OfficeEmployee extends Employee {
static Set<Integer> boxNumbers = new HashSet<>();
private int boxNumber;
private int iq;
public OfficeEmployee(String name, String surname, Date birthDate, Date hireDate, Address addre... |
/*
* Copyright 2018 Netflix, 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 t... |
package com.hr.schedule.repository.impl;
import java.time.LocalDateTime;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.NoResultException;
import javax.persistence.NonUniqueResultException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframew... |
package hwarang.artg.manager.model;
import java.util.Date;
import lombok.Data;
@Data
public class QnAVO {
// QNA
// QNA_NUM NUMBER(10,0)
// MEMBER_ID VARCHAR2(50 BYTE)
// QNA_TITLE VARCHAR2(100 BYTE)
// QNA_CONTENT VARCHAR2(4000 BYTE)
// QNA_REG_DATE DATE
// QNA_CATEGORY VARCHAR2(30 BYTE)
// QNA_REPLY VARCHAR2(2000 ... |
package com.example.pokeapppro.fragments;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.viewpager2.widget.ViewPager2;... |
package com.ve.boxmanage;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import an... |
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
/**
* classs not used. it can control the ball using the mouse.
* @author geraldo
*
*/
public class KeyInput extends KeyAdapter{
private Handler handler;
private boolean[] keys = new boolean[8];
/**
* constructor
* @param handler updates... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.