text stringlengths 10 2.72M |
|---|
package de.fusion.deluxeenchantments.config;
import de.fusion.deluxeenchantments.DeluxeEnchantments;
import org.bukkit.ChatColor;
import org.bukkit.configuration.file.YamlConfiguration;
import java.io.File;
import java.util.List;
public class ConfigManager extends ConfigAdapter implements ConfigAdapterInterface {
... |
package com.example.interSpective.service;
import java.util.List;
import com.example.interSpective.model.MadSadGlad;
public interface SystemService {
List<MadSadGlad> getAllMadSadGlad();
MadSadGlad createMadSadGlad(MadSadGlad madSadGlad);
MadSadGlad getMadSadGladbyID(Long id);
MadSadGlad updateMadSadGlad(Long ... |
package org.valdi.st;
import java.util.UUID;
public class MoonAlien extends FakePlayerDisguise {
private static final UUID uuid;
private static final String value;
private static final String signature;
static {
uuid = UUID.randomUUID();
value = "eyJ0aW1lc3RhbXAiOjE1MzUxNDgyMzM1NjUsInByb2ZpbGVJ... |
package com.jvinix.iy4s.Models;
import android.content.Context;
import android.os.AsyncTask;
import android.util.Log;
import java.util.List;
import java.util.concurrent.ExecutionException;
public class ReportRepository {
private ReportDao reportDao;
public ReportRepository (Context context)
{
... |
package br.com.estore.web.control;
import java.io.IOException;
import java.sql.SQLException;
import java.util.Date;
import java.util.List;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.serv... |
package com.uav.rof.vo;
public class DefaultVO {
private Integer paymentTypeId;
private String paymentTypeName;
private Integer shipmentTypeId;
private String shipmentTypeName;
private Integer serviceTypeId;
private String serviceTypeName;
public Integer getPaymentTypeId() {
... |
package com.cs240.shared.model;
/***
* The Event class is a representation of the Event sqlite table
*/
public class Event {
private String eventID;
private String eventType;
private String personID;
private String associatedUsername;
private int year;
private String country;
private Str... |
package com.example.selfhelpcity.view;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.chad.library.adapter.base.BaseQui... |
package negocios.beans;
import java.io.Serializable;
import java.time.*;
import exceptions.FormatacaoInvalidaException;
public class Produto implements Serializable {
/**
*
*/
private static final long serialVersionUID = -2336117108494125603L;
private String nome;
private float peso;
private int calorias;
... |
package ru.burykinsa.compilers;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.jupiter.api.Test;
import ru.burykinsa.compilers.RecursionDeleter;
import ru.burykinsa.compilers.factories.InputGrammarFactory;
/**
* Created by S.burykin on 21.02.2017.
*/
public class RecursionDeleterTest {
@T... |
package com.storksking.trafficlamps;
import android.graphics.Color;
import android.widget.ImageView;
class TrafficLights{
ImageView light;
long time;
int color;
private int defaultColor = Color.DKGRAY;
TrafficLights (ImageView view, int color, long time){
light = view;
this.color... |
/*
* Apache HTTPD & NGINX Access log parsing made easy
* Copyright (C) 2011-2021 Niels Basjes
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICEN... |
package com.huawei.myhealth.java.database.entity;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
import androidx.room.TypeConverters;
import com.huawei.myhealth.java.database.converters.Converters;
import java.util.*;
/**
* @since 2020
* @author Huawei DTSE India
*... |
package com.example.bit603_a3_zackhaynes;
import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
@Entity(tableName = "Stock")
public class Stock {
@PrimaryKey
@NonNull
@ColumnInfo(name = "Stock")
private String stock;
@... |
package com.example.service;
import com.example.dao.UserRepository;
import com.example.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.s... |
package Lesson3.sockets.hw2;
import java.io.DataInputStream;
import java.io.IOException;
import java.net.Socket;
public class Client {
Socket socket;
DataInputStream dataInputStream;
public void startClient(String address, int port){
try {
socket = new Socket(address, port);
... |
/**
*
*/
package hopper;
/**
* The SimplebotValueDelegate interface describes a potential class that can respond to whenever a Simplebot has updates.
*
* @author Team Hopper
*
*/
public interface SimplebotValueDelegate {
/**
* This method is called whenever a certain bot has updated its odometry and sens... |
package org.andrill.conop.core;
import java.util.Map;
import com.google.common.collect.Maps;
public class Configuration {
protected Map<Object, Object> properties;
public Configuration(final Map<Object, Object> properties) {
if (properties == null) {
this.properties = Maps.newHashMap();
} else {
this.pr... |
package net.droidlabs.viking.processor.module;
import com.google.common.base.Joiner;
import com.squareup.javapoet.AnnotationSpec;
import com.squareup.javapoet.MethodSpec;
import com.squareup.javapoet.ParameterizedTypeName;
import com.squareup.javapoet.TypeName;
import com.squareup.javapoet.TypeSpec;
import net.droidla... |
package com.jic.libin.leaderus;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.DocumentHelper;
import org.dom4j.Node;
import java.io.*;
import java.util.HashMap;
import java.util.Map;
/**
* Created by andylee on 2017/6/20.
*/
public class DocumentAndStringTest {
private static ... |
package vak.rentalmanagement.recycleviewadapters;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.widget.PopupMenu;
import androidx.recyclerview.widget.Recycl... |
package sg.edu.iss.ad.service;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.MediaType;
import org... |
package ua.siemens.dbtool.model.entities;
import ua.siemens.dbtool.model.auxilary.WorkPackageType;
import ua.siemens.dbtool.model.enums.Status;
import javax.persistence.*;
import java.time.LocalDate;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.s... |
package de.kfs.db.events;
public class ConfirmDeleteEvent {
}
|
package com.cqut.model;
public class CommodityImg {
private String id;
private String commodityid;
private String photo;
private String remark;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id == null ? null : id.trim();
}
public... |
package nature;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.anyInt;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import java.util.Observer;
import lem.Lem... |
package com.cs.casino.security;
import com.cs.persistence.Status;
import com.cs.player.BlockType;
import com.cs.player.Player;
import com.cs.player.TrustLevel;
import org.junit.Test;
import java.util.Calendar;
import java.util.Date;
import static com.cs.persistence.Status.BAD_CREDENTIALS_LOCKED;
import static org.h... |
/*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
// **********************************************************
// 1. 제 목: 교육그룹대상 회사OPERATION BEAN
// 2. 프로그램명: GrcompBean.java
// 3. 개 요:
// 4. 환 경: JDK 1.3
// 5. 버 젼: 0.1
// 6. 작 성: LeeSuMin 2003. 07. 16
// 7. 수 정:
// **********************************************************
packag... |
package controller;
import java.net.URL;
import java.time.LocalDate;
import java.time.temporal.ChronoUnit;
import java.util.ResourceBundle;
import entity.Person;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.CheckBox;
import javafx.scene.cont... |
package com.zjf.myself.codebase.activity.ExerciseLibrary;
import android.graphics.drawable.AnimationDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import com.zjf.myself.codebase.R;
import com.zjf.m... |
package interfaz;
import java.awt.Color;
import javax.swing.JFrame;
import hilos.Bombita;
import hilos.Movimiento;
import hilos.Repintar;
import logicaJuego.Mapa;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
public class JVentanaGrafica extends JFrame {
/**
*
*/
pr... |
package cn.tedu.practice;
//this练习
public class Practice1 {
public static void main(String[] args) {
Pig p= new Pig();
p.eat();
}
}
class Pig{
int sum=10;
public void eat(){
int sum =100;
System.out.println(sum);
System.out.println(this.sum);
}
} |
package cc.aies.web.service;
import cc.aies.web.beans.PermUser;
import cc.aies.web.beans.PermUserExample;
import cc.aies.web.dao.PermUserMapper;
import cc.aies.web.utils.Msg;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* liyang
*
* 功能两用,使用标示变量... |
package com.maliang.core.arithmetic.node;
import java.util.Date;
import java.util.List;
import java.util.Map;
import com.maliang.core.arithmetic.AE;
import com.maliang.core.arithmetic.DoubleColonReplacer;
import com.maliang.core.arithmetic.calculator.CompareCalculator;
import com.maliang.core.arithmetic.calc... |
package com.cninnovatel.ev.me;
import java.util.Locale;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.Typeface;
import android.os.Bundle;
im... |
package contract;
/**
*The Interface IElement.
* @author Victor
*
*/
public interface IElement {
public String getSprite();
public void setSprite(String Image);
public int getX();
public void setX(int x);
public int getY();
public void setY(int y);
public char getId();... |
package com.acewill.chikenprintlibrary.printer.gpnetwork;
import com.acewill.chikenprintlibrary.model.PA_Option;
import com.acewill.chikenprintlibrary.model.PA_OrderItem;
import java.io.IOException;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* 佳博网口标签打印
* Created by... |
package render;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.rapplebob.ArmsAndArmorChampions.AAA_C;
import com.rapplebob.ArmsAndArmorChampions.State;
import containers.ConHand;
import containers.ContainerType;
import editor.Editorhandler;
public class Editor_R... |
package com.cheese.radio.ui.media.play;
import android.os.Parcel;
import android.os.Parcelable;
import android.text.TextUtils;
import android.view.View;
import com.binding.model.adapter.AdapterType;
import com.binding.model.model.ModelView;
import com.binding.model.model.ViewInflateRecycler;
import com.binding.model... |
//If any thread is in sleeping or waiting state (i.e. sleep() or wait() is invoked),
//calling the interrupt() method on the thread, breaks out the sleeping or waiting state throwing InterruptedException.
//If the thread is not in the sleeping or waiting state, calling the interrupt() method performs normal behaviou... |
/*
* 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 myahp;
/**
*
* @author Imam Mustafa Kamal
* @email imamkamal@pusan.ac.kr
*/
public class AHP {
public static double R... |
package com.example.wh.customseekbardemo;
import android.animation.ValueAnimator;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import android.graphics.SweepGradient;
i... |
package br.com.raiox.controller;
import java.io.IOException;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.faces.context.FacesContext;
import org.primefa... |
public class ReplacingAWordInGivenString {
public static void main(String[] args)
{
String str = "Dog chases cat, cat chases rat";
System.out.println(str.replace("cat", "rat"));
}
}
|
/*
* 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 zadania5;
/**
*
* @author Mati
*/
public class Ksiazka {
private String autor;
private int liczba_stro... |
package com.example.SendTelegram;
import java.io.File;
import java.util.ResourceBundle;
import java.util.Scanner;
/*******************************************************************************
*
* Gestió d'Amonestacions v1.0
*
* Esta obra está sujeta a la licencia
* Reconocimiento-NoComercial-SinObraDerivada... |
package com.jaiaxn.design.pattern.structured.decorator;
/**
* @author: wang.jiaxin
* @date: 2019年08月26日
* @description:
**/
public class HeroManWithDianRan extends HeroManDecorator {
public HeroManWithDianRan(HeroMan heroMan) {
super(heroMan);
}
@Override
public void skill(){
heroM... |
package edu.vt.jsonviewgenerator.constants;
/**
* Created by Juzer on 9/1/2015.
*/
public class Constants {
public static final String EDIT_TEXT = "edit_text";
public static final String BUTTON = "button";
public static final String TEXT_VIEW = "text_view";
public static final String SPINNER = "spin... |
package com.lidaye.shopIndex.service.impl;
import com.lidaye.shopIndex.domain.entity.Navigation;
import com.lidaye.shopIndex.domain.vo.BannerVo;
import com.lidaye.shopIndex.domain.vo.CategoryVo;
import com.lidaye.shopIndex.mapper.BannerMapper;
import com.lidaye.shopIndex.mapper.CategoryMapper;
import com.lidaye.shopIn... |
package com.sherry.epaydigital;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springfram... |
package cj.oshopping.user.core.repository;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import cj.oshopping.common.mybatis.model.MergedPaging;
import cj.oshopping.common.mybatis.model.PagingParam;
import cj.oshopping.common.repository.BaseReposi... |
/*
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package jgame.entity.mob.action.link;
import jgame.entity.Mob;
import jgame.entity.mob.DamageAction;
import jgame.math.Vec2;
import jgame.math.Vec2Int;
import org.newdawn.slick.SlickException;
/**
* Represents the action Link is doing when attacking with the sword.
* @author hector
*/
public class AttackSword exte... |
package utils;
import java.io.Console;
import java.util.Scanner;
public class PwdHidden {
// public static void main(String[] args){
// Scanner sc=new Scanner(System.in);
// System.out.println("1");
// Console console = System.console();
// String password ;
// password = new String(console.readPassword(sc.ne... |
package struts.search;
/*
* 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.
*/
import java.sql.SQLException;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.... |
package com.lucianoscilletta.battleship;
import java.awt.image.*;
import java.awt.geom.*;
import java.awt.*;
import com.lucianoscilletta.battleship.*;
import com.lucianoscilletta.battleship.graphics.*;
public abstract class GameUtils{
private static RenderingHints defRenderHints = null;
private static RenderingHint... |
package com.pikai.app.properties;
/**
* Created by Methew on 2016/2/11.
* http服务器地址
*/
public class ServerProperties {
private static String SERVER_HOST = "192.168.0.100";
private static String SERVER_PORT = "8080";
public static String BASE_URL = null;
static {
BASE_URL = "http://" + SERVE... |
package org.flowable.cloud.runtime.core.behavior.classdelegate.annotation;
import java.lang.annotation.Annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
im... |
package me.jagar.dialogcameraviewlibrary.interfaces;
public interface OnCaptureCancelled {
void OnCancelled();
}
|
package com.bag.pin.model;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.Date;
/**
* Created by johnny on 25/11/15.
*/
@Document(collection = "pin")
public class Pin {
private String id;
private String title;
private String sourceName;
private String sourceUrl;
... |
package com.fotoable.fotoime.filter.Tools;
import com.fotoable.fotoime.filter.MyImage;
import com.fotoable.fotoime.filter.interf.IImageFilter;
public class VintageFilter implements IImageFilter {
//@Override
public MyImage process(MyImage imageIn) {
GradientMapFilter gmf = new GradientMapFilter(Gradien... |
package ru.shikhovtsev.adapter;
public class Demo {
public static void main(String[] args) {
var hole = new RoundHole(5);
var peg = new RoundPeg(5);
if (hole.fits(peg)) {
System.out.println("Round peg r5 fits round hole r5");
}
var smallSqPeg = new SquarePeg(2);
var largeSqPeg = new Sq... |
package com.davivienda.utilidades.ws.cliente.notaCreditoFM;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for generarNotaCreditoFM complex type.
*
* <p>The following schema fragment specifies the ex... |
package com.gxtc.huchuan.ui.circle.topic;
import com.gxtc.commlibrary.utils.ErrorCodeUtil;
import com.gxtc.huchuan.bean.CircleHomeBean;
import com.gxtc.huchuan.data.deal.CircleDynamicManagerRepository;
import com.gxtc.huchuan.http.ApiCallBack;
import java.util.List;
/**
* Created by sjr on 2017/2/15.
* 动态管理
*/
p... |
import java.io.IOException;
import org.apache.hadoop.io.DoubleWritable;
import org.apache.hadoop.mapreduce.Reducer;
import org.apache.hadoop.io.Text;
public class SODistinctUserReducer extends
Reducer<Text, DoubleWritable, Text, DoubleWritable>
{
@Override
public void reduce(Text key, Iterabl... |
package com.stk123.model.tree;
public class NodeData {
public String code;
public String parentCode;
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getParentCode() {
return parentCode;
}
publ... |
package com.xsc.springbootintegration.front.api;
import com.xsc.springbootintegration.common.BuildTreeUtil;
import com.xsc.springbootintegration.common.ResultUtil;
import com.xsc.springbootintegration.model.Article;
import com.xsc.springbootintegration.model.PageBean;
import com.xsc.springbootintegration.model.Result;... |
package Service;
import Dao.dao.UserMapper;
import Dao.model.User;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.validation.constraints.Null;
import java.io.File;
/**
* Created by li... |
import java.awt.image.BufferedImageFilter;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.Externalizable;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
... |
package com.lyzn.srcb.resource;
public interface Resource {
}
|
package app.learnenglish.learnenglishapp.adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Filter;
import android.widget.Filterable;
import android.widget.TextView;
import java... |
package uchet.models;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import javax.persistence.*;
import java.util.*;
@Entity
@Table(name = "users")
public class User implements Cloneab... |
package com.uit.huydaoduc.hieu.chi.hhapp.Model.Trip;
public enum TripType {
NORMAL,
HH,
}
|
package org.reactome.web.nursa.client.search;
import java.io.IOException;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.function.Consumer;
import java.util.stream.Collectors;
import org.fusesource.restygwt.client.Method;
import org.fusesource.restygwt.client.MethodCall... |
package me.darkeet.android.demo.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.hannesdorfmann.parcelableplease.annotation.ParcelablePlease;
/**
* Name: Person
* User: Lee (darkeet.me@gmail.com)
* Date: 2015/10/29 14:21
* Desc: Parcelable注解框架,文档:https://github.com/sockeqwe/ParcelablePlea... |
import java.util.Scanner;
import static java.lang.Math.random;
public class HigherLower {
public static int generateRandomNumber() {
return (int) (random() * 50) + 1;
}
public static void main(String[] args) {
System.out.println("Enter a number between 1 and 50. You have 10 guesses left!");
int numberOfGues... |
package strings;
/*this class decodes the string using the median values
*
* wrien - erwin
* reen - eren
*
* */
public class MedianDecode {
private static String decode(String encodedString)
{
int length = encodedString.length();
char[] charString = encodedString.toCharArray();
String decodedString=""... |
/**
*
*/
package p440008228;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
/**
* @author Nicola Mc Nally
* 40008228
*
*/
public class MP3Test {
// test data
int refNumberValid, refNumberInvalid, ratingValid, ratingInvalidUpper, ratingInvalidLower, song... |
package blackbird.java.serial;
import purejavacomm.CommPortIdentifier;
import purejavacomm.NoSuchPortException;
import purejavacomm.PortInUseException;
import purejavacomm.SerialPort;
import purejavacomm.SerialPortEvent;
import purejavacomm.SerialPortEventListener;
import purejavacomm.UnsupportedCommOperationException... |
package com.gaoshin.mail;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlRootElement
@XmlType(name = "", propOrder = {})
public class MailMessage {
private L... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.davivienda.sara.tablas.confaccesoaplicacion.session;
import com.davivienda.sara.base.AdministracionTablasInterface;
import com.davivienda.sara.base.exception.EntityServicioExcepcion;
import com.davivienda.sa... |
package com.t.core.protocol;
/**
* @author tb
* @date 2018/12/18 14:26
*/
public class HeartBeatRequest extends AbstractRemoteCommandBody {
}
|
package com.example.autopermission.bean;
import java.io.Serializable;
import java.util.List;
public class ASBase implements Serializable {
/**
* 行为延迟时间
*/
public int delay_time;
/**
* 大分类ID
*/
public int type_id;
/**
* 描述
*/
public String describe;
public ASI... |
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)
package org.xbill.DNS;
/**
* Mailbox Rename Record - specifies a rename of a mailbox.
*
* @author Brian Wellington
* @see <a href="https://tools.ietf.org/html/rfc883">RFC 883: Domain Names - Implementation an... |
package com.cht.training.Lab8;
public class Engineer extends Employee {
public void doSomething(){
System.out.println("a=" + a);
System.out.println("b=" + b);
System.out.println("c=" + c);
// System.out.println("d=" + d);
}
}
|
/*
* 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 jti.polinema.relasiclass.percobaan1_1841720126Ela;
/**
*
* @author Windows 10
*/
public class Laptop1841720126Ela {
pri... |
import java.io.*;
import java.net.*;
import java.util.*;
class Server {
ServerSocket ss;
ArrayList<User> users = new ArrayList<User>();
static int count = 0;
String line;
public void go() {
try {
ss = new ServerSocket(8080);
} catch (IOException e) {
e.printStackTrace();
}
while(true){
try {
Socket... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Inheritance;
/**
*
* @author rm
*/
public class MainClass {
public static void main(String[] args) {
/*
Subclass1 s1=new Subclass1();
Subclass2 s2=new Subclass2()... |
package com.xinhua.api.domain.yYqtbcxBean;
import com.apsaras.aps.increment.domain.AbstractIncRequest;
import java.io.Serializable;
import java.util.List;
/**
* Created by lirs_wb on 2015/8/27.
*犹豫期退保查询 请求
*/
public class YYQTBCXRequest extends AbstractIncRequest implements Serializable {
/**
*银行交易日期
... |
package be.mxs.common.util.diagnostics;
/**
* User: frank
* Date: 7-okt-2005
*/
public abstract class Diagnostic {
public String name;
public String id;
public String author;
public String description;
public String version;
public String date;
public abstract Diagnosis check();
publ... |
package client;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.Socket;
import java.net.UnknownHostException;
public class TCP_Client implements Runnable {
// ip address of the machine
String host = "127.0.0.1";
// need the port
int port ... |
package com.itmayiedu.mapper;
import com.itmayiedu.entity.Users;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface UserMapper {
@Select("SELECT username FROM U... |
package com.example.hemil.papa_johns.AbstractFactory;
public class ChickenHabanero_Sandwich implements Sandwiches {
public String getName(){
return "Chicken Habanero";
}
public double getCost(int quantity)
{
return 7.00*quantity;
}
}
|
/*
* $Id$
*
* ### Copyright (C) 2006 Michael Fuchs ###
* ### All Rights Reserved. ###
*
* Author: Michael Fuchs
* E-Mail: michael.fuchs@unico-group.com
* URL: http://www.michael-a-fuchs.de
*/
package org.dbdoclet.tidbit;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java... |
package fact.it.www.dataaccess;
import fact.it.www.beans.Vakantiehuis;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
public class DAVakantiehuis {
private final String url, login, pas... |
package com.JEvin.service;
import com.JEvin.bean.User;
import com.github.pagehelper.PageInfo;
import java.util.List;
/*
* @项目名: mybatisDemo
* @包名: com.JEvin.service
* @文件名: UserService2
* @创建者: 85169
* @创建时间: 2018/9/17 13:36
* @描述: TODO
*/
public interface UserService2 {
void save2(User... |
package com.appirio.service.member.api;
import com.appirio.service.member.dao.validation.PhotoContentTypeValidator;
import com.appirio.supply.dataaccess.api.BaseModel;
import com.appirio.supply.dataaccess.api.validation.ValidateNotNull;
import com.appirio.supply.dataaccess.api.validation.Validator;
import lombok.AllAr... |
package com.tushuoBolg.util;
import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.criterion.CriteriaSpecification;
import org.hibernate.criterion.DetachedCriteria;
import org.hibernate.criterion.Projections;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfr... |
package com.example.framework.widget;
import cn.iolove.lui.context.RuntimeContext;
import android.widget.Toast;
public class ToastWidget {
public void show(final String msg)
{
RuntimeContext.runOnUiThread(new Runnable() {
@Override
public void run() {
// TODO Auto-generated method stub
Toast.m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.