text stringlengths 10 2.72M |
|---|
package com.sandrapenia.ui.design;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
imp... |
package com.lovers.java.mapper;
import com.lovers.java.domain.LoversSpace;
import com.lovers.java.domain.LoversSpaceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface LoversSpaceMapper {
/**
* This method was generated by MyBatis Generator.
* This method corres... |
package net.undergroundim.server;
import java.awt.Color;
import java.awt.Toolkit;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTextPane;
import javax.swing.text.BadLocationException;
import javax.swing.text.Style;
import javax... |
/*
* 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 domain;
/**
*
* @author Marcos
*/
public class Genero {
private Integer idGenero;
private String nombreGenero;... |
package com.example.yuanbaodianfrontend.serviceImpl;
import com.example.yuanbaodianfrontend.dao.ExchanageMallDao;
import com.example.yuanbaodianfrontend.pojo.YbdExchanageMall;
import com.example.yuanbaodianfrontend.service.ExchanageMallService;
import org.springframework.beans.factory.annotation.Autowired;
import org.... |
package edu.asu.commons.command;
public abstract class OrderedCommand implements Command {
private volatile static long hash = 0;
private final long creationTime = System.nanoTime();
private final long ordinal = hash++;
public int compareTo(OrderedCommand command) {
int comparison = compare... |
package ca.oneroof.oneroof.ui.purchase;
import android.content.Context;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.CompoundButton;
import android.wi... |
import java.awt.Robot;
import java.util.Random;
public class FirstClass {
public static final int timeInterval = 5000;
public static final int yAxis = 800;
public static final int xAxis = 800;
public static void main(String[] args) throws Exception {
Robot robot = new Robot(... |
package coin.coininventory.repo;
import coin.coininventory.entity.SubLocation;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface SubLocationRepo extends JpaRepository<SubLocation, Long> {
}
|
package com.brajagopal.rmend.data.beans;
import org.apache.commons.collections4.MapUtils;
import org.apache.commons.lang3.StringUtils;
import java.util.Map;
/**
* @author <bxr4261>
*/
public class EntitiesBean extends BaseContent {
private double relevance;
public EntitiesBean() {
this(ContentTyp... |
package com.ican.ipay.util;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import or... |
/**
*
*/
package com.android.aid;
import android.content.Context;
/**
* @author wangpeifeng
*
*/
public class ReqRunningTrackerDelegate extends ServiceActionDelegate {
public static final String EXTRA_RUNNING_TRACKER = "running_tracker";
public ReqRunningTrackerDelegate(Context context, String requestActi... |
public class two{
public static void main(String[] args){
for(int i = 0; i < 15; i++){
System.out.println("Hei, DAPE1400/ITPE1400");
}
}
} |
public class Main3_3 {
public static void main(String[] args) {
int[][] matrix = {
{8, 1, 6},
{3, 5, 7},
{4, 9, 0},
};
for (int i=0;i<3;i++){
for (int j: matrix[i]){
System.out.print(j);
};
System.out.p... |
package collisions;
import gameobjects.BasicObject;
import org.newdawn.slick.geom.Rectangle;
import org.newdawn.slick.geom.Shape;
import world.LevelBuilder;
import world.Sector;
import world.SectorMap;
/*
* Provides information about physically collideable
* Objects in a level;
*
*/
public class PhysicalCol... |
package com.github.olly.workshop.imagethumbnail.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.springframework.data.annotation.Id;
public class Image {
@Id
private String id;
private String contentType;
private String name;
@JsonIgnore
private byte[] data;
public I... |
package com._520it.web.product;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse... |
package br.edu.infnet.appSistemaEspecialistaEmFreios.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotatio... |
package solid;
import shop.customers.Customer;
import shop.customers.Order;
import java.util.List;
import java.util.stream.Stream;
public class SolidMain {
public static void main(String[] args) {
Order order = new Order("1");
order.addItem(10, 5);
order.addItem(1, 12);
order.add... |
package org.ljm.runner;
import org.springframework.boot.CommandLineRunner;
import org.springframework.context.annotation.Configuration;
/**
* @Project MyWebProject
* @ClassName MyCommandLineRunner2
* @Description TODO
* @Author random
* @Date Create in 2018/4/4 14:47
* @Version 1.0
**/
@Configuration
public cl... |
package com.emg.projectsmanage.pojo;
import java.util.Date;
public class ProjectsUserModel {
private String id;
private String pid;
private Integer userid;
private String username;
private Integer roleid;
private String rolename;
private Date optime;
private Integer opuid;
private In... |
package de.codecentric.cxf;
import com.sun.tools.xjc.api.XJC;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.maven.execution.MavenSession;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.BuildPluginManager;
import org.apache.maven.plug... |
package com.cb.cbfunny.activity;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.Vi... |
package com.hfjy.framework.net.http.entity;
public class DefaultControllerConfig implements ControllerConfig {
@Override
public String getCharacterEncoding() {
return "UTF-8";
}
@Override
public String getPrefix() {
return "";
}
@Override
public String getSuffix() {
return "";
}
... |
/**
* Sencha GXT 1.0.0-SNAPSHOT - Sencha for GWT
* Copyright (c) 2006-2018, Sencha Inc.
*
* licensing@sencha.com
* http://www.sencha.com/products/gxt/license/
*
* ================================================================================
* Commercial License
* ============================================... |
package com.zc.base.sys.modules.language.repository;
import com.zc.base.orm.mybatis.annotation.MyBatisRepository;
import com.zc.base.sys.modules.language.entity.Language;
import java.util.List;
@MyBatisRepository("languageDao")
public abstract interface LanguageDao {
public abstract List<Language> getAl... |
package servlets;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletR... |
package com.git.cloud.cache;
public abstract interface CacheProvider
{
public abstract Cache buildCache(String paramString)
throws CacheException;
}
|
/*
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package org.shazhi.businessEnglishMicroCourse.entity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.DynamicUpdate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import javax.persistence.*... |
package com.zut.lcy.mybatisplus.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
/**
* <p>
*
* </p>
*
* @author lcy
* @since 2019-12-17
*/
public class User e... |
package com.syl.orders.service;
import com.syl.model.goods.Goods;
import com.syl.model.orders.Orders;
import java.util.List;
public interface OrdersService {
List<Orders> get();
int insert(Orders orders,List<Goods> goods);
}
|
package com.kymjs.event;
final class PendingPostQueue {
private PendingPost head; //待发送对象队列头节点
private PendingPost tail;//待发送对象队列尾节点
/**
* 入队
*/
synchronized void enqueue(PendingPost pendingPost) {
if (pendingPost == null) {
throw new NullPointerException("null cannot be... |
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.geom.Rectangle2D;
import java.awt.image.BufferedImage;
import java.io.File;
import javax.imageio.ImageIO;
import javax.swing.GroupLayout.Alignment;
import javax.swing.JPanel;
public class Screen extends JPanel{
public Scr... |
/*
Copyright 2015 Alfio Zappala
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, software... |
package com.epam.mentor.bean;
import java.util.Date;
public class MentorBean {
private String Name;
private String Email;
private Date mentorStartDate;
private Date mentorEndDate;
private int maxNoOfMentees;
private String technologyStream;
private String Status;
/* public MentorBean(String Name,... |
package com.test;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import com.test.base.Solution;
/**
* 虽然 leetcode 通过了,但本机的内存溢出了。。而且是高通过率,所以觉得没啥必要这题
* Exception
* java.lang.OutOfMemoryError: GC overhead limit exceeded
*
*
* @author YLine
*
* 2019年12月25日 上午... |
package ch.usz.fhirstack.dataqueue.jobs;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.birbit.android.jobqueue.Job;
import com.birbit.android.jobqueue.Params;
import com.birbit.android.jobqueue.RetryConstraint;
import ch.usz.fhirstack.FHIRStack;
import ch.usz.fhirs... |
package com.group.etoko.util;
public interface Constants {
String USER = "USER";
String DELIVERY_HOME="DELIVERY_HOME";
String DELIVERY_PICKUP_STORE="DELIVERY_PICKUP_STORE";
String DELIVERY_EMERGENCY="DELIVERY_EMERGENCY";
String PAYMENT_CASH_ON="PAYMENT_CASH_ON";
String PAYMENT_BKASH="PAYMENT_B... |
package com.hussain.project1.controller;
import com.hussain.project1.model.BaseResponse;
import com.hussain.project1.model.UserDetailRequest;
import com.hussain.project1.model.UserDetailResponse;
import com.hussain.project1.service.UserService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
impor... |
package encapsule;
/**
* @file_name : MaxMinMain.java
* @author : dingo44kr@gmail.com
* @date : 2015. 9. 22.
* @story : 최고점, 최저점 구하기
*/
import java.util.Scanner;
public class MaxMin1 {
/**
* "학생들 평균 점수를 입력하시면 1등과 최고점, 최저점이 출력됩니다."
* "단, 정원은 5명입니다."
*/
public static void main(Stri... |
package com.example.kimnamgil.testapplication.widget;
import android.content.Context;
import android.widget.FrameLayout;
import android.widget.TextView;
import com.example.kimnamgil.testapplication.R;
import com.example.kimnamgil.testapplication.data.Comment;
/**
* Created by kimnamgil on 2016. 7. 16..
*/
public c... |
package it.unical.dimes.processmining.test;
import it.unical.dimes.processmining.core.CNMining;
import it.unical.dimes.processmining.core.Constraint;
import it.unical.dimes.processmining.core.ConstraintParser;
import it.unical.dimes.processmining.core.Edge;
import it.unical.dimes.processmining.core.Forbidden;
i... |
package com.icanit.app_v2.common;
public interface UriConstants {
String FIND_CATEGORY_HIERARCHY="category!findCategoryHierarchy";
String FIND_CATELIST_BY_MERID="category!findCateListByMerId";
String COMMUNITY_PAGINATION="community!listCommunitiesByPagination";
String COMMUNITY_BYAREAID="community!listCommun... |
package fj.swsk.cn.eqapp.subs.more.Common;
import android.content.Context;
import android.content.Intent;
import fj.swsk.cn.eqapp.subs.collect.C.PendingSubmissionActivity2;
import fj.swsk.cn.eqapp.subs.collect.C.SubmissionHisActivity2;
import fj.swsk.cn.eqapp.subs.more.C.EQHisActivity;
import fj.swsk.cn.eqapp.subs.mo... |
package com.pointinside.android.api;
import android.content.ContentResolver;
import android.content.Context;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.database.ContentObserver;
import android.location.Location;
import android.net.Uri;
import android.os.Handl... |
package com.lsjr.zizi.chat.bean;
/**
* 创建人:$ gyymz1993
* 创建时间:2017/9/13 10:50
*/
public class UploadAvatar {
/**
* data : {"oUrl":"http://dev.zizi.com.cn/avatar/o/12/12.jpg","tUrl":"http://dev.zizi.com.cn/avatar/t/12/12.jpg"}
* resultCode : 1
*/
private DataBean data;
private int resu... |
import java.util.Random;
import java.util.Scanner;
public class GameManager {
public void play() {
Player[] player = {new PlayerType1("매"), new PlayerType1("닭"), new PlayerType1("오리"), new PlayerType2("참새"), new PlayerType1("독수리")};
Player[] enemy = {new PlayerType1("정어리"), new PlayerType1("참치"), new PlayerType1(... |
/*
* 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 codevita;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.u... |
package com.esum.comp.sftp.server.auth;
import java.io.File;
import java.security.PublicKey;
import java.security.interfaces.RSAPublicKey;
import org.apache.sshd.common.KeyPairProvider;
import org.apache.sshd.server.PublickeyAuthenticator;
import org.apache.sshd.server.session.ServerSession;
import org.bouncycastle.j... |
package Productos;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
import java.sql.Connection;
import java.sql.Date;
import java.sql.ResultSet;
import java.sql.Statement;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.GregorianCalendar;
import javax.swing.ImageIcon;
i... |
package cn.xeblog.xechat.utils;
import cn.xeblog.xechat.domain.mo.User;
import cn.xeblog.xechat.domain.ro.MessageRO;
import cn.xeblog.xechat.enums.CodeEnum;
import cn.xeblog.xechat.exception.ErrorCodeException;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.lang3.ArrayUtils;
import org.a... |
package br.com.porquesim.eventmanager;
public class TesteEvent extends Event {
public TesteEvent(Object source) {
super(source);
}
private static final long serialVersionUID = 1L;
}
|
package com.zeroentropy.game.handler.enemy;
import java.util.Arrays;
import org.andengine.util.math.MathUtils;
import com.zeroentropy.game.sprite.Enemy;
import com.zeroentropy.game.sprite.Player;
public class JellyfishHandler implements IEnemyHandler {
// private PhysicsHandler mHandler;
// private int mType = 0;... |
package com.CollectionFramework_Concept;
import java.util.HashMap;
import java.util.Map;
/*Java HashMap class implements the map interface by using a hashtable.
* It inherits AbstractMap class and implements Map interface.
* A HashMap contains values based on the key.
* It contains only unique elements.
* It may... |
package tp.pr2;
import java.io.IOException;
import java.util.Scanner;
import tp.pr2.control.Controlador;
import tp.pr2.logica.Partida;
public class Main {
public static void main(String[] args) throws IOException {
Partida partida=new Partida();
Scanner in=new Scanner(System.in);
Controlador controller=... |
/**
* This class is generated by jOOQ
*/
package schema.tables;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.... |
package com.jvinix.iy4s;
import android.app.Application;
public class Program extends Application {
public static String TOKEN = "";
}
|
package com.gaoshin.top;
public enum ShortcutType {
Launch,
Info,
Delete,
Kill, ;
}
|
package com.midea.thread;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;
//读写锁的概念就是共享锁 和 排它锁(互斥锁)
//读锁只对读共享 不对写共享 写是全部都排斥
public class ReadWriteLockTest {
static Lock lock =new ReentrantLock();//重入锁是排它锁
stat... |
package watchhome.play.yale.phonecamera.watchhome.play.yale.phonecamera.activity;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.ImageFormat;
import android.hardware.Camera;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view... |
package net.tascalate.concurrent;
import java.util.concurrent.Callable;
import java.util.concurrent.Executor;
import java.util.concurrent.RunnableFuture;
public class CompletableTask<T> extends AbstractCompletableTask<T> implements RunnableFuture<T> {
public CompletableTask(final Executor executor, Callable<T> c... |
package com.spring.controllers;
/*
301016383 - Julio Vinicius A. de Carvalho
November 17, 2019
*/
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import javassist.NotFoundException;
import org.springframework.security.access.annotation.Secured;
import org.spring... |
package com.airlineeticketing.airlineeticketingplatform.domain;
import javax.persistence.Entity;
@Entity
public class Service extends Abstract {
private String serviceName;
private int serviceFee;
public String getServiceName() {
return serviceName;
}
public void setServiceN... |
package ru.hse.servers.architectures;
import ru.hse.servers.Client;
import ru.hse.servers.Constants;
import ru.hse.servers.TestConfig;
import ru.hse.servers.Utils;
import ru.hse.servers.protocol.message.Message;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.EOFException;
import java.... |
package com.cloudaping.cloudaping.enums;
public enum ResultEnum {
param_erro(1,"参数错误"),
product_not_exist(10,"商品不存在"),
product_stock_not_enough(11,"库存不足"),
order_not_exist(12,"订单不存在"),
orderdetail_is_empty(13,"订单为空"),
order_status_not_right(14,"订单状态不允许"),
order_update_fail(15,"订单更新失败"),
... |
package arrival.storm;
import arrival.util.EventTypeConst;
import backtype.storm.Config;
import backtype.storm.LocalCluster;
import backtype.storm.topology.TopologyBuilder;
import org.apache.mina.core.future.ConnectFuture;
import org.apache.mina.core.service.IoConnector;
import org.apache.mina.core.service.IoHandlerAd... |
package lab3;
import junit.framework.TestCase;
import lab2.FullTimeEmployee;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
/**
* Created by ran on 1/28/16.
*/
public class FibonacciUserTest extends TestCase{
@Before
public void setUp(){
}
@After
public void tearDown() throws Except... |
package net.datacrow.console.menu;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import net.datacrow.console.ComponentFactory;
import net.datacrow.console.components.DcPictureField;
import net.datacrow.core.IconLibrary;
import net.datacrow.core.resources.DcResources;
public cla... |
package com.legaoyi.protocol.server;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import com.legaoyi.common.message.ExchangeMessa... |
package com.sshfortress.common.model;
/**
* <p class="detail">
* 功能:当前登录的dstIp相关信息
* </p>
* @ClassName: ListByLoginDstIp
* @version V1.0
*/
public class ListByLoginDstIp implements java.io.Serializable{
private static final long serialVersionUID = 7966867369356920944L;
/** 国家中文名 */
private String countr... |
package james.pattern.behavioral.rule;
public class RuleA implements IRule {
private boolean result;
RuleA(boolean result) {
this.result = result;
}
@Override
public boolean isMatch(SomeThing someThing) {
boolean result = this.result;
System.out.println("Execute RuleA :" ... |
package net.undergroundim.server;
/**
*
* @author Troy
*
*/
public class TimeOut extends Thread{
private final int UPDATE_RATE = 1;
private final long UPDATE_PERIOD = 300000L / UPDATE_RATE;
private long beginTime, timeTaken, timeLeft;
public boolean running = false;
/**
* This class will timeout the My... |
import java.awt.Color;
public class Ball extends Sprite{
private static final int BALL_WIDTH = 25;
private static final int BALL_HEIGHT = 25;
private static final Color BALL_COLOUR = Color.BLACK;
public Ball(int panelWidth, int panelHeight) {
setWidth(BALL_WIDTH);
setHeight(BALL_HEIGHT);
... |
package com.yidatec.weixin.mail;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* 发邮件用
* @author Lance
*
*/
public class MailEntity {
private String from = null;
private String[] to = null;
private String[] cc = null;
private String[] bcc = null;
private Strin... |
package com.ytdsuda.management.controller;
import com.ytdsuda.management.VO.ResultVO;
import com.ytdsuda.management.entity.RecentSummary;
import com.ytdsuda.management.entity.TotalInfo;
import com.ytdsuda.management.repository.RecentSummaryRepository;
import com.ytdsuda.management.service.TotalInfoService;
import org.... |
package com.leverx.animals.service;
import com.leverx.animals.entity.Animal;
import com.leverx.animals.exception.NotFoundException;
import com.leverx.animals.repository.AnimalRepository;
import com.leverx.animals.repository.AnimalRepositoryImpl;
import java.util.List;
public class AnimalServiceImpl implements Animal... |
package me.sh4rewith.domain;
import javax.validation.constraints.NotNull;
import me.sh4rewith.utils.DigestUtils;
public class UserInfo {
private final String userHash;
private final String id;
private final String email;
private final String firstname;
private final String lastname;
private final String... |
/*
* PsStateCallback.java
*
* All Rights Reserved, Copyright(c) FUJITSU FRONTECH LIMITED 2013
*/
package com.fujitsu.frontech.palmsecure_smpl;
import com.fujitsu.frontech.palmsecure_smpl.xml.PsFileAccessorLang;
import com.fujitsu.frontech.palmsecure.*;
import com.fujitsu.frontech.palmsecure.util.*;
... |
package io.github.satr.aws.lambda.bookstore.ask.handlers;
// Copyright © 2020, github.com/satr, MIT License
import com.amazon.ask.dispatcher.request.handler.HandlerInput;
import com.amazon.ask.dispatcher.request.handler.RequestHandler;
import com.amazon.ask.model.Response;
import org.slf4j.Logger;
import java.util.Op... |
package servlet;
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 modelo.Noticia;
import modelo.NoticiaDAO;
@WebServl... |
package org.itachi.cms.beans;
import org.hibernate.validator.constraints.Range;
import javax.validation.constraints.Size;
import java.io.Serializable;
/**
* Created by itachi on 2017/5/14.
* User: itachi
* Date: 2017/5/14
* Time: 17:00
*/
public class ValidBean implements Serializable {
@Range(min = 1L, max... |
package dao;
import models.User;
import java.util.List;
public interface UsersDao extends BaseCrudDao<User> {
List<User> findAllByAge(int age);
User findByIdWithPets(int id);
}
|
package com.programapprentice.app;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* User: program-apprentice
* Date: 10/4/15
* Time: 6:35 PM
*/
public class MinimumSizeSubarraySum_Test {
MinimumSizeSubarraySum_209 obj = new MinimumSizeSubarraySum_209();
@Test
public void test... |
package com.gxtc.huchuan.ui.common.reprot;
import com.gxtc.commlibrary.BasePresenter;
import com.gxtc.commlibrary.BaseUiView;
import com.gxtc.commlibrary.data.BaseSource;
import com.gxtc.huchuan.http.ApiCallBack;
import java.util.HashMap;
/**
* Describe:
*
*/
public class ReportContract {
public interface Vi... |
package web;
import java.util.ArrayList;
import java.util.List;
import metier.Produit;
public class ProduitModel {
private String motCle;
private Produit produit = new Produit();
private List<Produit> produits = new ArrayList<Produit>();
private String error;
private String sucess;
private String saveORedi... |
import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.input.KeyCode;
... |
/*
* HabitEventDetailsActivity
*
* Version 1.0
*
* November 25, 2017
*
* Copyright (c) 2017 Team 26, CMPUT 301, University of Alberta - All Rights Reserved.
* You may use, distribute, or modify this code under terms and conditions of the Code of Student Behavior at University of Alberta.
* You can find a copy ... |
package com.example.demo;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBoo... |
package plugins.fmp.fmpTools;
import java.util.ArrayList;
import plugins.fmp.fmpSequence.Experiment;
public class XLSExportCapillariesOptions {
public boolean topLevel = true;
public boolean bottomLevel = false;
public boolean derivative = false;
public boolean consumption = false;
public boolean su... |
package com.movietime.dataAccessLayer;
import com.movietime.exceptions.EmailUsedException;
import com.movietime.exceptions.PersistingFailedException;
import com.movietime.exceptions.UsernameUsedException;
import com.movietime.entities.UsersEntity;
import org.springframework.stereotype.Repository;
import javax.persist... |
package com.zundrel.ollivanders.common.items;
import com.zundrel.ollivanders.Ollivanders;
import com.zundrel.ollivanders.api.cores.ICore;
import com.zundrel.ollivanders.api.registries.CoreRegistry;
import com.zundrel.ollivanders.api.registries.WoodRegistry;
import com.zundrel.ollivanders.api.wands.EnumWandQuality;
imp... |
package com.shangdao.phoenix.entity.report.BO;
import com.shangdao.phoenix.enums.Color;
import java.util.Objects;
/**
* 分析评估项
*
* @author huanghengkun
* @date 2018/01/09
*/
public class RiskItem {
private String content;
private Color color;
public String getContent() {
return content;
... |
/*
* Copyright (C) 2017 GetMangos
*
* 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
* of the License, or (at your option) any later version.
*
* This program is... |
package com.djtracksholder.djtracksholder.ui;
import java.util.ArrayList;
import java.util.Locale;
import android.app.ActionBar;
import android.app.FragmentTransaction;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import androi... |
package task_introduction;
public class Mathematical {
/**
* Greatest common divisor. Returns the GCD of two numbers.
* @param a number
* @param b number
* @return gcd(a, b)
*/
public static int gcd(int a, int b){
if(a == 0 || a == b){
return b;
}
i... |
package com.nextLevel.hero.mngPay.model.dto;
import java.sql.Date;
public class MngPayListDTO {
private int companyNo;
private int memberNo;
private String memberName;
private int idNo;
private String departmentName;
private String rank;
private String salaryStep;
private String yearAndMonth;
... |
package com.gxtc.huchuan.bean;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class DealTypeBean implements Serializable {
private static final long serialVersionUID = 1L;
private int id;
private String typeCode;
private String typeName;
private String is... |
package com.example.mvvm_livedata.view.callback;
import com.example.mvvm_livedata.model.Project;
public interface ProjectClickCallback {
void onClick(Project project);
}
|
package com.pykj.springmvc.controller;
import com.pykj.springmvc.entity.Users;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
@Controller
@RequestMapping(value = "/index")
public class HelloHandler {
@RequestMapping(value = "/index", method = RequestMethod.GET... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.