text
stringlengths
10
2.72M
package com.ak.texasholdem.player; public class User { private String nickname; private String userName; private String password; private int id; private int cash; public User() { } public User(String nickname, String userName, String password, int cash) { super(); this.nickname = nickname; th...
package com.example.dialogueapp; import androidx.appcompat.app.ActionBarDrawerToggle; import androidx.appcompat.app.AppCompatActivity; import androidx.drawerlayout.widget.DrawerLayout; import androidx.navigation.NavController; import androidx.navigation.Navigation; import androidx.navigation.ui.NavigationUI; import a...
/** * 湖北安式软件有限公司 * Hubei Anssy Software Co., Ltd. * FILENAME : SiteTypeCacheServer.java * PACKAGE : com.anssy.venturebar.base.server * CREATE DATE : 2016-8-24 * AUTHOR : make it * MODIFIED BY : * DESCRIPTION : */ package com.anssy.venturebar.base.server; import com.anssy.venturebar.base....
package net.imglib2.trainable_segmention.pixel_feature.calculator; import ij.ImagePlus; import net.imglib2.RandomAccessibleInterval; import net.imglib2.img.Img; import net.imglib2.img.display.imagej.ImageJFunctions; import net.imglib2.trainable_segmention.RevampUtils; import net.imglib2.trainable_segmention.Utils; im...
package com.wen.test.model; import lombok.Data; import java.io.Serializable; import java.util.Date; import java.util.List; @Data public class Users implements Serializable { private String username; private Integer age; private Date birthday; }
package me.draimgoose.draimmenu.commandtags.tags.other; import me.draimgoose.draimmenu.DraimMenu; import me.draimgoose.draimmenu.api.GUI; import me.draimgoose.draimmenu.commandtags.CommandTagEvent; import me.draimgoose.draimmenu.openguimanager.GUIPosition; import org.apache.commons.lang.ArrayUtils; import org.bukkit.B...
package encapsule; /** * @file_name : Pay.java * @author : dingo44kr@gmail.com * @date : 2015. 9. 23. * @story : 월급에 따른 세금 구하기 */ public class PayMain { //멤버 필드 private final double TAX_RATE = 0.097; // 상수 private int salary; // 인스턴스 (의) 변수 private String name; private int ta...
package com.wxt.designpattern.iterator.test01.withdp; /** * @Author: weixiaotao * @ClassName Iterator * @Date: 2018/12/3 19:22 * @Description: 迭代器接口,定义访问和遍历元素的操作 */ public interface Iterator { /** * 移动到聚合对象的第一个位置 */ void first(); /** * 移动到聚合对象的下一个位置 */ void next(); /** * 判断是否已经移动聚合对象的最后一个位置 * @re...
package com.spring.minjun.board.service; import java.util.List; import com.spring.minjun.board.model.BoardVO; import com.spring.minjun.board.model.SearchVO; public interface IBoardService { void insert(BoardVO article); //r BoardVO getArticle(Integer boardNo); //u void update(BoardVO article); //d void del...
package com.services; import com.dao.UserDao; import com.dao.UserDaoImpl; import com.model.User; import java.util.List; public class UserService { public boolean validateDetails(User user) { String username = user.getUsername(); String password = user.getPassword(); if (username != nul...
/** * Created with IntelliJ IDEA. * User: daixing * Date: 12-12-29 * Time: 下午8:35 * To change this template use File | Settings | File Templates. */ public class DenseGraphPrimMST { private EdgeWeightedGraph G; private Edge[] edgeTo; private double[] disTo; private Queue<Edge> mst; private boo...
package com.studentalert.cses6; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.design.widget.CollapsingToolbarLayout; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.NavigationView; import android.support.v...
package me.msce; import com.sun.org.apache.xpath.internal.operations.Bool; import org.bukkit.Material; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public enum ItemToEnchant { WOOD_PICKAXE, WOOD_AXE, WOOD_HOE, WOOD_SPADE, STONE_PICKAXE, STONE_AXE, STONE_HOE, STONE_SPADE, IRON_...
package enums; public enum ServiceOptions { SUPPORT("Support"), DATES("Dates"), COMPLEX_TABLE("Complex Table"), SIMPLE_TABLE("Simple Table"), TABLE_WITH_PAGES("Table with pages"), DIFFERENT_ELEMENTS("Different elements"); public String option; ServiceOptions(String option) { t...
package com.junzhao.shanfen.activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.WindowManager; import android.widget.PopupWindow; import com.junzhao.base.base.APPCache; import com.junzhao.base.base.BaseAct; import com.junzhao.base.http.IHttpResultSuccess; i...
/** * Copyright (c) 2012 Vasile Popescu (elisescu@gmail.com) * * This source file CANNOT be distributed and/or modified without prior written * consent of the author. **/ package com.hmc.project.hmc.ui.hmcserver; import org.jivesoftware.smack.XMPPException; import org.jivesoftware.smack.util.StringUtils; import...
package carnero.movement.common.model; public class Movement { public MovementEnum type; public long timestamp; // ms public long startElapsed; // ns public long endElapsed; // ns public Movement() { // empty } public Movement(MovementEnum type, long timestamp, long startElapsed)...
package com.healthyteam.android.healthylifers; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Base...
package oopCourses.doctor; import static oopCourses.doctor.Specialization.CARDIOLOGIST; import static oopCourses.doctor.Specialization.DERMATOLOGIST; public class DoctorRunner { public static void main(String[] args) { Doctors allDoctors=new Doctors(); CityDistrict pechersky = new CityDistrict("...
/* * Tigase XMPP Client Library * Copyright (C) 2006-2012 "Bartosz Małkowski" <bartosz.malkowski@tigase.org> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3...
package com.example.dbdemo; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import android.app.Activity; import android.content.Intent; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.util.Log; import android.view.View; import ...
package gui.comp; import java.awt.Font; import javax.swing.JProgressBar; import javax.swing.SwingUtilities; /** A thread-safe extension of JProgressBar. */ public class ProgressBar extends JProgressBar { public ProgressBar() { super (0, 100); setFont (new Font ("Arial", Font.BOLD, 12...
package com.example.android.projectserver007; import android.annotation.TargetApi; import android.app.IntentService; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Con...
package com.gbase.streamql.hive; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import java.util.ArrayList; import java.util.HashMap; public class StreamRelation { private ArrayList<String> begin = new ArrayList<String>(); private ArrayList<String> end = new ArrayList<String...
package kredivation.mrchai.activity; import android.graphics.drawable.LayerDrawable; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.Toolbar; import android.v...
package com.dinh.customdate.ui.categorydetail; import androidx.recyclerview.widget.RecyclerView; public interface CategoryDetailViewCallback { int computeVerticalScrollRange(RecyclerView.State state); }
package datastructures.graphs; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Stack; public class TopologicalSort { public static List<GraphNode> topologicalSort(GraphNode[] nodes) { int no_of_nodes = nodes.length - 1; HashSet<Integer> visitedMap = ...
package com.fun.driven.development.fun.unified.payments.gateway.util; import io.github.jhipster.config.JHipsterConstants; import org.apache.commons.validator.routines.checkdigit.CheckDigitException; import org.apache.commons.validator.routines.checkdigit.LuhnCheckDigit; import org.slf4j.Logger; import org.slf4j.Logger...
package cn.chay.filters.pre; import com.netflix.zuul.ZuulFilter; import com.netflix.zuul.context.RequestContext; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.cloud.netflix.zuul.filters.support.FilterConstants; import javax.servlet.http.HttpServletRequest; public class PreReques...
package de.niklaskiefer.bnclCore.parser; import de.niklaskiefer.bnclCore.BPMNModelBuilder; import org.camunda.bpm.model.bpmn.instance.EventBasedGateway; import org.camunda.bpm.model.bpmn.instance.ExclusiveGateway; import org.camunda.bpm.model.bpmn.instance.Gateway; import org.camunda.bpm.model.bpmn.instance.Inclusive...
package com.cit360projectmark4.controller; import com.cit360projectmark4.dao.BaseDao; import com.cit360projectmark4.dao.BaseDaoImpl; import com.cit360projectmark4.pojo.UsersEntity; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.Http...
package com.turios.settings.modules; import javax.inject.Inject; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.OnSharedPreferenceChangeListener; import android.os.Bundle; import android.preference.Preference; import android.preference.Prefe...
package nxpense.helper.serialization; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.SerializerProvider; import org.joda.time.LocalDate; import java.io.IOException; public class CustomLocalDateSerializer extends JsonSeriali...
package com.example.zyadzakaria.wev; 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.ArrayList; /** * Created by zyadzakaria on 12/4/16. */ public class M...
package eyeq.broiler.entity.passive; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityAgeable; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.EntityAIFollowParent; import net.minecraft.entity.ai.EntityAILookIdle; im...
package model; import javax.persistence.*; import javax.validation.constraints.NotNull; /** * Created by greenlucky on 6/3/17. */ @Entity public class Book { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; @NotNull private String name; private String description; ...
package com.staniul.util; import org.joda.time.LocalDate; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; import org.junit.Test; public class TimesTests { @Test public void test () throws Exception { System.out.println(System.currentTimeMillis()); } ...
package com.example.service; import com.example.entity.StudentEntity; import com.example.model.StudentModel; /** * This class is StudentService interface * @author bhupalp * */ public interface StudentService { public StudentEntity insertStudentDetails(StudentModel student); public String updateStudentDe...
package com.pinyougou.pojo.group; import com.pinyougou.pojo.TbAddress; import com.pinyougou.pojo.TbAreas; import com.pinyougou.pojo.TbCities; import com.pinyougou.pojo.TbProvinces; import java.io.Serializable; import java.util.List; /** * @program: pinyougou-parent * @description:地址与城市的组合实体类 * @author: Mr.Cai * ...
package com.jushu.video; import com.baomidou.mybatisplus.core.toolkit.StringPool; import com.baomidou.mybatisplus.generator.AutoGenerator; import com.baomidou.mybatisplus.generator.InjectionConfig; import com.baomidou.mybatisplus.generator.config.*; import com.baomidou.mybatisplus.generator.config.converts.MySqlTypeCo...
package com.krt.gov.ir.mapper; import com.krt.common.base.BaseMapper; import com.krt.gov.ir.entity.IrProtocol; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.Map; /** * 红外协议映射层 * * @author zsl * @version 1.0 * @date 2019年08月05日 */ @Mapper public interf...
package com.arrays; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class TwoSum { /*public int[] sum(int[] input,int sum) { if(input == null) return null; Map<Integer, Integer> result = new HashMap<Integer, Integer>(); int length = input.length; ...
package com.trannguyentanthuan2903.yourfoods.product.model; import android.app.Activity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.trannguyentanthuan2903.yourfoods.R; import com.trannguyent...
package com.hr.login.model; import java.time.Period; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.List; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.s...
package pos.hurrybunny.appsmatic.com.hurrybunnypos.Fragments; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import android...
import java.io.PrintWriter; import java.util.*; public class Society { private int sizeOfPopulation; private int healthy; private int infected; private int immune; private int dead; private double probOfExtrovert; private double averageNumberOfFriends; private double probOfMeeting; ...
/* * 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...
import java.io.*; import java.util.*; public class Main { static Scanner in = new Scanner(System.in); static PrintWriter out = new PrintWriter(System.out); public static void main(String[] args) { long n = in.nextLong(); long k = in.nextLong(); long remaining = n - k * (k + 1) / 2; // out.pri...
package br.com.metodo.service.vo; import java.io.Serializable; import org.codehaus.jettison.json.JSONObject; public class Favorito implements Serializable{ /** * */ private static final long serialVersionUID = 1L; private int id; private String nome; private String urlImagem; public int getId() { r...
import java.util.*; public class TriesNode { String character; List<Map<String, Object>> location; Map<String,TriesNode> children; HashSet<String> orn; public TriesNode() { //character = ""; children = new HashMap<>(); location = new LinkedList<>(); orn = new HashSe...
package com.example.consultants.week4daily2.model.data; import android.util.Log; import com.example.consultants.week4daily2.model.data.local.LocalDataSource; import com.example.consultants.week4daily2.model.data.remote.RemoteDataSource; import com.example.consultants.week4daily2.model.data.remote.RemoteObserver; impo...
package msip.go.kr.member.web; import java.util.Date; import java.util.List; import javax.annotation.Resource; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.PathVariable; import ...
package com.cs.control; import com.cs.persistence.NotFoundException; import com.cs.security.AccessDeniedException; import com.cs.system.SystemControl; import com.cs.system.WhiteListedEmail; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springf...
package com.alibaba.druid.bvt.sql.transform.datatype.oracle2pg; import com.alibaba.druid.sql.SQLTransformUtils; import com.alibaba.druid.sql.ast.SQLDataType; import com.alibaba.druid.sql.parser.SQLParserUtils; import com.alibaba.druid.util.JdbcConstants; import junit.framework.TestCase; public class Oracle2PG_DataTyp...
package cn.test.classes; /* * 类作为方法参数 */ public class TestArguments { public static void main(String[] args) { Person p = new Person(); method(p); } public static void method(Person p) { p.eat(); p.run(); } }
package week1_Q1; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.*; /** * * @author CIT-Labs * * compute the number of inversions in the file given * */ public class Question1 { //static List<Integer> numbers = new ArrayList<Integ...
/*********************************************************** * @Description : 数据库日志工厂 * @author : 梁山广(Liang Shan Guang) * @date : 2020/5/17 14:44 * @email : liangshanguang2@gmail.com ***********************************************************/ package 第04章_工厂方法模式.第3节_应用举例; public class FileLogge...
package com.karya.dao.impl; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Root; import org.springframework.stereotype.Rep...
package edu.kis.vh.nursery; import edu.kis.vh.nursery.stacks.IIntStack; import edu.kis.vh.nursery.stacks.IntLinkedList; /** * Klasa HanoiRhymer rozszerza klase DefaultCountingOutRhymer */ public class HanoiRhymer extends DefaultCountingOutRhymer { private int totalRejected = 0; public HanoiRhymer(II...
package nature; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.mockito.Matchers.anyInt; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import lem.LemGui; import org.junit.Before;...
package com.izasoft.jcart.web.contoller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.MessageSource; import org.springframework.security.core.annotation.AuthenticationPrincipal; import org.springframework.security.core.context.SecurityContextHolder; import org.sprin...
package id.barkost.waris; public class MateriAhliAdapter { private String name; public MateriAhliAdapter(){ super(); } public MateriAhliAdapter(String name) { super(); this.name = name; } @Override public String toString() { return this.name; }...
package com.logzc.webzic.reflection.fs; import java.net.MalformedURLException; import java.net.URL; import java.util.Collection; import java.util.Objects; /** * The abstract Dir base class of ZicFs. * Created by lishuang on 2016/7/17. */ public abstract class ZicDir { public abstract String getPath(); pu...
package com.finalyearproject.spring.web.dao; import java.sql.ResultSet; import java.sql.SQLException; import org.springframework.jdbc.core.RowMapper; import com.finalyearproject.spring.web.entity.Forum; import com.finalyearproject.spring.web.entity.User; public class ForumRowMapper implements RowMapper<Forum>{ @O...
package cn.newsuper.Demo; import org.apache.ignite.Ignite; import org.apache.ignite.IgniteCache; import org.apache.ignite.Ignition; import org.apache.ignite.configuration.IgniteConfiguration; import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi; import org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryV...
package com.xixiwan.platform.sys.form; import com.xixiwan.platform.module.web.form.BaseForm; import lombok.Data; import lombok.EqualsAndHashCode; @Data @EqualsAndHashCode(callSuper = false) public class SysRoleForm extends BaseForm { /** * 角色权限 */ private String authorities; /** * 角色名称 ...
package com.alibaba.druid.bvt.sql; import com.alibaba.druid.sql.ast.expr.SQLExtractExpr; import junit.framework.TestCase; import org.junit.Assert; import com.alibaba.druid.sql.dialect.mysql.parser.MySqlExprParser; public class EqualTest_extract_mysql extends TestCase { public void test_exits() throws Exception ...
package com.wencheng.domain; import java.util.Date; import java.util.LinkedList; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persisten...
import java.awt.List; import java.util.ArrayList; public class program { public static void main(String[] args) { // TODO Auto-generated method stub SeleniumCrawler selTest = new SeleniumCrawler(); // getSearchResult 에 가수이름과 곡제목 넣으면 // 가수 구글 검색 결과, 가수+곡 구글 검색 결과, 가수+곡 기사 결과 순으로 ArrayList로 반환함 ArrayList<...
package br.com.fiap.to; import java.util.List; public class Documentos { private List<DadosPessoa> docs; public List<DadosPessoa> getDocs() { return docs; } public void setDocs(List<DadosPessoa> docs) { this.docs = docs; } }
/* * Dryuf framework * * ---------------------------------------------------------------------------------- * * Copyright (C) 2000-2015 Zbyněk Vyškovský * * ---------------------------------------------------------------------------------- * * LICENSE: * * This file is part of Dryuf * * Dryuf is free softw...
import java.util.*; class stack_reverse { int size; int top; char[] a; boolean isEmpty() { return (top < 0); } stack_reverse(int n) { top = -1; size = n; a = new char[size]; } boolean push(char x) { if (top >= size) { System...
package br.com.wasys.gfin.cheqfast.cliente.service; import android.util.Log; import br.com.wasys.gfin.cheqfast.cliente.endpoint.Endpoint; import br.com.wasys.gfin.cheqfast.cliente.endpoint.TransferenciaEndpoint; import br.com.wasys.gfin.cheqfast.cliente.model.TransferenciaModel; import br.com.wasys.library.service.Se...
/* * 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.mmorg29.appointmentscheduler; import java.io.IOException; import java.net.URL; import java.util.ResourceBundle; ...
package com.faikturan; import java.awt.BorderLayout; import java.awt.Font; import java.awt.GraphicsEnvironment; import javax.swing.JCheckBox; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; public class MainFrame4 extends JFrame { private J...
/* * Copyright (c) 2014 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.rest.jwt.endpoint; import java.util.Collections; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; imp...
package com.indoorpositioning.persistence; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persistence.OrderBy; import javax.persistence.Table; import ...
package com.bnk.featurelib.common.facade.service; import com.bnk.featurelib.common.facade.model.ScriptMeta; /** * @author ratel * @create 2018/12/3 */ public interface ScriptMetaFacade { /** * * @param scriptId * @return */ public ScriptMeta getScriptMetaById(int scriptId); }
package rocks.zipcode.stringsgalore; import org.junit.Assert; import org.junit.Test; import java.util.Calendar; import java.util.HashSet; import java.util.Set; import static org.junit.Assert.*; import static rocks.zipcode.stringsgalore.StringTheory.allInterleavings; public class StringTheoryTest { StringTheory ...
package JewelsandStones771; /** * @ClassName Solution01 * @Description https://leetcode-cn.com/problems/jewels-and-stones/ * @Author tangchao@mfexcel.com * @Date 2019/10/17 16:21 * @Version 1.0 */ public class Solution01 { public int numJewelsInStones(String J, String S) { int count = 0; for...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.StringTokenizer; /** * Created by Tyler on 09/02/2017. */ public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader...
package sr.hakrinbank.intranet.api.controller; import jcifs.smb.SmbException; import org.apache.commons.codec.binary.Base64; import org.modelmapper.ModelMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; i...
package com.tobe.springcloudfeignlearning; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.feign.EnableFeignClients; @SpringBootApplication @E...
package com.cxhello.sign.controller; import com.cxhello.sign.entity.UserSignVo; import com.cxhello.sign.exception.BusinessException; import com.cxhello.sign.util.Result; import com.cxhello.sign.util.ResultUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.connec...
/* * Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.types.basic; import pl.edu.icm.unity.exceptions.IllegalAttributeValueException; import pl.edu.icm.unity.exceptions.InternalException; import pl.edu.icm.unity.types.Js...
package ru.forpda.example.an21utools; import android.app.IntentService; import android.app.Notification; import android.app.NotificationManager; import android.app.Service; import android.content.Intent; import android.os.IBinder; import ru.forpda.example.an21utools.model.AutoRunModel; import ru.forpda.example.an21uto...
package webshop.service; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import webshop.domain.Product; import webshop.dto.ProductAdapter; import webshop.dto.ProductDTO; import webshop.dto.ProductOrde...
package ir.madreseplus.ui.view.login; import java.util.List; import ir.madreseplus.data.model.req.Student; import ir.madreseplus.data.model.req.User; import ir.madreseplus.data.model.res.ConfirmRes; import ir.madreseplus.utilities.BaseNavigator; import retrofit2.Response; public interface LoginNavigator<T> extends B...
package com.taotao.item.listener; import java.io.File; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.OutputStreamWriter; import java.io.Writer; import java.util.HashMap; import java.util.Map; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.TextMessage; impor...
package com.madrapps.dagger.subcomponent.simple; import com.madrapps.dagger.models.Cycle; import dagger.Component; @Component(modules = {SimpleSubComponent.InstallSubComponentModule.class, SimpleRootModule.class}) public interface SimpleRootComponent { Cycle obtainVehicle(); SeaWays seaways(); }
package common.constant; public class ValueConstants { public static final int REGION_NUMS = 6; }
package com.axibase.tsd.api.method.entity; import com.axibase.tsd.api.model.entity.Entity; import com.axibase.tsd.api.util.Registry; import org.testng.annotations.Test; import static com.axibase.tsd.api.method.entity.EntityTest.assertEntityExisting; import static javax.ws.rs.core.Response.Status.BAD_REQUEST; import s...
/** * Makes an Alien that attacks the base * @author Rishav Bose * @version 1.00 */ public class Alien8 extends Monster { /** * Makes an alien with health 100 */ public Alien8() { super(100, "provided/res/Pixel-Alien-8.png"); } /** * Attacks the base with 400 attack * @param a th...
package org.controlsfx.control.images; import impl.org.controlsfx.behavior.ClickItemBehavior; import javafx.event.EventHandler; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.input.MouseButton; import java...
package br.com.wasys.gfin.cheqfast.cliente.realm; import io.realm.RealmObject; import io.realm.annotations.PrimaryKey; import io.realm.annotations.Required; /** * Created by pascke on 04/07/17. */ public class Arquivo extends RealmObject { @PrimaryKey public Long id; @Required public String camin...
package com.gxtc.huchuan.ui.mine.browsehistory; import com.gxtc.commlibrary.utils.ErrorCodeUtil; import com.gxtc.huchuan.bean.BrowseHistoryBean; import com.gxtc.huchuan.data.BrowseHistoryRepository; import com.gxtc.huchuan.data.UserManager; import com.gxtc.huchuan.http.ApiCallBack; import java.util.ArrayList; import ...
package br.com.fatec.proximatrilha.repository; import org.springframework.data.repository.CrudRepository; import br.com.fatec.proximatrilha.model.Multimedia; public interface MultimediaRepository extends CrudRepository<Multimedia, Long> { }
package me.ewriter.storagedemo; import android.annotation.TargetApi; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Build; import android.os.Environment; import android.os.storage.StorageManager; import android.support....
/* *비트연산 &:and |:or ~:not ^:xor ex(clusive or) *음수를 표현하는 방법 2의보수 : 1의보수(0>1, 1>0)+1 * */public class BiteOpTest1 { public static void main(String[] args) { // TODO Auto-generated method stub int a=10; int result=~a;//2의보수로 표현 -10:~a+1 => -a:-11 System.out.println(result); int su1=10; int su2=20; int result2=su1|...
package exemplos.aula11.ex2.domain; public enum TipoUsuario { FUNCIONARIO, SEGURANCA, DIRETOR }