text stringlengths 10 2.72M |
|---|
package test;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class TestThread {
public static void main(String args[]) throws ... |
package br.com.mbreno.atividades;
public class CPricipal {
public static void main(String[] args) {
Carro c = new Carro();
c.nome = "honda";
c.ano = 2012;
c.modelo = "Ret";
System.out.println("Carro: " + c.nome);
c = null;
Carro c1 = new Carro ();
c1.nome = "Ford";
Syst... |
import java.util.Scanner;
import javax.swing.JOptionPane;
public class computePie2
{
public static void main(String[] args)
{
boolean plusMinus = true;
String termInput = JOptionPane.showInputDialog
(null, "Please enter the number of terms you wish to view of PI( or type exit) ");
Scanner inputScanner... |
package pl.cwanix.opensun.agentserver.packets.s2c.character;
import org.apache.commons.lang3.ArrayUtils;
import pl.cwanix.opensun.commonserver.packets.Packet;
import pl.cwanix.opensun.utils.datatypes.FixedLengthField;
@SuppressWarnings("checkstyle:MagicNumber")
//@OutgoingPacket(category = PacketCategory.CHARACTER, t... |
package com.isystk.sample.domain.dto;
import java.util.List;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* 自動生成のため原則修正禁止!!
*/
@Getter
@Setter
public class TPostTagCriteria {
Integer postIdEq;
Integer postIdNe;
Integer postIdLt;
Integer postI... |
package org.study.core.operators;
public class BitwiseOperators {
private static void makeOperations(final int seed) {
System.out.println("== Start with " + seed + " (" + Integer.toBinaryString(seed) + ")");
System.out.println(">> 1 is " + (seed >> 1) + " (" + Integer.toBinaryString(seed >> 1) + ")... |
/*
Java Power Info utility, (C)2022 IC Book Labs
Main class of the project
Use JDK8 from v0.81. Previous versions use JDK7 mode.
---------- How design Linux version, variant 1 ---------------------------------
--- Step 1, learn Linux power management ---
User interface design:
Screen 1 = Power status brief info, g... |
package model;
import java.util.Vector;
/*
* A CNFClause consists of a conjunction of CNFSubClauses
* And each CNFSubClause in turn consists of a disjunction of Literals
*/
public class CNFClause
{
public Vector<CNFSubClause> theClauses = new Vector<CNFSubClause>();
public Vector<CNFSubClause> getSu... |
package retro;
import com.javacambodia.retrofit2.wp.BasicPostVO;
import com.javacambodia.retrofit2.wp.Post;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
public interface PostServiceInterface {
@GET("v2/posts")
public Call<List<BasicPostVO>> getAllPos... |
package com.emp.rest.controllers;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.w... |
/**
* @Title: WorkflowExternalMain.java
* @Package com.wonders.task.workflowExternal.main
* @Description: TODO(用一句话描述该文件做什么)
* @author zhoushun
* @date 2014年7月1日 下午3:16:45
* @version V1.0
*/
package com.wonders.task.workflowExternal.main;
import java.io.StringWriter;
import java.text.SimpleDateFormat;
imp... |
package Selinium;
public class Q17adding {
public static void main(String[] args) {
/* int array[] = {1,2,3,4,5};
int sum= 0;
for(int i=0;i<array.length;i++) {
if(array[i]%2==0)
sum+=array[i]*array[i];
else
sum +=array[i]*array[i]*array[i];
}
System.out.println(sum);
}*/
int n... |
package hl.restauth.auth.userbase;
import org.json.JSONObject;
import hl.restauth.auth.JsonUser;
public interface IUserBase {
public JsonUser getUser(String aUserID) throws Exception;
public String getConfigKey();
public JSONObject getJsonConfig();
}
|
/*
* 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 loc.daos;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util... |
package com.shivam.writer;
/*
Implementation To Do : Shivam
*/
public class CSVFileWriter implements DataFileWriter{
@Override
public void write() {
}
}
|
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2016.05.11 u... |
package sample;
import constants.ApplicationConstants;
import helper.CategoryParser;
import helper.Utility;
import javafx.event.ActionEvent;
import javafx.event.Event;
import javafx.scene.control.*;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.MenuItem;
import java... |
package com.bw.movie.mvp.view.apdater;
import android.content.Context;
import android.content.SharedPreferences;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup... |
package com.company;
import java.util.LinkedList;
import java.util.ListIterator;
import ibadts.Queue;
import ibadts.Stack;
import ibadts.StaticQueue;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
QueueCoSc.hw4();
}
}
|
package com.example.demo.entity;
import javax.persistence.*;
@Entity
@Table(name = "team_history_test")
public class TeamHistoryTest {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@OneToOne
private TeamTest teamTest;
private String name;
public TeamHistoryTes... |
import java.sql.*;
import java.util.ArrayList;
public class MySQL {
private Connection connection;
private Statement statement;
private ResultSet resultSet;
private String url = "jdbc:mysql://localhost:3306/";
private String user = "root", pass = "";
private String db_table = "dictionary", db =... |
/**
* Nguru Ian Davis
* 15059844
*/
public abstract class PayingPassenger extends Passenger implements Chargeable
{
private double baseFare;
private double typeCharge;
private final String FFC;
/**
* Constructor for the abstract class that will be used by concrete classes that inherit from it.... |
package com.beiyelin.addressservice.controller;
import com.beiyelin.addressservice.entity.Province;
import com.beiyelin.addressservice.service.ProvinceService;
import com.beiyelin.common.resbody.ResultBody;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.G... |
package com.stem.core.task;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.stem.wechat.WeChat;
/**
* 描述:刷新accessToken<br/>
* 作者:stem zhang <br/>
* 修改日期:2015年9月2日 - 下午4:09:41<br/>
* E-mail: sireezhang@163.com<br/>
*/
public class AccessTokenTask {
private Logger logger = Log... |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GN... |
package de.dzmitry_lamaka.lesaratesttask.ui;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.Text... |
package com.farukcankaya.springcase.discount.entity;
import org.springframework.lang.Nullable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.math.BigDecimal;
public class Product {
@Positive @NotNull private Long productId;
@Positive @NotNull private Long ... |
package cn.canlnac.onlinecourse.presentation.internal.di.modules;
import cn.canlnac.onlinecourse.domain.executor.PostExecutionThread;
import cn.canlnac.onlinecourse.domain.executor.ThreadExecutor;
import cn.canlnac.onlinecourse.domain.interactor.GetChatUseCase;
import cn.canlnac.onlinecourse.domain.interactor.UseCase;... |
package main;
import javafx.scene.control.*;
import javafx.scene.layout.FlowPane;
import utils.Filter;
import utils.Utils;
import componentsFX.*;
import javafx.application.Application;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.layout.ColumnConstraints;
import javafx.scene.layout.Grid... |
package animatronics.client.render.block;
import org.lwjgl.opengl.GL11;
import animatronics.client.render.LibRenderIDs;
import animatronics.client.render.tile.RenderTileEntityMoonPrism;
import animatronics.common.tile.TileEntityMoonPrism;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import net.mi... |
package com.ojas.rpo.security.transfer;
import java.util.Date;
public class UserListTransfer {
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPassw... |
package com.lucasgr7.hexagontest.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="VEHICLE")
public class Vehicle implements Serializable {
... |
/*
* 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 contactmanagementsoftware;
import java.util.ArrayList;
import java.util.HashMap;
/**
*
* @author jiefo
*/
public interface... |
package com.tencent.mm.plugin.j;
import com.tencent.mm.plugin.j.b.10;
import com.tencent.mm.plugin.j.c.a;
import com.tencent.mm.plugin.messenger.foundation.a.a.f.c;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.storage.bd;
import java.util.Iterator;
class b$10$1 implements Runnable {
final /* s... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
package com.pybeta.daymatter.ui;
import java.util.Calendar;
import java.util.Locale;
import java.util.TimeZone;
import android.content.Context;
import andro... |
package net.liuzd.spring.boot.v2.model;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import net.liuzd.spring.boot.v2.entity.User;
/**
* 自定义分页
*/
@Data
@Accessors(chain = true)
@EqualsAndHa... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int zs = sc.nextInt();
for (int qqq = 0; qqq < zs; qqq++) {
int n = sc.nextInt();
for (int i = 0; i < n; i++) {
String s = sc.next();
char ch = '3';
... |
package com.argentinatecno.checkmanager.main.fragment_checks;
import com.argentinatecno.checkmanager.entities.Check;
import java.util.List;
public interface FragmentChecksRepository {
void removeCheck(List<Check> checks);
void updateCheckDestiny(int id,String destiny, String destinyDate, boolean isUpdate);
... |
package br.unipe.cc.mlpIII.gui;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
import br.unipe.cc.mlpIII.modelo.Veiculo;
import br.unipe.cc.mlpIII.pertinencia.Db;
import br.unipe.cc.mlpIII.report.RelatorioVeic... |
package browser.base;
import helper.PropHelper;
import org.apache.log4j.Logger;
import org.openqa.selenium.*;
import java.lang.*;
import java.util.*;
/**
* Created by admin.son.ton on 1/23/18.
*/
public class Browser {
protected WebDriver driver;
protected Properties properties;
protected Logger logge... |
package com.tencent.mm.g.a;
import com.tencent.mm.sdk.b.b;
public final class ay extends b {
public a bIt;
public static final class a {
public boolean bIu = false;
public boolean bIv = false;
public boolean bIw = false;
}
public ay() {
this((byte) 0);
}
priv... |
package top.wangruns.nowcoder.leetcode;
/**
*
* 题目描述
Sort a linked list using insertion sort.
输入{3,2,4} 输出{2,3,4}
分析
要求使用插入排序,对于数组的插入排序,我们可能会比较熟悉.
但是对于链表的插入排序,我们也可以参考着数组的思路来.
即,外部循环为每次要插入的元素;
内循环在已经排好的局部扫描,看在哪里插入.
*
*/
public class P5_InsertionSortList {
//链表的插入排序
public ListNode insertionSortList (ListNode... |
package com.polsl.edziennik.desktopclient.model.tables;
import java.util.List;
import com.polsl.edziennik.modelDTO.exam.ExamTaskTypeDTO;
public class ExamTaskTypeTableModel extends TableModel<ExamTaskTypeDTO> {
public ExamTaskTypeTableModel(List<ExamTaskTypeDTO> list) {
super(list);
}
public ExamT... |
package com.praveen.bo;
import org.junit.*;
import static org.junit.Assert.*;
import com.praveen.model.*;
import com.praveen.bo.*;
public class TestEmployeeService{
private Employee emp;
private EmployeeService empSer;
@Before
public void setup(){
emp = new Employee();
emp.setEmpId(1);
emp.setEmpName("Balagown... |
package db.member;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
// 자바에서는 이벤트 리스너의 메서드가 3개이상 될때는, 개발자 대신 메서드 재정의 의무를 짊어진 어댑터 클래스를 지원한다
//그리고 어댑터 클래스의 예) keylistener -->keyadapter, windowlistener-->windowadapter, mouselistener-->mouseadapter
public class MyWindowAdapter implements Win... |
package com.simbircite.demo.validator;
import org.springframework.validation.Errors;
import org.springframework.validation.ValidationUtils;
import org.springframework.validation.Validator;
import com.simbircite.homesecretary.entity.PeriodicTransaction;
public class PeriodicTransactionValidator implements Validator {... |
package springframework2;
public interface WithSpringInterface {
String add(String a, String b);
int sub( int c, int d);
}
|
package de.lise.terradoc.core.report.elements;
import java.io.StringWriter;
public class CodeElement extends TextElement {
public CodeElement(String text) {
super(text);
}
@Override
public void appendHtml(StringWriter writer) {
writer.append("<pre>");
super.appendHtml(writer)... |
package com.dennistjahyadigotama.soaya.activities.SearchActivity.Fragment;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;... |
package org.fhcrc.honeycomb.metapop.environment;
import org.fhcrc.honeycomb.metapop.RandomNumberUser;
/**
* Changes the environment as a Binomial process with a specified probability.
*
* Created on 26 Apr, 2013
* @author Adam Waite
* @version $Id: BinomialEnvironmentChanger.java 1990 2013-04-26 21:39:23Z ajwai... |
package tw.org.iii.java;
public class HelloWorld {
public static void main(String[] args) {
// ln => ijk<l>mn => l => line
System.out.println("Hello, Brad");
}
}
|
package br.com.opensig.fiscal.server.sped.blocoH;
import br.com.opensig.core.shared.modelo.Dados;
import br.com.opensig.fiscal.server.sped.ARegistro;
public class RegistroH001 extends ARegistro<DadosH001, Dados> {
@Override
protected DadosH001 getDados(Dados dados) throws Exception {
DadosH001 d = new DadosH001(... |
package designer.ui.properties.tableModel;
import com.intellij.openapi.project.Project;
import designer.ui.editor.ElementFactory;
import designer.ui.editor.JSLCanvas;
import designer.ui.editor.element.Element;
import designer.ui.properties.PropertyTable;
import designer.ui.properties.editor.PropertiesCellEditor;
impor... |
package com.mango.leo.zsproject.industrialpanorama.show;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import com.mango.leo.zsproject.R;
impor... |
package com.tencent.mm.plugin.fts.a;
import com.tencent.mars.smc.IDKey;
import com.tencent.mm.a.o;
import com.tencent.mm.hardcoder.HardCoderJNI;
import com.tencent.mm.kernel.a;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.report.f;
import com.tencent.mm.protocal.d;
import com.tencent.mm.sdk.platformtoo... |
import edu.princeton.cs.algs4.Picture;
import java.awt.Color;
public class SeamCarver {
private Picture picture = null;
private static final double DEFAULT_ENERGY = 195075;
// create a seam carver object based on the given picture
public SeamCarver(Picture picture) {
this.picture = ... |
package java2.businesslogic.announcementban;
public interface AnnouncementBanService {
AnnouncementBanResponse ban(AnnouncementBanRequest request);
}
|
package com.forsrc.utils;
import org.apache.activemq.ActiveMQConnection;
import org.apache.activemq.ActiveMQConnectionFactory;
import javax.jms.*;
import java.text.MessageFormat;
/**
* The type Active mq utils.
*/
public final class ActiveMqUtils {
private ThreadLocal<Connection> threadLocal = new ThreadLoca... |
package com.cienet.springBootTest.controller;
import com.cienet.springBootTest.entities.User;
import com.cienet.springBootTest.repositories.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.Get... |
package design.pattern.project.example.store.domain;
public class StoreManagement extends Management {
@Override
void calculateDuration(int term) {
// TODO Auto-generated method stub
setDuration(term*2);
}
public StoreManagement(String president, String director, int duration) {
super(president,... |
package zm.gov.moh.common.submodule.form.widget;
import android.content.Context;
import android.os.Bundle;
import android.text.InputFilter;
import android.util.TypedValue;
import android.text.InputType;
import android.view.Gravity;
import android.widget.TextView;
import androidx.appcompat.widget.AppCompatEditText;
im... |
///*
// * @Author : fengzhi
// * @date : 2019 - 01 - 19 10 : 53
// * @Description : 输入一个包含八个数字的数组,
// * 判断有没有可能把这八个数字分别放到正方体的八个顶点,使得正方体三组相对的面上的四个顶点的和均相等。
// * 分析:假设将a1 a2 a3 a4 a5 a6 a7 a8八个数字分别放在正方体的八个顶点上,
// * 问题即转化为有没有可能存在一种组合使得,a1 + a2 + a3 + a4 = a5 + a6 + a7 + a8;
// * ... |
package tutorial;
import java.util.ArrayList;
import java.util.List;
public class Spiral_Array {
public ArrayList<Integer> spiralOrder(final List<ArrayList<Integer>> a) {
ArrayList<Integer> result = new ArrayList<Integer>();
// Populate result;
int m = a.size(), n = a.get(0).size();
System.out.println("m =... |
package com.example.dilu583.flag_sys.DbHelper;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.os.Build;
import andr... |
package myn;
import java.io.*;
import java.util.*;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.io.IOUtils;
public class DuplicateFile {
protected int dcount=0,fcount=0;
protected Map<String,Vector<File>> map=new HashMap<String,Vector<File>>();
void run(File file){
sum=0;cur=0;
... |
/* Natalie Suboc
* September 9, 2017
* Runner for Calculate library
* Used to test the methods in Calculate
*/
public class DoMath {
public static void main(String[] args) {
//System.out.println(Calculate.absValue(-3));
//System.out.println(Calculate.cube(3));
System.out.println(Calculate.to... |
package com.lss.atcrowdfunding.service.impl;
import com.lss.atcrowdfunding.bean.TAdmin;
import com.lss.atcrowdfunding.bean.TAdminExample;
import com.lss.atcrowdfunding.mapper.TAdminMapper;
import com.lss.atcrowdfunding.service.TAdminService;
import com.lss.atcrowdfunding.util.Const;
import com.lss.atcrowdfunding.util.... |
/**
*
*/
package cp120.assignments.geo_shape;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.geom.Line2D;
/**
* The GeoLine class defines a line.
*
* @author Jack R. Lisenko
* @version 1.00, 20 November 2016
*/
public class GeoLine extends GeoShape {
private GeoPoint end;
/**
* Con... |
package net.hongqianfly.decoratepattern;
import android.util.Log;
/**
* Created by HongQian.Wang on 2017/11/2.
*/
public class Person implements Human {
@Override
public void wearClothes() {
Log.e("msg","穿什么呢?");
}
@Override
public void walkToWhere() {
Log.e("msg","去哪里呢?");
... |
package modelo.poblacion;
import java.util.Random;
public class Individuals {
private Chromosome individuals[];
public Individuals (int population, int seed, int depthChromosome, boolean useIf, String initializationType) {
this.individuals = new Chromosome[population];
//Inicializamos los terminales.
Term... |
package com.argentinatecno.checkmanager.main.fragment_checks.di;
import com.argentinatecno.checkmanager.CheckManagerAppModule;
import com.argentinatecno.checkmanager.lib.di.LibsModule;
import com.argentinatecno.checkmanager.main.fragment_checks.ui.FragmentChecks;
import javax.inject.Singleton;
import dagger.Componen... |
package task111;
import common.Utils;
import common.Watch;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* @author Igor
*/
public class Main111 {
private static final int N = 10;
public static void main(String[] args) {
Watch.start();
long... |
/**
* Package a ketszemelyes reversi jatekhoz.
*/
package reversi;
|
package selenium;
import org.openqa.selenium.Alert;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import junit.framework.Assert;
public class alerts {
@SuppressWarnings("deprecation")
public static void main(String[] args) throws Interrupte... |
import java.util.*;
import java.io.*;
public class Zamka {
public static void main(String[] args) throws IOException {
Scanner nya = new Scanner(System.in);
int l = nya.nextInt();
int d = nya.nextInt();
int x = nya.nextInt();
for (int i = l; i <= d; i++) {
if(dsu... |
package kr.co.toondra.web.login.controller;
import javax.servlet.http.HttpServletRequest;
import kr.co.toondra.base.controller.BaseController;
import kr.co.toondra.common.collection.PMap;
import kr.co.toondra.web.login.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
im... |
package problems;
import java.util.*;
public class Longest_Palindromic_Substring {
public static void main(String[] args) {
String s="babad";
System.out.println(longestPalindrome(s));
}
static boolean check_pallindrome(String s,int start,int end){
while(start<end){
if(s.c... |
package com.myapp.factory;
import com.myapp.exception.InvalidShipException;
import com.myapp.model.Cell;
import com.myapp.model.Ship;
import com.myapp.model.ShipType;
import java.util.List;
public class ShipFactory {
public static Ship createShip(List<Cell> cells, ShipType shipType) {
Ship ship = new S... |
package me.ljseokd.basicboard.modules.account;
import me.ljseokd.basicboard.infra.MockMvcTest;
import me.ljseokd.basicboard.modules.account.form.SignUpForm;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.ann... |
package org.alienideology.jcord.event.channel.guild;
import org.alienideology.jcord.handle.channel.IGuildChannel;
import org.alienideology.jcord.handle.guild.IGuild;
/**
* @author AlienIdeology
*/
public interface IGuildChannelEvent {
IGuild getGuild();
IGuildChannel getGuildChannel();
}
|
package com.tencent.mm.plugin.nearby.a;
import com.tencent.mm.g.a.iq;
import com.tencent.mm.g.a.jz;
import com.tencent.mm.g.a.ka;
import com.tencent.mm.g.a.rg;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
class f$5 extends c<rg> {
final /* synthetic */ f lBu;
f$5(f fVar) {
this.lBu =... |
package dlsim.DLSim;
import dlsim.DLSim.Util.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseEvent;
/**
* DLPainter:
* Deals with the graphical part of a DLComponent.
* @version 1.0
* @author M. Leslie
*/
public abstract class ComponentView extends Paintable {
private ComponentModel my... |
package studio.baka.originiumcraft.client.gui;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.resources.I18n;
import studio.baka.originiumcraft.util.ReferenceConsts;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.util.ResourceLoc... |
package com.eb.controller;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.eb.dao.CalBoardDAO;
import com.eb.dto.CalBoardDTO;
import com.eb.service.CalBoardServ... |
package com.lnpc.common.utils;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInpu... |
package ru.android.messenger.model.utils.http;
import java.util.List;
import ru.android.messenger.model.dto.Dialog;
public interface OnDialogsListLoadedListener {
void onDialogListLoadedListener(List<Dialog> dialogList);
}
|
package com.gokuai.base;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.core.appender.ConsoleAppender;
import org.apache.logging.log4j.core.config.Configurator;
import org.apache.logging.log4j.core.config.builder.api.*;
import org.apache.logging.log4... |
package com.tencent.mm.ui.widget;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Matrix;
import android.graphics.Matrix.ScaleToFit;
im... |
package p3.control;
import java.util.*;
import p3.logic.game.*;
import p3.Exceptions.*;
/** Class "Controller":
*
* Controls the execution of the game.
* Receives the commands from the user and executes the corresponding actions, calls for the updates of the board and prints the game.
*
* */
... |
package kodlamaio.hrms.core.verifications;
public interface VerificationService {
void sendEmail(String email,String code);
}
|
public class NBody {
public static double readRadius(String planetFile) {
In in = new In(planetFile);
int numPlanet = in.readInt();
double radius = in.readDouble();
return radius;
}
public static Body[] readBodies(String planetFile) {
In in = new In(planetFile);
int numPlanet = in.readInt... |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Ge... |
package cn.jboa.action;
import java.util.List;
import javax.servlet.http.HttpSession;
import org.apache.struts2.ServletActionContext;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import com.opensymphony.xwork2.ActionSupport;
import cn.jboa.entity.Employee;
... |
package tunbridge;
import java.lang.InterruptedException;
import java.util.concurrent.Semaphore;
public class Bridge {
private Semaphore lock;
public Bridge() {
/**
* We can simply use a mutex semaphore to keep farmers from different
* directions from entering. It isn't the most eff... |
package mvd.pension;
import android.app.Activity;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.database.sqlite.SQLiteException;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.support.v... |
/* */ package datechooser.beans.editor;
/* */
/* */ import datechooser.beans.editor.descriptor.DescriptionManager;
/* */ import java.awt.Color;
/* */ import java.awt.Graphics;
/* */ import java.awt.Rectangle;
/* */ import java.util.HashSet;
/* */ import java.util.Set;
/* */ import javax.swin... |
package it.usi.xframe.xas.bfimpl.a2psms.providers.vodafonepop;
import it.usi.xframe.xas.bfimpl.a2psms.configuration.CustomizationBasic;
public class Customization extends CustomizationBasic {
public boolean isSupportDeliveryReport() {
return false;
}
public boolean isSupportMobileOriginated() {
retu... |
package com.supconit.kqfx.web.util;
import hc.business.dic.domains.FlatData;
import hc.business.dic.entities.Data;
import hc.business.dic.services.DataDictionaryService;
import java.util.HashMap;
import java.util.LinkedHashMap;
/**
*数据字典工具包
* @author hebingting
*
*/
public class DictionaryUtil {
/**
* 根据字典... |
package com.storytime.client.changevieweventhandlers;
import com.google.gwt.event.shared.EventHandler;
public interface StartGameLocalEventHandler extends EventHandler {
public void onStartGame();
}
|
package ict.kosovo.growth.detyraIfElse;
public class ThreeSort {
public static void main(String[] args) {
int a = 1234;
int b = 99;
int c = 1;
if (a<b){
System.out.println(c=a);
}
System.out.println(a);
System.out.println(b);
System.out... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.