text
stringlengths
10
2.72M
package collection.visualizer.common; import bus.uigen.shapes.Shape; public class Util { @SuppressWarnings("rawtypes") public static Class convertWrapperClassToPrimitiveClass(Class c) { if (c.equals(Integer.class)) { return int.class; } if (c.equals(Byte.class)) { return byte.class; } if (c.equals(...
package com.stryksta.swtorcentral.ui.activities; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.text.Html; import android.view.MenuItem; import android.view.View; import android....
package com.tencent.mm.plugin.appbrand.appcache.a.d; import android.util.Pair; import com.tencent.mm.plugin.appbrand.p.c; import com.tencent.mm.protocal.c.aql; import com.tencent.mm.sdk.e.i; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.sdk.platformtools.x; import java.util.List; public class e ex...
package com.lizogub.HomeWork4; public class Codingbat { /** * Given 2 int values, return true if they are both * in the range 30..40 inclusive, or they are both * in the range 40..50 inclusive. */ public boolean in3050(int a, int b) { int minRange1 = 30; int maxRange1 = 40;...
package edu.kalum.notas.core.controllers; import edu.kalum.notas.core.models.dao.services.IAlumnoService; import edu.kalum.notas.core.models.entities.Alumno; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.DataAccess...
package api.longpoll.bots.methods.impl.stories; import api.longpoll.bots.adapters.deserializers.StoriesGetViewersResultDeserializer; import api.longpoll.bots.http.params.BoolInt; import api.longpoll.bots.methods.AuthorizedVkApiMethod; import api.longpoll.bots.methods.VkApiProperties; import api.longpoll.bots.model.obj...
package com.pajk.examples.kafka; import kafka.consumer.ConsumerIterator; import kafka.consumer.KafkaStream; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Created by liqingdong911 on 2015/8/10. */ public class ConsumerMsgTask implements Runnable { private static final Logger logger ...
/* * Eduardo Cortes - t11m013 * Ignacio Amaya - t11m021 * GRUPO MI */ import es.upm.babel.cclib.Monitor; import es.upm.babel.cclib.Monitor.Cond; public class GestorDeEventosMonitor implements GestorDeEventos{ //Vamos a crear las variables que usaremos para controlar que se cumpla la especificacion formal que...
/* * 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.tarkesh.job_role; import com.tarkesh.entity.JobRole; import com.tarkesh.operation.Operations; import java.io.IOException; ...
package com.thoughtworks.data.product; /** * Created on 15-06-2018. */ class ProductDetailEntity { }
import java.net.URI; import java.net.URISyntaxException; import microsoft.exchange.webservices.data.*; /** * <pre> * <B>Copyright:</B> Izik Golan * <B>Owner:</B> <a href="mailto:golan2@hotmail.com">Izik Golan</a> * <B>Creation:</B> 15/08/14 11:09 * <B>Since:</B> BSM 9.21 * <B>Description:</B> *...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package unalcol.types.collection; /** * @author jgomez */ public interface KeyMap<K, T> { public T get(K key, Collection<T> collection); public K key(T obj, Collection<T> collection); }
package com.tencent.mm.plugin.messenger.foundation.a; import com.tencent.mm.protocal.c.aue; import com.tencent.mm.storage.ab; public interface c { void a(ab abVar, ab abVar2, aue aue, byte[] bArr, boolean z); void b(ab abVar, ab abVar2, aue aue, byte[] bArr, boolean z); }
/* * 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 Vista; import Controlador.GestionSupermercado; import Controlador.Principal; import Modelo.Reposicion; import Modelo.Supermerc...
import javax.swing.*; import java.awt.event.ActionListener; public interface MainForm { JPanel getContent(); JButton getButton(); JTextField [] getTextFields(); void setTextField(String[] names); void setListener(ActionListener listener); }
package com.vishant.sandwichtechnologies; import java.util.List; import org.springframework.data.mongodb.repository.MongoRepository; public interface DogRepository extends MongoRepository<Dog, String> { public Dog findByDogName(String dogName); public List<Dog> findByDogBreed(String dogBreed); }
/* * Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved. * * 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 ...
package zystudio.demo.multigate2; public class RequestGenerator { }
package com.rofour.baseball.dao.user.bean; import java.io.Serializable; import java.util.Date; /** * @ClassName: FeedBackBean * @Description: 反馈信息实体类 * @author sdd * @date 2016年3月27日 下午6:39:09 * */ public class FeedBackBean implements Serializable{ private static final long serialVersionUID = -2550432487132921383L...
package com.tencent.mm.plugin.traceroute.ui; import android.os.Bundle; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import com.tencent.mm.R; import com.tencent.mm.a.e; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.ui.MMActivity; import java.io.File;...
package androidjsoupparser.inducesmile.com.url_links; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.os.AsyncTask; import android.util.Log; import java.lang.*; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.ArrayAdapter...
package cityUnknown; public class Store { }
public class Test{ public static void main(String[] args){ //allocate array memory Employee employee=new Employee(); employee.name="Falcao"; employee.hours=40; employee.rate=15.50; employee.address=new Address[5]; //initialize first element employee.address[0]=new Address("Queen", 48, "K1P1N2");...
package com.bts.essentials.authentication; import com.bts.essentials.BaseIntegrationTest; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.AuthenticationException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.Http...
package ad.joyplus.com.myapplication.AppUtil.glide.request.target; import android.graphics.drawable.Drawable; import android.widget.ImageView; import ad.joyplus.com.myapplication.AppUtil.glide.request.target.*; /** * A target for display {@link Drawable} objects in {@link ImageView}s. */ public class DrawableImage...
/* */ package de.stuuupiiid.dungeonpack; /* */ /* */ import java.util.Random; import net.minecraft.util.ResourceLocation; /* */ /* */ public class DungeonGeneratorTreeHouse /* */ extends DungeonGenerator /* */ { /* */ public boolean generate(Random random, int par1, int par2, int...
package com.lubarov.daniel.web.http.parsing; import com.lubarov.daniel.data.dictionary.KeyValuePair; import com.lubarov.daniel.data.option.Option; import com.lubarov.daniel.data.util.ArrayUtils; import com.lubarov.daniel.parsing.ParseResult; import com.lubarov.daniel.parsing.Parser; import java.io.UnsupportedEncoding...
package com.trantienptit.sev_user.chatbot23.model; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.PixelFormat; import android.os.AsyncTask; import android.text.TextUtils; import android.util.DisplayMetrics; import android.util.Log; import android.v...
package com.tfjybj.integral.model; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.NoArgsConstructor; import lombok.ToString; import lombok.experimental.Accessors; import java.util.List; @ApiModel(value="WeekTomatoModel:返回的-周-番茄信息") @NoArgsCon...
package graphana.script.bindings.basictypes; import scriptinterface.ScriptType; import scriptinterface.execution.returnvalues.ExecutionResult; /** * Script type wrapper for the closure of an operation call. * * @author Andreas Fender */ public class GExecuterCall extends ExecutionResult<ExecuterCallData...
package com.tencent.mm.plugin.appbrand.canvas; import android.graphics.Bitmap; import com.tencent.mm.modelappbrand.b.b.h; import com.tencent.mm.plugin.appbrand.canvas.g.a; class j$1 implements h { final /* synthetic */ a fno; final /* synthetic */ j fnp; final /* synthetic */ String sk; final /* synth...
package com.kmilewsk.github; import org.junit.jupiter.api.Test; import org.junit.runner.RunWith; import org.mockito.junit.MockitoJUnitRunner; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.context.ApplicationContext...
package com.travelportal.controllers; import java.util.HashMap; import java.util.List; import play.data.DynamicForm; import play.db.jpa.Transactional; import play.libs.Json; import play.mvc.Controller; import play.mvc.Result; import views.html.home; import com.travelportal.domain.HotelRegistration; import com.travel...
package top.kylewang.bos.web.controller.system; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import top.kylewang.bos.domain.sys...
package com.nt.as; public class ServletClass { }
package com.avalara.avatax.services.base; import javax.xml.soap.SOAPException; /** * Interface for the basic Web service functionality shared by the Address and Tax Service -- * essentially setting the connection and authentication information necessary for * both service proxies to connect to Avalara's Web servic...
package com.rsm.yuri.projecttaxilivredriver.editprofile.di; import com.rsm.yuri.projecttaxilivredriver.TaxiLivreDriverAppModule; import com.rsm.yuri.projecttaxilivredriver.domain.di.DomainModule; import com.rsm.yuri.projecttaxilivredriver.editprofile.ui.EditProfileActivity; import com.rsm.yuri.projecttaxilivredriver.l...
import java.util.HashMap; import java.util.Set; /** * Class Room - a room in an adventure game. * * This class is part of the "World of Zuul" application. * "World of Zuul" is a very simple, text based adventure game. * * A "Room" represents one location in the scenery of the game. It is * connected to oth...
package com.mrhan.text.tatl.base; import com.mrhan.text.tatl.ActionType; import com.mrhan.text.tatl.IBlockAction; import com.mrhan.text.tatl.ISingleAction; import com.mrhan.text.tatl.ITextTemplate; /** * 单条语句操作实现类 */ public class SingleAction implements ISingleAction { /* * 字符模板 */ private ITextTe...
package com.yida.design.Mediator.demo.colleague; import com.yida.design.Mediator.demo.mediator.AbstractMediator; /** ********************* * 抽象同事类 * * @author yangke * @version 1.0 * @created 2018年5月11日 下午4:57:55 *********************** */ public abstract class AbstractColleague { protected Ab...
package org.dmonix.util.zip; import java.io.*; import java.util.logging.Level; import java.util.logging.Logger; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; import org.dmonix.io.IOUtil; /** * Class for writing/deflating entries to a ZIP file. * <p> * Copyright: Copyright (c) 2...
/* * GNUnetWebUI - A Web User Interface for P2P networks. <https://gitorious.org/gnunet-webui> * Copyright 2013 Sébastien Moratinos <sebastien.moratinos@gmail.com> * * * This file is part of GNUnetWebUI. * * GNUnetWebUI is free software: you can redistribute it and/or modify * it under the terms ...
public abstract class Personagem { protected String nome; protected Inventario inventario; protected int experiencia; protected int vida; protected Status status; public Personagem(String nome) { this.nome = nome; this.experiencia = 0; this.inventario = new Inven...
package com.tfjybj.integral.model; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.ToString; import lombok.experimental.Accessors; import java.io.Serializable; import java.util.List; import java.util.Set; /** * @author 崔晓鸿 * @since 2019年9月12日17:38:31 */ @Data @Accessors(chain = ...
package Pom_class; import java.util.List; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; public class Github_home_links { @FindBy(xpath="//a") private List<WebElement> links; public Github_h...
public class Staircases { public static void main(String[] args) { System.out.println(solution(200)); } public static int solution(int n) { return countSteps(n, n + 1); } // Recursively checks for and counts all valid staircases. // Leverages the 1+2+3...+n series to avoid an exh...
package sc.helpers; import sc.protocol.responses.ProtocolMessage; public interface IAsyncResult { void operate(ProtocolMessage result); }
package com.sidexia.common; /** * Constant values used throughout the application. * * @author SAMIR GHAOUTA */ public final class Constants { }
package br.com.zup.edu.nossositedeviagens.controller; import br.com.zup.edu.nossositedeviagens.repository.AeroportReposity; import br.com.zup.edu.nossositedeviagens.repository.PaisRepository; import br.com.zup.edu.nossositedeviagens.model.dto.AeroportDto; import br.com.zup.edu.nossositedeviagens.model.dto.AeroportRes...
package MedianOfTwoSortedArrays; /** * /** * 题目内容 * * There are two sorted arrays nums1 and nums2 of size m and n respectively. * Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). * Example 1: * nums1 = [1, 3] * nums2 = [2] * The median is 2.0 * Example 2: ...
package cn.edu.hebtu.software.sharemate.Activity; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap; import android.net.Uri; import android.os.Environment; import android.provider.MediaStore; import android.support...
package game.service.cmd; import game.entity.Cmd; public interface CmdService { Cmd convertCmd(String originContent) throws CmdException; }
package com.gokuai.yunku.demo.ent; import com.gokuai.base.DebugConfig; import com.gokuai.yunku.demo.Config; import com.gokuai.yunku.demo.helper.DeserializeHelper; import com.gokuai.yunku.demo.helper.EntManagerHelper; /** * Created by qp on 2017/3/16. * * 使用合作方 OutID 进行认证 */ public class AccessTokenWithThirdPartyO...
package co.tweetbuy.utils; import com.google.gson.JsonObject; import co.tweetbuy.bean.UserBean; import co.tweetbuy.util.AppUtil; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURL...
package jp.captureAutomationPrj.core; import java.io.File; import java.net.URL; import java.util.Properties; import java.util.concurrent.TimeUnit; import org.openqa.selenium.*; import jp.captureAutomationPrj.constant.CaptureProperties; import jp.captureAutomationPrj.util.CaptureUtil; import jp.captureAuto...
package webmail.pages; import org.stringtemplate.v4.ST; import webmail.misc.VerifyException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * Created by JOKER on 10/28/14. */ public class AmailPage extends Page { public AmailPage(HttpServletRequest request, H...
package mainDemo; import java.util.List; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; import entity.Student; public class Select_using_HQL { public static void main(String[] args) { // create session factory SessionFactory factory = new Configurat...
package cn.ouyangnengda.dubbo.DubboSPI; import java.util.Scanner; /** * @Description: * @Author: 欧阳能达 * @Created: 2019年09月12日 15:44:00 **/ public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); int n = input.nextInt(); /*for (int i = 0; i ...
package com.spower.business.examitem.command; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; import com.spower.basesystem.common.command.BaseCommandInfo; /** * @author huangwq *2014年11月24日 */ public class ExamItemEditInfo extends BaseCommandInfo { /**项目编号*/ ...
package com.polsl.edziennik.desktopclient.view.common.dialogs; import java.awt.BorderLayout; import java.awt.Dimension; import java.util.ResourceBundle; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JScrollPane; import javax.swing.JTable; imp...
package com.pointburst.jsmusic.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.pointburst.jsmusic.R; import com.pointburst.jsmusic.model.Media; import jav...
/* * 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 br.edul.ifsul.controle; import br.edu.ifsul.dao.CidadeDAO; import br.edu.ifsul.dao.PessoaDAO; import br.edu.ifsul.dao...
package com.zpjr.cunguan.ui.activity.security; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.zpjr.cunguan.R; import com.zpjr.cunguan.common.base.BaseActivity; /** * Description: 手势密码解锁界面 * Autour: LF * Date: 2017/7/24 17:01 */ public class GestureL...
package baekjoon.dp1; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Test_1904 { //DP문제 메모리제이션 활용 //N>=2일때만 arr[2]=2 가 되도록 해줌으로써 런타임에러 해결 static final int NUM = 15746; public static void main(String[] args) throws IOException { Buffer...
package com.demo; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryBuilder; import java.io.IOException; import java.io.InputStream; /** * @description: * @author: hezhichao * @date: 2019-04-24 下午4:50 */ public class App {...
package gk.netty.com.heartbeat; import java.net.InetSocketAddress; import java.util.concurrent.TimeUnit; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelOption; import io.netty.channel.EventLoopGroup;...
package com.example.hawkeyetest; import java.io.IOException; import android.app.Activity; import android.content.pm.ActivityInfo; import android.graphics.ImageFormat; import android.graphics.PixelFormat; import android.hardware.Camera; import android.hardware.Camera.Parameters; import android.hardware.Camera.PreviewC...
package com.techlab.dip.test; import com.techlab.dip.TaxCalculator; public class TaxCalculatorTest { public static void main(String[] args) { TaxCalculator calc = new TaxCalculator(0); System.out.println(calc.calculateTax(5, 2)); System.out.println(calc.calculateTax(0, 0)); } }
package com.tencent.mm.plugin.luckymoney.a; import android.text.TextUtils; import com.tencent.mm.bt.h.d; import com.tencent.mm.g.a.tm; import com.tencent.mm.model.ar; import com.tencent.mm.model.p; import com.tencent.mm.platformtools.ab; import com.tencent.mm.plugin.luckymoney.b.aj; import com.tencent.mm.plugin.luckym...
package cn.edu.zucc.music.service.impl; import cn.edu.zucc.music.dao.UserMapper; import cn.edu.zucc.music.model.User; import cn.edu.zucc.music.service.UserService; import org.springframework.stereotype.Service; import javax.annotation.Resource; import java.util.List; @Service public class UserServiceImpl implements...
package mop.main.java.database.model.queryable; public class Episode extends Queryable { private int episodeId, episodeNumber; private String name, fileLocation; public int getEpisodeId() { return episodeId; } public int getEpisodeNumber() { return episodeNumber; } pub...
package com.lbs.index; import java.io.File; public interface Searcher { int search(File indexDir, String q) throws Exception; }
package org.corbin.common.service; import org.corbin.common.base.service.BaseService; import org.corbin.common.entity.SongStatisticsDayLog; import org.corbin.common.repository.CollectInfoRepository; import org.corbin.common.repository.CommentInfoRepository; import org.corbin.common.repository.SingerInfoRepository; imp...
package com.hcl.dmu.sowpes.dao; import java.util.List; import com.hcl.dmu.clientprocess.vo.CandidateClientProcessVo; import com.hcl.dmu.sowpes.vo.CandidateSowPesVo; public interface CandidateSowPesDao { List<CandidateClientProcessVo> getAllClientSelectedDetails(); public int updateSelectedDetails(CandidateSow...
package com.example.coronapp; import com.example.coronapp.entity.Humain; import com.example.coronapp.enumeration.EtatDeSante; import com.example.coronapp.service.HumainService; import com.example.coronapp.utils.HunainUtils; import org.assertj.core.api.Assertions; import org.junit.Test; import org.junit.runner.RunWith;...
package matth.dungeon.RandomEventTile; import android.content.Context; import matth.dungeon.Utility.FileUtility; import matth.dungeon.Utility.PlayerInfoPassUtility; public class HealthPotionEvent extends RandomEvent { public HealthPotionEvent(PlayerInfoPassUtility playerInfoPassUtility, Context con) { s...
package errors; @SuppressWarnings("serial") public class BadReturnValueError extends BaseException { }
package de.jmda.app.cgol.xy.fx.cdi.view.grid.shapetemplate; import org.junit.Test; import de.jmda.app.cgol.xy.fx.cdi.view.grid.shapetemplate.CircleTemplatePopulated; import de.jmda.app.cgol.xy.fx.cdi.view.grid.shapetemplate.CircleTemplateUnpopulated; import javafx.scene.shape.Circle; public class JUTShapeTem...
package mx.com.azaelmorales.yurtaapp; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import android.content.Intent; ...
package com.layla.modules; import android.os.Handler; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.util.*; import android.view.KeyEvent; import android.view.View; import android.widge...
package vanadis.objectmanagers; /** * Common interface for simple status reports, providing some reflection into * an {@link vanadis.ext.ObjectManager}. * * @see ObjectManager#getExposedServices() * @see ObjectManager#getInjectedServices() * @see ObjectManager#getConfigureSummaries() */ public interface Managed...
package co.staruml.test; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class CanvasSWTTest { public static void main(String [] args) { final Display display = new Display(); f...
package com.cngl.bilet.service.impl; import java.util.List; import com.cngl.bilet.dto.EngelliRotaRequestDto; import com.cngl.bilet.dto.EngelliRotaResponseDto; import com.cngl.bilet.entity.EngelliRota; import com.cngl.bilet.repository.EngelliRotaRepository; import com.cngl.bilet.repository.HavayoluRepository; import c...
package com.bluemingo.bluemingo.service; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Service; import com.bluemingo.bluemingo.domain.AdvVO; im...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package com.duanxr.yith.easy; /** * @author Duanran 2019/1/24 0024 */ public class LicenseKeyFormatting { /** * You are given a license key represented as a string S which consists only alphanumeric * character and dashes. The string is separated into N+1 groups by N dashes. * * Given a number K, we w...
package id.co.ahm.sd.nis.app020.util; import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.util.HashMap; import java.util.Map; import javax.persistence.EmbeddedId; import javax.persistence.Id; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import...
package officehours06_01; public class Developer { // name, employeeID, JobTitle, Salary // hasCodingSkills // // Constructor: // accepts and sets all instance variables // // Actions: // ...
/** * @author baihu868 * INFO202 2019 * Sale */ package domain; import java.math.BigDecimal; import java.time.LocalDate; import java.util.ArrayList; import net.sf.oval.constraint.NotBlank; import net.sf.oval.constraint.NotNull; public class Sale { private Integer saleID; @NotNull(message = "Date must be p...
package assemAssist.model.option; /** * This enum describes the different types of * {@link assemAssist.model.operations.task.Task}s, it has a certain name (used * in toString) and description. These option categories are used in the * {@link assemAssist.model.factoryline.workStation.WorkStation}s to filter the ...
package Pages; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; public class MiniStatementPage { @FindBy(xpath = "html/body/div[2]/div/ul/li[13]/a") public WebElement MinistatementPageField; @FindBy(name = "accountno") public WebElement AccountNumberField; @FindBy(name ...
/** * 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...
import javax.swing.*; /** * Klasa tworząca pop-up kończący grę. */ class ThreadForJOptionPane implements Runnable { /** * Wątek */ private Thread thread; /** * Wiadomość: 'biały' lub 'czarny' */ private String msg; private JFrame window; /** * Tworzenie obiektu ora...
import java.sql.ResultSet; import java.sql.SQLException; import kovaUtils.OpalDialog.kovaDialog.OpalDialogType; import net.miginfocom.swt.MigLayout; import org.eclipse.swt.SWT; import org.eclipse.swt.events.FocusEvent; import org.eclipse.swt.events.FocusListener; import org.eclipse.swt.events.KeyEvent; im...
package day49_AbstractionIntro; public abstract class Abstraction { public static void main(String[] args) { } public abstract void startTheCar(); } class Toyota extends Abstraction{ @Override public void startTheCar() { System.out.println("Brake"); System.out.println("push the start button"); Syste...
package metodosAgen; import java.util.ArrayList; import java.util.Date; public class Pasaje { private String origen; private String destino; private int precioTotal; private Date fechaIda; private Date fechaVuelta; private String nombreCliente; private String empresa; private String ti...
/* * 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 uk.ac.dundee.computing.aec.instagrim.servlets; import com.datastax.driver.core.Cluster; import java.io.IOException; import ja...
package ist.meic.ie.createcustomer; import com.amazonaws.services.lambda.runtime.Context; import com.amazonaws.services.lambda.runtime.LambdaLogger; import com.amazonaws.services.lambda.runtime.RequestStreamHandler; import ist.meic.ie.utils.Constants; import ist.meic.ie.utils.DatabaseConfig; import ist.meic.ie.utils.L...
package org.tosch.neverrest.data.repositories; import org.springframework.data.repository.CrudRepository; import org.springframework.data.repository.NoRepositoryBean; import org.tosch.neverrest.data.models.CoreDataEntity; import java.io.Serializable; import java.util.UUID; @NoRepositoryBean public interface CoreEnti...
import java.awt.*; import java.awt.event.*; class Buttons extends Frame implements ActionListener { Button b1,b2,b3; Buttons() { setLayout(new GridBagLayout()); b1=new Button("Yellow"); b2=new Button("Blue"); b3=new Button("Pink"); b1.setBounds(100,100,70,40); b2.setBounds(100,160,70,40); b3.setBoun...