text
stringlengths
10
2.72M
package com.dreamcatcher.member.action; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.jasper.runtime.JspSourceDependent; import org.json.simple.JSONObject; import com.dreamc...
package presentacion.controlador.command.CommandDepartamento; import negocio.departamento.SADepartamento; import negocio.departamento.TransferDepartamento; import negocio.factorias.FactorySA; import presentacion.contexto.Contexto; import presentacion.controlador.command.Command; import presentacion.eventos.EventosDepa...
package com.training.ee.jpa; import java.util.List; import javax.ejb.EJB; import javax.ejb.LocalBean; import javax.ejb.Stateless; @Stateless @LocalBean public class EmployeeManager { @EJB private EmoployeeDao dao; public void addEmployee(final Employee emp) { this.dao.add(emp); } publ...
package com.cmj.netty; import com.cmj.netty.server.NettyServer; /** * Created by chenminjian on 2018/4/17. */ public class Bootstrap { public static void main(String[] args) { int port = 8999; NettyServer server = new NettyServer(port); server.bind(); } }
package org.wuqinghua.disruptor.helloworld; import com.lmax.disruptor.RingBuffer; import com.lmax.disruptor.YieldingWaitStrategy; import com.lmax.disruptor.dsl.Disruptor; import com.lmax.disruptor.dsl.ProducerType; import java.nio.ByteBuffer; import java.util.concurrent.Executors; import java.util.concurrent.ThreadFa...
import java.util.Random; import java.awt.event.*; import java.awt.*; import javax.swing.JPanel; import javax.swing.*; public class RockPaperScissors extends JPanel{ /** * */ private static final long serialVersionUID = 1L; private JLabel choice; private JButton rock; private JButton pape...
package lotto.step2.domain; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class LottoMachine { private static List<LottoNumber> lottoNumbers = new ArrayList<>(); private static final int LOTTO_LAST_NUMBER = 45; private static final int LOTTO_FIRST_NUMBER = 1; ...
package com.tencent.mm.plugin.fingerprint.b; import com.tencent.mm.plugin.fingerprint.b.o.a; class f$a implements a { final /* synthetic */ f jgA; private f$a(f fVar) { this.jgA = fVar; } /* synthetic */ f$a(f fVar, byte b) { this(fVar); } public final void tp(String str) { ...
package com.mathpar.students.savchenko.trash; import com.mathpar.number.Array; import java.util.ArrayList; import java.util.List; public class MultithreadExample { public static void main(String[] args) { String[] hello = new String[]{"Hello"}; String[] world = new String[]{"World"}...
package mobpartner.sampleappwithmobpartner; import android.content.Context; import com.mobpartner.android.publisher.views.MobPartnerAdBanner; import com.mobpartner.android.publisher.views.MobPartnerAdListener; import com.mopub.mobileads.CustomEventBanner; import java.util.Map; public class CustomEventAdapterBanner ...
package com.ymt.entity; /** * */ public interface CmdConfig { //String UUID_ANDROID = "adb devices|grep -v List|awk '{print $1}'"; String UUID_ANDROID = "adb devices|findstr -v List"; String UUID_IOS = "instruments -s devices|grep -v Devices|cut -d [ -f2|cut -d ] -f1"; String APP_INFO = "aapt dump badging #a...
package com.espendwise.manta.util; import com.espendwise.ocean.common.webaccess.ResponseError; public class ResponseErrorException extends RuntimeException { private ResponseError error; public ResponseErrorException(ResponseError error) { this.error = error; } public ResponseError getError(...
package com.yl.cd.mapper; import java.util.List; import java.util.Map; import com.yl.cd.entity.Corder; import com.yl.cd.entity.Corderitem; import com.yl.cd.entity.PaginationBean; public interface OrderMapper { List<Corder> getOrderByName(Map<String, Object> map); PaginationBean<Corder> getOrderTotalAn...
package com.tencent.mm.plugin.appbrand.jsapi.d; import com.tencent.mm.plugin.appbrand.page.p; import com.tencent.mm.plugin.appbrand.widget.input.m; import com.tencent.mm.ui.MMActivity; import java.lang.ref.WeakReference; class d$1 implements Runnable { final /* synthetic */ int doP; final /* synthetic */ Weak...
package org.fuusio.app.feature.home.presenter; import org.fuusio.api.mvp.Presenter; import org.fuusio.app.feature.home.view.HomeView; public interface HomePresenter extends Presenter<HomeView, Presenter.Listener> { }
class Solution {                      Map<Character, String>            charMap = new HashMap();            List<String>        ans = new ArrayList();        public List<String> letterCombinations(String digits) {        if(digits == null || digits.isEmpty())       {            return ans;       }     ch...
package com.tencent.mm.ui.chatting; import android.view.ViewTreeObserver.OnPreDrawListener; class TextPreviewUI$1 implements OnPreDrawListener { final /* synthetic */ TextPreviewUI tNo; TextPreviewUI$1(TextPreviewUI textPreviewUI) { this.tNo = textPreviewUI; } public final boolean onPreDraw(...
/* * NAESC Conference is a Google App Engine web application that provides * a conference registration system. * Copyright (C) 2010 Speed School Student Council * 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 * th...
package br.com.bhl.superfid.model; import java.io.Serializable; public class Pagamento implements Serializable { private CartaoCredito cartao; private Compra compra; public CartaoCredito getCartao() { return cartao; } public void setCartao(CartaoCredito cartao) { this.cartao = ...
package emmet.warehousing.operation.service; import java.sql.Date; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import emmet.core.data.entity.Inventory; import emmet.warehousing.entity.Wa...
package nl.vdijkit.aas.domain; public enum ItemType { SHIPMENTS, TRACK, PRICING; }
package com.github.shadowsocks.constant; /** * 加密方法 */ public class Method { public static final String NONE = "none"; public static final String TABLE = "table"; public static final String RC4 = "rc4"; public static final String RC4_MD5 = "rc4-md5"; public static final String RC4_MD5_6 = "rc4-m...
package com.mx.profuturo.bolsa.model.recruitment.constants; public class RecruitmentStagesStatus { public static final String PASS = "COMPLETED"; public static final String NO_PASS = "REJECTED"; public static final String PEND = "PENDING"; }
package com.my.demo; import javax.validation.Valid; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.validation.BindingResult; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestMapping; ...
/** * Audit specific code. */ package com.mycinema.config.audit;
package Assignment2; import java.util.Scanner; public class Employee extends GroceryBackground{ //Inheritance Scanner scan = new Scanner(System.in); private int noOfEmployee = 4; private double monthperSalary1 = 3000.00; //admin salary private double monthperSalary2 = 1200.00; //sales assistant salary p...
package day23Arrays; public class ArrayAllStudentName { public static void main(String[] args) { /* * create a string array,declare the size first and ask user to enter the names then initialize them to that string Array * new keyword inArray= used to give the size of the array only. */ } }
package com.company; public class Main { public static void main(String[] args) { Human human1 = new Human("Stefan", "Czarnecki", "Lekarz", 28, 73 ); Car car1 = new Car("Mustang", "Ford", "GD008FB", 2, 5000); human1.Rejestracja_Samochodu(car1); } }
package com.example.framelayout; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.TextView; import butterknife.BindView; import butterknife...
package com.mysql.cj.result; import com.mysql.cj.Messages; import com.mysql.cj.exceptions.CJOperationNotSupportedException; import com.mysql.cj.exceptions.ExceptionFactory; import com.mysql.cj.protocol.ColumnDefinition; import com.mysql.cj.protocol.ProtocolEntity; public interface Row extends ProtocolEntity { <T> T...
package com.mantouland.fakeelf.controller; import android.util.Log; import com.mantouland.fakeelf.bean.ListDetailBean; import com.mantouland.fakeelf.component.service.MusicService; import com.mantouland.fakeelf.constant.APPConstant; import java.util.List; import java.util.Random; /** * Created by asparaw on 2019/...
package com.codezjsos.base.utils.query; public abstract class DBBean { }
package com.tencent.mm.ui.contact; import android.view.View; import android.view.View.OnFocusChangeListener; import com.tencent.mm.R; class ContactRemarkInfoModUI$15 implements OnFocusChangeListener { final /* synthetic */ ContactRemarkInfoModUI ujh; ContactRemarkInfoModUI$15(ContactRemarkInfoModUI contactRe...
/** * */ /** * @author singhra * */ package com.github_practice.sample;
package com.xvr.serviceBook.service.servicedto; import lombok.Builder; import lombok.Getter; import lombok.Setter; import java.time.ZonedDateTime; import java.util.Date; @Getter @Setter @Builder public class TicketHistoryServiceDto { private Long id; private Long numberEvent; private Long ticketId; ...
package com.passing.hibernate.beans; /** * Jpwordexample generated by MyEclipse Persistence Tools */ public class Jpwordexample extends AbstractJpwordexample implements java.io.Serializable { // Constructors /** default constructor */ public Jpwordexample() { } /** full constructor */ publi...
package com.mes.old.meta; // Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final /** * RRulePatternId generated by hbm2java */ public class RRulePatternId implements java.io.Serializable { private String ruleid; private String objectuid; public RRulePatternId() { } public RRulePatternId(String ruleid,...
package Park; public class String_Variable{ public static void main(String args[]){ String str1 = new String("This is really not immutable!!"); String str2 = str1; boolean retVal; int length; double d = 102939939.939; retVal = str1.equals(str2); System.out.pri...
package com.cimcssc.chaojilanling.entity.scattered; import java.util.ArrayList; /** * Created by cimcitech on 2017/5/3. */ public class ScatteredTypeVo { private boolean result; private ArrayList<Requirements> requirements; public boolean isResult() { return result; } public void set...
package hippocampus; import java.util.ArrayList; public class Cell { public boolean isPlaceCell; public int ident; public float pos_x; public float pos_y; public float activity; public float distance; public int path; public ArrayList<Cell> neighbors; public Cell(float x, float y, float[][] m,...
package com.example.kcroz.joggr.ViewRoute; import android.content.Context; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.util.Log; import android.view.LayoutInflater; import android...
package sampleRestControllers; import ca.uhn.fhir.rest.server.exceptions.InvalidRequestException; import ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException; import com.ontrak.dfappl.dfapplpatientapi.model.ApiError; import com.ontrak.dfappl.dfapplpatientapi.model.DFApplResponse; import com.ontrak.dfappl...
package me.ryandw11.ultrabar.api.parameters; import java.util.List; import org.bukkit.command.CommandSender; import me.ryandw11.ultrabar.api.BossBarBuilder; public interface BarParameter { public String getPluginName(); public List<String> aliases(); public String tab(); public void barCreation(String value, ...
package com.walkerwang.algorithm.swordoffer; public class StringLeftRotate { public static void main(String[] args) { String str = ""; int n = 6; LeftRotateString(str, n); } /** * ����ʱ�䣺34ms ռ���ڴ棺503k */ public static String LeftRotateString(String str, int n) { if (str == null || n>str.length())...
package com.example.android.newsapp.sync; import android.content.Context; import android.util.Log; import com.firebase.jobdispatcher.Driver; import com.firebase.jobdispatcher.FirebaseJobDispatcher; import com.firebase.jobdispatcher.GooglePlayDriver; import com.firebase.jobdispatcher.Job; import com.firebase.jobdispa...
package multipath; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.DataInputStream; import java.io.FileInputStream; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Date; import java.util.List; import org...
package game.controllers; import desktop_resources.GUI; import entities.fields.abstracts.Field; import entities.fields.abstracts.Ownable; import entities.fields.collection.FieldCollection; import entities.fields.ownable.Territory; import game.Player; public class MarketPlaceController { /* * Code to determine if...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package co.tweetbuy.util; import co.tweetbuy.bean.UserBean; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletExcep...
package com.gmail.ivanytskyy.vitaliy.service.impl; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.gma...
package modelo; public class Libreria { //ATRIBUTOS private String nombre; private String nit; private String direccion; //RELACION private Libro[] librosDispo; //CONSTRUCTOR public Libreria(String elNombre, String elNit, String laDireccion){ nombre = elNombre; nit = elNit; direccio...
package client; import java.io.Serializable; public class Group implements Serializable{ private String[] recipients; private String groupName; public Group(String[] recipients, String groupName){ this.recipients = recipients; this.groupName = groupName; } public void setRecipients(String[] recipients){ ...
package coronavairusapi.models; import java.io.Serializable; import java.time.LocalDate; import java.util.Objects; import javax.persistence.*; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; @Entity @Table(name = "\"Case\"") public class Case implements Serializable { /...
package bootcamp.test.window; import java.util.Set; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import io.github.bonigarcia.wdm.WebDriverManager; public class NewTab { public static void main(String[] args) { WebDriverManager.chromedriver()...
package com.hallowizer.displaySlot.apiLoader.visitInstruction; import org.objectweb.asm.Label; import org.objectweb.asm.MethodVisitor; import lombok.RequiredArgsConstructor; @RequiredArgsConstructor public final class MethodVisitTableSwitchInsnInstruction implements VisitInstruction<MethodVisitor> { private final i...
package br.com.zup.zupacademy.daniel.mercadolivre.produto.perguntaProduto; import br.com.zup.zupacademy.daniel.mercadolivre.produto.Produto; import br.com.zup.zupacademy.daniel.mercadolivre.usuario.Usuario; import com.fasterxml.jackson.annotation.JsonCreator; import javax.validation.constraints.NotBlank; public clas...
import static org.junit.Assert.*; import org.junit.Test; public class testFlik{ @Test public void testequal(){ int expected = 4; boolean actual=Flik.isSameNumber(127,127); //assertEquals(actual,expected); assertTrue(actual); } public static void main(String[] args){ jh61b.junit.TestRunner.runTests("failed",test...
/* * Copyright: (c) 2004-2012 Mayo Foundation for Medical Education and * Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the * triple-shield Mayo logo are trademarks and service marks of MFMER. * * Except as contained in the copyright notice above, or as used to identify * MFMER as the author of ...
//Copyright Hale [hale2000@163.com] // //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 applicable law or agre...
package com.smxknife.java2.thread.futureAndCallable.callableAndRunnable; /** * @author smxknife * 2019-08-19 */ public class RunnableException implements Runnable { @Override public void run() {//throws Exception { // TODO 这里编译错误, // throw new Exception(""); } }
package com.example.rxjava; import io.reactivex.Observable; import io.reactivex.ObservableEmitter; import io.reactivex.ObservableOnSubscribe; import io.reactivex.Observer; import io.reactivex.annotations.NonNull; import io.reactivex.disposables.Disposable; import io.reactivex.functions.Action; import io.rea...
package ru.stqa.pft.soap; import com.lavasoft.GeoIPService; import org.testng.annotations.Test; import static org.testng.Assert.assertEquals; public class GeoIpServiceTests { @Test public void testMyIp() { String geoIP = new GeoIPService().getGeoIPServiceSoap12().getIpLocation("2a00:1fa0:46a6:6bab:2425:6d00...
package acs.logic.db; import java.util.Date; import java.util.List; import java.util.UUID; import java.util.stream.Collectors; import java.util.stream.StreamSupport; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.facto...
package com.rest.RESTAPI; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; ...
package com.tencent.mm.plugin.qmessage.ui; import android.content.Context; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.os.Bundle; import android.view.ContextMenu; import android.view.ContextMenu.Co...
package ga.initialize; import ga.Population; /** * Abstract class for initialization of population. */ public abstract class Initialize{ /** * Initializes the population of individuals. * * @param size The number of individuals to create in the population. * @param chromosomeSize The number of genes ...
package ro.alexdutescu.coduribare.service; import java.util.List; import org.springframework.stereotype.Service; import ro.alexdutescu.coduribare.model.StocTotal; @Service public interface StocTotalService { public void create(StocTotal entity); public void edit(StocTotal entity); public void remove(StocTot...
package com.dismo.dao; import com.dismo.model.novel.NovelInfo; import org.apache.ibatis.annotations.Insert; /** * @author code4crafer@gmail.com * Date: 13-6-23 * Time: 下午4:27 */ public interface NovelInfoDAO { @Insert("insert into JobInfo (`title`,`salary`,`company`,`description`,`source`,`ur...
package com.chuxin.family.utils; import com.chuxin.family.calendar.CalendarDisplayUtility; import java.util.ArrayList; import java.util.Calendar; import java.util.List; public class CalendarUtil { private static CalendarUtil sInstance = new CalendarUtil(); private CalendarUtil() {} public static CalendarUtil ge...
package com.didipark.dao; import java.util.List; import org.hibernate.SessionFactory; import com.didipark.pojo.Carport; import com.didipark.pojo.Photo; public interface PhotoDao { public void setSessionFactory(SessionFactory sessionFactory); public Photo savePhoto(String url,Carport id,String url2); public void ...
package lesson4.homework.appliances; public class TvLg extends Television{ public TvLg() { System.out.println("Телевизор подключен к сети"); } }
package LeetCode.ArraysAndStrings; public class StringCompression { public int compress(char[] chars){ int i = 0, index = 0; while (i < chars.length){ int j = i; while (j < chars.length && chars[i] == chars[j]){ j++; } chars[index++] = chars[i]; if(j-i > 1) { Str...
import java.io.*; import Types.Print; public class Core { public static PrintWriter writer; @SuppressWarnings("unused") public static void main(String[] args) throws IOException { //Setup output file File outputFile = new File(args[1]); writer = new PrintWriter(outputFile); writer.print(""); //Token...
package com.tencent.mm.wallet_core.ui.formview; interface c { }
package customer.gajamove.com.gajamove_customer; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.NotificationCompat; import customer.gajamove.com.gajamove_customer.adapter.BigSidePointAdapter; import customer.gajamove.com.gajamove_customer.adapter.StopInfoAdapter; import customer.gajamove.com...
import java.util.ArrayList; import java.util.Arrays; // This Program was Created in April 2018, By Cal Colbert-Pollack SWHS Class of 2020 public class Main { public static void main(String args[]) { ArrayList<Double> in = new ArrayList<Double>(); in.add(.46); in.add(.89); in....
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package turingbombsimulator; /** * * @author francescoburato */ public class BadCribException extends Exception { private String msg; public BadCribException(String s){ this.msg = s; } @Override public String...
/* * Created on Jul 20, 2005 * * To change the template for this generated file go to * Window - Preferences - Java - Code Generation - Code and Comments */ package com.ibm.ive.tools.japt.reduction.bta; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Ma...
package com.tencent.mm.plugin.ipcall.ui; import android.content.Intent; import android.view.View; import android.view.View.OnClickListener; import com.tencent.mm.plugin.ipcall.a.e.d; class g$8 implements OnClickListener { final /* synthetic */ g kwi; g$8(g gVar) { this.kwi = gVar; } public f...
package Lesson2.Strategy; public class HumanApp { public static void main(String[] args) { Developer developer = new Developer(); developer.setActivity(new Sleeping()); developer.doSomething(); developer.setActivity(new Training()); developer.doSomething(); develo...
package server.model; /** * Represents the Hiring Manager object */ public class HiringManager { String id; String firstName; String lastName; /** * Creates a userID object * @param id ID of the current user * @param firstName First Name of the current user * @param lastName Last...
package com.example.jhboard; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class JhBoardApplicationTests { @Test void contextLoads() { } }
package pcodeclan.com.github.cousebooking.repositories; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import pcodeclan.com.github.cousebooking.models.Course; import java.util.List; @Repository public interface CourseRepository extends JpaRepository<Co...
package com.lingnet.vocs.dao.workorder; import com.lingnet.common.dao.BaseDao; import com.lingnet.vocs.entity.WorkOrderItem; /** * 工单 * @ClassName: WorkOrderDao * @Description: TODO * @author 薛硕 * @date 2017年6月28日 下午2:25:06 * */ public interface WorkOrderItemDao extends BaseDao<WorkOrderItem, S...
package com.deltastuido.infrastructure.repository; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.TypedQuery; import com.deltastuido.order.application.OrderSkuRepository; import com.deltastuido.order.dom...
package Controllers; import Commons.*; import Commons.Find; import Commons.Show; import java.io.*; import java.util.*; public class MainController { public static void displayMainMenu() throws IOException, ClassNotFoundException { Scanner scanner = new Scanner(System.in); int menuChoice; ...
package com.somethinglurks.jbargain.scraper.node.post.comment; import com.somethinglurks.jbargain.api.node.post.comment.Comment; import com.somethinglurks.jbargain.scraper.ScraperJBargain; import com.somethinglurks.jbargain.scraper.user.ScraperUser; import org.jsoup.Connection; import org.jsoup.Jsoup; import org.jsoup...
package com.leetcode.oj; import java.util.Comparator; import java.util.PriorityQueue; import java.util.TreeMap; // 23 https://leetcode.com/problems/merge-k-sorted-lists/ public class MergeKSortedLists_23 { public class ListNode { int val; ListNode next; ListNode(int x) { val = x; ...
package com.simpson.kisen.idol.model.dao; import java.util.List; import java.util.Map; import org.mybatis.spring.SqlSessionTemplate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import org.springframework.ui.Model; import com.simpson.kisen.fan.model...
/** * Copyright (c) 2016, 指端科技. */ package com.rofour.baseball.controller.model.report; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang3.StringUtils; import com.rofour.baseball.controller.model.BasePage; /** * @ClassName: RecieveOrderRateInfo * @...
package com.borroom.backend.controller; import com.borroom.backend.domain.Record; import com.borroom.backend.domain.Result; import com.borroom.backend.repository.RecordRepository; import com.borroom.backend.utils.ResultUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web....
package com.test.stream; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import java.util.stream.IntStream; public class StreamTest { public static void main(String[] args) { List<Integer> listToTest = new ArrayList<>(); for (i...
package de.madjosz.adventofcode.y2016; import static org.junit.jupiter.api.Assertions.assertEquals; import de.madjosz.adventofcode.AdventOfCodeUtil; import java.util.List; import org.junit.jupiter.api.Test; class Day11Test { @Test void day11() { List<String> lines = AdventOfCodeUtil.readLines(2016,...
package com.hesoyam.pharmacy.user.service.impl; import com.hesoyam.pharmacy.user.dto.LoyaltyAccountMembershipDTO; import com.hesoyam.pharmacy.user.dto.LoyaltyProgramConfigUpdateDTO; import com.hesoyam.pharmacy.user.exceptions.LoyaltyAccountMembershipInvalidDeleteRequest; import com.hesoyam.pharmacy.user.exceptions.Loy...
package com.tencent.mm.plugin.websearch.api; public final class s implements g { }
package com.kaldin.questionbank.answer.dao; import com.kaldin.questionbank.answer.dto.AnswerDTO; import org.hibernate.Session; import org.hibernate.Transaction; public abstract interface AnswerInterface { public abstract AnswerDTO getAnswer(int paramInt, Session paramSession, Transaction paramTransaction); ...
package org.fhcrc.honeycomb.metapop.environmentchanger; import org.fhcrc.honeycomb.metapop.RandomNumberUser; /** * An unchanging environment. * * Created on 20 Mar, 2013 * @author Adam Waite * @version $Rev: 1961 $, $Date: 2013-04-23 10:11:40 -0700 (Tue, 23 Apr 2013) $ */ public class StaticEnvironment impleme...
package ga.islandcrawl.draw; /** * Created by Ga on 7/9/2015. */ public class Stone extends Shape { public Stone(){ int vertices; float size; this.color = new float[]{0,0,0, 1f}; vertices = (int)(Math.random()*5)+3; size = .1f; data = new float[vertices * COORDS_PE...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.components.devtools_bridge; import java.nio.ByteBuffer; /** * Decodes data packets of SocketTunnelClient and SocketTunnelServer fo...
package br.com.maykoone.app.bancohoras; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.app.FragmentTransaction; import android.support.v4.view.ViewPager; import android.support.v7.app.ActionBar; import android.suppor...
package com.project.linkedindatabase.service.typesmap; import com.project.linkedindatabase.domain.Type.ShowPostType; import com.project.linkedindatabase.repository.types.ShowPostTypeRepository; import com.project.linkedindatabase.service.types.ShowPostTypeService; import org.springframework.stereotype.Service; ...