text
stringlengths
10
2.72M
/** * Copyright (c) 2016, 指端科技. */ package com.rofour.baseball.controller.model.manager; import java.io.Serializable; /** * @ClassName: DutyInfo * @Description: 管理中心 职务 * @author 高振 * @date 2016年3月27日 下午4:52:52 * */ public class DutyInfo implements Serializable { private static final long serialVe...
package com.cz.android.sample; import com.cz.android.datastructure.sparse.SparseIntArray; import org.junit.Test; public class BinarySearchTest { @Test public void tableColumnIndexerTest(){ DynamicTableIndexer tableIndexer=new DynamicTableIndexer(); for(int i=0;i<7;i++){ tableInde...
package net.minecraft.item; import net.minecraft.entity.EntityLivingBase; import net.minecraft.world.World; public interface IItemPropertyGetter { float apply(ItemStack paramItemStack, World paramWorld, EntityLivingBase paramEntityLivingBase); } /* Location: C:\Users\BSV\AppData\Local\Temp\Rar$DRa621...
package emmet.warehousing.operation.repository; import java.util.List; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.data.repository.query.Param; import org.springframework.data.rest.core.annotation.RestResource;...
package com.sanjaychawla.android.sensorapplication.helper; import android.location.Location; import android.util.Log; import com.sanjaychawla.android.sensorapplication.data.Record; import com.sanjaychawla.android.sensorapplication.writer.CSVRecorder; import com.sanjaychawla.android.sensorapplication.writer.FirebaseDB...
package tfg.example.org.materialdesign; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.database.sqlite.SQLiteTransactionListener; import java.util.Array...
package it.unive.interfaces; /** * Metodi che Permanent DEVE offrire * */ public interface Permanent { /** * ritorna il Player che possiede il permanent * @return */ public Player getOwner(); /** * setta il possessore del permanent * @param owner */ public void setO...
package ir.ssatari.springcommons.model.response; import ir.ssatari.springcommons.util.enums.MessageType; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import java.util.List; /** * The message object that could be sent to the caller of a REST API * * @author Saeed */ @NoArgsConstr...
package com.xiao.hadoop; /** * Created by xiaoliang * 2016/7/27 16:22 * * @Version 1.0 */ public class App { }
package com.duanxr.yith.midium; /** * @author 段然 2021/11/15 */ public class MapSumPairs { /** * Design a map that allows you to do the following: * * Maps a string key to a given value. * Returns the sum of the values that have a key with a prefix equal to a given string. * Implement the MapSum cla...
package Selinium; public class Q43oddposition { public static void main(String[] args) { int a[]={1,2,3,4,5,6}; int ans = 0 ; for(int i=1;i<a.length;i=i+2) { ans = ans + (a[i] * i); }System.out.println(ans); } }
package com.conglomerate.dev.models; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.*; import javax.persistence.*; import java.util.ArrayList; import java.util.List; @Entity @Table(name = "users") @Data @Builder @NoArgsConstructor @AllArgsConstructor public class User { @Id ...
package com.david.crossfit.model.dto.video_info; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class Item { @SerializedName("id") @Expose public Id id; @SerializedName("snippet") @Expose public Snippet snippet; /** * No args co...
package com.huatec.edu.http; import android.util.Log; import com.huatec.edu.common.Constants; import com.huatec.edu.http.entity.GoodsDetailEntity; import com.huatec.edu.http.entity.HttpResult; import com.huatec.edu.http.entity.MemberEntity; import com.huatec.edu.http.presenter.MemberPresenter; import com.h...
package cn.yhd.service; import cn.yhd.base.IBaseService; import cn.yhd.entity.TbUser; import cn.yhd.entity.TbUserExample; public interface ITbUserService extends IBaseService<TbUser, TbUserExample> { }
package geeksforgeeks.mustdo.String; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /** * Created by joetomjob on 5/23/19. */ public class ExtractMaximum { public static long extractMax(String s) { String s1 = "0"; long m = 0; for (int i = 0;...
package io.github.surfer8137.spanishmod.block.blocks.flag.flags; import io.github.surfer8137.spanishmod.block.blocks.flag.BlockFlag; import net.minecraft.block.properties.PropertyEnum; import net.minecraft.util.EnumFacing; /** * Created by Angel on 06/01/2018. */ public class BlockBaseFlag extends BlockFlag { p...
package jang.hyun.mapper; import org.apache.ibatis.annotations.Param; import dto.jang.hs.MemberVO; public interface MemberMapper { public MemberVO read(String userid); public int findOnlyId(String userid); public void insert(MemberVO vo); public void insertAuth(@Param("userid") String u...
package com.tt.miniapp.util; import android.app.Activity; import android.content.Context; import android.content.pm.PackageManager; import android.content.res.Configuration; import android.graphics.Point; import android.os.BatteryManager; import android.os.Build; import android.os.LocaleList; import android....
package com.gtfs.bean; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import ...
package com.tbt.testapi.command; import java.io.File; import java.util.Iterator; import java.util.List; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.Element; import org.dom4j.io.SAXReader; import com.tbt.testapi.BaseCommand; import com.tbt.testapi.TestApiException; import com.tbt.t...
package Strings; import java.util.HashSet; import java.util.Set; public class CommonCharInTwoStrings { public static void main(String[] args) { String s1 = "abc"; String s2 = "aui"; for (int i = 0; i < s1.length(); i++) { char c = s1.charAt(i); String s3 = Character.toString(c); if (!s2.contains(s3...
package br.com.allan.activity; /** * Created by freit on 04/02/2017. */ import android.app.ProgressDialog; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.Ed...
package per.goweii.basic.core.base; import android.content.Context; import butterknife.ButterKnife; import butterknife.Unbinder; import per.goweii.basic.core.mvp.MvpLayer; /** * 描述: * * @author Cuizhen * @date 2019/3/29 */ public abstract class BaseLayer<P extends BasePresenter> extends MvpLayer<P> { privat...
package br.com.volvo.api.data; import java.io.Serializable; public class User implements Serializable { private static final long serialVersionUID = -5183069099661541090L; private Long id; private String name; private String description; private Department department; public Long getId() { return id; } ...
package com.javastudio.tutorial.spring.api; import com.javastudio.tutorial.spring.model.Product; import java.util.List; public interface ProductService { List<Product> findAll(); Product findById(long id); }
package exercise.testexercise.controller; import exercise.testexercise.dto.PointDTO; import exercise.testexercise.service.PointService; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.spri...
package arduinosketch; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; import java.net.UnknownHostException; /** * Created by troy on 07.10.2016. */ public class ArduinoNetGag { private long timeOut = 1000; ...
package com.tencent.mm.plugin.game.ui; import com.tencent.mm.kernel.g; import com.tencent.mm.plugin.game.a.c; class GameDownloadGuidanceUI$3 implements Runnable { final /* synthetic */ GameDownloadGuidanceUI jXC; GameDownloadGuidanceUI$3(GameDownloadGuidanceUI gameDownloadGuidanceUI) { this.jXC = gam...
package com.javarush.task.task31.task3110; import com.javarush.task.task31.task3110.exception.WrongZipFileException; import java.io.IOException; public class Archiver { public static void main(String[] args) throws IOException { Operation operation = null; do { try { ...
package com.kh.efp.alarm.model.dao; import java.util.ArrayList; import org.mybatis.spring.SqlSessionTemplate; import org.springframework.stereotype.Repository; import com.kh.efp.alarm.model.vo.Alarm; @Repository public class AlarmDaoImpl implements AlarmDao{ @Override public ArrayList<Alarm> selectL...
package com.igwines.dao; import com.igwines.model.User; import org.springframework.data.repository.CrudRepository; import java.util.Optional; public interface UserRepository extends CrudRepository<User, Long> { Optional<User> findUserByName(String name); }
import java.util.*; import java.io.*; class tuzikdog{ public static void main(String[] args) { int n,k,x; x=0; Scanner sc= new Scanner(System.in); System.out.println("Enter no of coins,n"); n=sc.nextInt(); System.out.println("Enter no of people,k"); k=sc.nextInt(); for(int i=n;i>0;i--)...
package com.workorder.ticket.service; import java.util.List; import com.workorder.ticket.service.bo.user.UserEditBo; import com.workorder.ticket.service.bo.user.UserInfoBo; import com.workorder.ticket.service.bo.user.UserQueryBo; /** * 用户服务 * * @author wzdong * @Date 2019年3月4日 * @version 1.0 */ public...
package com.itechart.smg3; import com.itechart.pages.LoginPage; import com.itechart.pages.PersonalPage; import com.itechart.driver.DriverFactory; import com.itechart.driver.DriverType; import org.openqa.selenium.WebDriver; import java.io.*; import java.util.concurrent.TimeUnit; public class Vacation { public sta...
package ncs.r4a118.shop; import java.util.List; import javax.annotation.PostConstruct; import javax.sql.DataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.DataAccessException; import org.springframework.jdbc.core.RowMapper; import org.springframework.jdbc.core.s...
package com.jiuzhe.app.hotel.service; import java.util.Map; public interface RoomReservationService { public Map getReservation(String skuId, String beginDate, String endDate); public Map getReservation(String skuId, String beginDate); public Map setReservation(String skuId, String beginDate, String endD...
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2015 Paco Avila & Josep Llort * * No bytes were intentionally harmed during the development of this application. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GN...
package com.common.pojo; /** * @author GanZhen * @version 2017- 05- 11 11:05 * @description 数据库通用参数的主键值,使用主键查询的效率比使用 * varchar类型的key速度快很多 * @copyright www.zhgtrade.com */ public class CommonParamsId { /** * 非法头像的图片主键id */ public static final Long ILLEGALITY_HEADER = 1L; p...
package be.klak.whatsthat.domain; import com.googlecode.objectify.annotation.Entity; import com.googlecode.objectify.annotation.Id; @Entity public class Rebus { @Id private Long id; private Drawing drawing; private String answer; public Rebus() { } public Rebus(Drawing drawing, String answer) { this.draw...
package com.ds.algo.matters.tree; import java.util.ArrayList; import java.util.LinkedList; public class KthSmallestBST { private static ArrayList<Integer> list = new ArrayList<>(); public static void main(String[] args){ TreeNode root = new TreeNode(5); root.left = new TreeNode(3); roo...
package br.com.tomioka.vendashortalicas.controllers; import br.com.tomioka.vendashortalicas.dto.ProdutoDto; import br.com.tomioka.vendashortalicas.models.Produto; import br.com.tomioka.vendashortalicas.services.ProdutoService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ht...
package com.cskaoyan.service; import com.cskaoyan.bean.PCountCheck; import com.cskaoyan.bean.PMeasureCheck; import com.cskaoyan.bean.QueryStatus; import java.util.List; /** * @auther 芮狼Dan * @date 2019-05-20 00:29 */ public interface PCountCheckService { List<PCountCheck> findList(Integer rows, int offset); ...
package com.jobboardmount; import net.thucydides.jbehave.ThucydidesJUnitStories; /** * Created with IntelliJ IDEA. * User: admin * Date: 10.10.13 * Time: 22:12 * To change this template use File | Settings | File Templates. */ public class JBehaveTestSuite extends ThucydidesJUnitStories { }
/* * JBoss, Home of Professional Open Source. * Copyright 2012, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
package com.snow.gk.core.ui.elements.impl; import com.google.common.base.Function; import com.snow.gk.core.exception.CustomException; import com.snow.gk.core.log.Assert; import com.snow.gk.core.log.Logger; import com.snow.gk.core.ui.drivers.DriverSetup; import com.snow.gk.core.ui.elements.IElement; import com.snow.gk....
package BD; import UML.Partido; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; /** * * @author Luis H. Alves */ public class tablaPartidos { private static Connection con; public static void crearPartido(Partido p) throws Exception{ ...
package com.home.neo4j; import org.neo4j.graphdb.factory.GraphDatabaseFactory; import org.neo4j.kernel.GraphDatabaseAPI; import org.neo4j.server.WrappingNeoServerBootstrapper; import org.neo4j.server.configuration.Configurator; import org.neo4j.server.configuration.ServerConfigurator; import org.neo4j.shell.ShellSetti...
package com.TelRan.course.application; import com.TelRan.course.model.ListData; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import java.io.File; public class ListHelper extends HelperBase { public ListHelper(WebDriver wd) { super(wd); } public void enterNewListName(ListD...
package ar.edu.utn.frlp.app.domain; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.persistence.*; import java.util.List; @Entity @Table(name = "COLUMN_BOARD") public class ColumnBoard { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Column(name ...
package partitioning.jobs; import java.io.IOException; import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang.StringUtils; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.NullWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Mapper; import org.apa...
package org.terasoluna.gfw.examples.common.domain.service; import org.terasoluna.gfw.examples.common.domain.model.Article; public interface ArticleSharedService { Article createArticle(Article article, boolean usingSequencer); }
package redis.as.message.broker; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import java.util.concurrent.CountDownLatch; @Component public class Receiver { private Logger logger = LoggerF...
package com.tibco.as.io; public interface IExecutorListener { void executing(ITransfer transfer); void executed(ITransfer transfer); }
/* * Copyright (c) 2009-2011 by Jan Stender, Bjoern Kolbeck, * Zuse Institute Berlin * * Licensed under the BSD License, see LICENSE file for details. * */ package org.xtreemfs.mrc.osdselection; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.net.Inet4A...
package com.github.limboc.sample.ui.item; /** * Created by Chen on 2016/3/11. */ public interface OnItemClickListener { void onClick(int position); }
package com.tencent.mm.plugin.soter.b; import com.tencent.mm.ab.j; import com.tencent.mm.plugin.soter.b.c.a; import com.tencent.mm.protocal.k.d; import com.tencent.mm.protocal.k.e; final class b extends j { a ont = new a(); com.tencent.mm.plugin.soter.b.c.b onu = new com.tencent.mm.plugin.soter.b.c.b(); ...
/** * @author Simone Notargiacomo, Giuseppe Schipani */ package taskspider.data.document; import java.util.Vector; import org.apache.lucene.document.Document; import org.apache.lucene.document.Field; import websphinx.Element; import websphinx.Page; /** * @author Simone Notargiacomo, Giuseppe Schipani * */ publ...
/** * 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...
package com.feecalculator.feecalculatorApp; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.spring...
package cn.yansui.constant; /** * @Description 常量 * @Author maogen.ymg * @Date 2020/2/24 21:49 */ public class VenusConstant { private VenusConstant() {} public static final String MAIN_FXML_PATH = "\\fxml\\Main.fxml"; public static final String ICON_URL = "/images/logo/logo.png"; /*************...
package com.ht.springboot_power; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.web.servlet.ServletComponentScan; @SpringBootApplication @MapperScan(basePackages = ...
package com.inaryzen.easyproperties; import org.junit.Assert; import org.junit.Test; /** * Created by inaryzen on 10/10/2016. */ public class PropertyTest { @Test public void write() throws Exception { Property property = new Property(); property.setter = TestClass.class.getMethod("setPrice"...
package com.marvl.imt_lille_douai.marvl.comparison.usage; import com.marvl.imt_lille_douai.marvl.comparison.tools.DisplayTools; public class HowToDisplayAndUse { public void diplay() { // Display SIFT Matching between the 2 images //DisplayTools.displayComparisonBetweenTwoImage("CocaLogo_1.jpg","CocaLog...
package xyz.tanku.suggestionbox.sql.utils; import xyz.tanku.suggestionbox.SuggestionBox; import xyz.tanku.suggestionbox.sql.MySQLAccess; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import java.util.*; public class SQLUtils { private Connec...
/* * 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 service; import dao.PersonnelContractDAO; import dto.PersonnelContractDTO; import java.sql.Connection; import java.sql.SQLEx...
package android.support.design.widget; import android.support.design.widget.BottomSheetBehavior.a; class c$2 extends a { final /* synthetic */ c cM; c$2(c cVar) { this.cM = cVar; } public final void u(int i) { if (i == 5) { this.cM.dismiss(); } } public f...
package externals; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import static junit.framework.Assert.assertNot...
package problemas; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; public class Suma { String[] operandos; public Suma(String[] operandos) { this.operandos = operandos; } public int getNumResultados() { Map<Character, Integer> valoresLetras = new HashMap<>(); for( String l :...
package com.espendwise.manta.model.view; // Generated by Hibernate Tools import com.espendwise.manta.model.ValueObject; import com.espendwise.manta.model.data.AddressData; import com.espendwise.manta.model.data.EmailData; import com.espendwise.manta.model.data.PhoneData; /** * ContactView generated by hbm2java */...
import java.io.BufferedReader; import java.io.FileOutputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import javax.swing.JOptionPane; import java.io.BufferedReader; import java.io.BufferedWriter; public class Controller { private String file =...
package com.tencent.mm.plugin.fav.ui; import android.os.Bundle; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.View.OnTouchListener; import android.view.animation.AlphaAnimation; import android.view.animation.Animation; import android.view.animation.Transla...
package io.zipcoder; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.spr...
import pages.PDP; import testConfig.BaseTest; import testConfig.tags.Prod; import testConfig.tags.Stage; class OperationsAtPDPTest extends BaseTest { private PDP pdp = new PDP(); @Stage @Prod void selectingProductQuantity() { pdp.open("/sonora-response-card-w783-182781202202.html") .selectQua...
package com.mahendra; import java.io.*; public class Main2 { public static void main(String[] args) { try { // System.in is BYTE STREAM : takes BYTES inputs // InputStreamReader is CHARACTER STREAM : converts EACH BYTE into CHARACTER // BufferedReader is providing BUFFERRING by converting CHARS into ...
package org.ca.View; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; /** * Servlet ...
package net.kr9ly.trout; import java.io.Serializable; /** * Copyright 2015 kr9ly * <br /> * 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 * <br /> * http://www.apache.org/licenses/LICE...
package top.skyzc.juke.util; import android.util.Log; import java.util.List; import java.util.Random; import cn.bmob.v3.BmobQuery; import cn.bmob.v3.exception.BmobException; import cn.bmob.v3.listener.FindListener; import cn.bmob.v3.listener.SaveListener; import top.skyzc.juke.model.Upgrade; import top.skyzc.juke.mo...
package com.game; import com.game.engine.Box; import com.game.engine.GameEngine; import java.util.List; /** * @author Krystian Życiński */ public class GameSimulator { public static Double simulateGame() { GameEngine gameEngine = new GameEngine(); List<Box> boxList = gameEngine.getGameBoxList()...
package com.example.mysqlite; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import com.example.mysqlite.annotion.DbFiled; import com.example.mysqlite.annotion.DbTable; import java.lang.reflect.Field; import java.util.Arra...
package leetcode; /** * @author kangkang lou */ public class Main_209 { public int minSubArrayLen(int s, int[] nums) { int total = 0, start = 0; int min = nums.length + 1; for (int i = 0; i < nums.length; i++) { total += nums[i]; while (total >= s) { ...
package ru.nikozavr.auto; import android.app.Activity; import android.content.Intent; import android.content.res.Resources; import android.net.Uri; import android.support.v4.view.MenuItemCompat; import android.support.v7.app.ActionBarActivity; import android.support.v7.app.ActionBar; import android.support.v4.app.Frag...
package com.coco.winter.utils; import com.coco.winter.common.entity.Identity; import io.jsonwebtoken.Claims; import io.jsonwebtoken.JwtBuilder; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; import lombok.Data; import lombok.extern.slf4j.Slf4j; import javax.crypto.spec.SecretKeySpec; import j...
package com.tencent.mm.plugin.appbrand.config; import android.os.Parcel; import android.os.Parcelable.Creator; import com.tencent.mm.plugin.appbrand.config.AppBrandGlobalSystemConfig.HttpSetting; class AppBrandGlobalSystemConfig$HttpSetting$1 implements Creator<HttpSetting> { AppBrandGlobalSystemConfig$HttpSettin...
package jogoDaVelha; public class Jogador { private String marcacao; private String nome; public String getMarcacao() { return marcacao; } public void setMarcacao(String marcacao) { this.marcacao = marcacao; } public String getNome() { return nome; } public void setNome(String nome) { ...
package org.wit.snr.nn.srbm.visualization; import org.wit.snr.nn.srbm.math.collection.Matrix; import java.awt.*; import java.util.List; public class MatrixRendererSample { final private int x; final private int y; final private Matrix m; final private Graphics g; final Color color; public M...
package com.ericlam.mc.minigames.core.factory; import com.ericlam.mc.minigames.core.factory.compass.CompassFactory; import com.ericlam.mc.minigames.core.factory.scoreboard.ScoreboardFactory; /** * 遊戲工廠 */ public interface GameFactory { /** * 創建計分版工廠 * * @return 計分版工廠 */ ScoreboardFactor...
package com.rappidjs.webtest; import com.rappidjs.webtest.model.Person; import com.rappidjs.webtest.module.HomeModule; import io.rappid.webtest.common.WebElementPanel; import io.rappid.webtest.testng.TestDevelopment; import org.openqa.selenium.By; import org.testng.Assert; import org.testng.annotations.Test; import j...
package Monsters; public class Dracula extends HorribleMonster implements Monster { @Override public void destroy() { } @Override public void kill() { } @Override public void scareChildren() { } }
package com.tencent.mm.plugin.wenote.ui.nativenote.a; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView$m; import android.support.v7.widget.RecyclerView.q; import com.tencent.mm.compatible.util.j; import com.tencent.mm.plugin.wenote.model.nativenote.manager.k; import c...
package bank; public class Individual extends Client { public Individual(double balance) { setPaymentAccount(balance); } }
package com.google.cacheserver; public interface Operations { public enum OPCODE{GET, PUT}; }
package org.murinrad.android.musicmultiply.upnp; import android.util.Log; import org.fourthline.cling.binding.annotations.UpnpInputArgument; import org.fourthline.cling.model.types.UnsignedIntegerFourBytes; import org.fourthline.cling.model.types.UnsignedIntegerTwoBytes; import org.fourthline.cling.support.model.Chan...
package net.cupmouse.minecraft.eplugin.minigame.snipe; import net.cupmouse.minecraft.eplugin.minigame.Minigame; import net.cupmouse.minecraft.eplugin.minigame.MinigamePlayer; import org.spongepowered.api.entity.living.player.User; public final class SnipePlayer extends MinigamePlayer { protected boolean leftGame...
package com.brady.euler; public class Problem104 extends Problem { @Override public long solve() { int fPrev = 1, f = 1; for (int i = 3; i < 1000000; i++) { int t = f; f = (fPrev + f) % 1000000000; fPrev = t; if (EulerUtils.isPandigital(first9Digits(i)) && EulerUtils.isPandigital(f)) { return...
package com.onplan.service.impl; import com.google.common.base.Joiner; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.onplan.adviser.AdviserListener; import com.onplan.adviser.AlertInf...
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
package com.huawei.esdk.demo.autogen; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.XmlJa...
package com.tencent.mm.plugin.ipcall; import com.tencent.mm.g.a.ho; import com.tencent.mm.sdk.b.a; import com.tencent.mm.sdk.platformtools.x; class a$1 implements Runnable { final /* synthetic */ a knP; a$1(a aVar) { this.knP = aVar; } public final void run() { x.d("MicroMsg.IPCallAd...
package org.jcarvajal.webapp.utils; import java.util.HashMap; import java.util.Map; public class StringUtils { /** * Check whether a string is empty or not. * @param value * @return */ public static boolean isNotEmpty(String value) { return value != null && !value.trim().isEmpty(); } public static M...