text
stringlengths
10
2.72M
/* * 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 loc.dto; /** * * @author hi */ public class ProductDTO { public String productID, name, image, categoryID...
package com.example.DesInterSpring.dto; import javax.validation.constraints.NotBlank; public class LoginUsuario { @NotBlank private String nombre; @NotBlank private String password; public String getNombre() { return nombre; } public void setNombre(String nombreUsuario) { ...
package com.pds.rn.rectactivity; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import com.facebook.react.ReactActivityDelegate; import javax.annotation.Nullable; public class RnActivityDelegate extends ReactActivityDelegate { private Bundle bundle; pu...
package com.example.administrator.halachavtech.Model.Hazmana; /** * Created by Administrator on 11/01/2017. */ public class Status { private String description; public String getDescription() { return description; } public void setDescription(String description) { this.description ...
package ru.startandroid.places.events; public class Event { private int type; public int getType() { return type; } void setType(int type) { this.type = type; } }
import java.util.Scanner; public class CharacterCounter { public static void main(String[] args) { System.out.println("\nEnter size of your list: "); Scanner keyboard = new Scanner(System.in); int size = keyboard.nextInt(); char[] list = new char[size]; for (int k = 0; k < list.length; ++k) ...
package cn.zhaoliang5156.monthmoni.mvp.mainmvp; import java.util.List; import cn.zhaoliang5156.monthmoni.base.net.HttpCallback; import cn.zhaoliang5156.monthmoni.bean.Category; import cn.zhaoliang5156.monthmoni.bean.RightResponse; /** * Copyright (C), 2015-2019, 八维集团 * Author: zhaoliang * Date: 2019/4/30 10:39 AM...
package com.tencent.mm.plugin.appbrand; import android.content.Context; class u$1 implements Runnable { final /* synthetic */ String dhF; final /* synthetic */ int fen; final /* synthetic */ u feo; final /* synthetic */ Context val$context; u$1(u uVar, Context context, String str, int i) { ...
package ro.redeul.google.go.lang.parser.parsing.statements; import com.intellij.lang.PsiBuilder; import ro.redeul.google.go.lang.lexer.GoElementType; import ro.redeul.google.go.lang.parser.GoElementTypes; import ro.redeul.google.go.lang.parser.GoParser; import ro.redeul.google.go.lang.parser.parsing.util.ParserUtils; ...
package fr.windea.tuto.controller; import android.content.Intent; import android.content.SharedPreferences; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.view.View; imp...
package cwiczenie; public class PowEquation implements ICalculable { private double liczba1; private double liczba2; public PowEquation(double liczba1, double liczba2) { this.liczba1 = liczba1; this.liczba2 = liczba2; } public double calculate(){ double potega = Math.pow(l...
public class PrintFormatDemo { //%s and %.2f and print f public static void main(String[] args) { String value = "Maria"; double salary = 256.00; java.util.Scanner input = new java.util.Scanner(System.in); System.out.printf("Enter how many hours did %s work?", value); int hours = input.nextInt(); double...
package com.project.linkedindatabase.jsonToPojo; import com.project.linkedindatabase.domain.chat.Chat; import com.project.linkedindatabase.domain.chat.Message; import com.project.linkedindatabase.utils.DateConverter; import lombok.*; import java.util.ArrayList; import java.util.List; @Getter @Setter @NoArgsConstruc...
package com.arkaces.aces_marketplace_api; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @Data @Component @ConfigurationProperties(prefix = "email") public class EmailSettings { private String fromName; private S...
package questoes; import questoes.*; public class TestJogador { public static void main(String[] args) { Jogador j1 = new Jogador(100, 1, 400); Jogador j2 = new Jogador(200, 2, 800); j1.atacar(j2); j2.atacar(j1); System.out.println("pontos Jogador 1: " + j1.pontosAtuais); System.out.println("pontos...
package org.a55889966.bleach.saran.tourguide; import android.app.IntentService; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.os.Build; import ...
package com.tencent.mm.plugin.account.model; import android.os.Bundle; import android.os.Message; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.ui.f.a.a$a; import com.tencent.mm.ui.f.a.d; import com.tencent.mm.ui.f.a.e; import java.io.FileNotFoundException; import java.io.IOException; import java.ne...
package com.accp.controller; public class CyfController { }
/////////////////////////////////////////////////////////////////////////////// // ALL STUDENTS COMPLETE THESE SECTIONS // Main Class File: AppStore.java // Files: User.java // Semester: (course) Fall 2015 // // Author: Xiaojun He // Email: xhe66@wisc.edu // C...
package com.devs4j.Rest.Services; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; import javax.annotation.PostConstruct; import javax.swing.DefaultRowSorter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework....
package com.chuxin.family.net; /** * 服务端返回的值 * @author shichao.wang * */ public class CxNetworkResult { public final static int NET_SUCCESS = 0; //成功:客户端根据API规则解析应答数据; public final static int NET_SUCCESS_ADDITION = 1; //成功:但有附加信息;客户端根据API规则解析应答数据;msg字段包含信息内容(文本或URL) public final static int NET_FAIL_BY_MAINTENAN...
package com.example.shoaib.movein; import android.content.Context; import android.content.Intent; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; impo...
package Exceptions; public class ActivityNotFoundException extends Exception{ private static final long serialVersionUID = 313; public ActivityNotFoundException(String errorMessage) { super(errorMessage); } }
package com.xingen.calendarview.bean; import android.content.Context; import com.xingen.calendarview.utils.month.MonthUtils; import com.xingen.calendarview.utils.size.ViewUtils; import java.util.List; /** * Created by ${xinGen} on 2018/1/2. * blog:http://blog.csdn.net/hexingen */ public class MonthBean { /*...
/* * 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.mycompany.poo; import java.util.ArrayList; import java.util.Map; /** * * @author Mayitho Bustos R */ public class Uber...
package com.yuta.clocktime.model; public class District { private String city; private String timezone; private int flag; public District() { super(); } public District(String city, String timezone, int flag) { super(); this.city = city; this.timezone = timezone; this.flag = flag; } public String ...
package com.xuecheng.framework.exception; import com.xuecheng.framework.model.response.ResultCode; import lombok.AllArgsConstructor; @AllArgsConstructor public class CustomerException extends RuntimeException { private ResultCode resultCode; public ResultCode getResultCode() { return this.resultCode;...
package cdn.shared.message.types; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import cdn.shared.message.IMessage; public class PeerRouterListMessage implements IMessage { private RouterInf...
package twilight.bgfx; public enum TextureFormat { BC1, // DXT1 BC2, // DXT3 BC3, // DXT5 BC4, // LATC1/ATI1 BC5, // LATC2/ATI2 BC6H, // BC6H BC7, // BC7 ETC1, // ETC1 RGB8 ETC2, // ETC2 RGB8 ETC2A, // ETC2 RGBA8 ETC2A1, // ETC2 RGB8A1 PTC12, // PVRTC1 RGB 2BPP PTC14...
package com.ng.ngcommon.http; import java.io.Serializable; import static android.icu.lang.UCharacter.GraphemeClusterBreak.T; /** * Created by hd_01 on 2016/9/29. */ public class HttpResult implements Serializable { public Boolean suc; public String msg; public transient String rs; public Integer c...
package com.example.xiaox.goline2.common; /** * Created by xiaox on 1/29/2017. */ public enum RequestResult { NoResponse, Refuse, Accept }
import java.util.Iterator; import java.util.Set; import java.util.concurrent.CopyOnWriteArraySet; public class copyOnWriteSet { public static void main(String[] args) { Set<Integer> lhs = new CopyOnWriteArraySet<>(); lhs.add(88); lhs.add(188); lhs.add(288); lhs.add(388); Iterator<Inte...
package com.holmes.leecode; import java.util.Arrays; /** * @author Administrator */ public class SearchMatrix { public static void main(String[] args) { int[][] matrix = new int[][]{ {1, 4, 7, 11, 15}, {2, 5, 8, 12, 19}, {3, 6, 9, 16, 22}, ...
package com.microlecture.servlet; import java.io.IOException; import java.io.Reader; import java.util.ArrayList; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.H...
package org.tomat.translate.brooklyn.print; import org.tomat.translate.brooklyn.entity.*; import org.yaml.snakeyaml.DumperOptions; import org.yaml.snakeyaml.Yaml; import org.yaml.snakeyaml.nodes.Tag; import org.yaml.snakeyaml.representer.Representer; import java.io.FileWriter; import java.io.IOException; import java....
package com.leyou.user.controller; import com.leyou.user.pojo.User; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.http.ResponseEntity; import org.springframew...
import javax.swing.DefaultComboBoxModel; import javax.swing.Icon; import javax.swing.ImageIcon; /* * 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. */ /** * * @author PhongFPT */ publi...
package com.example.tmnt.draganddraw; import android.support.v4.app.Fragment; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import java.text.SimpleDateFormat; public class DragandDrawActivity extends SimpleFragmentActivity { ...
package edu.metrostate.ics372.thatgroup.clinicaltrial.android.catalog; import static org.junit.Assert.*; import edu.metrostate.ics372.thatgroup.clinicaltrial.beans.Temp; import edu.metrostate.ics372.thatgroup.clinicaltrial.beans.UnitValue; import java.time.LocalDateTime; import org.junit.Test; /** * @author That Gro...
package by.epam.concexamples.synchronizer.cyclicbarier; import java.util.concurrent.BrokenBarrierException; import java.util.concurrent.CyclicBarrier; /** * Created by Alex on 21.10.2016. */ public class Car extends Thread { private String pilotName; private CyclicBarrier cyclicBarrier; public Car(Stri...
package viper.ui.watermark; import javax.swing.table.AbstractTableModel; import javax.swing.table.TableColumn; public class WatermarkTableModel extends AbstractTableModel { private String[] columnNames = {"Filename"}; private Object[][] data = {{"Filename"}}; private TableColumn column = null; public WatermarkT...
package day3_variables_dataTypes; public class VariableDeclarion { public static void main(String[] args) { // decleration byte inches; int speed; short month; float salesComission; double distance; //assigned inches=5; speed=20; month=2; distance=20.2; salesComission=5; //Declared+As...
/** * @(#) GenerateTxChannelSql.java * module : CodeGenerator * version : 版本管理系统中的文件版本 * date : 2012-3-23 * name : nilomiao */ package com.allinpay.generator.sql; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import org.apache.poi.hssf.user...
/* * Copyright (c) 2016 Mobvoi 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...
package org.dahotre.stockmonkey.model; import java.util.Date; /** * POJO for event */ public class LambdaEvent { String id; String account; String region; Date time; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getAccount() { retu...
package com.ken.backend.repository; import com.ken.backend.entity.Customer; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import java.time.LocalDateTime; import java.util.Date; import static org.junit.jup...
import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Label; import javax.swing.JOptionPane; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Text; import org.eclipse.wb.swt.SWTResourceManager; import org.eclipse.swt.widgets.Combo; import org.eclip...
package com.kodilla.hibernate.invoice.dao; import com.kodilla.hibernate.invoice.Invoice; import com.kodilla.hibernate.invoice.Item; import com.kodilla.hibernate.invoice.Product; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowire...
package com.komaxx.komaxx_gl.texturing; import android.graphics.Bitmap; import android.graphics.Rect; import com.komaxx.komaxx_gl.MipMapBitmaps; /** * A TextureStrip is a texture that is automatically split up in * separate rectangle chunks. Contains also logic to manage these * "segments". * * @author Matthi...
/** * */ package com.faac.occupancy.model; /** * @author nneikov * */ public class Occupancy { private String parkingId; private int totalPlaces; private int freeSpaces; private String companyName; public Occupancy() { } public Occupancy(String parkingId, int totalPlaces, int freeS...
package com.codependent.mutualauth; /** * Created by e076103 on 21-08-2018. */ public class CustomException extends RuntimeException { public CustomException() { super(); } public CustomException(String message) { super(message); } }
package org.hov.serviceimpl; import org.hov.dao.TeamDAO; import org.hov.model.Team; import org.hov.service.TeamService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public class TeamServiceImpl implements TeamService { @Autowired TeamDAO team...
package KidneyExchange; // Enumerate list of possible kidney types public enum KidneyType { A, B, C, D }
import java.awt.*; import java.awt.geom.*; import java.awt.geom.Ellipse2D.Double; import javax.swing.*; public class ColorFrame implements Icon{ private int width; private Color color; public ColorFrame(int width) { this.width = width; this.color = Color.red; } public ColorFrame(int width, Color c) { th...
package eu.lsem.bakalarka.webfrontend.extensions.typeconverters; import eu.lsem.bakalarka.dao.categories.CategoryDao; import eu.lsem.bakalarka.dao.TagsDao; import eu.lsem.bakalarka.model.Tag; import net.sourceforge.stripes.integration.spring.SpringBean; import net.sourceforge.stripes.validation.TypeConverter; i...
package nl.tim.aoc.day9; import nl.tim.aoc.Challenge; import nl.tim.aoc.Main; import java.util.*; public class Day9Challenge1 extends Challenge { private int players; protected int end; private LinkedList<Integer> game; private HashMap<Integer, Long> score; @Override public void prepare() { ...
package com.pangpang6.utils.concurrent; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; /** * Created by jiangjg on 2017/5/27. */ public class ListConcurrent { public static void main(String[] args) { List<String> list = new CopyOnWriteArrayList<>(); list.ad...
package br.com.acme.tasklist.controller; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.List; import java.util.Optional; import org.junit.jupiter.api.BeforeEach; ...
package org.cheng.login.activity; import android.content.ClipboardManager; import android.content.Context; import android.os.Bundle; import android.app.Activity; import android.view.View; import android.widget.ImageView; import android.widget.RelativeLayout; import android.widget.TextView; import android.widget.Toast;...
package com.tencent.mm.plugin.appbrand.widget; import android.annotation.SuppressLint; import android.content.Context; import android.widget.TextView; import android.widget.TextView.BufferType; import com.tencent.mm.plugin.appbrand.jsapi.base.e; import com.tencent.mm.plugin.appbrand.widget.g.a; @SuppressLint({"AppCom...
/** * @ClassName: MessageHandleServiceImpl * @Description: TODO * @author: cc * @date: 2018年8月18日 上午11:48:28 * */ package cc.feefox.wechat.message.service.impl; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; i...
package com.jaxrs.calcApp; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.core.MediaType; import javax.ws.rs.Produces; @Path("calc") public class RestCalculator { @GET @Path("/addition/{a}/{b}") @Produces(MediaType.TEXT_PLAIN) public String addPlainText(@PathPar...
package pe.egcc.controller; import java.util.ArrayList; import java.util.List; import java.util.Map; import pe.egcc.eureka.service.PartidaService; public class ListaRegistros { public List<Map<String, ?>> getItems() { // Proceso PartidaService partidaService; partidaService = new PartidaService(); List<Ma...
package com.tencent.mm.plugin.wear.model.e; import com.tencent.mm.ab.e; import com.tencent.mm.ab.l; import com.tencent.mm.e.b.g; import com.tencent.mm.e.c.d; import com.tencent.mm.model.au; import com.tencent.mm.plugin.wear.model.a; import com.tencent.mm.plugin.wear.model.d.c; import com.tencent.mm.protocal.c.cfe; imp...
package io.eodc.ripple.activities; import android.annotation.SuppressLint; import android.content.AsyncQueryHandler; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.database.Cursor; import android.os.Bundle; im...
package spi.movieorganizer.controller.tmdb; import spi.movieorganizer.data.collection.CollectionDM; import spi.movieorganizer.data.movie.MovieDM; public class TMDBRequestResult { public static enum TMDBRequestType { Movies, Collections; } private MovieDM movieDM; pr...
package com.jst.mapper; import java.util.List; import com.jst.model.Sys_function; /** * @author Administrator * */ public interface Sys_PermissionMapper { //通过角色查询权限 // List<Permission> selectById(int id); //查询所有权限 List<Sys_function> listAll(); // //查询菜单权限 // List<Permission> listAllById(int id...
package lotto.step3.domain; public class LottoShop { public Lotteries receiveMoney(int money) { new Money(money); return new Lotteries(money / Money.LOTTO_PRICE); } }
package dominio; import java.util.HashMap; /** * Una de las posibles razas de personajes que el jugador puede elegir La cual * posee sus propias habilidades */ public class Orco extends Personaje { /** */ private static final long serialVersionUID = 1L; private static final int ENERGIAMINIMA = 10; private s...
package com.innodox.library.controller; import com.innodox.library.dataobject.UserModel; import com.innodox.library.entity.User; import com.innodox.library.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.Res...
package com.microsilver.mrcard.basicservice.config; public class AlipayConfig { // 1.商户appid public static String APPID = "2018050860119126"; // 2.支付宝公钥 public static String ALIPAY_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnuw1rHyFT4T3kfl1I7C4REIbm1fS/Vui3fV4flthlXjBUhPAZ9gFNM66AqC7HYWAbjlKH28Pnu0Pez2iMy...
package com.example.administrator.comparision; /** * Created by Administrator on 2017/11/4. */ import android.graphics.drawable.Drawable; public class AppInfo { private Drawable image; private String appName; public AppInfo(Drawable image, String appName) { this.image = image; this.appN...
package com.demo.LogicJob.Social; import java.util.ArrayList; import java.util.Collection; import java.util.List; import com.demo.LogicJob.Entity.AppUser; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.se...
package com.union.design.common.util; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.io.IOException; import java.nio.file.Paths; import java.util.regex.Pattern; import java.util.zip.CRC32; import java.util.zip.Checksum; public class DiskUtilsTest { @Before public void se...
/* * Copyright 2009 Kjetil Valstadsve * * 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 agre...
/* * 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 repository; import javax.faces.bean.ManagedBean; import javax.faces.bean.RequestScoped; /** * * @author Elif */ @ManagedBe...
// Sun Certified Java Programmer // Chapter 6, P482 // Strings, I/O, Formatting, and Parsing import java.util.*; class Tester482 { public static void main(String[] args) { //Locale(String language) //Locale(String language, String country); Locale locPT = new Locale("it"); // It...
package com.kingcar.rent.pro.base; import rx.Subscription; /** * 基础presenter * Created by cwj */ public abstract class BasePresenter<T extends IBaseView> { protected Subscription subscription; protected T iView; public BasePresenter(T iView) { this.iView = iView; } public void relea...
package com.komaxx.komaxx_gl.scenegraph.basic_nodes; import android.opengl.Matrix; import com.komaxx.komaxx_gl.ICameraInfoProvider; import com.komaxx.komaxx_gl.RenderContext; import com.komaxx.komaxx_gl.SceneGraphContext; import com.komaxx.komaxx_gl.math.MatrixUtil; import com.komaxx.komaxx_gl.math.Vector; import com...
package application.server; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketAddress; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Has...
package com.takshine.wxcrm.domain; import com.takshine.wxcrm.model.AnalyticsModel; /** * 分析报表 * @author * */ public class Analytics extends AnalyticsModel{ private String topic; private String report; private String param1; private String param2; private String param3; private String param4; private Str...
package com.ht.springboot_vue.service; import com.ht.springboot_vue.bean.User; import java.util.List; /** * @company 宏图 * @User Kodak * @create 2019-03-11 -15:19 */ public interface UserService { public List<User> alluser(); User toupd(Integer id); String del(Integer id); bo...
/** * DNet eBusiness Suite * Copyright: 2010-2013 Nan21 Electronics SRL. All rights reserved. * Use is subject to license terms. */ package seava.ad.presenter.ext.system.service; import seava.j4e.api.service.presenter.IDsService; import seava.j4e.api.session.Session; import seava.j4e.presenter.service.ds.AbstractE...
package com.tencent.mm.plugin.sns.b; import android.database.Cursor; import java.util.ArrayList; public interface g { Cursor Lw(String str); int Lx(String str); ArrayList<Long> bwV(); void eB(long j); int eC(long j); boolean wi(int i); }
package BillApplication; import javafx.scene.layout.AnchorPane; import javafx.scene.layout.VBox; import javafx.scene.text.Text; public class BillTop extends AnchorPane{ private Text clientNameTxt, clientIceTxt, clientCityTxt; private Text billDateTxt, billIdTxt, billBcTxt, billBlTxt, billModeRglTxt; // constructo...
package com.uwetrottmann.trakt5; import com.uwetrottmann.trakt5.entities.AccessToken; import com.uwetrottmann.trakt5.entities.DeviceCode; import org.junit.Test; import retrofit2.Response; import java.io.IOException; import static org.assertj.core.api.Assertions.assertThat; /** * This test should NOT be run with th...
package com.ci.gui.button; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.util.ResourceLocation; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; impor...
package cr.ulacit.serviceImpl; import java.util.List; import javax.jws.WebService; import javax.transaction.Transactional; import org.appfuse.service.impl.GenericManagerImpl; import org.springframework.stereotype.Service; import cr.ulacit.dao.DishIngredientsDao; import cr.ulacit.model.DishIngredients; import cr.ula...
/** * */ package com.cnk.travelogix.common.facades.product.facet; import java.util.List; import com.cnk.travelogix.common.facades.product.data.BaseProductData; import com.cnk.travelogix.common.facades.product.data.CnkFacetData; import com.cnk.travelogix.common.facades.product.facet.impl.FacetToModelMapper; /** *...
package com.gmail.ivanytskyy.vitaliy.service; import java.util.List; import com.gmail.ivanytskyy.vitaliy.model.Student; /* * Service interface for controllers which need a point of entry to StudentRepository * @author Vitaliy Ivanytskyy */ public interface StudentService { Student create(Student student); Student ...
package com.zplay.playable.playableadsdemo; import android.Manifest; import android.app.Activity; import android.content.pm.PackageManager; import android.os.Build; import android.os.Bundle; import android.os.Environment; import android.os.Handler; import android.support.annotation.NonNull; import android.support.anno...
package com.tencent.d.b.f; import android.annotation.SuppressLint; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import com.tencent.d.a.c.c; import com.tencent.d.a.c.g$a; import com.tencent.d.b.b.a; class i$1 implements g$a { final /* synthetic */ i vmY; i$1(i iVa...
package com.shopping.DAO; import java.sql.SQLException; import java.util.List; import org.apache.commons.dbutils.QueryRunner; import org.apache.commons.dbutils.handlers.BeanHandler; import org.apache.commons.dbutils.handlers.BeanListHandler; import com.shopping.models.Order; import com.shopping.utils.JDBCUtils; pub...
import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import org.junit.Test; import java.nio.charset.Charset; public class ByteBufTest { @Test public void testSlice() { char a = '啊'; System.out.println(a); Charset utf8 = Charset.forName("UTF-8"); ByteBuf buf = Unpoo...
package zm.gov.moh.common.submodule.form.widget; public class TextAreaWidget { }
package com.company; public class Main { public static void main(String[] args) { int hightScore = 50; if(hightScore ==50){ System.out.println("this is an expression"); } } }
package garcia.juan.reto.qvision.questions; import garcia.juan.reto.qvision.model.DatosReservaModel; import net.serenitybdd.screenplay.Actor; import net.serenitybdd.screenplay.Question; import net.serenitybdd.screenplay.questions.Text; import java.util.List; import static garcia.juan.reto.qvision.userinterface.Resum...
/* * Copyright 2011-2021 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 ru.startandroid.places.events; public class Events { public static Event startSearch() { return createEvent(EventType.SEARCH_STARTED); } public static Event finishSearch() { return createEvent(EventType.SEARCH_FINISHED); } private static Event createEvent(int type) { ...
package com.senon.leanstoragedemo.activity; import android.content.Intent; import android.support.v7.widget.LinearLayoutManager; import android.view.View; import android.widget.TextView; import com.avos.avoscloud.AVException; import com.avos.avoscloud.AVObject; import com.avos.avoscloud.AVQuery; import com.avos.avoscl...