text stringlengths 10 2.72M |
|---|
/*
* Copyright 2017 Goldman Sachs.
* 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 to in... |
package consumer;
import jade.core.AID;
import jade.core.Agent;
import jade.core.behaviours.*;
import jade.domain.DFService;
import jade.domain.FIPAAgentManagement.DFAgentDescription;
import jade.domain.FIPAAgentManagement.ServiceDescription;
import jade.domain.FIPAException;
import jade.lang.acl.ACLMessage;
... |
package com.arthur.bishi.meituan0404;
import java.util.ArrayList;
import java.util.Scanner;
/**
* @title: No4
* @Author ArthurJi
* @Date: 2021/4/4 10:12
* @Version 1.0
*/
public class No4 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.next... |
/*
* 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 views;
import Common.Email_Send;
import Models.getAllData;
import Models.sensor;
import java.awt.event.ActionEvent;
import jav... |
package com.lenovohit.ssm.treat.manager.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import com.lenovohit.ssm.treat.dao.FrontendRestDao;
import com.lenovohit.ssm.treat.manager.HisAssayManager;
import com.lenovohit.ssm.treat.model.AssayItem;
import com.lenovohit.ssm.trea... |
package es.uji.geotec.activityrecorder;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.pm.PackageManager;
import androidx.core.app.ActivityCompat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class PermissionsManager... |
package q2;
public class A
{
public int foo(int a)
{
bar();
return 0;
}
private void bar()
{
baz(4);
}
public int baz(int a)
{
return a + a;
}
} |
package com.wonjin.computer.hw4projectwonjin.commonWonjin;
import android.content.Context;
import android.util.Log;
import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.DatabaseError;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.FirebaseDa... |
package thirdparty.javaworld;
import javax.swing.*;
import javax.swing.event.DocumentEvent;
import javax.swing.text.*;
import javax.swing.text.html.HTML;
import javax.swing.text.html.HTMLDocument;
import javax.swing.text.html.StyleSheet;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseL... |
package com.example.repository;
import com.example.domain.Atleta;
import org.springframework.data.jpa.repository.JpaRepository;
import java.time.LocalDate;
import java.util.List;
/**
* Created by jun on 05/12/2016.
*/
public interface AtletaRepository extends JpaRepository<Atleta, Long>{
List<Atleta> findByNac... |
package com.company.resume.Repositories;
import com.company.resume.Models.Job;
import com.company.resume.Models.Organization;
import com.company.resume.Models.Skill;
import org.springframework.data.repository.CrudRepository;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
public interfac... |
package com.design.pattern.proxy;
import java.lang.reflect.Proxy;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.concurrent.ConcurrentHashMap;
/**
* @Author: 98050
* @Time: 2019-02-17 22:07
* @Feature:
*/
public class Test {
public static void main(String[] args) {
/**
... |
package demo.oops;
public class AbstractionDemo {
public static void main(String[] args) {
Food obj= new Briyani();
Food obj1= new Friedrice("10");
Food obj2= new Cheesecake("433");
obj.prepare();
obj2.prepare();
obj1.prepare();
}
}
|
package io.github.ihongs.serv.master;
import io.github.ihongs.Cnst;
import io.github.ihongs.Core;
import io.github.ihongs.HongsException;
import io.github.ihongs.action.ActionHelper;
import io.github.ihongs.db.DB;
import io.github.ihongs.db.Model;
import io.github.ihongs.db.Table;
import io.github.ihongs.db.util.Fetch... |
package me.ivt.com.ui.paint;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.util.AttributeSet;
import android.view.View;
/**
* desc:
*/
public class PaintView extends View {
private P... |
/*
* 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 javaprogram;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
i... |
package cards.basics;
import cards.Card;
/**
* The "Basic" type of cards, consisting of Attack, Dodge, Peach, and Wine
* (Battle expansion)
*
* @author Harry
*
*/
public abstract class Basic extends Card {
private static final long serialVersionUID = -4758707277276652122L;
public Basic(int num, Suit suit, i... |
package com.example.yixu.fullcircle;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
public class AttractionListAdapter extends Ar... |
/******************************************************************************
* __ *
* <-----/@@\-----> *
* <-< < \\// > >-> *
... |
package com.edasaki.rpg.spells;
import com.edasaki.rpg.spells.archer.ArrowRain;
import com.edasaki.rpg.spells.archer.DoubleShot;
import com.edasaki.rpg.spells.archer.ExplodingArrow;
import com.edasaki.rpg.spells.archer.Hurricane;
import com.edasaki.rpg.spells.archer.QuadShot;
import com.edasaki.rpg.spells.archer.Tripl... |
package com.tyj.venus.controller.admin;
import com.tyj.venus.controller.BaseController;
import com.tyj.venus.entity.Gadmin;
import com.tyj.venus.entity.Menu;
import com.tyj.venus.service.GadminService;
import com.tyj.venus.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.... |
package com.xnarum.thonline.entity.idd001;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
@XmlAccessorType(XmlAccessType.FIELD)
public class AccountStatusQueryRequestBody {
@XmlElement(name="THAcct")
private String acc... |
package Tutorial.P3_ActorTool.S4_FSM_State.UserStorage;
/**
* Created by lamdevops on 6/11/17.
*/
public enum State {
Connected, Disconnected
}
|
package com.beike.form.background.guest;
import java.sql.Timestamp;
/**
* Title : GuestBranchForm
* <p/>
* Description :分公司表单对象
* <p/>
* CopyRight : CopyRight (c) 2011
* </P>
* Company : Sinobo
* </P>
* JDK Version Used : JDK 5.0 +
* <p/>
* Modification History :
* <p/>
* <pre>NO. D... |
package com.stefanini.service;
import java.util.ArrayList;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import javax.inject.Inject;
import com.stefanini.model.Modelo;
import com.stefanini.repository.ModeloRepository;
@Stateless
public class ModeloServ... |
package sh1457.test.com.grand;
import java.util.ArrayList;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
class DatabaseHandler extends SQLit... |
package com.xixiwan.platform.sys.entity;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializ... |
package com.zzh.cloud;
/**
* 添加该注解,目的就是让应用启动后,含有该注解的文件不会被应用扫描到。
*/
public @interface ExcludeFromComponentScan {
}
|
/*
* #%L
* Diana UI Core
* %%
* Copyright (C) 2014 Diana UI
* %%
* 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 req... |
package clustering;
import backtype.storm.spout.SpoutOutputCollector;
import backtype.storm.task.TopologyContext;
import backtype.storm.topology.OutputFieldsDeclarer;
import backtype.storm.topology.base.BaseRichSpout;
import backtype.storm.tuple.Fields;
import backtype.storm.tuple.Values;
import backtype.storm.utils.... |
package xyz.carbule8.video.pojo;
public enum VideoStatus {
UPLOAD_SUCCESS, // 上传完成
TRANSCODING, // 转码中
TRANSCODING_SUCCESS, // 转码成功
TRANSCODING_FAILED, // 转码失败
UPLOAD_OSS, // 上传oss中
UPLOAD_OSS_FAILED, // 上传oss失败
COMPLETE; // 完成
}
|
package com.example.donisaurus.ecomplaint.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by Donisaurus on 1/8/2017.
*/
public class ModelComment {
@SerializedName("id_komentar")
@Expose
private Integer idKomentar;
@SerializedName("... |
package Entyties.Project.Development.BuildingWrapper.BuildingObject.BuildingParameter;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class BuildingParameter {
@JsonProperty("Id")
private i... |
package application;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.Instant;
import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;
public class Program {
public static void main(String[] args) throws ParseException {
SimpleDateFormat sdf1 = new SimpleDat... |
package com.example.isvirin.storeclient.data.entity.daoconverter;
public enum CategoryType {
TEXT, LIST, PICTURE
}
|
package com.stackroute.pe2;
public class PalindromeChecker {
public String checkForPalindrome(int num) {
int temp = num;
int rev = 0;
int rem;
String result="";
while(temp > 0 || temp<0) {
rem = temp % 10;
rev = (rev * 10) + rem;
temp= te... |
package org.digdata.swustoj.model;
import java.util.Map;
public interface ModelOperation<T> {
public T addAttr(String key, Object value);
public T addAttrs(Map<String, Object> map);
public T deleteAttr(String key);
public T deleteAttrs(String... args);
}
|
import java.util.Scanner;
/**
RECITATION 5: CODING ACTIVITY #1:
JAVA PROGRAM THAT TAKES IN INFORMATION BETWEEN TWO STUDENTS, AND THEN COMPARES
THERE INFORMATION. THIS PROGRAM WAS PRACTICE FOR CONSTRUCTORS, CLASSES
OBJECTS, INSTANCE VARIABLES, INSTANCE METHODS. FINISHED ON 2/17/2021
*/
/**
* This is the codi... |
package panafana.example.panaf.wouldyourather;
import android.content.Context;
import android.content.res.AssetManager;
import android.os.Build;
import androidx.annotation.RequiresApi;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.... |
package pl.calculator.repositoryRepresentation.json;
import com.google.gson.Gson;
import java.util.ArrayList;
import java.util.HashMap;
public class HistoryJsonFormat {
public String getString(HashMap<Integer, ArrayList<String>> history) {
return new Gson().toJson(history);
}
}
|
public class Checker {
public boolean isDayOfWeek(String string) {
if (string.matches("mon|tue|wed|thu|fri|sat|sun")) {
return true;
}
return false;
}
public boolean allVowels(String string) {
if (string.matches("[a|i|e|o|u]*")) {
... |
package practise.AppiumFramework;
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.remote.RemoteWebElement;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.testng.annotations.Test;
impo... |
// Name: Frederik V. Kjemtrup
// Student Email: fkjemt12@student.aau.dk
// Student Nr: 99055
package test;
import TwilightImperium.*;
import org.junit.jupiter.api.Test;
import java.lang.reflect.Array;
import java.util.ArrayList;
import static org.junit.jupiter.api.Assertions.*;
public class DemonstrationTests {
... |
package com.caio.localiza.repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.caio.localiza.domain.Carro;
@Repository //Anotação de repositório //Tipo de objeto, tipo do identificador
public interface CarroRepository extends J... |
package com.tianwotian.mytaobao.bean;
/**
* Created by user on 2016/9/2.
*/
public class LoginFailed {
String error;
String errorName;
public String getError(){
return error;
}
public String getErrorName(){
return errorName;
}
}
|
package com.mygdx.game.tetris;
/**
* Created by kyozanuro on 3/25/2017.
*/
public class TouchScreenInputHandler {
}
|
package com.ketanbd.moviecatalogservice.com.ketanbd.model;
import java.util.List;
public class Movie {
private String moviename;
private float rating;
private int releaseYear;
private List<String> tags;
//Constructor
public Movie(String moviename, float rating, int releaseYear, List<String> ... |
/** A type to represent a generic shape */
public abstract class Shape {
/** returns the area of the shape */
public abstract double area();
/** returns the perimeter of the shape */
public abstract double perimeter();
/** compare the area of this shape to the input shape */
public boolean isLarger... |
package com.gxjtkyy.standardcloud.common.domain.vo;
import lombok.Data;
/**
* 附录ID
* @Package com.gxjtkyy.standardcloud.common.domain.vo
* @Author lizhenhua
* @Date 2018/6/28 17:08
*/
@Data
public class AttachVO extends BaseVO{
/**id*/
private String id;
/**附录名称*/
private String attachName;
... |
package com.java.learning.myoverloading;
public class MyRunClass {
public static void main(String[] args) {
Student std = new Student();
std.print(90, 75, 89);
std.print();
std.print('A', 'B');
}
}
|
package observer;
import observer.headhunter.JavaDeveloperJobsSite;
import observer.headhunter.Subscriber;
import observer.headhunter.interfaces.Observer;
/**
* Определяет отношение "один ко многим" между объектами таким образом, что изменение состояние одного объекта
* автоматически оповещает и обновляет все его з... |
package com.t11e.discovery.datatool;
public class NoSuchProfileException
extends RuntimeException
{
private static final long serialVersionUID = 4612076116278889313L;
public NoSuchProfileException(final String name)
{
super("No profile with name: " + name);
}
}
|
public class Selectionsort {
public static int[] selectionsort(int [] array)
{
int index,temp;
for(int i=0;i<array.length-1;i++)
{
index=i;
for (int j=i+1;j<array.length;j++)
{
if(array[j]<array[i])
index=j;
... |
package net.maizegenetics.analysis.imputation;
import java.util.HashMap;
import net.maizegenetics.taxa.Taxon;
public class SubpopulationFinder {
final static HashMap<String, Integer> taxaToPopMap = new HashMap<String, Integer>();
static {
taxaToPopMap.put("Z001E0215",0);
taxaToPopMap.put("Z001E0229",0);
t... |
/*
* 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 rs.ac.bg.fon.ps.domain;
import java.io.Serializable;
import java.util.Objects;
/**
*
* @author Mr OLOGIZ
*/
public class P... |
/**
*
*/
package com.jspmyadmin.app.table.export.logic;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.PreparedStatement;
import java.sql.Res... |
package LeetCode;
import java.util.HashMap;
import java.util.Map;
public class TwoSum {
public static void main(String[] args) {
}
/*
* Idea: map the values and indices. On iteration check to see if the target-num is key in the map
* -> return the indices of num and target-num
*
* O(N)
... |
package com.zantong.mobilecttx.api;
import com.zantong.mobilecttx.base.bean.BaseResult;
import com.zantong.mobilecttx.card.dto.BindCarDTO;
import com.zantong.mobilecttx.home.bean.HomeResult;
import com.zantong.mobilecttx.home.dto.HomeDataDTO;
import retrofit2.http.Body;
import retrofit2.http.POST;
import rx.Observabl... |
public class Outcast {
private final WordNet wordNet;
public Outcast(WordNet wordnet) {
this.wordNet = wordnet;
}
public String outcast(String[] nouns) {
String outcast = null;
int maxDistance = 0;
for (String noun : nouns) {
int currentDistance = 0;
for (String otherNoun : nouns... |
package com.syl.orders.feign;
import com.codingapi.txlcn.tc.support.DTXUserControls;
import com.syl.model.goods.Goods;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.List;
@Component
public class GoodsServiceFallback implements GoodsFeign{
public List<Goods> get()... |
package com.example.demo.model;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.file.FileSystems;
import java.nio.file.Path;
import java.ni... |
package com.touchtrip.main.model.service;
import static com.touchtrip.common.JDBCTemplate.*;
import java.sql.Connection;
import java.util.ArrayList;
import com.touchtrip.main.model.dao.MainDAO;
import com.touchtrip.main.model.vo.MainAllFamous;
import com.touchtrip.main.model.vo.MainTop6Famous;
public cla... |
package raig.org;
public class HandlerBang implements Handler {
Handler successor;
HandlerBang(Handler successor) {
this.successor = successor;
}
@Override
public String handleRequest(int number) {
String resultSuccessor = "";
if ( successor != null ) {
resultSuccessor = successor.handle... |
/**
* Created by Зая on 13.05.2016.
*/
public enum Group {
FRIENDS, FAMILY, JOB_COLLEAGUES, DOCTORS, OTHER
}
|
import javax.swing.JOptionPane;
public class Exerc3{
public static void main (String[] args){
double numero = Double.parseDouble(JOptionPane.showInputDialog("Digite o Número: "));
if(numero>=0){
double resultado = Math.pow(numero, 0.5);
JOptionPane.showMessageDialog(null, "O... |
package com.citibank.newcpb.vo;
import java.util.ArrayList;
import java.util.Date;
import com.citibank.newcpb.enums.TableTypeEnum;
import com.citibank.newcpb.util.FormatUtils;
public class AcctMgrtVO {
private String accountGrbNumber;
private String accountGrbCpfCnpjNumber;
private String account... |
package com.auro.scholr.quiz.data.model.response;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class ExamImageResModel {
@SerializedName("id_name")
@Expose
private String idName;
@SerializedName("status")
@Expose
private String status;
... |
package com.huadin.huadin;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.PopupWindow;
import android.widget.TextView;
import com.huadin.utils.LogUtil;
import com.zhy.aut... |
package com.chenws.netty.protobuf.mul.handler;
import com.chenws.netty.protobuf.mul.proto.NettyMulProtobuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
/**
* Created by chenws on 2020/3/22.
*/
public class PBMulClientHandler extends SimpleChannelInboundHandler... |
package pe.edu.pucp.musicsoft.mysql;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.util.ArrayList;
import pe.edu.pucp.musicsoft.config.DBManager;
import pe.edu.pucp.musicsoft.dao.EmpresaDiscograficaDAO;
import pe.edu.pucp.musicsoft.... |
package User.Register;
import User.Welcome.UserWelcome;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Scanner;
import User.login.UserLogin;
public class printDetails {
public static String print() {
return
" \n \n \n \n Congrats user Regis... |
package cn.novelweb.annotation.log.util;
import cn.hutool.core.thread.ThreadUtil;
import cn.hutool.extra.servlet.ServletUtil;
import cn.hutool.http.useragent.UserAgent;
import cn.hutool.http.useragent.UserAgentUtil;
import cn.novelweb.annotation.log.pojo.AccessLogInfo;
import cn.novelweb.ip.IpUtils;
import cn.novelweb... |
/*
* UNIVERSIDAD ICESI
* ALGORITMOS Y PROGRAMACION II
* PROYECTO FINAL DEL CURSO
* SANTIAGO RODAS Y JULIAN ANDRES RIVERA
* GRUPO BANCARIO
*/
package excepciones;
public class Mayor183Excepcion extends Exception {
// ---------------------------------------------------------------------------------------
pr... |
package com.mzq.controller;
import com.google.code.kaptcha.Producer;
import com.mzq.pojo.UserInfo;
import com.mzq.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import org.spring... |
package com.example.microservicedemo.model;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
@ToString
@EqualsAndHashCode
//@Table(name = "User")
public class User {
@Id
private String id;
private String name;
private Bo... |
package proyecto;
import java.awt.*;
import java.io.*;
public class principal {
public static void main(String[] args) throws IOException{
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
clsVentana ven = new clsVentana(); //ventana nueva
ven.setVisible(true); // ventana ... |
package com.pronix.android.apssaataudit;
import android.app.Application;
import android.content.Context;
import android.os.Build;
import android.os.StrictMode;
import com.pronix.android.apssaataudit.common.Constants;
import java.io.File;
/**
* Created by ravi on 12/29/2017.
*/
public class ssaat extends Applica... |
package com.esum.framework.security.cms.encrypt;
import java.security.PrivateKey;
import java.security.cert.X509Certificate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public abstract class CMSEncrypt {
protected Logger log = LoggerFactory.getLogger(this.getClass());
private static CMSEncrypt mCMSEn... |
package ru.otus.sua.L05;
import org.apache.log4j.Logger;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
public class SingleBigList... |
/**
* Copyright (C) 2015 nshmura
* Copyright (C) 2015 The Android Open Source Project
* <p/>
* 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
* <p/>
* http://www.apache.org/licenses/LICE... |
package dbAssignment.opti_home_shop.data.model;
import java.util.Objects;
import javax.persistence.*;
import com.sun.istack.NotNull;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;
@javax.persistence.Entity
@Table(name = "articlerating")
public class ArticleRati... |
package com.hhdb.csadmin.plugin.tool_bar;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.UnsupportedLookAndFeelException;
import com.hh.frame.swingui.base.IEventRoute;
import com.hh.frame.swingui.event.EventTypeEnum;
import com.hh.frame.swingui.event.HHEvent;
import com.hhdb.csadmin.com... |
/*
* Welcome to use the TableGo Tools.
*
* http://vipbooks.iteye.com
* http://blog.csdn.net/vipbooks
* http://www.cnblogs.com/vipbooks
*
* Author:bianj
* Email:edinsker@163.com
* Version:5.8.0
*/
package com.lenovohit.hwe.pay.model;
import java.math.BigDecimal;
import java.util.Date;
import javax.persist... |
/*
* 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 rs.ac.bg.fon.ps.view.forms;
import java.awt.event.ActionListener;
/**
*
* @author Mr OLOGIZ
*/
public class FrmNalogClanaC... |
package com.srividhyagk.Imdb;
import java.util.List;
import java.util.Optional;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface ReviewRepository extends CrudRepository<Reviews,Integer>{
List<Reviews> findByUser_id(int user_i... |
package BRE;
import LOG.LogClient;
import LOG.LogLevel;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.charset.StandardCharsets;
public class BREClient {
private ... |
package com.weiziplus.springboot.common.config;
/**
* 设置全局静态常量
*
* @author wanglongwei
* @data 2019/5/6 15:50
*/
public class GlobalConfig {
/**
* 身份验证,请求头,token
*/
public final static String TOKEN = "token";
/**
* 空字符串
*/
public static final String UNDEFINED = "undefined";
... |
package com.example.reminder_app;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;
public class NotificationReciever extends BroadcastReceiver {
@Override // we can execute the code here without opening our app
public... |
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Task4 {
public static void main(String[] args) {
List<... |
package com.lidaye.shopIndex.mapper;
public interface ShopImageMapper {
}
|
import org.junit.Test;
import pages.InboxPage;
import pages.LogInPage;
import pages.appendice.CommonConstants;
import static junit.framework.TestCase.assertTrue;
public class SendNewLetterTest extends BaseSpec{
InboxPage inboxPage = new InboxPage();
LogInPage logInPage = new LogInPage();
@Test... |
package stephen.ranger.ar.lighting;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import javax.vecmath.Vector3f;
import stephen.ranger.ar.Camera;
import stephen.ranger.ar.IntersectionInformation;
import stephen.ranger.ar.PBRTMath;
import stephen.ranger.ar.RTStatics;
import s... |
package com.generic.core.config;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ServletRegistration;
import org.springframework.web.WebApplicationInitializer;
import org.springframework.web.context.ContextLoaderListener;
import org.springframework.web.context.support.... |
package com.codingchili.instance.model.dialog;
import com.codingchili.instance.context.GameContext;
import com.codingchili.instance.context.InstanceSettings;
import com.codingchili.instance.model.admin.AdminEvent;
import com.codingchili.instance.model.entity.*;
import com.codingchili.instance.model.events.*;
import co... |
package velvet.obj;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
public class OBJFileUtils
{
public static byte[] readFileAsBytes(String filepath)
{
byte[] buffer = new byte[1024];
InputStream fileStream = OBJFileUtils.class.getResourceAsStream(filepath);
ByteArrayOutputStream byteBuffer ... |
package com.UBQGenericLib;
import org.openqa.selenium.support.PageFactory;
import org.testng.annotations.*;
import org.testng.asserts.SoftAssert;
import com.UBQPageObjectLib.HomePage;
import com.UBQPageObjectLib.LoginPage;
import com.UBQPageObjectLib.BeatMaster;
import com.UBQPageObjectLib.Bugzilla;
import com.UBQ... |
package com.git.cloud.resmgt.common.action;
import com.git.cloud.common.action.BaseAction;
import com.git.cloud.resmgt.common.model.po.CmHostDatastoreRefPo;
import com.git.cloud.resmgt.common.service.ICmHostDatastoreRefService;
public class CmHostDatastoreRefAction extends BaseAction {
/**
*
*/
pr... |
package com.google.apiguide.appcomponents;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import com.google.apiguide.BaseActivity;
import com.google.apiguide.JumpUtil;
import com.google.apiguide.R;
import com.google.apiguide.appcomponents... |
package com.servlets;
import java.io.IOException;
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 org.hibernate.Session;
import org.hibernate.Tr... |
package model;
/**
* RolePriviledgesRelationship entity. @author MyEclipse Persistence Tools
*/
public class RolePriviledgesRelationship implements java.io.Serializable {
// Fields
private Integer id;
private Role role;
private Priviledges priviledges;
// Constructors
/** default constructor */
public Ro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.