text
stringlengths
10
2.72M
/* * Copyright (c) 2003-2004, Jadabs project * 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 o...
package com.zhaoyan.ladderball.service.event.handler; import com.zhaoyan.ladderball.dao.eventofmatch.EventOfMatchDao; import com.zhaoyan.ladderball.dao.player.PlayerOfMatchDao; import com.zhaoyan.ladderball.domain.eventofmatch.db.EventOfMatch; import com.zhaoyan.ladderball.domain.player.db.PlayerOfMatch; import org.sl...
package src.modulo6.complementos; /** * * @author uel */ public class Point3 { private float x; private float y; private float z; public Point3() { } public Point3(float x, float y, float z) { this.x = x; this.y = y; this.z = z; } public void setPoint3(floa...
package com.github.bot.curiosone.core.knowledge; import com.ibm.icu.impl.Relation; import java.util.List; import java.util.Objects; /** * Resumes a semantic query parameters. * */ public class SemanticQuery { private SemanticRelationType relation; private String subject; private String object; ...
package com.xx.base.org.util; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.List; /** * 对象处理工具类 * @author Lixingxing */ public class BaseObjectUtils { // 深拷贝(拷贝的对象要实现 ...
package uk.gov.digital.ho.pttg.api; import lombok.extern.slf4j.Slf4j; import org.springframework.data.domain.Pageable; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springfram...
package com.serenitybdd.jbehave.steps; import com.serenitybdd.jbehave.pages.MainPage; import com.serenitybdd.jbehave.pages.ShoppingCartPage; import net.thucydides.core.annotations.Step; import java.util.List; public class BuyerSteps { MainPage mainPage; ShoppingCartPage shoppingCartPage; @Step publ...
package com.soecode.lyf.dao; import java.util.ArrayList; import java.util.List; import java.util.Map; import com.soecode.lyf.service.BookService; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import com.soecode.lyf.BaseTest; import com.soecode.lyf.entity.Book; public class Bo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.inbio.ara.eao.security.impl; import java.util.List; import org.inbio.ara.eao.security.*; import javax.ejb.Stateless; import javax.persistence.Query; import org.inbio.ara.eao.BaseEAOImpl; import org.inbio.ar...
package com.yuneec.flight_settings; import android.util.Xml; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlSerializer; public class WifiPasswordService { public static List<WifiPassword> get...
package ltd.getman.testjobproject.presentation.views; public interface IView { void showSnackbarMessage(String text); }
package com.universidadeafit.appeafit.Views; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.widget.CalendarView; import android.widget.Toast; import com.universidadeafit.appeafit.R; public class Calendario extends AppCompatActivity ...
package cn.routePlan; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class RoutePlanMaps { private Graph g = new Graph(); public RoutePlanMaps() { } private List<Route> routeList; public void init() { List<Vertex> vertexList = null; //初始化...
package net.dryuf.bigio.seekable; import lombok.AccessLevel; import lombok.AllArgsConstructor; import net.dryuf.bigio.FlatChannel; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.SeekableByteChannel; @AllArgsConstructor(access = AccessLevel.PROTECTED) public class SeekableChannelFlat...
package com.userframe.flatlands.window; import com.userframe.flatlands.framework.GameObject; public class Camera { private static float x, y; public static int camX; public static int camY; public Camera(float x, float y){ this.x = x; this.y = y; } public void tick(GameObject Player)...
//here DemoBox allowed one object to initilize anotehr. class DemoBox { double width; double height; double depth; //this constructor takes one object type DemoBOx DemoBox(DemoBox o) { width = o.width; height = o.height; depth = o.depth; } //constructor used...
package com.kool.restaurant.dto; import java.util.Date; import java.util.Set; import lombok.Builder; import lombok.Data; @Builder @Data public class Reservation { private Long reservationId; private String reservationCode; private ReservationStatus status; private Integer restaurantId; private Set<Plat> dishLis...
package com.github.andlyticsproject.db; import android.net.Uri; import android.provider.BaseColumns; import java.util.HashMap; public final class AppStatsTable implements BaseColumns { public static final String DATABASE_TABLE_NAME = "appstats"; public static final Uri CONTENT_URI = Uri.parse("content://" + ...
/******************************************************************************* * Copyright 2014 See AUTHORS file. * <p> * 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 * <p> * http://w...
package com.example.kuno.intentobjectex02; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; public class MainActivity extends AppCompatActivity { Button btnParcelButton; @Override protected v...
package com.staniul.teamspeak.commands.validators; import com.staniul.util.validation.Validator; import java.util.regex.Pattern; public class TwoIntegerParamsValidator implements Validator<String> { public static Pattern getPattern () { return Pattern.compile("^(\\d+)[ \t]+(\\d+)$"); } @Override...
package vape.springmvc.services; import vape.springmvc.entity.TarjetasGraficas; public interface TarjetasGraficasServices { public TarjetasGraficas getTarjetaGrafica(String idtg); }
package skollur1.msse.asu.edu.graduatestudentassignment; /* * Copyright 2016 Supraj Kolluri, * * * The contents of the file can only be used for the purpose of grading and reviewing. * The instructor and the University have the right to build and evaluate the * software package for the purpose of determining the ...
package Sevlet; import error.HttpError; import models.ResponseHeader; import models.ResponseHeaderBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedWriter; import java.io.IOException; public class ErrorServlet extends Servlet { private Logger logger = LoggerFactory.getLogge...
package com.goldenasia.lottery.data; import java.io.Serializable; /** * Created by Sakura on 2017/12/8. */ public class RebateOptionsBean implements Serializable { /** * property_name : * rebate : */ private String property_name; private String method_name; private String rebate...
/** * */ package com.rd.utils.rest; import java.nio.charset.StandardCharsets; import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.client.Entity; import javax.ws.rs.client.Invocation.Builder; import javax.ws.rs.client.WebTarget; import javax.ws.rs.core.Response; import org...
package com.nucpoop.covserver.service; import java.util.List; import javax.transaction.Transactional; import com.nucpoop.covserver.mapper.UserMapper; import com.nucpoop.covserver.model.User; import com.nucpoop.covserver.model.UserEmailCheck; import org.springframework.beans.factory.annotation.Autowired; import org....
package org.elasticsearch.plugin.zentity.exceptions; import org.elasticsearch.ElasticsearchStatusException; import org.elasticsearch.rest.RestStatus; public class BadRequestException extends ElasticsearchStatusException { public BadRequestException(String message, Throwable cause) { super(message, RestSta...
package com.cxc.bottomnavigationbar.ui; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.ashokvarma.bottomnavigation.BadgeItem; import com.ashokvarma.bottomnavigation.BottomNavigation...
package dk.webbies.tscreate.analysis.declarations; import dk.webbies.tscreate.analysis.declarations.types.*; import fj.data.Set; import org.apache.commons.lang3.StringUtils; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; /** * Created by Erik Krogh Kristensen on 21-12-2015. */ public f...
package com.junzhao.shanfen.model; import com.google.gson.annotations.Expose; import java.io.Serializable; /** * Created by Administrator on 2018/3/20 0020. * * 抽奖--奖品类 */ public class PHRaffleResultData implements Serializable{ @Expose public String awardId; @Expose public String awardName; ...
package com.shishal.myappportfolio; import android.content.Context; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import android.widget.Toast; public class MainActivity extends AppCompatActivity { Toast toast = null;...
package com.jgw.supercodeplatform.trace.dto; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import io.swagger.annotations.ApiModel; import io.swagger.anno...
/** * Copyright 2015 零志愿工作室 (http://www.0will.com). All rights reserved. * File Name: SysCommentServiceImpl.java * Author: chenlong * Encoding UTF-8 * Version: 1.0 * Date: 2015年3月9日 * History: */ package com.Owill.web.system.service; import java.util.List; import org.springframework.beans.factory.annotation....
package cn.edu.ncu.collegesecondhand.entity; /** * Created by ren lingyun on 2020/4/29 2:01 */ public class Refund { private int id; private int orderId; private String reason; public Refund(int orderId, String reason) { this.orderId = orderId; this.reason = reason; } public...
package com.grocery.codenicely.vegworld_new.contact_us.view; import com.grocery.codenicely.vegworld_new.contact_us.model.data.ContactUsData; /** * Created by meghal on 15/10/16. */ public interface ContactUsView { void showLoader(boolean show); void showMessage(String message); void setData(Contac...
package com.cy.web.action.news; import java.util.LinkedHashMap; import javax.annotation.Resource; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Controller; import com.cy.bean.Paging; import com.cy.bean.news.News; import com.cy.service.news.NewsService; import...
package com.redhat.service.bridge.manager.models; import java.util.Map; import java.util.UUID; import javax.persistence.CollectionTable; import javax.persistence.Column; import javax.persistence.ElementCollection; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import...
package de.wiltherr.ws2812fx.serial.communication.exception; public class SendingPacketTimeout extends SendingPacketFailed { public SendingPacketTimeout(int timeoutMs) { super(String.format("Writing bytes to serial device timed out after %d ms.", timeoutMs)); } }
package Matriz; import Vetor.Vet2; public class Mat2 { //Atributos de classe do tipo float para cada posição da matriz: m00, m01, m10, m11; float m00, m01, m10, m11; //Método que define os valores da matriz de modo que ela se torne uma matriz identidade; public void setIdentidade(){ this.m00 = 1; th...
package com.bytest.autotest.innerService.impl; import com.bytest.autotest.aspect.DynamicSource; import com.bytest.autotest.dao.BreEventParamDao; import com.bytest.autotest.domain.BreEventParam; import com.bytest.autotest.enums.DateSourceType; import com.bytest.autotest.innerService.BreEventParamService; import org.apa...
package com.roundarch.controller; import java.net.URLConnection; import java.util.Map; import org.apache.commons.io.IOUtils; import org.junit.Assert; import org.junit.Test; import org.springframework.core.io.ClassPathResource; import org.springframework.mock.web.MockHttpServletRequest; import org.springfram...
package edu.upenn.cis350.androidapp.DataInteraction.Management.ItemManagement; import java.net.URL; import java.util.*; import org.json.simple.parser.*; import org.json.simple.*; import java.text.*; import edu.upenn.cis350.androidapp.AccessWebTask; import edu.upenn.cis350.androidapp.DataInteraction.Data.*; public cla...
package com.thinkdevs.cryptomarket.model; /** * Created by ABC on 8/3/2017. */ public class Users { private String un; private String ue; private String ui; private long uc; private long ul; private int us; private String ur; public Users() { } public User...
/* * Created on 09/12/2008 * */ package com.citibank.ods.persistence.pl.dao; import com.citibank.ods.common.dataset.DataSet; import com.citibank.ods.entity.pl.TplErEntity; /** * @author lfabiano * @since 09/12/2008 */ public interface TplErDAO extends BaseTplErDAO { public TplErEntity insert( T...
/* * 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.ut.healthelink.model; import java.util.Date; import java.util.List; /** * * @author chadmccue */ public class Transac...
package com.Exam.Entity; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import org.apache.lucene.analysis.core.KeywordAnalyzer; import org.hibernate.search.annotatio...
package br.mg.puc.sica.security.server.entities; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.Transient; @Entity @Table(name = "user", schema="security") public class User implement...
package edu.oregonstate.cs361.battleship; /** * Created by williamstribyjr on 3/14/17. */ public class EasyComputer extends Computer{ public EasyComputer(){ } }
package com.timewarp.games.onedroidcode.vsl.nodes.robot.sensors; import com.timewarp.engine.Direction; import com.timewarp.engine.Vector2D; import com.timewarp.games.onedroidcode.objects.Player; import com.timewarp.games.onedroidcode.vsl.CodeRunner; import com.timewarp.games.onedroidcode.vsl.Node; import com.timewarp....
package ma.adria.banque.repository; import ma.adria.banque.entities.Test; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface TestRepository extends JpaRepository<Test, Long> { }
package com.esum.comp.etx; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.esum.comp.etx.process.ETXMessageListener; import com.esum.comp.etx.table.TPRoutInfoTable; import com.esum.framework.core.component.DefaultComponent; import com.esum.framework.core.component.table.InfoTableManager; import co...
/* * 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 Turnieje.Servlets; import email.GoogleMail; import java.io.IOException; import java.util.logging.Level; import java.util.logg...
package com.gmail.filoghost.holographicdisplays.disk; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.World; import com.gmail.filoghost.holographicdisplays.exception.InvalidFormatException; import com.gmail.filog...
package cc.ipotato.multithread; import java.util.concurrent.ExecutionException; import java.util.concurrent.FutureTask; public class ThreadUseCallableTest { public static void main(String[] args) throws ExecutionException, InterruptedException { FutureTask<String> task = new FutureTask<String>(new ThreadU...
package model; import contract.IMove; /** * The Classe Spell * @author Victor Zimmermann */ public class Spell extends Entity implements IMove { /** The Direction of Spell. */ private int dirS; /** * Instantiates a new spell. * * @param x * the pos x * @param y * ...
package lab5; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class ContaTest { @Test void adicionaCompra() { } @Test void getDebito() { } @Test void getCliente() { } @Test void testToString() { } @Test void testHashCod...
package pl.artursienkowski.service.stock; import org.springframework.stereotype.Service; import pl.artursienkowski.model.Car; import pl.artursienkowski.model.Customer; import pl.artursienkowski.repository.CarRepository; import pl.artursienkowski.repository.CustomerRepository; import java.time.LocalDateTime; import ja...
package com.houzhi.retrofitdemo.fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.houzhi.retrofitdemo.R; import com.houzhi.retrofitdemo.model.Args; import com.houzhi.retrofitdemo.model.HttpbinRequ...
/* TODO Реализуйте Калькулятор, который должен уметь выполнять математические операции (+, -, *, /, ^, %) над целыми положительными числами. Для проверки знака математической операции воспользуйтесь оператором switch(). Выведите на результат на экран Используйте ввод с клавиатуры (класс Scanner) Для продолжения/заверш...
import java.util.*; class Lucky_Substring { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int sum4 = 0, sum7 = 0; System.out.println("Enter string"); String str = sc.nextLine(); for(int i =0 ; i<str.length(); i++) { if(str....
package pl.weakpoint.library.controller; public interface ReservationRequestMapping { String RESERVATION_ROOT = "/reservation"; String GET_ALL = "/getAll.do"; }
package common.android; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import common.android.contentprovider.ContentProviderApi; public class BootReceiver extends BroadcastReceiver { private static final String TAG = BootRe...
/* * Created on Mar 1, 2007 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package com.citibank.ods.entity.pl.valueobject; import java.util.Date; /** * @author fernando.salgado * * Tabela Historica de Agrupador de Prod...
package com.example.spacepictures.retrofit; import com.example.spacepictures.pojo.Object; import java.util.List; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Query; public interface RetrofitInterface { @GET("apod?api_key=L4juwY6U70NI1errn1qV0OTkPwWMzwPNj2cVHFw4&thumbs=false") Call...
package f.star.iota.milk.ui.girlsky.girl; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import java.util.ArrayList; import java.util.List; import f.star.iota.milk.Menus; import f.star.iota.milk.Net; import f.star.iota.milk.base.PagerFragment; import f.star.iota.milk.base.Tit...
package com.sirma.itt.javacourse.networkingAndGui.task3.serverClientTalk.client; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JTextA...
package kr.or.ddit.member.main; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Scanner; import kr.or.ddit.member.service.IMemberService; import kr.or.ddit.member.service.MemberServiceImpl; import kr.or.ddit.member.vo.MemberVO; import org.apache.log4j.Logger; import com.ibati...
package view; import model.FileLetterLezer; import model.HoofdletterDecorator; import model.LetterLezer; import model.SpatieToevoegenDecorator; public class FileLetterLezerLauncher { public static void main(String[] args) { LetterLezer fl = new FileLetterLezer("letters.txt"); fl = new HoofdletterD...
package com.company; public class ImageMap { int[][] kep;//értéke a szín ImageMap(int x_meret,int y_meret) { kep = new int[x_meret][y_meret]; } public void setRGB(int x, int y, int c) { kep[x][y] = c; } public int getRGB(int x, int y) { return kep[x][y]; } }
package com.esum.router; import org.apache.commons.lang.StringUtils; import com.esum.framework.common.util.ClassUtil; import com.esum.framework.common.util.DateUtil; import com.esum.framework.core.component.ComponentManager; import com.esum.framework.core.component.ComponentManagerFactory; import com.esum.framework.c...
import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; public class csv { private String fileName; private Double val; protected ArrayList<ArrayList<Double>> recoverLog; protected ArrayList<ArrayList<Doubl...
package com.gxtc.huchuan.ui.live.intro; import android.app.Activity; import android.text.TextUtils; import com.alibaba.fastjson.JSONObject; import com.gxtc.commlibrary.utils.ErrorCodeUtil; import com.gxtc.commlibrary.utils.GotoUtil; import com.gxtc.huchuan.Constant; import com.gxtc.huchuan.bean.ChatInFoStatusBean; im...
package com.oa.file.form; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; impor...
package ALIXAR.U8_XML.U8_T3_USO_DE_STAX; public class Cachimba { private int id; private String nombre; private String marca; private String gama; private int ano_lanzamiento; public Cachimba(String nombre, String marca, String gama, int ano_lanzamiento, int id) { this.id = id; ...
package com.shwetansh.covid_19tracker; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.view.MenuItem; import android.view.View; import ...
import java.util.LinkedList; import java.util.Queue; /** * 岛屿数量 https://leetcode-cn.com/problems/number-of-islands/ */ public class 岛屿数量二刷 { public int numIslands_BFS(char[][] grid) { if(grid==null||grid.length==0) return 0; Queue<Integer> queue=new LinkedList<>(); int colLen=grid[0].len...
package Greedy; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; public class QueueReconstruction { public int[][] reconstructQueue(int[][] people) { int[][] result = new int[people.length][]; Arrays.sort(people, new Comparator<int[]>(){ public int compare(int[] ...
package a1; import javax.swing.AbstractAction; import java.awt.event.ActionEvent; import java.awt.event.MouseWheelEvent; import java.awt.event.MouseWheelListener; public class SizeCommand implements MouseWheelListener { Model m; public SizeCommand(Model m){ this.m = m; } public void mouseWh...
package com.project.smart6.model; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; /** * IPL Player Entity * @author krish * */ @Entity @Table(name = "ipl_players") public class IPLPlayer { @Id private int player_id; private String player_name; private String...
package pro.likada.service.serviceImpl; import org.hibernate.HibernateException; import pro.likada.dao.TelegramUserDAO; import pro.likada.model.TelegramUser; import pro.likada.model.User; import pro.likada.service.TelegramUserService; import javax.inject.Inject; import javax.inject.Named; import javax.transaction.Tra...
package com.g74.rollersplat.controller.command; import com.g74.rollersplat.controller.states.*; import com.g74.rollersplat.model.menu.Menu; import com.g74.rollersplat.viewer.gui.GUI; import java.io.IOException; public class StateController { private State state; private int levelNum = 1; private int mode...
package com.cpro.rxjavaretrofit.entity; /** * Created by lx on 2016/6/16. */ public class MemberBaseInfoEntity { private String memberRoleId; private String memberName; private String memberHeadUrl; public MemberBaseInfoEntity(String memberRoleId, String memberName, String memberHeadUrl) { t...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.04.05 at 10:...
package com.intentsg.service.tour.repository; import com.intentsg.service.tour.model.UserTour; import com.intentsg.service.tour.service.TourService; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTes...
package org.traccar.notificators; import org.traccar.Context; import org.traccar.model.Event; import org.traccar.model.Position; import org.traccar.model.User; import org.traccar.notification.FullMessage; import org.traccar.notification.MessageException; import org.traccar.notification.NotificationFormatter; import j...
package com.alibaba.druid.bvt.sql.mysql.select; import com.alibaba.druid.sql.MysqlTest; import com.alibaba.druid.sql.SQLUtils; import com.alibaba.druid.sql.ast.SQLStatement; import com.alibaba.druid.sql.ast.statement.SQLSelectStatement; import com.alibaba.druid.util.JdbcConstants; import java.util.List; public class...
package alien4cloud.it.topology; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.apache.http.NameValuePair; import org.apache.http.message.BasicNameValuePair; imp...
package tn.esprit.spring.repository; import org.springframework.data.repository.CrudRepository; import tn.esprit.spring.entity.Projet; public interface IProjetRepository extends CrudRepository<Projet, Integer> { }
package com.example.android.citylistview; /** * Created by Shereen on 10/10/2017. */ public class City { private String Name; private int Population; private int image; private String Longitude; private String Latitude; public City(String name, int population, int image) { ...
package com.myvodafone.android.business.managers; import android.app.Activity; import android.content.Context; import android.os.AsyncTask; import com.myvodafone.android.model.service.ClaimedCouponResult; import com.myvodafone.android.model.service.CouponResult; import com.myvodafone.android.model.service.CouponsResp...
package com.gaoshin.beans; import java.util.Calendar; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class UserFile { private Long id; private User user; private String mimetype; private UserFileType type; private String name; private String path; private Calendar...
package project.core.groupPage; import org.openqa.selenium.By; import project.BasePage; public class GroupProfilePage extends BasePage { private static final By participantBtnLocator = By.xpath(".//*[contains(@data-l,'t,join')]/div"); private static final By leaveGroupBtnLocator = By.xpath(".//*[contains(@da...
package express.product.pt.cn.fishepress.utils; import android.support.annotation.RestrictTo; import express.product.pt.cn.fishepress.bean.CookingBean; import express.product.pt.cn.fishepress.http.httpinterface.CookService; import retrofit2.Call; import retrofit2.Retrofit; import retrofit2.adapter.rxjava.RxJavaCallAd...
package com.example.music; import androidx.appcompat.app.AppCompatActivity; import de.hdodenhof.circleimageview.CircleImageView; import android.animation.ObjectAnimator; import android.content.ComponentName; import android.content.Intent; import android.content.ServiceConnection; import android.media.MediaPlayer; imp...
package edu.uha.miage.core.repository; import edu.uha.miage.core.entity.Departement; import edu.uha.miage.core.entity.Fonction; import java.util.List; import java.util.Optional; import org.springframework.data.jpa.repository.JpaRepository; /** * * @author victo */ public interface FonctionRepository extends JpaRep...
package RAUDT.RoundRobinJCDT_Throughput; import genDevs.modeling.*; import GenCol.*; import simView.*; public class JobAllocator extends ViewableAtomic { protected Queue q; protected int vm_count; protected char[] vm_type; protected boolean[] vm_available; protected int[] vm_queue_length; protected Queue Qu...
package com.hazelcast.jet.impl; import com.hazelcast.client.impl.clientside.DefaultClientExtension; import com.hazelcast.client.impl.clientside.HazelcastClientInstanceImpl; import com.hazelcast.jet.JetInstance; public class JetClientExtension extends DefaultClientExtension { private JetClientInstanceImpl jetClie...
package com.jaiaxn.design.pattern.behavioral.template; /** * @author: wang.jiaxin * @date: 2019年08月27日 * @description: **/ public class Basketball extends Game { @Override void initialize() { System.out.println("Basketball Game initialized!"); } @Override void startPlay() { Sys...
package algorithms.graph.practice; import java.util.Collections; import algorithms.graph.Digraph; import algorithms.graph.process.CycleDetection; import algorithms.graph.process.TopologicalSort; public class ReversePostTopoSort implements TopologicalSort { private boolean hasCycle; private Iterable<Integer> top...