text
stringlengths
10
2.72M
package zm.gov.moh.common.submodule.form.model.widgetModel; public class CodedConceptWidgetModel extends AbstractCodedConceptWidgetModel { public CodedConceptWidgetModel(){ super(); } }
/** * Created by SeAxiAoD on 2019/11/12. */ import java.util.Random; public class Main { public static void main(String[] args){ /************************ Step 1: Initialization ***********************/ SpinalEncoder encoder = new SpinalEncoder(4,32,6,1); SpinalDecoder decoder = new Spi...
package ru.Makivay.sandbox.searcher; /** * Created by makivay on 14.02.17. */ public class Expression { private final Type type; private final String text; private final int position; private final int minLength; private final int maxLength; public Expression(Type type, String text, int expr...
package day2; public class PalindromeNumber { public static void main(String[] args) { System.out.println(isPalindrome(12321)); } public static boolean isPalindrome(long num){ long remain = num; //12321 long rev =0; while(remain != 0){ long digit = remain % ...
package com.tencent.mm.pluginsdk.ui; import android.content.Context; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.content.Intent; import com.tencent.mm.R; import com.tencent.mm.sdk.platformtools.af; import com.tencent.mm.ui.base.h; public final class j...
package com.JoyUCUU.testng; import org.testng.annotations.Test; import org.testng.annotations.BeforeMethod; import org.testng.annotations.AfterMethod; import org.testng.annotations.DataProvider; import org.testng.annotations.BeforeClass; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeTes...
package alkamli.fahad.teammanagment.teammanagment.requests.task; import com.fasterxml.jackson.databind.ObjectMapper; import java.util.ArrayList; import alkamli.fahad.teammanagment.teammanagment.CommonFunctions; public class AssignTaskToUserRequest { private String adminSession; private int userId; pri...
package myPkg.lecture; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import javax.naming.Context; import javax.naming.InitialContext; import javax.sql.DataSource; public class LectureDAO { private Connection conn ...
package jzoffer; /** * 二维数组中的查找 * * 在一个二维数组中(每个一维数组的长度相同),每一行都按照从左到右递增的顺序排序,每一列都按照从上到 * 下递增的顺序排序。请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否含有该整数。 * * @author ZhaoJun * @date 2019/7/25 17:55 */ public class Solution1 { public boolean Find(int target, int[][] array) { int rowCount = array.length; int...
package net.plazmix.core.api; import net.plazmix.core.api.common.command.CommandArgumentBuilder; import net.plazmix.core.api.common.command.CommandBuilder; import net.plazmix.core.api.service.Service; import java.util.List; import java.util.logging.Logger; /** * @author MasterCapeXD */ public interface CoreApi { ...
package se.jaitco.queueticketapi.service; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.mockito.*; import org.springframework.security.core.userdetails.UserDetails; import se.jaitco.queueticketapi.model.Roles; import se.jaitco.queueticketapi.model.User; import java.util.Arrays; i...
package ru.bm.eetp.controler; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import ru.bm.eetp.config.ConfigProperties; import ru.bm.eetp.dto.ProcessResult; import ru.bm.eetp.dto.RequestResult; import java.net.URI; import java.net.URISyntaxException; i...
package com.forsrc.cxf.server.restful.login.service; import com.forsrc.exception.NoSuchUserException; import com.forsrc.exception.PasswordNotMatchException; import com.forsrc.exception.ServiceException; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; impor...
package com.boot.web.inf; import org.springframework.cloud.netflix.feign.FeignClient; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @FeignClient(name="boot-service") public interface ServiceInterface { @RequestMapping(value =...
package exercicio_214; import java.util.Scanner; public class Exercicio_214 { public static void main(String[] args) { Scanner teclado = new Scanner(System.in); double soma_media, media, media_total,nota1,nota2; String nome; System.out.println("Calcula a media de duas notas dos aluno...
package cn.com.ykse.santa.common.functions; import java.io.IOException; /** * Created by youyi on 2016/1/20. */ @FunctionalInterface public interface Action4<P1, P2, P3, P4> { void invoke(P1 var1, P2 var2, P3 var3, P4 var4) throws IOException; }
package br.com.univag.service; import br.com.univag.dao.UsuarioDao; import br.com.univag.dominio.PerfilUsuario; import br.com.univag.exception.DaoException; import br.com.univag.model.UsuarioVo; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorith...
package bean; public class InfoMessageComment { private int im_id; private int u_id; private String im_reply_content; private String im_reply_time; private String u_name; private String icon; public int getIm_id() { return im_id; } public void setIm_id(int im_id) { this.im_id = im_id; } public int getU_...
package edu.buet.cse.spring.ch02; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import edu.buet.cse.spring.ch02.model.Performer; public class App10 { public static void main(String... args) { ApplicationContext appContext = new...
package com.tencent.mm.plugin.webview.ui.tools; import com.tencent.mm.plugin.webview.ui.tools.WebViewUI.23; import com.tencent.mm.sdk.platformtools.bi; class WebViewUI$23$27 implements Runnable { final /* synthetic */ boolean gnL; final /* synthetic */ 23 pZM; final /* synthetic */ boolean qae; WebVi...
package cn.timebusker.web; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import io.swagger.annotations.Api; @Api("SwaggerController接口测试") @Controller @RequestMapping("/api") public class S...
package android.support.v7.widget; import android.content.Context; import android.content.res.Configuration; import android.graphics.drawable.Drawable; import android.os.Build.VERSION; import android.support.v7.view.menu.ActionMenuItemView; import android.support.v7.view.menu.f; import android.support.v7.view.menu.h; ...
import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Label; import javax.swing.JOptionPane; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.widgets.Text; import ...
package com.distributedShopping.resources; import java.nio.file.Path; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; public class TestLogger implements Logger{ private String logType; public TestLogger() { setLogType("Test App"); } public void newEntry(Strin...
package co.nayt.picnic; import android.graphics.Bitmap; import android.widget.ImageView; import java.lang.ref.WeakReference; import co.nayt.picnic.TaskRunnable.TaskRunnableDownloadMethods; /** * This class manages the TaskRunnable object which downloads and decodes images. It implements * the TaskRunnableDownload...
package com.jiuzhe.app.hotel.dto; /** * @Description:订单成功后返回的数据 */ public class OrderSuccessDto { /** * 房间id */ private String skuId; /** * 订单id */ private String OrderId; /** * 商户id */ private String merchantId; public String getSkuId() { return...
package selenium; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.annotations.*; import org.testng.annotations.Test; public class GroupTest1 { WebDriver d; @Test(groups="G1") public void meth1() { System.out.println("Meth1 in GT1"); System.setPropert...
package com.ibm.ive.tools.japt.reduction.ita; import com.ibm.ive.tools.japt.reduction.ita.ObjectSet.ObjectSetEntry; /** * This class wraps a PropagatedObject to store more information associated with the object. * * PropagatedObject is aware of this class, so that when this class is compared to a propagate...
package com.rofour.baseball.dao.activity.bean; import java.io.Serializable; public class AcctQuotaBean implements Serializable { private static final long serialVersionUID = -4123266529071234148L; private Integer quotaId; private String quotaName; private String fieldName; private Boolean stat...
package edunova; import javax.swing.JOptionPane; public class Zadatak4 { // Za dva unesena broja ispiši njihovu razliku u apsolutnoj vrijednosti public static void main(String[] args) { int i=Integer.parseInt(JOptionPane.showInputDialog("pb")); int j=Integer.parseInt(JOptionPane.showInputDialog("db...
package ru.kirilushkin.housemanaging.repository; import org.springframework.data.jpa.repository.JpaRepository; import ru.kirilushkin.housemanaging.entity.Apartment; public interface ApartmentRepository extends JpaRepository<Apartment, Integer> { }
package mat06.sim.missingitemreminder.fragments.category_dialog; public interface CategoryDialogListener { void saveCustomCategory(String category); }
package pl.jstk.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.validation.BindingResult; import org.springframework.web.bind.annotation.*; import org.springframework.web.servlet...
package com.app.cash.tools.entity; import com.app.cash.tools.dto.Menu; public class Minuman extends Menu { public Minuman(String nama_minuman, double harga){ setNama_menu(nama_minuman); setHarga(harga); setKategori("Minuman"); } }
package com.tencent.mm.aq; import com.tencent.mm.protocal.c.ayp; import com.tencent.mm.protocal.k.b; import com.tencent.mm.protocal.k.d; class a$b extends d implements b { public ayp ebZ = new ayp(); a$b() { } public final byte[] Ie() { return this.ebZ.toByteArray(); } public final ...
package com.axicik; import java.sql.SQLException; import javax.ws.rs.core.Context; import javax.ws.rs.core.UriInfo; import javax.ws.rs.Produces; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; /** * REST Web Service * *...
package com.tyss.cg.jpa.beans; import java.io.Serializable; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.JoinTable; import javax.persistence.Many...
package com.sporsimdi.action.service; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.ejb.EJB; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import javax.faces.model.SelectItem; import com.sporsimdi.action.facade.GrupFacade; import c...
package com.tencent.mm.ui.base; public interface MMViewPager$b { void O(float f, float f2); void P(float f, float f2); }
package com.greedy; import java.io.*; import java.math.*; import java.security.*; import java.text.*; import java.util.*; import java.util.concurrent.*; import java.util.regex.*; public class beautifulPairs { // Complete the beautifulPairs function below. static int beautifulPairs(int[] A, int[] B) { ...
package com.example.quizapp; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.TextView; import android.widget.Toas...
package com.huanuo.npo.controller; import com.huanuo.npo.pojo.People; import com.huanuo.npo.service.PeopleService; import com.huanuo.npo.service.PeopleServiceTest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind...
package com.jeywei.update; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.text.TextUtils; import android.util.Log; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.concurrent.ExecutorService; ...
package com.stark.heap; import com.stark.util.ArrayUtil; /** * Created by Stark on 2017/8/31. */ public class HeapSort { public static void heapSort(int[] arr) { int len = arr.length; int temp; //构建堆 for (int i = len / 2 - 1; i >= 0; i--) { keepBigHeap(arr, i, len); ...
package com.fanbo.kai.zhihu_funny.view.base; import android.support.v7.widget.RecyclerView; import android.view.View; import butterknife.ButterKnife; /** * Created by HK on 2017/1/24. * Email: kaihu1989@gmail.com. */ public abstract class RecyclerViewBaseHolder<D> extends RecyclerView.ViewHolder { public Rec...
class Current { public static void main(String args[]) { System.out.println("Let's Find Current Thread"); Thread t=Thread.currentThread(); System.out.println("Current Thread: "+t); System.out.println("It's Name: "+t.getName()); } }
package com.tencent.mm.plugin.luckymoney.ui; import android.view.View; import android.widget.ImageView; import android.widget.TextView; class i$c { ImageView hVP; View ido; TextView jYA; TextView kLE; TextView kLF; TextView kLG; TextView kLH; ImageView kLI; TextView kLJ; final ...
package co.th.aten.network.web; import java.io.IOException; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.Map; import javax.annotation.PostConstruct; import javax.faces.bean.SessionSc...
package inordertraversal; import java.util.ArrayList; import java.util.Deque; import java.util.LinkedList; import java.util.List; public class Solution { public List<Integer> inorder(TreeNode root){ List<Integer> inorder = new ArrayList<Integer>(); Deque<TreeNode> stack = new LinkedList<TreeNode>(); TreeNode c...
package com.dev.jdbc; import java.sql.Connection; import java.sql.Driver; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.Scanner; public class JDBCDeletion { static Scanner sc = new Scanner(System.in); public static void main(String[] ...
import java.io.IOException; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.SocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SelectableChannel; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.ServerSocketChannel; impo...
package pomocneKlase; import korisnici.Osoba; import java.util.List; public class PrijavaRegistracija { /* TODO: 1. Izmjeniti algoritam za prijavu tako da pretražuje po listi stringova 2. Nakon nađenog korisnika generisati novi objekat prijavljeniKorisnik 3. Prijava se vrši isključivo na...
package Restaurante; import java.util.TreeSet; public class Restaurante { TreeSet<Producto> productos = new TreeSet<Producto>(); TreeSet<Producto> productosPedidos = new TreeSet<Producto>(); // NO HACE FALTA NINGUN METODO Q DISTINGA LOS NUMEROS DE IDENTIFICACION PARA Q // HAYA REPETIDOS // PORQ LO HACE EL MIS...
package safeflyeu; import safeflyeu.model.Osiguranje; import safeflyeu.view.Izbornik; import safeflyeu.view.Login; import safeflyeu.view.Osiguranja; import safeflyeu.view.Registracija; import safeflyeu.view.SplashScreen; public class Start { public static void main(String[] args) { new SplashScreen().se...
/* * 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.sia.ui.transaksi; /** * * @author ARCH */ public class Bayar extends javax.swing.JFrame { /** * Creates new f...
package com.jim.multipos.ui.mainpospage.model; import com.jim.multipos.data.db.model.Discount; import com.jim.multipos.data.db.model.order.OrderProduct; /** * Created by developer on 27.12.2017. */ public class DiscountItem { private Discount discount; private double ammount; public Discount getDiscou...
package cloud.metaapi.sdk.clients.copy_factory.models; import java.util.List; /** * CopyFactory calendar new filter */ public class CopyFactoryStrategyCalendarNewsFilter { /** * List of calendar news priorities to stop trading on, or {@code null}, leave empty to disable calendar news filter. * One of ...
package com.ymt.tools; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /** * */ public class CmdUtil { private static final Logger logger = LoggerFactory.ge...
package com.mod.apigateway.controller; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import reactor.core.publisher.Mono; @RestController public class ...
package Tasks.LessonSix.Converters; public class FahrenheitKelvin extends BaseConverter { private double inputFahrenheit; FahrenheitKelvin(double inputFahrenheit) { this.inputFahrenheit = inputFahrenheit; } private double fahrenheitKelvinFormula(double value) { return (value - 32) * 5...
package com.example.harry.cymbyl_3.Fragments; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Image...
package uk.gov.hmcts.befta.dse.ccd; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import uk.gov.hmcts.befta.dse.ccd.definition.converter.ExcelTransformer; import uk.gov.hmcts.befta.dse.ccd.definition.converter.JsonTransformer; public class DefinitionConverter { private static Logger logger = LoggerFa...
package LC1800_2000.LC1800_1850; public class LC1816_Truncate_Sentence { public String truncateSentence(String s, int k) { StringBuilder sb = new StringBuilder(); String[] ss = s.split(" "); for (int i = 0; i < k; ++i) { sb.append(ss[i]); if (i != k - 1) sb.append("...
/** */ package sdo.util; import org.eclipse.emf.common.notify.Adapter; import org.eclipse.emf.common.notify.Notifier; import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; import org.eclipse.emf.ecore.EObject; import sdo.*; /** * <!-- begin-user-doc --> * The <b>Adapter Factory</b> for the model. * It ...
package instruments.winds.airreservoirs; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; public class BagpipeTest{ Bagpipe bagpipe; @Before public void before() { bagpipe = new Bagpipe("DM1", "Rooseback's Bagpipes", "Great Highland Bagpipe", 105.86,...
package net.razorvine.pickle; import java.io.IOException; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.StringWriter; import java.text.DateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Collection; import java.util.Co...
package com.example.dataaccessmybatis; import com.example.dataaccessmybatis.model.Note; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class DataAccessMybatisApplication { public static void main(String[] args)...
package com.didiglobal.thriftmock.server; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.TBase; import org.apache.thrift.TFieldRequirementType; import org.apache.thrift.meta_data.FieldMetaData; import org.apache.thrift.meta_data.FieldValueMetaData; import org.apache.thrift.protocol.TS...
package cn.canlnac.onlinecourse.data.entity.mapper; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import javax.inject.Singleton; import cn.canlnac.onlinecourse.data.entity.UploadEntity; import cn.canlnac.onlinecourse.domain.Upload; /** * 上传文件类转换. */ @Singleton public class UploadE...
package com.vilio.bps.temptest.bean; /** * Created by dell on 2017/5/9/0009. */ public class BaffleData { private String returnCodeA; private String totalPriceA; private String returnCodeB; private String totalPriceB; private String returnCodeC; private String totalPriceC; public S...
package com.zngcloudcms.dao; public class MultipleDataSourceAspectAdvice { /*@Pointcut("execution(* com.zngcloudcms.dao.mysql.*.*(..))") public void doMySql() { } @Pointcut("execution(* com.zngcloudcms.dao.mssql..*(..))") public void doMsSql(){} @Pointcut("execution(* com.zngcloudcms.dao.oracle..*(..))") ...
package geometry.service; import geometry.entity.Circle; import geometry.entity.Figure; /** * class CircleCreator. * * @author Ihor Zhytchenko (igor.zhytchenko@gmail.com) * @version $1$ * @since 18.08.2018 */ public class CircleCreator implements Creator { @Override public Figure createFigure() { ...
package com.fleet.cxf; import com.alibaba.fastjson.JSON; import com.fleet.cxf.entity.User; import com.fleet.cxf.service.UserService; import org.apache.cxf.endpoint.Client; import org.apache.cxf.frontend.ClientProxy; import org.apache.cxf.jaxws.JaxWsProxyFactoryBean; import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDy...
package com.tencent.mm.plugin.game.model; import com.tencent.mm.plugin.ac.a; import com.tencent.mm.plugin.game.e.c; import com.tencent.mm.pluginsdk.model.app.f; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.sdk.platformtools.x; import java.util.Iterator; import java.util.LinkedList; class k$1 impl...
// 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.components.devtools_bridge; import org.chromium.base.CalledByNative; import org.chromium.base.JNINamespace; import java.nio.ByteBuf...
package com.ray.gg; import android.app.Application; import android.content.Context; import com.facebook.drawee.backends.pipeline.Fresco; import com.ray.gg.init.FrescoConfig; import log.Log; public class App extends Application { private static Application sApp; public App() { super(); } pub...
package com.tencent.mm.plugin.appbrand.jsapi.audio; import android.text.TextUtils; import com.tencent.mm.g.a.lk; import com.tencent.mm.plugin.appbrand.appstorage.AppBrandLocalMediaObject; import com.tencent.mm.plugin.appbrand.appstorage.AppBrandLocalMediaObjectManager; import com.tencent.mm.plugin.appbrand.e$b; import...
/* */ package datechooser.beans.editor.utils; /* */ /* */ import java.awt.Font; /* */ import java.awt.Graphics; /* */ import java.awt.Graphics2D; /* */ import java.awt.Rectangle; /* */ import java.awt.geom.Rectangle2D; /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ ...
/* * 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 UI.LopHoc.ChiTietLopHoc; import DTO.dto_ChuongTrinh; import UI.LopHoc.ChiTietLopHoc.FormThemVaoLop; import UI.LopHoc.FormCapNh...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package co.th.aten.football.dao; import co.th.aten.football.model.VideoModel; import java.sql.ResultSet; import java.sql.SQLException; import java.text.SimpleDateFormat; import javax.sql.DataSource; import org.apache.co...
package com.rajitha; public class NestedIfCondition { public static void main(String args[]){ int i=80; int j=80; if(i>j){ System.out.println("It is false"); }if(i<j) { System.out.println("It is true"); }if(i==j){ System.out.println("Bo...
package com.cristovantamayo.ubsvoce.services; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.junit.jupiter.api.Assertions.assertEquals; import java.util.Arrays; import java.util.List; import org.junit.Test; import com.cristovantamayo.ubsvoce.services.util.Pa...
package com.microservices.userservice.dto; import lombok.Data; import lombok.Getter; import lombok.Setter; public class ResponseLoginDTO { public String message; private String statusCode; private Object object; private Object objectModel; public ResponseLoginDTO(String message, String statusCode...
package com.smxknife.java2.nio.socket; import org.junit.jupiter.api.Test; import java.io.*; import java.net.ServerSocket; import java.net.Socket; import java.net.UnknownHostException; import java.util.concurrent.TimeUnit; /** * @author smxknife * 2020/10/7 */ public class _03_ServerSocket { @Test public void s...
package com.hb.rssai.bean; import java.util.List; /** * Created by Administrator on 2017/8/15. */ public class ResCollection { /** * retObj : {"total":2,"rows":[{"img":"1221","createTime":"2017-02-02 11:00:00","link":"www.baidu.com","id":"f731e3dc-819b-11e7-af84-b083fe8f693c","title":"cesss","userId":"ee...
package org.proyectofinal.gestorpacientes.vista.dialogos; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.Frame; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTextField; import org.proyectofinal.gestor...
package fr.clivana.lemansnews.async; import fr.clivana.lemansnews.utils.reseau.Reseau; import fr.clivana.lemansnews.view.ListeEvenementsActivity; import android.app.ProgressDialog; import android.content.Context; import android.os.AsyncTask; public class AsyncTaskListeEvenements extends AsyncTask<Void, Void, Void> { ...
package com.cz.android.simplehttp.socket; import java.io.*; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketException; public class SimpleOutputHTTPServer { public static void main(String args[]) throws IOException { ServerSocket server = new ServerSocket(8090); Syste...
package com.findme.exception.handler; import com.findme.exception.BadRequestException; import com.findme.exception.InternalServerError; import com.findme.exception.NotFoundException; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotati...
/* * Copyright (c) 2021, salesforce.com, inc. * * 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 applicabl...
package KBPBot; import com.google.gson.*; import com.vk.api.sdk.client.VkApiClient; import com.vk.api.sdk.client.actors.Actor; import com.vk.api.sdk.client.actors.GroupActor; import com.vk.api.sdk.exceptions.ApiException; import com.vk.api.sdk.exceptions.ClientException; import com.vk.api.sdk.objects.users.User; impo...
package com.yinghai.a24divine_user.module.divine.divinelist.presenter; import android.content.Context; import com.yinghai.a24divine_user.base.MyBasePresenter; import com.yinghai.a24divine_user.bean.CollectBean; import com.yinghai.a24divine_user.bean.MasterBean; import com.yinghai.a24divine_user.module.collect.mvp.Col...
package com.kzw.leisure.ui.activity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.WindowManager; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import android.widget.FrameLayout; import android.wi...
package com.appdear.client.Adapter; import java.util.ArrayList; import android.app.Activity; import android.content.Context; import android.util.DisplayMetrics; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView.ScaleTyp...
package cc.stan.example.graphql.resolver; import cc.stan.example.graphql.model.Author; import com.coxautodev.graphql.tools.GraphQLQueryResolver; import org.springframework.stereotype.Component; import java.util.Arrays; import java.util.List; @Component public class AuthorQuery implements GraphQLQueryResolver { ...
package com.yixin.kepler.core.rabbitmq; import java.util.Map; /** * 消息通知解析类 */ public abstract class MsgResolver<T> { /** * 解析器 * @param msg 接收到的kafka消息 * @return * * key value 对应的消息 */ public abstract Map<String, String> resolve(final T msg); }
package com.lin.paper.service; import java.util.List; import com.lin.paper.pojo.PProgress; /** * 进度的业务逻辑接口 * @ * @date 2018年3月12日下午3:34:33 * @version 1.0 */ public interface ProgressService { /** * 添加进度信息 * @param userid * @param string * @return */ String addProgress(String name, String userid); ...
package com.hawk.application.web; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import javax.servlet.http.HttpServletResponse; import org.apache.commons.io.IOUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotati...
package com.qunchuang.carmall.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; /** * 小程序配置类 * * @author Curtain * @date 2018/11/9 8:37 */ @Component @Data @ConfigurationProperties("wechatmini") public class W...
package org.seed419.founddiamonds.util; import org.bukkit.ChatColor; /* Copyright 2011-2012 Blake Bartenbach This file is part of FoundDiamonds. FoundDiamonds is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, ei...