text stringlengths 10 2.72M |
|---|
package mod.items.concretes;
import mod.items.ModItemInfo;
import mod.items.abstracts.ThisModItem;
import net.minecraft.block.Block;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecra... |
package com.polsl.edziennik.desktopclient.view.teacher.panels;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JTextField;
import com.jgoodies.forms.layout.CellConstraints;
... |
package com.tencent.mm.protocal;
public class c$hb extends c$g {
public c$hb() {
super("searchDataHasResult", "", 10000, false);
}
}
|
import javax.swing.*;
/**
* Created by Tomas on 4/14/16.
*/
public class UIBoard extends JPanel{
private Game game;
public UIBoard(Game game) {
this.game = game;
}
}
|
package com.phellipe.distanceCities.exception;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.Response;
public class CityException extends WebApplicationException {
private static final long serialVersionUID = 1L;
public CityException() {
super(Response.status(404).entity("City not Found")... |
package com.mes.old.meta;
// Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final
import java.util.Date;
/**
* TChangeId generated by hbm2java
*/
public class TChangeId implements java.io.Serializable {
private String partNumber;
private String deptid;
private long changetype;
private String creator;
pr... |
public class Consts {
public static final String URL = "http://api.currencylayer.com";
public static final String TOKEN = "?access_key=cf23bd5c6958d36260ab64c976aaba39";
public static final String LIVE_ENDPOINT = "/live";
public static final String HISTORICAL_ENDPOINT = "/historical";
}
|
package com.tyss.cg.collections;
public class CustomList {
String[] list;
int pointer = 0;
public CustomList() {
list = new String[10];
}
public CustomList(int size) {
list = new String[size];
}
public void add(String element) {
if(element != null) {
if (pointer >= list.length - 2) {
list[point... |
package com.example.sean_duan.family_frag.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.view.ViewPager;
import android.util.Log;
import android.view.LayoutInflater;
import... |
/*
* 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 test.com;
import com.mycompany.myautotraderng.Calc;
import static com.sun.org.apache.xalan.internal.lib.ExsltDatetime.year;
im... |
package com.example.x_b;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.DividerItemDecoration;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;... |
public class Scope {
public static void main(String[] args)
{
int x;
x=10;
if(x==10)
{
int y=20;
System.out.println("x and y are: "+x + y);
}
//y=100;
//x is still known here
System.out.println("x is "+x);
}
}
|
package com.ebupt.portal.canyon.system.service.impl;
import com.ebupt.portal.canyon.common.enums.UpdateEnum;
import com.ebupt.portal.canyon.common.util.SystemConstant;
import com.ebupt.portal.canyon.system.dao.UserRoleDao;
import com.ebupt.portal.canyon.system.entity.UserRole;
import com.ebupt.portal.canyon.system.ser... |
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
@ManagedBean
@SessionScoped
public class gererproblem implements Serializable {
private int id;
private Comment commt=new Comment();
priv... |
package ip7.bathuniapp;
import java.util.Date;
/*
* Simple getters and setters for a single task
* in the user's to-do list
*/
public class Task {
private long id;
private String title;
private int priority;
private String description;
private int parent_id;
private Boolean complete;
... |
package edu.classm8web.services;
import java.util.Vector;
import edu.classm8web.dao.Database;
import edu.classm8web.dto.M8;
import edu.classm8web.exception.DatabaseException;
public class UserService {
private static UserService instance;
public static UserService getInstance() {
if (UserService.i... |
package pl.czyzycki.towerdef.gameplay;
import pl.czyzycki.towerdef.TowerDef.GameSound;
import pl.czyzycki.towerdef.gameplay.entities.Tower;
import pl.czyzycki.towerdef.gameplay.entities.Tower.Upgrade;
import pl.czyzycki.towerdef.gameplay.entities.Tower.Upgradeable;
import pl.czyzycki.towerdef.menus.OptionsScreen;
imp... |
package com.yuan.dialog;
import com.yuan.adapt.AdaptListUtils;
import com.yuan.adapt.RadioAdapter;
import com.yuan.adapt.ResolveListAdapter;
import com.yuan.adapt.WeekCheckBoxAdapt;
import com.yuan.control.CheckControl;
import com.yuan.control.SettingControl;
import com.yuan.graduate.R;
import com.yuan.loca... |
package com.example.headfirst.collection;
import com.example.headfirst.collection.parttwo.MenuItem;
import java.util.ArrayList;
/**
* create by Administrator : zhanghechun on 2020/4/4
*/
public class PrintMenu {
public static void main(String[] args) {
PancakeHouseMenu pancakeHouseMenu = new PancakeHou... |
package com.example.fy.blog.ui;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.MotionEvent;
import android.view.View;
import android.view.Window;
import android.widget.EditText;
import android.widget.TextView;
import a... |
package com.Stephanie;
/**
* Created by Stephanie on 10/25/2016.
*/
public class LP extends Album {
private int condition; //1 = barely playable, 5= mint
public LP(String artist, String title, int condition, double price){
super(artist, title,price); //call the album constructor
this.condit... |
package com.catnap.demo.core.model;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;
... |
package com.lus.seansprototype.notifications;
import java.util.ArrayList;
import java.util.List;
import java.util.Observable;
public class ObservableNotifications extends Observable {
private List<Notification> notifications;
public ObservableNotifications(){
notifications = new ArrayList<>();
}
... |
package net.iz44kpvp.kitpvp.Kits;
import java.util.HashMap;
import org.bukkit.Bukkit;
import org.bukkit.Effect;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.Item;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.buk... |
package com.sjain.couponduniatask.network.apimodel;
import com.google.gson.annotations.SerializedName;
import com.sjain.couponduniatask.model.TaskResponse;
/**
* Created by sjain on 31/10/17.
*/
public class APITaskResponse {
@SerializedName("success")
private Boolean success;
@SerializedName("authenti... |
i am learning how to use git.
this is a test doc.
hello world
another modify
stage of repository |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package com.example.lib;
import android.app.Activity;
import android.content.Intent;
import android.support.annotation.Keep;
import android.support.v4.app.FragmentActivity;
import android.util.Log;
import com.lotus.annotation.LotusProxy;
import com.example.framework.TestImpl;
/**
* Created by ljq on 2019/5/8
*/
@... |
package pt.pagamigo.ws;
import static javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.PasswordAuthentication;
import java.net.SocketTimeoutException;
... |
package com.tencent.mm.g.a;
import com.tencent.mm.sdk.b.b;
public final class oy extends b {
public a bZT;
public oy() {
this((byte) 0);
}
private oy(byte b) {
this.bZT = new a();
this.sFm = false;
this.bJX = null;
}
}
|
package com.dvt.example.producer;
import java.util.UUID;
import org.apache.activemq.artemis.api.core.client.ClientConsumer;
import org.apache.activemq.artemis.api.core.client.ClientMessage;
import org.apache.activemq.artemis.api.core.client.ClientProducer;
import org.apache.activemq.artemis.api.core.client.ClientSess... |
package com.youthchina.mapper;
import com.google.common.collect.Lists;
import com.youthchina.dao.zhongyang.UserMapper;
import com.youthchina.domain.zhongyang.Gender;
import com.youthchina.domain.zhongyang.Role;
import com.youthchina.domain.zhongyang.User;
import org.junit.Assert;
import org.junit.Test;
import org.juni... |
/*
* 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 pe.gob.onpe.adan.service.Adan.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
impo... |
package zystudio.cases.prepare;
/**
*
* 这个我得看看java编程思想关于异常那边了..,各种异常 的理解有待升华
*/
public class CaseForRuntimeException {
}
|
package org.leandropadua.knockknock;
import static org.junit.Assert.*;
import org.junit.*;
import org.leandropadua.knockknock.controllers.TriangleTypeController;
import org.leandropadua.knockknock.models.TriangleIdentifier;
public class TriangleTypeTest {
private TriangleTypeController triangleType = new TriangleT... |
package com.adm.utils.uft;
import com.atlassian.bamboo.build.logger.BuildLogger;
import com.atlassian.bamboo.task.TaskContext;
import com.atlassian.bamboo.task.TaskResult;
import com.atlassian.bamboo.task.TaskResultBuilder;
public final class TaskUtils {
private TaskUtils() {
}
/**
* Add the error m... |
package com.ytt.springcoredemo.config.datasource;
import com.ytt.springcoredemo.dao.handler.OrderStateTypeHandler;
import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.SqlSessionFactoryBean;
import org.mybatis.spring.SqlSessionTemplate;
import org.mybatis.spring.annotation.MapperScan;
import o... |
/*
* 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 bongden;
import com.mysql.jdbc.PreparedStatement;
import java.net.URL;
import java.sql.Connection;
import java.sql.R... |
package LeetCode.ArraysAndStrings;
public class MultiplyStrings {
public String multiply(String num1, String num2) {
int m = num1.length();
int n = num2.length();
int[] res = new int[m+n];
for(int i = m-1; i >=0; i--) {
for(int j = n-1; j >= 0; j--) {
in... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.01.... |
package com.theIronYard.factory;
import com.theIronYard.repository.AnimalBreedRepository;
import com.theIronYard.repository.AnimalRepository;
import com.theIronYard.repository.AnimalTypeRepository;
import com.theIronYard.repository.NoteRepository;
import com.theIronYard.service.AnimalService;
import java.io.IOExcepti... |
package com.tencent.mm.plugin.exdevice.model;
import com.tencent.mm.ab.b;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.network.k;
import com.tencent.mm.network.q;
import com.tencent.mm.sdk.platformtools.x;
public final class p extends l implements k {
public b diG;
private e d... |
package com.myflappybird.control;
import com.myflappybird.dto.GameDto;
public class GameControl {
/**
* 数据传输层
*/
GameDto dto;
/**
* 构造方法
*/
public GameControl(GameDto dto) {
this.dto = dto;
}
/**
* 游戏开始
*/
public void gameStart(... |
package com.example.test.blooth;
import java.util.Calendar;
import java.util.TimeZone;
public abstract class Bong {
abstract public Object getResult(String data);
public String getStrTimeForHex(long time) {
TimeZone CHINA_TIMEZONE = TimeZone.getTimeZone("GMT+08:00");
Calendar calendar = Calendar.getInstance(... |
package com.google.android.exoplayer2.c.c;
import com.tencent.map.lib.mapstructure.MapRouteSectionWithName;
import java.util.Arrays;
final class i$a {
static final byte[] anw = new byte[]{(byte) 0, (byte) 0, (byte) 1};
boolean anx;
public int any;
public byte[] data = new byte[MapRouteSectionWithName.... |
/**
* Билтер для построения стратеги сортировки
*
* По-умолчанию выбраны стратегия и компаратор необходимые для задания
*/
import java.util.Comparator;
public class SortStrategyBuilder {
private SortStrategy strategy = new BubbleSort();
private Comparator<Book> comparator = new DefaultComparator();
p... |
package org.smxknife.easypoi.view;
import cn.afterturn.easypoi.excel.entity.ExportParams;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
/**
* @author smxknife
* 2019/10/25
*/
@Getter
@Setter
public class ExportView {
private ExportParams exportParams;
private List<?> dataList;
private Cla... |
package com.wangyi.wangyi_yanxuan.mapper;
import com.sun.org.apache.xpath.internal.operations.Or;
import com.wangyi.wangyi_yanxuan.domain.Order;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;
import java.util.List;
import java... |
package com.orca.util;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import org.apache.commons.io.IOUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class FileUtils {
protec... |
package dao;
import model.Client;
import java.sql.SQLException;
import java.util.List;
public interface ClientDAO {
public Client find(int id);
public void create(Client p);
public void delete(Client p) throws SQLException;
public void update(Client p);
public List<Client> findAll();
public C... |
package com.ld.baselibrary.util.app;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Build;
import android.provider.Settings;
import com.ld.baselibrary.base.BaseApplication;
public class AppVersionUtil {
private static Object and... |
package ru.otus.api.sessionmanager;
public interface DatabaseSession {
}
|
package com.tencent.mm.protocal.c;
import f.a.a.b;
import f.a.a.c.a;
import java.util.LinkedList;
public final class aag extends bhp {
public anj rFL;
public String rFM;
public ane rFN;
public int result;
protected final int a(int i, Object... objArr) {
int fS;
if (i == 0) {
... |
package com.jude.fuad.hackharvard2018v2;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class SplashScreenActivity extends Activity {
// Splash s... |
package csci152.adt_tests;
import csci152.adt.SortedQueue;
import csci152.impl.LinkedListSortedQueue;
public class Main {
public static void main(String[] args) {
SortedQueue test = new LinkedListSortedQueue();
for(int i = 90; i>=10; i-=10) {
test.insert(i);
}
print... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package begining.gf4.web.servlet.jaxws;
import begining.ws.jaxws.test.client.Test1WS453_Service;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.serv... |
package com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.builder;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.MaterialereignisHeaderType;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.MaterialstueckType;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.PlanmaterialdefinitionTyp... |
package cdn;
import java.io.IOException;
import java.lang.Thread.UncaughtExceptionHandler;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.nio.channels.Selector;
import java.util.LinkedList;
import java.util.List;
import java.util.Timer;
import java.util.TimerTask;
import cdn.discovery.... |
package org.inftel.pasos.modelo;
import java.io.Serializable;
import java.util.Observable;
import org.inftel.pasos.R;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
public class Modelo extends Observable implements Serializable {
private static final long se... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.model.dao;
import com.model.entity.TipoVeiculo;
import java.util.List;
import javax.ejb.Local;
/**
*
* @author renanmarceluchoa
*/
@Local
public interface TipoVeiculoDao {
public TipoVeiculo bus... |
package Selinium;
public class Q23Position {
public static void main(String[] args) {
String s = "hh--ww--";
String s1 = "--yy--ru";
int sa[]= new int[s.length()]; int index= 0 ;
int s1a[] = new int[s1.length()]; int index1=0;
char c = '-';
for(int i=0;i<s.length();i++)
{
if(c==s.charAt(i))
... |
package org.zacharylavallee.object;
import org.junit.Before;
import org.junit.Test;
import static org.apache.commons.lang3.StringUtils.isNotEmpty;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class NameFormatterTest {
private final NamePrefix prefix = NamePrefix... |
package me.jessepayne.pad4j.core.interfaces;
import me.jessepayne.pad4j.core.enums.NoteColor;
import me.jessepayne.pad4j.core.event.LaunchpadListener;
import java.awt.*;
public interface ILaunchPad {
void setup(Runnable runnable);
void noteOff(int note);
void clearScreen();
void n... |
import java.util.Arrays;
import java.util.List;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
public class DadosPersonagens{
public static ObservableList<String> getNumerosPersonagens(){
List<String> possibilidades = Arrays.asList("Random", "1", "2", "3", "4", "5", "6"... |
/*
* 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 br.com.sistema.DAO;
import auxiliares.Conexao;
import auxiliares.Tratamentos;
import br.com.sistema.cadastro.Cliente;
import b... |
package com.example.dllo.notestudio.DemoListView;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.example.dllo.notestudio.R;
impo... |
package com.xingen.sqlitepractice.activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.ListView;
import com.xingen.sqlitepractice.R;
import com.xingen.sqlitepractice.adapter.SelectCityAdapter;
import com.xingen.sqlitepra... |
package com.tencent.mm.plugin.downloader.model;
import com.tencent.mm.plugin.appbrand.jsapi.appdownload.JsApiPauseDownloadTask;
import com.tencent.mm.plugin.cdndownloader.c.a;
import com.tencent.mm.plugin.downloader.e.b;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
class a$4 ... |
package com.pzhu.topicsys.modules.department.service;
import com.pzhu.topicsys.common.util.PageBounds;
import com.pzhu.topicsys.common.util.PageResult;
/**
* Desc:院系管理Service
*
*/
public interface DepartmentService {
/**
* Desc:查询院系列表
*
* @param name
* @param page
* @return
*/
... |
/*
* 用动态代理类的格式输出:
* ****************(静态)
* 信息工程学院(静态)
* ****************(静态)
* 自动化(动态)
* ****************(静态)
* */
package day17;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
interface School {
void perfession(String str);
}
// 被代理类
cla... |
package com.app.LMS.Employee;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.view.MenuItem;
import android.widget.*;
import com.app.L... |
package com.example.demo.state.action;
public interface TaskChoiceAction extends HonorAction {
}
|
package Day02;
public class Day02_3 {
}
|
package dentistrymanager;
import java.sql.*;
public class RebuildDB {
public static void main(String[] args) {
try (Connection con = DBConnect.getConnection(true)){
DatabaseBuilder builder = new DatabaseBuilder(con);
System.out.println(builder.checkIfAllTablesExist());
builder.resetTables(... |
package exhaustiveSearch;
import java.util.ArrayList;
import java.util.Arrays;
/*Given a list of numbers that may has duplicate numbers, return all possible subsets
* Example:
* If S = [1,2,2], a solution is:
[
[2],
[1],
[1,2,2],
[2,2],
[1,2],
[]
]
Note
Each element in a subset must be in non-descending or... |
package com.progoth.synchrochat.client.gui.widgets;
import java.util.LinkedList;
import java.util.List;
import com.google.gwt.event.dom.client.KeyCodes;
import com.google.gwt.event.dom.client.KeyDownEvent;
import com.google.gwt.event.dom.client.KeyDownHandler;
import com.sencha.gxt.widget.core.client.form.HtmlEditor;... |
package com.example.Lab21CoffeeShopUserRegistration;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class Usercontrol... |
/**
* Project Name:WebScan
* File Name:Client.java
* Package Name:client
* Date:2014年1月9日下午8:31:08
* Copyright (c) 2014, hzycaicai@163.com All Rights Reserved.
*
*/
package client;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Observable;
import java.util.Observer;
import java.util.con... |
package io.github.zkhan93.alarmandplayer.service.openweathermap.response;
public class Weather {
public int id;
public String main;
public String description;
public String icon;
@Override
public String toString() {
return "Weather{" +
"id=" + id +
", ma... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the ter... |
/*
* 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 manejoarray;
/**
*
* @author reroes
*/
public class ArregloUno {
public static void main(String[] args) {
... |
package com.travel_agency.controller;
import com.travel_agency.config.Validator;
import com.travel_agency.entity.Hotel;
import com.travel_agency.entity.RoomBook;
import com.travel_agency.service.CityService;
import com.travel_agency.service.HotelService;
import com.travel_agency.service.RoomBookService;
import com.tra... |
package gdut.ff.controller;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.G... |
package com.design.pattern.abstractFactory.btn;
/**
* @author zhangbingquan
* @desc 具体的widow系统,按钮实现类
* @time 2019/7/28 18:33
*/
public class WindowButton implements Button {
@Override
public void click() {
System.out.println("一个widow系统下的桌面按钮,提供点击操作");
}
}
|
package H06;
import java.applet.Applet;
import java.awt.*;
public class H061_GeldDelen extends Applet {
double a, b, uitkomst;
public void init() {
a = 113;
b = 4;
uitkomst = a/b;
}
public void paint(Graphics g) {
g.drawString("De uitkomst is: " + uitkomst, 20, 20)... |
package uk.ac.dundee.computing.aec.instagrim.servlets;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.Servlet... |
package com.zhengsr.viewpagerhelper;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import com.zhengsr.viewpagerhelper.activity.glide.GlideTransActivity... |
package com.arkaces.aces_marketplace_api.services;
import com.arkaces.aces_marketplace_api.service_category.ServiceCategoryEntity;
import lombok.Data;
import javax.persistence.*;
@Data
@Entity
@Table(name = "service_category_links")
public class ServiceCategoryLinkEntity {
@Id
@GeneratedValue(strategy = Gen... |
package com.globalrelay.checker;
import com.globalrelay.model.Connection;
import com.globalrelay.model.HealthCheckConfiguration;
import com.globalrelay.util.TCPServer;
import org.junit.Test;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
public class TCPHealthCheckerTest {
... |
/*
* Copyright © 2019 The GWT Project 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
package br.udesc.controller;
import br.udesc.controller.tablemodel.VinculoModel;
import br.udesc.model.dao.DisciplinaJpaController;
import br.udesc.model.dao.ProfessorJpaController;
import br.udesc.model.entidade.Disciplina;
import br.udesc.model.entidade.Professor;
import br.udesc.view.TelaTableVinculo;
impor... |
class Test1 {
Test1(int x) {
System.out.println("Constructor called " + x);
}
}
// This class contains an instance of Test1
class GFGtest {
Test1 t1 = new Test1(10);
GFGtest(int i) {
t1 = new Test1(i);
}
public static void main(String[] args) {
GFGtest t2 = new GFGtest(5);
}
}
|
package com.kh.efp.band.model.vo;
import java.io.Serializable;
import org.springframework.stereotype.Repository;
@Repository
public class Ban implements Serializable{
private int banid;
private int bid;
private int mid;
private String bantype;
private String banreason;
public Ban(){}
publ... |
/*
* Copyright 2006 Ameer Antar.
*
* 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... |
package base;
import global.Global;
/**
* Created by admin.son.ton on 1/26/18.
*/
public class BaseSteps {
@SuppressWarnings("unchecked")
protected <T extends PageObject> void visit(Class<T> page){
Global.getBrowser().goTo(Global.getPageHierachy().getPageUrl(page));
}
@SuppressWarnings("un... |
/*
* Copyright (c) 2012, ubivent GmbH, Thomas Butter, Oliver Seuffert
* All right reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree.
*
* This software is based on RFC6386
*
* Copyr... |
execute(src, registers, memory) {
if ( src.isMemory() ) {
String env = memory.read(src, 48);
String tag = env.substring(0, 4);
String status = env.substring(4, 8);
String control = env.substring(8, 12);
registers.x87().control().setValue(control);
registers.x87().st... |
package org.newdawn.slick.geom;
public interface TexCoordGenerator {
Vector2f getCoordFor(float paramFloat1, float paramFloat2);
}
/* Location: C:\Users\BSV\AppData\Local\Temp\Rar$DRa6216.20396\Preview\Preview.jar!\org\newdawn\slick\geom\TexCoordGenerator.class
* Java compiler version: 8 (52.0)
* JD... |
package com.romariogrohmann.sistemagestaodevisitas;
public class UsuarioLogado {
}
|
package me.lengyan.dapr.springboot.autoconfigure;
import me.lengyan.dapr.grpc.DaprCallbackService;
import me.lengyan.dapr.springboot.DaprGrpcAdaptorRunner;
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springf... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.