text
stringlengths
10
2.72M
class Math_{ private int a,b ; Math_(int a,int b){ this.a = a ; this.b = b ; } void Print(){ System.out.println("a -> "+a); System.out.println("b -> "+b); } int sum(){ return a+b ; } int subtract(){ return a-b ; } int multiply(){ return a...
/** * This is a generated file. DO NOT EDIT ANY CODE HERE, YOUR CHANGES WILL BE LOST. */ package br.com.senior.furb.basico; import br.com.senior.messaging.ErrorPayload; import br.com.senior.messaging.model.CommandDescription; import br.com.senior.messaging.model.CommandKind; import br.com.senior.messaging.model.Mes...
package com.c4wrd.loadtester.util; import java.util.*; import java.util.function.BiConsumer; import java.util.function.BinaryOperator; import java.util.function.Function; import java.util.function.Supplier; import java.util.stream.Collector; /** * A reservoir sample is an algorithm that takes a list N of n elements ...
/** * <p>Title: </p> * * <p>Description: </p> * * <p>Copyright: Copyright (c) 2013</p> * * <p>Company: </p> * * @author billw * @version 1.0.5 */ package com.sowrdking.imgpuzzle; /** * @author billw * */ import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import and...
package com.lesports.albatross.utils; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; /** * ๆ—ถ้—ดๅทฅๅ…ท็ฑป * Created by jiangjianxiong on 16/6/6. */ public class DateUtil { private static final String mDateTimeStringFormat = "yyyy-MM-dd HH:mm:ss"; private static final String m...
package msip.go.kr.board.service; import java.util.List; import msip.go.kr.board.entity.BoardMaster; import msip.go.kr.common.entity.Tree; /** * ๊ฒŒ์‹œํŒ ์†์„ฑ ๊ด€๋ จ ์—…๋ฌด ์ฒ˜๋ฆฌ๋ฅผ ์œ„ํ•œ Sevice Interface ์ •์˜ * * @author ์ •์Šน์ฒ  * @since 2015.07.10 * @see <pre> * == ๊ฐœ์ •์ด๋ ฅ(Modification Information) == * * ์ˆ˜์ •์ผ ์ˆ˜์ •์ž ...
package ir.sadeghzadeh.mozhdeh.fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import com.android.volley.Response; import com.android.volley.Volle...
package com.esum.framework.security.cms.sign; import java.io.IOException; import java.security.NoSuchAlgorithmException; import java.security.NoSuchProviderException; import java.security.PrivateKey; import java.security.cert.CertificateEncodingException; import java.security.cert.CertificateExpiredException; import j...
package by.orion.onlinertasks.data.datasource.profile.details.local; import android.support.annotation.NonNull; import com.pushtorefresh.storio.sqlite.StorIOSQLite; import javax.inject.Inject; import by.orion.onlinertasks.data.datasource.profile.details.ProfileDetailsDataSource; import by.orion.onlinertasks.data.mo...
/* * Copyright (C) 2019 The Android Open Source Project * * 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 app...
package com.restapi.controller.Exercises; import com.restapi.model.Emotions; import com.restapi.model.Response; import com.restapi.model.User; import com.restapi.repository.EmotionsRepository; import com.restapi.repository.UserRepository; import org.springframework.beans.factory.annotation.Autowired; import org.spring...
package peter8icestone.concurrency.chapter4; public class DaemonThread2 { public static void main(String[] args) { Thread t = new Thread(() -> { Thread innerThread = new Thread(() -> { try { while (true) { System.out.println("do somet...
//Figure 2-26 Producer Consumer problem using Semaphores import Semaphore; import Item; import java.util.Vector; class ProducerConsumer extends Thread { // Shared by all members in the class // Number of slots in the buffer private static final int N = 100; // Controls a...
/* * 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 vehicleParts; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.physics.box2d.Body; import com.badlogic.gdx.physics.box2d.BodyDef; import com.badlogic.gdx.physics.box2d.Fixture; import com.badlogic.gdx.physics.box2d.FixtureDef; import com.badlogic.gdx.physi...
package by.htp.student03.main; import java.util.List; /*3. ะกะพะทะดะฐะนั‚ะต ะบะปะฐัั ั ะธะผะตะฝะตะผ Student, ัะพะดะตั€ะถะฐั‰ะธะน ะฟะพะปั: ั„ะฐะผะธะปะธั ะธ ะธะฝะธั†ะธะฐะปั‹, ะฝะพะผะตั€ ะณั€ัƒะฟะฟั‹, ัƒัะฟะตะฒะฐะตะผะพัั‚ัŒ (ะผะฐััะธะฒ ะธะท ะฟัั‚ะธ ัะปะตะผะตะฝั‚ะพะฒ). ะกะพะทะดะฐะนั‚ะต ะผะฐััะธะฒ ะธะท ะดะตััั‚ะธ ัะปะตะผะตะฝั‚ะพะฒ ั‚ะฐะบะพะณะพ ั‚ะธะฟะฐ. ะ”ะพะฑะฐะฒัŒั‚ะต ะฒะพะทะผะพะถะฝะพัั‚ัŒ ะฒั‹ะฒะพะดะฐ ั„ะฐะผะธะปะธะน ะธ ะฝะพะผะตั€ะพะฒ ะณั€ัƒะฟะฟ ัั‚ัƒะดะตะฝั‚ะพะฒ, ะธะผะตัŽั‰ะธั… ะพั†ะตะฝะบะธ, ...
package com.example.apprunner.User.menu2_profile_event.Adapter; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com...
package com.occasion.maroc.services.impl; import java.util.ArrayList; import java.util.List; import org.modelmapper.ModelMapper; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.data.web.SpringDataWebProperties.Pag...
package com.lenovohit.ssm.payment.manager; public abstract class PosPayManager implements PayBaseManager{ }
package io.ceph.rgw.client.core.bucket; import io.ceph.rgw.client.model.GetBucketResponse; import org.junit.Assert; import org.junit.Test; import org.junit.experimental.categories.Category; /** * @author zhuangshuo * Created by zhuangshuo on 2020/7/9. */ @Category(BucketTests.class) public class GetBucketTest exte...
/* * 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 arraylists; import java.util.ArrayList; import java.util.Scanner; /** * * @author DylanTadros */ public class Arraylists {...
package by.client.android.railwayapp.ui.page.news; import java.util.List; import java.util.concurrent.Callable; import by.client.android.railwayapp.support.BaseRxObserverListener; import by.client.android.railwayapp.support.rss.Article; import by.client.android.railwayapp.ui.mvp.Presenter; import io.reactivex.Observa...
/* * 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 view; import controller.ControllerTransitions; import java.util.ArrayList; import java.util.List; import javax.swing.DefaultCo...
package fabio.sicredi.evaluation.jms.model; import fabio.sicredi.evaluation.api.v1.model.PollResultDTO; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; import java.util.UUID; @Data @Builder @AllArgsConstructor @NoArgsConstruct...
package utils; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public abstract class DbUtils { public static ResultSet getFirstRow(ResultSet results) throws SQLException { results.next(); return results; } public static synchronized int getInsertedKey(Statement statemen...
package psoft.backend.dao; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param; import org.springframework.stereotype.Repository; import psoft.backend.model.User; import java.util.List; @Repository ...
package com.gsccs.sme.plat.svg.service; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjso...
package com.bluespurs.lowpricefinder.searchengine; import com.bluespurs.lowpricefinder.PriceItem; public interface SearchEngine { PriceItem getPriceItem(String name); }
package tbuddy; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JFrame; i...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package xml; /** * * @author Paulo Bonifacio */ import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; ...
package com.pepel.games.shuttle.model.shuttles; import java.io.Serializable; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; impor...
package com.xianzaishi.wms.tmscore.dao.impl; import com.xianzaishi.wms.tmscore.dao.itf.IDistributionBoxDao; import com.xianzaishi.wms.tmscore.vo.DistributionBoxVO; import com.xianzaishi.wms.common.dao.impl.BaseDaoAdapter; public class DistributionBoxDaoImpl extends BaseDaoAdapter implements IDistributionBoxDao { publ...
package pt.sinfo.testDrive.domain; import java.util.ArrayList; import java.util.Comparator; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.TreeSet; import java.util.stream.Collectors; import java.util.stream.Stream; import org.joda.time.DateTime; import org.joda.time.DateTime...
package de.uulm.mmci.scatter; import java.util.List; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.PorterDuff.Mode; import android.graphics.PorterDuffXfermode; import android.graphics.RadialGradient; import android.g...
package me.asyc.jchat.network.encryption.impl; import me.asyc.jchat.network.encryption.CryptoKey; import javax.crypto.SecretKey; import java.security.spec.AlgorithmParameterSpec; /** * Simple container class for an <b>AES Key</b>. */ public final class CryptoKeyAES implements CryptoKey { private final SecretK...
package com.getomnify.hackernews; import android.app.Application; import io.realm.Realm; /** * Created by Sharukh Mohammed on 29/05/18 at 12:55. */ public class MyApp extends Application { @Override public void onCreate() { super.onCreate(); Realm.init(getApplicationContext()); } }
/* * Created by SixKeyStudios * Added in project Technicalities * File world.objects / TObject * created on 20.5.2019 , 21:43:20 */ package technicalities.world.objects; import SixGen.GameObject.GameObject; import SixGen.Utils.ID; import technicalities.ui.tui.TUI; import technicalities.variables.globals.GlobalVa...
package br.com.bd1start.aula2; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.junit.Assert; import org.junit.Test; import br.com.db1start.aula2.ExercicioAula11; public class ExercicioAula11Teste { // Exercicio 1 @Test public void deveRetornarListaDeNomes() { ExercicioAu...
package mb.tianxundai.com.toptoken.secondphase.fgt; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; im...
package zerot.itg; import org.objectweb.asm.ClassVisitor; import org.objectweb.asm.Opcodes; /** * Created by Zerot on 11/10/2014. */ public class Visitor extends ClassVisitor { private final ClassDataManager classData; public Visitor(ClassDataManager classData) { super(Opcodes.ASM5); this.c...
package com.sirma.itt.javacourse.desingpatterns.task4.objectpool; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; /** * Pool class that lets us get N user objects. * * @param <T> * The type parameter this class will use. * @author Simeon Iliev */ public class User...
package com.wadi.set; public interface View { void refresh(); }
package com.myth.springboot.service; import com.myth.springboot.dao.AdminMapper; import com.myth.springboot.dao.DeptMapper; import com.myth.springboot.entity.Class; import com.myth.springboot.entity.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import...
package com.eegeo.mapapi.picking; import android.graphics.Point; import androidx.annotation.NonNull; import androidx.annotation.UiThread; import androidx.annotation.WorkerThread; import com.eegeo.mapapi.INativeMessageRunner; import com.eegeo.mapapi.IUiMessageRunner; import com.eegeo.mapapi.geometry.LatLng; import co...
package com.example.stoom.dao.rowmappers; import com.example.stoom.entity.Address; import org.springframework.jdbc.core.RowMapper; import java.sql.ResultSet; import java.sql.SQLException; public final class AddressMapper implements RowMapper { public Address mapRow(ResultSet rs, int rowNum) throws SQLException...
package online.lahloba.www.lahloba.data.model; import androidx.databinding.BaseObservable; import androidx.databinding.Bindable; import android.os.Parcel; import android.os.Parcelable; import java.util.Date; import java.util.HashMap; import online.lahloba.www.lahloba.BR; public class OrderItem extends BaseObservabl...
package com.gxtc.huchuan.adapter; import android.content.Context; import com.gxtc.commlibrary.base.AbsBaseAdapter; import com.gxtc.huchuan.bean.UserRiseDataBean; import java.util.List; /** * Created by Steven on 17/2/23. */ public class UserRiseAdapter extends AbsBaseAdapter<UserRiseDataBean> { public User...
package com.sikeserver.maid.server; import com.sikeserver.maid.Maid; import com.sikeserver.maid.task.KeepAliveTask; import com.sikeserver.maid.util.Logger; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.c...
package crawlers; /* * 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. */ import java.util.HashMap; import java.util.Map; /** * * @author zua */ public final class Logos { private s...
package pl.weakpoint.library.service; import java.util.List; import java.util.Optional; import pl.weakpoint.library.model.Author; public interface AuthorService { List<Author> getAllAuthors(); Optional<Author> getAuthorById(String id); }
public class NarrowPassage2Easy { private int[] size; private int maxSizeSum; public int count(int[] size, int maxSizeSum) { this.size = size; this.maxSizeSum = maxSizeSum; int[] perm = new int[size.length]; boolean[] used = new boolean[size.length]; int result = ...
package formation.formation.service.rest; import formation.classTmp.ReponseMoyenne; import formation.domain.Question; import formation.domain.Reponse; import formation.formation.service.itf.ReponseItf; import formation.persistence.question.QuestionDAOItf; import formation.persistence.reponse.ReponseDAOItf; import jav...
import gov.nih.mipav.plugins.PlugInGeneric; import gov.nih.mipav.model.file.*; import gov.nih.mipav.model.structures.ModelImage; import gov.nih.mipav.view.*; import java.io.File; import java.util.*; import javax.swing.JFileChooser; public class PlugInDicom2Conversion implements PlugInGeneric { public PlugInDi...
/* * (C) Copyright 2006-2012 Nuxeo SA (http://nuxeo.com/) and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.or...
package GCC; public class Match { public Player player1; public Player player2; private String lastMove = "null"; private int counter = 0; private int[][] matrix = new int[8][8]; public Match(Player p1, Player p2) { this.player1 = p1; this.player2 = p2; player1.not...
/* * 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 modelo; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import javax.swing.JOptionPane; import Controlador.ConexionBD; public class tableUsuarioDAO { ConexionBD con = new ConexionBD(); Connection cnn = con....
package message; import com.google.gson.internal.StringMap; import java.lang.reflect.Field; import java.util.Iterator; import java.util.Map; public class ChatContent { private String account; public String getAccount() { return account; } public void setAccount(String account) { t...
/** * ThinkJava C9E1 * @author Victor Lourng * @version 2016 */ // import com.google.guava; import java.util.Scanner; public class Test { public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); // # Execise 1 (see getType method below) // 1. I created a getType m...
package f.star.iota.milk.ui.zu80.www; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.ViewGroup; import f.star.iota.milk.R; import f.star.iota.milk.base.BaseAdapter; public class ZUAdapter extends BaseAdapter<ZUViewHolder, ZUBean> { @Override public ZU...
/* * 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 jacktheripper; import java.io.File; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleObjectProp...
package org.maple.jdk8.stream; import java.util.IntSummaryStatistics; import java.util.stream.Stream; /** * @Author Mapleins * @Date 2019-04-07 0:34 * @Description */ public class Test9 { public static void main(String[] args) { // ๆ‰พๅ‡บๆตไธญๅคงไบŽ2็š„ๅ…ƒ็ด ๏ผŒ็„ถๅŽๅฐ†ๆฏไธชๅ…ƒ็ด ไน˜ไปฅ2๏ผŒ็„ถๅŽๅฟฝ็•ฅๆމๆตไธญ็š„ๅ‰ไธคไธชๅ…ƒ็ด ๏ผŒ็„ถๅŽๅ†่Žทๅ–ๆตไธญ็š„ไธคไธชๅ…ƒ็ด ๏ผŒๆœ€ๅŽๆฑ‚ๅ‡บๆตไธญๅ…ƒ็ด ็š„ๆ€ปๅ’Œ ...
package Object.Enum; /** * La classe IdoneitaEnum implementa l'enumerazione idoneita di un cibo */ public enum IdoneitaEnum { tutti, pranzo_cena, colazione_spuntino, pranzo, cena, colazione, spuntino }
package com.mglowinski.restaurants.rest; import com.mglowinski.restaurants.model.dto.PromotionCreateDto; import com.mglowinski.restaurants.model.dto.PromotionDto; import com.mglowinski.restaurants.service.promotion.PromotionService; import lombok.RequiredArgsConstructor; import org.springframework.beans.factory.annota...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package josteo.model.paziente; import josteo.infrastructure.DomainBase.*; import josteo.model.tipoAnamnesi.TipoAnamnesi; /** * * @author cristiano */ public class AnamnesiRemota extends EntityBase { private Not...
package ex0506; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; public class SDAO { //๋ฐ์ดํ„ฐ์ ‘์† public Connection con() throws Exception{ String driver = "oracle.jdbc.driver.OracleDriver"; String url = "jdbc:ora...
package rafaxplayer.cheftools.recipes; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Parcelable; import android.support.annotation.NonNull; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import android.view...
package com.proyecto.patas.services; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.proyecto.patas.model.Adopter; import com.proyecto.patas.model.PetAnimal; import com.proyecto.patas.model.PetShelter; import com.proyecto...
package com.lotus.controller; import java.util.LinkedList; import java.util.concurrent.ConcurrentHashMap; import com.lotus.model.TweetDetails; import com.lotus.util.Pair; public interface Controller { /*first is user and second will be tweets list*/ public static ConcurrentHashMap<String, ConcurrentHashMap<String,...
package com.junyoung.searchwheretogoapi.service.auth; import com.junyoung.searchwheretogoapi.model.data.User; import java.util.Optional; public interface JwtService { String toToken(User user); Optional<String> getUserIdFromToken(String token); }
package Parte01; public class P1PG46 { public static void main(String[] args) { double d = 5.22; // Cotaรงรฃo do dรณlar double q1=10; // Qtde de moedas de 1 dolar double q2=30; // Qtde de moedas de 50 cents de dolar double q3=10; // Qtde de moedas de 25 cents de dolar double q4...
package com.hrms.hrms.entities.concretes; import java.time.LocalDate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import com.hrms.hrms.entities.abstracts.User; import lombok.Data; import lombok.EqualsAndHashCode; @Data @Entity @EqualsAndHashCode(callSuper=fals...
package Patterns.aStrategy.Buildings; import Patterns.aStrategy.Wiapons.Behavior; import Patterns.aStrategy.Wiapons.Behaviors; import Patterns.aStrategy.Wiapons.Bow; import Patterns.aStrategy.Wiapons.Sword; import java.util.Random; /** * Created by Zigner on 11/1/2015. */ public class Armory { Behavior behavio...
package com.zs.ui.device.iviews; import android.support.v4.widget.SwipeRefreshLayout; import com.zs.common.AppBaseActivity; /** * author: admin * date: 2018/05/07 * version: 0 * mail: secret * desc: IDeviceListView */ public interface IDeviceListView { AppBaseActivity getContext(); SwipeRefreshLayout ...
package com.example.contentproviderdemo; import android.app.Application; import android.util.Log; /** * Author wangyu1 * Data 2018/12/27 * Description **/ public class MyApplication extends Application { private static MyApplication mInstance = null; @Override public void onCreate() { super....
/* * @(#) SvcInfoDAO.java * Copyright (c) 2007 eSumTech Co., Ltd. All Rights Reserved. */ package com.esum.wp.ims.svcinfo.dao.impl; import java.util.List; import com.esum.appframework.dao.impl.SqlMapDAO; import com.esum.appframework.exception.ApplicationException; import com.esum.wp.ims.svcinfo.dao.ISvcInfoDAO; ...
package cn.demo; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.google.gson.JsonArray; import com.google.gson.JsonObject; /** ...
package kr.or.ddit.interview.dao; import java.util.List; import java.util.Map; import kr.or.ddit.vo.CalendarVO; import kr.or.ddit.vo.JoinVO; import kr.or.ddit.vo.ProjectVO; import kr.or.ddit.vo.SuccessBoardCommentVO; import kr.or.ddit.vo.SuccessBoardVO; import oracle.net.aso.p; import org.springframework.beans.facto...
package com.esum.framework.queue; import javax.jms.DeliveryMode; import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.MessageProducer; import javax.jms.Queue; import javax.jms.Session; import javax.jms.TextMessage; import junit.frame...
package com.base.utils.location; /** * ๅฎšไฝๆŽฅๅฃ * * @author jianfei.geng * @since 2016.08.31 */ public interface LocationApi { /** * ๅˆๅง‹ๅŒ–ๅฎšไฝๅ‚ๆ•ฐ */ public void initLocationParam(); /** * ๅผ€ๅง‹ๅฎšไฝ * * @param locationCallback */ public void startLocation(LocationCallback locationC...
package com.duanc.web.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import com.duanc.api.web.ShowService; import com.duanc.model.dt...
/* * 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 threadprogramming; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; import java.util...
package com.github.ytjojo.supernestedlayout; import android.graphics.PointF; public class PtrIndicator { public static final float INVALID_MAXOFFSETRATIO = -1; public static final int POS_START = 0; protected int mOffsetToRefresh = 0; private PointF mPtLastMove = new PointF(); private float mOffs...
package com.creche.crecheapi.request; import com.creche.crecheapi.entity.Telefone; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.util.List; import java.util.stream.Collectors; @Builder @Data @NoArgsConstructor @AllArgsConstructor public clas...
import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.JButton; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import javax.swing.JLabel; import javax.swing.SwingConsta...
package com; public class Split { public static void main(String[] args) { String strDev = "Samsung#Nokia#Mi"; char[] strarr = strDev.toCharArray(); String str; int size = strDev.length(); System.out.println("Size of String is " + size); } }
package scraper.ui.utils; import common.elements.UiElementsFactory; import common.elements.interfaces.ITextBox; import common.environment.TestEnvironment; import org.openqa.selenium.support.PageFactory; import scraper.ui.pagefactory.LoginPageUIElements; public class LoginUI { private static final LoginUI ourInstanc...
package wannaapp.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.logging.log4j2.Log4J2LoggingSystem; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.M...
/* * 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 Controller; import Model.MediaLog; import Model.Medium; import Model.User; import java.util.Date; import junit.fram...
package com.cedo.cat2auth.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.cedo.cat2auth.model.RoleMenu; import org.apache.ibatis.annotations.Mapper; /** * ่ง’่‰ฒ-่œๅ• * * @author chendong * @email sunlightcs@gmail.com * @date 2019-03-02 20:45:19 */ @Mapper public interface RoleMenuMapper exte...
package com.renuka.controllers; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.ann...
/* * 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...
/* * 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 Cliente; import Modelo.Alumno; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream...
package com.citibank.newcpb.vo; import java.util.ArrayList; import java.util.Date; import org.apache.commons.lang.StringUtils; import com.citibank.newcpb.enums.TableTypeEnum; import com.citibank.newcpb.enun.CustomerTypeEnum; import com.citibank.newcpb.util.FormatUtils; public class RegisterDataCustomerVO...
package com.in28mins.jdbctojpademo.jpa; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.TypedQuery; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.config.BeanPostP...
package com.esum.comp.dbc.task; import java.io.File; import java.io.IOException; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import org.apache.commons.lang.StringUtils; import com.esum.comp.dbc.DbcCode; import com.esum.comp.dbc.DbcConfig; import com.esu...
package com.thoughtworks.shoppingweb.web; import com.thoughtworks.shoppingweb.domain.Address; import com.thoughtworks.shoppingweb.domain.ShopCart; import com.thoughtworks.shoppingweb.service.AddressService; import com.thoughtworks.shoppingweb.service.ShopCartService; import com.thoughtworks.shoppingweb.service.UserSer...
package com.lifeplan.lifeplanapplication; public class LifePlanGraph2IncomListItem { /** * ใƒ•ใ‚ฃใƒผใƒซใƒ‰ */ long id; private String mKoumoku = null; private Float mWariai = null; private Integer mSougaku = null; /** * ใ‚ณใƒณใ‚นใƒˆใƒฉใ‚ฏใ‚ฟ */ public LifePlanGraph2IncomListItem() { } ...
package com.icss.bean; import java.awt.Menu; public class MenuBean { private int num; private int sort_id; private String name; private String code; private String unit; private double unit_price; private String state; public MenuBean(){ }; public int getNum() { return num; } public void setNum(int...
package com.rednovo.ace.data.events; /** * ๅฐๅท */ public class SealNumberEvent extends BaseEvent { public String content; public SealNumberEvent(int eventId, String content) { super(eventId); this.content = content; } }