text
stringlengths
10
2.72M
package com.example.zhubangshopingtest1; import android.content.SharedPreferences; import android.os.Bundle; import android.widget.FrameLayout; import android.widget.RadioGroup; import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.AppCompatActivity; import androidx.fragment.app.Fragment; import andr...
package com.bjsxt.wsk.springbootjdbc.controller; import com.bjsxt.wsk.springbootjdbc.pojo.Users; import com.bjsxt.wsk.springbootjdbc.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.spr...
package com.wuyan.masteryi.mall.service; /* *project:master-yi *file:OrderService *@author:wsn *date:2021/7/6 15:38 */ import java.util.Map; public interface OrderService { Map<String,Object> getOrdersByUID(int u_id); Map<String,Object> getOrdersById(int order_id); Map<String,Object> getOrderStatu(i...
package com.company; import java.util.Scanner; import java.util.Random; public class Number_Guessing_with_counting { public static void main(String[] args) { //SORRRRRR??? Scanner scanner = new Scanner(System.in); Random random= new Random(); int guess; int tries=1; int right...
package bnorm.robocode.robot; import java.awt.Graphics2D; import java.awt.event.KeyEvent; import java.awt.event.MouseEvent; import java.awt.event.MouseWheelEvent; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import bnorm.robocode.robot.listener.BattleEndedEventListener; import bnorm.rob...
package com.ncst.du; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.RadioGroup; import android.widget.SeekBar; import java.util.Collection; import java.util.LinkedList; import java.util....
package com.example.easymodbus_project.service; import com.example.easymodbus_project.model.Device; import java.util.List; import java.util.Optional; public interface DeviceService { Device findById(int id); List<Device> findAll(); void save(Device device); void delete(int id); }
package com.facebook.react.views.scroll; import android.content.Context; import android.graphics.Canvas; import android.graphics.Rect; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.support.v4.view.u; import android.view.MotionEvent; import android.vi...
public class Steward extends Personeelslid{ public Steward(String naam, int leeftijd, String adres) { super(naam, leeftijd, adres); } }
package org.browsexml.timesheetjob.service; import java.text.ParseException; public interface Activate { void setActivate(String activeId, String strCheck) throws ParseException; }
package com.expidia.test; import static org.junit.Assert.*; import java.io.IOException; import org.junit.Test; import com.expidia.domain.HotelDeals; import com.expidia.services.OffersService; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.databind.JsonMappingException; public c...
package com.snake.game; import java.awt.BorderLayout; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.JFrame; @SuppressWarnings("serial") public class Window extends JFrame{ private Scene myScene ; public Window() { initParts(); initWindow(); initListener(); thi...
package com.github.emailtohl.integration.core.role; import static com.github.emailtohl.integration.core.role.Authority.AUDIT_ROLE; import java.util.List; import org.springframework.security.access.prepost.PreAuthorize; import com.github.emailtohl.lib.jpa.AuditedRepository.RevTuple; /** * 审计角色的历史记录 * ...
/* * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
package com.example.shami.moviedb.Fragments; /** * Created by Shami on 2/10/2017. */ import android.content.ContentUris; import android.content.ContentValues; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.os.Bundle; import android.support.annotation.Nullable;...
package com.github.marenwynn.waypoints.events; import org.bukkit.entity.Player; import org.bukkit.event.Cancellable; import org.bukkit.event.Event; import org.bukkit.event.HandlerList; import org.bukkit.event.block.Action; import com.github.marenwynn.waypoints.WaypointManager; import com.github.marenwynn.way...
// Sun Certified Java Programmer // Chapter 2, P131 // Object Orientation class Foo { Foo() { } // The constructor for the Foo class int size; String name; Foo(String name, int size) { this.name = name; this.size = size; } }
package solution; /** * User: jieyu * Date: 6/19/16. */ public class BulbSwitcher319 { public int bulbSwitch(int n) { if (n == 0) return 0; int i = 2; while (n >= Math.pow(i, 2)) { i++; } return i - 1; } public int bulbSwitch2(int n) { return...
package com.example.administrator.utils; import android.os.Looper; /** * Created by Administrator on 2017/8/25. */ public final class Utils { private Utils(){} public static void checkNotMain() { if(isMain()) { throw new IllegalStateException("Method call should not happen from the ma...
package chap09.sec05.exam01_anonymous_extends; public class AnonymousExample { public static void main(String[] args) { Anonymous a = new Anonymous(); a.field.wake(); System.out.println("----------------"); a.method1(); System.out.println("----------------"); // 매개변수에 익명자식객체도 넣을 수 있다. a.method2(new P...
package com.java.smart_garage.contracts.repoContracts; import com.java.smart_garage.models.WorkService; import java.util.List; import java.util.Optional; public interface WorkServiceRepository { List<WorkService> getAllWorkServices(); WorkService getById(int id); WorkService getByName(String name); ...
/** * */ package com.goodhealth.design.demo.DecorativePattern; /** * @author 24663 * @date 2018年10月27日 * @Description */ public class MyStore extends IStore { /* (non-Javadoc) * @see CommandPattern.DecorativePattern.IStore#selll() */ @Override public void sell() { // TODO Auto-generated method stub ...
package com.springhibernatedemo; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @Component public class AppDAO { @Autowired SessionFactory sessionFactory; public void saveStudent(...
package fr.umlv.escape.front; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; /** * Class that an explosion sprite */ public class SpriteAnimation extends Sprite{ private int currentImage; private long lastImageChange; private final int speed; private boolean isGro...
package de.unitrier.st.soposthistory.gt.util; import java.util.logging.Logger; public class GTLogger{ public final static Logger logger = Logger.getLogger((GTLogger.class.getName())); }
package aws_horizontal_scaling; import java.util.HashSet; import java.util.List; import java.util.Set; import com.amazonaws.services.ec2.AmazonEC2Client; import com.amazonaws.services.ec2.model.CreateTagsRequest; import com.amazonaws.services.ec2.model.RunInstancesRequest; import com.amazonaws.services.ec2.model.RunI...
package com.kunsoftware.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import com.kunsoftware.entity.Ground; import com.kunsoftware.entity.ValueSet; import com.kunsoftware.page.PageInfo; public interface GroundMapper { int deleteByPrimaryKey(Integer id); int insert(Ground record...
package com.ola.cabbooking.service; import com.ola.cabbooking.dto.RiderDto; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.stereotype.Service; @Service public interface RiderService extends UserDetai...
package sps; import java.util.Arrays; public class InsertionSort { int data[]={5,4,6,7,9}; public int [] sortInsert(int [] unsorted){ for(int i=1;i<unsorted.length;i++){ int current =unsorted[i]; int j=i; while(j>0 && unsorted[j-1]> current){ unsorted[j]=unsorted[j-i]; j--; ...
package com.tencent.mm.model; import com.tencent.mm.platformtools.h; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.storage.ab; import com.tencent.mm.storage.ay; import com.tencent.mm.storage.ay.a; class au$4 implements a { final /* synthetic */ au dBL...
package org.totalbeginner.tutorial; import static org.junit.Assert.*; import org.junit.Test; public class BookTest { @Test public void testBook() { Book b1 = new Book("Great Expectations"); assertEquals("Great Expectations", b1.title); assertEquals("unknown author", b1.author); } @Tes...
package Minggu12.Teori; public class Elektronik { protected int voltase; public Elektronik() { this.voltase = 220; } public int getVoltase() { return this.voltase; } }
package com.example.healthmanage.ui.activity.delegate.ui; import androidx.lifecycle.MutableLiveData; import com.example.healthmanage.base.BaseApplication; import com.example.healthmanage.base.BaseViewModel; import com.example.healthmanage.bean.UsersInterface; import com.example.healthmanage.bean.UsersRemoteSource; im...
package MultidimensionalArrays; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class Demo { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader( new InputStreamReade...
package com.byterefinery.rmbench.operations; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import com.byterefinery.rmbench.EventManager;...
package com.abraham.dj; import java.util.List; import javax.annotation.Resource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.we...
package com.awg.j20.bplake; import org.junit.jupiter.api.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest...
package com.blog.text; import static org.junit.Assert.*; import java.util.Date; import java.util.List; import javax.imageio.spi.ServiceRegistry; import org.hibernate.Session; import org.hibernate.Transaction; import org.hibernate.sql.Insert; import org.junit.Test; import com.blog.bean.MsgBoard; import com.blog.dao...
package br.com.helpdev.quaklog.dataprovider.entity; import lombok.Builder; import lombok.Data; @Data @Builder public class PlayerStatusEntity { private String gameTime; private String connectStatus; }
package com.czy.demos.springbootdeadletterdemo.RabbitmqTTLWithPlugin; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import java.util.Date; @Component public class DelayedMessageSender { ...
/*! * \brief * вычисления * \details * \author Artem * \date 15.01.2021 */ package com.startjava.lesson_2_3_4.game; import java.util.Scanner; public class GuessNumberTest { public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.print("Введите имя первого игрока...
package com.mycompany.app; import org.apache.storm.Config; import org.apache.storm.LocalCluster; import org.apache.storm.StormSubmitter; import org.apache.storm.topology.TopologyBuilder; import org.apache.storm.tuple.Fields; public class TwitterHashtagStorm { public static void main(String[] args) throws Exception...
package com.example.mostafahassan.tabbar; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import android.widget.Tex...
package org.github.chajian.matchgame.gui; import com.github.stefvanschie.inventoryframework.gui.GuiItem; import com.github.stefvanschie.inventoryframework.gui.type.ChestGui; import com.github.stefvanschie.inventoryframework.pane.Pane; import org.bukkit.entity.Player; import org.bukkit.event.inventory.ClickType; ...
package cn.cnmua.car.domian; import lombok.Data; @Data //订单信息 public class OrderInfo { private Integer id; private String orderNum;//订单号 private String userId;//用户id private String state;//订单状态 private String time;//下单时间 private String message;//备注留言 public OrderInfo() { } public...
package com.accp.pub.mapper; import com.accp.pub.pojo.Functionandrole; public interface FunctionandroleMapper { int insert(Functionandrole record); int insertSelective(Functionandrole record); }
package com.rx.rxmvvmlib.util; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Build; import android.provider.Settings; import com.rx.rxmvvmlib.R; /** * Created by wuwei * 2018/12/29 * 佛祖保佑 永无BUG */ public class...
package pe.gob.trabajo.repository.search; import pe.gob.trabajo.domain.Regimenlab; import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; /** * Spring Data Elasticsearch repository for the Regimenlab entity. */ public interface RegimenlabSearchRepository extends ElasticsearchRepository<Re...
/* * Copyright (c) 2016. Universidad Politecnica de Madrid * * @author Badenes Olmedo, Carlos <cbadenes@fi.upm.es> * */ package org.librairy.modeler.lda.functions; import com.google.common.primitives.Doubles; import org.apache.spark.api.java.function.FlatMapFunction; import org.apache.spark.api.java.function.Fun...
package com.vm.samples; public class Example { public static void main(String[] args) { System.out.println("krishna Kumar"); System.out.println("Value Minds IT Services Pvt Ltd"); int s=6; s++; System.out.println(s); //ggggggg } }
package schr0.tanpopo.item; import net.minecraft.item.Item; public class ItemMaterialPetal extends Item { public ItemMaterialPetal() { // none } }
package com.company; import java.util.Scanner; public class Main { public static void main(String[] args) { final int[] array = {1,2,3,4,5}; array[0] = 9; //ок, т.к. изменяем содержимое массива – {9,2,3,4,5} array = new int[5]; //ошибка компиляции } } class Example{ public final I...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.caisa.planilla.entity; import java.io.Serializable; import java.util.Collection; import java.util.Date; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.En...
package rubrica12.repository; import java.sql.Connection; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import rubrica12.model.Author; import rubrica12.model.Book; @org.springframework.stereotype.Re...
package com.mimi.mimigroup.model; public class DM_Tree_Disease { int DiseaseID; int TreeID; String DiseaseCode; String DiseaseName; String TreeName; public DM_Tree_Disease() { } public DM_Tree_Disease(int diseaseID, int treeID,String diseaseCode, String diseaseName) { this.Tre...
package eg.edu.guc.parkei.exceptions; public class OutOfOrderException extends CannotOperateException { /** * */ private static final long serialVersionUID = 1L; public OutOfOrderException() { super(); } public OutOfOrderException(String x) { super(x); } }
package br.input; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; public class KeyManager implements KeyListener { private boolean[] keys = new boolean[256]; public static boolean w, s, i, k; public void update() { w = keys[KeyEvent.VK_W]; s = keys[KeyEvent.VK_S]; ...
package sample; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.TableColumn; import javafx.scene.control.TableView; import javafx.scene.control.cell.PropertyValueFactory; import org.hibern...
package tree; /** * 二叉树中的一个节点 * 保存了学生信息和左右孩子信息 */ class StuNode { int id; String name; StuNode left; StuNode right; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public vo...
public class ContaBancaria2 { int agencia, contaCorrente; double saldo, limiteExtra; String titularConta; public void imprimirSaldo(){ System.out.println ("Saldo: " + this.saldo); } public void imprimirSaldoTotal(){ double soma = this.saldo+this.limiteExtra; System.out.println("Saldo: " + soma); } publ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package cz.mutabene.controller.admin; import cz.mutabene.model.entity.AppConfigEntity; import cz.mutabene.model.entity.UserEntity; import cz.mutabene.model.form.admin.ConfigForm; import cz.mutabene.service.info.InfoMess...
package com.example.railway.service.Passenger; import com.example.railway.model.Passenger; import com.example.railway.repository.Passenger.PassengerRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Date; import java.util.List; @S...
package com.dzz.policy.service.service; import com.dzz.policy.api.service.PolicyService; import junit.framework.TestCase; import lombok.extern.slf4j.Slf4j; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context...
package gugutech.elseapp.dao; import gugutech.elseapp.model.LookupT; import java.util.List; public interface LookupTMapper { int deleteByPrimaryKey(Integer lookupId); int insert(LookupT record); LookupT selectByPrimaryKey(Integer lookupId); List<LookupT> selectAll(); int updateByPrimaryKey(Loo...
package com.tencent.mm.plugin.webview.ui.tools; import com.tencent.mm.plugin.webview.ui.tools.WebViewUI.i; class WebViewUI$i$1 implements Runnable { final /* synthetic */ i qaJ; final /* synthetic */ String val$url; WebViewUI$i$1(i iVar, String str) { this.qaJ = iVar; this.val$url = str; ...
package com.designpattern.createpattern.prototype; import java.io.*; public class Student implements Serializable,Cloneable { private static final long serialVersionUID = 8703027563434375744L; public Student( ) { } public Student(String name, Integer age, String addr, Student gf) { this.name = na...
package com.x.model.weixin; import com.x.model.XObject; /** * <p> * Description:图文消息 * </p> * * @Author Chenkangming * @Date 2014-7-9 * @version 1.0 */ public class WeixinMessageNews extends XObject { private static final long serialVersionUID = -3905654453753481018L; /** * 自增长id *...
package com.example.demo.domain.bo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationEvent; import org.springframework.stereotype.Component; /** * @author :ls05 * @date :Created in 2020/11/10 12:46 */...
package com.tencent.mm.plugin.wallet.balance.ui; import android.view.View; import android.view.View.OnClickListener; import com.tencent.mm.plugin.wallet.a.p; import com.tencent.mm.plugin.wallet.balance.b; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.wallet_core.a; import com.tencent.mm.wallet_core....
package com.sinata.rwxchina.component_basic.basic.basiccashcoupon; import android.content.Context; import android.os.Bundle; import android.support.v4.widget.NestedScrollView; import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widget.TextView; import com.google.gson....
package valoeghese.metera; import java.util.List; import io.netty.buffer.Unpooled; import net.fabricmc.fabric.api.network.ClientSidePacketRegistry; import net.fabricmc.fabric.api.network.ServerSidePacketRegistry; import net.minecraft.network.PacketByteBuf; import net.minecraft.server.network.ServerPlayerEntity; impor...
package com.lvym.ack; import java.util.HashMap; import java.util.Map; import com.rabbitmq.client.AMQP; import com.rabbitmq.client.Channel; import com.rabbitmq.client.Connection; import com.rabbitmq.client.ConnectionFactory; public class Procuder { public static void main(String[] args) throws Excep...
package game; /** * Created by TAWEESOFT on 4/28/16 AD. */ public class Player { private int px,py,vx,vy; private final int SPEED = 5; public Player() { reset(); } public void reset() { px = 200; py = 200; vx = 0; vy = -SPEED; } public void move...
package com.example.joypad; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpClient; import org.apache.ht...
/** * ************************************************************************ * Copyright (C) 2010 Atlas of Living Australia All Rights Reserved. * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with the * Licens...
/* * $HeadURL: $ * $Id: $ * Copyright (c) 2016 by Riversoft System, all rights reserved. */ package com.riversoft.nami.session; import javax.servlet.http.HttpServletRequest; import com.riversoft.weixin.common.oauth2.OpenUser; /** * @author woden * */ public class SessionHelper { /** * 设置...
package org.dmonix.io; import java.io.IOException; import java.io.OutputStream; /** * This is a void outputstream that doesn't write anything. The result is the same as to write to <code>/dev/null/</code> on Solaris/Linux, i.e. all data is * written to void. * <p> * Copyright: Copyright (c) 2005 * </p>...
package com.lijingyao.dp.design.state; /** * Created by lijingyao on 2017/11/7 11:00. */ public class TVRemote { public static void main(String[] args) { TVContext sc = new TVContext(); // State tvStartState = new TVStartState(); // State tvStopState = new TVStopState(); ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package lappa.smsbanking.IDao.Impl; import com.douwe.generic.dao.DataAccessException; import com.douwe.generic.dao.impl.GenericDao; import lappa.smsbanking.Entities.SmsCompte; import lappa.smsbanking.IDao.ISmsCompte; /...
package com.tyss.javacloud.loanproject.beans; import java.io.Serializable; import lombok.Data; @Data @SuppressWarnings("serial") public class LoanApplicationBean implements Serializable { private String applicationId; private String email; private String loanType; private String timePeriod; private String acc...
package 문제풀이; import java.util.Date; import javax.swing.JOptionPane; public class 문제풀이이 { public static void main(String[] args) { // 1 사원번호 입력 : 기103 // 사원번호 중 첫글자가 '기'인 경우 '기획부이군요' // '인'인 경우 '인사부이군요' // '개'인 경우 '개발부이군요' // 사원번호 중 두번째 글자가 '1' 또는 '2'인 경우 '임원' // '3'인 경우 '부장' // '4'...
package com.design.pattern.abstractFactory.wordTxt; /** * @author zhangbingquan * @desc Unix系统下的文本框 实现类,用来展示一段文字的文本框。Unix系统中使用 * @time 2019/7/28 18:40 */ public class UnixText implements Text { @Override public void display() { System.out.println("Unix系统下的文本框实现类,用来展示一段在Unix系统下的文字"); } }
package com.smclaughlin.tps.security; import com.smclaughlin.tps.IntegrationTest; import org.junit.Before; import org.junit.Test; import org.springframework.security.test.context.support.WithMockUser; import org.springframework.test.web.servlet.setup.MockMvcBuilders; import static org.springframework.security.test.we...
/* * LumaQQ - Java QQ Client * * Copyright (C) 2004 luma <stubma@163.com> * * 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 Foundation; either version 2 of the License, or * (at your option) any lat...
package io.wizzie.bootstrapper.builder; public interface Listener { public void updateConfig(SourceSystem sourceSystem, String config); }
package salesTaxes.utils; import java.text.DecimalFormat; import java.text.ParseException; public class NumericUtils { private static final DecimalFormat percFormat = new DecimalFormat( "0.00%" ); public static double parsePerc(final String s) throws ParseException { return percFormat.parse( s ).dou...
package cn.bs.zjzc.model.impl; import com.zhy.http.okhttp.callback.StringCallback; import cn.bs.zjzc.App; import cn.bs.zjzc.model.INewsCenterModel; import cn.bs.zjzc.model.callback.HttpTaskCallback; import cn.bs.zjzc.model.response.BaseResponse; import cn.bs.zjzc.model.response.NewsListResponse; import cn.bs.zjzc.net...
package com.hawk.application.service; import java.util.List; import com.hawk.application.model.Sdk; public interface SdkService { List<Sdk> findAllSdks(); }
/* * 文 件 名: OperatorDao.java * 描 述: OperatorDao.java * 时 间: 2013-8-1 */ package com.babyshow.operator.dao; import com.babyshow.operator.bean.Operator; /** * <一句话功能简述> * * @author ztc * @version [BABYSHOW V1R1C1, 2013-8-1] */ public interface OperatorDao { public Operator find...
package com.charith.hackerrank.RecursionAndBacktracking.RecursiveDigitSum; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; class SolutionTest { @Test void superDigit() { Assertions.assertEquals(3, Solution.superDigit("148", 3)); Assertions.assertEquals(8, Solution...
package com.appc.report.service; import com.appc.report.model.UserCard; /** * UserCardService * * @version : Ver 1.0 * @author : panda * @date : 2017-9-14 */ public interface UserCardService extends CommonService<UserCard>{ }
/** * Copyright 2013-present febit.org (support@febit.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/LICENSE-2.0 * * Unless required by a...
package poc.api.interfaces.services; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpEntity; import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Service; import org.springframework.util.Mult...
package compiler; import java.util.HashMap; public class Bexp extends Expression{ Bexp(Expression e1, Expression e2, String operator){ this.e1 = e1; this.e2 = e2; this.operator = operator; } Bexp(Expression e1, String operator){ this.e1 = e1; this.operator = opera...
package com.pangpang6.books.functions; import java.util.function.Function; /** * Created by jiangjiguang on 2017/12/10. */ public class FunctionTest { public static void main(String[] args) { test(); } private static void test(){ Function<Integer, Integer> times2 = e -> e * 2; ...
/* * Copyright (C) 2018 askaeks * * 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 Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distribute...
/** * 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 GNU Ge...
package com.tencent.mm.plugin.mmsight.ui; import android.graphics.Bitmap; import android.graphics.Point; import android.media.MediaMetadataRetriever; import com.tencent.mm.c.g; import com.tencent.mm.modelsfs.FileOp; import com.tencent.mm.plugin.mmsight.a.a.b; import com.tencent.mm.plugin.mmsight.segment.m; import com....
package com.example.demo.socket; import java.util.HashMap; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import org.apache.commons.pool2.impl.GenericObjectPoolConfig; /** * * @author Adam M. Gamboa G */ public class SocketHelper { private static final Logger LOGGER = L...
package org.cheng.login.service; import java.util.HashMap; import java.util.Map; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.util.Log; import org.cheng.login.MyApp; import org.cheng.login.entity.User; public class Preferen...