text
stringlengths
10
2.72M
package io.twodigits.urlshortener.util; import org.apache.commons.codec.digest.DigestUtils; import java.time.LocalDateTime; public class UtilImpl implements Util { @Override public String urlToUUID(final String url) { //TODO: use another algorithm return DigestUtils.sha256Hex(url).substring(0...
package com.huhurezmarius.worldmap.repository; import com.huhurezmarius.worldmap.response.NamedZonesResponse; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase; import org.springframework.b...
package ElementsOfProgrammingInterview.chapter10; public class TreeTraversal { public static void main(String[] args) { } // Implement preorder, inorder, postorder public static void treeTraversal(BinaryTreeNode<Integer> root) { if (root != null) { // Pre-order: processes the root...
package com.github.arsentiy67.usereditor.controller; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.TimeZone; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.Authentication; import org.springframework.secu...
package switch2019.project.infrastructure.dataBaseRepositories; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.t...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Servlet; import BBDD.Conexion; import entidades.Productos; import java.io.IOException; import java.io.PrintWriter; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java....
package ru.kappers.model.dto.rapidapi; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; /** * DTO сторонней сущности Спортивное событие */ @Data @Builder @AllArgsConstructor @NoArgsConstructor public class FixtureRapidDTO { Integer fixture_id; Lon...
package com.tencent.mm.plugin.luckymoney.b; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.sdk.platformtools.x; import java.net.URLEncoder; import java.util.HashMap; import java.util.Map; import org.json.JSONObject; public final class y extends ab { public String hUK; public y(int i, long ...
package com.example.razor.huskid.activity; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.util.Log; import com.example.razor.huskid.R; import com.example.razor.huskid.entity.CrossWord; import java.io.BufferedReader; import java.io.File; import java...
package com.example.billage.frontend.ui; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import com.example.billage.R; import com.example.billage.backend.GetSetADUserInfo; import com.example.billage.backend.QuestProcessor; import com.example.billage.frontend.MainActivity; import ...
package com.ibm.ive.tools.japt.reduction.ita; /** * @author sfoley * * Represents any object that propagates the ITA algorithm. * * A propagator will cause any of its constituent elements to propagate themselves. * * Propagation means to take the next step(s) in execution of the algorithm. * ...
package com.faith.service; import com.faith.entity.StudentClass; /** * @Auther: yangguoqiang01 * @Date: 2019-05-22 * @Description: com.faith.service * @version: 1.0 */ public interface IStudentService { void addStudent(StudentClass studentClass); void deleteStudentByNo(int no); }
package com.se.details.services.actors; import com.se.details.dto.PartdetailsFeatures; import java.util.List; import java.util.Map; @FunctionalInterface public interface FeaturesPublisherFunction { Map<String, List<PartdetailsFeatures>> getFeatures(DetailsPublisherActor.DetailsMessage message); }
package com.Misc; import java.io.*; import java.math.*; import java.security.*; import java.text.*; import java.util.*; import java.util.concurrent.*; import java.util.regex.*; public class test { private static final Scanner scanner = new Scanner(System.in); public static void main(String[] args) { ...
package com.team_linne.digimov.integration; import com.team_linne.digimov.model.Genre; import com.team_linne.digimov.model.Movie; import com.team_linne.digimov.repository.GenreRepository; import com.team_linne.digimov.repository.MovieRepository; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Test...
import org.junit.runner.JUnitCore; import org.junit.runner.Result; import org.junit.runner.notification.Failure; public class TestRunner { public static void main(String[] args) { Result result = JUnitCore.runClasses( CircleTest.class, CubeAreaTest.class, Cu...
package adapters; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android....
package com.union.design.common; public class RequestContext { }
package com.mantisclaw.italianpride15.ridesharehome; /** * Created by italianpride15 on 2/24/15. */ public class LyftRideModel extends BaseRideModel { private static final String deepLink = "me.lyft.android"; public LyftRideModel(UserModel user) { drawableImageResource = "lyft"; deepLinkApp...
package number_test; import java.math.BigDecimal; import java.math.RoundingMode; public class Test1 { public static void main(String[] args) { System.out.println(0.1 + 0.2); BigDecimal num1 = BigDecimal.valueOf(0.1); BigDecimal num2 = BigDecimal.valueOf(0.2); System.out.println(num...
/* * 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 Lab07A; /** * * @author Aliaksiej Protas */ public class Employee { private String firstName; private String secon...
package com.onplan.connector.igindex.client; import com.google.common.base.MoreObjects; import static com.onplan.util.MorePreconditions.checkNotNullOrEmpty; public final class IgIndexConnectionCredentials { private String apiKey; private String clientSessionToken; private String accountSessionToken; private ...
package com.beiyelin.commonsql.jpa; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.NoRepositoryBean; import org.springframework.data.repository.query.Param; import org.springframework.transaction.annotation.Tran...
package org.aion.kernel; /** * The java.util.concurrent.Future interface defines too many methods and exceptions that we don't use so this is meant to be a simpler * interface to accomplish the same goal. */ public interface SimpleFuture<R> { public R get(); }
package com.library.bexam.controller; import com.library.bexam.common.pojo.model.Result; import com.library.bexam.entity.QuestionDifficultEntity; import com.library.bexam.entity.QuestionEntity; import com.library.bexam.service.QuestionDifficultService; import org.springframework.beans.factory.annotation.Autowire...
package uw.cse.dineon.library.test; import com.parse.ParseException; import com.parse.ParseObject; import uw.cse.dineon.library.MenuItem; import android.test.AndroidTestCase; /** * Tests the MenuItem library class and makes sure that all * the fields are correctly set and returned. * * @author Zach,...
package Sem1.HomeWork.GetyerSetterIsoba4ka; public class Dog { private double age; public Dog(double age) { this.age = age; } public double getAge() { return age; } //gnjksfhgkldfjgkl public void setAge(double age) { this.age = age; } public double realityAge...
package com.wrtecnologia.servicecep.domain; import javax.persistence.Entity; import javax.persistence.Id; import java.io.Serializable; @Entity(name = "tb_cep") public class Cep implements Serializable { private static final long serialVersionUID = 1L; @Id public String cep; public String logradouro;...
package com.nontrace.ant.task; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.util.Properties; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.DefaultLogger; import org.apache.tools.ant.Project; import...
package feedback.faces.rest.service.dao; import java.sql.ResultSet; import java.sql.SQLException; import org.springframework.dao.DataAccessException; import org.springframework.jdbc.core.ResultSetExtractor; @SuppressWarnings("rawtypes") public class FeedbackResultSetExtractor implements ResultSetExtractor {...
package testCases; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.support.ui.Select; public class DropDownListDemo { public static vo...
package br.com.utfpr.eventos.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; import org.springframework.security.config.annot...
package ga.islandcrawl.draw; import ga.islandcrawl.other.M; /** * Created by Ga on 7/9/2015. */ public class Oval extends Shape { public Oval(float sX, float sY, float[] color){ this(sX,sY); this.color = color; } public Oval(float sX, float sY, int detail, float[] color){ this...
import java.util.Random; import java.util.Scanner; public class Main { static Scanner inputFromPlayer = new Scanner(System.in); //the player have able to put an input public static int chooseLevel; //the player that player can choose between public static int minimumNumber = 0; //the lowest number in th...
package org.secu.service; import org.secu.domain.MemberVO; public interface MemberService { public void insert(MemberVO memberVO); public int userIdCheck(String username); }
import java.util.Scanner; public class Main { public static int linearSearch(int arr[], int elementToSearch) { int s = 0; for (int index = 0; index < arr.length; index++) { s+=1; if (arr[index] == elementToSearch) { System.out.println("Число операций сравн...
package leetcode; import java.util.HashSet; import java.util.Set; /** * @Author: Mr.M * @Date: 2019-03-28 18:42 * @Description: https://leetcode-cn.com/problems/contains-duplicate/ **/ public class T217存在重复元素 { public boolean containsDuplicate(int[] nums) { Set<Integer> set = new HashSet<Integer>(); for(int...
/** * Copyright (c) 2016, 指端科技. */ package com.rofour.baseball.dao.manager.mapper; import java.util.List; import java.util.Map; import javax.inject.Named; import com.rofour.baseball.dao.manager.bean.PropertyDictBean; import org.apache.ibatis.annotations.Param; /** * @author heyi * @ClassName: PropertyDictMapp...
package changecalculator.model; import java.util.ArrayList; import java.util.Map; import java.util.TreeMap; public class CalculatorModel { private final ArrayList<Integer> notes; private final Map<Integer, Integer> noteMap; private final CalculatorModelListener listener; private long change; ...
package Selinium; public class Q10Arrylist { public static void main(String[] args) { } }
package server.socket; import Domain.DTO.AzioneBonusDTO; import Domain.DTO.PiazzaFamiliareDTO; import Domain.Risorsa; import Domain.Tabellone; import Domain.DTO.UpdateGiocatoreDTO; import Domain.TipoAzione; import Exceptions.DomainException; import Exceptions.NetworkException; import server.GiocatoreRemoto; import ser...
package com.mx.profuturo.bolsa.service.interview; import com.mx.profuturo.bolsa.model.interview.InterviewAvailableHoursRequestDTO; import com.mx.profuturo.bolsa.model.recruitment.vo.InterviewsListVO; import com.mx.profuturo.bolsa.model.service.auth.response.UserCredentialsVO; import com.mx.profuturo.bolsa.model.vo.com...
package org.codeshifts.core.enumexperiments; import org.junit.Assert; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Created by werner.diwischek on 08.05.17. */ public class EnumLikeClassesTest { private static final Logger LOG = LoggerFactory.getLogger(EnumLikeClassesTest....
package ca.csf.dfc.poo.decorateur.classes; public abstract class FormesDecorator implements Formes { protected Formes decoratedShape; public FormesDecorator(Formes decoratedShape){ this.decoratedShape = decoratedShape; } public void draw(){ decoratedShape.Dessiner(); } }
package de.tssn.m2dev.timeticker; import android.app.Activity; import android.os.Bundle; import android.os.SystemClock; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Chronometer; import android.widget.TextView; public class MainActivity extends Activity { // ...
package br.com.unopar.delivery.repository.impl; import java.util.List; import org.springframework.stereotype.Repository; import br.com.unopar.delivery.model.Estabelecimento; import br.com.unopar.delivery.repository.EstabelecimentoRepository; @Repository public class EstabelecimentoRespositoryImpl extends ...
package com.example.lab_1; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import java.time.Instant; public class MainActivity extends AppCom...
package it.geek.annunci.util; import java.util.List; import org.apache.struts.util.LabelValueBean; import org.springframework.jdbc.core.JdbcTemplate; public class Collezioni implements CollezioniInterface{ private JdbcTemplate jdbcTemplate; public void setJdbcTemplate(JdbcTemplate jdbcTemplate) ...
/** * */ package simplejava.invokedynamic; /** * @title * @description */ public class MethodInvokeTypes { public void invoke() { SampleInterface sample = new Sample(); // invokespecial sample.sampleMethodInInterface(); // invokeinterface Sample newSample = new Sample(); // invokespecial newSample.nor...
public class EqualSumChecked { public static void main(String[] args) { System.out.println(hasEqualSum(1,1,1)); System.out.println(hasEqualSum(1,1,2)); System.out.println(hasEqualSum(1,-1,0)); } public static boolean hasEqualSum(int firstNumber, int secondNumber, int ...
package popcol.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import popcol.dao.CustomerDao; import popcol.model.Customer; @Service public class CustomerServiceImpl implements CustomerService { @Autowired private Custom...
package com.dlq.servlet; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import java.io.IOException; import java.util.Enumeration; /** *@program: Java_Web *@description: *@author: Hasee *@create: 2021-01-12 20:25 */ public class HelloServlet implements Servlet { public HelloServlet() {...
package www.chaayos.com.chaimonkbluetoothapp.data.provider; import java.util.ArrayList; import java.util.List; import www.chaayos.com.chaimonkbluetoothapp.data.model.ChaiMonkViewContent; import www.chaayos.com.chaimonkbluetoothapp.management.service.ChaiMonkContentViewManagementService; /** * Created by ro...
package com.tencent.mm.plugin.label.ui; import com.tencent.mm.plugin.label.e; import com.tencent.mm.sdk.platformtools.x; import java.util.ArrayList; import java.util.Collection; class ContactLabelEditUI$12 implements Runnable { final /* synthetic */ ContactLabelEditUI kAZ; ContactLabelEditUI$12(ContactLabelE...
package co.th.aten.network.web; import java.io.Serializable; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import javax.annotation.PostConstruct; import javax.faces.bean.ViewScoped; import javax.faces.context.FacesContext; import java...
package com.dxt2.dagger4demo55; import dagger.Component; import dagger.android.AndroidInjectionModule; /** * Created by Administrator on 2018/6/7 0007. */ // 3创建应用层级的AppComponent // 安装了两个module,一个是AndroidInjectionModule ActivityModule //@Component(modules = {AndroidInjectionModule.class,ActivityModule.class}) //pu...
/* * 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. */ /** * * @author talita */ import java.util.Random; public class RandomString { private int letterA = 97; //char no 97 == a ...
import com.github.tomakehurst.wiremock.junit.WireMockRule; import com.hogetvedt.crawler.models.WebLink; import com.hogetvedt.crawler.services.CrawlerService; import com.hogetvedt.crawler.spider.Spider; import com.hogetvedt.crawler.spider.SpiderException; import org.junit.Assert; import org.junit.Before; import org.juni...
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the ter...
package projek; public abstract class Lahan { public String platnomer; public String lahanParkir; public Lahan(String a, String b){ lahanParkir = b; platnomer = a; } }
import java.util.*; public class time { public static void main() { Scanner sc = new Scanner(System.in); System.out.println("Enter the time :"); int n1 = sc.nextInt(); int n2 = sc.nextInt(); switch(n2)
package nl.restaurant.wt.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import nl.restaurant.wt.domein.Ober; @Service @Transactional public class OberService { @Autowired Ober...
package com.scnuweb.dao; import com.scnuweb.entity.User; public interface UserDAO extends BaseDAO<User>{ }
/** * DNet eBusiness Suite * Copyright: 2010-2013 Nan21 Electronics SRL. All rights reserved. * Use is subject to license terms. */ package net.nan21.dnet.module.bd.business.api.geo; import java.util.List; import net.nan21.dnet.core.api.service.business.IEntityService; import net.nan21.dnet.module.bd.doma...
package com.greenapex.quizapp.controllertest; import static org.mockito.Mockito.when; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; import static org.springframework.test.web.servlet.result....
package com.hallauniv.parse.Table; public class DataGetterSettersTable { private String mName; private String mProfesser; private String mRoom; private String mReport; private int mTime; public String getName() { return mName; } public void setName(String mName) { this.mName = m...
package vegoo.stockdata.crawler.eastmoney.hq; import java.util.Date; public class StockKDayInfoDto { private double o; private double h; private double l; private double c; private double a; private double v; private double yc; private Date time; private String ticks; private int total; private String ...
package uk.ac.ucl.umobile.ui.fragments.detail; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.support.annotation.DrawableRes; import android.support.annotation.FloatRange; i...
package com.duanxr.yith.hard; import java.util.Comparator; import java.util.PriorityQueue; /** * @author 段然 2021/8/27 */ public class FindMedianfromDataStream { /** * The median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value and the median is the mean...
package com.hb.rssai.view.fragment.guide; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.RelativeLayout; import com.bumptech.glide.Glide; import com.bu...
package com.example.springwebsocket.service; import com.example.springwebsocket.model.User; import org.springframework.security.core.userdetails.UserDetailsService; public interface UserService extends UserDetailsService { Iterable<User> listUsers(); User getUser(String username); String createUser(...
package com.tencent.mm.plugin.appbrand.widget.picker; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Color; import android.view.ContextThemeWrapper; import android.view.View; import android.view.View.MeasureSpec; import android.view.ViewGroup.LayoutParams; import androi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.insat.gl5.crm_pfa.service.producer; import java.util.LinkedList; import java.util.List; import javax.enterprise.inject.Produces; import javax.inject.Inject; import javax.inject.Named; import javax.persistenc...
/* * 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.juanltd.messages_app; /** * * @author Administrador */ public class Messages { int message_id; String message; ...
package bookstore.service; import bookstore.dao.BookDao; import bookstore.entity.Book; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public class BookService { @Autowired private BookDao bookDao; public List<...
package com.ch.nd.activity; import android.os.Bundle; import androidx.annotation.LayoutRes; import androidx.annotation.Nullable; public abstract class BaseActivity extends CoreActivity { @LayoutRes protected abstract int getLayoutResource(); protected abstract void initView(); protected abstrac...
package com.hobbies; public class SingMusic { private LikeMusic favorites; public SingMusic() { favorites= new LikeMusic(); } public Music ListenNusic(int index){ Music music= (Music) favorites.getArrayList().get(index); return music; } ...
package cn.canlnac.onlinecourse.domain.interactor; import java.util.Map; import javax.inject.Inject; import cn.canlnac.onlinecourse.domain.executor.PostExecutionThread; import cn.canlnac.onlinecourse.domain.executor.ThreadExecutor; import cn.canlnac.onlinecourse.domain.repository.CatalogRepository; import rx.Observa...
/* * Copyright (C) 2023 Hedera Hashgraph, LLC * * 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 la...
package fighting.game; import com.badlogic.gdx.Game; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import fighting.game.Screens.PlayScreen; public class FightingGame extends Game { public static final int V_WIDTH = 1920; public static final int V_HEIGHT = 1080; public static final int PPM = 100; private Sp...
/* * LumaQQ - Java QQ Client * * Copyright (C) 2004 luma <stubma@163.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any lat...
package br.org.funcate.glue.event; import java.util.EventObject; @SuppressWarnings("serial") public class GetSelectFeatureEvent extends EventObject{ private String featureId; private String osX; private String osY; private String osIP; public GetSelectFeatureEvent(Object source) { super(source); } public S...
import collisionengine.*; class Main{ public static void main(String[] args){ RectPrism r = new RectPrism(1,1,1); } }
package board; public class Index { private int x; private int y; /** * * @param x * @param y */ public Index(int x, int y) { this.x = x; this.y = y; } public int getX() { return x; } public void setX(int x) { this.x = x; } public int getY() { return y; } ...
package vn.dvg.autoportal.restapi.services; import org.jvnet.hk2.annotations.Contract; @Contract public interface UserService { String test(); }
package com.pangpang6.books.offer.chapter5; import com.pangpang6.books.offer.structure.ListNode; import java.util.Stack; public class P253_CommonNodesInLists { //思路一:暴力解决,时间复杂度o(mn),空间复杂度o(1) //思路二:借助于两个栈,时间复杂度o(m+n),空间复杂度o(m+n) //思路三:转化为等长链表,时间复杂度o(m+n),空间复杂度o(1) public static ListNode<Integer> find...
package main.java.Protocol.Piece; import main.java.Server.Move.ScoutMoveValidator; import main.java.Protocol.SquarePacket; public class Scout extends APiece { public Scout(SquarePacket squarePacket) { super("Scout", 2, new ScoutMoveValidator(), squarePacket); super.setShortName("2"); } }
package cn.com.zjol.userhome.widget; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import android.support.v7.widget.RecyclerView; import android.view.View; import com.zjrb.core.recycleView.adapter.BaseRecyclerAdapter; import com.zjrb.core.recycleView.adapter.DecorAdapter...
package com.forpleuvoir.forpleuvoir.services; import com.forpleuvoir.forpleuvoir.entity.Role; import com.forpleuvoir.forpleuvoir.entity.User; import org.apache.ibatis.annotations.Param; public interface UserService extends BaseService<User>{ User getByLogin(String name, String pass); boolean hasName(String ...
package org.project; public class NewBankAbs extends RBIabs{ private void eduLoan() { System.out.println("8%"); // TODO Auto-generated method stub } private void homeLoan() { System.out.println("9%"); // TODO Auto-generated method stub } public void saving() { System.out.println("1...
package com.jhy.map; import com.alibaba.fastjson.JSONObject; import com.jhy.entity.BrandLike; import com.jhy.kafka.KafkaEvent; import com.jhy.log.ScanProductLog; import com.jhy.util.HBaseUtils; import com.jhy.utils.MapUtils; import org.apache.commons.lang3.StringUtils; import org.apache.flink.api.common.functions.Flat...
package com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.AdLandingPageComponent; import java.util.LinkedList; import java.util.List; public final class r extends s { public int bgColor; public LinkedList<s> nAU = new LinkedList(); public int nAV = 0; protected final List<s> bzF() { ret...
import java.awt.Color; import java.awt.Graphics; import java.awt.Image; import java.awt.image.BufferedImage; public class DiceImage { public static Image DiceIcon (Color c, byte value) { final int SIZE = 4; BufferedImage bufferedImage = new BufferedImage(SIZE*13, SIZE*13,BufferedImage.TYPE_4BYTE_ABGR );...
import java.util.Date; public class Reservation { private int idRes; // id reservation private int id; // id Categorie private String reference; private Date debut; private int nuits; private String sigle; private String texte; public Reservation() { this.id = 0; // Reservation faux car id ne peut pas être ...
package paskaita12; public interface IsSeeVessel { void drive(); default void bure() { System.out.println("didele bure"); } }
/** * Date Created: May 29, 2016 * Last Modified: July 17, 2016 * Author(s): Sean Carpenter * © 2016 Overdogg Productions All Rights Reserved */ package engine; import java.io.InputStream; import java.io.InputStreamReader; import java.io.BufferedReader; import java.io.FileInputStream; /** * Storyteller is an ev...
package com.dao.gameRecord.mapper; import java.util.List; import java.util.Map; import com.pojo.GameRecord; public interface GameRecordMapper { public List<GameRecord> findGameRecordByID(int roomId); public List<GameRecord> getGameRecordsByPlayerId(Map<String, Object> paramMap); }
package ch01.ex01_09; public class Fibonacci { static final String TITLE = "フィボナッチ数列"; static final int MAX_INDEX = 9; public static void main(String[] args) { int lo = 1, hi = 1; int[] array = new int[MAX_INDEX]; System.out.println(TITLE); ar...
package com.yahoo.algos; import java.io.IOException; import java.net.InetSocketAddress; import java.net.Socket; import java.nio.channels.Channel; import java.nio.channels.ServerSocketChannel; import java.nio.channels.SocketChannel; public class MyServer { /** * Create ServerSocketChannel */ public static voi...
package com.tencent.mm.ui.chatting.view; import com.tencent.mm.ui.chatting.g.c; public interface a<T extends c> { void a(T t); }