text stringlengths 10 2.72M |
|---|
package com.example.asus.taskapp.Utils;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.AsyncTask;
import android.util.Log;
import android.view.View;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;
import com.example.asus.taskapp.Mod... |
/*
* 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 Model;
/**
*
* @author HermanCosta
*/
public class Customer {
int customerId;
String firstName, lastName, email, c... |
package org.yxm.modules.wan.repo.local;
import java.util.List;
import org.yxm.modules.wan.entity.WanArticleEntity;
import org.yxm.modules.wan.entity.WanTabEntity;
/**
* Wan 的model接口,控制网络,数据库,缓存数据
*/
public interface IWanModel {
public interface LoadDataListener<T> {
void onSuccess(int code, T datas);
v... |
package com.example.fileupload.IngestionRepository;
import com.example.fileupload.Entity.FileRecord;
import org.springframework.data.mongodb.repository.MongoRepository;
import java.util.List;
public interface FileRecordRepository extends MongoRepository<FileRecord, String> {
List<FileRecord> getBystatus(String r... |
package main.com.java.basics.stream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import com.google.common.collect.Lists;
import java.util.stream.Collectors;
/**
* @author Heena Hussain
*
*/
public class RemoveDuplicateFromList
{
public static void main(Strin... |
package com.ssm.service.impl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.s... |
package service;
import config.ConfigurationFile;
import javax.mail.*;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import java.util.Properties;
import java.util.Random;
import java.util.stream.Collectors;
/**
* @author Zimi Li
*/
public class PasswordService {
public s... |
/*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2011 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... |
package com.jgw.supercodeplatform.trace.dto.template;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel(value = "注意前面带**-字段,溯源功能-溯源节点删除")
public class TraceFunTemplateconfigDeleteParam {
@ApiModelProperty(value = "溯源模板id",required=true)
private String trace... |
package com.zundrel.ollivanders.api.registries;
import com.zundrel.ollivanders.api.OllivandersAPI;
import com.zundrel.ollivanders.api.spells.ISpell;
import com.zundrel.ollivanders.api.spells.Spell;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.DefaultedRegistry;
import net.minecraft.util.reg... |
package com.harry;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
public class QueueApp extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(... |
package cn.edu.cqut.service;
import cn.edu.cqut.entity.Menu;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 服务类
* </p>
*
* @author CQUT SE 2020
* @since 2020-06-10
*/
public interface IMenuService extends IService<Menu> {
public List<Menu> selectFirstMenu(Int... |
package com.ants.theantsgo.base;
import android.content.Intent;
import android.os.Bundle;
import com.lzy.okgo.model.Progress;
import com.lzy.okgo.model.Response;
import java.util.Map;
/**
* ===============Txunda===============
* 作者:DUKE_HwangZj
* 日期:2017/6/6 0006
* 时间:17:32
* 描述:MVP模式所有的View的顶级接口(父接口)
* ====... |
package com.logzc.webzic.orm.table;
import com.logzc.webzic.orm.field.ColumnStrategy;
import com.logzc.webzic.orm.field.ColumnType;
import java.lang.reflect.Field;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
/**
* Created by lishuang on 2016/8/23.
*/
public class TableInfo<T, I... |
/**
* Created with IntelliJ IDEA.
* User: dexctor
* Date: 13-1-2
* Time: 下午1:53
* To change this template use File | Settings | File Templates.
*/
public class MyDepthFirstOrder {
private EdgeWeightedDigraph G;
private Stack<Integer> reversePost;
private Queue<Integer> pre;
private Queue<Integer> ... |
package com.xiaotian.framework.util;
import android.app.NotificationManager;
import android.content.Context;
/**
* @version 1.0.0
* @author Administrator
* @name UtilNotification
* @description 后台通知
* @date 2015-6-17
* @link gtrstudio@qq.com
* @copyright Copyright © 2010-2015 小天天 Studio, All Rights Reserved.
... |
package com.beike.service.cps.tuan360;
import java.util.List;
import java.util.Map;
/**
* project:beiker
* Title:团360CPS
* Description:
* Copyright:Copyright (c) 2012
* Company:Sinobo
* @author qiaowb
* @date Aug 9, 2012 2:34:40 PM
* @version 1.0
*/
public interface CPSTuan360Se... |
package com.hg.sb_helloworld.web;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import io.swagger.annotations.ApiOperation;
@Controller
@RequestMap... |
import org.apache.pdfbox.multipdf.PDFMergerUtility;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.PDPage;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
private static Scanner scanne... |
package com.pwq.mavenT;
import java.util.ArrayList;
import java.util.List;
/**
* Created by BF100500 on 2017/3/22.
*/
public class copy {
public static void main(String[] args) {
List<Integer> tmp = new ArrayList();
for(int i=0;i<10;i++){
tmp.add(i);
}
System.out.prin... |
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Scanner;
import java.util.stream.Collectors;
public class CardsGame {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
List<Integer> firstPlayerDeck = Arrays.stream(scanner... |
package com.useradmin.framework.config.routes;
import com.demo.blog.BlogController;
import com.demo.index.IndexController;
import com.jfinal.config.Routes;
import live.autu.plugin.jfinal.swagger.controller.SwaggerController;
public class UserAdminRoutes extends Routes {
@Override
public void config() {
... |
package net.lantrack.framework.core.util;
/**
* 随机生成4,5,6位数字
*
* @author coolcjava
*/
public class NumUtil {
/**
* 随机生成4位数字
*
* @return
*/
public static int randomFour() {
return (int) ((Math.random() * 9 + 1) * 1000);
}
/**
* 随机生成5位数字
*
* @return
*/... |
package dwz.persistence.mapper;
import java.util.List;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;
import dwz.dal.BaseMapper;
import dwz.persistence.BaseConditionVO;
import sop.persistence.beans.Order;
import sop.persistence.beans.ProductItem;
/**
* @Author: LCF
*... |
/*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.joalib.board.action;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.joalib.DTO.ActionForward;
import com.joalib.DTO.BoardDTO;
import com.joalib.board.svc.BoardModifyFormService;
public class BoardModifyFormActio... |
/**
*
*/
package com.oriaxx77.javaplay.gof.flyweight;
import com.oriaxx77.javaplay.gof.GofExample;
/**
* A Weapon that uses the flyweight {@link Model} objects.
* Many weapon can have the same animations.
* @author BagyuraI
*
*/
@GofExample(pattern="Flyweight", stereotype="Client")
public class ... |
package com.codingchili.instance.model.entity;
import com.codingchili.instance.context.Ticker;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
/**
* @author Robin Duda
* <p>
* A grid to map entities onto a spatially hashed map.
*
* Backed by hashmaps which introduce a lot of garbage on each
... |
package egovframework.svt.adm.hom.calendar;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
@Repository
public class AdminCalendarDAO extends EgovAbstractDAO {
public List<?> getCalendarList() {
return list("... |
package com.mittidesign.soundprofiletoggle;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.media.AudioManager;
import android.widget.RemoteViews;
public class RingerModeIntentReciever extends BroadcastReceiver {
//When the defined Click hap... |
package art4muslim.macbook.rahatydriver.fragments;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.util.Log;
import android.view.L... |
/*
* 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.ledungcobra.scenes;
import com.ledungcobra.applicationcontext.AppContext;
import com.ledungcobra.utils.Navigator;
import ... |
package fr.iutinfo.skeleton.api;
import java.util.List;
import org.skife.jdbi.v2.sqlobject.Bind;
import org.skife.jdbi.v2.sqlobject.SqlQuery;
import org.skife.jdbi.v2.sqlobject.SqlUpdate;
import org.skife.jdbi.v2.sqlobject.customizers.RegisterMapper;
public interface EtablissementDao {
@SqlUpdate("insert into ... |
package com.cinema.biz.dao;
import java.util.List;
import java.util.Map;
import com.cinema.biz.model.SimSimulator;
import com.cinema.biz.model.base.TSimSimulator;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;
public interface SimSimulatorMapper extends Mapper<TSimSimulator>,... |
package com.liujc.tabfragmentview.adapter;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
/**
* 类名称:BaseTabAdapter
* 创建者:Create by liujc
* 创建时间:Create on 2017/4/12 13:43
* 描述:主界面适配器
*/
public abstract class BaseTabAdapter {
/**
* tab数量
*/
public abstract... |
package com.v1_4.mydiaryapp.com;
public class Obj_Device{
public String deviceId = "";
public String deviceModel = "";
public String deviceVersion = "";
public String deviceLatitude = "";
public String deviceLongitude = "";
public String deviceAccuracy = "";
public String deviceConnectionType = "";... |
package com.mj.courseraprw3.fragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.... |
package cn.zhjb.service.impl;
import cn.zhjb.dao.UserDao;
import cn.zhjb.dao.impl.UserDaoImpl;
import cn.zhjb.pojo.User;
import cn.zhjb.service.UserService;
public class UserServiceImpl implements UserService {
UserDao userDao = new UserDaoImpl();
@Override
public User getUserInfoService(String username,... |
package CommandPattern15.example.service;
/**
* @Author Zeng Zhuo
* @Date 2020/5/5 13:04
* @Describe
*/
public class WindowHandler {
public void minimize(){
System.out.println("将窗口最小化至托盘");
}
}
|
import java.util.*;
import java.io.*;
/**
* Class that represents the Lane as a map, mapping names
* of meerkats to their families.
*
* @author Kody Dangtongdee
* @version 2/18/2015
*/
public class Lane
{
private Map<String, Family> map;
private int noFamilies;
private int noMeerkats;
private i... |
package de.niklaskiefer.bnclCore.parser;
import de.niklaskiefer.bnclCore.BPMNModelBuilder;
import org.camunda.bpm.model.bpmn.instance.SequenceFlow;
import java.util.List;
/**
* @author Niklas Kiefer
*/
public class BnclSequenceFlowParser extends AbstractBnclParser {
public static final String SEQUENCE_FLOW_K... |
/*
* Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.server.authn;
/**
* Marker interface. Implementations are used to exchange credentials between credential
* verificator and credential retriever.
* The actual exch... |
package dahe0070.thirty;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatA... |
package com.allmsi.sys.dao;
import java.util.List;
import com.allmsi.sys.model.po.WebUser;
public interface WebUserMapper {
WebUser selectByPrimaryKey(String id);
/**
* 查询满足条件的用户id
* @param user
* @return
*/
List<String> checkUniqueId(WebUser user);
/**
* 用户修改邮箱、手机号时的校验
* @param webUser
* @retur... |
/*
* Copyright 2018-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.zhongyp.spring.demo.mock;
import org.junit.Test;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
public class TestBraveKnight {
@Test
public void kngihtTest(){
Quest quest = mock(Quest.class);
BraveKnight ... |
package com.javarush.task.task07.task0703;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Общение одиноких массивов
*/
public class Solution {
public static void main(String[] args) throws Exception {
//напишите тут ваш код
String[] stringList = new String[10];
int[]... |
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
//import org.json.JSONArray;
import org.json.simple.parser.JSONParser;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.text.ParseException;
import java.util.*;
import ... |
package com.fruit.crawler.serialize;
/**
* Created by vincent
* Created on 16/2/1 11:03.
*/
public class SerializeImpl implements ISerialize
{
@Override
public void serialize(String content)
{
}
}
|
package Day2;
import java.io.*;
import java.util.Scanner;
/**
* Created by student on 04-May-16.
*/
public class InputOutput {
public static void main(String[] args)
{
Scanner input = new Scanner(System.in);
System.out.print("Enter a string: ");
//read line input
String str =... |
/**
* Support classes for web data binding.
*/
@NonNullApi
@NonNullFields
package org.springframework.web.bind.support;
import org.springframework.lang.NonNullApi;
import org.springframework.lang.NonNullFields;
|
package graphs;
import java.util.ArrayList;
import java.util.Stack;
/**
* This class implements an undirected graph to which edges can be added
* randomly. It's for experimenting with the theory of random graphs, developed
* by Paul Erdos and Alfred Renyi in 1959.
*
* @author TODO: put your name here
*/
public... |
package com.lgbear.weixinplatform.message.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.lgbear.weixinplatform.message.domain.Text;
import com.lgbear.weixinplatform.message.domain.TextCriteria;
import com.lgbear.weixinplat... |
package com.iti.mad.firstlab.firebase;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.wid... |
package prf.dbUtil;
public abstract class DBUtil {
protected String url;
protected String userName;
protected String password;
protected String driverClassName;
public abstract boolean createConnection();
public abstract boolean closeConnection();
public abstract boolean executeInsertAn... |
package com.ism.projects.th;
import java.math.BigDecimal;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Date;
import com.ism.common.Common;
import com.ism.common.exception.ErrorCode;
import com.ism.co... |
package com.smyc.kaftanis.lookingfortable;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.inputmethodservice.Keyboard;
import android.os.Build;
import android.os.Bundle;
imp... |
package com.esum.appcommon.resource.message;
import java.text.MessageFormat;
import java.util.Locale;
import java.util.ResourceBundle;
public class MessageBundle {
private ResourceBundle bundle;
public ResourceBundle getBundle() { return bundle; }
public void setBundle(ResourceBundle value) { bundle = val... |
package coals_crafting.fuel;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.event.furnace.FurnaceFuelBurnTimeEvent;
import net.minecraftforge.common.MinecraftForge;
import net.minecraft.item.ItemStack;
import coals_crafting.item.BasisGoldCoalItem;
import coals_crafting.CoalsCrafti... |
package com.ywd.blog.dao;
import java.util.List;
import java.util.Map;
import com.ywd.blog.entity.BlogRecommend;
public interface BlogRecommendDao {
public List<BlogRecommend> list(Map<String,Object> map);
public Long getTotal(Map<String,Object> map);
public int add(BlogRecommend BlogRecommend);
public in... |
package com.davivienda.sara.reintegros.general;
import com.davivienda.sara.base.BaseObjectContextWeb;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* DiarioElectronicoGeneralObjectContext - 27/08/200... |
package com.weathair.controllers;
import java.util.List;
import org.springframework.http.ResponseEntity;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework... |
package gov.polisen.orm.models;
public class CaseKey {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cases.device_id
*
* @mbggenerated Fri Apr 25 17:12:46 CEST 2014
*/
private Integer deviceId;
/**
* This field was genera... |
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.neuron.mytelkom;
import android.widget.DatePicker;
// Referenced classes of package com.neuron.mytelkom:
// EditProfileA... |
package lang;
public class CharacterDemo {
public static void main(String[] args) {
/*
Character c = new Character('A');
System.out.println(c.charValue());
System.out.println(c.compareTo(new Character('B')));
System.out.println(c.equals(new Character('C')));
System.out.println(c.toString());
... |
//package com.nextLevel.hero.common.service;
//
//import java.io.IOException;
//import java.util.ArrayList;
//import java.util.HashMap;
//import java.util.List;
//import java.util.Map;
//
//import org.apache.poi.openxml4j.opc.OPCPackage;
//import org.apache.poi.xssf.usermodel.XSSFCell;
//import org.apache.poi.xssf.user... |
package com.example.demo.proxy;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.util.HashMap;
import java.util.Map;
import java.util.Stack;
/**
* Created By RenBin6 on 2020/9/12 .
*/
public class ProxyTester {
private static Map<Integer,I... |
package com.daydvr.store.util;
/**
* @author LoSyc
* @version Created on 2018/1/9. 10:12
*/
public class BroadCallBack {
public void unObbZip(String path) {
}
public int deteledApkFile(String apkPackageName) {
int apkId = 0;
return apkId;
}
public void refreshAppList(String a... |
package com.example.push.mapper;
import com.example.push.model.PushSubscriber;
import org.springframework.data.repository.query.Param;
import java.util.List;
public interface PushSubscriberMapper {
int deleteByPrimaryKey(Integer id);
int insert(PushSubscriber record);
int insertSelective(PushSubscriber... |
/*
TwoDimensionalLatticeView -- a class within the Cellular Automaton Explorer.
Copyright (C) 2005 David B. Bahr (http://academic.regis.edu/dbahr/)
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 Fo... |
/*
* Copyright (c) 2013-2014, Neuro4j.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 applicab... |
package com.dmtrdev.monsters.gui;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.badlogic.gdx.scenes.scene2d.... |
package lxy.liying.circletodo.task;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import java.io.File;
import java.util.List;
import lxy.liying.circletodo.app.App;
import lxy.liying.circletodo.db.DBInfo;
import lxy.liying.circletodo.domain.DateEvent;
import lxy.liying.circletodo.doma... |
/*
* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... |
package com.hydrogennx.core;
import com.hydrogennx.controller.SettingsMenu;
import com.hydrogennx.controller.MainMenu;
import com.hydrogennx.controller.WindowController;
import com.hydrogennx.core.javafx.ScreenFramework;
import javafx.animation.AnimationTimer;
import javafx.application.Application;
import javafx.scene... |
package skyrimdnd;
public class NpcBalanceRnk4
{
}
|
package com.mcode.nescompiler.exception;
/**
*
* Exception thrown when the "calculated bytes" of a Command does
* not equal to the actual bytes of the Command.
*
*/
public class ByteCalculationException extends RuntimeException {
public ByteCalculationException(String message) {
super(message);
}
}
|
package com.x.hz.manager;
import java.util.Set;
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
import com.x.hz.manager.listener.ClusterMembershipListener;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.DeploymentOptions;
import io.vertx.core.Future;
public... |
package com.service;
import com.dto.Task;
public interface TaskService {
public void saveTask(Task task);
}
|
package recipe.springframework.services;
import java.io.IOException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;
import lombok.extern.slf4j.Slf4j;
import recipe.springframework.domain.Recipe;
i... |
package br.com.fitNet.model.percistence;
import java.sql.SQLException;
import java.util.LinkedHashSet;
import java.util.Set;
import org.springframework.stereotype.Repository;
import br.com.fitNet.model.Cliente;
import br.com.fitNet.model.Contrato;
import br.com.fitNet.model.Endereco;
import br.com.fitNet.model.Matri... |
package com.s1mple.dao;
import com.s1mple.BaseTest;
import com.s1mple.entity.StudentClean;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
/**
* @author s1mple
* @create 2020/4/7-11:52
*/
public class StudentCleanDaoTest extends BaseTest {
@Autowir... |
package com.pago.core.quotes.api.dto;
import lombok.Data;
@Data
public class VenueRequest {
private String name;
private String description;
public VenueRequest() {}
}
|
package com.example.hemil.papa_johns.AbstractFactory;
public interface Sides {
String getName();
double getCost(int quantity);
}
|
package com.lagardien.plkviolation;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
/**
* Ijaaz Lagardien
* 214167542
* Group 3A
* Dr B. Kabaso
* Date: 13 March 2016
*/
public class TestMethods
{
private PLKDemo plk;
private Order orderObect;
private boolean test = false;
... |
package zsgetway.configure.filter;
import com.netflix.zuul.ZuulFilter;
import com.netflix.zuul.context.RequestContext;
import com.netflix.zuul.exception.ZuulException;
import org.apache.commons.lang.StringUtils;
import org.springframework.cloud.netflix.zuul.filters.support.FilterConstants;
import org.springframework.s... |
package tersletsky.ru;
public class Zad {
private String answer;
public Zad(String answer) {
this.answer = answer;
}
public void setAnswer(String answer) {
this.answer = answer;
}
public String getAnswer() {
return this.answer;
}
}
|
package com.lxl.mvpwork.contract;
import android.annotation.SuppressLint;
import com.lxl.mvpwork.api.ApiService;
import com.lxl.mvpwork.bean.GankResponse;
import com.lxl.mvplibrary.base.BasePresenter;
import com.lxl.mvplibrary.base.BaseView;
import com.lxl.mvplibrary.network.NetworkApi;
import com.lxl.mvplibrary.netw... |
package com.infoworks.lab.rest.models;
public class ItemExist extends Response {
private Boolean isExist = false;
public Boolean isExist() {
return isExist;
}
public void setIsExist(Boolean exist) {
isExist = exist;
}
}
|
package com.example.BankOperation.enums;
import com.example.BankOperation.util.PaymentErrorCode;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.util.HashMap;
import java.util.Map;
public enum RequestPaymentError implements PaymentErrorCode {
NOT_ENOUGH_FUNDS("no... |
import java.util.Scanner;
public class NewHouse {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String flowers = scan.nextLine().toLowerCase(); // "Roses", "Dahlias", "Tulips", "Narcissus", "Gladiolus"
int flowersCount = Integer.parseInt(scan.nextLine());
... |
// 코드명 : AlgoStudy 2021 프로그래머스 level 1 (score : 100/100)
// 작성자 : 서민기
// 문제명 : 비밀지도
// 시작일 : 2021-01-25
// 종료일 : 2021-01-26
// 코멘트 : bit 연산자를 활용하는 문제였다. 귀찮다고 문제 내일로 미루지 말자 하루만에 풀수 있는 거였는데....
// 지도 1 또는 지도 2 중 어느 하나라도 벽인 부분은 전체 지도에서도 벽이다. (arr1, arr2 둘 중 하나라도 1일 경우 1로 부호화)
// 지도 1과 지도 2에서 모두 공백인 부분은 전체 지도에서도 공백이다. (arr... |
package pl.jcw.demo.spring.cache;
import java.util.Collections;
import org.springframework.cache.Cache;
import org.springframework.cache.CacheManager;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cache.concurrent.ConcurrentMapCache;
import org.springframework.cache.support.Sim... |
package com.bramgussekloo.projectb.models;
import android.os.Parcel;
import android.os.Parcelable;
import com.bramgussekloo.projectb.Adapter.ProductIdClass;
public class Product extends ProductIdClass implements Parcelable {
private String title;
private String desc;
private String image_url;
privat... |
package com.shangdao.phoenix.entity.report.strategy;
import com.alibaba.fastjson.JSONObject;
import com.shangdao.phoenix.entity.apisearch.APISearchRepository;
import com.shangdao.phoenix.entity.report.Report;
import com.shangdao.phoenix.entity.report.module.BaseModule;
import com.shangdao.phoenix.entity.report.module.... |
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2003-2004 Brian Wellington (bwelling@xbill.org)
package org.xbill.DNS;
import java.io.IOException;
/**
* A helper class for constructing dynamic DNS (DDNS) update messages.
*
* @author Brian Wellington
*/
public class Update extends Message {
private f... |
package com.defalt.lelangonline.data.auctions;
import android.os.AsyncTask;
import androidx.annotation.NonNull;
import com.defalt.lelangonline.data.RestApi;
import com.defalt.lelangonline.ui.SharedFunctions;
import com.defalt.lelangonline.ui.auctions.Auction;
import com.defalt.lelangonline.ui.auctions.AuctionsActivi... |
/*
* @(#) TpstifDAO.java
* Copyright (c) 2007 eSumTech Co., Ltd. All Rights Reserved.
*/
package com.esum.wp.ims.tpstif.dao.impl;
import java.util.List;
import com.esum.appframework.dao.impl.SqlMapDAO;
import com.esum.appframework.exception.ApplicationException;
import com.esum.wp.ims.tpstif.dao.ITpstifDAO;
/**... |
package org.pentaho.groovy.ui.spoon.repo;
import java.util.List;
import org.pentaho.di.repository.ObjectId;
import org.pentaho.di.repository.Repository;
import org.pentaho.di.repository.RepositoryDirectory;
import org.pentaho.di.repository.RepositoryDirectoryInterface;
import org.pentaho.di.repository.RepositoryEleme... |
package rs317;
import jire.event.EventHandler;
import jire.event.EventListener;
import jire.event.EventPriority;
import jire.packet.PacketParseEvent;
import jire.packet.PacketRepresentation;
import jire.packet.represent.HandshakeResponsePacket;
import jire.packet.represent.LoginResponsePacket;
import jire.plugin.Abstr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.