text
stringlengths
10
2.72M
/** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode() {} * ListNode(int val) { this.val = val; } * ListNode(int val, ListNode next) { this.val = val; this.next = next; } * } */ class Solution { public ListNode addTwoNumbers(ListNode...
package com.xbang.bootdemo.config.security; import lombok.extern.slf4j.Slf4j; import org.springframework.security.core.Authentication; import org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler; import org.springframework.stereotype.Component; import javax.servlet.ServletExce...
package BUS; import DAO.UserDAO; import DTO.UserDTO; import java.sql.SQLException; public class UserBUS { public static boolean checkLoginUser(String username, String password) throws SQLException { return UserDAO.checkLoginUser(username, password); } public static boolean insertUser(UserDTO use...
package com.company.iba.ialeditor.model; import com.company.iba.ialeditor.service.ClpSerializer; import com.company.iba.ialeditor.service.ProjectLanguageLocalServiceUtil; import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; import com.liferay.portal.kernel.exception.SystemException; import com.liferay.portal....
package AbstractFactoryPattern03.example.factory; import AbstractFactoryPattern03.example.product.Button; import AbstractFactoryPattern03.example.product.ComboBox; import AbstractFactoryPattern03.example.product.TextFiled; public abstract class SkinFactory { public abstract Button getButton(); public abstra...
package lawscraper.client.ui.panels.dynamictabpanel; import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.user.client.ui.Widget; /** * Created by erik, IT Bolaget Per & Per AB * Date: 7/13/12 * Time: 6:19 PM */ public class DynamicTabPanelChangeEvent extends GwtEvent<DynamicTabPanelChangeHandler> {...
package com.ism.projects.th; import com.ism.common.Common; import com.ism.common.util.Utility; import com.ism.rule.entity.Field; import com.ism.rule.entity.constant.Constants; public class AccountValidation2 extends AccountValidationService{ @Override protected void initVariable() { account_no = new String(ai.g...
package apascualco.blog.springboot; import apascualco.blog.springboot.persistence.entidades.CarroceriaEntidad; import apascualco.blog.springboot.persistence.repositorio.CarroceriaREPO; import apascualco.blog.springboot.utils.PersistenciaUtils; import org.junit.Test; import org.junit.runner.RunWith; import org.springfr...
package com.t.client.domain; import com.t.core.domain.Job; import java.util.List; /** * @author tb * @date 2018/12/18 9:54 */ public class Response { private boolean success; private String msg; private String code; // 如果success 为false, 这个才会有值 private List<Job> failedJobs; }
package com.example.a49876.myapplication; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Button; imp...
package com.xyt.pageModel; import java.sql.Timestamp; import com.xyt.model.Usertbl; //与插入数据库的表能直接映射的类 public class TopicMessage { private String messageid; private String userid; private String topicid; private String message; private Integer committime; private Integer transmit; private Timestamp createtim...
package oopTraining; import java.util.ArrayList; import java.util.Random; import java.util.Random; import java.util.ArrayList; public class Test{ public static void main(String[] args){ final Random r = new Random(); ArrayList<Viikonpaiva> vpt = new ArrayList<Viikonpaiva>(); ...
package com.company.Net; import java.util.Arrays; public class Command { private String funcName; private String[] args; public Command(String funcName, String[] args) { this.funcName = funcName; this.args = args; } public String getFuncName() { return funcName; } ...
package com.channing.snailhouse.util; import com.channing.snailhouse.bean.ErrorCode; public class CheckedException extends RuntimeException { private static final long serialVersionUID = -7406701992372965750L; private String msg; private String code; public CheckedException(String msg) { su...
package com.zhongyp.advanced.over.hide; /** * @author zhongyp. * @date 2019/8/14 */ public class Test { public static void main(String[] args) { // 向上强制类型转换 A a = new B(); // 此时输出的是A中的name System.out.println(a.name); // 因为强制类型转换到了B,所以此时输出的是B的name System.out.prin...
package ec.edu.upse.dao; import java.util.ArrayList; import java.util.List; import javax.persistence.Query; import ec.edu.upse.modelo.TblSgaEspaciofisico; public class EspaciofisicoDao extends ClaseDao { @SuppressWarnings("unchecked") public List<TblSgaEspaciofisico> getEspfisico(){ List<TblSgaEspaciofisico> ...
package cn.test.demo01; public class test { public static void main(String[] args) { String[] arr = new String[3]; arr[0]="11"; System.out.println(arr[0]); Person[] arr1 = new Person[2]; Person p = new Person("ww","11"); arr1[0] = new Person("qq","11"); arr1[1] = p; System.out.println(arr1[1]); } ...
package mb.tianxundai.com.toptoken.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import java.util.ArrayList; import java.util.List...
package com.yidatec.weixin.dao; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.axis.utils.StringUtils; import org.springframework.jdbc.core.RowMapper; pub...
import java.io.*; import java.io.FileInputStream; import java.nio.file.Files; import org.apache.tika.*; public class FileClassifier { public static String tarDir=""; public static void searchFiles(File directory) throws Exception{ Tika tika = new Tika(); File[] list = directory.l...
package go4Code.Restaurante.controller; import java.util.ArrayList; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.http.Ht...
package vnfoss2010.smartshop.serverside.map.geocoder; public class Point { public double lat; public double lng; public double alt; public Point() { } public Point(double lat, double lng, double alt) { this.lat = lat; this.lng = lng; this.alt = alt; } /** * @return the lat */ p...
package com.lenovohit.hcp.base.manager.impl; import org.springframework.beans.factory.annotation.Autowired; import com.lenovohit.hcp.HCPConstants; import com.lenovohit.hcp.base.configuration.RedisSequenceConfig; import com.lenovohit.hcp.base.dao.ICommonRedisSequenceDao; import com.lenovohit.hcp.base.dao.IRedisSequenc...
package za.ac.cput.chapter5assignment.abstractfactory; /** * Created by student on 2015/03/12. */ public interface Fruit { public abstract String getFruitName(); }
package com.toda.consultant.util; /** * Created by guugangzhu on 2016/9/20. */ public class DialogUtil { }
package dao.cashier; import entity.Cashier; import java.util.List; public interface CashierDao { void save(Cashier cashier); // List<Cashier> findAll(); Cashier findById(Long id); }
package br.com.itau; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.stream.*; import br.com.itau.modelo.Lancamento; import br.com.itau.service.LancamentoService; public class Faturas { private List<Lancamento> lancamentos; public Faturas(List<Lancamento...
/* * 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.tronipm.bruteforce.entities; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.ArrayList;...
/** * * @author Paradox */ public class testClass1 { }
package pbo1.nim10118017; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; /** * * @author Agung Nurhamidan * NAMA : Agung Nurhamidan * KELAS : PBO1 * NIM : 10118017 * Deskripsi Program : Perhitungan lama tabungan sampai mencapa...
package com.pykj.design.principle.liskovsubstiution.example; /** * @description: 长方形 * @author: zhangpengxiang * @time: 2020/4/20 18:08 */ public class Rectangle { private long height; private long width; public long getHeight() { return height; } public void setHeight(long height) ...
package portal.listener; import ch.qos.logback.classic.spi.ILoggingEvent; import ch.qos.logback.core.read.ListAppender; import com.codeborne.selenide.Configuration; import com.codeborne.selenide.logevents.SelenideLogger; import io.qameta.allure.selenide.AllureSelenide; import org.junit.jupiter.api.extension.AfterEachC...
import java.util.InputMismatchException; import java.util.Scanner; public class Main17 { private static final int origin = 2; /** * 功能:等差数列 2,5,8,11,14... * 输入:正整数N >0 * 输出:求等差数列前N项和 * 返回:转换成功返回 0 ,非法输入与异常返回-1 */ public static int dengChaShuLie(int num) { int sum = 0; if(num<0) sum = -1; else ...
package com.wrathOfLoD.Views.CameraView; import com.wrathOfLoD.Models.Entity.Character.Avatar; import com.wrathOfLoD.Observers.ViewObjectObservers.MovableVOObserver; import com.wrathOfLoD.Observers.ViewObjectObservers.VOObserver; import com.wrathOfLoD.Utility.Direction; import com.wrathOfLoD.Utility.Position; import c...
package factoring.math; import de.tilman_neumann.util.SortedMultiset; import de.tilman_neumann.util.SortedMultiset_BottomUp; import factoring.sieve.triple.BitSetWithOffset; import factoring.trial.TDiv31Barrett; import java.math.BigInteger; import java.util.BitSet; import static java.lang.Math.*; import static java.l...
package database; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.text.TextUtils; import objetos.Pais; import java.util.ArrayList; import java.util.List...
import javafx.beans.value.ChangeListener; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.geometry.Insets; import javafx.scene.Group; import javafx.scene.Node; import javafx.scene.control.Button; import javafx.scene.control.ChoiceBox; import javafx.scene.layout.FlowPane; import java.ut...
package alien4cloud.tosca.parser.mapping; import org.springframework.stereotype.Component; import alien4cloud.model.components.CSARDependency; import alien4cloud.tosca.parser.impl.base.TypeNodeParser; @Component public class CsarMetaDependencyMapping extends AbstractMapper<CSARDependency> { public CsarMetaDepen...
package org.giddap.dreamfactory.leetcode.onlinejudge; import com.google.common.collect.Lists; import org.giddap.dreamfactory.leetcode.onlinejudge.implementations.MissingRangesImpl; import org.junit.Test; import java.util.List; import static org.junit.Assert.assertEquals; /** * Created by peng on 12/10/14. */ publ...
package com.sportzcourt.booking.controller; import android.content.Context; import com.sportzcourt.booking.BuildConfig; import com.sportzcourt.booking.database.DatabaseManager; import com.sportzcourt.booking.service.webservices.ApiService; import com.sportzcourt.booking.service.webservices.RestAdapterRequestIntercept...
package com.yusys.warrantHomePage2; import java.util.List; import java.util.Map; public interface WarrantHomePageDao { //统计资产各状态数量 public List<Map<String, String>> queryAssetStateCount(); //统计某个月资产领用的数量 public int queryUseAssetNumByMonth(String type); //统计某个月资产入库的数量 public int queryInAssetNumByMonth(String type...
package models; import java.awt.Image; import java.awt.event.KeyEvent; import ui.KeyInput; public final class Background extends Object2D { public Background(Image img, int y, int dx) { setImg(img); setWidth(img.getWidth(null)); setHeight(img.getHeight(null)); setX(0); set...
package ch05; public class Ferari extends Car1 implements Control{ String name; private Engine5000 engine5000; @Override public void ¿¢¼¿() { // TODO Auto-generated method stub } @Override public void ºê·¹ÀÌÅ©() { // TODO Auto-generated method stub } }
package com.tiy.ssa.weektwo.dayone; //int atBats = atBats; public class atBatter { //// private int atBats = 0; //// private int singles = 0; //// private int doubles = 0; //// private int triples = 0; //// private int homers = 0; //// private int hits = 0; //// private int totalBases = 0; //// private int o...
package com.zhongyp.transaction; /** * project: demo * author: zhongyp * date: 2018/3/1 * mail: zhongyp001@163.com */ public interface IStockProcessService { void openAccount(String aname, double money); void openStock(String sname, int amount); void buyStock(String aname, double money, String sname, ...
package com.melodygram.database; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import com.melodygram.constants.ChatGlobalStates; import com.melodygram.m...
package com.minismap.data; /** * Created by nbp184 on 2016/03/24. */ public class GridPoint { public int x; public int y; public GridPoint() { x = 0; y = 0; } public GridPoint(int x, int y) { this.x = x; this.y = y; } @Override public boolean equals...
public interface OneWayListNode<T> { // return node value T get(); // return next node or null in case of absence OneWayListNode<T> next(); }
package classes; /** * Enumeration TypeBoisson - écrire ici la description de l'énumération * * @author (votre nom) * @version (numéro de version ou date) */ public enum TypeBoisson { EAU_MINERALE,JUS,GAZEUSE,CAFE,THE }
/* * 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.neo.heladeria.entities; import com.fasterxml.jackson.annotation.JsonIgnore; import java.io.Serializable; import j...
package com.onlyu.reactiveprog.repositories; import com.onlyu.reactiveprog.domain.Recipe; import org.springframework.data.mongodb.repository.MongoRepository; import java.util.Optional; import java.util.Set; public interface RecipeRepository extends MongoRepository<Recipe, String> { Set<Recipe> findAllByOrderByI...
/* * Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE file for licensing information. */ package pl.edu.icm.unity.stdext.identity; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; import org.springframework.stereotype.Component; impor...
package edu.lewis.ap.sweezy.kenneth; import edu.jenks.dist.lewis.ap.*; public class Name extends AbstractName { public static void main(String[] args) { Name testing1 = new Name("Bill", "Cosbo"); Name testing2 = new Name("Bill", "Cosby"); System.out.println(testing1.compareTo(testing2)); } publi...
/* Copyright (C) 2013-2014, Securifera, Inc 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 retain the above copyright notice, this list of conditions and...
package com.fanfte.rpc.spring; import org.springframework.beans.factory.support.BeanDefinitionBuilder; import org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser; import org.springframework.util.StringUtils; import org.w3c.dom.Element; /** * Created by tianen on 2018/11/8 * * @author fanfte *...
package com.classroom.services.facade.dto.entities; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import com.classroom.services.web.dto.mappers.LocalDateTimeAdapter; import org.joda.time.LocalDateTime; @XmlRootElement(name="circularBatchDetails") pub...
/****************************************************************************** * __ * * <-----/@@\-----> * * <-< < \\// > >-> * ...
package sql.requete; import java.sql.*; import java.util.StringTokenizer; public class InterrogPostgresql { private String username; private String password; private String url; private String requete; public InterrogPostgresql() { // ---- configure START username = "lo17xxx"; password = "dblo17"; ...
/* * 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.company; import java.awt.*; class Random { static int interval(int min, int max) { max -= min; return (int) (Math.random() * ++ max) + min; } static void drawAmountFlowers(Graphics2D gr, int amountFlowers) { for (int i = 0; i < amountFlowers; i++) { int x...
package com.antonybaasan.justraduire.web.rest; import com.antonybaasan.justraduire.JustraduireApp; import com.antonybaasan.justraduire.domain.Talk; import com.antonybaasan.justraduire.repository.TalkRepository; import com.antonybaasan.justraduire.web.rest.errors.ExceptionTranslator; import org.junit.Before; import o...
package com.zhuhao.hcharts.views; import android.graphics.Canvas; import java.util.ArrayList; /** * Author : zhuhao * Date : 26/9/2017 * * @Last Modified Time :26/9/2017 * Description : */ public class BrokenLineChart implements BaseView { @Override public void initCommons() { } @Override ...
package com.nepc.asset.manager.entity; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; import lombok.ToString; import javax.persistence.*; import java.math.BigInteger; import java.util.List; @Entity @Table(name = "LIQUIDITY") @EqualsAndHashCode(callSuper = false) @ToString public class L...
package com.v1_4.mydiaryapp.com; import java.util.List; import android.content.Context; import android.graphics.Bitmap; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import andr...
package us.alexl.jsouptest; import java.io.IOException; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; public class JSoupTest { /** * The default behavior is to use the Certificate Authorities that come with your Java installation. * The fact that everything works ou...
package com.example.studentmanagment; import android.os.Bundle; import android.app.Activity; import android.content.ContentValues; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.view.Menu; import android.view.View; import android.v...
package verwalteStudent; import static org.junit.Assert.assertTrue; import java.text.ParseException; import java.util.Arrays; import java.util.Collection; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.junit.runner.RunWith; import org.junit.runners.Para...
package ru.kurtov.jgrep; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.nio.CharBuffer; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; import java.nio.charset.Charset; import java.nio.charset.CharsetDecoder; public class JGrepMappedByteBuffer ext...
package slimeknights.tconstruct.library.book.content; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import slimeknights.mantle.util.ItemStackList; import slimeknights.tconstruct.library.TinkerRegistry; import slimeknights.tconstr...
package com.dbsys.rs.controller; import java.util.List; import javax.persistence.PersistenceException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annot...
package online.lahloba.www.lahloba.ui.fragments; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.DialogFragment; import androidx.lifecycle.Lifecy...
import java.util.List; public class Titulo { //atributos String titulo; String edicion; String ISBN List<Autor> autores; List<Categoria> categorias; //METODO CONSTRUCTOR por defecto public Titulo(){ } }
public abstract class Piece implements Runnable { //Properties public String strName; public String strColour; public boolean blnNotMoved = true; public boolean blnCanMove = true; public int intCount; //Methods public abstract int[][] checkMove(int intX, int intY, Piece[][] object); pub...
package com.qumla.service.test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import io.katharsis.queryParams.QueryParams; import java.time.LocalDate; import java.util.ArrayList; import java.util.Date; import java.util.List; impo...
package com.xianzaishi.wms.tmscore.dao.itf; import com.xianzaishi.wms.common.dao.itf.IBaseDao; public interface IDistributionDao extends IBaseDao { public Boolean reset(Long id); }
// Copyright (c) Philipp Wagner. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. package de.bytefish.sqlmapper.test; import de.bytefish.sqlmapper.ResultSetMapping; import de.bytefish.sqlmapper.SqlMapper; import de.bytefish.sqlmapper.result.Sql...
package com.phoosop.gateway.filter; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.cloud.gateway.filter.GatewayFilter; import org.springframework.cloud.gateway.filter.fact...
package com.hg.sb_helloworld; import static org.hamcrest.Matchers.equalTo; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import org.junit.Before; import org.junit.Test; import org.junit....
package Utilities; public interface Constants { String UNAME="com.mysql.jdbc.Driver"; String URL= "jdbc:mysql://localhost/cdk"; String UID="root"; String PASSWORD="CDKcdk11"; }
package br.com.ufrn.imd.lpii.classes.persistence; import br.com.ufrn.imd.lpii.classes.entities.Bem; import br.com.ufrn.imd.lpii.classes.entities.Categoria; import br.com.ufrn.imd.lpii.classes.entities.Localizacao; import br.com.ufrn.imd.lpii.classes.main.Bot; import br.com.ufrn.imd.lpii.exceptions.BemNaoEncontradoExce...
package com.lenovohit.hwe.treat.dao; import com.alibaba.fastjson.annotation.JSONField; import com.fasterxml.jackson.annotation.JsonIgnore; import com.lenovohit.core.utils.JSONUtils; public class HisRestRequest { public static final String SEND_TYPE_LOCATION = "location"; public static final String SEND_TYPE_POST = ...
package com.fubang.wanghong.model; import com.fubang.wanghong.entities.HomeHeadPicEntity; import retrofit2.Callback; /** * Created by dell on 2016/4/5. */ public interface HomeHeadPicModel { void getHeadPicData(Callback<HomeHeadPicEntity> callback); }
package com.softwareengineeringapp.kamys.findmean; import android.view.LayoutInflater; import android.view.View; import android.widget.TextView; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.model.Marker; /** * Created by kamys on 10/26/2016. */ public class facebookInfoWindowAd...
import java.util.ArrayDeque; import java.util.Deque; import java.util.LinkedList; /** * Leetcode做题-验证二叉搜索树 https://leetcode-cn.com/problems/validate-binary-search-tree/ */ public class 验证二叉搜索树 { public boolean isValidBSTInOrder_Stack(TreeNode root) { Deque<TreeNode> stack=new ArrayDeque<>(); Int...
package com.wxt.designpattern.factorymethod.test01.witddp; /** * @Auther: weixiaotao * @ClassName ExportXmlFile * @Date: 2018/10/22 13:38 * @Description: */ public class ExportXmlFile implements ExportFileApi { @Override public boolean export(String data) { System.out.println("导出数据"+data+"到xml文件"); return t...
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
/* * Created by JFormDesigner on Thu Nov 28 22:15:49 EST 2019 */ package view; import java.awt.*; import java.awt.event.*; import javax.swing.*; /** * @author Jun Li */ public class Login extends JFrame { public Login() { initComponents(); } private void button_loginMouseReleased(MouseEvent ...
package com.crm.qa.tests; import java.io.IOException; import org.testng.Assert; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeClass; import org.testng.annotations.BeforeMethod; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import com.crm.qa.base.Tes...
/* * 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.hcl.neo.eloader.microservices.model; import java.util.List; /** * * @author Sakshi Jain */ public class UploadJobMessa...
package com.culturaloffers.maps.repositories; import com.culturaloffers.maps.model.CulturalOffer; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface C...
package boletin4; import java.util.Scanner; public class ejercicio6 { private static Scanner sc; public static void main(String[]arg){ sc = new Scanner(System.in); int [] num = new int[12]; int [] num2 = new int[12]; int [] numr = new int[24]; int i1=0,i2=0,k=0,l=0; System.out.print("\nIngresar 2 ...
package com.test.demo.Services.Implementation; import java.util.List; import java.util.Optional; import java.util.Set; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.test.demo.Entities.Funds; import com.test.demo.Entities.Investors; import com....
package com.timewarp.games.onedroidcode.editor; import com.badlogic.gdx.graphics.Color; import com.timewarp.engine.Math.Mathf; import com.timewarp.engine.SceneManager; import com.timewarp.engine.Vector2D; import com.timewarp.engine.entities.GameObject; import com.timewarp.engine.gui.GUI; import com.timewarp.games.one...
package pscan; import java.io.IOException; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Job; impor...
package model; /* * 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 ivani */ public class Usuari { static int numRegistrats = 0; protected String nom; prot...
/* * 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 studypoint3.examen2; import Facade.Logic; import entity.Employee; import entity.PhdStudent; import entity.Student; import java...
/* * 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.gsccs.sme.api.domain; import java.util.Date; import java.util.List; import com.gsccs.sme.api.domain.base.Domain; import com.gsccs.sme.api.domain.shop.PropValue; /** * 商品属性 * @author x.d zhang * */ public class ItemProp extends Domain { private static final long serialVersionUID = 31454932438551931...
package bfs; import java.util.LinkedList; import java.util.Queue; import java.util.Scanner; /** * 宝岛探险 * 注意: 0代表海洋,1~9代表陆地,求落地时面积 * * @author 丹丘生 */ public class BFS_6 { private static int[][] map; private static int[][] book; private static Queue<Node> queue = new LinkedList<Node>(); static in...
package com.soldevelo.vmi.scheduler.model; import com.soldevelo.vmi.xml.DateTimeAdapter; import org.joda.time.DateTime; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; @XmlRootElement(name = "nodeInfo") public...