text
stringlengths
10
2.72M
package com.kodilla.restaurantfrontend; public enum ProductType { SOUP, DESSERT, DRINKS, FIRST_DISH, MAIN_COURSE }
/* * Copyright 2014-2016 See AUTHORS 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 * * Unless required by applicable law or agr...
package LeetCodeUtils.Contest.C2021_04_19; import LeetCodeUtils.MyMatrix; import org.junit.Test; import java.util.*; import java.util.PriorityQueue; public class Third { @Test public void test() { getOrder(MyMatrix.IntMatrixAdapter("[[19,13],[16,9],[21,10],[32,25],[37,4],[49,24],[2,15],[38,41],[37,3...
package io.github.apfelcreme.Pipes.Manager; import com.destroystokyo.paper.MaterialTags; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import com.google.common.cache.RemovalCause; import com.google.common.cache.RemovalListener; import com.google.common.cache.RemovalNotification; im...
/* * 文 件 名: UploadStatusRequest.java * 描 述: UploadStatusRequest.java * 时 间: 2013-6-21 */ package com.babyshow.rest.uploadstatus; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import com.babyshow.rest.RestRequest; /** * <一句话功能简述> * * @author ztc...
package httf.ui; public class Bitmap { public int width; public int height; public int[][] pixels; public Bitmap(int width, int height) { this.width = width; this.height = height; this.pixels = new int[width][height]; } public void draw(Bitmap map, int xOffs, int yOffs) { for(int x = 0; x < map.wid...
package nl.vu.datalayer.coprocessor.joins; import org.apache.hadoop.hbase.util.Bytes; /**ASSUMPTION: expecting the input qualifier bytes to be * - 2 bytes - join id * - 1 byte - triple id * - 1 byte - encoding of join positions * TODO add 3 bits to encode the order in which elements should go in the join key *...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.preferences.autofill; import android.app.Fragment; import android.os.Bundle; import android.text.Editable; import and...
package bnorm.timer; /** * A simple {@link ITimer} implementation. * * @author Brian Norman */ public class Timer implements ITimer { /** * The end time of the timer if it is running. */ public static final double RUNNING_END_TIME = -1.0; /** * The current state of the timer. */ ...
package test.design.future; /** * Created by maguoqiang on 2016/9/12. * Client主要实现了获取Futureata,开启构造RealData的线程,并在接收请求后,很快返回FutureData */ public class Client { public Data request(final String queryStr){ final FutureData future=new FutureData(); new Thread(){ public void run(){ ...
package com.harrymt.productivitymapping; import android.Manifest; import android.content.pm.PackageManager; import android.location.Location; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import android.support.v4.app.FragmentActivity; import android...
package imports; import java.util.NoSuchElementException; public class GQueue<E> implements IQueue<E>{ private Node<E> firstNode, lastNode; private int size; private String string; public GQueue(){ firstNode=null; lastNode=null; size=0; string=""; } public boolean isEmpty(){ ...
package com.tencent.xweb.x5.sdk; import android.content.Context; import android.webkit.ValueCallback; import com.tencent.xweb.r; import java.util.HashMap; import java.util.Map; import org.xwalk.core.Log; public final class d { static a vDZ; public interface a { void onViewInitFinished(boolean z); ...
package io.sensesecure.hadoop.xz; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FSDataInputStream; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.DataInputBuffer; import org.apache.hadoop.io.DataOutputBuffer; import org.apache.hadoop.io....
package org.motechproject.server.strategy; import org.motechproject.server.model.ExtractedMessage; import org.motechproject.server.model.IncomingMessage; public interface MessageContentExtractionStrategy { public ExtractedMessage extractFrom(IncomingMessage message); String extractDateFrom(String time); ...
package com.hogai.webtest.pages; import org.openqa.selenium.By; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.How; import org.openqa.selenium.WebElement; import org.openqa.selenium.WebDriver; import org.testng.Assert; public class KayakFlightSearchResultPage { // Element lookups @Fi...
package br.com.ranking; import java.util.Calendar; import java.util.List; public class Jogador { private String nome; private String streak; private List<Arma> arma; private List<Calendar> assasinatos; private List<Calendar> mortes; public String getNome() { return nome; ...
package botenanna.behaviortree.guards; import botenanna.behaviortree.ArgumentTranslator; import botenanna.behaviortree.Leaf; import botenanna.behaviortree.MissingNodeException; import botenanna.behaviortree.NodeStatus; import botenanna.game.Situation; import botenanna.math.Vector3; import java.util.function.Function;...
package traffic_simulator; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class NewRoadConstructor extends JFrame implements ActionListener { final int WIDTH = 250; final int HEIGHT = 250; String initialDirection; int roadType; ...
package nio; import org.junit.Test; import static org.junit.Assert.*; /** * Created by zhoubo on 2017/4/25. */ public class BasicChannelTest { @Test public void channelDemo1() throws Exception { BasicChannel.channelDemo1(); } }
package com.javarush.task.task18.task1807; import java.io.FileInputStream; import java.io.InputStreamReader; import java.io.BufferedReader; /* Подсчет запятых */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamRe...
package zm.gov.moh.core.repository.database.entity.custom; import com.squareup.moshi.Json; import androidx.room.ColumnInfo; import androidx.room.Entity; import androidx.room.PrimaryKey; @Entity public class Identifier { @PrimaryKey(autoGenerate = true) @ColumnInfo(name = "identifier_id") @Json(name = "...
package emmet.warehousing.operation.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.rest.webmvc.RepositoryRestController; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation...
package de.jmda.gen.java; import java.lang.annotation.Annotation; import javax.lang.model.element.Name; import javax.lang.model.element.TypeElement; import javax.lang.model.element.VariableElement; import javax.lang.model.type.TypeMirror; import javax.validation.constraints.NotNull; import de.jmda.gen.java.Modifiers...
package com.vti.backend.datalayer; public interface IUserRepository { }
/* * 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 physics; import actors.Actor; import actors.Collision; /** * * @author Perlt */ public class Gravity { private Actor ...
package com.myproject.lab1.session; import org.springframework.data.mongodb.repository.MongoRepository; import java.util.List; import java.util.Optional; public interface SessionRepository extends MongoRepository<Session, String> { List<Session> findByCreatorId(String creatorId); Optional<Session> findByInviteId...
package javabasico.aula13labs; import java.util.Scanner; /** * @author Kim Tsunoda * Objetivo: Faša um programa que peša o tamanho de um arquivo para download (em MB) e a velocidade de um link de Internet (em Mbps), * calcule e informe o tempo aproximado de download do arquivo usando este link (em minutos)...
package net.iz44kpvp.kitpvp.Comandos; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class Spawn implements CommandExecutor { public boolean onCommand(final CommandSender sender, final Command cmd, final S...
package org.nyer.sns.oauth.v1; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Ma...
package com.hesoyam.pharmacy.user.dto; public class AllergiesDTO { Long id; String medicineName; String manufacturerName; public AllergiesDTO() { //Empty ctor for JSON serializer } public AllergiesDTO(Long id, String medicineName, String manufacturerName) { this.id = id; ...
package com.project.lrdn.contactslist; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.ActivityCompat; import android.support.v7.app.AppCompatAct...
package com.example.myapplication; import androidx.appcompat.app.AppCompatActivity; import androidx.localbroadcastmanager.content.LocalBroadcastManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundl...
package com.accp.service.impl; import com.accp.entity.PurchasereturnsDetaikstable; import com.accp.dao.PurchasereturnsDetaikstableDao; import com.accp.service.IPurchasereturnsDetaikstableService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; /** * ...
package com.kareo.ui.codingcapture.implementation.data; import com.fasterxml.jackson.annotation.JsonProperty; import org.joda.time.DateTime; import org.scalastuff.scalabeans.sig.Mirror; import java.util.UUID; /** * Created by narendral on 09/09/15. */ public class PMUser { private long id; private String g...
package model.obstacle; /** * The possible unit types<br> * * <hr> * Date created: Jun 6, 2010<br> * Date last modified: Jun 6, 2010<br> * <hr> * @author Glen Watson */ public enum UnitType { Zergling, Mareine, Zealot }
package org.houstondragonacademy.archer.exceptions; import lombok.AllArgsConstructor; import lombok.NonNull; @AllArgsConstructor public class CourseServiceException extends RuntimeException{ @NonNull String message; }
import java.util.*; import java.io.*; public class ShatteredCake { public static void main(String[] args) throws IOException { Scanner nya = new Scanner(System.in); int width = Integer.parseInt(nya.nextLine()); int pieces = Integer.parseInt(nya.nextLine()); long total = 0; ...
package com.kush.lib.expressions.evaluators; import static com.kush.lib.expressions.ExpressionException.exceptionWithMessage; import java.util.ArrayList; import java.util.List; import java.util.Optional; import com.kush.lib.expressions.ExpressionEvaluator; import com.kush.lib.expressions.ExpressionEvaluatorFactory; ...
package com.tencent.mm.view.footer; import android.content.Context; import android.graphics.Bitmap; import com.tencent.mm.api.d; import com.tencent.mm.bd.a.g; import com.tencent.mm.bi.b; public final class c extends a { private Bitmap uVt; private Bitmap uVu; protected final void cCi() { super.cC...
package com.bfchengnuo.security.core.properties; import lombok.Data; /** * @author 冰封承諾Andy * @date 2019-11-17 */ @Data public class OAuth2Properties { /** * JWT 的签名,密签与验签的时候用,配置文件配置,这里是默认值 */ private String jwtSigningKey = "lxl"; private OAuth2ClientProperties[] clients = {}; }
package com.yto.tech.mail; public class Contant { public static final String CAT_SERVER_KEY = "catip"; public static final String CAT_ENV = "catenv"; public static final String CAT_SERVER_KEY_PROVIOUS = "cat-web-server"; public static String alertContentAddCatEnv(String content){ ...
package codesum.lm.topicsum; import java.io.IOException; import java.io.Serializable; import org.apache.commons.io.FileUtils; import org.apache.commons.io.LineIterator; import com.esotericsoftware.kryo.DefaultSerializer; import com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer; @DefaultSerializer(Comp...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package com.qiang.graduation.main.dao; import com.qiang.graduation.main.entity.User; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import java.util.List; @Re...
package com.example.demo.entity; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import javax.persistence.*; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.ut...
package twilight.bgfx; public enum Fatal { DebugCheck, MinimumRequiredSpecs, InvalidShader, UnableToInitialize, UnableToCreateTexture, }
package cn.canlnac.onlinecourse.presentation.presenter; import android.support.annotation.NonNull; import javax.inject.Inject; import cn.canlnac.onlinecourse.data.exception.ResponseStatusException; import cn.canlnac.onlinecourse.domain.interactor.DefaultSubscriber; import cn.canlnac.onlinecourse.domain.interactor.Us...
package moe.vergo.seasonalseiyuuapi.adapter.in.web.dto; public class Views { public interface Simple { } public interface Detailed extends Simple { } }
package com.smxknife.java2.thread.designpattern._01SingleThreadedExecution; /** * @author smxknife * 2019/9/24 */ public class _Run { // Single Threaded Execution :能通过的只有一个人 // Single Threaded Execution模式是单线程执行,是多线程的基础 // Single Threaded Execution有时也称为临界区 // 归纳 /** * 1. SharedResource(共享资源) 被多个线程访问 * 2. 存在...
package com.jim.multipos.ui.mainpospage.model; import android.os.Parcel; import com.jim.mpviews.suggestions.model.SearchSuggestion; import com.jim.multipos.data.db.model.customer.Customer; /** * Created by Sirojiddin on 05.01.2018. */ public class CustomerSuggestion implements SearchSuggestion { private Cust...
import java.util.Scanner; public class Monkey_Main { public static void main(String[] args) { Monkey smiling = new Monkey(); boolean monk = smiling.monkeyTrouble(false, false); System.out.println("my result is:" + monk); } }
import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Cursor; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Frame; import java.awt.Graphics; import java.awt.GridLayout; import java.awt.Image; import java.awt.Point; import java.awt.Toolkit; import java.a...
package com.espendwise.manta.web.controllers; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui...
package cn.com.ykse.santa.service; import cn.com.ykse.santa.service.vo.LoginVO; import cn.com.ykse.santa.service.vo.SignUpVO; import java.util.Map; /** * Created by youyi on 2016/1/10. */ public interface SecurityService { public Map<String, Object> login(LoginVO loginModel); public Map<String, Object> si...
/* * 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 users; import javax.faces.bean.ApplicationScoped; import javax.faces.bean.ManagedBean; import javax.faces.bean.ManagedProperty...
package engines; import org.junit.Test; public class TestLogger { @Test public void testLogger() { Logger.setActivate(true); Logger.printLine("lol"); } }
package edu.kis.powp.jobs2d.events; import edu.kis.powp.command.ComplexCommandFactory; import edu.kis.powp.jobs2d.drivers.DriverManager; import edu.kis.powp.jobs2d.magicpresets.FiguresJoe; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class SelectTestCommandOptionListener implements...
package controler; import javax.persistence.*; public class Connexion { private static EntityManagerFactory emf; public static void init() { emf = Persistence.createEntityManagerFactory("initialisation"); } public static void modification() { emf = Persistence.createEntityManagerFactory("modification"...
package cn.edu.zucc.web.controller; import cn.edu.zucc.web.model.ViewRun; import cn.edu.zucc.web.security.RoleSign; import cn.edu.zucc.web.service.LoadRunDataService; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.shiro.authz.annotation.RequiresRoles; import org....
package pl.edu.amu.datasupplier.service; import lombok.extern.slf4j.Slf4j; import org.bson.types.ObjectId; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import pl.edu.amu.datasupplier.model...
/////////////////////////////////////////////////////////////////////////////// // // Main Class File: Receiver.java // File: PacketLinkedList.java // Semester: CS367 Data Structures Spring 2016 // // Author: David Liang dliang23@wisc.edu // CS Login: dliang // Lecturer's Name: ...
import javax.swing.table.AbstractTableModel; import javax.swing.table.TableModel; import java.util.ArrayList; /* * Show how to use an AbstractTableModel as part of your * own application's model. There are a number of possibilities: * -- Make the application's model extend AbstractTableModel * -- Provide an ...
package lpapps.ers.objects; /** * * @author Laurence Parker * */ public class Employee extends Person { protected Date dateStarted; protected float salary; protected int id; /** * null constructor */ public Employee() { super(); ...
package rjm.romek.awscourse.verifier.iam; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import rjm.romek.awscourse.model.UserTask; import rjm.romek.awscourse.service.AwsAssumedService; import rjm.romek.awscourse.service.StsService;...
package com.cos.services.interfaces; import java.text.ParseException; import java.util.ArrayList; import java.util.List; import com.cos.entities.Discount; public interface DiscountServiceInterface { Discount createDiscount(String discountCode, String startDate, String endDate, int amount) throws ParseException;...
package com.zhouyi.business.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler; /** * @Author: first * @Date: 上午6:23 2019/11/6 * @Description: 线程池配置 **/ @Configuration publ...
package il.ac.tau.cs.sw1.ex9.starfleet; import java.util.Comparator; public class mySpaceshipComparator implements Comparator<Spaceship> { @Override public int compare(Spaceship o1, Spaceship o2) { if(o1.getFirePower() > o2.getFirePower()) { //compare fire power (descending) return -1; ...
package org.zacharylavallee.file; import org.junit.Test; import org.zacharylavallee.test.FileUsageTest; import java.io.File; import java.io.IOException; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.zacharylavallee.file.FileUtils.getClasspathResource; publ...
package com.facebook.react.views.art; import com.facebook.react.module.annotations.ReactModule; @ReactModule(name = "ARTText") public class ARTTextViewManager extends ARTRenderableViewManager { ARTTextViewManager() { super("ARTText"); } } /* Location: C:\Users\august\Desktop\tik\df_...
package com.tencent.xweb.xwalk; class g$4 implements Runnable { final /* synthetic */ String ges; final /* synthetic */ Object uRm; final /* synthetic */ g vEV; g$4(g gVar, Object obj, String str) { this.vEV = gVar; this.uRm = obj; this.ges = str; } public final void r...
package adapter.design.pattern.example1; public class AdapterPatternTest { public static void main(String args[]){ EuropeanCircularSocket euSocket=new EuropeanCircularSocket(); euSocket.circularSocket(); USRectangularPlug usRectangularPlug=new USRectangularPlug(); usRectangularPlug.rectangularP...
package com.example.pengawas.API; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.util.Log; import com.example.pengawas.LoginActivity; import java.util.HashMap; import okhttp3.ResponseBody; import re...
package com.example.bgmmixer; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class BGMMixerTests { @Test void contextLoads() { } }
package com.tencent.mm.ui.transmit; import com.tencent.mm.plugin.fts.a.a.g; import com.tencent.mm.plugin.fts.a.a.l; import java.util.List; class a$a { String bWm; g jrx; List<l> jsx; int jta; int jtc; boolean jtf; final /* synthetic */ a uDa; String uDc; private a$a(a aVar) { ...
package gxc.domain; import java.io.Serializable; import java.util.Date; import java.util.HashSet; import java.util.Set; public class User implements Serializable{ private static final long serialVersionUID = -4826871274157868169L; private Integer uid; private String username; private String password; private S...
package lesson41.LinkedList; /** * List nói chung lưu trữ phần tử theo thứ tự được thêm vào */ import java.util.LinkedList; public class LinkedListEx { public static void main(String[] args) { Student s1 = new Student("s1", "Cường"); Student s2 = new Student("s2", "Huy"); Student s3 = ne...
package LeetCode.Trees; public class MinimumDepthBinaryTree { int min; public int minDepth(TreeNode root) { min = Integer.MAX_VALUE; if(root == null) return 0; helper(root, 1); return min; } public void helper(TreeNode node, int curH) { if(node == null) return; if(node.left == null &&...
package com.coinhunter.utils.http; import lombok.extern.slf4j.Slf4j; import org.springframework.http.*; import org.springframework.web.client.RestTemplate; import java.util.Map; @Slf4j public class HttpClient { private RestTemplate rest; private HttpHeaders headers; private HttpStatus status; public HttpClient...
package org.nmrg.common.utils.log; import javax.servlet.http.HttpServletRequest; import org.aspectj.lang.JoinPoint; import org.nmrg.common.utils.verify.VerifyUtils; import org.nmrg.entity.common.mongodb.OperateLogEntity; /** ** Log转置 ** @ClassName: StoreyLogUtil ** @Description: TODO ** @author CC ...
package ru.myapp.storage; import ru.myapp.models.User; import java.time.LocalDate; import java.util.ArrayList; import java.util.List; /* * класс - сингльтон (приватный конструктор и статический метод для получения экземпляра класса) * один объект в котором хранятся все пользователи, типа базы данных только в памят...
package com.tencent.mm.plugin.exdevice.ui; import android.content.Context; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import android.content.Intent; import android.os.Build.VERSION; import android.os.Bundle; import android.os.Looper; import android.text.TextPaint; ...
/* * 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 data.db; import data.core.api.ApiData; import data.core.api.ApiDatabase; import java.util.HashMap; /** * * @au...
/* 1: */ package com.kaldin.test.settest.Hibernate; /* 2: */ /* 3: */ import com.kaldin.common.db.QueryHelper; /* 4: */ import com.kaldin.common.util.HibernateUtil; /* 5: */ import com.kaldin.common.util.PagingBean; /* 6: */ import com.kaldin.common.utility.StringUtility; /* 7: ...
/******************************************************************************* * Copyright 2020 Grégoire Martinetti * * 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://ww...
package com.tencent.mm.ui.chatting.gallery; import com.tencent.mm.g.a.gj; import com.tencent.mm.sdk.b.b; import com.tencent.mm.sdk.b.c; class ImageGalleryGridUI$4 extends c<gj> { final /* synthetic */ ImageGalleryGridUI tUJ; ImageGalleryGridUI$4(ImageGalleryGridUI imageGalleryGridUI) { this.tUJ = ima...
package org.mvirtual.persistence.hibernate.dao; import org.mvirtual.persistence.entity.relation.AuthorityHeritage; import org.mvirtual.persistence.entity.relation.embedded.AuthorityHeritageId; import org.mvirtual.persistence.dao.AuthorityHeritageDAO; /** * Hibernate-specific implementation of <tt>AuthorityHeritageDA...
package com.bufeng.ratelimiter.strategy.impl; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicLong; import com.bufeng.ratelimiter.aop.RateLimiterType; import com.bufeng.ratelimiter.strategy.RateLimiterStrategyFactory; import org.aspectj.lan...
package quizzlr.user; import java.io.IOException; import java.util.List; 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.HttpServlet...
package com.moon.institution.service; import com.moon.dto.SpringDITest; import com.moon.institution.entity.Institution; public interface IInstitutionService { /** * 查询机构评价 * @return 机构信息 */ Institution getInstitutionByItem(String id); }
import net.spy.memcached.AddrUtil; import net.spy.memcached.ConnectionFactoryBuilder; import net.spy.memcached.FailureMode; import net.spy.memcached.MemcachedClient; import net.spy.memcached.auth.AuthDescriptor; import net.spy.memcached.auth.PlainCallbackHandler; import java.io.IOException; import java.io.PrintWriter;...
package com.cmpickle.volumize.view.profile; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.FloatingActionButton; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.cmpickle.volumize.Inject.Injecto...
package com.xiaoxiao.service.backend.impl; import com.xiaoxiao.feign.BlogsFeignServiceClient; import com.xiaoxiao.pojo.XiaoxiaoLabels; import com.xiaoxiao.service.backend.LabelFeignService; import com.xiaoxiao.utils.Result; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stere...
package com.dio.api.repositories; import com.dio.api.model.TypeDate; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface TypeDateRepository extends JpaRepository<TypeDate, Long> { }
/* MachineFactory.java Load and instantiate Machine objects. Part of the ReplicatorG project - http://www.replicat.org Copyright (c) 2008 Zach Smith 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 Found...
package io.github.nabhosal.secureapp; import io.github.nabhosal.secureapp.exception.SecurityContextException; import io.github.nabhosal.secureapp.impl.DelimitedCertificateFormatImpl; public class SecurityContextBuilder { /* System property to get certificate path */ private static final String DEFAULT_CERT_S...
package org.tibetjungle.web; public interface WebService{ public Object echo( Object request ); }
package com.originspark.drp.models.projects.invoices; import java.util.List; import javax.persistence.Entity; import javax.persistence.OneToMany; import javax.persistence.Table; import com.fasterxml.jackson.annotation.JsonIgnore; import com.originspark.drp.models.projects.costs.StockOutCost; /** * 出库单 */ @Entit...
package pack1; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.JLayeredPane; import javax.swing.JOptionPane; import java.awt.CardLayout; import javax.swing.JButton; import javax.swing.JLabel; imp...
package chapter_1_06_Interfaces; import java.util.Arrays; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.function.BiFunction; import java.util.stream.Stream; public class NewJava8 implements...