text
stringlengths
10
2.72M
/* * Copyright 2014 Intel Corporation. * * 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 agreed...
/* * 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 servlet; import java.util.*; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import c...
import java.io.File; import java.io.FileNotFoundException; import java.util.Arrays; import java.util.Iterator; import java.util.NoSuchElementException; /** * Iterates through and finds the most shallow files in a folder */ public class ShallowFileIterator implements Iterator { private File[] folderContents; pri...
/** * */ package com.thonline.DAO; import java.sql.Connection; import java.sql.PreparedStatement; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.thonline.DO.AbstractDAO; import com.thonline.DO.HJRegistrationDO; import com.thonline.common.Conversion; import com.thonline.common.THConstant; /**...
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package FlappyBird; import java.awt.Graphics; import java.awt.event.MouseEvent; import setup.*; public class TrainFlappyAI implements Manager{ public static final int Width = 700, Height = 700; PG pg; public TrainFlappyAI(int sub, int layers, int[] nnodes) { pg = new PG(sub, layers, nnodes, 0...
/** * */ package org.artifact.security.intercept; import org.artifact.security.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; impor...
package sr.hakrinbank.intranet.api.service; import sr.hakrinbank.intranet.api.model.RatesControlling; import java.util.List; /** * Created by clint on 5/24/17. */ public interface RatesControllingService { List<RatesControlling> findAllRatesByControlling(); RatesControlling findById(long id); void up...
package com.ideaheap.logic; public class OperatorFactory { public OperatorFactory() { } public boolean hasOperator(String atom) { // TODO Auto-generated method stub return false; } }
package com.zhaoyan.ladderball.domain.account.http; import com.zhaoyan.ladderball.domain.common.http.Request; public class RecorderAddRequest extends Request { /** * 电话号码 */ public String phone; /** * 密码 */ public String password; /** * 姓名 */ public String name; ...
package global.coda.hospitalmanagement.dbconnection; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.ResourceBundle; import org.apache.log4j.Logger; import global.coda.hospitalmanagement.constant.BundleFile; import global.coda.hospitalmanagement.constant.Bund...
package analysis.service.impl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import analysis.service.AnalysisService; import analysis.util.AnalysisUtil; import berkeley.service.BerkeleyService; import berkeley.service.impl.BerkeleyServiceImpl; import csv...
package game.gfx; import java.awt.image.BufferedImage; import game.Game; public class SpriteSheet { private BufferedImage sheet; public SpriteSheet(BufferedImage sheet) { this.sheet = sheet; } public BufferedImage crop(int x, int y, int width, int height) { BufferedImage bI = new BufferedImage( (int) (Gam...
package crawler.core; public class DataExtractor { }
package com.radauer.mathrix.tasks; import java.math.BigDecimal; import java.util.Map; import org.apache.commons.lang3.ArrayUtils; import com.radauer.mathrix.GroupKey; import com.radauer.mathrix.Mathrix; import com.radauer.mathrix.Position; import com.radauer.mathrix.RowKey; import com.radauer.mathrix.RowType; /** ...
package com.jfronny.raut.mixin.interfacing; public interface ItemExtension { public void SetCount(int count); }
package hr.apps.cookies.mcpare.adapters; 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 java.text.SimpleDateFormat; import java.util.Calendar; import java...
/* * 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.davivienda.sara.tablas.TiraAuditoria.servicio; import com.davivienda.sara.base.AdministracionTablasInterface; import com.d...
package ClassPackage; public class SecondClass extends FirstClass implements ClassInterface{ @Override public void doingSomething() { } public void doingSomething2(String name){ } public void doingSomething2(String name, int age){ } @Override public void doSomething() { ...
package leader.game.event; import java.util.LinkedList; import java.util.logging.Logger; public class GameEventQueue { private static Logger logger = Logger.getLogger(GameEventQueue.class.getName()); private LinkedList<GameEvent> events = new LinkedList<>(); public GameEventQueue(){ } public v...
package com.senati.mediateca; public class Socio { int id; String nombre; String apellido; String distrito; //Constructor lleno public Socio(int id, String nombre, String apellido, String distrito) { super(); this.id = id; this.nombre = nombre; this.apellido = apellido; this.distrito = ...
package chap5; public class Quotation { public static void main(String[] args) { System.out.println("文字列リテラルと文字数について。"); System.out.println("二重引用符で囲まれた\"ABC\"は文字列リテラルです。"); System.out.print("一重引用符で囲まれた"); System.out.print('\''); System.out.println("A'は文字リテラルです。"); System.out.println(""); ...
package com.worldchip.bbpawphonechat.fragment; import java.util.ArrayList; import java.util.Hashtable; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import andro...
package com.legaoyi.protocol.messagebody.encoder; import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Component; import com.legaoyi.protocol.down.messagebody.JTT1078_9205_MessageBody; import com.legaoyi.protocol.exception.IllegalMessageException; import com.legaoyi.protocol.message.Mess...
package de.uulm.in.vs.grn.a2; import java.io.*; import java.net.MalformedURLException; import java.net.URL; import java.util.Scanner; public class URLFetcher { public static void main(String[] args) { System.out.println("___________________________________________"); System.out.println("-- HTTP...
/* * 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 lk.vcnet.storemodule.controller; import java.rmi.Remote; import me.colhh.usermanager.rmi.first.controller.UserControllerInterf...
import java.io.*; public class main { public static void main(String [] args){ System.out.println("miau"); } }
package Admin; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.*; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.*; import javax.swing.border.TitledBorder; public class User extends javax.swing.JFrame{ privat...
package com.cts.controller; import java.util.*; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import com.cts.dao.Person; import com.google.gson.Gson; @RestContro...
package com.shilong.jysgl.service.impl; import java.util.List; import javax.annotation.Resource; import com.shilong.jysgl.dao.culture.mapper.CouGrMapper; import com.shilong.jysgl.dao.culture.mapper.CoursegroupMapper; import com.shilong.jysgl.dao.culture.mapper.TeaGrMapper; import com.shilong.jysgl.dao.custom.mapper....
package com.karya.dao; import java.util.List; import com.karya.model.AccountsReceivable001MB; public interface IAccountsReceivableDAO { public List<AccountsReceivable001MB> accountsreceivable(); public void addaccountsreceivable(AccountsReceivable001MB accountsreceivable); public AccountsReceivable001MB getA...
package controller; import com.jfoenix.controls.JFXButton; import com.jfoenix.controls.JFXComboBox; import com.jfoenix.controls.JFXListView; import com.jfoenix.controls.JFXTextField; import db.DBConnection; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.collections.F...
package pl.edu.pw.mini.taio.omino.lib.solvers; import pl.edu.pw.mini.taio.omino.core.Block; import java.util.ArrayList; import java.util.Collection; import java.util.List; public class OptimalRectangle extends RectangleSolver { public OptimalRectangle(Block[] blocks) { super(blocks); } @Overrid...
package com.example.currencyconverter; import android.support.annotation.DrawableRes; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.ImageView; import android.widget.TextView; publ...
package org.techstuff.auth.data; import org.apache.log4j.Logger; import org.springframework.jdbc.core.RowMapper; import java.sql.ResultSet; import java.sql.SQLException; /** * Created by andersonkmi on 1/1/2017. */ public class RestrictedWordRowMapper implements RowMapper<RestrictedWord> { private static final...
package com.youthlin.example.rpc.consumer.async; import com.youthlin.rpc.core.ProxyFactory; import com.youthlin.rpc.core.SimpleProxyFactory; import com.youthlin.rpc.core.config.AbstractConsumerConfig; import com.youthlin.rpc.core.config.Config; import com.youthlin.rpc.util.NetUtil; import java.lang.reflect.Method; /...
package com.example.kuno.intentobject; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.widget.TextView; /** * Created by kuno on 2017-02-01. */ public class SecondActivity extends Activity { TextView tvView; @Override protected void onCreate(Bundl...
package com.loading.graphqldemo.graphql; import com.loading.graphqldemo.entity.CompanyEntity; import com.loading.graphqldemo.entity.PersonEntity; import com.loading.graphqldemo.service.CompanyService; import graphql.kickstart.execution.context.GraphQLContext; import graphql.kickstart.tools.GraphQLResolver; import grap...
package com.example.canalu.ui.exit; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.annotation.N...
package bis.project.validators; import bis.project.security.User; public class UserValidator { public static void Validate(User user) throws ValidationException{ ValidationException.ThrowIfNullOrEmpty(user.getFirstName(),"First name"); ValidationException.ThrowIfNullOrEmpty(user.getLastName(),"Last name"); Va...
package DuckHunt.GameObjects.Ducks; import DuckHunt.Constant.MoveType; import DuckHunt.Global.GameGlobalVariables; import DuckHunt.Main.Game; import DuckHunt.Request.Move; import javafx.animation.*; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.effect.Glow; import jav...
/** * */ package com.pelephone_mobile.songwaiting.service.threads; import com.pelephone_mobile.songwaiting.service.interfaces.ISWServiceResponceListener; import com.pelephone_mobile.songwaiting.service.pojos.Pojo; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.databind.JsonMappin...
package com.example.qunxin.erp.utils; import java.io.IOException; import okhttp3.Call; import okhttp3.Callback; import okhttp3.MediaType; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.RequestBody; import okhttp3.Response; /** * Author: wls-gcc * Date on: 2019\1\9 15:16 * Version: v1.0 */ p...
package com.rallytac.engageandroid.legba.fragment; import android.content.res.Configuration; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import ...
package com.bnebit.sms.service; import java.io.File; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org...
package com.aowin.frame; import java.awt.Container; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JMenu; import javax.swing.JOptionPane; import javax.swing.JPanel...
import java.*; public class ClosingBalance { public static void main(String[] args) { //class object instance with actual parameters passed by value Accounts1 ObjOne = new Accounts1("saving account",30000,12000,10000); ObjOne.print();//printout values of object instance for Account class } ...
package com.main.salon.models; import java.util.*; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.springframework.format.annotation.DateTimeFormat; import javax.persistence.*; @Entity @Table(name="appointment") // we use @entity to define our database table name for this model @JsonIgnor...
package p13; import java.util.ArrayList; import java.util.HashMap; import java.util.Random; public class MapExam { public static void main(String[]args) { HashMap<String, String> hm=new HashMap<String, String>(); hm.put("age", 10+""); hm.put("name","홍길동"); ArrayList<HashMap<String, String>> al=n...
package fr.insee.aventcalendar.service; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.TestPropertySource; import java.util.Locale; import static org.junit.jupiter.a...
package zee.project.flashcards; import java.awt.BorderLayout; import java.awt.event.*; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import javax.imageio.*; import javax.sw...
package com.docker.http; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import j...
/* * Copyright 2002-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.example.tarena.protop.listener; import com.example.tarena.protop.Bean.News; import java.util.List; /** * 作者:Linqiang * 时间:2016/5/21:17:02 * 邮箱: linqiang2010@outlook.com * 说明:刷新完成监听器 */ public interface RefreshListener { void refreshFinish(List<News> list); }
package com.classichu.titlebar.helper; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.PopupWindow; /** * Created by louisgeek on 2017/2/28. */ public class ClassicTitle...
package com.telpoo.hotpic.object; public class MenuOj { public static String keys[] = { "group_name", "group_id", "name", "category", "url", "type_cut" }; // public static final String GROUP_NAME = keys[0]; public static final String GROUP_ID = keys[1]; public static final String NAME = keys[2]; public static...
import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.junit.Arquillian; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.asset.EmptyAsset; import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.Before; import org.junit.Test; import org.junit.runner...
package com.team3.bra; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ListView; import java.util.ArrayList; /** * Show all the users to the manager screen * */ public class ManagerShowUsers ext...
package com.robin.springbootlearn.app.controller; import lombok.extern.slf4j.Slf4j; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.StringUtils; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import or...
package com.test.base; import java.util.Arrays; import com.test.SolutionA; import junit.framework.TestCase; public class Example extends TestCase { private Solution solution; @Override protected void setUp() throws Exception { super.setUp(); } public void testSoluti...
package ur.ur_flow.widget; import android.content.Context; import com.google.gson.Gson; import com.gtambit.gt.app.api.GtSharedPreferences; import lib.hyxen.http_request.RequestHandler; import lib.hyxen.http_request.RequestResponseListener; import lib.hyxen.http_request.RequestSetting; import ur.api_ur.URApiSetting; ...
/* * 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 swrubrica; import gui.FinestraPrincipale; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io...
package by.orion.onlinertasks.data.datasource.profile.reviews.remote; import android.support.annotation.NonNull; import by.orion.onlinertasks.common.network.services.BaseService; import by.orion.onlinertasks.data.datasource.profile.reviews.ProfileReviewsDataSource; import by.orion.onlinertasks.data.models.common.requ...
package com.niksoftware.snapseed.controllers; import android.graphics.Bitmap; import android.view.View; import com.niksoftware.snapseed.controllers.adapters.StyleItemListAdapter; import com.niksoftware.snapseed.controllers.touchhandlers.CenterFocusHotspotHandler; import com.niksoftware.snapseed.controllers.touchhandl...
package co.sblock.events.event; import java.util.Set; import org.bukkit.Bukkit; import org.bukkit.entity.Player; import org.bukkit.event.player.AsyncPlayerChatEvent; import co.sblock.chat.message.Message; import co.sblock.utilities.CollectionConversions; /** * Event wrapper allowing us to more easily manage our ch...
package com.mpls.v2.controller; import com.google.api.services.drive.model.File; import com.mpls.v2.dro.DriveFile; import com.mpls.v2.service.GoogleDriveService; import com.mpls.v2.service.exceptions.GoogleDriveException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.Ht...
package com.djtracksholder.djtracksholder.interfaces; /** * Created by Вадим on 21.08.2014. */ public interface TrackCreator<T> { public void createTrack(T object); }
package com.eichiba.demo.entitys; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import javax.persistence.*; import java.util.ArrayList; import java.util.List; @Entity @Table(name = "USERS") @Data @JsonIgnoreProperties({"hibernateLazyInitializer", "handler"}) public class User { ...
package ru.steagle.protocol.request; /** * Created by bmw on 16.02.14. */ public class GetDevModesCommand extends Command { @Override protected String getRootTagName() { return "var"; } @Override protected String getCommandName() { return "dev_mode"; } }
package enums; public enum QuerySQL { CREATE_RECORD ("INSERT INTO Student (name, age) VALUES (?, ?)"), GET_STUDENT ("SELECT id, name, age FROM Student WHERE id = ?"), GET_ALL_STUDENTS ("SELECT id, name, age FROM STUDENT"), DELETE_RECORD ("DELETE FROM Student WHERE id = ?"), UPDATE_RECORD ("UPDATE S...
package org.vaadin.addons.tokenfilter.model; public class MissingDocumentFilterOption implements Cloneable { private String name; private Long documentCount; public MissingDocumentFilterOption(String name) { this.name = name; } public String getName() { return name; } public void setDocumentCount(L...
package com.sha.springbootmongo.service; import com.sha.springbootmongo.model.Order; import java.util.List; /** * @author sa * @date 1/10/21 * @time 12:20 PM */ public interface IOrderService { void saveOrder(Order order); List<Order> ordersOfUser(String userId); }
package com.controller.resource; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import com.controller.entidade.ControleCliente; import com.google.gson.Gson; import com.model.entidade.Cliente; @Path("/fila") public class ResourceFila {...
package zkouska; public class PC extends Laptop{ private Monitors monitor; private Periferie perif; public PC(Integer id, String name, Integer cpu, Integer ram, Monitors monitor, Periferie perif) { super(id, name, cpu, ram, monitor); this.setPerif(perif); // TODO Auto-generated constructor stub }...
package com.wh.controller; import com.wh.myInterface.AModulesApi; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; /** * @program: maven-modules * @description: * @author: wh * @create: 2021-07-08 17:37...
package com.questionanswer.questionanswer.model; public class AdminQuestionOptionModel { private int id; private String option; private boolean correct; private boolean selected; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getOption() { return option; } ...
import java.io.*; class employee1 { public static void main(String args[])throws IOException { BufferedReader d=new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter Employee code:-"); String ecode=(d.readLine()); System.out.print("Enter Basic pay in Rs:-"); double basic=Double.pars...
package org.cellcore.code.model; import org.cellcore.code.shared.GsonExclude; import javax.persistence.*; import java.util.Date; import java.util.HashSet; import java.util.Set; /** * * Copyright 2013 Freddy Munoz (freddy@cellcore.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may...
package fr.skytasul.quests.requirements; import java.util.ArrayList; import java.util.List; import java.util.function.Function; import java.util.stream.Collectors; import org.bukkit.DyeColor; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.Player; import org.bukkit.event.inven...
import io.restassured.RestAssured; import io.restassured.http.ContentType; import io.restassured.path.json.JsonPath; import io.restassured.response.Response; import static org.hamcrest.Matchers.equalTo; import static io.restassured.RestAssured.given; import org.testng.annotations.*; import files.reusableMethods; pub...
package com.javabanktech; import java.util.Scanner; public class LanguageSupport { private String language = "English"; public void main(String[] args) { beginLaunch(); } void beginLaunch() { System.out.println("We are sorry that we have defaulted to " + this.language + ". What langu...
package graphics_control.game_control; import game_logic.TurnsManager; import game_object.Board; import game_object.Cell; import game_object.Position; import graphics_control.event_handling.controllers_events.GameOverEvent; import graphics_control.event_handling.controllers_events.GameOverEventArguments; import javafx...
/* * 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 EvaluacionDesempeñoSupervisores; import EvaluacionDesempeñoOperativo.*; import BD.BD; import Clases.EvaluacionOperativo.BDEval...
package com.example.flying_h; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import and...
/* Steven Croft homework 3 volume of a cube */ public class VolumeOfACube { public static void main (String [] args) { //variables double length; double height; double width; double volume; //assign variables length = 10; height = 10; width = 10; //assign volume equation ...
package com.syscxp.biz.core.exception; import com.syscxp.biz.core.base.BaseError; /** * @Author: sunxuelong. * @Cretion Date: 2018-05-10. * @Description: . */ public class BaseException extends RuntimeException { private BaseError baseError; private String message; public BaseException() { ...
package com.ehy.utils;/** * Created by Administrator on 2018-7-17. */ import org.apache.shiro.crypto.hash.Md5Hash; /** * @Author zhouyu * @Date2018-7-17 8:56 **/ public class MD5 { /*source 明文密码 *salt 盐 *hashIterations 哈希次数 */ public static String getMd5Hash(String userName, String passw...
/** * A number can be broken into different continguous sub-subsequence parts * Suppose, a number 3245 can be broken into parts like 3 2 4 5 32 24 45 324 245. And this number is a COLORFUL number, since product of every digit of a contiguous subsequence is different. N = 23 2 3 23 2 -> 2 3 -> 3...
package br.com.fibonacci; public class Main { public static void main(String[] args) { Fibonacci f = new Fibonacci(); f.calcFibonacci(); } }
package com.tpv.storagefiletest.application; import android.app.Application; import android.content.Context; import com.tpv.storagefiletest.domain.FileInfo; import com.tpv.storagefiletest.domain.StorageInfo; import com.tpv.storagefiletest.domain.StorageState; import com.tpv.storagefiletest.domain.TestCase; import com...
package com.guang.bishe.service.impl; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import com.guang.bishe.domain.Product; import com.guang.bishe.domain.ProductExample; import com.guang.bishe.domain.Productimg; import com.guang.bishe.domain.ProductimgExample; import com.guang.bishe.ma...
package cn.hustxq.hust.controller; import cn.hustxq.hust.bean.Header; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind...
package com.aidigame.hisun.imengstar.ui; import com.aidigame.hisun.imengstar.PetApplication; import com.aidigame.hisun.imengstar.constant.Constants; import com.aidigame.hisun.imengstar.util.StringUtil; import com.aidigame.hisun.imengstar.util.UiUtil; import com.aidigame.hisun.imengstar.widget.WeixinShare; import com.a...
package com.evan.demo.yizhu.shouye; import android.content.Context; import android.net.Uri; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentPagerAdapter; import android.su...
package com.gaoshin.coupon.android; public class BusinessException extends RuntimeException { private ServiceError errorCode; private String data; public BusinessException(ServiceError errorCode) { super("Error code: " + errorCode); this.errorCode = errorCode; } public...
/* * Copyright © 2018 www.noark.xyz All Rights Reserved. * * 感谢您选择Noark框架,希望我们的努力能为您提供一个简单、易用、稳定的服务器端框架 ! * 除非符合Noark许可协议,否则不得使用该文件,您可以下载许可协议文件: * * http://www.noark.xyz/LICENSE * * 1.未经许可,任何公司及个人不得以任何方式或理由对本框架进行修改、使用和传播; * 2.禁止在本项目或任何子项目的基础上发展任何派生版本、修改版本或第三方版本; * 3.无论你对源代码做出任何修改和改进,版权都归Noark...
package org.robotframework.formslibrary.keyword; import org.robotframework.formslibrary.operator.TabOperator; import org.robotframework.javalib.annotation.ArgumentNames; import org.robotframework.javalib.annotation.RobotKeyword; import org.robotframework.javalib.annotation.RobotKeywords; @RobotKeywords public...
public class ReverseInteger7 { public static void main(String[] args) { System.out.println(reverse(123)); } public static int reverse(int x) { int ans = 0; while (x != 0) { // != will deal with negative. if (ans > Integer.MAX_VALUE / 10) { //check if out of the boundar...
package cz.metacentrum.perun.spRegistration.common.enums; import java.util.EnumSet; import java.util.HashMap; import java.util.Map; public enum AuditMessageType { UNKNOWN(-1), REQUEST_REG_SERVICE_CREATED(0), REQUEST_UPDATE_SERVICE_CREATED(1), REQUEST_TRANSFER_SERVICE_CREATED(2), REQUEST_REMOVE_SER...
package ro.fr33styler.frconomy.account; import java.util.HashMap; import java.util.Map; import java.util.UUID; import org.bukkit.OfflinePlayer; import org.bukkit.entity.Player; import ro.fr33styler.frconomy.FrConomy; public class Accounts { private FrConomy main; private Map<UUID, Account> cached = new Has...