text
stringlengths
10
2.72M
package com.example.mac.swinedu.Models; import java.util.HashMap; /** * Created by mac on 11/7/17. */ public class ChatMembers { private HashMap<String, Boolean> members = new HashMap<>(); public ChatMembers() { } public HashMap<String, Boolean> getMembers() { return members; ...
/* * 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 gob.igm.ec.servicios; import gob.igm.ec.TcontrolIva; import java.math.BigDecimal; import javax.ejb.Stateless; import...
package com.kh.efp.codeFactory.model.vo; public class ExecuteResult implements java.io.Serializable{ private String output; private String statusCode; private String memory; private String cpuTime; public ExecuteResult() {} public ExecuteResult(String output, String statusCode, String memory, Stri...
package com.fanbo.kai.zhihu_funny.presenter; import com.fanbo.kai.zhihu_funny.model.Section; import com.fanbo.kai.zhihu_funny.presenter.base.BasePresenter; import com.fanbo.kai.zhihu_funny.presenter.contract.ContentContract; import com.fanbo.kai.zhihu_funny.presenter.contract.ContentContract.Presenter; import com.goog...
package com.geekparkhub.core.hbase.api.producehub; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.*; import org.apache.hadoop.hbase.client.*; import org.apache.hadoop.hbase.util.Bytes; import java.io.IOException; /** * Geek International Park | 极客国际公园 * GeekParkHub | 极客实验室 * Website |...
package com.root.mssm.ui.specification.moreinfo; import androidx.lifecycle.ViewModel; public class MoreInfoViewModel extends ViewModel { // TODO: Implement the ViewModel }
package com.smxknife.java.ex3; public interface Animal { }
package com.lizikj.tracker.pojo; import static zipkin.internal.Util.equal; import java.io.Serializable; import com.github.kristofa.brave.internal.Nullable; /** * * @auth zone * @date 2017-10-18 */ public class Annotation implements Serializable { static final long serialVersionUID = 1L; public static Annotat...
package example.nz.org.take.compiler.userv.spec; /** * Class generated by the take compiler. * This class represents the external fact store DP_00x * for the predicate specialLocation * @version Sun Oct 21 23:25:20 NZDT 2007 */ public interface ExternalFactStore4specialLocation { // Get all instances...
import java.util.*; import java.io.*; public class ACM { public static void main(String[] args) throws IOException { Scanner nya = new Scanner(System.in); HashSet<Character> right = new HashSet<>(); HashMap<String, Integer> value = new HashMap<>(); while(true){ String[...
package com.infotec.registro; import java.util.List; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; @Path("det") public class D...
package edu.byu.cs.tweeter.view.main; import android.content.Context; import androidx.annotation.Nullable; import androidx.annotation.StringRes; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentPagerAdapter; import edu.byu.cs.tweeter....
package com.jlgproject.adapter; import android.content.Context; import android.content.Intent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.LinearLayout; import android.widget.TextView; import com.jlgproject.R; im...
package com.example.bratwurst.service; import com.amazonaws.services.sns.AmazonSNS; import com.amazonaws.services.sns.model.*; import com.example.bratwurst.model.FriendsViewModel; import org.json.JSONException; import org.json.JSONObject; import org.springframework.beans.factory.annotation.Autowired; import com.examp...
package com.selesgames.weave.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; @JsonIgnoreProperties(ignoreUnknown = true) public class UserInfo { @JsonProperty("UserId") private String userId; public String getUserId() { r...
package com.yougou.merchant.api.help.vo; import java.io.Serializable; import java.util.Date; /** * 商家帮助中心图片实体 * * @author huang.tao * */ public class HelpCenterImg implements Serializable { private static final long serialVersionUID = 4223630121266688780L; private String id; /** 图片名称 */ private String p...
package org.usfirst.frc.team1155.robot; import edu.wpi.first.wpilibj.I2C; public class RioDuinoController { private I2C i2cBus; private String rioDuinoDrive; RioDuinoController() { i2cBus = new I2C(I2C.Port.kMXP, 4); } public void SendStateChange(char state) { i2cBus.write(0x02, ...
package co.nos.noswallet.di.analytics; import android.content.Context; import co.nos.noswallet.analytics.AnalyticsService; import co.nos.noswallet.bus.Logout; import co.nos.noswallet.bus.RxBus; import co.nos.noswallet.db.Migration; import co.nos.noswallet.di.activity.ActivityScope; import co.nos.noswallet.di.applicat...
package jc.sugar.JiaHui.jmeter.configtestelement; import jc.sugar.JiaHui.jmeter.*; import org.apache.jmeter.protocol.http.control.CacheManager; import java.util.HashMap; import java.util.Map; import static org.apache.jorphan.util.Converter.getBoolean; import static org.apache.jorphan.util.Converter.getInt; @JMeterE...
package dto.jang.hs; public class detail2 { private String VAN_ADR; private String NEW_ADR; private String TEL; private String POLL_DIV_CD; private String OS_NM; private String LPG_YN; private String MAINT_YN; private String CAR_WASH_YN; private String KPETRO_YN; private String CVS_YN; ...
package com.example.journey_datn.Model; import androidx.room.Ignore; import androidx.room.PrimaryKey; public class Diary { private String id; private String date, title, contain; private boolean checkRdb = false; public Diary() { } public Diary(String id, String date, String title, String co...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package legaltime; import java.io.PrintWriter; import java.io.StringWriter; import java.io.Writer; /** * * @author bmartin */ public class TextUtils { public static String frontZeroFill(Object value_, int cha...
package com.esri.alejo.ramapa; import com.esri.arcgisruntime.mapping.ArcGISMap; import com.esri.arcgisruntime.mapping.LayerList; import java.io.Serializable; /** * Created by alejo on 2/02/2018. */ public class mapaCarga implements Serializable { public ArcGISMap mapa; public LayerList layers; publi...
/* * Copyright 2000-2011 JetBrains s.r.o. * * 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...
package course; import java.util.List; public class Invoice { public List<Part> parts; public int number; public Invoice(List<Part> parts, int number) { super(); this.parts = parts; this.number = number; } public Invoice(String string, List<Part> thirdPack) { } public Li...
package fr.tungnguyen.hibernate.batch.modelb; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "Person") public class PersonB...
package cn.yhd.base; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * @author master */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER}) pu...
package com.pointburst.jsmusic.player; import android.app.Notification; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.media.AudioManager; import android.media.MediaPlayer; import android.os.Binder; import android.os.IBinder; ...
package com.vilio.bps.commonMapper.pojo; import java.io.Serializable; /** * @实体名称 询价请求与计算结果关联表 * @数表名称 BPS_INQUIRY_RESULT_RELATION * @开发日期 2017-06-12 * @技术服务 www.fwjava.com */ public class BpsInquiryResultRelation implements Serializable { /** * (必填项)(主键ID) */ private Integer id = ...
package com.etar.purifier.modules.firmware.service.impl; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org....
package digitalInnovation.javaBasico; import java.util.ArrayList; import java.util.Comparator; import java.util.List; import java.util.stream.Collector; import java.util.stream.Collectors; public class Aula_13_StreamAPI { public static void main(String[] args) { List<String> estudantes = new ArrayList<>(); //d...
package com.zoupeng.community; import com.zoupeng.community.dao.AlphaDao; import com.zoupeng.community.service.AlphaService; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Test; import org.springframework.beans.BeansException; import org.springframework.beans.factory.annotation.Autowired; import org.sp...
/** */ package ConceptMapDSL.impl; import ConceptMapDSL.*; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.impl.EFactoryImpl; import org.eclipse.emf.ecore.plugin.EcorePlugin; /** * <!-- begin-user-doc --> * An impleme...
package single; public class SingleMain { private ActionFactory factory; private CustomerAction customerAction; private HistoryAction historyAction; public SingleMain() { factory = new ActionFactory(); customerAction = factory.getCustomerAction(); historyAction = factory.get...
package treerecursion3; public class Solution { public int maxPathSum(TreeNode root) { // Write your solution here. int[] max = new int[]{Integer.MIN_VALUE}; helper(root,max); return max[0]; } private int helper(TreeNode root, int [] max){ //base case if(root == null){ return ...
package com.example.d; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.PixelFormat; import android.opengl.GLSurfaceView; import android.os.Bundle; import android.view.MotionEvent; import android.view.ScaleGestureDetector; /** * Wrappe...
package com.tencent.mm.plugin.wenote.ui.nativenote.b; import com.tencent.mm.plugin.wenote.model.a.h; import com.tencent.mm.pluginsdk.ui.d.j; import com.tencent.mm.sdk.platformtools.ah; class k$2 implements Runnable { final /* synthetic */ k qvL; final /* synthetic */ h qvN; k$2(k kVar, h hVar) { ...
package com.tencent.mm.ui.chatting.b.b; import com.tencent.mm.storage.bd; import com.tencent.mm.ui.chatting.b.u; public interface i extends u { void aV(bd bdVar); void aW(bd bdVar); void aX(bd bdVar); }
package MTv1; import java.io.File; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.*; public class M3U8DOWNLOADER { public M3U8DOWNLOADER(String m3u8_url, String DOWNLOAD_PATH) throws IOException, InterruptedException { // String m3u8_og ="https://streaming.azure....
package com.coder4.lmsia.thrift.client; import com.coder4.lmsia.thrift.client.func.ThriftCallFunc; import com.coder4.lmsia.thrift.client.func.ThriftExecFunc; import com.coder4.lmsia.thrift.client.pool.TTransportPool; import com.coder4.lmsia.thrift.client.pool.TTransportPoolFactory; import org.apache.thrift.TServiceCli...
package api.domain; import api.AbstractRestService; import api.Identity; import api.domain.model.AdvancedTypeConverter; import api.domain.model.oauth.AuthorizationRequest; import api.domain.model.oauth.AuthorizationResponse; import exceptions.RestServiceException; import org.apache.cxf.common.util.Base64Util...
package com.dnomaid.iot; import java.security.acl.Group; import java.util.ArrayList; import java.util.stream.Collectors; import com.dnomaid.iot.mqtt.Mqtt; import com.dnomaid.iot.mqtt.device.Device; import com.dnomaid.iot.mqtt.device.DeviceConfig; import com.dnomaid.iot.mqtt.device.Devices; import com.dnomaid.iot.mqtt...
package com.zhonghuilv.shouyin.service.impl; import com.zhonghuilv.shouyin.mapper.OrderBackDetailsMapper; import com.zhonghuilv.shouyin.mapper.OrderBackMapper; import com.zhonghuilv.shouyin.mapper.StockMapper; import com.zhonghuilv.shouyin.pojo.OrderBack; import com.zhonghuilv.shouyin.pojo.OrderBackDetails; import com...
package com.ibtsic.android.model; /* * Author: Joshi Dnyanesh Madhav * */ public class Announcement { public int id; public String name; public String description; public String startInstant; public String validity; public int node1Id; public int node2Id; public Announcement(int id, String name, String description, S...
package com.shopify.shop; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; impo...
package April; import java. util.*; public class Repl_Split { public static void main(String[] args) { Scanner input = new Scanner(System.in); String email = input.nextLine(); //Write your code below String[] email2 = email.split("@"); System.out.println(Arrays.toString(ema...
/* * Copyright 2016 Johns Hopkins University * * 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 ...
package org.buckeram.jobscraper.domain; import lombok.Data; import lombok.NoArgsConstructor; import java.net.URL; import java.util.HashSet; import java.util.Optional; import java.util.Set; /** * This class represents the one page of job search results. * A search results page consists of: * <ul> * <li>a colle...
package com.tencent.mm.plugin.wallet.bind.ui; import android.view.View; import android.view.View.OnClickListener; import com.tencent.mm.g.a.qu; import com.tencent.mm.plugin.wallet_core.model.f; import com.tencent.mm.sdk.b.a; import com.tencent.mm.sdk.platformtools.bi; class WalletBankcardManageUI$7 implements OnClick...
import java.util.Scanner; /** * * @author 141638 */ public class CheckInput { Scanner sc = new Scanner(System.in); int CheckInput(int a,int min,int max){ String Numtext; do{ Numtext = sc.nextLine(); try{ if(a==0){ ...
import java.awt.BorderLayout; import java.awt.Color; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.JButton; import javax.swing.JList; import javax.swing.JTextPane; import javax.swing.JLabel; import java.awt.TextFie...
package ru.learn2code.yrank.service; import java.util.Date; import java.util.List; import ru.learn2code.yrank.model.Serp; public interface SerpService { List<Serp> findByProjectIdAndCreated(Long id, Date date); }
package org.jon.lv.scheduled; import com.dangdang.ddframe.job.api.ShardingContext; import com.dangdang.ddframe.job.api.simple.SimpleJob; import org.jon.lv.date.DateUtils; /** * @Package org.jon.lv.scheduled.SingleExecuteJob * @Description: 只执行一次 * @Copyright: Copyright (c) 2016 * Author lv bin * @date 2017/7/18 ...
package org.usfirst.frc.team3223.robot; public enum TurningState { Start, Calculate, Drive, End, }
package com.swqs.schooltrade.fragment; import java.io.IOException; import java.util.List; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.swqs.schooltrade.R; import com.swqs.schooltrade.activity.SellOrderDetailsActivity; import com.swqs.sch...
package com.tencent.mm.plugin.scanner.util; import com.tencent.mm.g.a.oo; import com.tencent.mm.plugin.scanner.util.ScanCameraLightDetector.1; import com.tencent.mm.sdk.b.a; class ScanCameraLightDetector$1$2 implements Runnable { final /* synthetic */ 1 mND; ScanCameraLightDetector$1$2(1 1) { this.mN...
package com.batiaev.java3.lesson7; import lombok.Data; import java.util.Currency; @Data @Table("gb_account") public class Account { @PrimaryKey private final int id; private String name; private String amount; @Field("curr") private Currency currency; }
/* * 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 com.fillikenesucn.petcare.activities; import android.app.DatePickerDialog; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.view.View; import android.widget.Button; import android.widget.DatePicker; import android.widget.EditText; import android.widget.TextView; import a...
package ru.itis.javalab.repositories; import org.springframework.dao.EmptyResultDataAccessException; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.RowMapper; import org.springframework.stereotype.Repository; import ru.itis.javalab.models.User; import ru.itis.javalab.models.Use...
package com.jim.multipos.core; import java.util.Calendar; public interface BaseTableReportView extends BaseView { void updateDateIntervalUi(Calendar fromDate, Calendar toDate); void openDateInterval(Calendar fromDate, Calendar toDate); void setSingleTitle(String titleReport); void setChoiserPanel(S...
package management.client.model; import org.hibernate.validator.constraints.NotBlank; import javax.validation.constraints.NotNull; import javax.validation.constraints.Pattern; public class Client { private int id; @NotNull(message = "Nome é obrigatório") @NotBlank(message = "Nome é obrigatório") @P...
package org.denevell.natch.jsp.post.move_to_thread; import org.denevell.natch.io.posts.PostResource; import org.denevell.natch.utils.simpletags.NatchTagSupport.PojoWithError; public class MoveToThreadJspOutput extends PostResource implements PojoWithError { private String error; public MoveToThreadJspOutput(Post...
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit...
/* * 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.gob.onpe.adan.model.admin; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Fetch...
package java63.servlets.test04.dao; import java.util.HashMap; import java.util.List; import java63.servlets.test04.domain.Member; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.s...
/* * 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.nam.vn.pro.shell.gui; import java.awt.Dimension; import java.awt.Point; import java.awt.Toolkit; import java.awt.event.Act...
package com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage; import java.io.Serializable; public class a$b implements Serializable { public String fxE; public String nyk; public a$b(String str, String str2) { this.nyk = str; this.fxE = str2; } }
package com.gmail.cwramirezg.task.features.task; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; impor...
package Peer; import BlockchainUtil.Block; import io.grpc.ManagedChannel; import io.grpc.ManagedChannelBuilder; import proto.BlockchainGrpc; import proto.BlockchainService; import java.util.concurrent.TimeUnit; public class Client { private final ManagedChannel channel; private final BlockchainGrpc.Blockchai...
/* * Copyright 2013 JBoss 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 or agreed to i...
package CreatingGUIs; import java.awt.*; import javax.swing.*; public class main { public static void main(String[] args) throws InterruptedException { JFrame window = new JFrame(); window.setTitle("HELLO!"); window.setSize(new Dimension(500, 600)); window.setVisible(true); double incr =...
package com.redhat.manuela.sensor; import com.redhat.manuela.model.Measure; public interface Sensor { public void initAndReset(); public int getFrequency(); public boolean isEnabled(); public Measure calculateCurrentMeasure(Measure measure); }
package Transport; import java.io.IOException; import transport.IDelivery; import transport.IExporter; import java.io.FileWriter; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import transport.IItemPacked; import transport.IVehicle; /* * Nome: <Samuel Luciano Correia da Cunha> * Número: <81605...
package pl.superjaba.model; /** * Created by RENT on 2017-03-01. */ public class Users { //pobawic sie, filtrowanie, itp }
/* * Copyright: 2020 forchange Inc. All rights reserved. */ package com.research.hadoop.mr.parititioner; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Reducer; import java.io.IOException; /** * @fileName: ParititionerReducer.java * @description: P...
package com.smxknife.spring.ignoredependency; import com.smxknife.spring.ignoredependency.inter.InterfaceTest; import com.smxknife.spring.ignoredependency.type.TypeTest; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * @author smxknife * 2020/2/5 */ public class XmlTypeBoot { publi...
package api.domain.model.oauth; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class DeautorizationRequest { private String refreshToken; public String getRefreshToken() { return refreshToken; } public void setRefreshToken(String refreshToken) { ...
package com.mx.profuturo.bolsa.model.recruitment.vo; import com.mx.profuturo.bolsa.model.recruitment.dto.InterviewDTO; public class InterviewVO extends InterviewDTO { private String nombreSede; private String nombreEntrevistador; public String getNombreSede() { return nombreSede; } public void setNombreSede(...
package leecode.other; public class 替换后的最长重复字符_424 { //https://leetcode-cn.com/problems/longest-repeating-character-replacement/solution/tong-guo-ci-ti-liao-jie-yi-xia-shi-yao-shi-hua-don/ public int characterReplacement(String s, int k) { int[]map=new int[26]; if(s==null){ return 0...
/* PharmacyFactoryTest.java Entity for the PharmacyFactoryTest Author: Zuko Fukula (217299911) Date: 6 June 2021 */ package za.ac.cput.Factory; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Timeout; import za.ac.cput.Entity.Pharmacy; import stati...
package prog11황인호; /** * 배열을 반환하는 메소드를 이용하는 문제 * 지정된 크기의 배열을 반환하는 메소드를 호출한 후 * 반환된 배열의 내용을 출력하는 작업을 반혹한다. * 메소드가 얼마나 큰 배열을 만들게 할지는 * 메소드를 호출할 때 인수를 통해 지정해 준다. * @author 황인호 * */ public class ArrayReturn2 { public static void main(String[] args) { int[] array; // makeArray 메소드를 호출하면 배열을 가...
package org.newdawn.slick.tests; import org.newdawn.slick.AppGameContainer; import org.newdawn.slick.BasicGame; import org.newdawn.slick.Game; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.Music; import org.newdawn.slick.MusicListener; import org.newdawn.slick.Slic...
package com.example.recyclerview.data; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import java.util.ArrayList; public class TopicDAO { public static final String FAMILY = "FAMILY"; public static final Str...
package com.sojay.testfunction.card.card2; import java.io.Serializable; public class BookBean implements Serializable { private String name; private String cover; public BookBean() { } public BookBean(String name) { this.name = name; } public String getName() { return ...
package com.hcl.dmu.demand.skill.dao; import java.util.ArrayList; import java.util.List; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import org.dozer.Mapper; import org.hibernate.Session; import org.hibernate.query.Query; import org.slf4j.Logger; import org.sl...
package beanfactory; import com.sun.istack.internal.Nullable; /*** * *@Author ChenjunWang *@Description: 后置处理器 在实例化前后 *@Date: Created in 22:56 2020/3/6` *@Modified By: * */ public interface InstantiationAwareBeanPostProcessor extends BeanPostProcessor { @Nullable default Object postProcessBeforeInstant...
package code; /** * Created by likz on 2023/4/23 * * @author likz */ public class TrappingRainWater { public int trap(int[] height) { if (height == null || height.length == 0){ return 0; } int len = height.length; // leftMax int[] leftMax = new int[len + 1]; ...
package polydungeons.mixin; import it.unimi.dsi.fastutil.objects.ObjectList; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.client.model.ModelPart; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.gen.Accessor; @Mixin(ModelPart.class) @Environmen...
package principal.control; public class GestorControles { public final static Teclado teclado = new Teclado(); //public final static Mouse mouse = new Mouse(); }
/* * 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 radix; import java.util.Scanner; /** * * @author ADMIN */ public class Radix { private static Integer elementos[]; ...
package sevenkyu.peopleonbus; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.util.List; import static org.assertj.core.api.Assertions.assertThat; class PeopleOnBusTest { PeopleOnBus peopleOnBus; @BeforeEach void init() { peopleOnBus = new PeopleOnBus(); ...
package org.icabanas.jee.api.integracion.manager.exceptions; public class PaginacionException extends RuntimeException { private static final long serialVersionUID = 1L; public PaginacionException() { super(); // TODO Auto-generated constructor stub } public PaginacionException(String message, Th...
package com.nikogalla.tripbook.utils; import android.util.Log; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import java.util.TimeZone; /** * Created by Nicola on 2017-01-29. */ public class DateUtils { final static SimpleDateFormat sdf = new S...
import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.util.Random; @SuppressWarnings("serial") public class Game implements Serializable { int sizeX; int sizeY; int numberOfColors; //Bubble a[][] = new Bubble[size][size]; Bubble a[][] = null; Random r = new Random(); ...
package com.mp; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisp...
package br.com.univag.logic; import br.com.univag.controller.Logica; import br.com.univag.exception.DaoException; import br.com.univag.service.MovimentoVeiculoService; import br.com.univag.service.VeiculoService; import br.com.univag.util.Mensagem; import java.io.IOException; import java.sql.Connection; impor...
package com.fixit.ui.fragments.feedback; import android.content.Context; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.TextView; import com.fix...
/* * 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 inventorywrc; import java.awt.ComponentOrientation; import java.awt.Frame; import java.sql.ResultSet; import java.sql.SQLExcep...
package com.podarbetweenus.Adapter; import android.app.Activity; import android.content.Context; import android.graphics.Typeface; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseExpandableListAdapter; import android.widget.ImageView; import androi...