text
stringlengths
10
2.72M
package com.example.snapup_android.service; import com.example.snapup_android.dao.TrainRunMapper; import com.example.snapup_android.dao.TrainSerialMapper; import com.example.snapup_android.pojo.TrainInfo; import com.example.snapup_android.pojo.TrainRun; import com.example.snapup_android.pojo.TrainSerial; ...
package Revise.threads; import java.io.*; import java.net.URL; import java.util.Comparator; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.PriorityBlockingQueue; import java.util.concurrent.Semaphore; class QueueTurnstile { Semaphore queueSemaphore...
package TST_teamproject.Board.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import TST_teamproject.Board.dao.BoardReplyMapper; import TST_teamproject.Board.model.BoardReplyVo; @Service public class BoardReplyServiceImp i...
package cn.tedu.shoot_wy; import java.awt.image.BufferedImage; public class BigAirplane extends FlyingObject implements Award{ int step; static BufferedImage[] images = new BufferedImage[5]; static{ for (int i =0;i<images.length;i++) images[i] = loadImage("bigplane"+i+".png"); } public BigAirplane(){ wi...
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * 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 License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
package se.ade.autoproxywrapper.gui.controller; import javafx.fxml.FXML; import javafx.scene.control.CheckBox; import javafx.scene.control.TextField; import javafx.stage.Stage; import org.apache.commons.lang3.StringUtils; import se.ade.autoproxywrapper.config.Config; import se.ade.autoproxywrapper.ProxyMode; import se...
// modcommon/module.info.java module modcommon { exports pkgcommon; }
package ggboy.study.java.spring_mybatis; import java.util.List; import java.util.Map; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import com.alibaba.fastjson.JSON; import ggboy.java.common.exception.CommonUtilException; import ggb...
package com.yc.education.mapper.account; import com.yc.education.model.account.AccountReceivableFee; import com.yc.education.util.MyMapper; import org.apache.ibatis.annotations.Param; import java.util.List; public interface AccountReceivableFeeMapper extends MyMapper<AccountReceivableFee> { /** * 根据 应收账款冲账...
package com.moviee.moviee.services; import android.content.Context; import android.content.SharedPreferences; import android.net.Uri; import android.preference.PreferenceManager; import com.moviee.moviee.models.Movie; import org.json.JSONArray; import org.json.JSONObject; import java.util.ArrayList; import java.uti...
package info.fandroid.mindmap.controller.adapter; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import a...
package com.git.cloud.cloudservice.service.impl; import com.git.cloud.cloudservice.dao.ICloudServiceFlowRefDao; import com.git.cloud.cloudservice.model.po.CloudServiceFlowRefPo; import com.git.cloud.cloudservice.service.ICloudServiceFlowRefService; import com.git.cloud.common.exception.RollbackableBizException; ...
package pass1; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.OutputStream; import java.util.HashMap; class SymLit{ //class for Symbols and Literals int addr; String name; SymLit(String n,int a){ name =...
/* * Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.types.basic; import java.util.Date; import java.util.List; import com.fasterxml.jackson.annotation.JsonIgnore; import pl.edu.icm.unity.exceptions.IllegalIdentityVal...
package com.heihei.fragment.live.logic; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import org.json.JSONArray; import org.json.JSONObject; import com.base.http.ErrorCode; import com.base.http.JSONResponse; import com.heihei.logic.present.LivePresent; import com.heihei.model.Gift; pu...
package com.xiniunet.tutorial.tutorial.module.screen.leave; import com.alibaba.citrus.turbine.Context; import com.xiniunet.framework.security.Passport; import com.xiniunet.framework.util.auth.LocalData; import com.xiniunet.workflow.domain.Process; import com.xiniunet.workflow.domain.ProcessApproveRule; import com.xini...
package com.esum.ebms.v2.packages.util; import java.util.Calendar; /** * * @author Yeonho Chung <yhchung@esumtech.com> * @since 2004-06-08 * */ /* * The Apache Software License, Version 1.1 * * * Copyright (c) 2002-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use i...
package com.yea.loadbalancer; import com.netflix.config.ChainedDynamicProperty; import com.netflix.config.DynamicBooleanProperty; import com.netflix.config.DynamicIntProperty; import com.netflix.config.DynamicPropertyFactory; import com.yea.core.loadbalancer.IRule; import com.yea.loadbalancer.config.IClientConfig; /*...
package com.zc.pivas.wardgroup.controller; import com.google.gson.Gson; import com.zc.base.common.controller.SdBaseController; import com.zc.base.orm.mybatis.paging.JqueryStylePaging; import com.zc.base.orm.mybatis.paging.JqueryStylePagingResults; import com.zc.base.sys.common.constant.AmiLogConstant; import co...
package revolt.backend.entity; import lombok.AccessLevel; import lombok.Getter; import lombok.Setter; import lombok.experimental.FieldDefaults; import javax.persistence.*; @Getter @Setter @Entity @Table(name = "mechmod") @FieldDefaults(level = AccessLevel.PRIVATE) public class Mechmod { @Id @GeneratedValue(s...
package org.androware.androbeans; import android.app.Activity; import android.content.ContextWrapper; import org.androware.androbeans.utils.ResourceUtils; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import java.util.Map; /** * Created by jkirkley on 6/...
package f.star.iota.milk.ui.jdlingyu.jd; import android.os.Bundle; import f.star.iota.milk.base.MoreScrollImageFragment; public class JDLINGYUFragment extends MoreScrollImageFragment<JDLINGYUPresenter, JDLINGYUAdapter> { public static JDLINGYUFragment newInstance(String url) { JDLINGYUFragment fragme...
package com.reservation.controller; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframew...
import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.commons.codec.DecoderException; import org.apache.commons.codec.binary.Base64; import org.apache.commons.codec.binary.Hex; import org.apache.commons.io.IOUtils; import javax.crypto.*; import javax.crypto.spec.SecretKeySpec; import java.io.FileNotFou...
package com.huangfu.assembly.model; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * 用户类 * * @author huangfu * @date 2021年2月20日13:48:36 */ @Data @AllArgsConstructor @NoArgsConstructor public class User { private String name; private String sex; }
package zlk.cnm.view; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; import javafx.stage.StageStyle; public class InputView extends Application { @Override public void start(Stage primaryStage) throws Exce...
package carnero.movement.ui; import android.content.Intent; import android.os.Bundle; import android.widget.TextView; import carnero.movement.common.graph.SplineGraph; import carnero.movement.common.graph.SplinePath; import carnero.movement.common.model.XY; import java.util.ArrayList; import butterknife.ButterKnife...
package com.scut.service; import com.scut.entity.Book; import com.scut.entity.Category; import java.util.List; import java.util.Map; public interface BookService { Book get(int id); int getUserId(int id); void add(Book book); int count(); void delete(int id); List<Book> list(); /**...
package testing.framework.generator; import org.json.simple.JSONObject; import testing.framework.Pair; import testing.framework.TestCase; import testing.framework.TestSuite; import java.net.URISyntaxException; import java.nio.file.Path; import java.nio.file.Paths; import java.util.*; /** * Created by mhotan_dev on ...
package GroceryList; import java.util.ArrayList; public class GroceryList { private ArrayList<String> groceryList = new ArrayList<>(); public void printGroceryList (){ System.out.println("You have " + groceryList.size() + " item(s) in the list:"); for (int i=0; i<groceryList.size(); ...
package com.sinodynamic.hkgta.service.fms; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; import com.si...
package com.choco.rpc.service; import com.choco.common.entity.Admin; import com.choco.common.result.BaseResult; import com.choco.rpc.vo.CartResult; import com.choco.rpc.vo.CartVo; /** * Created by choco on 2021/1/7 14:11 */ public interface CartService { /** * 添加购物车 * @param cartVo * @param admin...
package com.nucpoop.covserver.util; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.StringReader; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLEncoder; import javax.xml.bind.JAXBContext; import javax.xml.bind.Unmarshaller; impo...
package com.zuoqing.web.service; import com.alibaba.dubbo.config.annotation.Reference; import com.zuoqing.base.LoginService; import com.zuoqing.base.entity.User; import org.springframework.stereotype.Component; /** * Created by zuoqing on 2017/11/23. */ @Component("LoginConsumerService") public class LoginConsumerS...
/* * LcmsManiseqController.java 1.00 2011-09-14 * * Copyright (c) 2011 ???? Co. All Rights Reserved. * * This software is the confidential and proprietary information * of um2m. You shall not disclose such Confidential Information * and shall use it only in accordance with the terms of the license agreement...
/* CIS 331 Section 2 Group Project Part 1. Authors: Zach Beatty, Eric Carter, Mercy Clemente, Michael Corcoran & Troy Goddard */ package Project331; public class Contractor extends Customer { private int contractorID = 2000; public String contractorName; public long contractorNumber; ...
package com.jic.libin.leaderus.study005; import java.util.concurrent.CountDownLatch; import java.util.stream.IntStream; /** * Created by andylee on 17/1/8. */ public class BinleeStudy00503 { private static final int CPU_CORE_SIZE = 10; private static final int INRC_COUNT = 10_000_000; public static voi...
package com.planet.husini; import android.Manifest; import android.app.ActivityManager; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Bundle; impo...
package oo.heranca.visibilidade; import oo.heranca.desafio.Carro; import oo.heranca.desafio.Ferrari; import oo.heranca.desafio.Fusca; public class CarroTeste { public static void main(String[] args) { Carro f1 = new Fusca(); Carro f2 = new Fusca(); Ferrari c1 = new Ferrari(); Carro c2 = new Ferrari()...
package com.esum.comp.ws.inbound; import java.util.Map; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.beanutils.BeanUtils; import org.apache.cxf.interceptor.LoggingInInt...
package com.design.FactoryVSStrategy.strategy; /* * 来源: https://www.jianshu.com/p/78c4d93fab87 https://github.com/nezha/DesignPatterns * 重点祥述: https://www.imooc.com/article/11675#comment * 策略模式UML图.png: * Strategy(抽象策略角色):封装了 每个算法必须有的算法和属性,由Context来调度。 * StrategyA(具体策略角色):实现了抽象策略定义的接口。 * Context(封装角色):将策略封装起来,...
package com.show.comm.utils; import java.io.IOException; import java.util.List; import java.util.Map; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.JavaType; import com.fasterxml.jackson.databind....
package cz.metacentrum.perun.spRegistration.common.models; import java.sql.Timestamp; import java.time.LocalDateTime; import java.time.ZoneOffset; import java.util.UUID; import lombok.AllArgsConstructor; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; impor...
package com.kacperwozniak.credit.service; import com.kacperwozniak.credit.model.Credit; import com.kacperwozniak.credit.model.Customer; import com.kacperwozniak.credit.model.Product; import com.kacperwozniak.credit.repository.CreditRepository; import org.springframework.beans.factory.annotation.Autowired; import org.s...
package com.xnarum.thonline.recon; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.sql.Connection; import java.sql.PreparedStatement; import javax.persistence.Column; import javax.persistence.Table; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.xnarum.bi.common.Q...
package practicas2parcial; import java.util.concurrent.ForkJoinPool; import java.util.concurrent.RecursiveAction; public class MergeSortForkJoin { public void sort(Integer[] a) { Integer[] helper = new Integer[a.length]; ForkJoinPool forkJoinPool = new ForkJoinPool(); forkJoinPool.invoke(n...
/* * * * Copyright 2020. Huawei Technologies Co., Ltd. All rights reserved. * * * * 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/...
/* * Copyright 2002-2023 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 net.yustinus.crud.backend.tests; import java.util.List; import org.junit.Assert; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import net.yustinus.crud.backend.beans.MenuBean; import net.yustinus.crud.backend.beans.MenuItemBean; import net.yustinus.crud.backe...
/* * Copyright 2002-2023 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...
public class FoodItem { private String dishName; private Integer price; public String getDishName() { return dishName; } public void setDishName(String dishName) { this.dishName = dishName; } public Integer getPrice() { return price; } public void setPrice(Integer price) { this.price = price; } ...
/** * This class is generated by jOOQ */ package schema.tables; import java.sql.Timestamp; import java.util.Arrays; import java.util.List; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.ForeignKey; import org.jooq.Identity; import org.jooq.Schema; import org.jooq.Table; import org.jooq....
package com.andrewsales.tools.dtd2xml; import org.xml.sax.Attributes; import org.xml.sax.ContentHandler; import org.xml.sax.Locator; import org.xml.sax.SAXException; public class ContentHander implements ContentHandler { @Override public void characters(char[] arg0, int arg1, int arg2) throws SAXException { // T...
package benchmark.java.metrics.json; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.InputStream; import java.io.OutputStream; import benchmark.java.Config; import benchmark.java.entities.PersonCollection; import benchmark.java.metrics.AMetric; import benchmark.java.metrics.Info; public class Jack...
package com.esum.framework.core.management.resource; import java.util.Set; import javax.management.ObjectName; import org.apache.catalina.mbeans.ConnectorMBean; import org.apache.catalina.mbeans.ContextMBean; import org.apache.catalina.mbeans.ServiceMBean; import org.apache.tomcat.util.modeler.BaseModelMBean; impo...
package com.bofsoft.laio.customerservice.DataClass; import com.bofsoft.laio.data.BaseData; import java.util.ArrayList; import java.util.List; /** * Created by szw on 2017/2/23. */ public class GPSInfoList extends BaseData { public List<GPSInfoData> InfoList = new ArrayList<GPSInfoData>(); }
import static org.junit.Assert.*; import org.junit.Test; public class GrafoTest { public Grafo grafo(){ return new Grafo(5); } @Test public void testCrearArista() { Grafo aTestear = grafo(); //arista posible aTestear.crearArista(0, 1); assertTrue(aTestear.existeArista(0, 1)); ...
package com.giora.climasale.features.weatherDetails.module; import com.giora.climasale.features.weatherDetails.domain.GetForecastsUseCase; import com.giora.climasale.features.weatherDetails.domain.IGetForecastsUseCase; import com.giora.climasale.features.weatherDetails.presentation.DayOfTheWeekImageProvider; import co...
package io.github.yizhiru.thulac4j.process; import io.github.yizhiru.thulac4j.model.SegItem; import java.io.Serializable; import java.util.List; /** * 词黏结. */ public interface Cementer extends Serializable { /** * 黏结分词结果. * * @param segItems 序列标注结果. */ void cement(List<SegItem> segItem...
package ua.kteam.pocketmonsters; import java.util.*; import ua.kteam.pocketmonsters.R; import android.app.*; import android.os.Bundle; import android.support.v13.app.FragmentPagerAdapter; import android.support.v4.view.ViewPager; import android.view.*; public class AuthorizationActivity extends Activity { ViewPager...
package com.example.android.spunk; import android.app.Dialog; import android.content.ContentValues; import android.content.Intent; import android.database.SQLException; import android.support.design.widget.FloatingActionButton; import android.support.v4.app.NavUtils; import android.support.v7.app.AppCompatActivity; im...
package by.bytechs.ndcParser.response.commands; /** * @author Romanovich Andrei */ public class NumberCashToDispense { private Integer cassetteNumber; private Integer cashNumber; public NumberCashToDispense() { } public NumberCashToDispense(Integer cassetteNumber, Integer cashNumber) { ...
package ru.mstoyan.shiko.testtask.Views; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.Rect; import android.graphics.RectF; import android.graphics.Region; import android.os.Build; impo...
package org.juxtasoftware.dao.impl; import java.io.Reader; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import org.juxtasoftware.Constants; import org.juxtasoftware.dao.CacheDao; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.fa...
/* * 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 carteira; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Column; import javax.persisten...
package com.ngocdt.tttn.repository; import com.ngocdt.tttn.entity.Invoice; import org.springframework.data.jpa.repository.JpaRepository; public interface InvoiceRepository extends JpaRepository<Invoice, Integer> { }
package ru.vlapin.demo.paveldemo.common; import static io.vavr.API.unchecked; import static java.util.Spliterator.ORDERED; import static java.util.Spliterators.spliteratorUnknownSize; import io.vavr.CheckedFunction1; import java.io.File; import java.net.URL; import java.util.Arrays; import java.util.Enumeration; impo...
/* * 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 servicios; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.u...
package example.mapper; import java.sql.JDBCType; import java.util.Date; import javax.annotation.Generated; import org.mybatis.dynamic.sql.SqlColumn; import org.mybatis.dynamic.sql.SqlTable; public final class RoleDynamicSqlSupport { @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2021-09-11T...
package org.bitbucket.alltra101ify.advancedsatelliteutilization.reference.moditemblockreference; import org.bitbucket.alltra101ify.advancedsatelliteutilization.reference.ModCreativeTabs; import org.bitbucket.alltra101ify.advancedsatelliteutilization.reference.ModInfo; import net.minecraft.creativetab.CreativeTabs; im...
package com.xiv.gearplanner.models.inventory; import javax.persistence.*; import java.util.List; @Entity @Table public class GearSlotCategory { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Column private Integer originalId; @ManyToOne private GearSlot slot;...
package com.pwq.utils; import com.gargoylesoftware.htmlunit.HttpMethod; import com.gargoylesoftware.htmlunit.Page; import com.gargoylesoftware.htmlunit.WebClient; import com.gargoylesoftware.htmlunit.WebRequest; import com.gargoylesoftware.htmlunit.util.NameValuePair; import com.pwq.mavenT.CharsetCode; import org.slf4...
package com.sh.base.sort; /** * 在“堆排序”中的“堆”通常指“二叉堆(binary heap)”,许多不正规的说法说“二叉堆”其实就是一个完全二叉树(complete binary tree),这个说法正确但不准确。但在这基础上理解“二叉堆”就非常的容易了,二叉堆主要满足以下两项属性(properties): #1 - Shape Property: 它是一个完全二叉树。 #2 - Heap Property: 主要分为max-heap property和min-heap property(这就是我以前说过的术语,很重要)   |--max-heap property :对于所有除了根...
package pt.sinfo.testDrive.web; import java.util.Map; import org.joda.time.DateTime; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.ISODateTimeFormat; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.web.bind.annotation.RequestBody; import org....
/* BindingListModelMap.java Purpose: Description: History: Mon Jan 29 21:07:15 2007, Created by henrichen Copyright (C) 2007 Potix Corporation. All Rights Reserved. {{IS_RIGHT This program is distributed under LGPL Version 2.1 in the hope that it will be useful, but WITHOUT ANY WARRANTY. }}IS_RIGHT ...
public class Car extends Vehicle{ private Feature[] feature = new Feature[10]; private int carAxle; public Car(){ super(); feature; } }
package io.rong.imlib.message; import android.os.Parcel; import io.rong.imlib.MessageTag; import io.rong.message.CommandNotificationMessage; @MessageTag(value = "RC:CmdNtf", flag = MessageTag.NONE) public class DemoCommandNotificationMessage extends CommandNotificationMessage { public DemoCommandNotificationMe...
package com.daikit.graphql.meta.attribute; import com.daikit.graphql.meta.GQLAbstractMetaData; /** * Abstract super class for GraphQL entity/data attribute meta data * * @author Thibaut Caselli */ public class GQLAttributeRightsMetaData extends GQLAbstractMetaData { private Object role = null; private boolean ...
/* * @(#) INodeInfoService.java * Copyright (c) 2007 eSumTech Co., Ltd. All Rights Reserved. */ package com.esum.wp.ims.nodeinfo.service; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.esum.appframework.service.IBaseService; /** * * @author frimisun@es...
package net.awesomekorean.podo.lesson.lessons; import net.awesomekorean.podo.R; import java.io.Serializable; public class Lesson28 extends LessonInit_Lock implements Lesson, LessonItem, Serializable { private String lessonId = "L_28"; private String lessonTitle = "while"; private String lessonSubTitle =...
package com.kheirallah.inc.graph; /* In a town, there are N people labelled from 1 to N. There is a rumor that one of these people is secretly the town judge. If the town judge exists, then: The town judge trusts nobody. Everybody (except for the town judge) trusts the town judge. There is exactly one person that sat...
package psoft.backend.documentacao; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.builders.ApiInfoBuilder; import springfox.documentation.builders.RequestHandlerSelectors; import springfox.documentation.service.ApiInfo; i...
package com.gaoshin.top; import org.apache.http.impl.client.DefaultHttpClient; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.AsyncTask; import com.gaoshin.sorma.AndroidContentResolver; import com.gaoshin.sorma.AnnotatedORM; impor...
package com.mercadolibre.bootcampmelifrescos.repository; import com.mercadolibre.bootcampmelifrescos.model.Product; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import java.util.List; public interface ProductRepository extends JpaRepository<Produ...
package com.nway.web.common.event; import java.util.Map; public class DbRecordUpdateEvent extends GenericEvent { private static final long serialVersionUID = 7187657637813802346L; public DbRecordUpdateEvent(Map<String, String> source) { super(source); } }
package com.sinodynamic.hkgta.dto.mms; import java.io.Serializable; import org.apache.commons.lang.math.NumberUtils; public class SpaRetreatDto implements Serializable{ private static final long serialVersionUID = 1L; private Long displayOrder; private Long retId; private String retName; private String picPa...
package com.yugy.twentyonedays.ui.fragment; import com.yugy.twentyonedays.R; import com.yugy.twentyonedays.dao.datahelper.DeletedProjectsDataHelper; import com.yugy.twentyonedays.model.Project; import com.yugy.twentyonedays.ui.activity.MainActivity; import com.yugy.twentyonedays.ui.adapter.DeletedProjectsAdapter...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) public class ButtonSelectMinigame extends Actor { private String gameName; private WorldMainMenu worldMainMenu; public ButtonSelectMinigame(WorldMainMenu worldMainMenu, String gameName, String imageName ) { this...
package ninja.pelirrojo.takibat.irc; public class PrivMsg extends ParsedLine{ private User u; private String line; protected PrivMsg(String s,User u,String line){ super(s); this.u = u; this.line = line; } public User getUser(){ return u; } public String getLine(){ return line; } public String toStri...
package friend.group.bank.obj.domain.member.status; public enum PaydayStauts { FIX("급여일 고정"), FIRST("첫째주"), LAST("마지막주"); private String desc; PaydayStauts(String desc) { this.desc = desc; } }
package com.lesports.albatross.adapter.activities; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import com.facebook.drawee.view.SimpleDrawe...
package DynamicProgramming; public class ClimbingStairs { public int climbStairs(int n){ if(n<=0) return 0; if(n==1) return 1; if(n==2) return 2; int n_1 = 2; int n_2 = 1; int res = 0; for(int i = 3; i <=n; i++){ res = n_2 + n_1; n_2= n_1; n_1 =res; } return res; ...
/* * Copyright © 2018 www.noark.xyz All Rights Reserved. * * 感谢您选择Noark框架,希望我们的努力能为您提供一个简单、易用、稳定的服务器端框架 ! * 除非符合Noark许可协议,否则不得使用该文件,您可以下载许可协议文件: * * http://www.noark.xyz/LICENSE * * 1.未经许可,任何公司及个人不得以任何方式或理由对本框架进行修改、使用和传播; * 2.禁止在本项目或任何子项目的基础上发展任何派生版本、修改版本或第三方版本; * 3.无论你对源代码做出任何修改和改进,版权都归Noark...
package exceptions; public class CannotDeleteSomeFileException extends Exception {}
/* * Copyright 2002-2018 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.jhfactory.aospimagepick.request; import android.support.annotation.NonNull; import com.jhfactory.aospimagepick.helper.PickImageHelper; public class ImagePickRequest { private PickImageHelper mHelper; ImagePickRequest(PickImageHelper helper) { this.mHelper = helper; } @NonNull ...
package dlmbg.pckg.sistem.akademik; import java.util.ArrayList; import java.util.HashMap; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.app.AlertDialog; import android.app.ListActivity; import android.content.DialogInterface; import android.content.Intent; impor...
package be.kuleuven.mume.test; import java.io.IOException; import java.net.URL; import java.net.URLConnection; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public class VraagTest { @Before public void startup() { //Hello } @Test public void testStoreVraag() throws IOException{...
package com.cg.osce.apibuilder.pojo; import java.util.List; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "petstore_aut...
package br.com.youse.redditfeed.activity; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.MotionEvent; import android.view.Window; import java.util.concurrent.CountDownLatch; public class SplashActivity extends AppCompatActivity { pri...