text
stringlengths
10
2.72M
package com.telyo.trainassistant.entity; import android.os.Parcel; import android.os.Parcelable; /** * Created by Administrator on 2017/6/12. */ public class TrainDetailDatas implements Parcelable { //与车票相关 需要发送的请求数据 private String train_no; private String from_station_no; private String train_nam...
package com.example.dllo.notestudio.DemoEventBus; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.example.dllo.notestudi...
package com.appsnipp.homedesign2.Adapter; import android.content.Context; import android.net.Uri; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; ...
package TestJava; public class multiplecatchblocks { public static void main(String[] args) { int a=5; int result=0; try { result=a/0; } catch(NullPointerException e) { System.out.println("nullPointerException"); } cat...
package br.com.diegomelo.cleanparse.model; import java.util.List; public class CustomAttributeListPojo { private List<SimplePojo> listSimplePojo; public List<SimplePojo> getListSimplePojo() { return listSimplePojo; } public void setListSimplePojo(List<SimplePojo> listSimplePojo) { this.listSimplePojo = list...
package demo8.pizzas; import demo8.Pizza; public class ChicagoStylePepperoniPizza extends Pizza { public ChicagoStylePepperoniPizza() { name = "Chicago Style Pepperoni Pizza"; dough = "Thin Crust dough"; sauce = "Plum Sauce"; toppings.add("Shredded Lucas Cheese"); } }
package org.training.dao.connection; import org.training.dao.exception.DAOException; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.sql.DataSource; import java.sql.SQLException; /** * Created by nicko on 1/25/2017. */ public class ConnectionManager { private ConnectionMan...
import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import rx.functions.Action1; import rx.functions.Func1; import rx.observables.StringObservable; import java.io.ByteArrayInputStream; import java.io.InputStream; public class RXTest { /** * StringObservable 이 InputStream 을 byteArray 로 변환하는 과정을 ...
import java.util.*; import java.lang.*; import java.io.*; class Integ { public static void main(String arg[]) { Scanner d=new Scanner(System.in); int num=Integer.parseInt(d.next()); System.out.println(num); } }
package com.tencent.mm.plugin.account.bind.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import com.tencent.mm.kernel.g; import com.tencent.mm.plugin.account.bind.ui.BindMContactVerifyUI.2; import com.tencent.mm.plugin.account.friend.a.x; class BindMContactVerify...
package com.hyw.producer.rabbit.task; import com.alibaba.fastjson.JSON; import com.dangdang.ddframe.job.api.ShardingContext; import com.dangdang.ddframe.job.api.dataflow.DataflowJob; import com.hyw.producer.rabbit.broker.RabbitBroker; import com.hyw.producer.rabbit.constant.BrokerMessageStatusEnum; import com.hyw.prod...
package pl.cwanix.opensun.commonserver.properties; import lombok.Getter; import lombok.Setter; @Getter @Setter public class SUNServerExternalServerProperties { private String ip; private int port; public String getServerUrl() { return "http://" + ip + ":" + port; } }
import com.mongodb.client.MongoDatabase; import crdhn.sis.transport.SISMongoDBConnectorClient; import org.bson.Document; /* * 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. */ /** * * @a...
package javaStudy.thread; import java.util.Date; public class ThreadClock implements Runnable { public static void main(String[] args) { new ThreadClock(); } ThreadClock() { // thread 생성, start Thread t = new Thread(this, "나 시계"); t.start(); System.out.println(t.g...
package com.saven.batch.domain.util; import java.time.Instant; import java.time.LocalDateTime; import java.time.ZoneOffset; import java.time.format.DateTimeFormatter; /** * Created by nrege on 1/30/2017. */ public class DataTypeUtils { public static Instant instantOf(String pattern, String val) { DateT...
package com.ido.zcsd.repo; import com.ido.zcsd.entity.Post; import com.ido.zcsd.entity.User; import org.springframework.data.jpa.repository.JpaRepository; public interface PostRepo extends JpaRepository<Post,Integer> { }
/** * */ package org.springangularexample.dto.support; import org.springangularexample.entities.support.BaseEntity; /** * @author INST * */ public interface BaseDTO<T extends BaseEntity> { }
package com.tencent.mm.plugin.fav.ui; import android.content.Intent; import android.view.MenuItem; import android.view.MenuItem.OnMenuItemClickListener; import com.tencent.mm.kernel.g; import com.tencent.mm.plugin.fav.a.ae; import com.tencent.mm.sdk.platformtools.bi; import java.io.Serializable; import java.util.Itera...
package com.stackroute.pe1; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.io.ByteArrayInputStream; import static org.junit.Assert.*; public class GuessGameTest { GuessGame guessgame; private static final String INPUT="34"; private ByteArrayInputStream inputStream=n...
import java.io.IOException; import domain.FFT; import domain.SlidingWindow; import io.RGB; import io.MyImageIO; import util.Complex; import util.MyArrayList; import static util.Util.*; /** * Focus stacking implementation */ public class FocusStacking { private int windowSize; private RGB color; private...
package hu.dobrosi.jenkinsnotifier; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.Timer; import java.util.TimerTask; import org.jdom.Document; import org.jdom.Element; import org.jdom.JDOMException; import org.jdom.Namespace; import org.jdom.input.SAXBuilder; public cl...
package web.inttest.objects.lib; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; public class AccessMenu { private WebDriver driver; public static WebElement LOGINLINK; public static WebElement CAREERSLINK; public AccessMenu(WebDriver driver)...
package com.thomaster.ourcloud.services.request.read; import com.thomaster.ourcloud.model.filesystem.UploadedFolder; import com.thomaster.ourcloud.model.user.OCUser; import com.thomaster.ourcloud.services.FileService; import com.thomaster.ourcloud.services.OCUserService; import org.junit.jupiter.api.BeforeEach; import...
package com.tencent.mm.plugin.h.a.b; import android.annotation.TargetApi; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCallback; import android.bluetooth.BluetoothGattCharacteristic; import android.blu...
package com.fight.job.admin.dao; import com.fight.job.admin.entity.LogInfoEntity; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.Date; import java.util.List; /** * 任务日志操作类 * @author luo */ @Mapper @Reposit...
import java.util.Scanner; public class JavaSession2Assignment4 { public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.println("Enter a number"); int month = s.nextInt(); switch (month) { case 1 : System.out.println("31 Days");break; case 2: System.out.print...
package main.java.com; import java.net.UnknownHostException; /** * Created by joseluisdelacruz */ public interface AddressService { String getServerAddress() throws Exception; }
package io.ygg.tcp; import io.ygg.common.Log; import io.ygg.common.Session; import io.ygg.packet.Packet; import io.ygg.packet.PacketNotFoundException; import io.ygg.packet.PacketOpcode; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; im...
package Tugas; /** * * @author Master */ public class Laptop extends Komputer{ public String jnsBaterai; public Laptop() { } public Laptop(String jnsBaterai, String merk, String jnsProcessor, int kecProcessor, int sizeMemory) { super(merk, jnsProcessor, kecProcessor, sizeMemory); t...
package com.lspring.step2; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class PersonDao { @Test public void injectTest(){ @SuppressWarnings("resource") ApplicationContext applicationContext = new C...
package com.company; import java.awt.*; import java.util.ArrayList; public class Zeichnung { private ArrayList<Figur> figuren; public Zeichnung() { this.figuren = new ArrayList<>(); } // Zeichnet alle Figuren public void zeichneFiguren(Graphics g) { for (Figur f : fig...
package org.zwj.mywebapp.test.service; import javax.annotation.Resource; import org.zwj.mywebapp.core.feature.test.TestSupport; import org.zwj.mywebapp.web.service.UserService; public class UserServiceTest extends TestSupport { @Resource private UserService userService; }
/* * Copyright 2002-2013 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package com.bjstudio.blog.login.Service; import com.bjstudio.blog.login.model.Member; import com.bjstudio.blog.login.model.SecurityUser; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails...
package superintendent.apis.discord; import java.util.List; import superintendent.apis.discord.channels.DiscordTextChannel; public interface DiscordUser { /** * Gets the full username of the user represented by this object. * * @return the user's username */ public String getUsername(); /** ...
package com.szcinda.express.persistence; import com.szcinda.express.BaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.Entity; import javax.validation.constraints.NotNull; @EqualsAndHashCode(callSuper = true) @Data @Entity public class Profile extends BaseEntity { @NotNull(...
package com.worldchip.advertising.client.activity; import java.util.Timer; import java.util.TimerTask; import java.io.File; import java.io.FileOutputStream; import java.io.FileInputStream; import java.io.IOException; import com.worldchip.advertising.client.adapter.AdListAdapter; import com.worldchip.advertising.clien...
package eu.rethink.globalregistry.Controller; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.MalformedJwtException; import io.jsonwebtoken.SignatureException; import io.jsonwebtoken.UnsupportedJwtException; import io.jsonwebtoken.impl.Base64UrlCodec; import net.tomp2p.peers.PeerAddress; import org.json.JSONArray;...
/* * 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 rest; import com.google.gson.Gson; import com.google.gson.JsonObject; import java.util.Random; import javax.ws.rs.core.Context...
package com.trust.demo.code.bluetooth; import android.annotation.TargetApi; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import and...
package com.qa.def; public class Mechanic { // Instantiated the method Car c = new Car(); //Can now directly access c.exhausts from the other class public int readExhausts() { return c.exhausts; } }
package dir.gestionarcredenciales.forms; import java.util.List; import javax.swing.event.TableModelEvent; import javax.swing.event.TableModelListener; import javax.swing.table.TableModel; import dir.gestioncredenciales.modelo.Rol; import dir.gestioncredenciales.modelo.Usuario; import dir.gestioncredenciales....
package littleservantmod.client.gui.sidetab; import littleservantmod.client.gui.inventory.GuiSideTabContainer; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.minecraft.item.ItemStack; /** * 現在の職業を表示する * @author shift02 */ public class SideTabProfession extends SideTabBase { GuiSideTa...
package app.integro.sjbhs.fragments; import android.graphics.Bitmap; import android.os.Bundle; import androidx.fragment.app.Fragment; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import android.webkit.WebVi...
package pl.whirly.recruitment.businesscontext.repository; import org.springframework.stereotype.Service; import pl.whirly.recruitment.businesscontext.model.User; import java.time.Instant; import java.time.temporal.ChronoUnit; import java.util.LinkedList; import java.util.List; import java.util.NoSuchElementException;...
package it.polimi.ingsw.GC_21.CLIENT; import java.util.Scanner; import it.polimi.ingsw.GC_21.GAMECOMPONENTS.DevCardType; import it.polimi.ingsw.GC_21.GAMECOMPONENTS.Possession; import it.polimi.ingsw.GC_21.VIEW.InputForm; import it.polimi.ingsw.GC_21.VIEW.TakeCardInput; import it.polimi.ingsw.GC_21.fx.FXMLGameControl...
package testFunction; public class TestVarargs1 { static void vaTest(int ... no) { System.out.println("vaTest(int ...): 参数个数:" + no.length + "内容:"); for(int n : no) System.out.print(n + " "); System.out.println(); } static void vaTest(boolean ... bl) { System.out.print("vaTest(boolean ...)参数个数: " + bl....
package org.arthur.review.controller; 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 org.arthur.review.ser...
package test.nz.org.take.compiler.scenario8.generated; /** * Class generated by the take compiler. * This class represents the predicate is_father_of * @version Fri Feb 01 11:32:07 NZDT 2008 */ public class IsFatherOf { public test.nz.org.take.compiler.scenario8.Person son; public test.nz.org.take...
package com.action; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.net.HttpURLConnection; import java.net.InetAddress;...
import javax.websocket.server.ServerEndpoint; import javax.websocket.Session; import javax.websocket.OnOpen; import javax.websocket.OnMessage; import javax.websocket.OnClose; import javax.websocket.OnError; import javax.websocket.CloseReason; import java.util.logging.Logger; import java.util.logging.Level; import java...
package com.daveayan.fuzzyavenger.providers.akka; class Message_AL2_to_AL1 { public int sequenceNumber; public Object data; public Object newValue; public Message_AL2_to_AL1(int sequenceNumber, Object data, Object newValue) { this.sequenceNumber = sequenceNumber; this.data = data; this.newValue = newValue;...
/** * Copyright 2013 Cloudera Inc. * * 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 i...
package mechanics; import mechanics.simulation.Ground; import mechanics.simulation.Block; import mechanics.simulation.Vector; import mechanics.utilities.PositiveRealNumberFormat; import mechanics.utilities.RealNumberFormat; import java.awt.*; import java.awt.event.*; import java.io.*; import java.nio.charset.*; import...
import biuoop.DrawSurface; import java.awt.Color; /** * Created by user on 02/06/2017. */ public class LevelName implements Sprite { private String string; /** *construct a LevelName using string. * @param string the name of the level. */ public LevelName(String string) { ...
package littleservantmod.entity.ai; import littleservantmod.entity.EntityLittleServant; import littleservantmod.profession.ServantToolManager; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.ai.EntityAIBase; impor...
package com.jvmless.threecardgame.domain.game; import lombok.extern.slf4j.Slf4j; import java.util.List; import java.util.stream.Collectors; @Slf4j public class MongoGameRepositoryAdapter implements GamesRepository { private final MongoGameRepository mongoGameRepository; public MongoGameRepositoryAdapter(Mo...
/******************************************************************************* * Copyright (c) 2016 Chen Chao(cnfree2000@hotmail.com). * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, a...
class Mushrooms extends DecoratedPizza{ private final DecoratedPizza pizza; public Mushrooms(DecoratedPizza pizza){ this.pizza = pizza; } public double pizzaCost(){ return (pizza.pizzaCost() + 0.79); } public String getImage(){ return pizza.getImage() + "M"; } ...
package org.five.ticket.entity.location; import lombok.AllArgsConstructor; import lombok.Data; @Data @AllArgsConstructor public class DisplayLocation { private String uuid; private String province; private String city; private String name; private String locationInfo; }
package com.pine.template.demo.old.dagger2; import dagger.Component; /** * Created by tanghongfeng on 2017/8/10. */ @Component(modules = {NormalModule.class}) public interface NormalComponent { void inject(NormalInjectee normalInjectee); }
package com.ias.controller; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.Request...
package com.kais.bean; import java.beans.PropertyChangeSupport; public class Kais implements Listenable { protected int valeur = 2; PropertyChangeSupport changeSupport; public Kais() { changeSupport = new PropertyChangeSupport(this); } @Override public PropertyChangeSupport getPrope...
package com.sample.mall.service; import com.sample.mall.repository.OrderRepository; import com.sample.mall.repository.ProductRepository; import com.sample.mall.repository.UserRepository; import com.sample.mall.vo.Item; import com.sample.mall.vo.Order; import com.sample.mall.vo.Product; import com.sample.mall.vo.User; ...
package com.deltastuido.payment.port.alipay.api.model; /** * @author */ public enum RefundStatus { REFUND_SUCCESS,// 退款成功。 全额退款情况:trade_status= TRADE_CLOSED,而refund_status=REFUND_SUCCESS; 非全额退款情况:trade_status= TRADE_SUCCESS,而refund_status=REFUND_SUCCESS REFUND_CLOSED,// 退款关闭 }
package clientserver; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; public class ServerApp { public static void main(String[] args) { try { ServerSocket server = new ServerSocket(4444); while (true) { Socket socket = null; ...
import java.util.Arrays; import java.util.Random; public class GeneticAlgo { //variables to allow for manipulating the genetic algorithm. //default to 17 queens private static int queens = 17; //rate of mutation in the population private double mutation = 0.33; //size of the population private int pop = 50; ...
package com.guli.acl.service; import com.guli.acl.entity.User; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * 用户表 服务类 * </p> * * @author dtt * @since 2021-04-06 */ public interface UserService extends IService<User> { }
package com.bfchengnuo.security.app; import com.bfchengnuo.security.app.social.AppSingUpUtils; import com.bfchengnuo.security.core.social.support.SocialUserInfo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.social.connect.Connecti...
package com.lec.ex10Test; import java.util.Scanner; public class LibMain { public static void main(String[] args) { BookLib[] books = { new BookLib("300ㄱ100", "Physics", "김지원"), new BookLib("300ㄱ101", "Chemistry", "김지원"), new BookLib("300ㄱ102", "Biology", "김지원"), new BookLib("300ㄱ103", "Psychology", ...
package com.kingfish.show.interceptor; import com.kingfish.show.bean.UserVO; import com.kingfish.show.constants.Cookies; import com.kingfish.show.mybatis.model.User; import com.kingfish.show.utils.CookieUtil; import org.springframework.stereotype.Component; import org.springframework.util.StringUtils; import org.sprin...
package com.example.rodoggx.deltachallenge.data; import com.example.rodoggx.deltachallenge.model.Post; import java.util.List; import retrofit2.Call; import retrofit2.Retrofit; import retrofit2.converter.gson.GsonConverterFactory; /** * Created by RodoggX on 2/2/2018. */ public class RemoteDataSource { public...
package com.library.bexam.common.pojo.model; /** * @Description 返回结果实体对象 * @Author sunchao * @Date: 2017-11-29 14:43 * @Mender: libing */ //@JsonInclude(NON_NULL) public final class Result { private int code = 0; private String msg; private Object result; public Result(){} ...
package org.b.f; import java.util.Random; public final class d implements c { private a vKU = new a(); public final String getNonce() { return String.valueOf(cKF().longValue() + ((long) Integer.valueOf(new Random().nextInt()).intValue())); } public final String cKE() { return String....
package thsst.calvis.configuration.model.exceptions; /** * Created by Goodwin Chua on 2/21/2016. */ public class MissingSizeDirectiveException extends Exception { public MissingSizeDirectiveException(String address, int line) { super("Missing size directive for memory token: [" + address + "] at line nu...
package com.csi.csi_organiser; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.Toast; import com.google.android.gm...
/** * 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 GNU Ge...
package com.greenglobal.eoffice.domain.application.congvandi.commands.update; import com.greenglobal.eoffice.domain.core.entities.ItemCommand; /** * Ký duyệt công văn đi */ public class KyDuyetCongVanDiCmd extends ItemCommand { /** * Trạng thái ký duyệt */ private int trangThai; /** * Ge...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package core.fuzzy; import java.util.List; import java.util.Random; /** * * @author Rogerio */ public class InputFuzzy { private int id_review; private double autor_reputation; private ...
package com.steatoda.commons.fields.demo.model.person; import com.steatoda.commons.fields.service.async.Batcher; /** Base class for all person batchers */ public class PersonBatcherBase extends Batcher<String, Person, Person.Field> { public PersonBatcherBase(PersonAsyncService service) { super(service); } }
package com.ds.weatherapp.control; import com.ds.weatherapp.bean.IWeatherModel; import com.ds.weatherapp.bean.Weather; import com.ds.weatherapp.bean.WeatherModelImpl; import com.ds.weatherapp.view.IWeatherView; public class WeatherControlImpl implements IWeatherControl,OnWeatherListener { private IWeatherView weathe...
package vms; import java.util.ArrayList; import java.util.List; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.web.client.RestTemplate; import org.springframework.http.MediaType; import org.springf...
package com.module.helpers; import javafx.embed.swing.SwingFXUtils; import javafx.scene.image.Image; import net.coobird.thumbnailator.Thumbnails; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; p...
package com.dyny.gms.db.pojo; import java.math.BigDecimal; import java.util.Date; public class Basis { private Integer id; private String machNo; private Boolean state; private Integer sysMode; private Boolean proMode; private BigDecimal lankLevel; private BigDecimal cabinetTemperatu...
package com.basicNLP.tf_idf; import com.basicNLP.preprocesser.PreprocessorBasic; import com.basicNLP.preprocesser.Preprocessor; import com.basicNLP.domain.SingularDocument; import com.basicNLP.stemmers.PorterStem; import com.basicNLP.stemmers.Stemmer; import java.io.IOException; import java.util.*; public class TfI...
package com.udacity.gradle.builditbigger; import android.support.test.runner.AndroidJUnit4; import android.support.test.rule.ActivityTestRule; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import static android.support.test.espresso.Espresso.onView; import static android.support.test...
/** * @file: com.innovail.trouble.graphics - GameColor.java * @date: Jun 20, 2013 * @author: berndmicweber */ package com.innovail.trouble.graphics; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import com.badlogic.gdx.graphics.Color; /** * */ public class GameColor extends Color...
/* * 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 photoorganizer; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import javafx.scene...
package com.weique.commonres.utils; import android.app.Activity; import android.content.pm.ActivityInfo; import com.luck.picture.lib.PictureSelector; import com.luck.picture.lib.config.PictureConfig; import com.luck.picture.lib.config.PictureMimeType; import com.luck.picture.lib.entity.LocalMedia; import com.luck.pic...
package io.dashapp.dashembed; import android.app.Fragment; public interface DASHFragmentEventListener { /** * Called each time an error occurs in the DASH fragment * * @param dashFragment The DASH fragment that had the error * @param errorCode The errorCode (passed through from WebViewClient)...
package pl.edu.pw.mini.gapso.optimizer.restart; import org.junit.Test; import pl.edu.pw.mini.gapso.function.Function; import pl.edu.pw.mini.gapso.function.SingleStepFunction; import pl.edu.pw.mini.gapso.optimizer.restart.threshold.FunctionValueSpreadRestartManager; public class FunctionValueSpreadRestartManagerTest {...
package kr.co.jboard2.service; import java.io.File; import java.text.SimpleDateFormat; import java.util.Date; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.oreilly.servlet.MultipartRequest; import com.oreilly.servlet.multipart.DefaultFileRenamePolicy; import...
package com.khachik.explore.Adapters; import android.content.Context; import android.content.Intent; import android.support.v7.widget.CardView; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; im...
package com.h2o.db; /** * This class is a single parsed object. * * @author Marcos Zalacain * @version 1.0 * Date created: 15/10/2013 * Last modified: 15/10/2013 18:30 * * TODO: */ public class XMLParserObject { private int QUESTION_NUMBER ; private String QUESTION_ENG; private String QUE...
/** * Created by 204026705 on 11/11/2016. */ import java.util.Collection; import java.util.HashMap; /** * Created by 212590934 on 11/11/2016. */ public class Customer { private String ownerDuns; private String ownerName; private HashMap<Double, Plant> plants = new HashMap<>(); public String getOw...
package dailyPractice.jianzhi; public class Q11 { public int minArray1(int[] numbers) { int size = numbers.length; if (size == 1) return numbers[0]; for (int i = 0; i + 1 < size; i++) { if (numbers[i] > numbers[i + 1]) { return numbers[i + 1]; } ...
/** * */ package fi.jjc.graphics.image; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL12; import org.lwjgl.opengl.GL13; import org.lwjgl.opengl.GL14; import fi.jjc.util.BundleHandler; /** * * @author Jens ┼kerblom */ public enum TextureWrap { /** Wrapping constant for GL_CLAMP. */ WRAP_CLAMP(GL11....
package com.baitap; import java.sql.Array; import java.util.Scanner; public class NumberToString { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int number = scanner.nextInt(); String string = String.valueOf(number); int arr[] = new int[string.l...
package be.thomaswinters.goofer.data.exceptions; import be.thomaswinters.goofer.data.Template; public class UnextractableStringException extends RuntimeException { /** * */ private static final long serialVersionUID = -8465421598659417081L; public UnextractableStringException(String argument, ...
package controller.cart; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.jdo.PersistenceManager; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; impor...