text
stringlengths
10
2.72M
/* * Copyright (c) 2015 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.server.authn; /** * Result of sandbox authn using a local facility. Wrapper of {@link AuthenticationResult}. * @author K. Benedyczak */ public class LocalSandboxA...
package pop3; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.Socket; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.function.Consumer; import io.vavr.control.Try; import l...
package com.db.retail.service; import static org.mockito.Matchers.any; import static org.mockito.Mockito.when; import java.util.Set; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; impor...
package com.example.szupek.datepickerszupek; import android.content.Context; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast; import com.examp...
package com.radauer.mathrix; import static junit.framework.TestCase.assertNull; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.math.BigDecimal; import com.radauer.mathrix.types.GroupKeyFactory; import com.radauer.mathrix.types.GroupKeyFactoryImpl; import com.rada...
/* * 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 diseño; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * * @author User */ public class Phone { String display; int battery, price; Phone(){ display = "5.5 Inch";...
/* * Copyright (c) 2008-2019 Haulmont. * * 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 agr...
package com.qumla.domain.answer; import io.katharsis.resource.annotations.JsonApiIncludeByDefault; import io.katharsis.resource.annotations.JsonApiResource; import io.katharsis.resource.annotations.JsonApiToOne; import java.time.Instant; import java.time.LocalDate; import java.time.ZoneId; import com.qumla.domain.Ab...
package com.taotao.search.controller; import com.taotao.common.pojo.SearchItemResult; import com.taotao.search.service.SearchService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind...
package com.eu.manage.service.impl; import com.eu.manage.dao.RoomutilizationDao; import com.eu.manage.entity.Roomutilization; import com.eu.manage.service.RoomutilizationService; import com.eu.manage.utils.PageUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Se...
package tn.orange.secoure; import android.app.TabActivity; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.widget.TabHost; import android.widget.TabHost.TabSpec; public class Settings extends TabActivity { /** Called when the activity is first created. */ ...
import java.lang.reflect.Array; import java.util.Arrays; import java.util.List; import java.util.ArrayList; import java.util.Queue; import java.util.LinkedList; import java.util.Set; import java.util.HashSet; public class Tester { private static class Node { String val; List<Node> friends; ...
package simple_armors_mod; import com.google.common.collect.Multimap; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.Entity; import net.minecraft.enti...
package de.wiltherr.ws2812fx.serial.entity.uint; public class UInt16 extends AbstractUInt { public static final int MAX_VALUE = 65535; public static final int BIT_SIZE = 16; public static final int BYTE_SIZE = 2; private byte[] bytes; UInt16(byte[] byteArray) { super(byteArray, Type.U_INT...
package algo3.fiuba.modelo.campo; import algo3.fiuba.modelo.excepciones.CampoNoPermiteColocarCartaExcepcion; import java.util.LinkedList; import java.util.List; public class ZonaCartas<T> { private List<T> cartas; private Integer limite; private T cartaNula; public ZonaCartas(Integer limite, T cart...
package com.zhss.oa.auth.model; /** * 授权实体类 * @author zhonghuashishan * */ public class Authorization { private Long id; private Long employeeId; private Long roleId; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Long getEmployeeId() { return employeeId; }...
//License /*** * Java Modbus Library (jamod) * Copyright (c) 2002-2004, jamod development team * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions of source code must re...
// ClosureParser // Author: Niko Pinnis // version 0.1 // License MIT package nip; //import com.sun.istack.internal.NotNull; public class ClosureParser { public static int countDepth(String string, String[] closures) { return countDepth(string, closures[0], closures[1]); } public static int co...
package se.ade.autoproxywrapper.config.model; import javafx.collections.ObservableList; import se.ade.autoproxywrapper.loopback.LoopBackConfig; import se.ade.autoproxywrapper.model.ForwardProxy; import java.util.ArrayList; import java.util.List; public class GsonConfig { private List<ForwardProxy> forwardProxie...
package com.example.waymon.coolweather.util; /** * Created by Administrator on 2016/6/11 0011. */ public interface HttpCallbackListener { void onFinished(String response); void onError(Exception e); }
package gov.nih.mipav.view.renderer.J3D.surfaceview; import gov.nih.mipav.model.structures.*; import gov.nih.mipav.view.renderer.J3D.*; import javax.media.j3d.*; import javax.vecmath.*; /** * Used to generate a scene node item that that represents the rendering of the volume using texture maps. */ public class...
package com.example.hyunyoungpark.action; import android.app.DialogFragment; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.Spinner; /** * ...
package com.himanshu.springboot2.foundation.context.setup; import com.himanshu.springboot2.foundation.context.PropertiesPostProcessor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class TestPropertiesLoaderConfig extends Propert...
package de.digitalstreich.Manufact.model.auth; import lombok.Getter; import lombok.Setter; import org.hibernate.annotations.CreationTimestamp; import org.hibernate.annotations.UpdateTimestamp; import javax.persistence.*; import java.sql.Date; import java.util.Set; @Entity @Table(name = "permissions") @Getter @Setter...
package com.bridgelabz.linkedlist; public class LinedListMain { public static void main(String[] args) { // Welcome message System.out.println("Welcome to linked list program"); LinkedList<Integer> myLinkedList = new LinkedList<Integer>(); // To append elements myLinkedList.append(56); myLi...
package net.lantrack.framework.sysbase.service.imp; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import net.lantrack.framework.core.entity.BaseEntity; import net.lantrack.framework.core.entity.PageEntity; import net.lantrack.framework.core.lcexception.ServiceExcep...
/* * Copyright (C) 2015 Adrien Guille <adrien.guille@univ-lyon2.fr> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any late...
/* * ### Copyright (C) 2008 Michael Fuchs ### * ### All Rights Reserved. ### * * Author: Michael Fuchs * E-Mail: michael.fuchs@unico-group.com * URL: http://www.michael-a-fuchs.de */ package org.dbdoclet.tidbit.action; import java.awt.event.ActionEvent; import org.dbdoclet.tidbit.Tidbit; import...
package com.restapi.model; import org.bson.types.ObjectId; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import java.util.ArrayList; import java.util.List; @Document(collection = "myGoals") public class MyGoals { private List<String> goals; pri...
package swiss.kamyh.elo.tools; import swiss.kamyh.elo.enumerate.GroupItemType; import swiss.kamyh.elo.gui.Item; import swiss.kamyh.elo.gui.ItemArmor; import java.util.ArrayList; /** * Created by Vincent on 06.06.2016. */ public class GroupItem { private final int max; private int number; private GroupI...
package meli.tmr.solarsystem.models; import meli.tmr.solarsystem.exceptions.SolarSystemException; import java.util.ArrayList; import java.util.List; public class SolarSystem { private List<Planet> planets; public SolarSystem(){ setPlanets(new ArrayList<>()); } public SolarSystem(List<Plane...
package com.niranjan.hibernate.DAO; import java.util.Set; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Transaction; import com.niranjan.hibernate.DTO.AddressDTO; import com.niranjan.hibernate.DTO.EmployeeDTO; import com.ni...
/* * 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 databases.koneksi; import enkapsulasi.enkapsulasiDaftarTiket; import implement.implementDaftarTiket; import java.s...
package basics; import java.util.Scanner; public class Profile { public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.print("NAME : "); String m = s.nextLine(); System.out.print("College : "); String n = s.nextLine(); System.out.print("De : "); String o ...
package com.niit.project.radiom.activity; import com.niit.project.radiom.R; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; public class WinActivity extends Activity { private Button backToMain; @Override protected void...
package com.wsy.controller; import com.jfinal.aop.Before; import com.jfinal.aop.Clear; import com.jfinal.core.Controller; import com.jfinal.ext.interceptor.GET; import com.jfinal.ext.interceptor.POST; import com.jfinal.kit.Kv; import com.jfinal.kit.PropKit; import com.jfinal.kit.StrKit; import com.wsy.interceptor.Auth...
package edu.hm.vss.client; import edu.hm.vss.userInterface.IUserInterface; import java.rmi.RemoteException; import java.rmi.server.UnicastRemoteObject; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** * implementation of the userinterface. * Adds, remove philosohpers and plates, after that ...
package com.sample.myapplication.network.service.client; import com.sample.myapplication.BuildConfig; import com.sample.myapplication.network.RestCall; import com.sample.myapplication.network.RestRequest; import com.sample.myapplication.network.base.BaseRestClient; import com.sample.myapplication.network.service.api.F...
package com.birivarmi.birivarmiapp.dto; public class CategoryStatsDto { private String categoryId; private String numItems; public String getCategoryId() { return categoryId; } public void setCategoryId(String categoryId) { this.categoryId = categoryId; } public String getNumItems() { return numItems; ...
package android.support.v4.os; import android.support.annotation.RestrictTo; import android.support.annotation.RestrictTo.Scope; import java.util.Locale; @RestrictTo({Scope.LIBRARY_GROUP}) final class LocaleHelper { LocaleHelper() { } static Locale forLanguageTag(String str) { int i = 2; ...
import java.applet.Applet; import java.awt.Checkbox; import java.awt.CheckboxGroup; import java.awt.Color; import java.awt.TextField; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; public class EventOnRadioButton1 extends Applet { CheckboxGroup obj=new CheckboxGroup(); Checkbox c1,c2,c3,c...
package com.example.cardapio; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; public class MainActivity extends AppCompatActivity { public static final String TITULO = "com.example.cardapio.TITULO"; @Override protected ...
import edu.smu.tspell.wordnet.Synset; import edu.smu.tspell.wordnet.SynsetType; import edu.smu.tspell.wordnet.WordNetDatabase; import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; import java.io.File; import java.io.FileNotFoundException; import...
package com.example.acer.slt_lite.adapter; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.util.Base64; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseA...
package io.nuls.base.api.provider.dex.facode; import io.nuls.base.api.provider.BaseReq; import java.math.BigInteger; public class CoinTradingReq extends BaseReq { private String address; private String password; private int quoteAssetChainId; private int quoteAssetId; private int baseAssetCh...
package com.legend.rmi.quickstart.server; import com.legend.rmi.quickstart.common.Constants; import com.legend.rmi.quickstart.common.ZooKeeperUtils; import org.apache.zookeeper.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.io.InterruptedIOException; import java.ne...
/* * ################################################################ * * ProActive Parallel Suite(TM): The Java(TM) library for * Parallel, Distributed, Multi-Core Computing for * Enterprise Grids & Clouds * * Copyright (C) 1997-2010 INRIA/University of * Nice-Sophia Antipolis/ActiveEon * Contact: ...
package com.lv.activity; import com.lv.movice.R; import android.animation.Animator; import android.animation.Animator.AnimatorListener; import android.animation.AnimatorInflater; import android.animation.AnimatorSet; import android.app.Activity; import android.content.Intent; import android.os.Bundle; impo...
/* * jsp나 servlet둘다 웹서버에서 해석 및 실행되어지므로, 글 등록 요청을 처리할 때는 * 둘다 가능하다. * 하지만 현재 시점에서 jsp로 개발하지 않는 이유는? * 앞으로 jsp는 서블릿의 디자인적 처리시 단점을 보완하기 위해 개발된 기술이므로 * jsp는 주로 디자인 영역에서 사용된다.. * * */ package com.webapp1216.board.controller; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletExce...
package entities; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; /** * * @author Malthe */ public class GeoCityDetails implements Serializable { public String city; public Str...
public class MainClass { public static void main(String[] args) { PhaseOneProject object=new PhaseOneProject(); object.program(); } }
package org.ronkitay.lectures.encodings; import java.nio.charset.StandardCharsets; import java.util.Base64; /** * @author Ron Kitay * @since 03-Oct-2021. */ public class Base64Encoding { public static void main(String[] args) { demoEncoding(); demoDecoding(); } private static void dem...
import java.util.Scanner; public class GuessNumber { public static void main(String[] args) { System.out.println("This is a program for number guessing."); Scanner input = new Scanner(System.in); int num = (int)(Math.random() * 100); int a = 0; //lower limit int b = 99; /...
package commands; import java.io.File; import java.util.List; import javax.swing.JOptionPane; import model.ApplicationContext; import org.apache.commons.io.FileUtils; import events.DirectoryChanged; import exceptions.FileNotSelectedException; import view.localization.Localization; public class Move implements Co...
package com.backend.listener; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import javax.servlet.ServletContext; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import javax.websocket.Session; public class OnlineListener implements ServletContextListener{...
package Metaphase02; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map; public class HashMapIterator { public static void main(String[] args) { HashMap<String,String> map = new HashMap<>(); map.put("a","s"); map.put("b","ss"); ...
package com.chisw.timofei.booking.reservation.controller; import com.chisw.timofei.booking.reservation.controller.api.ReservationRestService; import com.chisw.timofei.booking.reservation.controller.api.dto.GuestDTO; import com.chisw.timofei.booking.reservation.controller.api.dto.ReservationDTO; import com.chisw.timofe...
package stormedpanda.simplyjetpacks.items; import net.minecraft.inventory.EquipmentSlotType; import net.minecraft.item.ArmorItem; import net.minecraft.item.Item; import stormedpanda.simplyjetpacks.SimplyJetpacks; import stormedpanda.simplyjetpacks.lists.ArmorMaterialList; public class PilotGogglesItem extends ArmorIt...
package com.instantviking.tile.animation; public class DefaultTileAnimation implements Animation { @Override public void tick(long delta) { } @Override public float getCompletionFactor() { return 0; } }
package dulieu; public class ChuyenNganh extends SV{ private int STT; private String HoTen,Khoa,MonHoc; private float TinChi; private String GhiChu; //constructor public ChuyenNganh() { } public ChuyenNganh(int STT, String HoTen, String Khoa, String MonHoc, float TinChi, String...
package com.mkyong.web.model; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import ja...
package com.yjxxt.server.mapper; import com.yjxxt.server.pojo.PoliticsStatus; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** * <p> * Mapper 接口 * </p> * * @author tk * @since 2021-09-24 */ public interface PoliticsStatusMapper extends BaseMapper<PoliticsStatus> { }
/* * 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.gsitm.reserv.vo; import lombok.Data; import lombok.Getter; import lombok.Setter; /** * @author : 이창주 * @programName : SnackVO.java * @date : 2018. 6. 08. * @function : 간식 정보를 갖는 VO * <p> * [이름] [수정일] [내용] * ---------------------------------------------------------- * 이창주 2018-06-08 초안 작성 ...
package core.event.game.turn; import core.server.game.controllers.mechanics.TurnGameController; public class DrawStartTurnEvent extends AbstractTurnEvent { public DrawStartTurnEvent(TurnGameController turn) { super(turn); } }
package com.liuyufei.bmc_android.admin; import android.content.ContentResolver; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.support.annotation.RequiresApi; import android.support.v4.a...
package automat; public interface Resource { String uri(); }
package ua.com.rd.pizzaservice.service.pizza; import org.junit.Assert; import org.junit.Before; 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.ju...
package project; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JPasswordField; import javax.swing.border.EmptyBorder; import lotto.dao.MemberDAO; import javax.swing.JTextField; import javax....
/* * Origin of the benchmark: * repo: https://github.com/diffblue/cbmc.git * branch: develop * directory: regression/jbmc-strings/TokenTest01 * The benchmark was taken from the repo: 24 January 2018 */ import java.util.StringTokenizer; public class Main { public static void main(String[] args) ...
package android.support.v7.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.os.Build.VERSION; import android.support.annotation.RestrictTo; import android.support.annotation.RestrictTo.Scope; import ...
package info.mrconst.qlient.data; import android.content.Context; import android.widget.Filter; import android.widget.Filterable; import java.util.ArrayList; import java.util.Collection; import info.mrconst.qlient.notifications.NotificationCenter; public abstract class FilterableFeed<T> extends BaseFeed<T> implemen...
package com.atguigu.java; /* �߼�������� &���߼��� | ���߼��� �����߼��� && ����·�� || ����·�� ^ ���߼���� ˵���� 1.&��&& �����߶�Ϊtrue���Ϊtrue(ֻҪ��һ��Ϊfalse���Ϊfalse) 2.|��|| �����߶�Ϊfalse���Ϊfalse(ֻҪ��һ��Ϊtrue���Ϊtrue) 3.! : ȡ�� 4.^ :��ͬΪfalse����ͬΪtrue �ص� �� 1.�߼��������...
package com.turo.pages; import org.junit.Assert; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class MainPage extends Base{ Logger logger = LoggerFactory.getLogger(MainPage.class); @FindBy(xpath = "//*[name()...
package com.google.gwt.ParkIt.client; import java.util.Collection; import java.util.Comparator; import java.util.List; import com.google.gwt.ParkIt.shared.LatLong; import com.google.gwt.ParkIt.shared.MapEntry; import com.google.gwt.cell.client.NumberCell; import com.google.gwt.dom.client.Style; import com.google.gwt....
package com.pykj.mybatis.test; import com.pykj.mybatis.entity.Student; import com.pykj.mybatis.repository.StudengRepository; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryBuilder; import java.io.InputStream; public c...
package com.citibank.ods.persistence.pl.dao.rdb.oracle; import java.math.BigDecimal; import java.math.BigInteger; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.util.ArrayList; import com.citibank.ods.common.connection.rdb.ManagedRdbConnection; import com.cit...
package controller.gerente; import controller.TelaPrincipalController; import entity.Funcionario; import entity.Login; import java.net.URL; import java.util.ArrayList; import java.util.List; import java.util.ResourceBundle; import javafx.collections.FXCollections; import javafx.collections.ObservableList; i...
/* ExtendletLoader.java Purpose: Description: History: Wed May 28 17:01:32 2008, Created by tomyeh Copyright (C) 2008 Potix Corporation. All Rights Reserved. {{IS_RIGHT This program is distributed under LGPL Version 2.1 in the hope that it will be useful, but WITHOUT ANY WARRANTY. }}IS_RIGHT */ pack...
package slimeknights.tconstruct.plugin.jei.alloy; import java.util.List; import javax.annotation.Nonnull; import com.google.common.collect.ImmutableList; import mezz.jei.api.IGuiHelper; import mezz.jei.api.gui.IDrawable; import mezz.jei.api.gui.IDrawableAnimated; import mezz.jei.api.gui.IDrawableStatic; import mezz...
package com.itheima.bos.web.action; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStream; import java.util.List; import java.util.zip.ZipInputStream; import javax.annotation.Resource; import org.activiti.engine.ProcessEngine; import org.activiti.engine...
package implementation; import java.util.ArrayList; import java.util.HashSet; import java.util.Objects; /** * Represents a single course offered by ACU. Maintains data for * <ul> * <li>course subject</li> * <li>course number</li> * <li>course title</li> * <li>prerequisite list</li> * <li>s...
package com.xcl.service.Impl; import com.xcl.entity.Cart; import com.xcl.repository.CartRepository; import com.xcl.service.CartService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public class CartImpl implements CartSe...
import desmoj.core.simulator.Model; import desmoj.core.simulator.SimProcess; import desmoj.core.simulator.TimeSpan; import java.util.concurrent.TimeUnit; /** * Created by Pedro on 20/04/2015. */ public class AGV extends SimProcess { Modelo modelo; double speed; int currentposition; public AGV(Mode...
package nl.kasperschipper.alligatorithm.services.impl; import nl.kasperschipper.alligatorithm.services.BinaryDataReader; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.ArrayUtils; import org.springframework.core.io.ClassPathResource; import org.springframework.stereotype.Service; import java.io...
package selenium.basics.webdriver; import java.util.List; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.chrome.ChromeDriverService; public class JavaScriptDemo { public static void main(String[] args) {...
package com.example.authexample; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.http.client.HttpResponseException; import org.apache.http.client.ResponseHandler; import org.apache.http.client.methods.HttpDelete; import org.apache.http.impl.client.BasicResponseHandler;...
public class SameTree { /** * Returns if two trees are exactly same */ class TreeNode { TreeNode left; TreeNode right; int val; TreeNode(int val) { val = val; } } public boolean isSameTree(TreeNode p, TreeNode q) { if (p == null && q == null) return true; if (p == null || q == null) ret...
package p14; import java.util.ArrayList; import java.util.Random; public class Excute { public static void main(String[] args) { MapExam me = new MapExam(); ArrayList<MapExam> alMap = new ArrayList<MapExam>(); Random rand = new Random(); for (int i = 0; i < 10; i++) { me=new MapExam(); ...
package com.zhicai.byteera.activity.knowwealth.presenter; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.util.Log; import com.google.protobuf.InvalidProtocolBufferException; import com.zhicai.byteera.MyApp; import com.zhicai.byteera.activity.bean.BannerEntit...
package Service.impl; import DO.Request.LuckMoneyArg; import DO.Request.LuckMoneyDetailArg; import DO.Response.LuckMoneyDetailResult; import DO.Response.LuckMoneyResult; import Manager.LuckMoneyManager; import Manager.PayManager; import Service.LuckMoneyService; /** * Created by zhaoyf * 2015/12/4 */ public class ...
package com.esum.web.ims.etx.dao; import java.util.HashMap; import java.util.List; import java.util.Map; import com.esum.appetizer.dao.AbstractDao; import com.esum.appetizer.util.PageUtil; import com.esum.web.ims.etx.vo.Mspool; public class MspoolDao extends AbstractDao { public Mspool select(String mspMsgid, Str...
package com.larryhsiao.nyx.core.jots; import com.larryhsiao.nyx.core.jots.ConstJot; import com.larryhsiao.nyx.core.jots.JotUri; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; /** * Unit-test for the class {@link JotUri} */ public class JotUriTest { /** * C...
package com.frontlinerlzx.tmall_lzx.dao; import com.frontlinerlzx.tmall_lzx.pojo.User; import org.springframework.data.jpa.repository.JpaRepository; /** * @author lzx * @create 2019-08-31-10:23 */ public interface UserDao extends JpaRepository<User, Integer> { User findByName(String name); }
package com.SearchHouse.service.impl; import java.util.List; import javax.annotation.Resource; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.SearchHouse.mapper.HouseMapper; import com.SearchHouse.mapper.PhotoMapper; import com.SearchHouse....
package tarea19; public class NoMainDarly { public void registro(String numCedula, String Nombre) { System.out.println("Bienvenido a nuestra plataforma"); System.out.println("Su numero de cedula es:"); System.out.println(numCedula); System.out.println("Bienvenido/a "+Nombre); } }
package style.gui.test.correct; import javafx.scene.control.Label; import javafx.scene.effect.ColorAdjust; import javafx.scene.layout.HBox; import style.gui.icons.CorrectIcon; import style.gui.icons.Icon; import style.gui.icons.IncorrectIcon; import style.gui.CreateNodes; /** * Created by Markus on 2017-05-28. */ p...
package com.nag.android.kurikuri; import android.widget.TextView; import com.nag.android.util.FlipView; interface ResourceManager{ Board getBoard(); Properties getProperties(); AppPlayer getPlayer(); FlipView getSignBoard(); TextView getScoreBoard(); Score getScore(); }
package rdfsynopsis.dataset; import com.hp.hpl.jena.query.Query; import com.hp.hpl.jena.query.QueryExecution; public abstract class SparqlDataset extends Dataset { public abstract QueryExecution query(Query query); }