text stringlengths 10 2.72M |
|---|
package Excecoes;
import javafx.scene.control.Alert;
import javax.swing.JOptionPane;
public class UsuarioJaExistenteException extends Exception {
public UsuarioJaExistenteException() {
super("Usuario Ja Existente");
Alert alert = new Alert(Alert.AlertType.ERROR);
alert.setT... |
package com.citibank.ods.modules.client.mrdocprvt.form;
/**
* @author m.nakamura
*
* Form com os dados da tela de detalhe de Memo de Risco
*/
public class MrDocPrvtMovDetailForm extends BaseMrDocPrvtDetailForm implements
MrDocPrvtMovDetailable
{
// Codigo Documento MR
private String m_mrDocCo... |
package com.evature.evasdk.appinterface;
/**
* Created by iftah on 6/3/15.
*/
public enum EvaAppScope {
Flight,
Hotel,
Car,
Cruise,
Vacation,
Ski,
Explore;
@Override
public String toString() {
switch(this) {
case Flight: return "f";
case Hotel: re... |
package com.expo.platform;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import okhttp3.OkHttpClient;
import org.apache.commons.codec.binary.Hex;
import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.conv... |
package com.proyecto1.william.proyecto1.Settings;
import android.app.FragmentTransaction;
import android.preference.PreferenceActivity;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.widget.Toolbar;
import android.util.DisplayMetrics;
import com.proyecto1.william.proyecto... |
/******************************************************************************
* __ *
* <-----/@@\-----> *
* <-< < \\// > >-> *
... |
package com.github.hualuomoli.commons.prop;
import java.util.Map;
import org.junit.Ignore;
import org.junit.Test;
public class PropertiesLoaderTest {
@Test
@Ignore
public void testloadProperties2MapStringArray() {
Map<String, String> map = PropertiesLoader.loadProperties2Map("classpath:/props/props.properties"... |
package com.protectthecarrots.Missions;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputProcessor;
import com.badlogic.gdx.Preferences;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Texture;... |
package controlador;
import java.util.Vector;
import modelo.*;
public class Restaurante {
static private Restaurante restaurante = null;
private boolean mesasAsignadas;
private boolean open;
// La fecha y el dia se cargan como String al inciciar el Sistema.
// Se leen desde la hora y fecha conf... |
package com.arthur.leetcode;
import java.util.List;
/**
* @title: No206
* @Author ArthurJi
* @Date: 2021/3/13 9:44
* @Version 1.0
*/
public class No206 {
public class ListNode {
int val;
ListNode next;
ListNode() {
}
ListNode(int val) {
this.val = val;
... |
/**
* Created by Ari on 8/15/2016.
*/
import static org.junit.Assert.fail;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.exec.*;
import org.junit.Test;
import sun.plugin2.main.server.ResultHandler;
public class phantomPDF {
private fi... |
package classes;
import interfaces.Part;
import interfaces.PartVisitor;
/**
* @author dylan
*
*/
public class Watch implements Part {
Part[] watchparts;
/**
*
*/
public Watch() {
super();
watchparts = new Part[] { new Spring(), new Sprocket(), new Actuator() };
}
/*
* (non-... |
package hey.rich.snapsaver;
import wei.mark.standout.StandOutWindow;
import wei.mark.standout.constants.StandOutFlags;
import wei.mark.standout.ui.Window;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;... |
package com.zju.courier.service.impl;
import com.zju.courier.dao.StaffDao;
import com.zju.courier.entity.Staff;
import com.zju.courier.pojo.StaffPosition;
import com.zju.courier.service.StaffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import j... |
// QUESTION
// Given two arrays, write a function to compute their intersection.
import java.util.Arrays;
class IntersectionOfArraysII {
public static void main(String[] args) {
System.out.println(Arrays.toString(intersect(new int[]{61,24,20,58,95,53,17,32,45,85,70,20,83,62,35,89,5,95,12,86,58,77,30,64,46... |
package easii.com.br.iscoolapp.fragmentos;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManag... |
/**
*/
package com.fun.gantt.gantt.tests;
import com.fun.gantt.gantt.GanttFactory;
import com.fun.gantt.gantt.Summary;
import junit.framework.TestCase;
import junit.textui.TestRunner;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Summary</b></em>'.
* <!-- end-user-doc -->
* @generate... |
class Z_ITEM extends ITEM
{
Z_ITEM()
{
}
} |
package sign.com.biz.group.service;
import com.github.pagehelper.PageInfo;
import sign.com.biz.base.service.BaseService;
import sign.com.biz.group.dto.UserGroupDto;
import sign.com.biz.user.dto.SignUserDto;
import sign.com.common.PageDto;
import java.util.List;
/**
* create by luolong on 2018/5/16
*/
... |
package pageobjects;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import tests.Config;
public class Login extends BasePage {
private By usernameLocator = By.id("username");
private By passwordLocator = By.id("password");
private By submitBtnLocator = By.cssSelector("button[type=sub... |
package b4dpxl.timestamp;
import b4dpxl.Utilities;
import burp.IBurpExtenderCallbacks;
import burp.IContextMenuFactory;
import burp.IContextMenuInvocation;
import com.github.lgooddatepicker.components.DatePickerSettings;
import com.github.lgooddatepicker.components.DateTimePicker;
import com.github.lgooddatepicker.com... |
package javazaawansowana.pokaz.kolekcje.listy;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
public class Main {
public static void main(String[] args) {
List<Integer> integerList = new ArrayList<>();
List<Integer> integerList1 = new LinkedList<>();
in... |
/*
* Copyright (c) 2015 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.engine;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.util.Collection;
imp... |
package common.db.dao.impl;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcDa... |
package com.arjun.beginspring.service;
import com.arjun.beginspring.dao.AccountDao;
import com.arjun.beginspring.model.Account;
import com.example.beginspring.exceptions.InsufficientFundsException;
import com.example.beginspring.exceptions.UserNotFoundException;
public class AccountServiceImpl implements AccountServi... |
package org.softRoad.models.query;
import javax.validation.Valid;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.util.ArrayList;
import java.util.List;
public class SearchCriteria {
@Valid
private SearchCondition condition;
@Min(1)
@Max(100)... |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
final String LINE_SPR = System.getProperty("line.separator");
final int BIG_MOD = 1000000007;
Stack<Integer> a = new S... |
package com.openfarmanager.android.view;
import android.graphics.drawable.ShapeDrawable;
import android.graphics.drawable.shapes.OvalShape;
import android.support.v4.content.ContextCompat;
import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com... |
package com.gjm.file_cloud.exceptions.http;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.NOT_FOUND)
public class FileDoesntExistException extends RuntimeException {
}
|
package com.revature.repository;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import com.revature.models.EmployeeAccount;
import com.revature.util.ConnectionFactory;
public class EmployeeDaoImpl implements EmployeeDao {
/**
* Inserts a n... |
package it.almaviva.siap.wsclient.titoli;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.List;
import java.util.ArrayList;
import java.util.Date;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.text.DecimalFormat;
import java.text.Simple... |
package cl.sportapp.evaluation.dto;
import cl.sportapp.evaluation.entitie.Evaluacion;
import cl.sportapp.evaluation.entitie.TipoMedicion;
import lombok.Data;
import java.util.List;
@Data
public class SubtipoMedicionDto {
private Long id;
private String nombre;
private boolean estado;
private Tipo... |
package thread.kfc;
/**食物类
* Created by fanwei_last on 2017/11/10.
*/
public class Food {
String name;
public Food(String name){
this.name = name;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
|
package by.client.android.railwayapp.ui.page.scoreboard;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.CollapsingToolbarLayout;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLay... |
package unab.com;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Leer
{
public static String leer(String mensaje)
{
String lectura ="";
//leyendo de teclado
InputStreamReader flujo = new InputStreamReader(System.in);
BufferedReader te... |
package org.apache.hadoop.hdfs.server.blockmanagement;
/**
*
* @author Hooman <hooman@sics.se>
*/
public class GenerationStamp {
public static enum Finder implements org.apache.hadoop.hdfs.server.namenode.FinderType<GenerationStamp> {
// Value of the generation stamp.
Counter;
@Override
pub... |
package 算法.回溯算法;
import java.util.ArrayList;
import java.util.List;
/**
* @Title: 子集 : 给定一组不含重复元素的整数数组 nums,返回该数组所有可能的子集(幂集)。
* @Date: 2018/8/20 9:57
*/
public class 子集 {
public static List<List<Integer>> subsets(int[] nums) {
List<List<Integer>> list = new ArrayList<>();
List<Integer> ... |
package vista;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.WindowConstants;
import javax.swing.border.TitledBorder;
import javax.swing.SwingUti... |
public class Vista{
public static void main(String[] args){
System.out.println("Vista");
}
} |
package pe.edu.pucp.musicsoft.model;
public class EmpresaDiscografica {
private int idEmpresa;
private String nombreEmpresa;
public EmpresaDiscografica(){
}
public int getIdEmpresa() {
return idEmpresa;
}
public void setIdEmpresa(int idEmpresa) {
this.idEmpre... |
package com.exam.jsp_tags;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.log4j.Log4j;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;
import java.io.IOException;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import ja... |
package com.example.dbdemo;
import android.app.Activity;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RadioButton;... |
package com.zl.action.front;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bi... |
package com.form.controller;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
impor... |
/*
* Created on 10/12/2008
*
*/
package com.citibank.ods.persistence.pl.dao;
import com.citibank.ods.common.dataset.DataSet;
/**
* @author lfabiano
* @since 10/12/2008
*/
public interface TplReasonEndRelationDAO {
public DataSet loadDomain();
}
|
package us.gibb.dev.gwt.server.command.handler;
import java.util.Map;
import us.gibb.dev.gwt.command.Command;
import us.gibb.dev.gwt.command.CommandException;
import us.gibb.dev.gwt.command.Result;
public interface CommandHandler<C extends Command<R>, R extends Result> {
public R execute(C command, Context conte... |
package com.gxtc.huchuan.adapter;
import android.content.Context;
import android.widget.ImageView;
import android.widget.TextView;
import com.gxtc.commlibrary.base.BaseRecyclerAdapter;
import com.gxtc.commlibrary.helper.ImageHelper;
import com.gxtc.huchuan.R;
import com.gxtc.huchuan.data.ArticleSpecialBean;
import j... |
package com.brainacademy.threads;
import java.util.Date;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
public class ScheduledThreadPoolTest {
private static final ScheduledExecutorService SCHEDULED_EXECUTOR_SERVICE = Executors.ne... |
package com.carlos.theculinaryapp;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.StrictMode;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapte... |
package com.goodreads;
import com.goodreads.dataproviders.OpenCartDataProvider;
import com.goodreads.utils.listeners.OpenCartTestListener;
import com.google.inject.Inject;
import com.jayway.restassured.response.Response;
import com.opencart.allure.AllureEnvironmentController;
import com.opencart.api.OpenCartBO;
import... |
package com.ants.theantsgo.payByThirdParty.aliPay;
/**
* ===============Txunda===============
* 作者:DUKE_HwangZj
* 日期:2017/6/30 0030
* 时间:下午 4:43
* 描述:支付宝回调接口
* ===============Txunda===============
*/
public interface AliPayCallBack {
/**
* 当支付成功时的回调函数
*/
void onComplete();
/**
* 当支付失... |
package com.ron.messageBoard.entity.data;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.time.LocalDateTime;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "topic")
public class Topic {
@Id
@Column(name = "ID... |
package com.igs.qhrzlc.presenter;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import com.hl.util.ExitApplication;
import com.hl.util.NetUtils;
import com.hl.util.ToastUtil... |
package com.pacck.safety.model;
import java.time.LocalDate;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.Tabl... |
package controlador;
import dao.CharUsuarioImpl;
import javax.inject.Named;
import javax.enterprise.context.SessionScoped;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.PostConstruct;
import org.primefaces.model.charts.ChartData;
import org.primefaces.model.cha... |
package gameVoiceHandler.intents.handlers;
import com.amazon.speech.slu.Intent;
import com.amazon.speech.speechlet.SpeechletResponse;
import gameData.GameDataInstance;
import gameData.StateManager;
import gameVoiceHandler.intents.handlers.Utils.BadIntentUtil;
import gameVoiceHandler.intents.HandlerInterface;
import ga... |
import java.io.*;
import java.util.HashMap;
public class VMWriter {
private FileWriter out = null;
private static HashMap<Command, String> commands;
private static HashMap<Segment, String> segments;
public VMWriter(File output) throws IOException {
out = new FileWriter(output);
commands = new HashMap... |
package com.ut.base.dialog;
import android.content.DialogInterface;
import android.support.v7.app.AlertDialog;
import android.view.View;
import com.ut.base.AppManager;
import com.ut.base.R;
import java.util.Objects;
/**
* author : chenjiajun
* time : 2019/1/26
* desc :
*/
public class DialogHelper {
pri... |
package factory.factorymethod.developers;
public class JavaDeveloper implements Developer{
@Override
public void write() {
System.out.println("writes java code");
}
}
|
package com.company.bookmark.entities;
import com.company.bookmark.constants.KidsFriendlyStatus;
public abstract class Bookmark {
private long id;
private String title;
private String profileUrl;
private User kidsFriendlyMarkedUser;
public User getSharedBy() {
return sharedBy;
}
... |
package com.icanit.app.bmap;
import android.location.Location;
import android.location.LocationListener;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageButton;
import androi... |
package BridgePattern08.exercise;
import BridgePattern08.exercise.action.File;
import BridgePattern08.exercise.service.FileImp;
public class Client {
public static void main(String[] args) {
File file = (File) XMLUtil.getBean("file");
FileImp fileImp= (FileImp) XMLUtil.getBean("database");
... |
package com.sample.gitprojet.GitSample;
public class TestDemo {
}
|
/**
* The classes in this package represent RDBMS queries, updates, and stored
* procedures as threadsafe, reusable objects. This approach is modeled by JDO,
* although objects returned by queries are of course "disconnected" from the
* database.
*
* <p>This higher-level JDBC abstraction depends on the lower-leve... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package StaticMethods;
/**
*
* @author rm
*/
public class Mainclass1 {
public static void main(String[]args){
program1 p1=new program1("shady", "cairo");
... |
// Decompiled by Jad v1.5.7d. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http:// www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3)
// Source File Name: HttpMessage.java
package com.ziaan.scorm.multi;
import java.io.DataOutputStream;
import java.io.IOException;
impor... |
package com.stone.framework.bean;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import java.lang.reflect.Method;
public class Handler {
private Class<?> controllerClass;
private Method actionMethod;
public Handler (Class<?> controllerClas... |
package gromcode.main.lesson10.homework10_1;
import java.util.Date;
public class Demo {
public static void main(String[] args) {
testElectronicsOrder();
testFurnitureOrder();
/*Customer customer1 = new Customer("Альона", "Одесса", "Женский");
Customer customer2 = new Customer("Ми... |
package com.playbox.niranjani.sandboxapp;
class ActivityTestRule<T> {
}
|
package io.projekat.predmet;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.ElementCollection;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.persist... |
package com.test;
/**
* https://leetcode.com/problems/longest-increasing-subsequence/
*
* Given an unsorted array of integers, find the length of longest increasing
* subsequence.
*
* Example:
*
* Input: [10,9,2,5,3,7,101,18] Output: 4 Explanation: The longest increasing
* subsequence is [2,3,7,101], there... |
/**
* Created with IntelliJ IDEA.
* User: dexctor
* Date: 12-11-15
* Time: 上午9:38
* To change this template use File | Settings | File Templates.
*/
public class Algs4Test3 {
public static void main(String[] args)
{
double sum = 0.0;
int cnt = 0;
while (!StdIn.isEmpty... |
package com.liuzhihang.doc.view.config;
import com.intellij.openapi.components.PersistentStateComponent;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.components.State;
import com.intellij.openapi.components.Storage;
import com.intellij.openapi.project.Project;
import com.intellij.... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.davivienda.multifuncional.cuadremulticifras.formato;
/**
* TituloLogGeneral - 15/09/2008
* @author AA.Garcia
* Davivienda 2008
*/
public class TituloInformeAyerMulti {
public static String[] titul... |
package fr.epsi.service;
import javax.ejb.Stateless;
import javax.ejb.TransactionManagement;
import javax.ejb.TransactionManagementType;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.transaction.UserTransaction;
import fr.epsi.entite.Article;
import fr.eps... |
package de.varylab.discreteconformal.heds.adapter;
import java.util.HashMap;
import java.util.Map;
import de.jreality.math.Pn;
import de.jtem.halfedgetools.adapter.AbstractTypedAdapter;
import de.jtem.halfedgetools.adapter.AdapterSet;
import de.varylab.discreteconformal.heds.CoEdge;
import de.varylab.discret... |
package com.ecej.nove.rabbit.common;
public enum TypeModel {
PRODUCER, CONSUMER;
}
|
package com.jrz.bettingsite.event;
import com.jrz.bettingsite.team.Team;
import org.springframework.stereotype.Service;
import java.util.Optional;
@Service
public interface EventService {
Iterable<Event> findAll();
Optional<Event> findById(Long id);
void saveEvent(Event event);
void updateEvent(E... |
package com.nisum.webflux.controller;
import com.nisum.webflux.config.KafkaServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestCo... |
package javaDay5;
interface InterfaceOne{
default void printMessage(String s){
System.out.println("First Interface " +s);
}
}
interface InterfaceTwo{
default void displayMessage(String s){
System.out.println("Second Interface " +s);
}
}
public class Program8 implements InterfaceOne, I... |
package com.robin.springbootlearn.app.config;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import java.text.SimpleDateFormat;
/**
* @author silkNets
* @program springboot-learn
* @description Ja... |
package commands;
import java.util.ArrayList;
import observer.Observable;
import observer.Observer;
public class TrainingGuy implements Observable {
private String position;
private ArrayList<Observer> observers;
public TrainingGuy()
{
this.observers = new ArrayList<Observer>();
this.position = "standing";... |
package com.example.myapplication;
import android.content.Intent;
import android.support.design.widget.NavigationView;
import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AppCompatActivity;
impor... |
/*
* 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.ai.platform.agent.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
... |
package com.show.comm.utils;
import java.util.ArrayList;
import java.util.Date;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import java.util.UUID;
/**
* ID工具
*
* @author heyuhua
* @date 2017年6月22日
*/
public class IdUtils {
private IdUtils() {
}
/** 时间匹配表... |
package com.burningfire.designpattern.lessonone;
import java.util.Scanner;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* GCD Computation using Euclidian Algorithm
* @author Kristian Josef L. Delos Reyes
*/
public class Gcd
{
private static Scanner scanner;
private static final Logger LOG... |
package fluxed314.FluXedMod.init.blocks.machines.purifyingfurnace;
import java.util.Map;
import java.util.Map.Entry;
import com.google.common.collect.HashBasedTable;
import com.google.common.collect.Maps;
import com.google.common.collect.Table;
import fluxed314.FluXedMod.init.BlockInit;
import fluxed314.Fl... |
package com.robin.springboot.demo.java_date;
import org.apache.commons.lang3.StringUtils;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public class DateTest {
public static void main(String[] args) {
// String startDateStr = "2018-12-01";
// String endD... |
package com.jxtb.test.entity;
/**
* Created with IntelliJ IDEA.
* User: Administrator
* Date: 17-8-4
* Time: 下午1:59
* 债券上传持仓信息
* 表 : KM_UPLOAD_BOND_POS
*/
public class UploadBondPos {
private String l_id; //guid
private String upload_group; //上传群组ID(保险公司:葡保 MIG 鼎睿 复保 永安【SELECT * FROM SYSROLE WHERE R... |
/*
* Copyright 2020 WeBank
*
* 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 writi... |
/**
* @Title:ResourceServiceImpl.java
* @Package:com.git.cloud.resource.service.impl
* @Description:TODO
* @author LINZI
* @date 2015-1-7 下午04:11:40
* @version V1.0
*/
package com.git.cloud.resource.service.impl;
import java.util.List;
import java.util.Map;
import com.git.cloud.common.exception.Ro... |
package com.kavai.zopa.loanmatcher.engine;
import com.google.inject.Inject;
import com.kavai.zopa.loanmatcher.engine.configuration.MaximumLoanAmount;
import com.kavai.zopa.loanmatcher.engine.configuration.MinimumAmountIncrement;
import com.kavai.zopa.loanmatcher.engine.configuration.MinimumLoanAmount;
import com.kavai... |
package com.example.gerenciamentodesalas.model;
import java.math.BigDecimal;
import java.util.Date;
public class Sala {
private final int id;
private final Organizacao idOrganizacao;
private final String nome;
private final int quantidadePessoasSentadas;
private final boolean possuiMultimidia;
... |
package View.Alimentazione;
import javax.swing.*;
import java.awt.event.ActionListener;
/**
* La classe IndexProgAlimView contiene attributi e metodi associati al file XML IndexProgAlimView.form
*/
public class IndexProgAlimView {
private JPanel mainPanel;
private JButton combinatoButton;
private JBut... |
/**
* 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 cn.jiufungqx.common.pojo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
/**
* @author: jiufung
* @create: 2019/8/7 22:19
*/
@Data
@TableName(value = "us... |
package com.boku.auth.http.stringsigner;
import java.security.InvalidKeyException;
/**
* Simple interface for signing text data with a particular key, where the implementation owns the key.
*/
public interface StringSigner {
/**
* Generate a signature for the given text data, using the given algorithm and... |
package project.core.header;
import project.BasePage;
public class Header extends BasePage {
public Header() {
}
@Override
protected void check() {
}
}
|
package com.codigo.smartstore.sdk.core.checksum.crc;
/**
* Interfejs deklaruje kontrakt definujący metodę dostarczającą parametry do
* wyznaczenia sumy kontrolnej CRC.
*
* @author andrzej.radziszewski
* @version 1.0.0.0
* @category interface
*/
interface ICrcParametrizable {
/**
* Właściwość określa wartośc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.