text
stringlengths
10
2.72M
/* $Id$ */ package djudge.judge.dcompiler; public class CompilerTask { /* * Files to compile */ DistributedFileset files; /* * Language ID */ String languageId; //String mainFile; public CompilerTask() { // TODO Auto-generated constructor stub } public CompilerTask(St...
package com.game.chess.api.security.filter; import lombok.Builder; import org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter; import javax.servlet.http.HttpServletRequest; @Builder public class ApiKeyFilter extends AbstractPreAuthenticatedProcessingFilter { private ...
package maze.test; import static org.junit.Assert.*; import java.awt.Point; import org.junit.Test; import maze.logic.*; public class TestMazeWithStaticDragon { char [][] m1 = {{'X', 'X', 'X', 'X', 'X'}, {'X', ' ', ' ', 'H', 'S'}, {'X', ' ', 'X', ' ', 'X'}, {'X', 'E', ' ', 'D', 'X'}, ...
package com.javarush.task.task18.task1821; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.*; /* Встречаемость символов */ public class Solution { public static void main(String[] args) throws IOException { Map...
public class Citation implements CitationAPI { public static void main(String[] args) { // } public String getAuthor() { } public String getAccessedDate() { } public String getPublishedDate() { } public String getURL() { } public String sort(); }
import play.*; import play.libs.*; import java.util.*; import com.avaje.ebean.*; import models.*; public class Global extends GlobalSettings { /* public void onStart(Application app) { InitialData.insert(app); } static class InitialData { public static void insert(Application...
/** * 湖北安式软件有限公司 * Hubei Anssy Software Co., Ltd. * FILENAME : PolicyElucidationServer.java * PACKAGE : com.anssy.inter.service.server * CREATE DATE : 2016-8-3 * AUTHOR : make it * MODIFIED BY : * DESCRIPTION : */ package com.anssy.inter.base.server; import com.anssy.inter.base.vo.NewsPa...
package com.filestore.monitor; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ScheduledThreadPoolExecutor; import java.util.concurrent.TimeUnit; public class DataStoreMonitoringProcessDriver { private static Map<String, ScheduledThreadPoolExecutor> executors = new HashMap<>(); private...
package com.ziaan.scorm; import java.io.IOException; import javax.servlet.ServletInputStream; class MultipartInputStreamHandler { public MultipartInputStreamHandler(ServletInputStream in, int totalExpected) { totalRead = 0; buf = new byte[8192]; this.in = in; this.totalExpe...
package Hackathon; import java.util.Scanner; public class Battle { public static final int minEnc = 1, maxEnc = 2, encNumber = 1, range = maxEnc - minEnc + 1; public static int rand, attack, hitDMG, hitChance, merch, city = 0; public static void battleSequence(int minRange, int maxRange, String eType,...
package com.git.cloud.bill.model.vo; import java.util.List; public class BillPageParamVo { private String billMonth; private Integer pageNo; private Integer pageSize; private List<String> custIdList; private List<String> extCustIds; private Integer billFeeMin; private Integer bil...
package pojo.valueObject.assist; import org.hibernate.annotations.*; import org.hibernate.annotations.CascadeType; import pojo.valueObject.domain.ProjectVO; import pojo.valueObject.domain.TeamVO; import javax.persistence.*; import javax.persistence.Entity; import javax.persistence.Table; /** * Created by geyao on 2...
package com.ssafy.repositories; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.transaction.annotation.Transactional; import com.ssafy.entity....
package com.capstone.videoeffect; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.media.MediaPlayer; import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android.view.MenuItem; import android.view.View; import android....
package com.test04; import javax.annotation.Resource; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Component; // TODO : 002. <bean id="userService" class="com.test04.UserServiceImpl">을 annotation으로 @Component("userService") public class UserServiceImpl...
package com.finahub.coding.server.utils; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class DBConnection { // JDBC driver name and database URL static final String JDBC_DRIVER = "org.h2.Driver"; st...
package com.theshoes.jsp.shoes.model.dto; public class ShoesImgDTO { private int shoesThumbNo; private int stNo; private String originalName; private String savedName; private String savePath; private String fileType; private String thumbnailPath; private String status; }
package com._520it.wms.query; import com._520it.wms.util.DateUtil; import lombok.Getter; import lombok.Setter; import java.util.Date; @Setter @Getter public class OrderBillQueryObject extends BaseAuditQueryObject { private Long supplierId = -1L; // 供应商id }
/* * Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.types.confirmation; import pl.edu.icm.unity.Constants; import pl.edu.icm.unity.exceptions.InternalException; import pl.edu.icm.unity.types.JsonSerializable; import c...
package com.lovers.java.domain; import java.util.ArrayList; import java.util.Date; import java.util.List; public class WorkflowTaskExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table workflow_task * * @mbg.generated Wed Sep 25 10:59:33 ...
package end2end; import enums.TestConstants; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.support.ui.Select; import org.testng.Assert; public class E2E { //Total practice UI elemen...
/** * <copyright> * </copyright> * * $Id$ */ package ssl.impl; import java.util.Collection; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.EOb...
/* * Copyright (c) 2013-2014, Neuro4j.org * * 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 vista.Productos; import java.awt.event.ActionEvent; import java.util.Vector; import javax.swing.AbstractAction; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JTextField; import javax.swing.WindowConstants; import contro...
package com.design.patterns.tests; import com.design.patterns.creationals.factoryMethod.BasePizzaFactory; import com.design.patterns.creationals.factoryMethod.Pizza; import com.design.patterns.creationals.factoryMethod.PizzaFactory; public class TestFactoryMethod implements ITestPattern { @Override public vo...
package com.restcode.restcode.resource; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; public class SavePlanResource { @NotNull @NotBlank @Size(max = 100) private String name; @NotNull private Double price;...
/* * Copyright 2002-2022 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 interview.pinduoduo.C; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String result = ""; // 保存结果 int n = sc.nextInt(); //彩票数字个数 int k = sc.nextInt(); // 至少有k个相同 sc.nextLine(); //去掉空格 ...
package com.zc.base.bla.modules.menu.bo; import com.zc.base.bla.modules.menu.entity.Privilege; public class PrivilegeBo extends Privilege { private static final long serialVersionUID = 1L; private String id; private String text; private boolean isLeaf; public String getId() { ...
package org.firstinspires.ftc.teamcode.Autonomous.StatesAuton; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.hardware.DcMotor; import org.firstinspires.ftc.robotcore.external.navigation.AngleUnit; import org.firstinspire...
package br.com.alura.streams; import java.util.ArrayList; import java.util.Comparator; import java.util.List; import java.util.OptionalDouble; import java.util.stream.Collectors; public class ExemploCursos { public static void main(String[] args) { List<Curso> cursos = new ArrayList<>(); cursos.add(new Curso...
/* * Copyright 2019 WeBank * * 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 in writi...
package searchnsort; public class SearchInterspersed { public static int find(String[] words, String word) { if (words.length == 0) return -1; return find(words, word, 0, words.length - 1); } private static int find(String[] words, String word, int start, int end) { if (start >= end) return -1; in...
package com.example.jiyushi1.dis.model; /** * Created by jiyushi1 on 7/23/15. */ public class ShopList { private String shopName; private String special; private int iconID; public int getIconID() { return iconID; } public void setIconID(int iconID) { this.iconID = iconID; ...
package kiemtra; abstract public class Nhanvien { public String ma; public String hoTen; public double luong; abstract public double getLuong(); public Nhanvien(String ma, String hoTen, double luong) { super(); this.ma = ma; this.hoTen = hoTen; this.luong = luong; } // public String getHocLuc() { // ...
/** * Created with IntelliJ IDEA. * User: dexctor * Date: 12-12-24 * Time: 下午9:13 * To change this template use File | Settings | File Templates. */ public class MyDepthFirstSearch { private MyGraph G; private final int s; private boolean marked[]; private int edgeTo[]; private int count; ...
package com.java.locks; import java.util.Arrays; public class SelectLowerElement { public int[] swapArray(int[] swap) { int len = swap.length; int lowerIndex; for (int i = 0; i < len; i++) { lowerIndex = selectLowerNum(swap, i); if (lowerIndex != i) { ...
package com.example.front_end_of_clean_up_the_camera_app.UserHome; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Message; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; impor...
package com.longfellow.listnode; /** * @author longfellow * O(1) 时间复杂度删除链表 */ public class DeleteListNode { public ListNode solution(ListNode head, ListNode target) { if (target == null) { return head; } if (target.next == null) { ListNode tmp = head; while (tmp.next != target) { ...
package com.example.smsviawifi; import java.io.File; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.Locale; import android.content.ContentResolver; import android.content.Context; import android...
package view.sentences_manager; import java.awt.Color; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JLabel; import model.SentencesManager; import view.DefaultGridPanel; import view.StyleParameters; import view.customized_widget...
package de.varylab.discreteconformal.heds.adapter; import java.util.HashSet; import java.util.Set; import de.jtem.halfedgetools.adapter.AbstractTypedAdapter; import de.jtem.halfedgetools.adapter.AdapterSet; import de.jtem.halfedgetools.adapter.type.Color; import de.varylab.discreteconformal.heds.CoEdge; impo...
package uk.co.tekkies.readings.day; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import java.util.Calendar; import uk.co.tekkies.readings.R; import uk.co.tekkies.readings.model.Passage; import uk.co.tekkies.readings.util.DatabaseHelper; public class ...
package io.pivotal.racquetandroid.view; import android.content.Context; import android.content.res.TypedArray; import android.text.TextUtils; import android.util.AttributeSet; import android.view.LayoutInflater; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; impor...
package com.atsbt.springboot.controller; import java.util.List; import javax.sql.DataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PostMapping; import com.atsbt.springboot.bean.TAdmin; import co...
package bean; public class AdminLoginBean { private Integer a_id; private String a_account; private String a_password; public Integer getaId() { return a_id; } public void setaId(Integer aId) { this.a_id = aId; } public String getaAccount() { return a_accoun...
package com.minrisoft; public class Test { public static void main(String[] args) { System.out.println("克隆之前:"); Employee employee1 = new Employee();// 创建Employee对象employee1 employee1.setName("张XX");// 为employee1设置姓名 employee1.setAge(30);// 为employee1设置年龄 System.out.println(...
import java.io.IOException; import java.net.URISyntaxException; import utilities.userSession; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JOptionPane; import javax.xml.parsers.ParserConfigurationException; import javax.xml.xpath.XPathExpressionExcep...
package org.openmrs.module.mirebalais.setup; import org.apache.commons.lang.time.DateUtils; import org.openmrs.api.context.Context; import org.openmrs.module.emrapi.utils.GeneralUtils; import org.openmrs.module.paperrecord.CloseStaleCreateRequestsTask; import org.openmrs.module.paperrecord.CloseStalePullRequestsTask; ...
package com.redsun.platf.util.convertor; /** * <p>Title : com.webapp </p> * <p>Description : </p> * <p>Copyright : Copyright (c) 2010</p> * <p>Company : FreedomSoft </p> * */ /** * @author Dick Pan * @version 1.0 * @since 1.0 * <p><H3>Change history</H3></p...
package org.cryptable.asn1.runtime.ber; import org.cryptable.asn1.runtime.ASN1Boolean; import org.cryptable.asn1.runtime.exception.ASN1Exception; /** * BERBoolean is the BER implementation of ASN1Boolean * * Created by david on 6/13/15. */ public class BERBoolean implements ASN1Boolean { private boolean asn1...
package gui.db; import java.sql.SQLException; import java.text.FieldPosition; import java.text.Format; import java.text.ParsePosition; import java.text.SimpleDateFormat; import java.util.TimeZone; public class OracleDateFormat extends Format { private SimpleDateFormat df; public OracleDateForm...
import java.util.ArrayList; public class Simulation implements Runnable{ ArrayList<Item> allItems; public Simulation(ArrayList<Item> al){ allItems=al; } @Override public void run() { // TODO Auto-generated method stub } }
package com.git.cloud.resmgt.common.service.impl; import java.text.NumberFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUtils...
package com.image.infosys.imageprocess; import android.app.Activity; import android.content.res.AssetManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Environment; import android.support.v7.app.AppCompatActivity; import android.util.Log; import an...
package br.com.candleanalyser.simulation; import java.text.NumberFormat; import java.text.SimpleDateFormat; import br.com.candleanalyser.engine.Candle; public class Operation { private long qtty; private Candle buyCandle; private Candle sellCandle; private double buyCost; private String buyInfo; ...
package com.sirma.itt.javacourse.chat.client.managers; import static org.junit.Assert.assertTrue; import java.net.MalformedURLException; import org.apache.log4j.Logger; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.Spy; import com.sirma.itt.j...
package cs261_project.controller; import java.util.Base64; import javax.annotation.Nullable; import javax.servlet.http.HttpSession; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.ann...
package jikanganai.server.resolvers; import akka.actor.ActorRef; import akka.actor.ActorSystem; import akka.actor.PoisonPill; import akka.pattern.PatternsCS; import com.coxautodev.graphql.tools.GraphQLQueryResolver; import jikanganai.server.actors.ChargeCodeActorClassic; import jikanganai.server.entities.ChargeCode; i...
package gov.nih.nci.ctrp.importtrials.util; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.util.ArrayList; import java.util.Collection; /** * Created by kigonyapa on 3/27/17. */ @RunWith(Parameterized.class) public class ImportTr...
package com.gsccs.sme.plat.svg.model; import java.text.SimpleDateFormat; import java.util.Date; public class AppealTraceT { private Long id; private Long itemid; private Long topicid; private Long corpid; private Long svgid; private String userid; private String tasktype; private Date addtime; private Strin...
/* * JBoss, a division of Red Hat * Copyright 2013, Red Hat Middleware, LLC, and individual * contributors as indicated by the @authors tag. See the * copyright.txt in the distribution for a full listing of * individual contributors. * * This is free software; you can redistribute it and/or modify it * under th...
package escom.ipn.mx.appbecas; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.support.v7.app.AppCompatActivity; import android.os.B...
package com.dengzhili.bookStore.entity; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import javax.validation.constraints.NotBlank; ...
package de.tuberlin.dima.bdapro.solutions.gameoflife; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import javafx.scene.SubScene; import org.apache.flink.api.common.functions.*; import org.apache.flink.api.java.DataSet; import org.apache.flink.api.java.Execut...
package com.sun.xml.bind.v2.runtime.property; import java.text.MessageFormat; import java.util.ResourceBundle; /** * Message resources */ enum Messages { UNSUBSTITUTABLE_TYPE, // 3 args UNEXPECTED_JAVA_TYPE, // 2 args ; private static final ResourceBundle rb = ResourceBundle.getBundle(Messages.clas...
package practise; public class AbstractClass extends Person1 { void definePerson() { System.out.println("this is student"); } void showage() { System.out.println("age is 16"); } public static void main(String[] args) { AbstractClass ac=new AbstractClass(); ac.definePerson(); ac.setavalue(12, 1...
package models.modules.mobile; import java.io.File; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import javax.persi...
package dbAssignment.opti_home_shop.data.repository; import dbAssignment.opti_home_shop.data.model.Customeraccount; public class CustomeraccountRepository extends GenericRep<Customeraccount, Integer>{ public CustomeraccountRepository() { super(Customeraccount.class); } }
package com.intel.realsense.librealsense; public interface ProcessingBlockInterface extends OptionsInterface{ void invoke(Frame original); void invoke(FrameSet original); }
/** * Schema generator. * * This package hosts the code that generates schemas from * {@link TypeInfoSet} (without the user interface.) */ package com.sun.xml.bind.v2.schemagen; import com.sun.xml.bind.v2.model.core.TypeInfoSet;
package video_storm.input; import org.lwjgl.LWJGLException; import org.lwjgl.input.Keyboard; public class KeyInput { public boolean[] keys = new boolean[65536]; public KeyInput() throws LWJGLException { Keyboard.create(); } public void get() { while(Keyboard.next()) { ...
package day4; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; public class WindowHandlesTest extends BaseClass{ /* @Test public void testName(){ String url="http://the-internet.herokuapp.com/windows"; String expectedText="New Window"; String originalHandl...
package com.GestiondesClub.entities; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.persistence.NamedQuery; import j...
package com.cs.promotion; import com.cs.avatar.Level; import com.cs.bonus.Bonus; import com.cs.user.User; import com.google.common.base.Objects; import org.hibernate.annotations.Type; import javax.annotation.Nonnull; import javax.annotation.Nullable; import javax.persistence.Column; import javax.persistence.Entity; ...
package com.crossover.trial.weather.model; import java.io.Serializable; import java.util.Optional; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ReflectionToStringBuilder; import org.apache.commons.lang3.builder....
package rso.dfs.model.dao.psql; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import rso.dfs.model.File; import rso.dfs.model.Server; import rso.dfs.model.ServerRole; import rso.dfs.model.dao.DFSModelDAO; import rso.dfs.model.dao.DFSRepository; /** * @author Adam Papros <adam.papr...
package com.how2java.tmall.comparator; public class ProductDateComparator { }
package Utility; public class Constant { public static final String URL = "http://www.store.demoqa.com"; public static final String Username = "testuser_1"; public static final String Password = "Test@123"; public static final String Path_TestData = "C://Users//user//workspace//POMDemo/...
package com.sims.bo.impl; import java.util.List; import java.util.Map; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.sims.bo.EmployeeBo...
package tech.liujin.drawable.state; import tech.liujin.drawable.PaintDrawable; import tech.liujin.drawable.StateConsumer; /** * @author wuxio 2018-05-25:7:11 */ public abstract class StateDrawable extends PaintDrawable implements StateConsumer { /** * 当前状态 */ protected int mState; ...
package kr.or.ddit.career.controller; import java.net.URLEncoder; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; im...
/* * Copyright (c) 2014 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.stdext.identity; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; import java.util.UUID; ...
//difficulty is considering careful of all the possible conditions //thougu solve the problem, I spent an hour to debug, which is terrible //the following version is the same efficiency, but easier to understand //by using a low and high pointer to record each head and rear of String, nice public class Solution { p...
package com.lms.model.database; public interface SQL { String DB_SOURCE = "java:comp/env/jdbc/thesis"; String INSERT_NEW_STUDENT_INFO = "INSERT into students(last_name, first_name, middle_initial, student_id, year_level, course_id)" +"VALUES (?,?,?,?,?,?)"; String INSERT_NEW_STUDENT_ACCOUNT = "INSERT into us...
/* Chtobi perevesti chislo iz 10-i v 2-yu sistemu, nado chislo delit do teh por, poka ostatok ne stanet menshe 2 a zatem vse ostatki zapisat v obratnom poryadke */ package Methods; public class Example_Perevod_iz10v2sistemu { static void converter(int num) { int temp; temp = num % 2; i...
package com.hotelbooking.equalexperts.steps; import com.hotelbooking.equalexperts.model.HotelBooking; import net.thucydides.core.annotations.Steps; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; import java.util.*; import com.hotelbooking.equalexperts.steps.ser...
package gui; import javax.swing.JPanel; import logik.AbstractChat; import logik.ContactChat; public class DirectMessagePanel extends JPanel { private ContactChat chat; MessagePanel messagepanel; public DirectMessagePanel(AbstractChat chat, String user) { this.chat=(ContactChat)chat; this.messagepanel=new Mes...
package apiAlquilerVideoJuegos.servicios; import java.util.ArrayList; import java.util.List; import javax.transaction.Transactional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import apiAlquilerVideoJuegos.basedatos.TituloBD; import apiAlquilerVideo...
package no.nav.vedtak.sikkerhet.pdp.xacml; import java.util.List; import java.util.Map; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonProperty; public record XacmlRequest( @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY) @JsonProperty("Request"...
/* * 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.lyl.mybatis; import com.lyl.core.dao.domain.Test; import com.lyl.core.dao.domain.TestExample; import com.lyl.core.dao.mapper.TestMapper; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.S...
package slimeknights.tconstruct.gadgets.entity; import com.google.common.collect.ImmutableSet; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.Entity; import net.minecraft.init.SoundEvents; import net.minecraft.u...
package com.sirma.itt.javacourse.exceptions.task3.objectList; import com.sirma.itt.javacourse.InputUtils; /** * Class that represents a list of items * * @author simeon */ public class ObjectList { private int capacity = 10; private int index = 0; private Object[] array; /** * @param capacity * ...
package expr; import SemanticAnalysis.SemanticType; import slp.FuncArgsList; import slp.PropagatingVisitor; import slp.Visitor; public class CallExpr extends Expr { public final String funcName; public final FuncArgsList args_list; public final Expr e; public final Boolean isStatic; public final String classI...
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package modelo; import controlador.IngredienteView; public class Ingrediente { private float cantidad; private Producto producto; // Constructor de instancia ingrediente // ------------------------------------------------------------- public Ingrediente (Producto product, float cant){ this.produ...
import static org.junit.Assert.*; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TestName; /** * Rules allow very flexible addition or redefinition of the behavior of each test method in a test * class. Testers can reuse or extend one of the provided Rules below, or write their own. * * @au...
package ua.epam.provider.timer; public class Task implements Runnable { public void run() { System.out.println("task is run"); new Check().checkAllUsers(); } }
package org.jenkinsci.plugins.ghprb; import java.io.IOException; import hudson.Extension; import hudson.Launcher; import hudson.model.AbstractBuild; import hudson.model.BuildListener; import hudson.model.Environment; import hudson.model.Run; import hudson.model.TaskListener; import hudson.model.listeners.RunListener;...