text
stringlengths
10
2.72M
package com.suirui.drouter.login; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.View; import android.widget.TextView; import android.widget.Toast; import com.suirui.drouter.annotation.Route; import com.suirui.drouter.core.ZRouter; import org.suirui.drouter.common.app.BaseC...
package com.itauge.springbootshirobackend.util.constants; /** * 通用常量類,當個業務的常量請開一個類 */ public class Constants { public static final String SUCCESS_CODE = "200"; public static final String SUCCESS_MSG = ""; }
package com.makethingshum.rest; //import com.makethingshum.client.HelloJerseyClient; import com.makethingshum.fantasy.Animal; import com.makethingshum.fantasy.Being; import com.makethingshum.fantasy.builders.BeingBuilder; import javax.ws.rs.*; import javax.ws.rs.core.*; import java.security.NoSuchAlgorithm...
package com.controller; import com.alibaba.fastjson.JSONObject; import com.bean.ArrangementInfo; import com.mapper.ArrangementInfoMapper; import com.service.ArrangementInfoService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframewor...
package com.kyloka.forcePlugin.events; import com.kyloka.forcePlugin.LightSaberPlugin; import com.kyloka.forcePlugin.items.WeaponList; import com.kyloka.forcePlugin.items.Weapons; import com.kyloka.forcePlugin.methods.Push; import com.kyloka.forcePlugin.object.ForceItem; import org.bukkit.ChatColor; import org...
package day41_abstraction; public interface SelfDriving { public abstract void selfDriving(); }
/* * 2012-3 Red Hat Inc. and/or its affiliates and other contributors. * * 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 requi...
package ru.android.messenger.view.interfaces; import android.graphics.Bitmap; import java.util.List; import ru.android.messenger.model.dto.chat.ChatMessage; public interface DialogView extends ViewWithAlerts { void setNewMessage(ChatMessage message); void setMessageList(List<ChatMessage> messageList); ...
package bootcamp.testng; import org.testng.annotations.Test; public class DependsOnGroup { @Test(groups = "order", dependsOnGroups = "login", alwaysRun = true) public void orderCreation() { System.out.println("order created"); } }
package com.taobao.weex.amap.component; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.util.Log; import android.view.MotionEvent; import android.widget.FrameLayout; /** * Created by Smily on 2017/...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package com.catalyst.selenium.pages; import static org.junit.Assert.*; import org.junit.Test; import com.catalyst.selenium.framework.PageObjectTest; public class SpeciesPageTest extends PageObjectTest{ private SpeciesPage speciesPage = new SpeciesPage(getDriver()); @Test public void amIOnTheCorrectPageTest() {...
package de.jmda.gen.java; /** * Generator for instance field declarations. * * @author rwegner */ public interface StaticFieldGenerator extends FieldGenerator { DeclaredStaticFieldGenerator getDeclaredStaticFieldGenerator(); void setDeclaredStaticFieldGenerator( DeclaredStaticFieldGenerator generator); ...
package mobile.memoriavirtual.usp.mvmobile.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.net.Uri; import android.support.v4.view.ViewPager; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.Menu; import android.vie...
/* * 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.jorgeivanmeza.oasimple.elements.contentparser; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.s...
package so.sao.shop.gpssocket; import io.netty.bootstrap.Bootstrap; import io.netty.buffer.*; import io.netty.channel.*; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.SocketChannel; import io.netty.channel.socket.nio.NioSocketChannel; import org.slf4j.Logger; import org.slf4j.LoggerFact...
package com.rofour.baseball.controller.model.order; import com.rofour.baseball.controller.model.BasePage; import java.io.Serializable; import java.util.List; /** * @ClassName: RequestOrderComment * @Description: * @author ZXY * @date 2016/10/13 11:01 */ public class OrderAppraiseInfo extends BasePage implements...
package com.tencent.mm.plugin.wear.model; import com.tencent.mm.g.a.su; import com.tencent.mm.plugin.wear.model.f.l; import com.tencent.mm.protocal.c.caa; import com.tencent.mm.sdk.b.c; import com.tencent.mm.sdk.platformtools.x; import java.io.IOException; class e$6 extends c<su> { final /* synthetic */ e pJo; ...
package com.komdosh.yandextestapp.data.dto; import java.util.List; /** * @author komdosh * created on 19.03.17 */ public class DicTranslatedDto { private String text; private String pos; private List<TextObject> syn; private List<TextObject> mean; private List<DicExample> ex; public String getText()...
package com.ms.CatalogueService.Controllers; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import c...
public class PointTester { public static void main(String[] args) { NamePointer q = new NamePointer(3, 5, "Q"); System.out.println("P: " + q); System.out.println("q.getName(): " + q.getpName()); System.out.println("q.getX(): " + q.getX()); NamePointer x = new NamePointer(3, 5, "X"); System.out.prin...
package com.yicheng.dao; import java.util.List; import com.yicheng.pojo.Material; public interface MaterialDao { public int create(Material material); public void update(Material material); public void delete(int id); public List<Material> getAll(); }
package jc.sugar.JiaHui.jmeter.configtestelement; import jc.sugar.JiaHui.jmeter.JMeterElementCategory; import jc.sugar.JiaHui.jmeter.AbstractJMeterElementMapper; import jc.sugar.JiaHui.jmeter.JMeterElementType; import org.apache.jmeter.protocol.http.control.AuthManager; import org.apache.jmeter.protocol.http.control.A...
//Additional Tutorial 2 - Q3.9 import java.util.Scanner; public class Q_3_9{ public static void main(String[] args){ double temp=0.0; String state=""; Scanner inputTemp = new Scanner(System.in); System.out.print("Enter the temperature followed by C for Celsius or F for Fahrenheit: "); String ...
package com.project.hadar.AcadeMovie.Adapter; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.PorterDuff; import android.graphics.drawable.LayerDrawable; import android.net.Uri; import android.support.v7.widget.CardView; import android.support.v7.wi...
package com.zhkrb.eve_oauth2; import android.app.Notification; import android.content.Context; import android.text.TextUtils; import android.util.Log; import android.view.View; import android.webkit.CookieManager; import android.webkit.ValueCallback; import android.webkit.WebChromeClient; import android.webkit.WebReso...
package com.mideas.rpg.v2.command; public class CommandSentBagItems { }
package Controllers; import java.util.*; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResp...
package com.javainuse.controllers; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import java.io.IOException; import org.springframework.http.HttpEntity; import org.sp...
package io.github.boapps.eSzivacs.Adapters; import android.app.Activity; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import java.util.ArrayList; import io.github.boapps....
package com.tencent.mm.plugin.collect.ui; import android.content.Context; import android.util.AttributeSet; import android.view.View; import android.view.View.OnClickListener; import android.widget.LinearLayout; import android.widget.TextView; import com.tencent.mm.plugin.wxpay.a.c; import com.tencent.mm.plugin.wxpay....
int main() { int[][][] arr; arr = new int[2][][]; int[] x; arr[1] = new int[2][]; arr[1][1] = new int[2]; arr[1][1][1] = 1; printInt(arr[1][1][0]); printInt(arr[1][1][1]); printInt(arr.length); return 0; }
package com.nirmal.springbootrest.dto; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.data.repository.query.Param; import org.springframework.stereotype.Repositor...
package analysis.stock.com; import java.util.LinkedList; import java.util.List; //RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; //K:SMA(RSV,M1,1); //D:SMA(K,M2,1); public class KD { SMA K; SMA D; int indexCount; public KD (final List <Float> pClose, final List <Float> pLLV, final List <Fl...
package org.antfarmer.ejce.parameter; import org.antfarmer.ejce.encoder.TextEncoder; /** * AlgorithmParameters object used for RSA encryption. * @author Ameer Antar */ public class RsaParameters extends AbstractAsymmetricAlgorithmParameters<RsaParameters> { /** * Algorithm for RSA encryption. */ ...
import java.util.Scanner; public class Project13_1 { /** * @param args */ public static void main(String[] args) { int input1; int input2; int counter; int answertest1; int answertest2; System.out.println("Please put in the first number: "); Scanner keyboard = new Scanner(System.in...
package view; /* * Autor Bruno da Silva * * Data: 12/11/2010 */ import java.awt.Graphics2D; import java.awt.Point; import java.awt.event.KeyEvent; import java.awt.event.MouseEvent; import java.awt.image.BufferedImage; import java.io.IOException; import java.util.ArrayList; import java.util.List; ...
package com.vilio.pcfs.filter; import com.vilio.pcfs.glob.GlobParam; import com.vilio.pcfs.glob.ReturnCode; import com.vilio.pcfs.util.JsonUtil; import com.vilio.pcfs.util.JudgeUtil; import com.vilio.pcfs.util.PcfsUtil; import org.apache.log4j.Logger; import javax.servlet.*; import javax.servlet.http.HttpServletReque...
package mouse.server.simulation.event; /** * The GameLogicEventListener hierachy encapsulates all events not handled by * the server and provides an interface between the network layer and the logic * layer * * @author Kevin Streicher <e1025890@student.tuwien.ac.at> */ public interface GameLogicEventListener { ...
package com.jiuzhe.app.hotel.dto; import com.jiuzhe.app.hotel.utils.TimeUtil; import java.time.LocalDate; import java.util.List; /** * @Description:房态的头,包括日期,星期,剩余房间数量 */ public class HotelStateHeadDto { /** * 日期(4-5) */ private String date; /** * 剩余房间数量 */ private Integer free...
package com.iishoni.model; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; import java.util.Date; @Data @Builder @NoArgsConstructor @AllArgsConstructor public class Admin implements Serializable { private static final lon...
package com.appdirect.connection.response.json; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import ...
/* Valdearcos Trenas, Andrés */ /* Pérez Sánchez, Pedro Daniel */ /* Prieto Parrilla, Elías */ /*David*/ package ui; import java.util.Scanner; import java.text.DecimalFormat; /** * Esta clase contiene el método principal del programa y otros métodos. * @author Andrés Valdearcos Trenas, Elías Prieto Parrilla, Da...
/* * 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 oopcomputer; /** * * @author Laurentiu */ public class Ecran { private String afisaj = "0"; private ...
package com.example.demo.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; /** * @author mojianxiong * @create 2019-11-12 */ @Controller @RequestMapping("api/v1/test1") public class...
package com.google.android.gms.tagmanager; import com.google.android.gms.tagmanager.c.c.a; import java.util.List; class c$2 implements a { final /* synthetic */ c bbu; c$2(c cVar) { this.bbu = cVar; } public final void v(List<c.a> list) { for (c.a aVar : list) { c.a(this....
package com.example.toolrepositoryandroid; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.wid...
package pers.pbyang.servlet; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class TextServlet extends HttpServlet { private static...
package com.afs.invoiceapi.model; import com.afs.invoiceapi.exceptions.ValidationException; import com.afs.invoiceapi.model.request.CustomerRequest; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.UUID; public class Customer { private String id; pri...
package com.example.readdata.Activity; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.example.readdata.R; public class WaitUpdateActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceStat...
package com.github.ntltl; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; public abstract class Container<T> { protected final Type type; protected Container() { Type t = getClass().getGenericSuperclass(); if (t instanceof Class<?>) { throw new Illegal...
package com.bytedance.sandboxapp.c.a.b.e; import com.bytedance.sandboxapp.a.a.c.i; import com.bytedance.sandboxapp.a.a.d.a; import com.bytedance.sandboxapp.c.a.a.a; import com.bytedance.sandboxapp.protocol.service.api.entity.ApiCallbackData; import com.bytedance.sandboxapp.protocol.service.api.entity.a; import ...
package com.fleet.h2; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class H2ApplicationTests { }
package test; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.FutureTask; /** * Created by ZSL on 2017/6/19. */ public class Preloader { private static final FutureTask<Integer> future=new FutureTask<Integer>(new Callable<Integer>() { @O...
package shallow.xu.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import shallow.xu.dao.OrderResporitity; import shallow.xu.entity.OrderEntity; import java.util.List; /** * Created by Shallow Xu on 2017/7/12. */ @Service public class OrderServ...
package com.witt.wrapper; public class TestWrapper { public static void main(String[] args) { int n = 123; Integer integer = new Integer(n); System.out.println(integer.intValue()); Integer integer1 = n; System.out.println(integer1.intValue()); } }
package com.github.mikewtao.webf.demo.pojo; public class People { private ExpressDetail detail; public ExpressDetail getDetail() { return detail; } public void setDetail(ExpressDetail detail) { this.detail = detail; } @Override public String toString() { return "People [detail=" + detail + "]"; ...
package raktar; public class Termek { private int azonosito; private String nev; private int ar; private Termek(int azonosito, String nev, int ar) { this.azonosito = azonosito; this.nev = nev; this.ar = ar; } public static Termek createTermek(String szoveg) { try { String[] tmp = szoveg.split(","); ...
package datastructure.stack; import com.sun.scenario.effect.impl.sw.java.JSWBlend_SRC_OUTPeer; /** * @Author weimin * @Date 2020/10/12 0012 17:55 */ public class Stack { private Object[] data; private int top = -1; private int size; public Stack(int size) { this.size = size; data =...
package com.androidapp.yemyokyaw.movieapp.data.model; import android.content.ContentValues; import android.content.Context; import android.util.Log; import com.androidapp.yemyokyaw.movieapp.MovieApp; import com.androidapp.yemyokyaw.movieapp.data.vo.MovieVO; import com.androidapp.yemyokyaw.movieapp.events.RestApiEvent...
package com.eatme.eatmeserver.config; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.TaskSchedu...
package it.polimi.ingsw.GC_21.EFFECT; import it.polimi.ingsw.GC_21.ACTION.Action; import it.polimi.ingsw.GC_21.PLAYER.Player; public class DontCheckMP extends Effect implements Permanent{ @Override public void activateEffect(Player player, Action action) { player.setCheckOnMP(true); } }
package co.com.devco.certificacion.stepdefinitions.viajes; import co.com.devco.certificacion.questions.ValidarTexto; import co.com.devco.certificacion.stepdefinitions.GeneralStepDefinitions; import co.com.devco.certificacion.task.*; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import cucumber....
package cn.yhd.base; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import org.springframework.jdbc.core.JdbcTemplate; import javax.annotation.Resource; import java.util.List; public abstract class BaseServiceImpl<Recode,Example> implements IBaseService<Recode,Example> { @Resour...
package mg.egg.eggc.compiler.libegg.base; import java.io.File; import java.io.Serializable; import java.util.Enumeration; import java.util.Hashtable; import java.util.Properties; import java.util.Vector; import mg.egg.eggc.compiler.libegg.type.Resolveur; import mg.egg.eggc.runtime.libjava.EGGException; import mg.egg....
package org.kohsuke.github; import org.apache.commons.io.IOUtils; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.Properties; /** * @since 1.59 */ public class GitHubBuilder { private String endpoint = GitHub.GITHUB_URL; private String user; private Str...
import java.io.IOException; public class commonTester { public static void main (String [] args) throws IOException{ double start = System.currentTimeMillis(); readpages pages = new readpages(); pages.pages("http://www.csug.rochester.edu/172/5_skiplists/final-flist.txt")...
package com.example.readdata.Model; import java.io.Serializable; /** * Created by Lonely on 1/9/2017. */ public class TopTrack implements Serializable { private String urlimage; private String name; private String title; private String urlmedia; private String luotnghe; private String loiba...
package com.github.emailtohl.integration.web.service.cms; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.List; import javax.inject.Inject; import org.activiti.engine.FormService; import org.activiti.engi...
/** * Author: obullxl@gmail.com * Copyright (c) 2004-2014 All Rights Reserved. */ package com.github.obullxl.lang.enums; import java.util.Map; import org.apache.commons.lang.StringUtils; import com.github.obullxl.lang.enums.EnumBase; /** * 布尔开关枚举值 * * @author obullxl@gmail.com * @version $Id: ValveBoolEnum....
package modelo.mutacion; import java.util.Random; import modelo.poblacion.Chromosome; import modelo.poblacion.Gene; import modelo.poblacion.TreeNode; public class MutacionArbol extends Mutacion{ public MutacionArbol(double p, String initializationType) { super(p); } @Override /* * Selecciona un nodo del ...
package com.seemoreinteractive.seemoreinteractive; import java.util.ArrayList; import java.util.List; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterfa...
package com.zen.bandit.cb; import com.zen.bandit.event.CbEvent; import org.apache.commons.math3.linear.Array2DRowRealMatrix; import org.apache.commons.math3.linear.MatrixUtils; import org.apache.commons.math3.linear.RealMatrix; import org.apache.commons.math3.linear.RealVector; import org.slf4j.Logger; import org.slf4...
package Environment; public class Dehumidifier { double humidityLevel; public Dehumidifier() { } public void on() { System.out.println("Dehumidifier is on"); } public void off() { System.out.println("Dehumidifier is off"); } }
package com.tencent.tencentmap.mapsdk.a; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Intent; import android.content.IntentFilter; import android.net.NetworkInfo; final class ef { private static ef a = null; private ej b; ...
package Controller; import java.util.HashMap; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bin...
package org.lightadmin.test.scope; import org.lightadmin.api.config.utils.DomainTypeSpecification; import org.lightadmin.test.model.TestCustomer; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persis...
/* * Copyright (c) 2010 University of Tartu */ package org.jpmml.manager; import org.dmg.pmml.*; public class ModelManagerFactory { protected ModelManagerFactory(){ } public ModelManager<? extends Model> getModelManager(PMML pmml, Model model){ if(model instanceof AssociationModel){ return new Associatio...
package com.mygdx.game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Preferences; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.gra...
package at.ebinterface.validation.web.pages.convert; import java.io.IOException; import java.util.Locale; import javax.annotation.Nonnull; import javax.xml.bind.ValidationEventHandler; import org.apache.wicket.feedback.ContainerFeedbackMessageFilter; import org.apache.wicket.markup.html.WebPage; import org.apache.wi...
package util; import java.io.*; import java.util.*; public class Util { public static void writeFile(File file, String input) throws IOException{ OutputStreamWriter out = new OutputStreamWriter(new FileOutputStream(file),"UTF-8"); out.write(input); out.close(); } public static String readFile(File f) t...
import components.TableCalendarRenderer; import models.CalendarNote; import service.HibernateCalendarDaoImpl; import service.MapCalendarDaoImpl; import service.CalendarService; import service.SQLiteCalendarDaoImpl; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing....
package com.jiw.dudu.design.mediator.computer; import lombok.Getter; /** * @Description 电脑CPU * @Author pangh * @Date 2022年10月26日 * @Version v1.0.0 */ public class Cpu extends ComputerColleague { @Getter private String videoData = ""; @Getter private String soundData = ""; public Cpu(Comput...
package amlsim.model; import amlsim.Account; import amlsim.AccountGroup; import amlsim.AMLSim; /** * Base class of transaction models */ public abstract class AbstractTransactionModel { // Transaction model ID public static final String SINGLE = "single"; // Make a single transaction to each neighbor acco...
package com.epam.training.sportsbetting.config; import javax.sql.DataSource; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.jdbc.datasource.DriverManagerDataSource; @Configuration public class SpringConfigurationDataSource {...
package adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.yan.dataadvanced.R; import java.util.ArrayList; /** * Created by 洒笑天涯 on 2015/11/20...
package excluder; import burp.IBurpExtenderCallbacks; import java.io.PrintWriter; import java.io.StringWriter; public class ExtensionDebugger { private static PrintWriter error; private static PrintWriter output; public static void initialize(IBurpExtenderCallbacks callbacks) { ExtensionDebugg...
package pl.pawel; import org.json.JSONArray; import org.json.JSONObject; import java.io.*; import java.net.URL; import java.nio.DoubleBuffer; import java.nio.charset.Charset; import java.util.Scanner; public class NbpConnection { private static String readAll(Reader rd) throws IOException { StringBuild...
/* ******************************************************************************** * システム:i-mode chat management * *==============================================================================* * クラス :Numeric |モジュール:Numeric.java * * 概要  :数値関連 ...
package com.example.project_redbus; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.webkit.WebView; import android.webkit.WebViewClient; public class foodnfun extends AppCompatActivity { WebView foodnfun; @Override protected void onCreate(Bundle savedInstanceState) {...
package forex.rates.api.model.entity; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.*; @Data @EqualsAndHashCode(exclude = "id") @Entity @Table(name = "currencies") public class CurrencyDefinition { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; ...
package com.appareldiving.dataretriever.service; import com.appareldiving.dataretriever.controller.feign.ZuulProxy; import com.appareldiving.dataretriever.dto.RequestData; import com.appareldiving.dataretriever.exception.ListNullException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframe...
package org.mge.general; public class CrossingPaths { public static void main(String[] args) { int[] A = {0, 1, 0, 1, 1, 0, 1, 1, 1, 0}; System.out.println(solution(A)); } /** * Logic: * 1. For each 0(hiker going up) count no.of 1's(hiker going down) after this 0 and store the count at this index. * 2...
package se.iths.labb3.shapes; import javafx.scene.canvas.GraphicsContext; import javafx.scene.paint.Color; public abstract sealed class Shape permits Circle, Square { private Color color; private final double x; private final double y; private final double size; public Shape(Color color, double x...
/* * 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 javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.pers...
package com.example.sampledogapi.service; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.stereotype.Service; import java.io.IOException; import java.io.InputStream; import java.util.List; import java.util.Map; @Service public class...
package ru.otus.web; import org.junit.*; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.EntityTransaction; import javax.persistence.Persistence; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; public class JDBC...
package org.smxknife.easypoi.web.controller; import cn.afterturn.easypoi.entity.vo.NormalExcelConstants; import cn.afterturn.easypoi.excel.entity.ExportParams; import cn.afterturn.easypoi.excel.entity.enmus.ExcelType; import cn.afterturn.easypoi.excel.export.ExcelExportService; import com.google.common.collect.Lists; ...
package app.commands; import app.ConsoleManager; import app.ZipFileManager; import app.exceptions.PathIsNotFoundException; import java.nio.file.Paths; public class ZipExtractCommand extends ZipCommand { @Override public void execute() throws Exception { try { ConsoleManager.writeMessage("...
package zystudio.cases.multithread; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import zystudio.mylib.utils.LogUtil; public class CaseShareResource { private static CaseShareResource sCase; public static CaseShareResource obtain() { if (sCase == null) { ...