text stringlengths 10 2.72M |
|---|
package com.goldgov.dygl.module.partyorganization.dao;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;
import com.goldgov.dygl.dynamicfield.DynamicField;
import com.goldgov.dygl.module.partyorganization.service.PartyOrganizationQuery;
import com.goldgov.gtiles.core.d... |
/**
* 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... |
/*
* Created on May 19, 2004
*
* To change the template for this generated file go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/
package com.ibm.ive.tools.japt;
import java.io.Serializable;
/**
* @author sfoley
*
* A specifier specifies a class, method, field or resour... |
/*
* 有关数据库的操作类
* 更新时间:
* ZQW-2018-03-14
* ZQW-2018-03-15
*/
package model;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import viewer.ConnectInterface;
public class DataBase
{
private ... |
package com.tencent.mm.plugin.emoji.ui.v2;
import android.graphics.Bitmap;
import android.os.Message;
import com.tencent.mm.ak.a.c.i;
import com.tencent.mm.sdk.platformtools.bi;
class EmojiStoreV2RewardUI$7 implements i {
final /* synthetic */ String dat;
final /* synthetic */ EmojiStoreV2RewardUI iqC;
fi... |
package com.javakg.stroistat.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity
public class Attributes extends SuperForId {
private String attribute;
public Attributes() {
}
public Attributes(String attribute) {
this.attrib... |
/**
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the ... |
package com.estilox.application.config;
public class ConnectionProperties {
}
|
import java.io.BufferedInputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
/**
* 자바 데이터를 원하는 위치의 바이트를 읽을 수 있는 Stream
* @author 이대용
*
*/
public class BufferedI... |
package com.github.agmcc.slate.ast.statement;
import com.github.agmcc.slate.ast.Node;
import com.github.agmcc.slate.ast.Position;
import com.github.agmcc.slate.ast.expression.Expression;
import com.github.agmcc.slate.bytecode.Scope;
import java.util.function.Consumer;
import lombok.AllArgsConstructor;
import lombok.Eq... |
/*
* Copyright 2007 Bastian Schenke 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 writing, ... |
package br.com.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import br.com.model.Doc;
public interface UploadFileRepository extends JpaRepository<Doc, Integer>{
}
|
/*
* Copyright (C) 2011-2014 Aestas/IT
*
* 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 ... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2020 Marcelo Guimarães <ataxexe@backpackcloud.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without... |
package com.prog3;
public class NotEnoughDigitsException extends Exception{
public NotEnoughDigitsException(){
System.out.println("Entered value has not enough digits!");
}
}
|
package uml;
import javafx.beans.InvalidationListener;
import javafx.beans.Observable;
import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.property.SimpleFloatProperty;
import javafx.beans.property.SimpleStringProperty;
import uml.FXML.Attribute;
import uml.FXML.Box;
import uml.FXML.Operation;
impor... |
package com.amoraesdev.mobify.valueobjects;
/**
* Value Object to represent a Notification
* @author Alessandro Moraes (alessandro at amoraesdev.com)
*/
public class Notification {
private String[] usernames;
private String type;
private String message;
public Notification(String[] usernames, String type, St... |
package api.longpoll.bots.methods.impl.messages;
import api.longpoll.bots.adapters.deserializers.AttachmentDeserializer;
import api.longpoll.bots.http.params.BoolInt;
import api.longpoll.bots.methods.AuthorizedVkApiMethod;
import api.longpoll.bots.methods.VkApiProperties;
import api.longpoll.bots.model.objects.media.A... |
package com.bijietech.model;
/**
* Created by Lip on 2016/8/9 0009.
* 查询多个产品的详情
*/
public class MultiQueryCmd extends Cmd{
private String exchangeName;
public String getExchangeName() {
return exchangeName;
}
public void setExchangeName(String exchangeName) {
this.exchangeName = ex... |
/*
* Created on Nov 6, 2006
*
* To change the template for this generated file go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/
package com.ibm.ive.tools.japt.testcase;
/**
*
* @author sfoley
*
* This class is primarily designed to test the casting optimizations for st... |
package it.htm.dao;
import it.htm.entity.Task;
import java.util.List;
/**
* Created by vincenzo on 27/11/16.
*/
public interface TaskDao {
public List<Task> retrieveTaskBySlicingId(int id);
public List<Task> retrieveTasks();
public Task getTaskById(int id);
public void updateState(Task t);
}
|
package Objets;
import java.io.Serializable;
public class Course implements Serializable
{
private static final long serialVersionUID = 1L;
private int CID;
private String name;
private int year;
private boolean compulsory;
private Department departement;
// Constructor
public Course()
{
}
// Getter... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Collections;
import java.util.Vector;
public class PatentInfo {
Vector<SearchTerm> terms = new Vector<SearchTe... |
package org.codeshifts.spring.core.contextconfiguration;
import org.springframework.context.annotation.Configuration;
@Configuration
public class BeanA {
private String beanValue;
public String getBeanValue() {
return beanValue;
}
public void setBeanValue(String beanValue) {
this.beanValue = beanVal... |
class Node {
Node next;
int data;
Node(int data) {
this.data = data;
}
}
public class SumOfLinkedList {
public Node addList(Node l1, Node l2) {
Node head = new Node(0);
Node l3 = head;
int sum = 0;
while (l1 != null && l2 != null) {
sum = l1.data +... |
package org.mge.designpatterns.decorator.decorators;
import org.mge.designpatterns.decorator.components.Beverage;
public class Whip implements CondimentDecorator {
Beverage beverage;
public Whip(Beverage beverage) {
this.beverage = beverage;
}
@Override
public String getDescription() {
return beverage.getD... |
package ace.life.ina.utility;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.Properties;
import org.apache.log4j.Logger;
/**
* @author CHAHYADIS
* @since January, 27, 2014
*/
public class PropertiesReader {
private static Logger log = Logger.getLogger(Properties... |
package org.jboss.forge.plugin.gitignore;
import java.util.LinkedList;
import java.util.List;
public class GitIgnoreGroup
{
private final String name;
private final List<String> templates;
public GitIgnoreGroup(String name)
{
this(name, new LinkedList<String>());
}
public GitIgnor... |
package com.vaadin.polyglotdx;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import com.vaadin.c... |
package com.hand6.health.domain.entity;/**
* Created by Administrator on 2019/7/9.
*/
import com.fasterxml.jackson.annotation.JsonInclude;
import com.hand6.health.bean.ExcelColumn;
import io.choerodon.mybatis.annotation.ModifyAudit;
import io.choerodon.mybatis.annotation.VersionAudit;
import io.choerodon.mybatis.dom... |
package pl.edu.agh.game.logic.drawable;
import com.badlogic.gdx.graphics.g2d.Animation.PlayMode;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import pl.edu.agh.game.graphics.Animation;
import pl.edu.agh.game.graphics.AnimationType;
import pl.edu.agh.game.logic.Direction;
import pl.edu.agh.game.logic.entities.Char... |
package com.booking.hotelapi.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.booking.hotelapi.entity.RoomType;
@Repository
public interface RoomTypeRepository extends JpaRepository<RoomType, Long> {
RoomType findByRoomTypeId(Inte... |
package org.sang.mapper;
import org.sang.bean.CompanyData;
public interface CompanyDataMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table company_data
*
* @mbg.generated Wed Jun 05 16:32:28 CST 2019
*/
/**
* This method... |
package com.blackonwhite.model;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
@Entity
@Getter
@Setter
@NoArgsConstructor
@Table(name = "game_user")
public class User {
public enum ... |
package com.smartwerkz.bytecode.vm;
import com.smartwerkz.bytecode.primitives.JavaNullReference;
public class Objects {
private final VirtualMachine vm;
private final Classes classes;
public Objects(Classes classes, VirtualMachine vm) {
this.classes = classes;
this.vm = vm;
}
public JavaNullReference null... |
package com.xiaoysec.hrm.business.document.service;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.commons... |
public class ElfoVerde extends Elfo
{
public ElfoVerde()
{
super();
}
public ElfoVerde(String nome)
{
super(nome);
}
public boolean atirarFlechas()
{
if(this.flechas > 0) {
this.experiencia += 2;
this.flechas--;
return... |
package com.wipro.atm.webdriver.utils;
import java.util.Date;
public class Constants {
private Constants() {
}
public static final String Browser = "chrome";
public static final String OPEN_CART = "http://10.207.182.108:81/opencart/";
public static final String TESTDATAPATH = "./ScenarioData/TestData.xls";
pu... |
public class RecoursionCountDown {
int count;
public static void main(String[] args) {
RecoursionCountDown timer = new RecoursionCountDown();
//option with recursive case
//timer.getCount();
timer.getCountIteration();
timer.showCountDown();
}
public void getCount() {
System.out.print("Enter a pos... |
package com.arkaces.aces_marketplace_api.service_category;
import lombok.Data;
@Data
public class ServiceCategory {
private Long id;
private String name;
private Integer position;
}
|
package com.mx.profuturo.bolsa.service.desk;
import java.util.LinkedList;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import com.mx.profuturo.bolsa.model.desk.data.DatoCompuesto;
import com.mx.profuturo.bolsa.model.desk.data.DatosCompuestosGrafica;
import com.m... |
package databaseManager;
import java.io.File;
import java.sql.Connection;
public abstract class DatabaseManager {
public abstract boolean createFlipBoolean(String name);
public abstract boolean initDirectory();
public abstract boolean flipping(String name);
public abstract void initFlipTable();
}
|
package cn.yami.wechat.demo.service;
import cn.yami.wechat.demo.dao.DemoUserDAO;
import cn.yami.wechat.demo.dto.DemoUser;
import cn.yami.wechat.demo.dto.LoginInfo;
import cn.yami.wechat.demo.enums.CodeMessage;
import cn.yami.wechat.demo.exception.GlobalException;
import cn.yami.wechat.demo.utils.MD5Util;
import cn.yam... |
package com.mideas.rpg.v2.game.spell.list;
import com.mideas.rpg.v2.Sprites;
import com.mideas.rpg.v2.game.spell.Spell;
public class Immolation extends Spell {
private int cd;
public Immolation() {
super(2000, 2000, 800, 0, 0, 0, 3, 0, 902);
name = "Immolation";
sprite = Sprites.spell_immolation;
}
publ... |
package mono.android.app;
public class ApplicationRegistration {
public static void registerApplications ()
{
// Application and Instrumentation ACWs must be registered first.
mono.android.Runtime.register ("BugTracker.Droid.Application, BugTracker.Droid, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"... |
package uk.gov.companieshouse.api.testdata.controller;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import... |
/*******************************************************************************
* Copyright (c) 2012, All Rights Reserved.
*
* Generation Challenge Programme (GCP)
*
*
* This software is licensed for use under the terms of the GNU General Public
* License (http://bit.ly/8Ztv8M) and the provisions of P... |
package dto;
/**
* Created by Esther on 2016/9/2.
*/
public class StudentCV {
public Cv getCv() {
return cv;
}
public void setCv(Cv cv) {
this.cv = cv;
}
public Student getStudent() {
return student;
}
public void setStudent(Student student) {
... |
package com.gdcp.weibo.exceptions;
public class CollectionOperationExeption extends RuntimeException{
/**
* 可以抛出异常 并把与之相关操作事物的数据失效
*/
private static final long serialVersionUID = 1260432742369869569L;
public CollectionOperationExeption(String msg) {
super(msg);
}
}
|
/**
* 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 shapes;
import java.awt.*;
/**
* Created by TAWEESOFT on 4/28/16 AD.
*/
public class Rectangle extends Shape {
private int width,height;
private Color color;
public Rectangle(int x, int y, int width, int height, Color color) {
this.x = x;
this.y = y;
this.width = width;... |
package com.puxtech.reuters.rfa.Common;
import java.util.Date;
public class SubNode implements Comparable<SubNode> {
int index;
String contractCode;
Date attenBeginTime;
Date changeContractTime;
Date attenEndTime;
int diffPricePeriod;
String exchangeCode;
public String getExchangeCode() {
re... |
package day33_arrays;
public class FopLoopWith2Variables {
public static void main(String[] args) {
for(int i =1, j=1; i <=4;i++,j++){
System.out.println("i = "+i+" ,j= " +j);
}
System.out.println("****************2 way for loop***************");
for(int i=0, j =5; ... |
/*
* Copyright (C) 2022-2023 Hedera Hashgraph, LLC
*
* 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 applicab... |
package cn.tedu.service;
public interface UserService {
void deleteUsers(String... ids);
}
|
import edu.princeton.cs.algs4.Digraph;
import edu.princeton.cs.algs4.DirectedCycle;
import edu.princeton.cs.algs4.In;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
public class WordNet {
private HashMap<String, List<Integer>> words = null;
private HashMap<String, String> ids = ... |
package com.base.adev.activity;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import com.ashokvarma.bottomnavigation.BottomNavigationBar;
import com.ashokvarma.bottomnavigation.BottomNavigationItem;
import com.base.adev.R;
im... |
import java.util.TreeSet;
/**
* This program represents the prototype of the Course specification.
* The basic type STUDENT is implemented as a class, Also Courses is a class. See the
* class 'Student', and 'CSDepartment' for its internal details.
* This program uses built in datatypes of HashSets to keep tra... |
package com.tencent.mm.plugin.appbrand.jsapi.live;
import android.os.Bundle;
import com.tencent.mm.plugin.appbrand.page.p.d;
import com.tencent.mm.sdk.platformtools.x;
class b$3 implements d {
final /* synthetic */ AppBrandLivePlayerView fRH;
final /* synthetic */ b fRI;
b$3(b bVar, AppBrandLivePlayerVie... |
package cn.hjf.handyutils;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.support.annotation.Nullable;
/**
* Android Application 信息相关的工具类
* Created by huangjinfu on 2017/6/28.
*/
public fina... |
package Sorting;
import Searching.*;
public class ISSStudent implements Comparable <ISSStudent>{
private String name, address;
private int id;
ISSStudent(String n, String a, int i){
name = n;
address = a;
id = i;
}
public String getName(){
r... |
package adapters;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
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.... |
package com.open.proxy.aop.advisor;
import com.open.proxy.aop.advice.Advice;
import com.open.proxy.aop.pointcut.PointCut;
/**
* @author jinming.wu
* @date 2014-4-7
*/
public class AspectJExpressionAdvisor implements Advisor {
private PointCut pointCut;
private Advice advice;
@Override
public A... |
package com.rca_gps.app.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* Created by wafer on 2016/12/6.
*/
public class HistoryInfo implements Serializable{
private List<Message> caseInfos = new ArrayList<>();
public List<Message> getCaseInfos() {
return... |
package manju;
import java.util.Scanner;
public class Arthmatic {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
//System.out.print("Case #" + (cases+1) + ": ");
int n = scan.nextInt();
int[] a = new int[n];
for(int i = 0; i < n; i++) {
a[i] = scan.nextInt(... |
package com.encore.board.controller;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.s... |
/*
* 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.dao.adan.impl;
import java.util.List;
import org.springframework.stereotype.Repository;
import pe.gob.onpe.ad... |
/*
* UniTime 3.4 - 3.5 (University Timetabling Application)
* Copyright (C) 2012 - 2013, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* ... |
package com.zhowin.miyou.mine.activity;
import android.view.View;
import com.zhowin.base_library.utils.ActivityManager;
import com.zhowin.miyou.R;
import com.zhowin.miyou.base.BaseBindActivity;
import com.zhowin.miyou.databinding.ActivityMyGuildBinding;
/**
* 我的公会
*/
public class MyGuildActivity extends BaseBindAc... |
package servlet;
import bean.Order;
import bean.OrderItem;
import bean.User;
import dao.OrderDao;
import dao.OrderItemDao;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOExcepti... |
package org.quarkchain.web3j.protocol.core.response;
import java.io.IOException;
import java.util.List;
import java.util.Optional;
import org.quarkchain.web3j.protocol.ObjectMapperFactory;
import org.quarkchain.web3j.protocol.core.Response;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.c... |
package demoinclusionlibrairie;
public class DemoInclusionLibrairie {
public static void main(String[] args) {
System.out.println("5 + 1000000 = ");
System.out.println("5 - 7 = ");
System.out.println("premier commit");
}
} |
/*
* Copyright (C) 2001 - 2015 Marko Salmela, http://fuusio.org
*
* 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 com.situ.student.service;
import java.util.List;
import com.situ.student.controller.BanjiSearchCondition;
import com.situ.student.controller.PageBean;
import com.situ.student.controller.StudentSearchCondition;
import com.situ.student.entity.Banji;
import com.situ.student.entity.Student;
public interface IBan... |
package driver;
public class ConfusionMatrix {
private int size;
private int[][] matrix;
/**
* Creates a zeroed confusion matrix of specified size nxn.
*
* @param size The width/height of the confusion matrix.
*/
public ConfusionMatrix(int size) {
this.size = size;
matrix = new int[size][size];
}... |
package com.progoth.synchrochat.client.gui.controllers;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.core.client.Scheduler.ScheduledCommand;
import com.google.gwt.regexp.shared.MatchResult;
import com.google.gwt.regexp.shared.RegExp;
import com.google.gwt.user.client.Window;
import com.progoth.sy... |
package com.shopify.order.popup;
import lombok.Data;
@Data
public class Pair {
private int divisor;
private int divisorCount;
public Pair(Integer divisor, int divisorCount) {
this.divisor = divisor;
this.divisorCount = divisorCount;
}
}
|
package com.shafear.notes.mvp.presenter;
import android.content.Intent;
import com.shafear.notes.global.G;
import com.shafear.notes.mvp.model.MNotes;
import com.shafear.notes.mvp.view.VNotesList;
import com.shafear.notes.xnotes.XNotes;
/**
* Created by shafe_000 on 2015-02-08.
*/
public class PShowNotes {
pub... |
/**
*Het scherm waar de applicatie op draait
*
* @Madelon
* @1.0
*/
import javax.swing.*;
class GUIMinesweeper extends JFrame {
JPanel game;
int width;
int height;
public GUIMinesweeper(int rows, int columns) {
height = rows;
width = columns;
setContentPane( new MyGridLayout(height, width) ); /... |
package java.awt;
public abstract class Image {
} |
/**
* Solutii Ecommerce, Automatizare, Validare si Analiza | Seava.ro
* Copyright: 2013 Nan21 Electronics SRL. All rights reserved.
* Use is subject to license terms.
*/
package seava.ad.domain.impl.security;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Entity;
import javax.pe... |
package cn.bs.zjzc.ui;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import android.util.Log;
import android.view.Grav... |
package com.eric.tools.file;
import com.eric.tools.decode.APKTool;
import com.eric.tools.time.TimeConvert;
import java.time.Duration;
import java.time.Instant;
/**
* @ClassName: FileRunnable
* @Description: 实现了Runnable接口的多线程文件操作类
* @Author: Eric
* @Date: 2019/3/7 0007
* @Email: xiao_cui_vip@163.com
*/
//该类暂时... |
package serverframe_listener;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Reader;
... |
package com.prokarma.reference.architecture.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Presale {
@SerializedName("startDateTime")
@Expose
public String startDateTime;
@SerializedName("endDateTime")
@Expose
public String end... |
package pageObject;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.remote.RemoteWebDriver;
//1st web pages's POM
public class loginHome {
public WebDriver driver;
public loginHome(WebDriver driver) {
this.driver = driver;
}... |
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Arrays;
/**
@author <<author name redacted >>
Purpose: Homework assignment 1, sorting a table object to test its functionalities
*/
public class TableSorter{
static int counte... |
package edu.ssafy.root.dao;
import java.util.List;
import edu.ssafy.root.food.Food;
import edu.ssafy.root.member.Member;
import edu.ssafy.root.member.MemberDetail;
import edu.ssafy.root.member.eatListDTO;
public interface MemberDAO {
public boolean add(Member m);
public boolean modify(Member m);
public void dele... |
package com.changhui.demo1;
public enum CountryEnums {
ONE(1, "韩"), TWO(2, "魏"), Three(3, "赵"), FOUR(4, "齐"), FIVE(5, "楚"), SIX(6, "燕");
private Integer retCode;
private String retMsg;
private CountryEnums(Integer retCode, String retMsg) {
this.retCode = retCode;
this.retMsg = retMs... |
package shiro;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.SimpleAuthenticationInfo;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.authz.Authoriza... |
package cn.uway.config;
import java.io.File;
import java.util.List;
/**
* 配置文件读取器<br>
* 主要是把配置文件中配置的bean对象读取为Map,提供对象转换器将map转换为实例对象。
*
*
* @ClassName: ConfigReader
* @author Niow
* @date: 2014-6-18
*/
public interface ConfigReader{
/**
* 把一个配置文件中配置的所有Bean读取到内存中<br>
*
* @param file 文件对象
* @return ... |
/**
* Copyright (C) 2011-2013 BonitaSoft S.A.
* BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 of the License, or
... |
package com.ehootu.sys.service;
import com.ehootu.sys.entity.ErrorDistanceSettingEntity;
import java.util.List;
import java.util.Map;
/**
* 误差距离设置
*
* @author zhangyong
* @email zhangyong@ehootu.com
* @date 2018-03-05 14:40:03
*/
public interface ErrorDistanceSettingService {
ErrorDistanceSettingEntity que... |
package com.top.demo.modules.service;
import com.top.demo.modules.pojo.RoleDO;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 角色表 服务类
* </p>
*
* @author lth
* @since 2019-10-17
*/
public interface RoleService extends IService<RoleDO> {
}
|
package co.usa.ciclo3.ciclo3.repository.crud;
import co.usa.ciclo3.ciclo3.model.Reservation;
import org.springframework.data.repository.CrudRepository;
public interface ReservationCrudRepository extends CrudRepository<Reservation, Integer> {
}
|
package com.njupt.ws_cxf_spring.ws.bean;
public class Data {
int dataID;
String value;
String type;
String devKey;
String saveTime;
public Data() {
super();
// TODO Auto-generated constructor stub
}
public Data(int dataID, String value, String type, String devKey, String saveTime) {
super();
this.dataI... |
package backjoon.sortion;
import java.io.*;
public class Backjoon2751 {
private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
private static final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
private static int[] arr;
private stat... |
package com.example.demo.common.ExceptionHandler;
public class CustomException extends RuntimeException {
public String message;
public Integer code;
public CustomException(CustomExceptionEnum customExceptionEnum){
this.message = customExceptionEnum.message;
this.code = customExceptionE... |
/*
* 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 gui.view;
import bl.AppException;
import bl.UserInterface;
import bl.UserRepository;
import bl.EntMngClass;
import ejb.Users;
... |
/*
* Copyright © 2018 tesshu.com (webmaster@tesshu.com)
*
* 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 require... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.