text
stringlengths
10
2.72M
package Concurrency;/** * Created by pc on 2018/2/25. */ import java.util.concurrent.TimeUnit; /** * describe: * * @author xxx * @date4 {YEAR}/02/25 */ public class WaxOn implements Runnable { private Car car; public WaxOn(Car c){car = c;} public void run() { try{ while(!Thread....
package codex.task; import codex.log.Level; import javax.swing.*; import javax.swing.border.CompoundBorder; import javax.swing.border.EmptyBorder; import javax.swing.border.LineBorder; import javax.swing.text.BadLocationException; import javax.swing.text.DefaultCaret; import javax.swing.text.Style; import javax.swing....
package nakoradio.mybad.core; import lombok.Builder; import lombok.Getter; import lombok.NonNull; import lombok.experimental.SuperBuilder; @Getter @Builder public class Error { // TODO: Consider which are nullable @NonNull private final ErrorType type; private final String message; private final String me...
package tw.com.iisi.main; import tw.com.iisi.service.XMLValidationDom_SAX; import java.io.File; import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { XMLValidationDom_SAX XMLValDom = new XMLValidationDom_SAX(); //x...
package state; /** * Interface to enable Initialising the game * */ public interface Initialisable { /** * Enum describing the types of tickets that are available in the game */ enum TicketType { Bus, Taxi, Underground, DoubleMove, SecretMove }; /** * Function to initialise the state of the Game given...
package fr.umlv.square.orm; import javax.enterprise.context.ApplicationScoped; import io.quarkus.hibernate.orm.panache.PanacheRepository; /** * Class which represent database table, it use to get all tuple, or filtered tuples The table is * filled with LogEntity elements */ @ApplicationScoped public class LogTabl...
/* * 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.javagym.daos.product; import com.javagym.entities.Product; import java.util.List; /** * * @author me */ public interfa...
class PE1 { public static void main(String args[]) { int sum = 0; int multiplesOf1000 = multiples(1000) System.out.println("Fizz Buzz Sum up to 1000."); System.out.println("Answer is:" + multiplesOf1000); } private int multiples(int number) { int multiples = 0; for (int i = 0; i < numb...
// ********************************************************************** // This file was generated by a TAF parser! // TAF version 3.2.1.6 by WSRD Tencent. // Generated from `/data/jcetool/taf//upload/opalli/AppPITUInterface.jce' // ********************************************************************** package PituC...
package network.kekejl.com.threadpooldemo; import android.app.Activity; import android.os.SystemClock; import android.os.Bundle; import android.util.Log; public class MainActivity extends Activity { private static final String TAG = "线程池的模拟"; @Override protected void onCreate(Bundle savedInstanceState) {...
package org.inftel.socialwind.client.web.mvp.view; import org.inftel.socialwind.client.web.mvp.presenter.PerfilPresenter; import org.inftel.socialwind.shared.domain.SurferProxy; import com.google.gwt.user.client.ui.IsWidget; public interface PerfilView extends IsWidget { void setPresenter(PerfilPresenter present...
package controller; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.util.ArrayList; import java.util.Iterator; import javax.swing.JButton; import javax.swing.JComboBox; import model.Driv...
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the te...
/* * 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 require...
package Behavioral.Observer; /** * This pattern is used when we have a subject to observe by different observers. * * A subject has one to many observers * * It is often used in Problems as Event handling. * * Example: java.util.Observer, java.util.EventListener, java.jms.topic * * It's made of Subject, Co...
package com.t.s.model.biz; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.t.s.model.dao.MoimUserDao; import com.t.s.model.dto.MoimUserDto; @Service public class MoimUserBizImpl implements MoimUserBiz { @Autowired private MoimUs...
import java.io.IOException; import java.io.PrintWriter; import java.sql.DriverManager; import java.sql.SQLException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServ...
package com.jzx.validate.example.service; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.jzx.validate.core.message.Message; import com.jzx.validate.example.domain.User; public class ExampleServiceImpl implements ExampleService { private static Logger LOGGER = LoggerFactory.getLogger(ExampleServ...
package Day3; import java.util.ArrayList; import java.util.Arrays; import java.util.Scanner; public class EnglishToPigLatin { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("Welcome to the Pig Latin Translator"); Scanner sc=new Scanner(System.in); String choice...
package com.czx.web.servlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * @author Morgan * @date 2020/12/1 16:00 */ public class Model { private HttpServletRequest request; private HttpServletResponse response; public Model(HttpServletRequest request, H...
package com.benz.event.receiver.service; import com.benz.event.receiver.model.Event; /** * The Interface EventReceiverService. */ public interface EventReceiverService { /** * Process event. * * @param event the event */ public void processEvent(Event event); }
package piefarmer.immunology.lib; public class Ids { public static final int blockmedrestblID_default = 192; public static int blockmedrestblID_actual; public static final int blockdiatblID_default = 193; public static int blockdiatblID_actual; public static final int blockrockID_default = 195; public static i...
package com.example.demo.model; public class Sessao { private Pessoa pessoa; private Usuario usuario; private TokenRedis tokenRedis; public Pessoa getPessoa() { return pessoa; } public void setPessoa(Pessoa pessoa) { this.pessoa = pessoa; } public Usuario getUsuario() { return usuario; } public voi...
public class Supermarket { public void addPerson(Person person, SuperPersonQueue queue) { queue.insert(person); } public void servePerson(SuperPersonQueue queue) { queue.retrieve(); } }
package parser.lexer; import parser.Lexer; import parser.Token; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; public class LexerImpl implements Lexer, StrategyFactoryMethod { protected Strategy strategy; ...
package com.vilio.bps.inquiry.service; import com.vilio.bps.commonMapper.pojo.BpsCompanyInquiryApply; import com.vilio.bps.inquiry.pojo.InquiryBaseValueBean; import java.util.Map; /** * Created by lenovo on 2017/6/12. */ public interface InquiryBaseService { public InquiryBaseValueBean sendInquiryRequ(BpsCompa...
/* * 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 may ...
package com.xhpower.qianmeng.service; import com.xhpower.qianmeng.entity.Article; import com.baomidou.mybatisplus.service.IService; /** * <p> * 服务类 * </p> * * @author lyc * @since 2018-07-27 */ public interface ArticleService extends IService<Article> { }
package com.yougou.merchant.api.supplier.service; import java.util.Date; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import com.yougou.merchant.api.common.PageFinder; import com.yougou.merchant.api.common.Query; import com.yougou.merchant.api.supplier.vo.ExpressTemplate...
package c1xml; import java.awt.Color; import java.awt.EventQueue; import java.awt.Font; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JRadioButton; import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JComboBox; import jav...
package sample; import com.jfoenix.controls.JFXButton; import javafx.application.Application; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.fxml.FXMLLoader; import javafx.geometry.Insets; import javafx.geometry.Orientation; import javafx.geometry.Pos; import javafx....
package com.nju.edu.cn.controller; import com.alibaba.fastjson.JSON; import com.nju.edu.cn.util.UuidHelper; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.w...
package com.translator.application.test.doubles; import com.translator.application.IntergalacticWorthCalculationProcessor; import com.translator.domain.model.material.Material; import com.translator.domain.model.numeral.RomanNumeral; import java.util.List; import java.util.Map; public class IntergalacticWorthCalcula...
package com.pg.whatsstatussaver.Events; import android.graphics.Bitmap; import java.util.ArrayList; public class EventBusClass { public static class ActivityServiceMessage{ private ArrayList<String> images; private ArrayList<Bitmap> bitmaps; public ActivityServiceMessage(ArrayList<Stri...
package snake.tests; import org.junit.Test; import static org.junit.Assert.*; import java.util.*; import java.lang.*; import snake.exception.*; import snake.Game; import snake.Apple; import snake.util.Position; public class ToApplesTest{ @Test(expected = IllegalArgumentException.class) public void testNullParam...
package com.tiandi.logistics.aop.log.enumeration; /** * 系统类型枚举类,供日志注解使用 * * @author Yue Wu * @version 1.0 * @since 2020/11/30 10:09 */ public enum SysTypeEnum { /** * 用户平台 */ CUSTOMER("客户平台", 0), /** * 配送点平台 */ ADMIN("管理平台",1), /** * 通用方法 */ NORMAL("通用方法",...
package com.zilker.taxi.shared; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; import com.zilker.taxi.bean.BookingResponse; import com.zilker.taxi.bean...
package com.ifisolution.cmsmanagerment.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.s...
package com.goodhealth.web.entity; import lombok.Data; import lombok.NoArgsConstructor; import org.hibernate.validator.constraints.NotBlank; import javax.persistence.*; import java.io.Serializable; /** * The persistent class for the new database table. * */ @Entity @Data @NoArgsConstructor @Table(name="news") p...
package pruebas.ana.com.pruebasana; import android.app.Activity; import android.os.Bundle; import android.widget.ListView; import java.util.ArrayList; /** * Created by ISOL on 25/08/15. */ public class ListStates extends Activity{ private ListView stateList; private ArrayList<Club> list; private ListS...
package com.example.weatherforecastapp.api; import com.example.weatherforecastapp.api.response.DailyForecastResponse; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Query; /** * Created by Erkut Demirhan on 14/10/17. */ public interface WeatherApiClient { @GET("daily") Call<Daily...
package com.ovi.prescription.exception; import org.springframework.http.HttpStatus; import org.springframework.security.core.userdetails.UsernameNotFoundException; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(HttpStatus.BAD_REQUEST) public class LoginException extends UsernameNotFoun...
package com.sabre.api.sacs.configuration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; /** * The Spring configuration class indicating that instances * of classes in this module should be managed by the Spring context. * 扫描这个类的所在包...
package Collectionsss; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.ListIterator; public class ArrayListEx { public static void main(String[] args) { // Array list will maintain insertion order. // ArrayList will allow duplicate records // We can add element ...
package com.zhouyi.business.core.utils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpEntity; import org.apache.http.HttpStatus; import org.apac...
package com.marlabs.project.model; import java.util.Map; public class SimpleQuestion { public String description; public Map<String, String> options; public SimpleQuestion(String description, Map<String, String> options) { this.description = description; this.options = options; } @Override public String toS...
package pingpong; import java.net.*; import java.util.Scanner; import rmi.RMIException; import rmi.*; public class PingPongClient { public static void main(String[] args) { Scanner reader = new Scanner(System.in); System.out.println("Enter the IP address of the server"); String IP = reader.nextLine(); S...
package com.xvr.serviceBook.service.impl; import com.xvr.serviceBook.entity.Ticket; import com.xvr.serviceBook.event.TicketCreateEvent; import com.xvr.serviceBook.repository.TicketRepository; import com.xvr.serviceBook.service.TicketService; import com.xvr.serviceBook.service.servicedto.TicketServiceDto; import org.sp...
package com.hb.rssai.view.iView; import com.hb.rssai.bean.ResBase; /** * Created by Administrator on 2018/1/27 0027. */ public interface IModifyPasswordView { void showModifyResult(ResBase resBase); void loadError(Throwable throwable); String getOldPsd(); String getNewPsd(); String getNewSP...
package cn.bs.zjzc.presenter; import android.text.TextUtils; import cn.bs.zjzc.model.IForgotPasswordModel; import cn.bs.zjzc.model.callback.HttpTaskCallback; import cn.bs.zjzc.model.impl.ForgotPasswordModel; import cn.bs.zjzc.model.impl.LoginModel; import cn.bs.zjzc.net.GsonCallback; import cn.bs.zjzc.model.response...
package com.rsm.yuri.projecttaxilivredriver.profile; import android.net.Uri; import android.util.Log; import com.rsm.yuri.projecttaxilivredriver.domain.FirebaseAPI; import com.rsm.yuri.projecttaxilivredriver.domain.FirebaseStorageFinishedListener; import com.rsm.yuri.projecttaxilivredriver.lib.base.EventBus; import c...
package com.emily.framework.autoconfigure.apilog.interceptor; import com.emily.framework.common.utils.RequestUtils; import com.emily.framework.common.utils.UUIDUtils; import com.emily.framework.context.apilog.po.AsyncLogAop; import com.emily.framework.context.apilog.service.AsyncLogAopService; import com.emily.framewo...
package digital_goods.global.page_object; import com.codeborne.selenide.SelenideElement; import global.helpers.AbstractPage; import global.helpers.NameOfElement; import org.openqa.selenium.support.FindBy; public class AllMobilePages extends AbstractPage { @NameOfElement("Grey area") @FindBy(xpath = "/html/bo...
public class App { public static void main(String[] args) throws Exception { int tong=0; for (int i=0; i<=10;i++){ if (i%2==0){ tong += i; System.out.println(i); } } System.out.println(tong); } }
package com.dokia.hihocoder; import java.util.Scanner; public class T1120 { private static int mineCount = 0; private static int notMineCount = 0; public static void main(String[] args) { Scanner in = new Scanner(System.in); int num = in.nextInt(); while (num-- > 0) { int N = in.nextIn...
/* * 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 pe.egcc.service; /** * * @author Luis Arana */ public class MateService { public double sumar(double n1, double n2...
package com.demo.LogicJob.FormDTO; import com.demo.LogicJob.Entity.JobLogic; import lombok.*; @Getter @Setter @AllArgsConstructor @NoArgsConstructor @Builder public class TaskForm { private Long taskId; private Long JobId; private String taskName; private int taskValue; private Long taskWorker; ...
/** Author: Drew Kestell Date: 9/22/2014 E-mail: drew.kestell@gmail.com Exercise Status: Complete This application will take a list of integers of even length, and for each set of two adjacent integers, it will reverse the order of those two integers and copy the new list of integers into an array. */ package DPEX; ...
package com.example.tocasorte; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.widget.*; import android.view.*; import org.w3c.dom.Text; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundExc...
package com.template.data.remote; import android.arch.lifecycle.LiveData; import android.support.annotation.NonNull; import com.template.base.BaseRemoteDataSource; import com.template.data.model.api.TestEntity; import javax.inject.Inject; import javax.inject.Singleton; @Singleton public class RemoteDataSource exten...
package com.github.frostyaxe.cucumber.dataclasses; import org.springframework.stereotype.Component; import com.github.frostyaxe.datafactory.DataFactory; import com.github.frostyaxe.datafactory.annotations.FactoryConfig; import com.github.frostyaxe.datafactory.annotations.SearchData; @FactoryConfig( host = "localhos...
package com.tencent.mm.plugin.card.model; import android.os.Parcel; import android.os.Parcelable.Creator; import com.tencent.mm.plugin.card.model.CardGiftInfo.AccepterItem; class CardGiftInfo$AccepterItem$1 implements Creator<AccepterItem> { CardGiftInfo$AccepterItem$1() { } public final /* synthetic */ ...
package com.ybh.front.model; import java.math.BigDecimal; import java.util.Date; public class Product_Domain { /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column FreeHost_Product_Domain.id * * @mbg.generated Fri May 11 11:16:0...
package com.tt.miniapp.msg.game; import android.app.Application; import android.content.Context; import android.content.res.Resources; import com.tt.miniapp.msg.sync.SyncMsgCtrl; import com.tt.miniapp.util.DevicesUtil; import com.tt.miniapphost.AppBrandLogger; import com.tt.miniapphost.AppbrandApplication; im...
import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.event.*; import javax.swing.*; public class IDVerificationUI extends JFrame { JFrame idVerification; JLabel title; JTextField idField; JPasswordField passwordField; JLabel idLabel; JLabel passwordLabel; ...
package pedestrian; public class Pedestrian { }
package com.cnk.travelogix.custom.so.createchange; 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; /** * This class was generated by ...
package com.tencent.tinker.c.a.a.a; import com.tencent.tinker.a.a.b; import com.tencent.tinker.a.a.i; import com.tencent.tinker.a.a.i$e; import com.tencent.tinker.a.a.t.a; public final class c extends i<b> { private a vqC = null; private i$e vqD = null; protected final /* synthetic */ Comparable a(com.te...
package newfutures; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.function.Consumer; /** * Created by ypl on 17-4-27. */ public class TestNewFutures { public static void test1(){ List<Integer> iList = Arrays.asList(3,1,2,5,6); List<Integer> i = new...
package com.atn.app.webservices; public interface PromotionReedemWebServiceListener { public abstract void onFailed(int errorCode, String errorMessage); public abstract void onSuccess(String message); }
package com.carousell.marketplace.error; /** * @author faizanmalik * creation date 3/5/20 */ public enum ErrorType { UNKNOWN_USER_MESSAGE("Error - unknown user"), DUPLICATE_USER_MESSAGE("Error - user already existing"), LISTING_NOT_FOUND_MESSAGE("Error - listing does not exist"), LISTING_OWNER_MISMA...
package view; import javafx.scene.Node; import javafx.scene.layout.*; import javafx.scene.paint.Color; import java.util.Set; import model.*; import resources.Constants; import static resources.Constants.*; public class BoardView extends GridPane { private Board gameBoard; private TileView[][] boardView; ...
/*-------------------------*/ /* DO NOT DELETE THIS TEST */ /*-------------------------*/ package edu.wpi.teamname; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; public class DefaultTest { @Test public void testRectanglePerimeter() { Rectangle rec = new Rect...
package com.tencent.mm.plugin.wallet.pwd; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import com.tencent.mm.wallet_core.ui.WalletBaseUI; class a$5 implements OnClickListener { final /* synthetic */ WalletBaseUI peV; final /* synthetic */ a phb; a$5(a aV...
package com.dao; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Mapper; import com.entity.Curriculum; import com.entity.Language; @Mapper public interface LanguageDao { // 查询所有语言分类 public List<Language> queryAll(); // 修改语言分类 public void upd(Language l); ...
package com.thinking.machines.loyalty.dao; import java.util.*; import java.sql.*; import com.thinking.machines.loyalty.interfaces.*; import com.thinking.machines.loyalty.exceptions.*; public class CityDAO implements CityDAOInterface { public void add(CityInterface cityInterface) throws DAOException { try { if(existsByN...
package edunova; public class OsobaI extends Osoba{ @Override public void pozdravi() { // TODO Auto-generated method stub } }
package hibernate.jpa.daoClass; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.List; import javax.persistence.EntityManager; public abstract class AbstractDao<T> { private EntityManager entityManager; private Class<T> entityClass; public AbstractDao(EntityManager e...
package com.example.lenovo.medleybranch; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; public class item_category extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layou...
package com.translator.application.test.doubles; import com.translator.application.Console; import java.util.ArrayList; import java.util.List; public class ConsoleSpy implements Console { public List<String> outputsWritten; public ConsoleSpy() { this.outputsWritten = new ArrayList<String>(); } ...
import org.apache.commons.codec.digest.DigestUtils; /** * Description:MD5测试类 */ public class MD5Test{ public static void main(String[] args) { String keyword="123"; String md5= DigestUtils.md5Hex(keyword); System.out.println("md5加密后:"+"\n"+md5); String md5salt= MD5.md5PlusSalt(k...
import java.util.Map; /** * Created by rai on 19.05.17. */ public class Zeichner { public void zeichne(Map<Ort, Markierung> brett) { for(Markierung markierung : brett.values()) { zeichneMarkierung(markierung); } } public void zeigeEndbericht(Markierung markierung) { ...
package com.takshine.wxcrm.base.util; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.security.AccessCon...
package com.ssafy.java; public class AlpaTest1 { public static void main(String[] args) { /*char alpa = 'A'; for(int i =0;i<5;i++) { for (int j = 0; j <= i; j++) { System.out.print(alpa + " "); alpa += 1; } System.out.println(); } System.out.println(); }*/ char alpha = 'A'; fo...
/* * 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 ma...
/** * @(#) OrderNoServiceFileGenerator.java * module : CodeGenerator * version : 版本管理系统中的文件版本 * date : 2009-8-5 * name : 马仁配 */ package com.allinpay.generator.tp.generator; import java.io.File; import com.allinpay.util.StringUtil; /** * <pre> * 如果有任何对代码的修改,请按下面的格式注明修改的内容. * 序号 时间 ...
public class Player { private int id; private String name; private int currentPosition; private static int i=1; public Player( String name) { super(); this.id = getUniqueInd(); this.name = name; this.currentPosition=0; } private int getUniqueInd() { return i++; } public int getId() { retur...
package com.passing.hibernate.beans; /** * TbEnWord generated manually */ public class TbEnExtdWord extends AbstractTbEnExtdWord implements java.io.Serializable { // Constructors /** default constructor */ public TbEnExtdWord() { } /** full constructor */ public TbEnExtdWord(int dict_id, i...
package com.jim.multipos.ui.mainpospage.dialogs; import android.app.Dialog; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.support.annotation.NonNull; import android.view.Window; import android.widget.EditText; import android.widget.TextView; import com.jim.mpviews...
package com.example.stockspring.service; import com.example.stockspring.model.Company; public interface CompanyRefService { public void insertCompany(Company company); }
package mude.srl.ssc.config; import java.io.IOException; import java.util.Properties; import org.quartz.JobListener; import org.quartz.Scheduler; import org.quartz.TriggerListener; import org.quartz.ee.servlet.QuartzInitializerListener; import org.springframework.beans.factory.annotation.Autowired; import org.springf...
package com.home.gfg; import com.home.common.BST; import com.home.common.BinaryTree; import com.home.common.DoublyLinkedList; import com.home.common.Heap; import com.home.common.LinkedList; import com.home.common.MaxHeap; import com.home.common.MinHeap; import com.home.common.Sorting; public class DataStructureTestin...
package com.company.model; public class Favorito { public String nombre; }
package com.lanthaps.identime.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.lanthaps.identime.model.*; import com.lanthaps.identime.repository.*; /** * A SettingServic...
package de.zarncke.lib.thread; import java.util.Collection; import java.util.Map; import de.zarncke.lib.block.Task; import de.zarncke.lib.coll.Elements; import de.zarncke.lib.coll.L; import de.zarncke.lib.data.HasSelfInfo; import de.zarncke.lib.i18n.Translations; import de.zarncke.lib.lang.CodeResponsible; ...
public class ThreadPools extends Thread { static int cid = 0; private ThreadLocal tl = new ThreadLocal() { public Object initialValue() { return ++cid; } }; ThreadPools(String name) { super(name); } public void run() { System.out.println(Thread.curre...
package com.storedata.com.checklist; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.EditText; import android.widget.ImageView; import com.storedata.com.R; /** * Created by ${3embed} on ${27-10-2017}. * Banglore */ public class CheckLIstItemViewHolder extends Recycl...
package com.dyny.gms.db.dao; import com.dyny.gms.db.pojo.CacheMethod; import com.dyny.gms.db.pojo.CacheMethodExample; import java.util.List; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @Mapper public interface CacheMethodMapper { long countByExample(CacheMethodExample ...
package codesum.lm.api; import java.io.File; import java.io.FilenameFilter; import org.apache.commons.io.FileUtils; import codesum.lm.main.CodeUtils; import codesum.lm.main.Settings; import codesum.lm.topicsum.TopicSum; import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter; import com.beust....
package com.revature.servlets; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import com.fasterxml.jackson.databind.ObjectMappe...