text
stringlengths
10
2.72M
package com.donkeymonkey.recyq.fragments; import android.graphics.Typeface; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.util.Base64; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import andro...
package com.example.demo.model; import lombok.Data; import javax.persistence.*; @Data @Entity @Table(name = "user") public class User { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; @Column(name = "email") private String email; @Column(name = "user_id") priv...
package com.example.cursorloaderdemo; import android.app.Activity; import android.app.ListActivity; import android.app.LoaderManager.LoaderCallbacks; import android.content.Context; import android.content.CursorLoader; import android.content.Loader; import android.database.Cursor; import android.net.Uri; import androi...
package com.gbros.config; import java.sql.SQLException; import javax.sql.DataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import com.alibaba.druid.pool.DruidDataSource; @Config...
package fr.gpsextractor_; public class CoordonneesGpsInexistantesException extends Exception { private static final long serialVersionUID = 1L; /** * Exception pour GpsExtractor.java */ public CoordonneesGpsInexistantesException() { System.out.println("Cette image n'est pas géolocalisée"); } }
package com.springmaven.controllers; import com.springmaven.dao.HairTreatmentDAOImpl; import com.springmaven.model.HairTreatment; import com.springmaven.model.Vendor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.ann...
import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; public class Jugada { public Set<Jugadita>jugaditas=new HashSet<>(); public int puntos=0; public Boolean isLine; public Jugada copy(int puntos){ Jugada n=new Jugada(); n.jugaditas=new HashSet<>(this.jugaditas); ...
package com.dbanalyzer.commands; import com.db.persistence.scheme.BaseObject; import com.db.persistence.wsSoap.QueryRequestRemote; import com.db.persistence.wsSoap.QueryResponseRemote; import com.dbanalyzer.QuerySvcRemoteWrapper; import com.generic_tools.Pair.Pair; import org.springframework.beans.factory.annotation.A...
package com.example.quiz; import java.util.ArrayList; public class Quiz { private static double lastGrade = 0.0; private static double GradesSum = 0.0; private static int TestsCount = 0; public static double getLastGrade(){ return lastGrade; } public static double getGra...
/* * 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 dao; import entities.Equipo; import org.hibernate.Session; import org.hibernate.Transaction; import util.HibernateUt...
package raft.server.storage; import java.io.Closeable; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; import java.util.zip.CRC32; /** * Author: ylgrgyq * Date: 18/6/10 */ public class LogWriterWithMmap implements Closeable { priva...
package com.sohail.TechAssessment; import android.app.Activity; import android.app.ProgressDialog; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; i...
package com.ynyes.xunwudao.controller.management; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.stere...
/* Copyright (C) 2013-2014, Securifera, Inc All rights reserved. The copyright on this package is held by Securifera, Inc */ package pwnbrew.utilities; import java.net.MalformedURLException; import java.net.URL; import java.security.AllPermission; import java.security.CodeSource; import java.security.Permissio...
package gr.teicm.icd.dao.impl; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import javax.sql.DataSource; import gr.teicm.icd.data.entities.User; import gr.teicm.icd.dao.UserDAO; public class UserDAOImpl implements UserDAO { p...
package com.org.spring.boot.amqp.processor.bridge; import com.org.spring.boot.amqp.message.panelInfo.PanelInfoMessageData; import com.org.spring.boot.amqp.processor.Event; import com.org.spring.boot.amqp.processor.Processor; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; @Slf4j @Serv...
/* * Copyright 2002-2022 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 com.calc.antlr.impl; import com.calc.antlr.service.AntlrCalculator; import com.calc.calculator.Calculator; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import java.math.BigDecimal; class AntlrCalculatorImplTest { Calculator calcula...
package com.jvschool.svc.impl; import com.jvschool.dao.api.CategoryDAO; import com.jvschool.model.CategoryEntity; import com.jvschool.svc.api.CategoryService; import com.jvschool.dto.CategoryAttribute; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import...
package midterm; /* * Time complexity:O(n+m) * Space complexity:O(1) */ class ListNode{ int val; ListNode next; ListNode(){ } ListNode(int val){ this.val = val; } ListNode(int val, ListNode next){ this.val = val; this.next = next; } } public class q1 ...
package com.fumei.bg.mapper.system; import com.fumei.bg.domain.system.SysFile; import java.util.List; /** * @author zkh */ public interface SysFileMapper { /** * 根据主键删除记录 * @param fileId id * @return 删除条目数 */ int deleteByPrimaryKey(Long fileId); /** * 新增记录 * @param record...
package com.kwik.controllers; import static br.com.caelum.vraptor.view.Results.json; import static br.com.six2six.fixturefactory.Fixture.from; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.List; import org.junit.Before; import org.junit...
package lab2.level; import java.util.ArrayList; import java.util.Vector; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Image; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.image.BufferedImage; import java.io.File; import jav...
package com.somecompany.customermatches.repository; import java.util.Set; import java.util.UUID; public interface TournamentRepository { Set<UUID> getMatchesIdsForTournaments(Set<UUID> tournamentIds); }
package com.tdr.registrationv3.service.impl.car; import com.tdr.registrationv3.bean.InsuranceBean; import com.tdr.registrationv3.http.utils.Callback; import com.tdr.registrationv3.http.utils.DdcResult; import com.tdr.registrationv3.service.BasePresenter; import com.tdr.registrationv3.service.BaseService; import com.t...
/* * Copyright 2018 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
// SPDX-License-Identifier: BSD-3-Clause // -*- Java -*- // // Copyright (c) 2005, Matthew J. Rutherford <rutherfo@cs.colorado.edu> // Copyright (c) 2005, University of Colorado at Boulder // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted pro...
package com.xebia.entities; import lombok.Data; import javax.persistence.*; @Data @Entity public class Location { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String name; @OneToOne(cascade = CascadeType.ALL) @JoinColumn(name = "covid_details_id") private CovidDetai...
package com.rocky.shiro; import org.apache.shiro.crypto.hash.Md5Hash; public class Shiro_Md5Pwd { public static void main(String[] args) { Md5Hash md5Pwd = new Md5Hash("admin", "admin", 2); // Md5Hash md5Pwd = new Md5Hash("admin", "", 2); System.out.println(md5Pwd.toString()); } }
package by.pvt.herzhot.pojos; import java.io.Serializable; /** * @author Herzhot * @version 1.0 * 03.06.2016 */ public interface Entity extends Serializable { }
package com.cedo.cat2shop.service.impl; import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.cedo.cat2shop.dao.CateD...
import java.util.Scanner; public class EmployeeTest { /** this is a test class*/ public static void main( String args[] ){ //we are in the the main Employee firstemployee=new Employee(); Employee secondemployee=new Employee(); Scanner sc=new Scanner(System.in); String first; ...
package com.an.scone.vo; import java.util.ArrayList; public class NewsInfo { private String lastBuildDate; private String total; private String display; private ArrayList<NewsItem> items; public NewsInfo(){} public NewsInfo(String lastBuildDate, String total, String display, ArrayList<NewsI...
package com.lenovohit.ssm.mng.web.rest; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.TreeMap; import org.apache.http.protocol.RequestDate; import org.springframework.beans.factory.annotation.Auto...
package iteration03.fr.agh.rule; import iteration03.fr.agh.domain.Grid; import iteration03.fr.agh.domain.State; /** * @author elm * */ public class LifeRule implements Rule { @Override public State apply(int index, Grid grid) { if (grid.isLiving(index - 1) && grid.isLiving(index) && grid.isLiving(index + 1)) {...
package com.sparshik.yogicapple.ui.events; import android.Manifest; import android.app.AlertDialog; import android.content.Intent; import android.content.pm.PackageManager; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Color; import android.net.Uri; import android.os.Bun...
import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * @author Brennan Ward * * Google FooBar Level 4: Free the Bunny Prisoners. * Every door requires N keys, and we have B bunnies. * We need to know the combinations such that we can distribute keys so that any Z of the B bunnies can o...
package dto; import java.util.*; public class Tree { private Person root; private List<Chain> chains; private List<Person> where_update; private final List<Person> waitingList; private Chain[] top_chains; private int top_chain_weight; private int potential_top_chain_weight; private ...
package Java; //parent_10234-01243_child Method public class ChildM extends ParentM { public void method() { super.method1(1); super.method(); super.method2(1,2); super.method3(1,2,3); super.method4(1,2,3,4); System.out.println(" Child Default parameterized Method "); } public void ...
package kr.or.ddit.projectRegist; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import kr.or.ddit.interview.service.IInterviewService; import kr.or.ddit.project.service.IProjectService; import kr.or.ddit.vo.ProjectVO; import kr.or.ddit.vo.newsboardVO; import org.sprin...
package de.kfs.db.controller.filter; import javafx.scene.control.TextFormatter; /** * Class filters all characters and only allows input of positive integers */ public class IntegerFieldFilter extends TextFormatter<String> { /** * it literally does what its supposed to */ public IntegerFieldFilte...
package com.pyg.manager.controller; import PageBean.PageResult; import ReturnResult.Results; import com.alibaba.dubbo.config.annotation.Reference; import com.pyg.pojo.TbBrand; import com.pyg.sellergoods.service.BrandService; import org.springframework.transaction.annotation.Transactional; import org.springframework.we...
import java.util.ArrayList; import java.util.HashMap; import java.util.List; public class SubstringwithConcatenationofAllWords1 { public List<Integer> findSubstring(String s, String[] words) { HashMap<String, Integer> map = new HashMap<String, Integer>(); List<Integer> list = new ArrayList<Integer>(); int slen ...
/* * Created on Mar 6, 2007 * */ package com.citibank.ods.persistence.pl.dao.rdb.oracle; import com.citibank.ods.persistence.util.CitiStatement; import java.math.BigInteger; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.sql.Types; import java.util.ArrayLis...
/** * Created by friday on 16/9/2. */ public class Rectangle extends Shape{ public Rectangle() { type = "Rectangle"; } @Override void draw() { System.out.println(this.getType()+"draw()"); } }
//Abrindo o Firefox import java.io.File; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.ie.InternetExplorerDriver; public class ExampleTest01{ public static void main(String[] args) { abrirFirefox(); ...
package com.syscxp.biz.service.activiti.form; /** * @Author: sunxuelong. * @Cretion Date: 2018-08-28. * @Description: . */ public interface FormKeyService { void startProcess(); }
package github.tornaco.android.thanos.core.pm; import android.os.Parcel; import android.os.Parcelable; import java.util.ArrayList; import java.util.List; import java.util.Objects; import util.CollectionUtils; public class PackageSet implements Parcelable { private String label; private String id; privat...
package com.javarush.test.level18.lesson10.home07; /* Поиск данных внутри файла Считать с консоли имя файла Найти в файле информацию, которая относится к заданному id, и вывести ее на экран в виде, в котором она записана в файле. Программа запускается с одним параметром: id (int) Закрыть потоки. Не использовать try-wi...
public class Book { private String Title; private String Author; private int CheckinOut; private int Value; public Book(String T, String A, int CK, int V) { Title = T; Author = A; CheckinOut = CK; Value = V; } //getters public String getTitle(){ ...
package pl.kurs; 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.JScrollPane; import javax.swing.JTable; public class K...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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 requ...
package com.example.bob.health_helper.Local; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import com.example.bob.health_helper.Local.LocalBean.Favorite; import com.example.bob.health_helper.Local.LocalBean.Like; import com.example.bob.health_helper.Local.LocalBean.Reminder; import co...
/* * Welcome to use the TableGo Tools. * * http://vipbooks.iteye.com * http://blog.csdn.net/vipbooks * http://www.cnblogs.com/vipbooks * * Author:bianj * Email:edinsker@163.com * Version:5.8.0 */ package com.lenovohit.hcp.payment.model; import java.math.BigDecimal; import java.util.Date; import javax.per...
import java.util.Iterator; import java.io.*; public class Student implements Student_{ String name; String entryNo; String hostel; String department; String completedCredits; String cgpa; LL<CourseGrade> courseList; //Constructor public Student(String a, String b, String c, String d) { name...
/* * Copyright (c) 2020 Nikifor Fedorov * 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 la...
import java.util.Scanner; public class Example1 { static void ex1(int x, int y){ System.out.println("정수를 입력하시오 : " + x); System.out.println("정수를 입력하시오 : " + y); if(x%y==0) System.out.println("약수입니다."); else System.out.println("약수가 아닙니다."); } static void ex2(int x, int y){ Syst...
package com.lotbyte.inter; import java.util.function.Predicate; import java.util.function.Supplier; @FunctionalInterface public interface ThrowingPredicate<T,E extends Exception>{ boolean test(T t) throws E; static <T> Predicate<T> predicateWrapper(ThrowingPredicate<T,Exception> throwingSupplier){ r...
package com.yukai.monash.student_seek; import android.app.Dialog; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.provider.MediaStore; import android.support.v7.app.AppC...
package zoku.sample.spring.websample1; import org.springframework.context.ApplicationListener; public class SampleEventListener implements ApplicationListener<SampleBeanEvent> { public void onApplicationEvent(SampleBeanEvent event) { System.out.println("SampleEvent is occured!!"); } }
package gradedGroupProject; import java.util.Scanner; public class KeyInput { public String read( String label ) { System.out.println( "\nProvide " + label + ":" ); System.out.println( ">" ); @SuppressWarnings("resource") Scanner scanner = new Scanner( System.in ); String value = scan...
package pro.likada.bot.products.commands; import org.telegram.telegrambots.api.methods.send.SendMessage; import org.telegram.telegrambots.api.objects.Chat; import org.telegram.telegrambots.api.objects.User; import org.telegram.telegrambots.bots.AbsSender; import org.telegram.telegrambots.bots.commands.BotCommand; impo...
package myProject.third; public class EnemyMotorLevel2 { public EnemyMotorLevel2() { // TODO Auto-generated constructor stub } }
package uzparser; import javax.mail.*; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; import java.util.Properties; public class EmailSender { private static final String USERNAME_TO = "ks.13.bogdan@gmail.com"; private static final String USERNAME_FROM = "ks.13.bogdan@gmai...
public class message { private String sender; private String recipient; private String text; public message(String sender, String recipient) { super(); this.recipient = recipient; this.sender = sender; this.text =""; } public String toString() { return "From: " + sender + "%n" + "...
/* * @(#) EbmsMessageHistoryLogDAO.java * Copyright (c) 2007 eSumTech Co., Ltd. All Rights Reserved. */ package com.esum.wp.ebms.ebmsmessagehistorylog.dao.impl; import java.util.List; import com.esum.appframework.exception.ApplicationException; import com.esum.appframework.dao.impl.SqlMapDAO; import com.esum.wp.eb...
package com.guang.util; import android.content.Context; import com.umeng.analytics.MobclickAgent; //获取友盟在线参数 public class NetworkUtil { /** * 根据友盟判断是否打开Dialog开关 * * @return */ public static boolean getIsOpen(Context context) { MobclickAgent.updateOnlineConfig(context); String datas = ...
import java.io.*; class ThreadPriorityTest implements Runnable { public void run() { System.out.println(" Thread under running"); System.out.println(Thread.currentThread().getName()); } public static void main(String args[]) { ThreadPriorityTest tp1 = new ThreadPriorityTest(); Thread t1 = new Thread(t...
package com.myth.springboot.service; import com.myth.springboot.dao.AdminMapper; import com.myth.springboot.dao.ClassMapper; import com.myth.springboot.entity.Class; import com.myth.springboot.entity.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; impor...
import java.util.Scanner; /** * Created by Administrator on 2017/8/8. */ public class chapter3_10 { public static void main(String[] args){ Scanner in = new Scanner(System.in); System.out.println("请输入整数."); int number = in.nextInt(); if (number==0){ System.out.println("...
package comp303.fivehundred.ai; import static comp303.fivehundred.util.AllCards.*; import static comp303.fivehundred.util.AllBids.*; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; import comp303.fivehundred.ai.basic.BasicBiddingStrategy; import comp303.fivehund...
package com.aca.swap; import java.util.Scanner; public class SwapTest { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("Please input the first number: "); IntegerWrapper number1 = new IntegerWrapper(5); IntegerWrapper number2 ...
package adefault.loginscreen; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.TextView; import adefault.loginscreen.model.Planet; public class PlanetDetails extends AppCompatActivity { TextView rotation_period, climate, population,title,diamter,gravity,surface_wa...
/** * Copyright 2014 Bill McDowell * * This file is part of theMess (https://github.com/forkunited/theMess) * * 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....
package com.damlakayali.notdefterim; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Ada...
package com.lesports.albatross.activity; import android.app.LauncherActivity; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.os.Message; import android.support.v7.widget.Toolbar; import android.text.ClipboardManag...
package gromcode.main.lesson29.homework29_1; import java.util.*; public class HashSetTest { public Set<Order> useHashTest(){ Set<Order> orders = new HashSet<>(); Order order1 = new Order(1, 2, "USD", "item1", "1"); Order order2 = new Order(2, 42, "USD", "item2", "1"); Order orde...
package MVC.views; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import MVC.controllers.deleteInvController; import MVC.models.inventoryModel; public class deleteInvView extends JFrame { private inventoryModel model; private JPanel deletePa...
package com.ahu.dao; import com.ahu.pojo.Role; import java.util.Set; /** * @author :XXXX * @date :Created in 2020/12/1 * @description : * @version: 1.0 */ public interface RoleDao { Set<Role> findByUserId(Integer userId); }
package ZadankaBootcamp; public class Zadanie2 { }
package com.praktyki.log.web.message.models; import org.springframework.lang.Nullable; import javax.validation.constraints.Null; import java.math.BigDecimal; import java.time.LocalDate; import java.util.Objects; public class ScheduleConfigurationModel { public double capital; public String installmentType;...
package InterviewBitAssignments.Week5; import java.util.*; /** * Created by akshaymathur on 1/29/18. */ public class CloneGraph { class UndirectedGraphNode { int label; List<UndirectedGraphNode> neighbors; UndirectedGraphNode(int x) { label = x; neighbors = new ArrayList<UndirectedGraph...
module modc { }
package com.stk123.model.bo; import com.stk123.common.util.JdbcUtils.Column; import java.io.Serializable; import com.stk123.common.util.JdbcUtils.Table; import java.sql.Timestamp; @SuppressWarnings("serial") @Table(name="STK_SEARCH_CONDITION") public class StkSearchCondition implements Serializable { @Column(nam...
/* * Copyright 2014 Basho Technologies Inc. * * 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 ...
/* * 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...
public class Repainter extends Thread{ MapWindow m; public Repainter(MapWindow m) { this.m = m; } public void run() { while(true){ m.repaintPainter(); try { Thread.sleep(100); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } } }
package com.zc.pivas.docteradvice.dtsystem.autocheck.req; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; /** * * xml药品类 * * @author cacabin * @version 0.1 */ @XmlAccessorType(XmlAccessType.FIELD) public class Medicine { /** * 商品名 ...
package HotelReservationJavalin.Dao; import HotelReservationJavalin.pojos.Guest; public interface GuestDao { public void createGuest(Guest guest); public Guest readGuest(int guestId); public Guest readAllGuests(); public Guest updateGuest(int guestId, Guest guest); public void deleteGuest(Guest guest);...
package utn.sau.hp.com.modelo; // Generated 04/12/2014 23:31:51 by Hibernate Tools 3.6.0 import java.util.Date; /** * Anexos generated by hbm2java */ public class Anexos implements java.io.Serializable { private Integer id; private Empresas empresas; private byte pagaSeguroTrabajoAnterior; ...
package org.rita.harris.embeddedsystemhomework_termproject.UserData; import android.content.SharedPreferences; import android.util.Log; import org.rita.harris.embeddedsystemhomework_termproject.MainActivity; /** * Created by Harris on 2015/12/17. */ public class User_BasicData { private String Account = ""; ...
package com.producerconsumer; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; public class ProducerConsumer { public static void main(String[] args) { Blockingqueue q=new Blockingqueue(5); ExecutorService es= Executors.newFixedThreadPool(2); ...
/* * 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 staticAndDefault; import java.util.function.Function; import java.util.function.Predicate; public class FuncionalInterface { public static void main(String[] args) { Runnable runnable = () -> System.out.println("test"); Thread thread = new Thread(runnable); thread.start(); Function<Integer, String...
package com.sherpa.sherpa.Interfaces; import android.widget.ImageView; import com.parse.ParseFile; import com.parse.ParseUser; /** * Created by Kirtan on 10/30/15. */ public interface Profile { ParseUser getCurrentParseUser(); String getUsername(); String getFirstname(); String getLastname(); ...
package nightgames.skills; import nightgames.characters.Attribute; import nightgames.characters.Character; import nightgames.characters.Emotion; import nightgames.characters.Trait; import nightgames.combat.Combat; import nightgames.combat.Result; import nightgames.global.Global; import nightgames.status.Enthralled; p...
package com.lei.tang.frame.service.user; import entity.user.LoginRecord; import entity.user.UserAccount; import javax.servlet.http.HttpServletRequest; /** * @author tanglei * @date 18/10/11 */ public interface LoginRecordService { /** * 保存登录记录 * @param userAccount * @return */ LoginRe...
package com.wb.welfare.repository; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import org.springframework.stereotype.Repository; import com.wb.welfare.model.Pedido; @Repository public class PedidoRepository { @Persis...
package com.volvobuses.client.service; import com.volvobuses.client.bean.GenTbBuseseventos; public interface GenTbBusesEventoService extends ServiceTemplate<GenTbBuseseventos, Integer> { }
package edu.rutgers.MOST.optimization.FBA; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.util.Vector; import org.apache.log4j.Logger; import edu.rutgers.MOST.data.*; import edu.rutgers.MOST.optimization.solvers.*; public class FBA { static Logger log = Logger.getLogger(FB...