text
stringlengths
10
2.72M
package dnd; public interface Observer<T> { void onUpdate(T newState); }
package boj; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class BOJ_9663_N_Queen { private static int N; private static int count; private static int[][] map; private static int[] map2; public static void main(String[] args) throw...
package com.carmona.springboot.springbootapi.dao; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.carmona.springboot.springbootapi.entity.Employee; @Repository public interface EmployeeRepository extends JpaRepository<Employee, Integer> { }
package ga.islandcrawl.map; import java.util.ArrayList; import ga.islandcrawl.MainView; import ga.islandcrawl.controller.Commands; import ga.islandcrawl.controller.MouseInterface; import ga.islandcrawl.draw.Renderer; import ga.islandcrawl.draw.Shape; import ga.islandcrawl.object.AdvObject; import ga.islandcrawl.objec...
package com.jobs.workbook.repositories; import com.jobs.workbook.entites.job.Job; import org.springframework.data.jpa.repository.EntityGraph; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; import java.util.Optional; public interface JobRepository extends JpaRepository<Job, Integ...
/**Classe para armazenar os dados de cada elemento da tabela periodica. * */ package model; /**Periodic Table * * @author Marcos Nascimento * @version 1 * */ public class PeriodicTable { public static ChemicalElement[] tabela = new ChemicalElement[118]; static { try { tabela[0] = new ChemicalElement...
package org.training.issuetracker.dao.hibernate; import java.util.List; import org.apache.log4j.Logger; import org.hibernate.Criteria; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.criterion.Order; import org.springframework.beans.factory.annotation.Autowired; import org.spri...
package com.dns.feedbox.util; import com.dns.feedbox.entity.Description; import com.dns.feedbox.entity.Feed; import com.rometools.rome.feed.synd.SyndEntry; import org.springframework.messaging.Message; import java.util.stream.Collectors; /** * Created by dinusha on 10/12/16. */ public class FeedTransformer { ...
package com.interceptor; import java.util.Enumeration; import javax.servlet.RequestDispatcher; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.handler.HandlerInterceptorAd...
/** * */ package com.fhzz.psop.util; /** * @author Administrator * */ public class ProcessKey { public static final String VACATION_PROCESS = "vacationProcess"; }
package com.example.ahmed.octopusmart.Utils.transition; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.content.Context; import android.transition.TransitionValues; import android.transition.Visibility; import android.util.AttributeSet; import android.view.View; impo...
package options; import org.junit.runner.RunWith; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; @RunWith(Cucumber.class) @CucumberOptions( plugin = {"pretty", "html:target/cucumber","com.cucumber.listener.ExtentCucumberFormatter:target/html/ExtentReport.html"}, format = {"json:target/D...
/** * @Title: ResourceServiceImpl.java * @package com.rofour.baseball.bll.resourcescenter * @Project: axp-bll * @Description: (用一句话描述该文件做什么) * @author WJ * @date 2016年3月28日 下午7:16:17 * @version V1.0 * ────────────────────────────────── * Copyright (c) 2016, 指端科技. */ package com.rofour.baseball.service.resour...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.insat.gl5.crm_pfa.web; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.enterprise.context.RequestScoped; import javax.inject.Named; import org.primefaces.model.ch...
package com.facebook.react.uimanager; import android.view.View; import com.facebook.common.e.a; import com.facebook.react.bridge.ReadableMapKeySetIterator; import java.util.HashMap; import java.util.Map; public class ViewManagerPropertyUpdater { private static final Map<Class<?>, ShadowNodeSetter<?>> SHADO...
package org.sero.cash.superzk.crypto.enc; public class Chacha20 { public static byte[] encode(byte[] data, byte[] key) { Chacha20 chacha = new Chacha20(key, nonce, 0); byte[] ret = new byte[data.length]; chacha.encrypt(ret, data); return ret; } private static byte[] nonce = new byte[16]; private int[] in...
package pl.edu.charzynm; public enum WeakVerbConjugationSuffixes { //Partizip I präsens DER("der"), DES("des"), DE("de"), //Imperfekt (Präteritum) TEST("test"), //Präsens EST("est"), //Partizip II (Perfekt) TER("ter"), TES("tes"), //Imperfekt (Präteritum) TEN("ten"),...
package filesBasics; import java.util.*; import java.io.*; public class FileDemo { //byte b1[]=new byte[10]; void writeFile() throws FileNotFoundException { Scanner scan=new Scanner(System.in); FileOutputStream fo=new FileOutputStream("text2.text",true); String s=""; System.out.println("enter message...
package com.sarthaksavasil.notificationtracker; import androidx.appcompat.app.AppCompatActivity; import androidx.localbroadcastmanager.content.LocalBroadcastManager; import android.app.NotificationManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import ...
package org.com.ramboindustries.corp.sql; public final class SQLConstants { private SQLConstants() { } public static final String INSERT = " INSERT INTO "; public static final String UPDATE = " UPDATE "; public static final String FROM = " FROM "; public static final String SET = " SET "; public static final ...
package com.example.security.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.secur...
package Semana11; public class TestePagamento { public static void main(String[] args) { Pagamento pag = new Pagamento("Felipe", "35503071875", 251.26); System.out.println(pag); CartaoDeCredito cred = new CartaoDeCredito("Helio", "19052399680", 330.00, "3363598546781256"); System.out.println(cred); ...
import java.util.Arrays; public class Solution { static int minnumber; /** * 回溯法 超时 * @param coins 硬币面额 * @param amount 总金额 * @return */ public int coinChange(int[] coins, int amount) { if(coins.length==0) return -1; if(amount==0) return 0; int k = 0; ...
package distance3; import java.awt.image.BufferedImage; import org.ejml.data.DenseMatrix64F; import org.ejml.ops.CommonOps; import boofcv.abst.feature.disparity.StereoDisparity; import boofcv.abst.geo.triangulate.WrapTwoViewsTriangulateDLT; import boofcv.alg.distort.ImageDistort; import boofcv.alg.distort.RemoveRadi...
package view.callassistant; import descriptionfiles.Description; import scriptinterface.ParameterTuple; import view.argumentcomponents.ArgumentComponentManager; import view.argumentcomponents.ArgumentsPanelSettings; import view.guicomponents.ButtonPanel; import view.guicomponents.GraphanaButton; import view.gu...
package com.jinshu.xuzhi.feeling; import android.media.MediaPlayer; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.util.Log; import android.view.LayoutInflater; im...
/* * @autor: Mentor Bibaj * @tema: Metoda GaussSeidel * @data: 04.13.2016 * */ import java.text.*; public class GaussSeidel { public static double distancaEuklidiane(double[] v1,double[] v2, char tipi){ double distanca = 0; double temp = 0; for(int i = 0; i < v1.length ; i++){ switch(tipi){ cas...
package org.employee.controller; import java.io.IOException; import org.employee.dao.EmployeeDao; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation...
package ru.spb.iac.cud.services.audit; import java.util.List; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.ws.RequestWrapper; import javax.xml.ws.ResponseWrapper; import ru.spb.iac.cud.exc...
package com.sinata.rwxchina.component_home.entity; import com.chad.library.adapter.base.entity.MultiItemEntity; import java.util.List; /** * @author:wj * @datetime:2017/12/26 * @describe: * @modifyRecord: */ public class IconMoreEntity { /** * name : 周边查询 * list : [{"id":"9","title":"加油站","img"...
package hwardak.shiftlog; /** * Created by HWardak on 2017-07-29. */ class ShiftLogSettings { }
package lib.kh; public class studycore { public static int asdf; public static int toInteger(String a) { return Integer.parseInt(a); } public static int toInteger(double a) { return (int) (a); } public static double toDouble(String a) { return Double.parseDouble(a); } public static double toDouble(...
/* * Copyright (c) 2011, 2020, Frank Jiang and/or its affiliates. All rights * reserved. ParameterOneClass.java is PROPRIETARY/CONFIDENTIAL built in 2013. * Use is subject to license terms. */ package com.frank.svm.config; import libsvm.svm_parameter; /** * The configuration of one-class SVM: distribut...
// // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 generiert // Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. // Generiert: 2016.05.11 u...
package com.example.ass_boss.locationlist; import android.Manifest; import android.annotation.SuppressLint; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; impor...
package com.shopify.admin.statis; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; @JsonIgnoreProperties(ignoreUnknown = true) @Data public class AdminStatisData { private String state; // 배송상태 private String masterCodeList; // 화면에서 넘어온 변수 private String volumeWeightList...
package com.vilio.plms.service.query; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import com.vilio.plms.dao.QueryDao; import com.vilio.plms.exception.ErrorException; import com.vilio.plms.glob.Fields; import com.vilio.plms.service.base.BaseService; import com.vilio.plms.service.base...
package com.example.demo.dip.ok; public class Game { private GUI ihm; public Game(GUI ihm) { this.ihm = ihm; System.out.println("start game"); this.startInterface(); } private void startInterface() { this.ihm.start(); } public static void main(String[] args)...
package com.github.hippo.chain; import org.apache.commons.lang3.StringUtils; import java.util.Objects; import java.util.UUID; /** * Created by hanruofei on 16/8/30. 串起rpc调用链 */ public enum ChainThreadLocal { INSTANCE; /** * 存放chainId */ private ThreadLocal<String> chainId = new ThreadLocal<>...
package com.mes.old.meta; // Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final import java.util.Date; /** * MAssortDetail generated by hbm2java */ public class MAssortDetail implements java.io.Serializable { private String uniqueid; private String assortnum; private String qualitynum; private String d...
package com.jim.multipos.ui.mainpospage.presenter; import android.content.Context; import android.os.Bundle; import com.jim.mpviews.model.PaymentTypeWithService; import com.jim.multipos.R; import com.jim.multipos.core.BasePresenterImpl; import com.jim.multipos.data.DatabaseManager; import com.jim.multipos.data.db.mod...
package se.ericthelin.bootstrap; public class MessageDescriptionMessageFactory implements MessageFactory { @Override public String createMessage(MessageDescription description) { if (!description.hasArguments()) { return description.getIdentifier(); } StringBuilder builder = new StringBuilder(descript...
/* * Copyright 2014 Google 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 by applica...
import javax.swing.*; public class MyFrame extends JFrame { MyFrame() { setTitle("첫번째 프레임"); setSize(500, 300); setVisible(true); } public static void main(String [] args) { MyFrame mf = new MyFrame(); } }
package rest.controller; 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.GetMapping; import org.springframework.web.bind.annotation.RequestParam...
import java.awt.Desktop; import java.io.File; import java.io.IOException; import java.sql.ResultSet; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import kovaUtils.OpalDialog.ChoiceItem; import kovaUtils.OpalDialog.ko...
package com.flutterwave.raveandroid.rave_presentation.data.events; import com.flutterwave.raveandroid.rave_logger.Event; import static com.flutterwave.raveandroid.rave_logger.Event.EVENT_TITLE_ERROR; public class ErrorEvent { Event event; public ErrorEvent(String errorMessage) { event = new Event(EV...
package com.example.kripajha.recyclerproject; import android.app.Activity; import android.app.Dialog; import android.view.View; import android.view.Window; import android.widget.Button; import android.widget.TextView; public class MessageDialog { public void showDialog(Activity activity,String message){ ...
package com.snow.gk.core.ui.drivers; import com.snow.gk.core.utils.Config; import com.snow.gk.core.log.LogEventListener; import com.snow.gk.core.log.Logger; import org.openqa.selenium.UnexpectedAlertBehaviour; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selen...
package ch.fhnw.edu.cpib.scanner; import ch.fhnw.edu.cpib.scanner.enumerations.Terminals; import ch.fhnw.edu.cpib.scanner.interfaces.IToken; public class Base implements IToken { private final Terminals terminal; public Base(Terminals terminal) { this.terminal = terminal; } public Terminals ...
package com.tencent.mm.plugin.appbrand.g.a; import java.nio.ByteBuffer; class i$4 implements a { final /* synthetic */ i geD; i$4(i iVar) { this.geD = iVar; } public final int aky() { return this.geD.fef.aaL(); } public final ByteBuffer jA(int i) { return this.geD.fe...
package com.example.martinzou.android_exp_3; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; /** * Created by 10630 on 2018/4/27. */ public class RelativeActivity extends AppCompatActivity { @Override protected void onCreate(@Nullable B...
/** * 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 app.util; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import java.io.File; import java.io.IOException; import java.util.Optional; public class HTMLQuery { private static final String CHARSET_NAME = "utf8"; private Documen...
/* * Copyright (c) 2014 Anthony Benavente * * 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.xworkz.rental.service; import java.util.Date; import javax.validation.Valid; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.env.Environment; import org.spri...
package org.crama.burrhamilton.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @Controller public class WriteController { @RequestMapping(value="/write", method=Reques...
package chess; import static chess.ListHelpers.toPositionList; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; import org.junit.Before; import org.junit.Test; import chess.pieces.Moves; public class MovesTest { private GameState emptyState; private GameState initialSta...
package com.practice.heliguang.livewallpaper; import android.opengl.GLSurfaceView; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.MotionEvent; import android.view.View; import com.practice.heliguang.opengles2library.OpenGLES20; public class MainActivity extends AppComp...
package com.cat.dao.impl; import java.util.List; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.cat.bean.House; import com.cat.dao.HouseDao; @Re...
package com.nv95.ficbook; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.DialogInterface; import android.os.AsyncTask; import android.preference.CheckBoxPreference; import android.preference.Preference; import android.preference.PreferenceManager; import org.jsou...
package com.pkjiao.friends.mm.activity; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import com.pkji...
package de.shm.fangbuch; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.provider.MediaStore; import android.support.design.widget.Floati...
package com.whs.shop.bgrestful.goods.controller; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.s...
package com.wcy.netty.protocol.response; import com.wcy.netty.protocol.Packet; import com.wcy.zjh.model.Player; import lombok.Data; import java.util.List; import java.util.Set; import static com.wcy.netty.protocol.command.Command.ROOM_USER_RESPONSE; @Data public class RoomUserResponsePacket extends Packet { pr...
package org.apache.commons.net.nntp; import java.io.BufferedReader; import java.io.IOException; import java.util.Iterator; import java.util.NoSuchElementException; import org.apache.commons.net.io.DotTerminatedMessageReader; import org.apache.commons.net.io.Util; class ReplyIterator implements Iterator<String>, Itera...
/* * Copyright 2008 University of California at Berkeley * * 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 appl...
import java.util.Scanner; public class RabbitsWhile { /** * @param args */ public static void main(String[] args) { int months; int something = 0; int a = 0; int b = 1; int c = 0; int PH = 1; int input; Scanner keyboard = new Scanner(System.in); months = keyboard.nextInt(); ...
package com.lucy.start.mvc.spring.news.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class NewsContrller { @RequestMapping("/") public String getNews() { return "news"; } }
package net.h2.web.mob.mainpage; import java.util.List; import net.h2.web.core.base.shared.service.IBaseService; import net.h2.web.mob.file.page.MainPageFileDTO; import net.h2.web.mob.mainpage.enums.MainPageType; public interface IMainPageService extends IBaseService<MainPageFileDTO, Long> { List<MainPag...
package seleniummaven; import java.io.File; import java.lang.ref.PhantomReference; import java.util.Set; import java.util.concurrent.TimeUnit; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.junit.Assert; import org.openqa.selenium.Alert; import org.openqa.sel...
package com.proyecto.pac.controller; import javax.servlet.http.HttpSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.s...
package com.example.animation; import com.example.animation.widget.ShutterView; import android.animation.ObjectAnimator; import android.graphics.BitmapFactory; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.AdapterView; import android.widget....
import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; public class Task10 { /*Дан массив целых чисел: [15,10,0,-6,-5,3,0,-34,0,32,56,0,24,-52]. Переместить нули в конец массива. Вывести результат в консоль*/ public static void main(String[] args) { int[] data...
package com.ebay.lightning.core.beans; import java.io.Serializable; import java.util.Map; import java.util.Map.Entry; import com.ebay.lightning.core.constants.LightningCoreConstants.WorkStatus; /** * The {@code LightningResponse} class defines the interface for the task agreed by the client and core. * The class a...
package edu.bupt.cbh.testing.dao; import edu.bupt.cbh.testing.entity.Testing; import org.springframework.stereotype.Repository; import java.util.List; /** * Created by scarlett on 2017/5/26. */ @Repository public interface TestingDao { Integer addTesting(Testing testing); Integer updateTesting(Testing te...
package com.entity; import java.sql.Date; import javax.persistence.Entity; /** * @author lyx * * 2015-8-18上午11:38:32 * *com.yr.entity.MemberUser * TODO MemberUser实体类 */ public class MemberUser { /** * 会员ID */ private int memberId; /** * 会员名称 */ private String membe...
package com.fr.virtualtimeclock_client; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.B...
package monopoly.model.field; public abstract class Field { private String name; public Field(String name) { this.name = name; } public String getName() { return name; } }
package fr.lteconsulting.servlet; import java.io.IOException; import java.util.List; import javax.servlet.RequestDispatcher; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import fr.lteconsulting...
/* * 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 engine.board; /** * * @author Alois */ public class Cell { public final int row; public final int col; Cel...
/* * 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 telas; import apoio.Criptografia; import apoio.Mensagem; import dao.UsuarioDAO; import entidade.Usuario; import static java.aw...
package uk.co.samwho.modopticon.util; import static com.google.common.truth.Truth.assertThat; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import uk.co.samwho.modopticon.testutil.FakeClock; import java.time.Duration; @RunWith(JUnit4.class) public class EventTrackerTest {...
package webmail.pages; import webmail.WebmailServer; import webmail.managers.Manager; import webmail.managers.otherManagers.ErrorManager; import webmail.managers.userManagers.UserManager; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import...
package com.noringerazancutyun.retrofit_example.Adapter; import android.content.Context; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.w...
package com.lhlp.pages.action; import java.util.List; import java.util.Map; import org.apache.struts2.interceptor.SessionAware; import com.lhlp.pages.entity.Student; import com.lhlp.pages.service.StudentService; import com.lhlp.pages.service.impl.StudentServiceImpl; import com.opensymphony.xwork2.ActionCon...
package com.undertone.lift.request.service; import com.undertone.geo.GeoRequest; import com.undertone.geo.GeoResponse; import com.undertone.lift.request.service.service.enrich.GeoFetchService; import lombok.extern.slf4j.Slf4j; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import...
package com.yuliia.vlasenko.imagesearcher.repository.entities; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Getter @Setter @EqualsAndHashCode(of = {"id"}) @E...
package com.arkaces.aces_marketplace_api.account_service; import lombok.Data; import java.util.Set; @Data public class UpdateServiceRequest { private String label; private String url; private Set<Long> categoryPids; private Boolean isTestnet; private String status; }
package com.example.myapplication.model; import java.util.Date; public class PersonalSmsGateway { private long id; private String phoneNumber; private String message; private boolean isSent; private boolean isDelivered; private Date createdDate; private Date sentDate; private Date deli...
package com.mes.old.meta; // Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final import java.math.BigDecimal; /** * Jobshop制造周期Id generated by hbm2java */ public class Jobshop制造周期Id implements java.io.Serializable { private String deptid; private String deptname; private String partNumber; private Strin...
package Arrays; public class PrintanArray { public static void main(String[] args) { int [] arr= {1,3,4,6}; for(int i=0;i<arr.length;i++) { System.out.println(arr[i]); } } }
/* * 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 dictionary; import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; ...
package org.alienideology.jcord.event.client.relation; import org.alienideology.jcord.event.client.ClientEvent; import org.alienideology.jcord.handle.client.IClient; import org.alienideology.jcord.handle.client.relation.IRelationship; import org.alienideology.jcord.handle.user.IUser; /** * @author AlienIdeology */ ...
package com.example.study.activity.start; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.TextView; import com.example.study.R; public class TargetActivity extends AppCompatActivi...
package com.awrzosek.ski_station.tables.ski.equipment; public enum Condition { EX("Świetny"), GOOD("Dobry"), AVG("Średni"), POOR("Słaby"), BROKEN("Zniszczony"); private final String label; Condition(String label) { this.label = label; } public String toString() { return this.label; } }
package com.company; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Change owed:"); double change = input.nextDouble(); while (change <=0 || change ==(' ')) { ...
package com.elepy.admin.concepts; import com.elepy.ElepyPostConfiguration; import com.elepy.admin.ElepyAdminPanel; import com.elepy.http.HttpService; import java.util.Map; import java.util.Objects; public abstract class ElepyAdminPanelPlugin implements Comparable<ElepyAdminPanelPlugin> { private final String na...
import java.io.*; import java.util.Scanner; public class PattNew{ String pName; long phoneNo; char gender; Float docFee; byte age; Double billAmount; public PattNew(){ //default constructor pName="amritha"; phoneNo=25220133; docFee=(float)2500.0; age=22; billAmount=1000.0; ...
/** * DNet eBusiness Suite * Copyright: 2010-2013 Nan21 Electronics SRL. All rights reserved. * Use is subject to license terms. */ package net.nan21.dnet.module.bd.domain.impl.classification; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import jav...