text
stringlengths
10
2.72M
package de.madjosz.adventofcode.y2015; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class Day24 { private final int[] packages; public Day24(List<String> input) { this.packages = input.stream().mapToInt(Integer::parseInt).toArray(); } public long a1() ...
package br.com.unifil.huffman.algoritmo; /** * Classe abstrata que implementa uma árvore. Essa classe serve como um modelo para * classe concreta, ou seja, para as classes Nó e Folha * @author Fernando Ortiz */ abstract class HuffmanArvore implements Comparable<HuffmanArvore>{ // frequência da árvore publ...
package com.tencent.mm.ui.bizchat; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.tencent.mm.ak.o; import com.tencent.mm.bp.a; import com.tencent.mm.plugin.fts.ui.m;...
package com.mx.profuturo.bolsa.model.vo.home; import com.mx.profuturo.bolsa.model.service.dto.ContenidoHomeDTO; import com.mx.profuturo.bolsa.model.vo.search.BuscadorVacanteVO; public class ContenidoVO extends ContenidoHomeDTO { }
package leecode.bfs; import zuoshen.list.Node; import java.util.HashSet; import java.util.LinkedList; import java.util.Queue; import java.util.Set; //一般就是解决两点之间最短距离,从start开始到target的最短距离 public class bfs框架 { int BFS(Node start,Node target){ Queue<Node>q = new LinkedList<>();//核心数据结构,队列 Set<Node> v...
package org.mym.featuredshowcase.advanced; import android.content.Context; import android.graphics.Canvas; import android.graphics.RectF; /** * This interface allow user to customize background drawing. */ public interface BackgroundDrawer { /** * Called on each onDraw(), before drawing alpha area and afte...
package algorithm.baekjoon; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.LinkedList; import java.util.Queue; import java.util.StringTokenizer; public class _1697_HideAndSeek { static int n, k; static int answer; static boolean[] visit = new boolean[100001]; public...
/* Author: ME */ // something is wrong with this code. cba to check it soz public class Doctor { Hospital hospital; public Doctor (Hospital hospital) { this.hospital = hospital; } public void run() { try { while (true) { Random random = new Random(); ...
package com.worldbank.service.rest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.a...
package com.tencent.mm.plugin.card.ui.view; import android.text.TextUtils; import android.view.View; import android.view.ViewStub; import android.widget.TextView; import com.tencent.mm.plugin.card.a.d; import com.tencent.mm.plugin.card.base.b; import com.tencent.mm.protocal.c.kz; import com.tencent.mm.sdk.platformtool...
package P2; /** * This class implements the doorman's part of the * Barbershop thread synchronization example. */ import P2.Globals; public class Doorman implements Runnable{ /** * Creates a new doorman. * @param queue The customer queue. * @param gui A reference to the GUI interface. */ C...
package io; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; public class BufferReaderApp { public static void main(String[] args) { File file=new File("src/io/test.txt"); try(FileReader fileReader=new FileReader(file)) { BufferedReader bufferedReader=new BufferedReader(fil...
package com.angrykings; import java.util.ArrayList; /** * IPlayerTurnListener * * @author Shivan Taher <zn31415926535@gmail.com> * @date 21.11.13 */ public interface IPlayerTurnListener { void onHandleTurn(int x, int y, ArrayList<Keyframe> keyframes); void onEndTurn(); void onKeyframe(float time); void on...
package com.tencent.recovery; import android.app.Activity; import android.app.Application; import android.app.Application.ActivityLifecycleCallbacks; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.os.Bundle; import com.tencent.r...
package com.LoginTest.server.controller; import com.LoginTest.server.model.User; import com.LoginTest.server.services.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.web.bind.annotation.PathV...
public class Main{ public static void main(String[] args){ Rectangle rectangle = new Rectangle(); Circle circle = new Circle(); Point2D point = new Point2D(); System.out.println(); System.out.println(); } }
package com.tencent.mm.protocal; import com.tencent.mm.plugin.appbrand.jsapi.ad; import com.tencent.mm.protocal.c.g; public class c$cc extends g { public c$cc() { super(ad.NAME, "network_type", 16, false); } }
package com.timmy.project.launch; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.LinearLayout; import android.widget.TextView; import com.timmy.R; import com.timmy.home.MainActivity; ...
package com.tencent.mm.plugin.game.model; import android.os.Parcel; import android.os.Parcelable; import android.os.Parcelable.Creator; import com.tencent.mm.plugin.game.d.ak; import com.tencent.mm.plugin.game.d.db; import com.tencent.mm.plugin.game.e.c; import com.tencent.mm.plugin.game.ui.tab.GameTabHomeUI; import c...
package com.duanxr.yith.easy; import com.duanxr.yith.define.treeNode.TreeNode; import java.util.Stack; /** * @author 段然 2021/3/11 */ public class ErChaShuDeZuiJinGongGongZuXianLcof { /** * English description is not available for the problem. * * 给定一个二叉树, 找到该树中两个指定节点的最近公共祖先。 * * 百度百科中最近公共祖先的定义为:“对...
package pv260.customeranalysis; import static com.googlecode.catchexception.CatchException.catchException; import static java.util.Arrays.asList; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; import org.mockito.ArgumentCaptor; import org.mockito.InOrder; import pv260.customeranalysi...
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2015 Paco Avila & Josep Llort * * No bytes were intentionally harmed during the development of this application. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GN...
package sample.helpers; import org.sqlite.JDBC; import java.sql.*; import java.util.*; public class DbHandler { // Константа, в которой хранится адрес подключения private static final String CON_STR = "jdbc:sqlite:task.db"; private static DbHandler instance = null; public static synchronized Connec...
package hello; /** * Created by Javier on 07/04/2017. */ public class Significado { private String contexto; private String texto; public String getContexto() { return contexto; } public Significado(String contexto, String texto) { this.contexto = contexto; this.texto = t...
package com.zhouyi.business.core.service; import com.zhouyi.business.core.common.ReturnCode; import com.zhouyi.business.core.dao.BuffBaseMapper; import com.zhouyi.business.core.dao.LedenEquipmentMapper; import com.zhouyi.business.core.dao.SysUnitMapper; import com.zhouyi.business.core.dao.SysUserMapper; import com.zho...
package br.com.scd.demo.api.exception; import static org.hamcrest.Matchers.containsString; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; import static org.springframework.test.web.servlet.r...
package model.dao.impl; import model.dao.connection.ConnectionFactory; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import java.sql.ResultSet; import java.sql.SQLException; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; i...
package com.thoughtworks.presentation.view_cart; import com.thoughtworks.domain.cart.CartDetails; import com.thoughtworks.presentation.product_list.Mapper; /** * Created on 16-06-2018. */ class CartDetailDataMapper implements Mapper<CartDetails, CartDetailViewModel> { @Override public CartDetailViewModel m...
package com.tencent.mm.plugin.luckymoney.b; import com.tencent.mm.kernel.g; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.storage.aa.a; import java.net.URLEncoder; import java.util.HashMap; import java.util.Map; import org.json.JSONObject; public final class u extends r { public String ceR; ...
package models; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.OneToMany; import javax.persistence.ManyToOne; import javax.persistence.ManyToMany; import javax.persistence.OneToOne; import java.util.ArrayList; import java.util.List; import play.db.jpa.Mode...
/* 1: */ package com.kaldin.test.scheduletest.action; /* 2: */ /* 3: */ import com.google.gson.Gson; /* 4: */ import com.google.gson.JsonArray; /* 5: */ import com.google.gson.JsonObject; /* 6: */ import com.google.gson.JsonPrimitive; /* 7: */ import com.kaldin.common.security....
package com.fabio.dropbox.services.exception; public class ExistingUserException extends RuntimeException{ public ExistingUserException(String message) { super(message); } }
package com.aries.orion.model.po; import java.util.ArrayList; import java.util.List; public class CourseExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public CourseExample() { oredCriteria = new ArrayList<Criteria>(); } ...
package com.advance.academy.homework.bank.system.repository; public interface GetReference { public <T> T getReference(Class<T> tClass, Integer id); }
package com.ls.Test.packages.net.TCP1; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; public class Server { public static void main(String[] args) throws IOException { ServerSocket serverSocket = new Serve...
package com.example.springStudy.transactional.service; import com.example.springStudy.transactional.dto.TOne; /** * t_one 表 service * * @author lijie * @date 2021/5/23 18:56 */ public interface TestService { /** * 根据 id 查询 * @author lijie * @date 2021/5/23 20:07 * @param id: * @retu...
package modelo; public class Libro { //ATRIBUTOS private int diaAgreLibre; private int mesAgreLibre; private int anoAgreLibre; private String pais; private int cantidadPag; private String nombre; private String nombreDelAutor; private String regisISBN; private boolean editAnoActu; //CONSTRUCTOR pu...
package com.solomon; import com.solomon.domain.Question; import com.solomon.repository.QuestionRepo; 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.test.contex...
/** * * ****************************************************************************** * MontiCAR Modeling Family, www.se-rwth.de * Copyright (c) 2017, Software Engineering Group at RWTH Aachen, * All rights reserved. * * This project is free software; you can redistribute it and/or * modify it under the ...
package main.fr.brice.quarto.model; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Bag { ArrayList<Token> tokens; public Bag(){ this.tokens = new ArrayList<Token>(); } public void addToken(List<Token> token){ if(token != null){ ...
package com.chuxin.family.parse; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import com.chuxin.family.parse.been.CxPairInit; import com.chuxin.family.parse.been.CxTabloid; import com.chuxin.family.parse.been.CxTabloidCateCon...
package openopoly.control.business; import openopoly.Player; /** Classe que representa o banco como um Proprietario * * @author Lucas * @author Sergio */ public class Bank { private static Player bank; /** * O construtor tem a função de instanciar um Jogador de nome "bank" */ public Bank() ...
import java.io.File; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStream; import java.io.InputStreamReader; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import java.util.*; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import java...
import java.util.*; import java.io.*; class prime{ public static void main(String args[]){ int n,sum=0; Scanner sc= new Scanner(System.in); System.out.println("Enter size of array"); n=sc.nextInt(); int arr[]; arr= new int[n]; System.out.println("Enter elements"); int r,c=0; for(in...
package com.mctoybox.toybox.exceptions; public class PlayerNotAllowedClassException extends Exception { private static final long serialVersionUID = 1L; public PlayerNotAllowedClassException() { super(); } public PlayerNotAllowedClassException(String message) { super(message); } public PlayerNotAllowed...
package com.xiruan.demand.demand.job; import com.xiruan.demand.entity.automation.ParamField; import com.xiruan.demand.repository.ParamFieldDao; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.spri...
package org.slf4j.event; import java.util.Objects; public class KeyValuePair { public final String key; public final Object value; public KeyValuePair(String key, Object value) { this.key = key; this.value = value; } @Override public String toString() { return String...
package org.usfirst.frc.team1155.robot; class Timer { private double startTime, previousTime, currentTime, differenceInTime; // Called During Auto-Init void setStartTime() { startTime = System.currentTimeMillis(); previousTime = startTime; System.out.println("Start Time " + startTi...
package com.xactly.automation.GmailTest; import junit.framework.Test; import junit.framework.TestCase; import com.jayway.restassured.RestAssured; import com.jayway.restassured.response.Headers; import com.jayway.restassured.response.ResponseBody; import org.testng.annotations.BeforeClass; import org.testng.annotation...
package com.example.responsimobile.view.fragment; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.lifecycle.Observer; import androidx.lifecycle.ViewModelProvider; import androidx.recyclerview.widget.LinearLayoutM...
package org.twak.gouraud; import static org.lwjgl.assimp.Assimp.AI_MATKEY_COLOR_AMBIENT; import static org.lwjgl.assimp.Assimp.AI_MATKEY_COLOR_DIFFUSE; import static org.lwjgl.assimp.Assimp.AI_MATKEY_COLOR_SPECULAR; import static org.lwjgl.assimp.Assimp.aiGetErrorString; import static org.lwjgl.assimp.Assimp.aiG...
package swexpert; import java.util.Scanner; public class SWEA_1209_D3_Sum { public static void main(String[] args) { Scanner sc = new Scanner(System.in); StringBuilder sb = new StringBuilder(); for (int i = 1; i <= 10; i++) { sb.append("#").append(i).append(" "); int N = sc.nextInt(); ...
package View; import Server.Server; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.fxml.Initializable; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.media.Media; import javafx.scene.media.Medi...
import java.util.ArrayList; import java.util.LinkedList; public class PrintLinkListReversely { public static void main(String[] args) { PrintLinkListReversely printLinkListReversely = new PrintLinkListReversely(); ListNode node0 = new ListNode(0); ListNode node1 = node0.next = new ListNod...
/** * Audit specific code. */ package tech.jhipster.react.demo.config.audit;
package edu.frostburg.COSC310.TrippJohnathan; /** * Public interface for the Map abstract data type * @author Johnathan Tripp (╯°□°)╯︵ ┻━┻ */ public interface MapADT<K,V> { /** * Nested interface for an entry in the map * @param <K> the key of the entry * @param <V> the value of the ent...
package foo.dbgroup.RDFstruct; import com.hp.hpl.jena.query.Query; import com.hp.hpl.jena.query.QueryFactory; import com.hp.hpl.jena.query.QuerySolution; import com.hp.hpl.jena.query.ResultSet; import com.hp.hpl.jena.rdf.model.RDFNode; import virtuoso.jena.driver.*; public class TestConnection { public static vo...
package net.minecraftforge.common.capabilities; public class NBTBase {} // Dummies so the other classes can compile.
/* * Copyright 2014 Hippo B.V. (http://www.onehippo.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 applic...
package com.tatteam.popthecamera.actors; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.scenes.scene2d.Actor; /** * Created by dongc_000 on 9/24/2015. */ public class Camera extends Actor { private ...
package com.tencent.c.e.a.a; public final class k { public int vki = 0; public int vkj = 0; public int vkk = 0; public int vkl = 0; }
package com.hua.mvp.base.presenter; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.hua.mvp.base.BaseFragment; import com.hua.mvp.base.presenter.i.IPres...
package com.xiruan.demand.demand.service; import com.xiruan.demand.entity.monitor.SubCategory; import com.xiruan.demand.repository.SubCategoryDao; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import javax.transaction.Transactional; import java.util.Li...
package ru.vlad805.mapssharedpoints; import ru.yandex.yandexmapkit.MapController; import ru.yandex.yandexmapkit.overlay.Overlay; import ru.yandex.yandexmapkit.utils.GeoPoint; import ru.yandex.yandexmapkit.utils.ScreenPoint; import android.content.Context; import android.content.Intent; public class MapOverlay extends...
class Main { public static void main(String[] args) { class MyDate { int day; int month; int year; MyDate(int day, int month, int year) { this.day = day; this.month = month; this.year = year; } ...
package de.jmda.home.ui.vaadin; import javax.ejb.EJB; import javax.mail.MessagingException; import javax.mail.internet.AddressException; import org.apache.log4j.Logger; import org.vaadin.virkki.cdiutils.application.UIContext.UIScoped; import com.vaadin.server.VaadinRequest; import com.vaadin.ui.UI; import de.jmda.c...
package util; import lombok.AllArgsConstructor; import lombok.Data; @Data @AllArgsConstructor public class EuclidianNode { private Float x; private Float y; public static int calcCostEdge (EuclidianNode a, EuclidianNode b){ float xd = a.getX() - b.getX(); float yd = a.getY() - b.getY();...
package common; public enum OrderType { MARKET((byte)1), LIMIT((byte)2), STOP((byte)3), STOP_LIMIT((byte)4), HIDDEN_LIMIT((byte)5); private byte orderType; OrderType(byte orderType){ this.orderType = orderType; } public byte getOrderType(){ return this.orderType; ...
package io.tjf.releasenotes; import java.io.IOException; import java.util.List; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.stereotype.Component; import io.tjf.releasenotes.generator.Generator; /** * {@link ApplicationRunner} t...
package cn.canlnac.onlinecourse.domain.interactor; import javax.inject.Inject; import cn.canlnac.onlinecourse.domain.executor.PostExecutionThread; import cn.canlnac.onlinecourse.domain.executor.ThreadExecutor; import cn.canlnac.onlinecourse.domain.repository.CatalogRepository; import rx.Observable; /** * 获取目录下的文档使用...
package be.cytomine.ldap; /* * Copyright (c) 2009-2017. Authors: see NOTICE file. * * 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 * * Unle...
package com.five_philosophers; class Sout { static void prnt(int nTime, String sWhat) { String[] sout = {"%20s\n", "%40s\n", "%60s\n", "%80s\n","%100s\n"}; System.out.printf(sout[nTime],sWhat); } }
package org.lvzr.fast.java.patten.behavior.visitor; public interface Visitor { public void visitAction(Subject sub); }
package com.rensimyl.www.mathics; import android.os.Bundle; import android.view.View; import android.widget.Button; import androidx.appcompat.app.AppCompatActivity; public class Matgeo1 extends AppCompatActivity { Button backgeo1; @Override protected void onCreate(Bundle savedInstanceState) { su...
package ru.bm.eetp.exception.handler; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.context.r...
package practise; public class Child extends Abstract { @Override public void sum() { // TODO Auto-generated method stub } }
package shawn.designpattern.adapter; public interface Chargable { void charge(); }
package com.nsp.test.reflect.parent; public interface TestInterface<T> { }
package com.example.oop13072020; public class SinhVien { //Thuộc tính private String Ten; private int Tuoi; private String Diachi; // Định nghĩa constructer : phương thức khởi tạo public SinhVien(String Ten ,int tuoi,String DiaChi) { this.Ten = Ten; this.Tuoi = Tuoi; ...
package com.udacity.georgebalasca.popularmoviesstage_2.utils; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.Uri; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException...
package org.gnunet.integration.internal.share; import java.util.concurrent.TimeUnit; import scala.concurrent.duration.Duration; import scala.concurrent.duration.FiniteDuration; public class Constantes { //Waiting time for message passing, actor are asynchronous, we must wait few time between tell message and As...
package com.semantyca.nb.core.dataengine.jpa.model.convertor.db.eclipselink; import com.semantyca.nb.core.dataengine.jpa.IAppEntity; import org.eclipse.persistence.internal.helper.DatabaseField; import org.eclipse.persistence.mappings.DatabaseMapping; import org.eclipse.persistence.mappings.converters.Converter; impor...
package com.myth.videofilter.filter.advance; import android.content.Context; import com.myth.videofilter.filter.base.OpenGlUtils; public class B612AdoreFilter extends B612BaseFilter { public B612AdoreFilter(Context context) { super(context); } @Override protected int getInputTexture() { ...
package boletin.pkg13; import java.util.logging.Level; import java.util.logging.Logger; /** * @author Juan Borrajo Rodriguez Nº5937 */ public class Boletin13 { public static void main(String[] args) { ConversorTemperaturas a=new ConversorTemperaturas(); a.pedirTemperatura(); tr...
import java.awt.*; import java.awt.event.*; import javax.swing.*; public class MyForm extends JApplet implements ActionListener { String str="",str1="",str2=""; Object x[]; JLabel n,a,i,lbl; JTextField name; JTextArea addr; JList lst; JButton b1,b2; Container c; public void init() { JFrame jf=new JFrame(); ...
/* * Sonar Drools Plugin * Copyright (C) 2011 Jérémie Lagarde * dev@sonar.codehaus.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LIC...
package capstone.abang.com.Models; /** * Created by Pc-user on 23/02/2018. */ public class Services { private String serviceName; private String serviceStatus; private String serviceType; public Services() { } public Services(String serviceName, String serviceStatus, String serviceType) {...
package com.tencent.mm.plugin.game.gamewebview.jsapi.biz; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import com.tencent.mm.plugin.webview.model.ad; import com.tencent.mm.plugin.webview.model.d.b; import com.tencent.mm.plugin.webview.modeltools.e; class UploadMedia...
/** * Copyright &copy; 2012-2014 <a href="http://www.iwantclick.com">iWantClick</a>iwc.shop All rights reserved. */ package com.beiyelin.commonsql.persistence.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.anno...
/* * Copyright (C), 2013-2015, 上海汽车集团股份有限公司 * FileName: NeedLoginParam.java * Author: baowenzhou * Date: 2016年03月10日 下午5:27:08 * Description: //模块目的、功能描述 * History: //修改记录 * <author> <time> <version> <desc> * 修改人姓名 修改时间 版本号 描述 */ package com.xjf....
package com.beiyelin.account.security; import com.beiyelin.account.service.AccountService; import com.beiyelin.common.utils.CollectionUtils; import lombok.extern.slf4j.Slf4j; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.security.core.userdetails.UserDetails; import...
package com.sixmac.service; import com.sixmac.entity.Site; import com.sixmac.entity.Stadium; import com.sixmac.service.common.ICommonService; import java.util.List; /** * Created by Administrator on 2016/5/24 0024 下午 3:52. */ public interface SiteService extends ICommonService<Site> { public List<Site> findBy...
package br.usp.memoriavirtual.modelo.fachadas; import javax.ejb.EJB; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import br.usp.memoriavirtual.modelo.entidades.Autoria; import br.usp.memoriavirtual.modelo.entidades.bempatrimonial.Assunto; import br.u...
package com.wsr.handler; import com.wsr.config.SecurityProperties; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.Authentication; import org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler; import org.springframework.sec...
package com.sojay.testfunction.card.card1; import android.annotation.TargetApi; import android.os.Build; import android.view.View; import androidx.viewpager.widget.ViewPager; public class CardTransformer implements ViewPager.PageTransformer { private int mOffset = 20; @TargetApi(Build.VERSION_CODES.LOLLIPO...
package com.support.kafka; /** * @author zhangbingquan * @desc kafka的消息生产者 * @time 2019-10-20 17:33 */ public class KafkaProducer { }
package com.tencent.mm.plugin.game.model.a; import android.database.Cursor; import com.tencent.mm.ab.b; import com.tencent.mm.ab.l; import com.tencent.mm.compatible.util.f; import com.tencent.mm.plugin.downloader.model.FileDownloadTaskInfo; import com.tencent.mm.plugin.downloader.model.d; import com.tencent.mm.plugin....
package com.app.cosmetics.api.exception; import org.springframework.http.HttpStatus; public class ExpiredException extends MyException { public ExpiredException() { super(HttpStatus.UNAUTHORIZED, "Expired Exception"); } }
package br.com.nozinho.util.json; import java.io.Reader; import java.lang.reflect.Type; import java.util.List; import com.google.gson.Gson; import com.google.gson.GsonBuilder; /** * Classe Entidade com JSon methods * * @author RodrigoAndrade */ public class JsonUtil { public static String toJson(Object propr...
package com.elkattanman.farmFxml.controllers.spending; import com.elkattanman.farmFxml.callback.CallBack; import com.elkattanman.farmFxml.domain.Capital; import com.elkattanman.farmFxml.domain.Spending; import com.elkattanman.farmFxml.repositories.CapitalRepository; import com.elkattanman.farmFxml.repositories.Spendin...