text
stringlengths
10
2.72M
package com.blog.util; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; import org.hibernate.boot.registry.StandardServiceRegistry; import org.hibernate.boot.registry.StandardServiceRegistryBuilder; public class HibernateSessionFactory { //引入sessionFactor...
package GUI; import Controller.HelperObjects.RegistrarFacilityDBEntry; import Controller.HelperObjects.RegistrarUserDBEntry; import Controller.RegistrarController; import javafx.application.Platform; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXML; import java...
package com.Igor.SpringMPS; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; public class SpringMPSServiceServletInitializer extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder co...
package com.hit.neuruimall.controller; import com.hit.neuruimall.model.UserModel; import com.hit.neuruimall.service.IUserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.format.annotation.DateTimeFormat; import org.springframework.stereotype.Controller; import org.spri...
package com.example.mrlago.myapplicationone; import android.content.Intent; import android.database.Cursor; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class Alter...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package it.geosolutions.fra2015.services.rest.exception; import javax.ws.rs.core.Response; /** * * @author marco */ public class IllegalAccessWebExpection extends Fra2015WebEx { public IllegalAccessWebExpection...
/* * created 03.04.2005 * * $Id: TableTreeEditPart.java 3 2005-11-02 03:04:20Z csell $ */ package com.byterefinery.rmbench.editparts; import org.eclipse.gef.editparts.AbstractTreeEditPart; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.swt.graphics.Image; import org.eclipse.ui.plugin.Abstra...
package com.fuxinyu.service.login; import com.fuxinyu.domain.UserLogin; /** * @author: fuxinyu * Date: 2019/9/30 * Time: 9:40 * Description: */ public interface IUserLoginService { int deleteByPrimaryKey(Integer id); int insert(UserLogin record); int insertSelective(UserLogin record); UserLogi...
package com.pangpang6.utils; import org.apache.commons.codec.binary.Base64; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; /** * Created by jiangjg on 2017/4/11. */ public class Base64Utils { public static void main(String[] args) throws UnsupportedEncodingException { ...
package org.henix.workshop.qlearn.impl; import org.henix.workshop.qlearn.concepts.*; import java.util.*; /* Matrix-based implementation of Grid */ public class MatrixGrid implements Grid { public static final int MAX_MOVE_CNT = Grid.SIZE_X * Grid.SIZE_Y; private final CellState state[][]; int _mo...
package com.klg.newpolice.ui.comment; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.view.View; import com.klg.newpolice.R; import com.klg.newpolice.util.ActivityUtils; public class CommentActivity extends AppCompatActivity { p...
package vista; import javax.swing.*; import org.math.plot.Plot2DPanel; import javax.swing.JComboBox; import javax.swing.DefaultComboBoxModel; import javax.swing.JPanel; import javax.swing.border.LineBorder; import java.awt.Color; import javax.swing.JTextField; import java.awt.Button; import java.awt.event.ActionLi...
package com.coutomariel.prime.bean; import java.io.Serializable; import java.util.List; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import javax.persistence.EntityManager; import javax.persistence.Query; import com.coutomariel.prime.model.Usuario; import com.coutomariel.prime.util.JPAUti...
package com.bvan.javastart.lessons1_2; /** * @author bvanchuhov */ public class TypeCasting { public static void main(String[] args) { int x = 200; byte b = (byte) x; System.out.println(b); // -56 } }
package spacely.fireit.MyObjects; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Preferences; import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.math.Vector3; import...
package net.youzule.java.http.file.utils.excel; /** * @param <E> * @Title: ExcelDataCell.java * @Description: * @author:zhaodahai * @date 2018年9月19日 下午4:20:40 */ public class ExcelDataCell extends ExcelCell { private Object value;//数据的值 public ExcelDataCell (String type) { this.setType(type); } public ...
package view; public class CollectionView { private ClientMainView generalView; private F1CreateNewPersonView f1CreateNewPersonView1; private F2ListPersonsView f2ListPersonsView; private F3SavePersonsView f3SavePersonsView; private F4DownloadPersonsView f4DownloadPersonsView; private F5SortPersonsInMemoryView f5...
package acwing.背包问题; import java.util.Scanner; public class 背包问题01_2 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt();//物品的数量 int m = sc.nextInt();//背包的容积 int[] v = new int[n + 1]; int[] w = new int[n + 1]; for (i...
package com.duanxr.yith.easy; /** * @author 段然 2021/5/21 */ public class CheckIfANumberIsMajorityElementInASortedArray { /** * Given an array nums sorted in non-decreasing order, and a number target, return True if and only if target is a majority element. * * A majority element is an element that appear...
// ================================ // POO JAVA - IMAC 2 - ANIK Myriam // TP 1 - Exo 04 // Pour (dé)commenter un bloc : Cmd+Shift+/ ou Ctrl + Shift + / // ================================ import java.lang.Integer; import java.util.*; public class Sum { public static int[] charTointArray(String[] strAr) ...
package com.rivierasoft.palestinianuniversitiesguide.Adapters; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.cardview.widget.CardView; import androidx.rec...
package gem.java; public class PackDemo{ int a=2; public static void main(String [] args){ System.out.println("hello package"); } }
package sixkyu.spinwords; import java.util.Arrays; import java.util.stream.Collectors; public class SpinWords { private static final int LETTER_LIMIT_FOR_REVERSE = 5; private static final String DELIMITER = " "; public String spinWords(String sentence) { return Arrays.stream(sentence.split(DELIMI...
package ru.gadjets.comppartapp.dao.utils; public class Pager { private int page; private int rowPerPage; private int countRows; private int countPage; public Pager(int page) { this.page = page; rowPerPage = 10; } public void setRowPerPage(int rowPerPage) { this.row...
package org.gmart.devtools.java.serdes.codeGenExample.featuresTestExample.generatedFiles; import java.lang.String; import javax.annotation.processing.Generated; import org.gmart.devtools.java.serdes.codeGen.javaGen.model.EnumSpecification; @Generated("") public enum SchemaType implements EnumSpecification.EnumValueF...
package pl.java.scalatech.jms; import javax.jms.Message; import javax.jms.MessageListener; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.transaction.annotation.Transactional; /** * @author przodownik * Module name : jmsSpringKat...
package lv.ctco.seabattle.web.servlets; import lv.ctco.seabattle.game.User; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException;...
package decision; import platform.Agent; import sensorySystem.LightSensor; public class Braitenberg extends Decision{ public Braitenberg(Agent a){ super(a); } // define the list of sensors needed for this decision system public void defineSensors(){ } // get the interaction to enact public double[] ...
package quizzlr.backend.UnitTests; import org.junit.*; import quizzlr.backend.*; public class AchievementTest { @Test public void achievementTest() { /* * TODO: something like: * User.addAchievement(new SomethingAchievement()); * verify that SomethingAchievement is part of users's achievements...
package com.trs.om.bean; public class Possession { private Long id; private String possessionName; private UserGroup userGroup; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public void setPossessionName(String possessionName) { this.possessionName = possessionName; }...
/* * [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 ter...
/** * DNet eBusiness Suite * Copyright: 2010-2013 Nan21 Electronics SRL. All rights reserved. * Use is subject to license terms. */ package net.nan21.dnet.module.bd.business.impl.attr; import java.util.List; import javax.persistence.EntityManager; import net.nan21.dnet.core.api.session.Session; import ne...
package ch.springcloud.lite.core.model; import java.util.List; import lombok.Data; @Data public class CloudClientSnapshot { CloudServerSnapshot self; List<CloudServerSnapshot> servers; int version; }
package manager; import hibernate.HibernateUtil; import java.util.ArrayList; import java.util.List; import model.Product; import org.hibernate.criterion.DetachedCriteria; public class ProductManager { // a. Product class method: C R U D public static ArrayList<Product> getAllProducts() { ArrayList<Product> pro...
package com.cpz.Demo13; import java.util.ArrayList; import java.util.Collections; public class DouDiZhu { public static void main(String[] args) { ArrayList<String> pokei = new ArrayList<>(); pokei.add("大王"); pokei.add("小王"); String[] colos = {"♠","♣","♥","♦"}; String[] num...
package com.beiyelin.commonwx.common.http; import com.beiyelin.commonwx.common.http.apache.ApacheHttpClientSimpleGetRequestExecutor; public abstract class SimpleGetRequestExecutor<H, P> implements RequestExecutor<String, String> { protected RequestHttp<H, P> requestHttp; public SimpleGetRequestExecutor(Reque...
package es.uma.sportjump.sjs.web.ajax; import java.util.Date; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.EmptyResultDataAccessException; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Controller; import org.sp...
package com.tencent.mm.plugin.messenger.foundation.a; import com.tencent.mm.storage.bd; @Deprecated public interface k { String I(bd bdVar); }
package com.github.emailtohl.integration.core.role; import java.util.List; import javax.transaction.Transactional; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import com.github.emailtohl.lib.jpa.QueryInterface; /** * 访问角色的自定义接口 * @author HeLei */ ...
package apitests; import static org.junit.Assert.*; import java.io.IOException; import org.codehaus.jackson.JsonProcessingException; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jettison.json.JSONArray; import org.codehaus.jettison.json.JSONException; import org.codehaus.jettison.json....
package com.tencent.mm.plugin.remittance.bankcard.ui; import android.widget.AbsListView; import android.widget.AbsListView.OnScrollListener; class BankRemitHistoryUI$2 implements OnScrollListener { final /* synthetic */ BankRemitHistoryUI mvI; BankRemitHistoryUI$2(BankRemitHistoryUI bankRemitHistoryUI) { ...
package thsst.calvis.simulatorvisualizer.animation.instruction.gp; import thsst.calvis.configuration.model.engine.Calculator; import thsst.calvis.configuration.model.engine.Memory; import thsst.calvis.configuration.model.engine.RegisterList; import thsst.calvis.configuration.model.engine.Token; import javafx.collectio...
/* * LumaQQ - Java QQ Client * * Copyright (C) 2004 luma <stubma@163.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any lat...
package com.tuitaking.point2offer; /** * 数组中有一个数字出现的次数超过数组长度的一半,请找出这个数字。 * 你可以假设数组是非空的,并且给定的数组总是存在多数元素。 * 示例1: * 输入: [1, 2, 3, 2, 2, 2, 5, 4, 2] * 输出: 2 * 来源:力扣(LeetCode) * 链接:https://leetcode-cn.com/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof * 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。 */ p...
package com.dpka.Service; import com.dpka.Dao.UserDao; import com.dpka.Entity.User; import com.dpka.Model.UserPojo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.transaction.Transactional; @Service @Transactional public class UserServiceImp...
package com.tencent.mm.plugin.appbrand.jsapi.file; public final class s extends c<ao> { private static final int CTRL_INDEX = -1; private static final String NAME = "isdirSync"; public s() { super(new ao()); } }
package ai.boundless.reward.particle.initializers; import java.util.Random; import ai.boundless.reward.particle.Particle; /** * The type Xy acceleration initializer. */ public class XyAccelerationInitializer implements ParticleInitializer { private float mXValue; private float mYValue; /** * Instantiate...
public class TestStacktrace{ public static void main(String[] args){ test(); } static void test(){ try{ StackTraceElement[] elems = Thread.currentThread().getStackTrace(); System.out.println(java.util.Arrays.toString(elems)); }catch(Exception e){} } }
package com.tianlang.controller; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.PrintWriter; public class TwoServl...
package pl.edu.wat.wcy.pz.project.server.rabbit; import lombok.AllArgsConstructor; import lombok.NoArgsConstructor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.amqp.AmqpException; import org.springframework.amqp.core.AmqpTemplate; import org.springframework.beans.factory.annotat...
package mk.ukim.finki.os.synchronization.juni17; import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.concurrent.Semaphore; public class Scheduler { public static Random random = new Random(); static List<Process> scheduled = new ArrayList<>(); public static Semaph...
package com.kh.member.model.dao; <<<<<<< HEAD public class MemberDao { ======= import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import com.kh.common.JDBCTemplate; <<<<<<< HEAD ======= import com.kh.member.model.vo....
package com.example.comprale; import android.content.Context; import android.content.Intent; import android.os.Bundle; import androidx.fragment.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.Button; i...
package pers.pbyang.impl; import java.sql.Connection; import java.sql.ResultSet; import java.util.ArrayList; import java.util.List; import pers.pbyang.dao.TextInfoDao; import pers.pbyang.entity.TextInfo; public class TextInfoDaoImpl implements TextInfoDao { private Connection conn = null; private java.sql.PreparedS...
package com.gtfs.action; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.faces.application.FacesMessage; import javax.faces.context.FacesContext; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import o...
package mdpm.oscar; import static org.junit.Assert.*; import org.junit.Test; public class DatatypeTest extends SqlParserTest { @Test public void parseCharacterDatatypes() { parse("char").datatype(); parse("char(1)").datatype(); parse("char(1 char)").datatype(); parse("char(1 byte)").datatype(); ...
/* given an array of numbers and a value 'k', find the pairs in the array whose sum = k Eg: a[] = 1, 2, 3, 4, 5, 6 k = 6 pairs: [2,4], [3,3]*/ import java.util.*; class TestClass { public static void main(String args[] ) throws Exception { Scanner sc = new Scanner(System.in); String str = sc.nextLi...
package xyz.maksimenko.iqbuzztt.service; import java.util.List; import xyz.maksimenko.iqbuzztt.Place; public interface PlaceService { public List<Place> getPlaces(long movieId); }
package plp.orientadaObjetos3; import plp.expressions2.memory.VariavelJaDeclaradaException; import plp.expressions2.memory.VariavelNaoDeclaradaException; import plp.orientadaObjetos1.comando.Comando; import plp.orientadaObjetos1.excecao.declaracao.ClasseJaDeclaradaException; import plp.orientadaObjetos1.excecao.declar...
package com.lrs.admin.es.dao; import java.util.Map; import com.lrs.admin.plugin.Page; import com.lrs.admin.util.ParameterMap; public interface Dao { public String save(ParameterMap pm,String index,String type); public int update(ParameterMap pm,String index,String type); public int deltele(String id,String index...
package 자바기본; import java.util.ArrayList; import java.util.Scanner; public class 기본입출력8 { public static void main(String[] args) { // 시작할 값 입력, 종료할 값 입력 // 5의 배수만 더해서 출력 Scanner sc = new Scanner(System.in); System.out.print("시작값 "); int start = sc.nextInt(); System.out.print("종료값 "); int end = sc.nex...
package layout; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import edu.cnm.deepdive.navdrawerfragments.R; public class AlternateFragment extends Fragment { private Navi...
package com.takshine.wxcrm.service.impl; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import net.sf.json.JSONArray; import net.sf.json.JSONObject; import org.apache.log4j.Logger;...
package com.example.healthmanage.ui.activity.qualification; import android.content.Intent; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.view.View; import androidx.lifecycle.Observer; import androidx.recyclerview.widget.LinearLayoutManager; import com.chad.li...
package lildoop.mapReduce.client; import java.io.IOException; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; public class Messenger { private static final String MASTER_ADDRESS = "http://localhost:8080/LilDoop/restful"; private static ...
package com.theksmith.steeringwheelinterface; import com.theksmith.steeringwheelinterface.R; import android.app.Activity; import android.os.Bundle; import android.preference.Preference; import android.preference.Preference.OnPreferenceChangeListener; import android.preference.Preference.OnPreferenceClickListener; imp...
package com.hackaton.compgenblockdocs.repository; import com.hackaton.compgenblockdocs.model.UserModel; import org.springframework.data.mongodb.repository.MongoRepository; public interface UserRepository extends MongoRepository<UserModel, String> { }
package io.github.Theray070696.raycore.network; import io.github.Theray070696.raycore.RayCore; import io.netty.buffer.ByteBuf; import net.minecraft.client.Minecraft; import net.minecraft.util.ResourceLocation; import net.minecraft.util.SoundEvent; import net.minecraftforge.fml.common.network.ByteBufUtils; import net.m...
package com.company.task_003; /** * Created on 18.12.2019 10:50. * * @author Aleks Sidorenko (e-mail: alek.sidorenko@gmail.com). * @version Id$. * @since 0.1. */ public class Test { @Save public int a; @Save private String b; public long c; public int getA() { return a; } publi...
import java.net.*; import java.io.*; class ServerSide { public static void main(String args[]) throws Exception { int choice,a,b,c=0; ServerSocket ss=new ServerSocket(1024); Socket s=ss.accept(); BufferedReader br=new BufferedReader(new InputStreamReader(s.getInputStream())); choice=Integer.parseInt(br.readLine...
public class ComedianInfo { protected Comedian comedianData; protected int videoCount; protected String comedianName; ComedianInfo(){}; ComedianInfo(Comedian comedian, int videoCount){ this.comedianData = comedian; this.videoCount = videoCount; this.comedianName = comedianData.getFirstName() + " " + com...
package com.dbc.ubiquity.Constant; public class Str { public static final String ACCOUNT_ERROR = "账户不存在"; public static final String PWD_ERROR = "账户不存在"; }
package com.tencent.mm.g.a; public final class ni$a { public String appId; public String bYo; public String byT; public String mediaTagName; }
package customer.gajamove.com.gajamove_customer.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import java.util.List; import customer.gajamove.com.gajamove_custome...
package com.debie.model;
import java.text.SimpleDateFormat; import com.rabbitmq.client.Channel; public class Globals { public static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); public static final String QUEUE_NAME = "publisher"; public static int id; public static Channel channel; }
package utils; public class ProductCount{ private Integer productCount; public ProductCount(){ } public ProductCount(Integer productCount){ this.productCount = productCount; } }
package com.tencent.mm.protocal; import com.tencent.mm.protocal.c.g; public class c$cf extends g { public c$cf() { super("getLatestAddress", "get_recently_used_address", 46, true); } }
package com.shaoye.controller; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controll...
/* * [y] hybris Platform * * Copyright (c) 2000-2016 SAP SE * All rights reserved. * * This software is the confidential and proprietary information of SAP * Hybris ("Confidential Information"). You shall not disclose such * Confidential Information and shall use it only in accordance with the * terms of the l...
package org.km.common.domain; import java.sql.Date; import java.text.SimpleDateFormat; import java.util.Calendar; public class MfDate { private java.util.Date date; public MfDate(){ date = new java.util.Date(); } public MfDate(Date date) { this.date = new Date(date.getTime()); } public Date toSqlDate() ...
package com.yulikexuan.organization.api.v1.controllers; import com.yulikexuan.organization.api.v1.model.IOrganizationMapper; import com.yulikexuan.organization.api.v1.model.OrganizationDTO; import com.yulikexuan.organization.config.IServiceConfig; import com.yulikexuan.organization.services.IOrganizationService; impo...
package com.api; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestCont...
/* * Copyright (C) 2015 Miquel Sas * * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is dis...
package com.abst; public class Ham extends Sandwich { int calorie = 290; int sugar = 8; int protein = 18; int fat = 1; int natrium = 800; @Override void make() { System.out.println("Add 4 Ham slice!"); System.out.println("Add 2 cheeze!"); System.out.println("Add mayo score!"); System.out.println("Wel...
package Classes; import java.util.Comparator; import java.util.Scanner; import java.util.Set; import java.util.TreeSet; public class Schedule { private Set<Seance> set; public Schedule() { this.set =new TreeSet<>(); } public Set<Seance> getSet() { return set; } public void addSean...
package models; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.OneToOne; import play.db.jpa.Model; @Entity public class Item extends Model { private int quantity; private float tax; @OneToOne(cascade=CascadeType.ALL) public Product product; public Item(Produ...
package com.tt.miniapp.util; import android.content.Context; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Matrix; import android.graphics.Rect; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Dr...
package com.vrktech.springboot.gitactivities.entities; import java.io.Serializable; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.JoinColumn; import...
package Deck; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.util.ArrayList; import java.util.Arrays; public class Deck implements Externalizable { static ArrayList<String> rates = new ArrayList<>(); static ArrayList<Card> cards ...
package com.rishi.baldawa.iq; import org.junit.Test; import java.util.Arrays; import static org.junit.Assert.assertEquals; public class PascalTriangleGenerateTest { @Test public void generateTriangle() throws Exception { assertEquals(new PascalTriangleGenerate().solution(5), Arrays.asList( ...
package com.niit.ShoppingCart; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.validation.BindingResult; import org.springframework.web.bind.annotation.ModelAttribute; import org.springfr...
package com.zhouyi.business.core.model; import java.io.Serializable; import java.util.Date; /** * 订单信息 * * */ public class PayOrderInfo implements Serializable{ /** * */ private static final long serialVersionUID = 1L; private Long id; private String checkRemark; private Integer totalBalance; priva...
package com.zhouyi.business.core.model; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.Date; /** * @author 李秸康 * @ClassNmae: SysUserRoleDto * @Description: TODO 封装用户角色模型 * @date 2019/8/8 16:09 * @Version 1.0 **/ @Data @ApiModel("角色模型...
public class ChuckleClickerRunner { public static void main(String[] args) { ChuckleClicker CC=new ChuckleClicker(); CC.makeButtons(); } }
package com.pybeta.daymatter.ui; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Collections; import java.util.Date; import java.util.List; import java.util.Locale; import android.content.Context; import android.os.Bundle; import android.support.v4.app.LoaderManager.LoaderCa...
package com.e6soft.bpm.dao.impl; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; import com.e6soft.core.mybatis.BaseEntityDao; import com.e6soft.core.mybatis.Query; import com.e6s...
package com.haibo.mapper; import com.haibo.pojo.Score; import org.apache.ibatis.annotations.Param; /** * Created with IDEA. * User:haibo. * DATE:2018/4/25/025 */ public interface ScoreMapper { //用户成绩查询根据idcard查询 public String queryChengji( @Param("s_useridcard") String s_useridcard); // ...
/* * Copyright (C) 2021-2023 Hedera Hashgraph, LLC * * 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 applicab...
package Manufacturing.Ingredient; import Presentation.Protocol.IOManager; /** * 基础原料,指只有一种内含物的原料 * <b>作为 Composite模式 的一部分</b> * * @author 卓正一 */ public abstract class BaseIngredient implements Ingredient { @Override public String showContents() { return IOManager.getInstance().selectStringForCur...