text
stringlengths
10
2.72M
package com.legado.grupo.dao; // librerias import com.legado.grupo.dao.I.Crud; import com.legado.grupo.dao.I.GrupoRepositorio; import com.legado.grupo.dom.Asignatura; import com.legado.grupo.dom.Grupo; import com.legado.grupo.dom.Periodo; import java.util.List; import org.springframework.beans.factory.annotation.Autow...
package org.sermig.sermigapp.activity; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import org.sermig.sermigapp.R; public class GestioneEventiActivity extends AppCompatActivity { @Override pr...
package com.contentstack.sdk; import com.contentstack.sdk.utilities.CSAppUtils; import org.json.JSONArray; import org.json.JSONObject; import java.util.ArrayList; public class SyncStack { private static final String TAG = SyncStack.class.getSimpleName(); private JSONObject receiveJson; private int skip;...
package com.capgemini.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.capgemini.entity.AssociatePersonal; @Repository public interface AssociateRepository extends JpaRepository<AssociatePersonal, Integer> { }
package com.citibank.ods.persistence.pl.dao.rdb.oracle; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import com.citibank.ods.common.connection.rdb.ManagedRdbConnection; import com.citibank.ods.common.dataset.DataSet; import com.citibank.ods.common.dataset.ResultS...
package ru.otus.sua.L11.entity; import lombok.*; import javax.persistence.*; import java.util.List; @Getter @Setter @NoArgsConstructor @AllArgsConstructor @ToString(callSuper = true) @Entity @Table(name = "users") public class UserDataSet extends DataSet { @Basic private String name; @Basic private...
package org.giddap.dreamfactory.mitbbs.google; /** * [google面试题] API流量控制 * <p/> * Implement rate limiting for an API so that we rate limit if the same * developer makes > 10K req/sec. What would the logic be? What would the * structure be? Where would you store this structure? * <p/> * http://en.wikipedia.org/w...
//package com.vivek.sampleapp.networktask; // //import com.android.volley.Request; //import com.android.volley.Response; //import com.google.gson.reflect.TypeToken; //import com.vivek.sampleapp.basetask.BaseNetworkTask; //import com.vivek.sampleapp.modal.StaffInformation; //import com.vivek.sampleapp.volley.VolleyReque...
package c.c.quadraticfunction.solvers; import java.util.ArrayList; import java.util.List; /** * Klasa rozwiązująca równania liniowe */ public class Linear implements PolynomialEquation { private double a,b; Linear(double b, double a) { this.a = a; this.b = b; } /** * Funkcja d...
package org.jetlang.remote.example.chat; import org.jetlang.core.Callback; import org.jetlang.core.SynchronousDisposingExecutor; import org.jetlang.fibers.ThreadFiber; import org.jetlang.remote.client.CloseEvent; import org.jetlang.remote.client.ConnectEvent; import org.jetlang.remote.client.JetlangClientConfig; impor...
package com.fhate.studyhelper.ui; import android.content.Context; import android.content.pm.ActivityInfo; import android.os.Bundle; import android.view.Window; import android.view.WindowManager; import android.widget.TextView; import com.fhate.studyhelper.R; import com.google.android.youtube.player.YouTubeBaseActivit...
package de.varylab.discreteconformal.unwrapper; import java.awt.Color; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import org.junit.Ignore; import org.junit.Test; import de.jreality.math.Rn; import de.jreality.plugin.JRViewer; import de.jreality.reader.Rea...
/* * throw_JIF.java * * Created on __DATE__, __TIME__ */ package zzt.view; import global.dao.Fileselection; import global.dao.Majoraccess; import global.model.Major; import java.io.File; import java.util.ArrayList; import java.util.List; import javax.swing.JFileChooser; import javax.swing.JOptionPane; import z...
package ru.pattern.builder.var2; public class Main { public static void main(String[] args) { System.out.println("bulder -> var 2: "); Account account = new Account.Builder().setUserId("habr").setToken("hello").build(); } }
import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int d = in.nextInt(); int[] expenditures = new int[n];...
package WebShop.services; import java.util.List; import javax.annotation.security.DeclareRoles; import javax.annotation.security.PermitAll; import javax.annotation.security.RolesAllowed; import javax.ejb.LocalBean; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.Persistenc...
//package com.union.express.commons.bean.redis.cache; // //import org.springframework.stereotype.Component; // ///** // * @author linaz // * @created 2016.08.10 9:17 // */ //@Component //public class OrgKeySchema extends KeySchema { // // private String Table = "org"; // // private String Name = "name"; // // ...
package com.yunhetong.sdk.base; /** */ public class YhtContractParter { private int sdkUserId; private long contractId; /** * 能否签名的权限 */ private boolean sign; // /** * 是否能作废权限 */ private boolean invalid; /** * 用户是否含有签名 */ private boolea...
/* * Copyright 2016 TeddySoft Technology. All rights reserved. * */ package tw.teddysoft.gof.Adapter; public class Contact extends ConfigObject { private String email; public Contact() { } public void setEmail(String email){ this.email = email; } public String getEmail() { return email; } }
package org.giddap.dreamfactory.geeksforgeeks.dynamicprogramming; /** * http://www.geeksforgeeks.org/dynamic-programming-set-4-longest-common-subsequence/ */ public class Set04LongestCommonSubsequence { }
package org.reactome.web.nursa.client.details.tabs.dataset.widgets; import org.reactome.web.nursa.model.Comparison; import org.reactome.web.nursa.model.Comparison.Operand; import org.reactome.web.nursa.model.ComparisonDataPoint; import com.google.gwt.event.shared.EventBus; import com.google.gwt.user.client.ui.HTMLPan...
package com.csc.capturetool.myapplication.http; import com.csc.capturetool.myapplication.BuildConfig; /** * Created by SirdarYangK on 2018/11/2 * des: */ public class BaseUrls { public static final int RELEASE = 0;//正式环境 private static final int DEV = 1;//测试环境 public static final String CSC_BASE_URL =...
package zhangxiangyu.conn; import java.sql.Connection; import java.sql.DriverManager; public class Conn { public Connection getConnection () { Connection zhangxiangyu_conn=null; try { Class.forName("org.gjt.mm.mysql.Driver"); zhangxiangyu_conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/jsp?c...
package com.stanislavmachel.shop.services; import com.stanislavmachel.shop.api.v1.mappers.CustomerMapper; import com.stanislavmachel.shop.api.v1.model.CustomerDto; import com.stanislavmachel.shop.repositories.CustomerRepository; import org.springframework.stereotype.Service; import java.util.List; import java.util.UU...
/* * 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 com.Unipago.Bean; import Entity.EntidadCiudadano; import java.util.ArrayList; import java.util.List; import javax.ejb.Stateles...
/** * https://www.hackerearth.com/practice/data-structures/trees/binary-search-tree/practice-problems/algorithm/monk-and-his-friends/description/ * #binary-search-tree #map */ import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.In...
package fudan.database.project.controller; import fudan.database.project.entity.ChiefNurse; import fudan.database.project.entity.Doctor; import fudan.database.project.entity.EmergencyNurse; import fudan.database.project.entity.WardNurse; import fudan.database.project.service.AccountService; import net.sf.json.JSONObje...
package com.servlets; import java.io.IOException; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.List; import javax.ejb.EJB; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletReque...
package com.rubic.demo.trade; import com.lmax.disruptor.ExceptionHandler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author rubic */ public class IntEventExceptionHandler implements ExceptionHandler { private final Logger logger = LoggerFactory.getLogger(this.getClass()); public void ...
package temperaturasfamilias; import java.util.ArrayList; import java.util.Scanner; public class TemperaturasFamilias { public static void main(String[] args) { Scanner entrada=new Scanner(System.in); short caso=0,tamañolista=0; ArrayList<Persona> familia=new ArrayList<>(); while(cas...
package com.infoworks.lab.util.states.client.states; import com.infoworks.lab.util.states.client.users.User; import com.infoworks.lab.util.states.context.State; public interface iDocState extends State { void setUser(User user); void publish(); void render(); }
package airHockey; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.RenderingHints; import java.awt.Toolkit; import java.awt.event.Ke...
package cdp.factorys; import java.io.IOException; import java.io.Serializable; import cdp.controllers.PessoaController; import cdp.controllers.ProjetoController; import cdp.exception.CadastroException; import cdp.exception.ValidacaoException; import cdp.participacao.AlunoGraduando; import cdp.participacao.AlunoPosGra...
package exam.iz0_803; public class Exam_090 { } /* Which action will improve the encapsulation of a class? A. Changing the access modifier of a field from public to private B. Removing the public modifier from at a class declaration C. Changing the return type of a method to void D. Returning a copy of the conten...
package novemberChallenge2017; import java.util.ArrayList; import java.util.Scanner; public class ChefGoesLeftRightLeft { public static void main(String[] args) { int no = 0; Scanner src = new Scanner(System.in); no = src.nextInt(); int n = 0; long rating = 0, right_baricate = -1, left_baricate = -1, othrp...
package com.gaoshin.coupon.dao.impl; import java.util.Collections; import org.springframework.stereotype.Repository; import com.gaoshin.coupon.dao.ConfigDao; import com.gaoshin.coupon.entity.Configuration; @Repository public class ConfigDaoImpl extends GenericDaoImpl implements ConfigDao { @Override public...
package com.ufcg.virtualmusicbox.Model; /** * Created by Victor on 5/9/2016. */ public interface Searchable { public Changeable getRecyclerAdapter(); }
package com.aragon.gift; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class GiftCenterApplication { public static void main(String[] args) { SpringApplication.run(GiftCenterApplication.class, args); } }
package com.aca.swap; public class IntegerWrapper { private int number; public IntegerWrapper(int number) { this.number = number; } int getNumber() { return number; } void setNumber(int number) { this.number = number; } public static void swap(IntegerWrapper ...
package ivge; public class PlayStationGame implements Game { }
import java.io.IOException; import javax.servlet.ServletContext; 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 model.Huurder; import model.K...
package com.example.sergiosiniy.beeradvicer.activities; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.support.v4.app.ShareCompat; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.EditText; imp...
package cn.itcast.core.service.temp; import cn.itcast.core.dao.specification.SpecificationOptionDao; import cn.itcast.core.dao.template.TypeTemplateDao; import cn.itcast.core.entity.PageResult; import cn.itcast.core.pojo.specification.SpecificationOption; import cn.itcast.core.pojo.specification.SpecificationOptionQue...
/* * 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 dilema_3; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException;...
package com.pb.android.pages; public class QuickTest { }
package org.wuxinshui.boosters.designPatterns.factorymethod; /** * Created with IntelliJ IDEA. * User: FujiRen * Date: 2016/10/31 * Time: 10:55 * To change this template use File | Settings | File Templates. */ public interface Sender { public void send(); }
package com.expedia.www.haystack.dropwizard.example; import com.expedia.www.haystack.dropwizard.example.client.ClientApplication; import com.expedia.www.haystack.dropwizard.example.server.ServerApplication; public class ExampleApplication { public static void main(String[] args) throws Exception { if (arg...
package structures; public interface List<xType> { public void insertFront (xType data); public void insertBack (xType data); public void insertAt (int index, xType data); public boolean deleteAtIndex ( int index); public boolean contains( xType data); public void print();...
/* * Copyright (C) 2011 The Baremaps 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package io.chark.food.app.thread; import io.chark.food.app.account.AccountService; import io.chark.food.app.administrate.audit.AuditService; import io.chark.food.app.comment.CommentService; import io.chark.food.app.thread.categories.ThreadCategoryService; import io.chark.food.domain.authentication.account.Account; imp...
package com.softserveinc.uschedule.entity; public enum NotificationType { EMAIL, SMS, APPLICATION }
package com.hfjy.framework.common.util; import java.security.Key; import java.security.KeyFactory; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.MessageDigest; import java.security.PrivateKey; import java.security.PublicKey; import java.security.SecureRandom; impor...
package com.siicanada.article.service; import com.siicanada.article.model.ArticleModel; import java.util.List; import org.springframework.stereotype.Service; /** * Business Logic Layer interface. */ @Service public interface ArticleService { /** * Get all articles. * * @return List list of articles. ...
package prog2.examen.entities; import java.time.LocalDateTime; public class PartidaVacuna implements Comparable<PartidaVacuna> { private LocalDateTime fecha; private TipoVacuna tipo; private int cantidad; private LocalDateTime vencimiento; public PartidaVacuna(LocalDateTime fecha, TipoVacuna ...
package aspectj.examples.services; import org.springframework.stereotype.Service; /** * Created by aziring on 8/29/17. */ @Service public class DemoServices { public void processData() { // dummy method to test logging entry statement } }
package ca.girardprogramming.buggedout; import java.util.ArrayList; import java.util.HashMap; import android.app.AlertDialog; import android.content.DialogInterface; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ListAdapter...
package com.karya.model; import java.io.Serializable; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persistence.Tabl...
/* Copyright 2013 Andrew Joiner 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 d...
package com.jcodecraeer.xrecyclerview; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.jcodecraeer.xrecyclerview.touch.OnSwipeMenuItemClickListener; import com.jcodecraeer.xrecyclerview.touch.SwipeMenu; import com.j...
package ch.brickwork.mockapi.services; import ch.brickwork.mockapi.Main; import javax.print.attribute.standard.Media; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; /** * index.html - is it best practice and beautiful? no. does it need to be? no. */ ...
package com.example.john.monitor.phonerecorder; import java.util.List; public class VoiceFile { public static int selectedFilesCount = 0; private String fullName; private boolean selected; private String showName; private String showTime; private long size; public static void reverseAllCheckedState(L...
package com.nantian.foo.web.auth.entity; import java.io.Serializable; import javax.persistence.*; @Entity @Table(name = "role_info") public class RoleInfo implements Serializable { protected Long roleId; protected String roleName; protected String roleDesc; protected String roleCreator; public Role...
package presentation.websalesman.model; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty; import vo.WebPromotionVO.LevelVO; /** * Created by 曹利航 on 2016/12/11 14:14. */ public class LevelPromotion { final private StringProperty level; final private StringPropert...
package com.evan.demo.yizhu.yuding; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.ImageButton; import android.widget.LinearLayout; import com.evan.demo.yizhu.R; public class yudin...
package name.stojanok.dzone.scripteddataset; public class Person { private String firstName; private String lastName; private OtherPersonData otherPersonData; public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String...
package com.gxtc.huchuan.bean.event; import java.io.Serializable; /** * Created by Steven on 17/5/3. */ public class EventJPushMessgeBean implements Serializable { public String userPic ; public String userName; public String unReadNum; public String userCode; public EventJPushMessgeBean(Stri...
package com.lior.AdoptMe.repo; import com.lior.AdoptMe.entitiy.ContactRequest; import org.springframework.data.jpa.repository.JpaRepository; import java.util.Optional; public interface IContactRequestRepo extends JpaRepository<ContactRequest, Long> { void deleteContactRequestById(Long id); Optional<Contact...
package org.squonk.camel.chemaxon.dataformat; import chemaxon.formats.MolExporter; import chemaxon.struc.Molecule; import org.squonk.chemaxon.molecule.MoleculeUtils; import java.io.InputStream; import java.io.OutputStream; import java.util.Collections; import java.util.Iterator; import org.apache.camel.Exchange; impor...
/* * 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 utils; public class LOGGER { public static void info(String msg) { System.out.print("Info: " + msg); System.out.println(); } public static void error(String msg) { System.out.println(); System.out.print("Error: " + msg); System.out.println(); } }
package com.ict.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; import com.ict.service.DAO; import co...
package physics; import java.util.ArrayList; import java.util.List; public class PhysicsHandeler { private List<Collideable> collideables = new ArrayList<>(); public void update() { for (int i = 0; i < collideables.size()-1; i++) { //for (int j = i+1) } } public void addCollideable(Collideable un...
package roombook.dao; import roombook.guest.Guest; import javax.persistence.EntityManager; import javax.persistence.EntityTransaction; public class GuestsDAO { public void insertGuest(Guest guest) throws Exception { EntityManager entityManager= DatabaseUtils.getEMFactory().createEntityManager(); EntityTrans...
package frc; /** * For when you're too lazy to make a class to return multiple values. */ public class Tuples { private Tuples() { } /** * A 2-tuple. Also known as a twople. */ public static class Two<A, B> { public final A first; public final B second; public Two(...
import java.io.PrintStream; import java.util.HashMap; import java.util.HashSet; abstract class Tree { public Tree left; public Tree right; public PrintStream out; public Integer result = null; abstract public void print(Integer nrTabs); abstract public boolean interpret(); public void print...
package com.itheima.bos.web.action; import java.io.IOException; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.AuthenticationToken; import org.apache.shiro.authc.IncorrectCredentialsException; import org.apache.shiro.authc.Unkno...
package exam03; public enum CruiseClass { LUXURY(3), FIRST(1.8), SECOND(1); private final double priceMultiplier; CruiseClass(double priceMultiplier) { this.priceMultiplier = priceMultiplier; } public double getPriceMultiplier() { return priceMultiplier; } }
package Problem_1697; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.LinkedList; import java.util.Queue; /*2019-07-29 완료 */ /* N과 K가 같을때의 경우도 고려해야한다. */ class data { int location; int time; public data(int location, int time) { this.l...
package jianzhioffer; import jianzhioffer.utils.ListNode; /** * @ClassName : Solution18 * @Description : O(1)时间删除链表节点 * 将删除当前节点,转换为删除下一节点,把指针指向改变。 * @Date : 2019/9/16 11:12 */ public class Solution18 { public void deleteNode(ListNode head, ListNode deListNode) { if (head==null || deListNode==null) ...
package uz.zako.example.payload; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class CategoryRequest { private Long id; private String categoryNameUz; private String categoryNameRu; }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package network; import java.util.Comparator; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.PriorityQueue; import simulator.Simulator; /** * * @author dimitriv */ publi...
/* * 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 FirstProject.DataStructures; public class StringTest { public static void main(String[] args) { //Methods //length() // concat //equals //equalsIgnoreCase //toLowerCase //toUpperCase //charAt(int index) // substring(int beginIndex, endIndex) //containct(CharSequence s)...
/* * Copyright 2014-2023 JKOOL, 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 applicable law or agreed to...
package kr.or.ddit.freeboard.controller; import java.net.URLEncoder; import java.util.List; import java.util.Map; import javax.servlet.ServletRequest; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import kr.or.ddit.fileitem.service.IFileItemService; import kr.or.ddit.freeboard....
package com.ntg.androidadministration.logicaltest_halafathymohamed; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; public class PalindromeNu...
package cpup.poke4j; import cpup.poke4j.events.EventRegister; import java.util.List; public class Cursor { protected final Poke poke; protected final Buffer buffer; protected BufferPos pos; protected Selection selection; public Cursor(Poke _poke, Buffer _buffer, BufferPos _pos, Selection _selection) { poke =...
package es.ubu.lsi.service.asociacion; import java.util.Date; import java.util.List; import es.ubu.lsi.model.asociacion.Asociacion; import es.ubu.lsi.model.asociacion.TipoIncidenciaRanking; import es.ubu.lsi.service.PersistenceException; /** * Transaction service. * * @author <a href="mailto:jmaudes@ubu.es">Jesú...
package com.prestashop.pages.order; import org.openqa.selenium.By; public class OrderPage { private OrderActController act; private OrderVerifyController verify; private OrderPage() { // hidden } private OrderPage(OrderActController act, OrderVerifyController verify) { this.act ...
package product2; //Concrete Product public class ProductB1 implements ProductB { }
package com.company; class LinkedList { //singly linked list class Node head; //head of the list class Node { //node class int data; Node next; Node(int d) { //constructors for new nodes data = d; next = null; } } ...
package com.channing.snailhouse.util; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * 系统工具类 * * @author fengle * */ public class SysUtils { private static final Logger log = LoggerFactory.getLogger(SysUtils.class); /** * 校验空配置 */ ...
/* * 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 com.innovaciones.reporte.service; import com.innovaciones.reporte.dao.CabeceraInventarioDAO; import com.innovaciones.reporte.m...
package org.ohdsi.webapi.estimation.converter; import org.ohdsi.webapi.estimation.Estimation; import org.ohdsi.webapi.estimation.dto.EstimationDTO; import org.springframework.stereotype.Component; @Component public class EstimationToEstimationDTOConverter extends EstimationToEstimationShortDTOConverter<EstimationDTO>...
package com.waylau.spring.boot.security.controller; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.ui.Model; import org.springframework.web.bind.annota...
package net.ddns.hnmirror.mom; import java.sql.SQLException; import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.Destination; import javax.jms.ExceptionListener; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageConsumer; import javax.jms.MessageListener; im...
package edu.erlm.epi.domain.school; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import edu.erlm.epi.domain.User; import lombok.ToString; @Entity @ToString @DiscriminatorValue(value = "Admin") public class Admin extends User{ private static final long serialVersionUID = 1L; }
/* * 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 unt.herrera.prog2.tp2; import java.time.LocalDate; /** * * @author Gianpaolo */ public class Trabajo { p...
package com.gsccs.sme.plat.auth.service; import org.apache.shiro.crypto.RandomNumberGenerator; import org.apache.shiro.crypto.SecureRandomNumberGenerator; import org.apache.shiro.crypto.hash.SimpleHash; import org.apache.shiro.util.ByteSource; import org.springframework.beans.factory.annotation.Value; import org.sprin...
package com.assignment.week2; public class MainRunner { public static void main(String[] args) { DateTimeController.start(); } }