text
stringlengths
10
2.72M
package steps; import cucumber.api.Scenario; import cucumber.api.java.After; import cucumber.api.java.Before; import io.appium.java_client.AppiumDriver; import io.appium.java_client.service.local.AppiumDriverLocalService; import io.appium.java_client.service.local.AppiumServiceBuilder; import io.appium.java_client.ser...
/******************************************************************************* * =============LICENSE_START========================================================= * * ================================================================================= * Copyright (c) 2019 AT&T Intellectual Property. All rights res...
package jvm_test; /** * Description: 查看ClassLoader类的层次结构 * * Reference: http://www.codeceo.com/article/java-classloader.html * * @author Baltan * @date 2019-05-30 18:30 */ public class Test3 { public static void main(String[] args) { ClassLoader loader = Test3.class.getClassLoader(); while ...
package org.example.junit; import junit.framework.TestCase; import org.junit.Test; public class SimpleJUnit3Test extends TestCase { @Test public void testFoo() throws Exception { assertTrue(true); } @Test public void testBar() throws Exception { assertTrue(false); } }
package com.ipartek.formacion.soap; import java.util.ArrayList; public class FrasesMotivacion { ArrayList<String> frases = null; int numeroAleatorio; public FrasesMotivacion() { super(); this.frases = new ArrayList<String>(); this.frases.add("Solo hay una felicidad en la vida - amar y ser amado...
package com.cnk.travelogix.sapintegrations.zif.erp.ws.opportunity.data; public class ZifProdCatForexData { protected String noOfTraveller; protected String fulfilmentLocation; protected String purposeOfPurchase; protected String product; protected String currencyToBuySell; /** * Gets the value of the noOfTr...
package kr.KENNYSOFT.SEHomework.Operator; import java.math.BigInteger; public class Subtractor extends Operator { @Override public String operate(String operand1, String operand2) throws NumberFormatException { BigInteger mOperand1 = new BigInteger(operand1); BigInteger mOperand2 = new BigInteger(operand2); ...
package com.utils; import java.util.HashMap; import java.util.Map; import net.sf.json.JSONObject; //import com.alibaba.fastjson.JSONObject; /** * @author lyx * * 2015-8-18下午1:39:40 * *com.yr.utils.ResultUtil * TODO 结果工具类 */ public class ResultUtil { /** * 保存json对象 */ priva...
/* * 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 DAO; import Conexao.ModuloConexao; import JavaBean.Funcionario; import java.sql.Connection; import java.sql.Prepared...
package com.fillikenesucn.petcare.activities; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.Button; import com...
package eg.ipvii.fotp.init; import com.teamwizardry.librarianlib.features.base.item.ItemMod; import com.teamwizardry.librarianlib.features.base.item.ItemModFood; import eg.ipvii.fotp.FotPMod; import eg.ipvii.fotp.items.*; import net.minecraft.init.Blocks; import net.minecraft.item.Item; public class ModItems { p...
package net.minecraft.command; import net.minecraft.command.server.CommandBanIp; import net.minecraft.command.server.CommandBanPlayer; import net.minecraft.command.server.CommandBroadcast; import net.minecraft.command.server.CommandDeOp; import net.minecraft.command.server.CommandEmote; import net.minecraft.command.se...
package com.Epsilon.deliveryservice.app.model; import org.json.JSONObject; public class DeliveryItem { public DeliveryItem(int id, String address, JSONObject delivery, int visibleId) { this.id = id; this.address = address; this.delivery = delivery; this.visibleId = visibleId;...
package net.javaguides.springboot.web; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.PostMapping; import net.javaguides.springboot.service.Blog; ...
package spi.movieorganizer.data.person; import spi.movieorganizer.data.MovieOrganizerType; import exane.osgi.jexlib.data.object.AbstractDataObject; import exane.osgi.jexlib.data.object.ExaneDataType; public class PersonDO extends AbstractDataObject<Integer> { private final boolean adult; private fin...
package com.module.controllers.veterandialog.tabs; import com.module.controllers.veterandialog.tables.AddWorkPlaceController; import com.module.helpers.CustomAlertCreator; import com.module.model.entity.WorkPlaceEntity; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fx...
package interpreter.input.value; import java.io.Serializable; public interface IInputValue<T> extends Serializable{ int getIdentifier(); T getInputValue(); }
package com.scf.skyware.mobile.controller; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.StringReader; import java.net.URL; import java.net.URLDecoder; import java.net.URLEncoder; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import javax.se...
package com.hqhcn.android.service; import com.hqh.android.entity.VehInspRecord; import com.hqh.android.entity.VehInspRecordExample; import java.util.List; public interface VehInspRecordService { void create(VehInspRecord entity); /** * 添加检测记录 * 同步更新车辆的状态 * @param entity */ void crea...
package com.rudecrab.rbac.model.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; /** * 基础实体类,所有实体对象集成此类 * * @author RudeCrab */ @Data public abstract class BaseEntity { /** * 主键 */ @TableId(type = IdType.AUTO) ...
package com.teachonmars.modules.widget.overlapLayout.appDemo; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.Gravity; import android.view.LayoutInflater; import android.view.ViewGroup; import java.util.ArrayList; class GravitySelectorAdapter extends RecyclerView.Ad...
/** * Paintroid: An image manipulation application for Android. * Copyright (C) 2010-2013 The Catrobat Team * (<http://developer.catrobat.org/credits>) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * publishe...
package config; public class Configuration { public static int MRS = 1; public static long PASSIVE_PRICE_IMPROVEMENT = 50L; public static short MAX_ORDER_DURATION_DAYS = 90; public static short CIRCUIT_BREAKER_TOLERANCE_PERCENTAGE = 10; }
package com.geekparkhub.core.kafka.producer; import kafka.javaapi.producer.Producer; import kafka.producer.KeyedMessage; import kafka.producer.ProducerConfig; import java.util.Properties; /** * Geek International Park | 极客国际公园 * GeekParkHub | 极客实验室 * Website | https://www.geekparkhub.com/ * Description | Open开放 ...
import java.io.Serializable; public abstract class Customer implements Serializable { private String ID; //instance variable declaration for customer class private String name; private String phone; public Customer(String ID,String name,String phone) //constructor for customer class ...
package com.smxknife.java2.thread.scheduledexecutorservice.demo01; import java.util.concurrent.Callable; import java.util.concurrent.TimeUnit; /** * @author smxknife * 2019/8/29 */ public class MyCallableA implements Callable<String> { @Override public String call() throws Exception { System.out.println("A beg...
package com.elvis.web.action; import java.util.Map; import org.apache.struts2.interceptor.SessionAware; import com.elvis.dao.impl.UserDaoImpl; import com.elvis.domain.User; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDriven; public class LoginAction extends ActionSup...
package com.heinrichreimersoftware.materialdrawer.structure; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.drawable.BitmapDrawable; import android.os.Parcel; import android.test.AndroidTestCase; import android.test.mock.MockResources; im...
import java.util.Scanner; public class Tetromino_14500 { static String[][] blocks = { {"1111"}, {"11", "11"}, {"10", "10", "11"}, {"111", "010"}, {"10", "11", "01"} }; static String[] mirror(String[] input) { String[] answer = new String[input.length]; for (int i = 0; i < input.length; i++) { answ...
package com.ssm.wechatpro.service.impl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Resource; import org.springframework.stereotype.Service; import com.github.miemiedev.mybatis.paginator.domain.PageBounds; import com.github.miemiedev.mybati...
package com.bh.noteon.viewmodel; import android.arch.lifecycle.ViewModel; public class MainViewModel extends ViewModel { public MainViewModel() { } }
package generic; /** * Author: fangxueshun * Description: * Date: 2017/5/31 * Time: 10:18 */ public interface Fruit { String taste(); }
package com.baidu.dudu.framework.handler; import java.util.concurrent.BlockingQueue; import java.util.concurrent.TimeUnit; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.baidu.dudu.framework.exception.DuDuException; import com.baidu.dudu.framework.interaction.TestInteraction; import com.baidu.d...
package com.ojas.rpo.security.dao.addressdetails; import java.util.List; import com.ojas.rpo.security.dao.Dao; import com.ojas.rpo.security.entity.AddressDetails; public interface AddressDetailsDao extends Dao<AddressDetails,Long> { public List<AddressDetails> findBycpId(Long cpid); }
package com.realcom.helloambulance.controller.changepassword; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework....
package com.mtihc.minecraft.treasurechest.events; import java.util.Calendar; import java.util.HashMap; import java.util.Map; import org.bukkit.ChatColor; import org.bukkit.OfflinePlayer; import org.bukkit.block.Block; import org.bukkit.block.DoubleChest; import org.bukkit.entity.HumanEntity; import org.bukkit.entity....
package com.example.asynctaskexample; import android.os.AsyncTask; import android.os.Parcel; import android.os.Parcelable; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import java.util.Random; public...
package com.ybh.front.model; public class DomainProductlistWithBLOBs extends DomainProductlist { /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column FreeHost_DomainProductlist.info * * @mbg.generated Fri May 11 11:16:07 CST 2018 ...
package project; public enum Section { ADULT, CHILD, FUN }
package DataBase_Package; import java.io.IOException; import java.io.RandomAccessFile; import java.util.ArrayList; /** * Questa Classe gestisce l'estrazione dei Fenomeni dal File DataSet. * Contiene una serie di metodi utili per determianre le caratteristiche del file caricato. * @author Angelo Casolaro * @version 1....
package com.rofour.baseball.dao.order.bean; import java.io.Serializable; import java.sql.Time; import java.util.Date; /** * @ClassName: PacketOrderBean * @Description: 小派订单详情bean * @author lijun * @date 2016年10月13日 下午2:56:13 */ public class PacketOrderBean implements Serializable { private String userPhone;/...
package chap08.sec06.exam01_interface_extends; public class Example { public static void main(String[] args) { ImplementationC c = new ImplementationC(); InterfaceA ia = c; ia.methodA(); InterfaceB ib = c; ib.mathodB(); InterfaceC ic = c; ic.methodA(); ic.mathodB(); ic.methodC(); } }
/* * Copyright (C) 2019-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 applicab...
package kuaishou; import java.util.Map; public class PushMessageModel { /** * push business type 默认为快手主app,目前还支持GAME */ // private InfraPushCommon.BusinessType businessType = KUAISHOU; /** * push app 类型 */ // private RecoPushBase.PushAppType pushAppType = KUAISHOU_MAIN; /** ...
package com.jidouauto.mvvm.rxjava; import com.jidouauto.mvvm.rxjava.transformer.Transformers; /** * The interface Result validator. * * @author eddie * <p> * ResultValidator接口用于数据结果的校验 该接口配合{@link Transformers#validate()} ()} 实现数据结果校验,并将错误信息反馈到调用者 * @see {@link Transformers} eg. 请求返回的错误code 数据异常。 */ public int...
/** * */ package com.yougou.kaidian.common.constant; /** * 商家中心错误码 * * @author huang.tao * */ public class ErrorConstant { public static final String MODULE_SYSTEM = "01"; public static final String MODULE_COMMODITY = "02"; /** 未设置商家编码 */ public static final String E_0001 = "0001"; /** 未设置仓库编码 */ ...
package com.lqs.hrm.entity; import java.util.Date; import java.util.List; /** * 职工考勤信息实体类 * @author luckyliuqs * */ public class AttendanceEmployee { /** * This field was generated by MyBatis Generator. This field corresponds to the database column attendance_employee.ae_id * @mbg.generated Mon May 25 19...
package com.practice; public class CustomExp extends RuntimeException { public CustomExp(String msg) { super(msg); } }
package com.cg.javafullstack.exception; public class BalanceValidation { void verify(int amount) { if(amount > 10000) { throw new DailyLimit("Darling pls withdraw less than 10k"); } } }
package com.java26.alg.zad4; import java.util.*; /* - posiadać (jako pole) mapę Studentów. //#(co powinno być kluczem?) - posiadać metodę 'dodajStudenta(Student):void' do dodawania nowego studenta do dziennika - posiadać metodę 'usuńStudenta(Student):void' do usuwania studenta - posiadać metodę 'usuńStud...
package com.github.vinja.omni; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Enumeration; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import ...
package com.bytedance.sandboxapp.c.a.b.a.a; import android.app.Activity; import com.bytedance.sandboxapp.a.a.c.f; import com.bytedance.sandboxapp.a.a.d.a; import com.bytedance.sandboxapp.c.a.a.a; import com.bytedance.sandboxapp.protocol.service.a.a.a; import com.bytedance.sandboxapp.protocol.service.api.entity....
package com.tencent.mm.protocal; import com.tencent.mm.protocal.c.g; public class c$im extends g { public c$im() { super("showAllNonBaseMenuItem", "showAllNonBaseMenuItem", 92, false); } }
/** * ImageDB.java * created at:2011-5-11下午04:15:03 * * Copyright (c) 2011, 北京爱皮科技有限公司 * * All right reserved */ package com.appdear.client.db; import com.appdear.client.service.Constants; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; /** ...
package com.tencent.mm.plugin.nearby.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import com.tencent.mm.model.au; import com.tencent.mm.plugin.nearby.ui.NearbySayHiListUI.6; class NearbySayHiListUI$6$1 implements OnCancelListener { final /* synthetic */ 6 lC...
import jade.core.Runtime; import jade.core.Profile; import jade.core.ProfileImpl; import jade.wrapper.*; public class StartSystem { public static void main(String args[]) throws InterruptedException, StaleProxyException { final Runtime runTime = Runtime.instance(); runTime.setCloseVM(true); ...
package jneiva.hexbattle.componente; public class Ataque extends Componente { private int forca; private int alcance; public Ataque(int forca, int alcance) { super(); this.forca = forca; this.alcance = alcance; } public int getForca() { return forca; } public int getAlcance() { return alcance; ...
package com.nmhung.entity; import lombok.Data; import javax.persistence.*; import java.util.List; @Table @Entity(name = "tblroom") @Data public class RoomEntity { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; private String name; private String locatio...
/** * */ package fr.gtm.proxibanque.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import fr.gtm.proxibanque.dao.IAgenceDao; import fr.gtm.proxibanque.dao.IConseillerDao; import fr.gtm.proxibanque.modele.Age...
package modul5.ae10.paket.paket1; class KlasseAA extends KlasseA { }
package org.usfirst.frc.team5951.robot.auton; import org.usfirst.frc.team5951.robot.commands.chassis.ShiftToStrongGear; import edu.wpi.first.wpilibj.command.CommandGroup; /** * */ public class DropGearsLeftShoot extends CommandGroup { public DropGearsLeftShoot() { addSequential(new ShiftToStrongGear()); ...
package com.orangefunction.tomcat.redissessions; import java.io.IOException; import java.util.concurrent.BrokenBarrierException; import java.util.concurrent.CyclicBarrier; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import java.util.concurre...
package com.mysql.cj.jdbc.ha; import com.mysql.cj.conf.ConnectionUrl; import com.mysql.cj.conf.PropertyKey; import com.mysql.cj.exceptions.CJException; import com.mysql.cj.jdbc.ConnectionImpl; import com.mysql.cj.jdbc.JdbcConnection; import com.mysql.cj.jdbc.JdbcPropertySetImpl; import com.mysql.cj.jdbc.exceptions.SQL...
package day54_abstraction; /* we add abstract keyword to a class to make it an abstract class we cannot object of Student class - meaning student student = new Student (); -----ERROR will show --> what can we do with this Student class? We can extend this class by sub class Student class will Parent class for all o...
package com.tencent.mm.plugin.aa.a; import android.app.Activity; import android.os.Bundle; import com.tencent.mm.a.g; import com.tencent.mm.ak.o; import com.tencent.mm.model.q; import com.tencent.mm.model.s; import com.tencent.mm.plugin.aa.a.b.c; import com.tencent.mm.plugin.aa.b; import com.tencent.mm.plugin.messenge...
package View; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.util.Scanner; /** * It's a word counter machine. * @author Salilthip 5710546640 * */ public class UMLReader { /** * For count the number of word from url. * @param ...
package ch.fhnw.oop2.departure.controller; import ch.fhnw.oop2.departure.Main; import ch.fhnw.oop2.departure.model.Departure; import ch.fhnw.oop2.departure.model.DepartureProxy; import ch.fhnw.oop2.departure.model.Timetable; import ch.fhnw.oop2.departure.util.JavaFxUtils; import javafx.collections.transformation.Filte...
import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.s...
package codex.utils; import java.io.IOException; import java.net.InetSocketAddress; import java.net.Socket; /** * Класс вспомогательных методов для работы с сетью. */ public class NetTools { /** * Проверка доступности сетевого порта. * @param host Символьное имя хоста или IP-адрес. ...
package me.hp888.messenger.api.callback; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ThreadLocalRandom; /** * @author hp888 on 07.11.2020. */ public final class CallbackManager { private final Map<Long, Callback<?>> callbackMap = new HashMap<>(); public long addCallback(Ca...
package com.qihoo.finance.chronus.core.log.annotation; import com.alibaba.fastjson.JSONObject; import com.qihoo.finance.chronus.common.NodeInfo; import com.qihoo.finance.chronus.core.log.NodeLogBO; import com.qihoo.finance.chronus.core.log.NodeLogService; import lombok.extern.slf4j.Slf4j; import org.apache.commons.col...
/* * 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 amazonviewer.model; import java.util.ArrayList; import java.util.Date; /** * * @author i5 */ public class Ma...
package io.github.rhythm2019.mawenCommunity.advice; import cn.hutool.http.ContentType; import com.alibaba.fastjson.JSON; import io.github.rhythm2019.mawenCommunity.dto.Result; import io.github.rhythm2019.mawenCommunity.exception.CustomizeErrorCode; import io.github.rhythm2019.mawenCommunity.exception.CustomizeExceptio...
package com.gft.digitalbank.exchange.solution; import akka.actor.ActorRef; import akka.actor.ActorSystem; import com.fasterxml.jackson.databind.ObjectMapper; import com.gft.digitalbank.exchange.actors.messages.BooksAndTransactions; import com.gft.digitalbank.exchange.actors.messages.Shutdown; import com.gft.digitalban...
package com.example.mpv.bb8; import android.app.Activity; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.util.Log; import android.view.MotionEvent; import android.view.View; import android.widget.TextView; import android.widget.Toast; import com.orbotix.ConvenienceRobot; ...
package com.github.ezauton.core.localization.sensors; /** * A sensor which can record revolutions/s and revolutions as a distance */ public interface RotationalDistanceSensor extends Tachometer { /** * @return revolutions */ double getPosition(); }
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.appbrand.jsapi.i.d; class FindMContactLearmMoreUI$4 implements OnCancelListener { final /* synthetic */ FindM...
package com.saptarshi.rest; public class Authenticationinfo { private String name; private String email; private String password ; private String group; public void setName(String s) { name = s; } public void setEmail(String s){ email = s; } public void setPassword(String s) { password = s; } ...
package XBridge.Bridge; public class BridgeTest { public static void main(String[] args) { //Creating 3+2=5 instances of bottom classes ColorImplementation[] colors = new ColorImplementation[] {new ColorRedImplementation(), new ColorBlueImplementation(), new ColorGreenImplementati...
package com.example.appBack.Tablas.Student.infrastructure.repositorio.port; import com.example.appBack.Tablas.Student.domain.Student; public interface SaveUpdateStudentPort { Student updateStudent(String id, Student sdto) throws Exception; }
package com.github.rahmnathan.commute.provider; public interface CommuteProvider { String getCommuteTime(String startLocation, String endLocation); }
package su.svn.testpostgre; import java.sql.*; import java.io.*; import javax.naming.*; import javax.sql.*; import javax.servlet.*; import javax.servlet.http.*; public class MyTestPostgreSQL extends HttpServlet { String connectionData = "Not Connected"; int count = -1; public void init() { try ...
package useless; import biorimp.optmodel.mappings.metaphor.MetaphorCode; import biorimp.optmodel.operators.RefOperMutation; import biorimp.optmodel.space.RefactoringOperationSpace; import edu.wayne.cs.severe.redress2.entity.refactoring.RefactoringOperation; import edu.wayne.cs.severe.redress2.main.MainPredFormulasBIoR...
package SebastianMiklaszewski.Excercises.Infrastructure.Entity; import SebastianMiklaszewski.Excercises.Core.Exception.NotEnoughMoneyException; import SebastianMiklaszewski.Excercises.Core.ValueObject.Money; import SebastianMiklaszewski.Excercises.Core.ValueObject.MoneyValue; public class Wallet { private Money m...
package assemAssist.controller.ordercontrollers; import java.util.LinkedList; import java.util.List; import assemAssist.controller.ShouldQuitException; import assemAssist.model.facade.Facade; import assemAssist.model.facade.OrderHandler; import assemAssist.model.order.Customer; import assemAssist.model.order.order.O...
package com.imesne.office.excel.write; import com.imesne.office.excel.model.ExcelCell; import com.imesne.office.excel.utils.ExcelKitUtils; import org.apache.commons.lang3.StringUtils; import org.apache.poi.ss.usermodel.*; import org.apache.poi.ss.util.CellRangeAddressList; import org.apache.poi.xssf.usermodel.XSSFWork...
package ttyy.com.coder.scanner.decode; /** * author: admin * date: 2017/03/14 * version: 0 * mail: secret * desc: DecodeCallback */ public interface DecodeCallback { void onDecodeSuccess(String message); void onDecodeFail(String message); }
package com.example.pdffiles; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.app.ActionBar; import android.os.Bundle; import com.github.barteksc.pdfviewer.PDFView; public class pdfShow extends AppCompatActivity { PDFView pdfView; @Override protected voi...
package com.tencent.mm.plugin.appbrand.jsapi.lbs; import com.tencent.mm.plugin.appbrand.l; import com.tencent.mm.plugin.report.service.h; import org.json.JSONObject; public final class d extends a { private static final int CTRL_INDEX = 340; private static final String NAME = "enableLocationUpdate"; priva...
package SeleniumSessions; import java.util.ArrayList; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import io.github.bonigarcia.wdm.WebDriverManager; public class DropDownTest { public static void main(St...
package org.lxy.set; import java.util.HashSet; import org.lxy.bean.Student; /** * @author menglanyingfei * @date 2017-3-18 */ public class Demo01_HashSet { /** * @param args */ public static void main(String[] args) { HashSet<String> hs = new HashSet<String>(); hs.add("a"); hs.add("a"); hs.add("b")...
package com.canfield010.mygame.item.armor.boots; import com.canfield010.mygame.item.armor.Armor; import javax.imageio.ImageIO; import java.awt.*; import java.io.File; public class IronBoots extends Armor { public static Image image; public IronBoots() { super("Iron Boots", 0.30F, Type.BOOTS); }...
package br.com.treinar.academico.ClasseObjeto; public class Pessoa { int idade; char sexo; String nome; }
package com.website.views.pages; import javax.enterprise.context.RequestScoped; import javax.inject.Inject; import javax.inject.Named; import org.mindrot.jbcrypt.BCrypt; import com.website.persistence.AuthorService; import com.website.tools.navigation.Redirector; import com.website.tools.navigation.SessionManager; i...
package code; import java.util.Scanner; import errors.ZeroDivideException; import interpretator.Interpretator; public class InNumberFunction extends Instruction { private SpecyficValue inValue; @SuppressWarnings("resource") @Override public void execute() throws NumberFormatException, ZeroDivideE...
package com.tencent.mm.plugin.account.bind.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import com.tencent.mm.plugin.account.bind.ui.FindMContactIntroUI.4; class FindMContactIntroUI$4$2 implements OnClickListener { final /* synthetic */ 4 eHO; FindMConta...
package com.ds.algo.matters.array; public class KadensAlgo { public static void main(String[] args){ int[] input = {-2, -3, 4, -1, -2, 1, 5, -3}; System.out.println(maxSubarraySum(input, 8)); } /** This method will find largest contiguous array of maximum sum **/ private static int max...
package com.rc.panels; import com.rc.app.Launcher; import com.rc.res.Colors; import com.rc.components.GBC; import com.rc.components.RCButton; import com.rc.components.VerticalFlowLayout; import com.rc.db.model.ContactsUser; import com.rc.db.model.Room; import com.rc.db.service.ContactsUserService; import com.rc.db.se...
package com.mythosapps.time15; import android.test.suitebuilder.annotation.SmallTest; import com.mythosapps.time15.types.Time15; import junit.framework.TestCase; /** * Created by andreas on 14.03.16. */ @SmallTest public class Time15Test extends TestCase { public void testToMinutes() { Time15 t = new...
package my.sheshenya.samplespringdatarest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootA...