text
stringlengths
10
2.72M
/* * PaperInfoWindow.java */ package GUI; import org.graphstream.graph.*; import edu.stanford.ejalbert.BrowserLauncher; public class PaperInfoWindow extends javax.swing.JFrame { /** Creates new form paperInfoWindow */ public PaperInfoWindow(Graph v, String item) { initComponents(); this...
package DataStructures.trees; import java.util.LinkedList; import java.util.Queue; /** Tree a) 5 -> null / \ 4 -> 7 -> null / / \ 2 -> 6 ->11 -> null / \ / \ 1-> 3 -> 8 -> 12 -> null b) 1 -> null / \ 2 -> 3 -> null / \ / \ 4 ->5->6 -> ...
package petshop; import entity.Cliente; import entity.Estoque; import entity.Produto; import java.io.IOException; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; i...
package com.ucl.service; import com.ucl.common.Page; import com.ucl.model.Order; import com.ucl.request.OrderRequest; /** * Created by jiang.zheng on 2017/9/14. */ public interface OrderService { Order findBySerialNumber(String serialNumber); Order findBySerialNumberFromMaster(String serialNumber); P...
package org.firstinspires.ftc.teamcode.base_classes; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.util.ElapsedTime; import com.qualcomm.robotcore.util.Range; import org...
package leader.game.population; import leader.Model; import leader.game.event.GameEvent; import leader.game.event.GameEventGeneratorIF; import leader.game.event.GameEventType; import java.util.Date; public class AgeAdvancementEventGenerator implements GameEventGeneratorIF { private long nextTickAdvancementEpochS...
package com.rk.jarjuggler.model; public class LibNode extends DirNode { private static final long serialVersionUID = 1L; private String jarUrl; private String javadocUrl; private String srcUrl; public LibNode(DirNode parent, String name) { super(parent, name); } ...
package com.chinasoft.service; import java.util.List; import com.chinasoft.domain.User; public interface UserService { // 添加用户 int saveUser(User user) throws Exception; // 根据用户名和密码查找用户 int selFlagByLoginAndPwd(String userLogin, String userPwd) throws Exception; List<User> findAllUser() throws...
package edu.westga.gradeunt.tests.samplefiles; import static org.junit.Assert.*; import org.junit.Ignore; import org.junit.Test; import edu.westga.gradeunt.GradeItem; @Ignore public class HasManyGradeItemsInSameCategory { @GradeItem(points = 10, description = "item 1", category = "category A") @Test...
/** * https://www.hackerrank.com/challenges/camelCase/problem tag: #implementation just count uppercase * Chacter. */ import java.util.Scanner; public class CamelCase { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.next(); int count = 1; for (char c...
package basics.java.core.inheritance.interfaces; public class App implements MobilePhone { public void Calling() { // TODO Auto-generated method stub System.out.println("Please use centre button for Calling"); } public void SendSMS() { // TODO Auto-generated method stub System.out.println("Plea...
package gov.nih.mipav.model.algorithms; /** * The interface used by all classes which want to respond to the conclusion of an algorithm. The algorithm may not have * completed sucessfully, so checking the value of <code>isCompleted()</code> may be necessary. * * @see AlgorithmBase#isCompleted() * @version ...
package com.culturaloffers.maps.services; import com.culturaloffers.maps.model.CulturalOffer; import com.culturaloffers.maps.model.GeoLocation; import com.culturaloffers.maps.model.OfferType; import com.culturaloffers.maps.model.Subtype; import com.culturaloffers.maps.repositories.OfferTypeRepository; import org.junit...
package com.test; import java.util.HashMap; import com.test.base.Solution; /** * On a 2D plane, we place stones at some integer coordinate points. Each coordinate point may have at most one stone. * 在一个二维矩阵上,放置一些点,每个点最多有一个值 * * Now, a move consists of removing a stone that shares a column or row with another s...
package by.orion.onlinertasks.presentation.profile.details.pages.reviews; import android.support.annotation.NonNull; import com.arellomobile.mvp.viewstate.strategy.AddToEndSingleStrategy; import com.arellomobile.mvp.viewstate.strategy.StateStrategyType; import java.util.List; import by.orion.onlinertasks.presentati...
package com.example.administrator.competition.fragment.guess; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.example.administrator.competition.R; import com.yidao.module_lib.base.BaseView; import com.yidao.module_lib.manager.ViewManager; import butterknife.BindV...
package com.gxjtkyy.standardcloud.admin.config; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; /** * 视图配置器 * @Package com.gxjtkyy.standardc...
package Service; import java.util.List; /** * Created by user on 22.11.16. */ public interface BookService { //add a new book to the store void addNewToStore(Book book); //find a book by id Book getById(int id); //search by name List<Book> search (BookQuery bookQuery); //get all ...
package com.beike.dao.mobile.impl; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.jdbc.core.simple.ParameterizedRowMapper; import org.springf...
import java.util.*; public class InversionCount{ static private long count(int[] A, int n){ if(n<=1) return 0; int mid = n/2; int Al[] = new int[mid]; int Ar[] = new int[n-mid]; for(int i=0;i<mid;i++) Al[i] = A[i]; for(int i=mid;i<n;i++) Ar[i-mid] = A[i]; long x = count(Al, mid); long y =...
package model; import java.util.ArrayList; public class Time { private String sigla, descricao; private ArrayList<Jogador> listaJog; public Time(String sigla, String descricao) { this.sigla = sigla; this.descricao = descricao; listaJog = new ArrayList<Jogador>(); } public String getSigl...
package kr.purred.playground.startboot.message; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.data.redis.core.StringRedisTemplate; import org.springframework.stereotype.Component; import lombok.RequiredArgsConstructor; @Component @RequiredArgsConstructor public class ProducerRed...
package fr.skytasul.quests.rewards; import java.util.Arrays; import java.util.List; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.Player; import fr.skytasul.quests.QuestsConfiguration; import fr.skytasul.quests.api.objects.QuestObjectClickEvent; import fr.skytasul.quests.ap...
package com.google.codeu.servlets; import com.google.appengine.api.users.UserService; import com.google.appengine.api.users.UserServiceFactory; import com.google.codeu.data.Datastore; import com.google.gson.Gson; import java.io.IOException; import javax.servlet.annotation.WebServlet; import javax.servlet.htt...
/* * 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 app; import java.util.ArrayList; import java.util.Random; /** * * @author Pubudu */ public class FileRepo { // public ...
public class Solution { public String[] topKFrequent(String[] combo, int k) { // Write your solution here if (combo.length == 0) { return new String[0]; } HashMap<String, Integer> myMap = new HashMap<>(); for (String element : combo) { if (myMap.contai...
package codeWars.findTheUniqueNumber; import java.util.HashMap; import java.util.Map; import java.util.Set; // Make sure your class is public public class Kata { public static double findUniq(double arr[]) { Map<Double, Integer> exnum = new HashMap<Double, Integer>(); for(Double d : arr) { ...
import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static int cost(int[] arr) { int[][] L = new int[arr.length][2]; for(int i = 1; i < arr.length; i++) { L[i][0] = Math.max(L[i - 1][0], L[i - ...
#include<stdio.h> int main() { int area,peri,l=6,b=9; peri=2*(l+b); area=l*b; printf("The perimeter of the rectangle is: %d cm\n",peri); printf("The area of the rectangle is: %d sq cm",area); return 0; }
package dk.webbies.tscreate.analysis.methods.unionRecursively; import dk.webbies.tscreate.analysis.declarations.types.PrimitiveDeclarationType; import dk.webbies.tscreate.analysis.unionFind.*; import dk.webbies.tscreate.jsnap.Snap; import java.util.Collections; import static java.util.Collections.EMPTY_SET; /** * ...
/* * 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 by.herzhot.crypto; import java.nio.ByteBuffer; import java.nio.charset.Charset; import java.util.Arrays; import java.util.HashMap; import java.util.Map; public class Main { public static void main(String[] args) throws Exception { String key = "nuaqBC9MoJlxHiM8"; String text = "debtorIde...
package com.stackroute.favouriteservice.controller; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.delete; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; im...
package com.auro.scholr.core.util.uiwidget.others; public interface HideBottomNavigation { void onClose(); void onOpen(); }
package it.univr.domain.safe.original; import org.junit.Assert; import org.junit.Test; import it.univr.domain.safe.original.Interval; import it.univr.domain.safe.original.SAFEAbstractDomain; import it.univr.domain.safe.original.SAFEStrings; import it.univr.main.Analyzer; import it.univr.state.AbstractEnvironment; imp...
package org.bellatrix.process; import org.bellatrix.data.Groups; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @Component public class AccessCredentialValidation { @Autowired private BaseRepository baseRepository; public void blockAttemptValidatio...
package org.kuali.ole.ncip.bo; /** * Created with IntelliJ IDEA. * User: sheiksalahudeenm * Date: 9/4/13 * Time: 12:22 PM * To change this template use File | Settings | File Templates. */ public class OLECirculationErrorMessage { private String error; private String requiredParameters; private Stri...
package com.wenyuankeji.spring.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.wenyuankeji.spring.dao.IStoreinfoDao; import com.wenyuankeji.spring.model.StoreinfoModel; import com.wenyuankeji.spring.service....
package dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import entity.Corso; public class CorsoDao implements Dao { private final String SCHEMA_TUPLA="id_corso,nome_corso,data_inizi...
package servlets; import java.io.IOException; import java.io.PrintWriter; import java.util.LinkedHashMap; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRespons...
package com.soft1841.thread; import javax.swing.*; import java.awt.*; /** * 线程学习 绘制彩色线段 * @author 黄敬理 * 2019.04.10 */ public class DrawLineFrame extends JFrame { public DrawLineFrame(){ init(); setTitle("绘制彩色线段"); setSize(1220,600); setLocationRelativeTo(null); setVisib...
package com.perfect.entity; import java.io.Serializable; /** * <p> * 权限表 * </p> * * @author Ben. * @since 2017-03-15 */ public class Permission implements Serializable { private static final long serialVersionUID = 1L; /** * 主键 */ private String id; /** * 上级ID */ private St...
package com.uapp.useekr.serializer; import com.google.gson.TypeAdapter; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import com.uapp.useekr.utils.HttpUtil; import java.io.IOException; /** * Created by root on 12/2/17. */ public class KeyValueSerializer extends TypeAdapter<H...
package ge.mziuri.dao; public class BookDAOImpl { }
package checkers.server.rules; import checkers.core.Checker; import checkers.core.Coordinates; import checkers.core.boards.Board; import checkers.server.game.Game; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class RegularRulesManager implements RulesManager { private Board board; private L...
package com.exam.dao; import com.exam.models.Profile; public interface ProfileDAO extends BaseDAO<Profile, Long>{ }
package me.jdan.po.form; import me.jdan.po.User; /** * Created by jdan on 2017/5/29. */ public class LoginForm { private User user; public User getUser() { return user; } public void setUser(User user) { this.user = user; } private boolean isRemember = false; public b...
/* * This publication class is used to create objects of a publication. A publication has * the following parameters; publication code, publication name, publication year, publication * author name, publication cost and, publication number of pages. It also has the basic methods * such as constructors, setters...
package com.herokuapp.matchingalgo.sweeten; import org.openqa.selenium.By; import org.testng.Assert; import org.testng.annotations.Test; public class Renovation_Project extends LaunchBrowser { //Script for validating Renovation_Project @Test(priority=11) public void verifyRePrjct_header() throws InterruptedExcepti...
package test.FactoryMethod; import test.simpleFactory.Car; /** * 需要产品的类 * @author lho * */ public class Manager { public static void main(String[] args) throws Exception { Driver driver = new BenzDriver(); Car car = driver.driverCar(); car.start(); } }
package com.swzl_ssm.service.impl; import com.swzl_ssm.dao.UserMapper; import com.swzl_ssm.entity.User; import com.swzl_ssm.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.sql.SQLException; import java.util.List; /** * @a...
package com.zs.map.baidu.utils; import com.baidu.mapapi.map.offline.MKOLUpdateElement; import com.baidu.mapapi.map.offline.MKOfflineMap; import com.baidu.mapapi.map.offline.MKOfflineMapListener; import com.huaiye.sdk.logger.Logger; import org.greenrobot.eventbus.EventBus; import java.util.ArrayList; import com.zs.R...
package point.of.sale; /** * Created by Martyna on 2016-01-10. */ public interface BarCodesScanner { public String getCode(); }
package com.thousand.petdog.activity; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.text.Editable; import android.text.TextWatcher; import android.widget.ArrayAdapter; import android.widget.AutoCompleteTextView; import com.baidu.location.BDLocation; import com.baidu.locatio...
package orm.integ.test.entity; import java.util.Calendar; import java.util.Date; import orm.integ.dao.DataAccessObject; import orm.integ.eao.EntityAccessService; import orm.integ.eao.model.EntityConfig; import orm.integ.test.DaoUtil; import orm.integ.utils.IdGenerator; public class StudentService extends EntityAcces...
package com.needii.dashboard.model.form; import java.text.SimpleDateFormat; import com.needii.dashboard.model.ProductData; import com.needii.dashboard.utils.Constants; public class ProductDataForm { private long id; private String name; private String description; private String shortDescription; pri...
// SPDX-License-Identifier: BSD-3-Clause package org.xbill.DNS; import static org.junit.jupiter.api.Assertions.assertEquals; import java.net.UnknownHostException; import org.junit.jupiter.api.Test; class ExtendedResolverTest { @Test void testGetExtendedResolver() throws UnknownHostException { ExtendedResolve...
/* * 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 br.edu.ifrs.mostra.models; import java.io.Serializable; import java.util.List; import javax.persistence.Basic; import javax.pe...
package com.oa.file.dao; import java.util.List; import org.hibernate.HibernateException; import org.hibernate.Query; import org.hibernate.Session; import org.springframework.orm.hibernate4.HibernateCallback; import org.springframework.stereotype.Repository; import com.oa.base.dao.BaseDaoImpl; import com.oa.file.form...
/* * 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.dthebus.gymweb.services.impl; import com.dthebus.gymweb.domain.members.FullMember; import com.dthebus.gymweb.rep...
package de.mq.phone.domain.person.support; import junit.framework.Assert; import org.junit.Test; import org.springframework.beans.BeanUtils; import org.springframework.test.util.ReflectionTestUtils; import de.mq.phone.domain.person.Contact; public class PhoneTest { private static final String SN = "1...
package com.generic.core.respository; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.generic.core.model.entities.ShopIdItemId; import com.generic.core.model.entities.Shops; import com.generic.core.model.entities.ShopsI...
/* * Copyright 2018 YiZheng Huang * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
package com.zc.pivas.docteradvice.syndatasz.message.resp; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import java.util.List; /** * * 消息内容 * * @author cacabin * @version 1.0 */ @XmlAccessorType(XmlAc...
package Origin; import java.util.InputMismatchException; import java.util.Scanner; public class User { private String account; private String password; private float deposit; Scanner scanner = new Scanner(System.in); protected User(String account, String password){ this.account = account; this.password = ...
package com.lenovohit.hwe.pay.service.impl; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.lenovohit.core.manager.GenericManager; import com.lenovohit.hwe.pay....
/* * 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 ArrayList; import java.util.ArrayList; /** * * @author YNZ */ public class AddAllClear { /** * @...
package com.proyecto.server.dao; import java.util.List; import com.proyecto.dom.Menu; import com.proyecto.dom.Perfil; import com.proyecto.dom.Privilegio; import com.proyecto.kernel.dao.IDAOBase; public interface IPrivilegioDAO extends IDAOBase<Privilegio, Long> { List<Privilegio> notContainMenu(Menu menu,...
package com.tianwotian.mytaobao.user; import com.tianwotian.mytaobaotest.R; import com.zdp.aseo.content.AseoZdpAseo; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.I...
package com.atguigu.exer; public class EcDef extends Exception{ /** * */ private static final long serialVersionUID = 4775496390147696379L; public EcDef(){ } public EcDef(String message){ super(message); } }
/** * Copyright (c) 2012 Conversant Solutions. All rights reserved. * * Created on 5/10/15. */ package cn.com.sftp.impl; import cn.com.conversant.commons.file.FileUtil; import com.jcraft.jsch.ChannelSftp; import com.jcraft.jsch.SftpATTRS; import com.jcraft.jsch.SftpException; import org.apache.commons.io.IOUtils; ...
package com.driva.drivaapi.service; import com.driva.drivaapi.mapper.dto.UserDTO; import com.driva.drivaapi.model.user.UserRole; import java.util.List; public interface UserService { List<UserDTO> findAll(); List<UserDTO> findAllByRole(UserRole role); UserDTO findById(Long id); UserDTO updateUser...
import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; public class GroupAnagrams { public static void main(String args[]) { } private String sortString(String s) { char[] chars = s.toCharArray(); Arrays.sort(chars); String sortedS...
import java.util.*; public interface Expression { public SymbolTable.TypeDesignator type (SymbolTable table); public boolean referenceable (SymbolTable table); public void evaluateIntoRegister (CodeGen codeGen, int register, SymbolTable table); interface Designator extends Expression { p...
package com.javaee.ebook1.service.impl; import com.javaee.ebook1.common.Enum.ResultCode; import com.javaee.ebook1.common.Enum.RoleEnum; import com.javaee.ebook1.common.Enum.SessionAttribute; import com.javaee.ebook1.common.exception.OpException; import com.javaee.ebook1.service.SwitchService; import org.springframewor...
package com.example.projetpfeebam.repository; import com.example.projetpfeebam.model.MissionEtranger; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface MissionEtrangerRepository extends JpaRepository<MissionEtranger, Long> { }
package br.com.fiap.netgifx.controller; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import br.com.fiap....
package com.imthe.god.base; /** * Created by pardhamavilla on 13/7/16. */ public class LogicConfig { }
import java.util.Scanner; public class ExerciseI3 { private int k; // Class field representing natural number k private int howManyDigits; // Class field representing how many digits has natural number k // Class constructor responsible for class initialization ExerciseI3() { Scanner scan = new Scanner(S...
/* * * * */ package SB; /** * * @author YNZ */ class EJavaGuruStringBuilder { public static void main(String args[]) { StringBuilder ejg = new StringBuilder(10 + 2 + "SUN" + 4 + 5); ejg.append(ejg.delete(3, 6)); System.out.println(ejg); StringBuilder sb...
package com.hfjy.framework.transactional; public enum TransactionalLevel { LEVEL1, LEVEL2, LEVEL3, LEVEL4, LEVEL5 }
package com.baizhi.shiro.realm; import com.baizhi.entity.Role; import com.baizhi.entity.User; import com.baizhi.salt.MyByteSource; import com.baizhi.service.UserService; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.AuthenticationInfo; impor...
package com.outfitterandroid; /** * Created by Kris on 4/5/2015. */ import android.test.ActivityInstrumentationTestCase2; import com.parse.ParseUser; import static android.support.test.espresso.Espresso.onData; import static android.support.test.espresso.Espresso.onView; import static android.support.test.espress...
package com.PostgreSQL_users_db; import java.sql.*; public class User { private String login; private String password; Connection connection = Database.getConnection(); public User(String login, String password) { this.login = login; this.password = password; } public User()...
package Lec_04_NestedConditionalStatements; import java.util.Scanner; public class Pro_04_10_Volleyball { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.print("Въведете каква е годината - високосна (leap) или не (normal): "); String typeYea...
package se.kth.iv1350.amazingpos.integration; /** * Represents a discount registry. */ public class DiscountRegistry { private double discountRate; private String customerID; private final double NO_DISCOUNT_RATE = 1.0; /** * Creates a new instance of discount registry. */ public Disco...
package fourth.task.android.widget; import android.app.PendingIntent; import android.appwidget.AppWidgetManager; import android.appwidget.AppWidgetProvider; import android.content.Context; import android.content.Intent; import android.widget.RemoteViews; import fourth.task.android.FourthTaskAndroid; import fourth.task...
package cn.test.equals; import com.alibaba.fastjson.annotation.JSONField; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.extern.slf4j.Slf4j; /** * Created by Chay on 2017/6/7. * 导航目标点 */ @Data @NoArgsConstructor @AllArgsConstructor @Slf4j public class MapPoint ...
package com.zc.pivas.patient.controller; import com.google.gson.Gson; import com.zc.base.common.controller.SdBaseController; import com.zc.base.orm.mybatis.paging.JqueryStylePaging; import com.zc.base.orm.mybatis.paging.JqueryStylePagingResults; import com.zc.base.sys.common.constant.AmiLogConstant; import com....
package com.xx.base.org.util.image; import android.content.Context; import android.widget.ImageView; /** * Created by lixingxing on 2019/6/12. */ public interface BaseImageLoader { public void load_http_image(ImageView view , String url); public void load_http_image(ImageView view, String url, int defaultPi...
package com.daikit.graphql.data.input; import com.daikit.graphql.dynamicattribute.IGQLDynamicAttributeGetter; import com.daikit.graphql.enums.GQLFilterOperatorEnum; /** * Filter schemaConfig for {@link GQLListLoadConfig} * * @author Thibaut Caselli */ public class GQLFilterEntry { private String fieldName; pri...
package ui.game; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.util.Timer; import java.util.TimerTask; import javax.swing.JPanel; @SuppressWarnings("serial") public class CountdownBarGui extends JPanel { private final Timer timer; private int...
package com.favour.dome.entity; import javax.persistence.*; /** * Created by fernando on 26/05/15. */ @Entity public class ContactDetail { @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(name="ID", unique=true, nullable=false) private Integer id; @Column(name="Contact", length=45, ...
package ChatClient; import java.io.*; import java.net.Socket; import java.util.Scanner; public class Main { public static void main(String[] args) { OutputStream outputStream = null; Socket socket = null; try { socket = new Socket("127.0.0.1", 8888); outputStream =...
/* CreateEvent.java Purpose: Description: History: Thu Jun 23 20:41:25 2005, Created by tomyeh Copyright (C) 2005 Potix Corporation. All Rights Reserved. {{IS_RIGHT This program is distributed under LGPL Version 2.1 in the hope that it will be useful, but WITHOUT ANY WARRANTY. }}IS_RIGHT */ package ...
/* * @(#) ParsingRuleInfoService.java * Copyright (c) 2007 eSumTech Co., Ltd. All Rights Reserved. */ package com.esum.wp.ims.parsingruleinfo.service.impl; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.esum.app...
package io.nuls.consensus.utils.thread; import io.nuls.consensus.utils.manager.ChainManager; import io.nuls.consensus.model.bo.Chain; import io.nuls.core.core.ioc.SpringLiteContext; import io.nuls.consensus.network.constant.NetworkCmdConstant; import io.nuls.consensus.network.model.ConsensusNet; import io.nuls.consens...
package com.tweetqueue.core.services.user; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.instanceOf; import static org.mockito.Mockito.when; import com.tweetqueue.core.model.user.User; import com.tweetqueue.core.model.user.UserId; import org.junit.Before; import org.junit.Te...
package ru.job4j.set; import java.util.Arrays; import java.util.Iterator; import java.util.NoSuchElementException; /** * Класс SimpleArraySet реализует сущность Множество на массиве. * * @param <E> обобщённый тип. * @author Gureyev Ilya (mailto:ill-jah@yandex.ru) * @version 1 * @since 2017-06-01 */ ...
package proyecto; import java.util.Scanner; /** * @author gabriel-lidia * */ public class clsModeloProb { /*Lista Global que puede ser local*/ clsListaEnlazada list =new clsListaEnlazada(); /*Variables Globales*/ private Object matrizInformacion[][]; /*Constructores*/ /*Constructor: Tien...