text stringlengths 10 2.72M |
|---|
package com.swjt.xingzishop.enums;
import lombok.Getter;
@Getter
public enum RandCode {
EMAIL("email-code"),
PHONE("phone-code"),
PHONE_NUMBER("phone-number"),
EMAIL_NUMBER("email-address"),
CAPTCHA("captcha");
private String type;
RandCode(String type) {
this.type = type;
}... |
public class SoundTest {
public static void main(String[] args) {
int[] values = {0,0,25,300,-400,26,0,-555,16,333,0,0,0};
Sound sound1 = new Sound(values);
System.out.println(sound1);
int changes = sound1.limitAmplitude(200);
System.out.println("Number of changes made: " + changes);
System.out.... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
TerminalImpl terminal = new TerminalImpl();
int pin = 0;
while (true) {
System.out.print("Введите pin: ");
pin = scanner.nextInt(... |
package factories;
import domain.Lecturer;
import java.util.Map;
/**
* Created by rodrique on 8/11/2017.
*/
public class LecturerFactory
{
public static Lecturer getStudent(Map<String,String> values, int empNo)
{Lecturer lecturer = new Lecturer.Builder()
.empNo(empNo)
... |
package com.wkrzywiec.spring.library.validation;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import org.springframework.stereotype.Component;
@Component
public class PhoneNumberValidator
implements ConstraintValidator<PhoneNumber, String>{
@Overri... |
/**
* Created by Adolph on 2017/8/11.
*/
public class chapter4_11_1 {
public static void main(String[] args){
System.out.println("fd");
int a = 1;
if (a==1){
System.out.println("正确!");
}else{
System.out.println("错误!");
}
}
}
|
/*
* Copyright 2002-2022 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 com.trump.auction.web.vo;
import java.util.Date;
import java.util.List;
import org.springframework.web.util.HtmlUtils;
import com.cf.common.utils.DateUtil;
import com.trump.auction.web.util.Base64Utils;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@ToString
public class AppraisesVo {... |
package main;
import modelo.Casa;
import modelo.ConstrutorCasa;
import modelo.ConstrutorPredio;
import modelo.Diretor;
import modelo.Predio;
public class Cliente {
public static void main(String[] args){
//Não Obrigatório
ConstrutorPredio cP = new ConstrutorPredio();
ConstrutorCasa cC = new ... |
package be.openclinic.finance;
import be.openclinic.common.OC_Object;
import be.openclinic.common.ObjectReference;
import be.mxs.common.util.db.MedwanQuery;
import be.mxs.common.util.system.Debug;
import be.mxs.common.util.system.ScreenHelper;
import java.sql.Connection;
import java.sql.Timestamp;
import java.sql.Pre... |
package com.example.demo.metier;
import org.springframework.data.rest.core.config.Projection;
@Projection(name="P1", types=Produit.class)
public interface ProduitProjection {
public String getDesignation();
public double getPrix();
public Long getId();
}
|
package com.alex.eat;
import java.util.*;
public class CabbageBasketCollection implements Weigh {
private Set<Cabbage> cabbages;
private int size;
public CabbageBasketCollection(int size) {
this.cabbages = new HashSet<>(size);
this.size = size;
}
public void addCabba... |
package nightgames.status;
import nightgames.characters.Character;
public interface Resistance {
String resisted(Character character, Status s);
}
|
package com.esum.comp.sftp.server.session;
import java.io.File;
import java.util.Calendar;
import com.esum.framework.FrameworkSystemVariables;
import com.esum.framework.common.util.SysUtil;
public class UpdateServerLock {
private Object lock = new Object();
/** server.lock파일을 업데이트 한다. 서버 lock 파일이 업데이트 되지 않으면, ... |
package com.zantong.mobilecttx.interf;
import com.zantong.mobilecttx.base.interf.IBaseView;
/**
* Created by zhengyingbing on 16/6/1.
*/
public interface UserInfoUpdateView extends IBaseView{
String getOrderType();
void showProgress();
void updateView(Object object, int index);
void hideProgress();... |
package oop.practice;
/**
* Created by Roman on 16.08.2016.
*/
public class HospitalManagement {
// this class will call upon employees to do expected duties.
// upper management should be able to order all kinds of employees to perform expected duties.
public void callUpon(Employee employee){
... |
package com.cqut.dto;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotEmpty;
import com.cqut.model.OperatorExtra;
import com.cqut.util.BeanUtil;
public class OperatorDTO {
@Size(max=30)
private String Id;
@Size(max=30)
private String userId;//运营中心对应的用户Id
@Size(ma... |
// Generated from C:/Users/georg/Documents/GitHub/endless-ql/ForcePush/src/main/java/org/uva/forcepushql/parser\GrammarLexer.g4 by ANTLR 4.7
package org.uva.forcepushql.parser.antlr;
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.Token;
import org.antlr.v4.runtime... |
/*
* Copyright 2014 Brian Roach <roach at basho dot 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 required by a... |
package cc.ipotato.socket;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.SocketException;
/**
* Created by haohao on 2018/5/10.
*/
public class UdpReceive {
public static void main(String[] args) throws IOException {
DatagramSocke... |
package com.lirong.nacosprovider.controller;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController... |
package com.example.workstudy.service.impl;
import com.example.workstudy.service.Life;
public class LifeImpl implements Life {
@Override
public void bath() {
System.out.println("bath");
}
@Override
public void washHands() {
System.out.println("washHands");
}
@Override
... |
package com.example.procrastinator.tools.tools;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.content.Context;
import android.os.AsyncTask;
import android.os.Handler;
import android.view.View;
import android.view.Window;
import android.widget.ProgressBar;
import android.widget.Rela... |
package it.ialweb.poi.it.ialweb.poi.fragments;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import andr... |
package com.getroadmap.r2rlib.parser;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import java.lang.reflect.Type;
import com.getroadmap.r2rlib.models.DayFlags;
/**
* Created by jan on 28/08... |
import java.io.*;
import java.util.ArrayList;
import java.util.List;
// +------------------------------------------------------------+
// | |
// | Replaces flags in a XML document using a .txt file, |
// | located in the root directory, con... |
package cn.kgc.domain;
public class Vehicle {
private Integer id;
private String brand;
private String type;
private String driveType;
private Integer seat;
private Integer rentMoney;
private String quality;
private String license;
private String img;
private String owner;
private String safety... |
package de.uulm.in.vs.grn.c1;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class NumberGuessingGameThreadedServer {
public static int clientCount = 0;
public static void main(String... |
package com.mycompany.myapp.web.rest;
import com.mycompany.myapp.domain.Proba;
import com.mycompany.myapp.repository.ProbaRepository;
import com.mycompany.myapp.web.rest.errors.BadRequestAlertException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.List;
import java.util.Objects;
import jav... |
package com.kic.map;
import java.util.Map;
import com.kic.set.MemberDTO;
public class Map2 {
public Map<String,MemberDTO> m2;
public Map<String, MemberDTO> getM2() {
return m2;
}
public void setM2(Map<String, MemberDTO> m2) {
this.m2 = m2;
}
}
|
/**
* Cette classe représente un point 3D
*/
public class Point extends Tuple
{
/**
* constructeur
* @param x
* @param y
* @param z
*/
public Point(float x, float y, float z)
{
super(x, y, z);
}
/**
* constructeur par défaut
*/
public Point()
{
... |
package com.training.utils;
import java.sql.SQLException;
public interface DAO<T> {
public boolean validate(String userId, String passWord) throws SQLException;
public int register(String userId,String passWord) throws SQLException;
}
|
package fr.univsavoie.istoage.clienttri;
/**
* Please modify this class to meet your needs
* This class is not complete
*/
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebR... |
/*
* Copyright (C) 2008-2010 Martin Riesz <riesz.martin at gmail.com>
*
* 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 3 of the License, or
* (at your option) any later ve... |
package org.example;
import java.util.ArrayList;
import java.util.List;
import com.aliyun.opensearch.*;
import com.aliyun.opensearch.sdk.dependencies.com.google.common.collect.Lists;
import com.aliyun.opensearch.sdk.generated.OpenSearch;
import com.aliyun.opensearch.sdk.generated.search.*;
import com.aliyun.opensearc... |
/*
* 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 bts2java;
/**
*
* @author rlaroussi
*/
public class Agrege extends Titulaire {
public Agrege(String nom) {
... |
package com.liuyufei.bmc_android;
import android.Manifest;
import android.content.AsyncQueryHandler;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.support.v4.app.ActivityCompat;
... |
package com.davivienda.utilidades.ws.cliente.solicitudNotaCreditoCtaCorriente;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for generarNotaCreditoCtaCorrie... |
package com.legaoyi;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
@Configuration("appConfiguration")
@ImportResource(locations = {"classpath*:applicationContext*.xml"})
public class AppConfiguration {
}
|
import edu.duke.*;
import java.io.*;
public class Image_Inversion
{
public ImageResource makeInversion(ImageResource inImage)
{
ImageResource outImage = new ImageResource(inImage.getWidth(),inImage.getHeight());
for(Pixel pixel: outImage.pixels()){
Pixel inPixel = inImage.getPix... |
package com.soldevelo.vmi.testclient.client;
import com.soldevelo.vmi.enumerations.DiagnosticState;
import com.soldevelo.vmi.enumerations.TestProtocol;
import com.soldevelo.vmi.packets.ResultPacket;
import com.soldevelo.vmi.packets.TestIncrement;
import com.soldevelo.vmi.packets.TestLocation;
import com.soldevelo.vmi.... |
package com.codingchili.instance.model.spells;
import com.codingchili.instance.model.entity.Vector;
/**
* @author Robin Duda
* <p>
* A spell target is required to cast spells.
* A target can be either a vector or a single creature, depending on the spell.
*/
public class SpellTarget {
private Vector vector;
... |
package gov.nih.mipav.model.structures;
import java.util.*;
// VOI event change
/**
* <code>UpdateVOISelectionListener</code> permits objects to listen for updates to a <code>VOI</code>. This may permit
* an object to update its view when the <code>VOI</code> changes.
*
* @see UpdateVOIEvent $Logfile: /mipav/s... |
package week1homework;
import java.util.*;
public class SumOfNumber {
public static void main(String[] args) {
// TODO Auto-generated method stub
int number;
int sum=0;
Scanner n=new Scanner(System.in);
System.out.println("Enter the number:");
number=n.next... |
import java.sql.Connection;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
public class Pagamento {
private int id;
private String data;
private double valor;
private int idCompra;
private MysqlConnect db;
private Connection conn;
public Pagamento(int id, String... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* ConsultiPanel.java
*
* Created on Nov 12, 2010, 6:35:07 PM
*/
package josteo.views;
import josteo.views.UI.ConsultoAdvancedTableFormat;
import josteo.infrastructure.UI.PanelListBase;
import josteo.application... |
package br.com.maricamed.entities;
import java.time.Instant;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany... |
package com.zxt.framework.dictionary.service;
import java.util.List;
import com.zxt.framework.dictionary.entity.DataDictionary;
import com.zxt.framework.dictionary.entity.DictionaryGroup;
public interface IDataDictionaryService {
/**
* 根据Id查找对象
* @param id
* @return
*/
public DataDictionary findById(String... |
package com.cninnovatel.ev;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.annotation.NonNull;
import com.cninnovatel.ev.utils.NetworkUtil;
import com.cninnova... |
package in.co.scsonline.rafaqatrasool.jkssbnotifier;
import android.content.Context;
import android.util.Log;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
/... |
class Disparejos extends Figuras{
protected float lado2;
public void setLado2(float lado2){
this.lado2=lado2;
}
public float getlado2(){
return lado2;
}
} |
package com.softserve.task;
import java.util.LinkedHashMap;
public class ReplaceLeastUsedStrategyCache<K, V> extends Cache<K, V> {
private final int MIN_CAPACITY = 0;
private final long MIN_LIFE_TIME = 0;
private final int DEFAULT_CAPACITY = 5;
private final int DEFAULT_LIFE_TIME = 5000;
private final int STEP ... |
package com.cloudinte.modules.xingzhengguanli.web;
import com.thinkgem.jeesite.common.config.Global;
import java.io.IOException;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.comm... |
package com.quickblox.sample.chat.java.repository.helpers;
import android.util.Log;
import com.quickblox.chat.model.QBChatDialog;
import com.quickblox.chat.model.QBChatMessage;
import com.quickblox.chat.model.QBDialogType;
import com.quickblox.sample.chat.java.App;
import com.quickblox.sample.chat.java.repository.co... |
package be.mxs.common.util.pdf.general.oc.examinations;
import java.util.Vector;
import java.awt.*;
import java.awt.image.BufferedImage;
import com.itextpdf.text.pdf.PdfPTable;
import com.itextpdf.text.pdf.PdfPCell;
import com.itextpdf.text.Font;
import com.itextpdf.text.Paragraph;
import com.itextpdf.text.FontFactory... |
package com.framgia.fsalon.screen.customerinfo;
import android.databinding.BaseObservable;
import android.databinding.Bindable;
import android.support.annotation.StringDef;
import android.support.v7.app.AppCompatActivity;
import com.framgia.fsalon.BR;
import com.framgia.fsalon.R;
import com.framgia.fsalon.data.model.... |
package com.vpt.pw.demo.dtos;
import com.vpt.pw.demo.model.FormCrf1.FormCrf1;
import java.util.List;
public class TeamDTO {
private Integer id;
private String sraName;
private String userName;
private String password;
private TeamTitleDTO teamTitle;
private SiteDTO site;
private List<For... |
package at.ac.tuwien.sepm.groupphase.backend.endpoint.dto;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
public class OrderDto {
private Long id;
@Valid
@NotNull(message = "Kunde darf nicht null sein")
private CustomerDto customer;
@Valid
@NotNull(message = "Rechn... |
package edu.utn.utnphones.exception;
public class IllegalDurationException extends IllegalArgumentException{
public IllegalDurationException(String message){
super(message);
}
}
|
/*
* 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 model.bean.tag;
import com.fasterxml.jackson.annotation.JsonBackReference;
import java.io.Serializable;
import java.u... |
package com.rudolfschmidt.amr.model;
class ModelException extends RuntimeException {
}
|
package com.itsoul.lab.ledgerbook.accounting.head;
import com.itsoul.lab.generalledger.entities.*;
import com.itsoul.lab.generalledger.exception.InfrastructureException;
import com.itsoul.lab.generalledger.exception.LedgerAccountException;
import com.itsoul.lab.ledgerbook.connector.SQLConnector;
import com.itsoul.lab.... |
package com.capstone.videoeffect;
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 com.bumptech.glide.Glide;
import java.io.File;
import java.util.ArrayList;
public ... |
package com.iot.wookee.searchpicture;
import android.content.Context;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Gallery;
import android.widget.GridView;
import android.widget.ImageView;
import java.util.ArrayList;
import ... |
package com.cs240.famillymap.ui;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.FragmentManager;
import com.cs240.famillymap.R;
import com.cs240.famillymap.model.DataCache;
import com.google.android.gms.maps.model.Marker;
import android.content.Intent;
import android.os.Bundle;
import ... |
public class SplayRecordTree<K extends Comparable<K>, V> {
private SplayRecord<K, V> root;
private int size;
public SplayRecordTree(){
this.clear();
}
public void clear(){
this.root = null;
size = 0;
}
public boolean isEmpty(){ return this.root == null; }
publ... |
package week4.homework4;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
public class CollectionUtils {
public static <T> void addAll(List<? extends T> source, List<? super T> destination) {
destination.addAll(source);
}
public static <T> List<T> newArrayLit() {
... |
package agenda.vista;
import java.awt.event.ActionListener;
import javax.swing.*;
import agenda.modelo.Agenda;
public class AgendaFrame extends JFrame {
public AgendaFrame() {
super("MiniAgenda");
AgendaVista vista = new AgendaPanel();
Agenda agenda = new Agenda();
ActionListener ctrl = new AgendaCtrl(vist... |
package com.project.dao;
import java.util.ArrayList;
import com.project.database.DatabaseAccess;
import com.project.model.Party;
public interface PartyDao {
Party getPartyById(int id);
Party createParty(Party party);
ArrayList<Party> getAllParties();
}
|
package com.kopo.jaemin;
public class Student {
int idx;
String name;
double middleScore;
double finalScore;
String created;
Student() {
}
Student(String name, double middleScore, double finalScore, String created) {
this.name = name;
this.middleScore = middleScore;
this.finalScore = finalScore;
... |
package java.exceptions;
/**
* Created by user on 21.11.16.
*/
public class Main {
public static void main(String[] args) {
try {
parseDoubleFromString("1.244");
countNumbersInString("fgh");
} catch (MyUncheckedException | MyCheckedException e) {
e.printStackT... |
package dwz.cache;
import dwz.cache.memcache.MemcacheCacheManager;
/**
* <strong>CacheManagerFactory</strong><br>
*
* <strong>Create on : 2012-2-15<br></strong>
*
* <strong>Copyright (C) Ecointel Software Co.,Ltd.<br></strong>
*
*
* @author peng.shi peng.shi@ecointel.com.cn<br>
* @version <strong>ecointel... |
/*
* DiscoverySNPCallerPlugin
*/
package net.maizegenetics.analysis.gbs;
import cern.colt.GenericSorting;
import cern.colt.Swapper;
import cern.colt.function.IntComparator;
import net.maizegenetics.dna.map.TOPMInterface;
import net.maizegenetics.dna.map.TagLocus;
import net.maizegenetics.dna.map.TagsOnPhysicalMap;
i... |
package com.bestom.aihome.service;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import com.bestom.aihome.WebSocket.AIWSClient;
import static com.bestom.aihome.common.constant.Const.AIHoneService_AIHoneServiceHandler_connectionWSClient;
import static com.bestom.aihome.common.constan... |
package training.dao;
import training.model.TrainingCourseFeedback;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Required;
import java.util.List;
public class TrainingCourseFeedbackDAOImpl implements TrainingCourseFeedbackDAO {
private org.hibernate.SessionFactory sessi... |
package cbedoy.barchetype.io.common;
import cbedoy.barchetype.io.common.base.BaseCell;
/**
* RecyclerChatView
* Created by Bedoy on 11/15/16.
*/
public class Detail extends BaseCell
{
private String title;
private String description;
public void setTitle(String title) {
this.title = title;
... |
package kr.co.magiclms.mapper;
import java.util.List;
import kr.co.magiclms.domain.Review;
public interface ReviewMapper {
void insertReview(Review review);
List<Review> detailGoodsReview(int goodsCode);
void insertReviewPoint(int review);
void updateReviewContent(String review);
}
|
package com.adv.pojo;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class TakesTablesExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TakesTablesExample() {
oredCriteria = new... |
package com.wrathOfLoD.Models.RangedEffect.HitBox.HitBoxEffects;
import com.wrathOfLoD.Models.Entity.Entity;
import java.util.Iterator;
import java.util.List;
/**
* Created by luluding on 4/12/16.
*/
public abstract class HitBoxEffect {
public abstract void doEffect(List<Entity> entities);
}
|
package Vistas;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JTextField;
import javax.swing.WindowConstants;
/**
* Ejemplo de uso de JComboBox.
*
* @author chuidiang
... |
package quartz.job;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import analysis.service.AnalysisService;
import analysis.service.impl.AnalysisServiceImpl;
public class AnalysisJob implements Job {
@Override
public void execute(JobExecutionCont... |
package com.twitter.controller.rest;
/**
* @author gauri sawant
*
*/
public final class HTTPResponseCodes {
public static final int INTERNAL_SERVER_ERROR = 500;
public static final int NOT_AUTHORIZED = 401;
public static final int FORBIDDEN = 403;
public static final int BAD_REQUEST = 400;
publi... |
package com.citibank.ods.modules.client.mrdocprvt.functionality;
import java.math.BigInteger;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.apache.struts.action.ActionForm;
import com.citibank.ods.Globals;
import com.citibank.ods.common.dataset.DataSe... |
package com.whcd.app.service.impl;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import org.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import... |
package com.mhg.weixin.bean.base.vo;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import javax.validation.constraints.NotNull;
/**
* @ClassName UserVO
* @Description TODO
* @Author PWT
* @Date 2019/12/4 14:52
* @Version 1.0
**/
@Data
public class LoginUserVO {
@NotNu... |
package guillaumeagis.perk4you.models;
import java.util.ArrayList;
import java.util.List;
/**
* Created by guillaumeagis on 14/08/2016.
*/
public final class Context {
private int context;
private List<Chat> starts = new ArrayList<>();
public int getContext() {
return context;
}
public... |
package com.test.single.bm;
/**
* 坏字符串
* @author YLine
*
* 2019年3月29日 下午3:05:30
*/
public class BMBadChar
{
/**
* 单独使用,坏字符规则,进行字符串匹配
* @param mainStr 主串
* @param patternStr 模式串
* @return -1 if 不匹配
*/
public static int badCharBm(String mainStr, String patternStr)
{
if ... |
package hudson.plugins.parameterizedtrigger;
import hudson.EnvVars;
import hudson.Extension;
import hudson.Launcher;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.Action;
import hudson.model.BuildListener;
import hudson.model.TaskListener;
import hudson.model.Cause.Upstrea... |
package com.dexvis.javafx.scene.control;
import java.util.ArrayList;
import java.util.List;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.scene.Scene;
import javafx.scene.control.ContextMenu;
import javafx.scene.control.Label;
import javafx.scene.control.ListCell;
... |
package com.ranpeak.ProjectX.activity.lobby.viewModel;
import android.annotation.SuppressLint;
import android.content.Context;
import android.util.Log;
import com.ranpeak.ProjectX.activity.lobby.DefaultSubscriber;
import com.ranpeak.ProjectX.activity.lobby.commands.TaskNavigator;
import com.ranpeak.ProjectX.base.BaseV... |
package com.jfronny.raut.blocks;
import net.fabricmc.fabric.api.block.FabricBlockSettings;
import net.minecraft.block.*;
import net.minecraft.item.ItemPlacementContext;
import net.minecraft.state.StateManager;
import net.minecraft.util.BlockMirror;
import net.minecraft.util.BlockRotation;
import net.minecraft.util.mat... |
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 com.logzc.webzic.annotation;
/**
* Created by lishuang on 2016/7/21.
*/
@RequestMapping
public class TestBean1 {
}
|
package ggwozdz.nordea.textsplitter;
import java.io.IOException;
import java.io.InputStream;
import java.util.function.Consumer;
public interface InputStreamSplitter {
void split(InputStream is, Consumer<String> streamPartConsumer) throws IOException;
}
|
package nl.kolkos.photoGallery.controllers;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import nl.kol... |
/*
* Created by Angel Leon (@gubatron), Alden Torres (aldenml)
* Copyright (c) 2011-2014, FrostWire(R). All rights reserved.
*
* 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 versio... |
package com.imaprofessional.niko.projectmaplesyrip;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Random;
/**
* Created by Niko on 04-Feb-2016.
*/
public class Room {
/*
Cardin... |
package com.wrathOfLoD.Models.Map.AreaEffect;
import com.wrathOfLoD.Models.Commands.ActionCommand;
import com.wrathOfLoD.Models.Commands.FlowMovementCommand;
import com.wrathOfLoD.Models.Entity.Entity;
import com.wrathOfLoD.Utility.Direction;
/**
* Created by matthewdiaz on 4/16/16.
*/
public class Flow extends Are... |
package com.sinodynamic.hkgta.controller.crm.sales.presentation;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.... |
package com.zhongyp.advanced.pattern.factory.functionfactory;
/**
* project: demo
* author: zhongyp
* date: 2018/3/27
* mail: zhongyp001@163.com
*/
public class DellMouseFactory implements MouseFactory {
@Override
public Mouse createMouse() {
return new DellMouse();
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.