text
stringlengths
10
2.72M
package com.dzz.policy.api.domain.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; /** * 保单状态更新参数 * * @author dzz * @version 1.0.0 * @since 2019年08月19 15:19 */ @Data @ApiModel(description = "保单状态更新 Param") public class PolicyStatusUpdateParam { ...
package ict.computer.generator.ad_testing; import java.util.Scanner; public class Main { private static Button btn_run = Button.create("GO"); private static Scanner scanner = new Scanner(System.in); private static Settings settings = new Settings(); public static void main(String[] args) { ...
package me.itsmas.minigames; import me.itsmas.minigames.game.Game; import me.itsmas.minigames.game.GameType; import me.itsmas.minigames.game.LoginListener; import me.itsmas.minigames.map.MapManager; import me.itsmas.minigames.scoreboard.ScoreboardManager; import me.itsmas.minigames.util.C; import me.itsmas.minigames.u...
package com.tencent.mm.plugin.account.ui; import android.app.ProgressDialog; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.text.TextWatcher; import android.view.KeyEvent; import android.view.MenuItem; import android.view.MenuItem.OnMenuItemClickListen...
package com.huawei.esdk.csdemo.view; import java.awt.Dialog; import java.awt.Rectangle; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import java.awt.event.MouseEvent; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JDialog; import javax.swing.JLabel; import javax.s...
package entities; public class AccountMovement { private int accountNumber; public String accountHolder; public char option; public double initialDeposit; private double credit, debit; ScreenArtifacts artifact = new ScreenArtifacts(); public AccountMovement() { } public AccountMovement(...
/* * 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 concatenation; import java.util.Scanner; /** * * @author 80010-92-01 */ public class Concatenation { public static vo...
package test; import java.util.List; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.PageFactory; import org.testng.Assert; import org.testng.annotations.Parameters; import org.testng.annotations.Test; import page.FillNewAccountPage; import page.LoginPage; import page.NewAccountAdded; import...
import java.security.PublicKey; class TransactionOutput { String id; PublicKey recipient; float value; TransactionOutput(PublicKey recipient, float value, String transactionId) { this.recipient = recipient; this.value = value; String data = StringUtil.getStringFromKey(recipien...
package term9; import java.util.Scanner; public class Term9 { public static void main(String[] args) { int n=100; int size,i,j; int u=0,v=0; int sum=0; Scanner sc = new Scanner(System.in); System.out.println("Enter Size of Matrix "); size=sc.nextInt(); int a[][] =new int[n][n]; int visited[] = ne...
package com.murkino.domain.cat.breed; public interface Breed { String shortName(); }
package com.course.module; public class test1 { public static void main(String[] args) { for (int i = 1; i < 10; i++) { for (int j = 1; j <= i; j++) { System.out.print(i + "*" + j + "=" + i*j + "\t"); } System.out.println(); } System.ou...
/* * 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 fractals.pkgfinal; /** * * @author Daniel */ /* import javax.swing.*; import java.awt.*; import java.aw...
package com.klj.springtest.extend.tool; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import java.io.File; import java.io.IOException; import java.nio.charset.Charset; import java.nio.charset.CharsetDecoder; /** * @author klj * @Title: Js...
package calculator; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Grams extends Measurement { public int Number; public static List<String>KiloWeights = new ArrayList<>(); public static List<String>OunceWeights = new ArrayList<>(); public static List<String>PoundsWeig...
package org.usfirst.frc.team1165.robot.commands.linear_lift; import org.usfirst.frc.team1165.robot.Robot; import org.usfirst.frc.team1165.robot.util.drivers.OperatorInterface; import edu.wpi.first.wpilibj.command.Command; /** * */ public class RunLinearLiftJoystick extends Command { public RunLinearLi...
package com.example.milind.firebaselistview; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.ListView; import android.widget.TextView; import com.firebase.ui.database.FirebaseListAdapter; import com.google.firebase.database.DatabaseReference; ...
package com.example.myapplicationi; import androidx.appcompat.app.AppCompatActivity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.net.Uri; import android.nfc.Tag; import android.os.Bundle; import android.util.Log...
package quiz02; public class MainClass { public static void main(String[] args) { // Person p1 = new Person("홍길동",20,180); // p1.info(); // // System.out.println("--------------------"); // // Person p2 = new Person(); // p2.age = 40; // p2.name = "김길동"; // p2.tall = 170; // // p2.info(...
package ua.nure.timoshenko.summaryTask4.tag; import ua.nure.timoshenko.summaryTask4.db.entity.User; /** * User function/ * * @author L.Timoshenko * */ public class UserFunction { /** * @param user * * @return String * name with role of the user */ public static String nameWithRole(User user) { ...
package edu.buet.cse.spring.ch03.v3; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import edu.buet.cse.spring.ch03.v3.model.Performer; public class App2 { public static void main(String... args) { ApplicationContext appContext ...
package com.espendwise.manta.spi; public interface Resetable { public void reset(); }
/* * Copyright 2015, Joseph "Deven" Phillips * * 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 tools.benchmark; import java.util.ArrayList; import java.util.List; import tools.benchmark.metrics.IMetric; public class PerformanceResult { private int measureTimes; private int threads; private List<IMetric> metrics = new ArrayList<>(); public PerformanceResult(int measureTimes...
package com.example.aop.aspectj.cflow; public class CflowDemo { public void foo(){ System.out.println("foo ...."); } public void bar(){ foo(); System.out.println("bar ...."); } public static void main(String[] args) { //bar()'s clfow start... new CflowDemo().bar(); } }
package rent.common.projection; import org.springframework.data.rest.core.config.Projection; import rent.common.entity.AccountOwnerDocumentAttachmentEntity; @Projection(types = {AccountOwnerDocumentAttachmentEntity.class}) public interface AccountOwnerDocumentAttachmentBasic extends AbstractBasic { String getName...
package five.com.project.spring.entities; import java.util.ArrayList; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import ...
import java.util.Scanner; import java.text.DecimalFormat; public class PayrollDemo { public static void main(String[] args) { double payRate; double hours; Scanner key = new Scanner(System.in); Payroll pay = new Payroll(); for(int i = 0; i < pay.seven; i++) { System.out.println("Enter numbers o...
package cd.com.a.model; import java.io.Serializable; public class ProductParam implements Serializable { //-- 상품 검색 private String s_category = "all"; private String s_keyword; private int product_group; // 그룹 private int product_sub_group; // 서브그룹 private int s_soldState; // 품...
/* * 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 locationrestfulservice; import java.util.Collection; import javax.ejb.EJB; import javax.inject.Named; import javax.json.Json; ...
package com.tencent.mm.plugin.appbrand.report.a; import com.tencent.mm.plugin.report.f; public final class o { public static void a(a aVar, String str) { f.mDy.h(14750, new Object[]{Integer.valueOf(aVar.value), str}); } }
package com.invisiblelights.creative.noise.services; import com.invisiblelights.creative.noise.R; import com.invisiblelights.creative.noise.util.Logger; import android.app.Service; import android.content.Intent; import android.media.MediaPlayer; import android.media.MediaPlayer.OnPreparedListener; import android.os.B...
package com.thoughtworks.presentation.product_list; /** * Created on 12-06-2018. */ public interface Mapper<S, D> { D map(S input); }
package nl.vdijkit.aas.webclient; import io.smallrye.mutiny.Multi; import io.vertx.core.json.DecodeException; import io.vertx.ext.web.client.WebClientOptions; import io.vertx.mutiny.core.Vertx; import io.vertx.mutiny.core.buffer.Buffer; import io.vertx.mutiny.ext.web.client.HttpResponse; import io.vertx.mutiny.ext.web...
package cn.hui.javapro.bio; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.ServerSocket; import java.net.Socket; public class ServerDemo { public static void main(String[] args) { int portNumber = 8080; try { ...
/** * */ package chapter_3; /** * @author Ashish * A simple Mydate program which takes the values at object creation and initializes with the help * of constructor and then displays them. * */ public class MyDate { private int dd,mm,yy ; public MyDate() // Default Constructor. { dd=mm=y...
package br.com.drogaria.teste; import java.math.BigDecimal; import java.util.List; import org.junit.Ignore; import org.junit.Test; import br.com.drogaria.dao.FabricanteDAO; import br.com.drogaria.dao.ProdutoDAO; import br.com.drogaria.domain.Fabricante; import br.com.drogaria.domain.Produto; public cla...
/* * Copyright 2014 Hippo B.V. (http://www.onehippo.com) * * 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 applic...
package com.smxknife.guava.cache.callback; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; import ja...
package kg.inai.equeuesystem.services.servicesImpl; import kg.inai.equeuesystem.entities.User; import kg.inai.equeuesystem.exeptions.RecordNotFoundException; import kg.inai.equeuesystem.models.UserModel; import kg.inai.equeuesystem.repositories.UserRepository; import kg.inai.equeuesystem.repositories.UserRoleRepositor...
package com.pkmnleague.game; import java.util.ArrayList; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.scenes.scene2d.ui.Table; // TODO: // Implement Menu state machine public class ActionMenu { public static enum ACTION{ ATTACK, //TODO: Once items/inventory are implemented //ITEM, ...
package com.example.demo_boot.dao; import com.example.demo_boot.persistence.Emp; import org.springframework.stereotype.Repository; @Repository public interface EmpExtendedRepo extends ExtendedRepository<Emp, Long> { }
package view; import javax.swing.JOptionPane; public class F7LeaveProgrammView { public int leaveProgramm() { return JOptionPane.showConfirmDialog(null, "Sind sie sicher, dass sie das Programm verlassen wollen?" + "\n" + "Alle nicht gespeicherten Daten gehen verloren!", "Programm verlassen", JOptionPane.YES_NO_CAN...
package de.janhecker.stats; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import java.util.ArrayList; import java.util.List; public class RankingCommand implements CommandExecutor { private final String prefix = "§6FeelPvP §8♦ §...
package br.ita.sem4dia1.heranca; public class ContaEspecial extends ContaCorrente{ int limite; ContaEspecial (int limite){ this.limite = limite; } //eu posso sobre escrever um metodo que jŠ existe na sub class //estou especializando ele public int saca(int valor) { if (valor > (this.saldo + this...
package net.sourceforge.vrapper.eclipse.actions; import java.util.Map; import net.sourceforge.vrapper.eclipse.activator.VrapperPlugin; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.ui.PlatformUI; import org.eclipse.ui.commands.ICommandService; i...
package com.avogine.junkyard.io; import java.nio.DoubleBuffer; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.lwjgl.glfw.GLFW; import org.lwjgl.opengl.GL11; import org.lwjgl.system.MemoryStack; import com.avogine.junkyard.io.event.InputListener; import com.avogine....
import java.lang.reflect.Array; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; public class test { public ArrayList<ArrayList<Integer>> combinationSum(int[] prices,int m){ if (prices==null||prices.length==0)return new ArrayList<>(); ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package co.tweetbuy.util; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.util.Properties; import javax.ma...
package fr.formation.spring.museum.controllers; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.validation.BindingResult; import org.springframework.validation.Errors; import org.springframework.validation.annotation.Validated;...
package chapter06; public class Exercise06_38 { public static void main(String[] args) { int count = 0; for(int i=0;i<100;i++) { count++; if(count%10==0) System.out.println(getRandomDigit()); else System.out.print(getRandomDigit()+" "); } System.out.println("-------------------"); for(int...
/** */ package EpkDSL.util; import EpkDSL.*; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.util.Switch; /** * <!-- begin-user-doc --> * The <b>Switch</b> for the model's inheritance hierarchy. * It supports the call {@link #doSwitch(EObject) doSwitch(o...
package risk.game; import java.io.Serializable; import java.util.LinkedList; import java.util.Random; /** * This class defines the hand cards of a player. */ public class Cards implements Serializable{ public static int exchangeArmy = 5; public final static int INFANTRY = 0; public final static int CAVALRY = 1;...
/* * 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 in writing, software * distributed ...
import com.plter.lrc.Reader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; /** * Created by plter on 7/17/15. */ public class Main { public static void main(String[] args){ File f = new File("sound.lrc"); try { ...
package com.vilio.plms.service.test; import com.vilio.plms.exception.ErrorException; import com.vilio.plms.service.base.BaseService; import com.vilio.plms.service.base.CommonService; import com.vilio.plms.service.base.impl.PayScheduleDetailForContractImpl; import com.vilio.plms.service.quartz.BmsSynchronizeService; im...
package utils; import org.bouncycastle.jce.provider.BouncyCastleProvider; import javax.crypto.Cipher; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; import java.nio.charset.Charset; import java.security.Security; public class AESUtils { // u8 charset protect...
package com.timmy.customeView.myViewPager; import android.os.Bundle; import android.widget.RadioButton; import android.widget.RadioGroup; import com.timmy.R; import com.timmy.base.BaseActivity; public class MyViewPagerActivity extends BaseActivity { @Override protected void onCreate(Bundle savedInstanceStat...
package com.lsht.ml; import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; import java.io.*; /** * Created by Junson on 2017/8/24. */ public class LstmNetwork2 { public static String savePath = "LstmNetwork2Param.obj"; //特征是 r,ra int inputWidth,int stateWidth //状态是 r,ra 的...
package kyle.game.besiege.party; import com.badlogic.gdx.graphics.Color; /* contains information about a specific weapon type */ public class ArmorType { public enum Type { NAKED, // No armor CLOTHES, // Can be produced for free (won't be won/lost in battles) BASIC, // Covers full top/bottom exce...
import java.util.*; public class Reverse { public static void main(String args[]) { Scanner sc=new Scanner(System.in); String str=sc.nextLine(); StringBuffer rev=new StringBuffer(str); rev.reverse(); System.out.println(rev); } }
package parser.lexer; import parser.Token; import util.AggregatingHashtable; import java.io.IOException; import java.io.Serializable; import java.util.*; public class Strategy { private boolean inited; private AggregatingHashtable itemsWithStartChar = new AggregatingHashtable(); private List<Item> item...
package expression; public abstract class AbstractBinOperation implements Expression { protected Expression operation1; protected Expression operation2; protected char operator; protected AbstractBinOperation(Expression operation1, Expression operation2, char operator){ this.operation1 = opera...
package Programming; public class ProgrammingManagement { private final int MAXPERSONS = 20; private Person[] listperson = new Person[MAXPERSONS]; private int count = 0; // metodo para adicionar pessoas public void addPerson(Person person) { if (count < MAXPERSONS) { listperson...
/* * 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 tolteco.sigma.controller; import java.util.List; import java.util.logging.Level; import tolteco.sigma.model.dao.DAOFactory; im...
package com.leetcode.oj; // 106 https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal/ public class ConstructBinaryTreeFromInorderAndPostorderTraversal_106 { // Definition for a binary tree node. public class TreeNode { int val; TreeNode left; TreeNode right; Tr...
package pl.coderslab.servlet.vehicle; import pl.coderslab.dao.DbInit; import pl.coderslab.dao.VehicleDao; import pl.coderslab.model.Vehicle; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import ja...
package facing; /** * @author renyujie518 * @version 1.0.0 * @ClassName caculateBiaoDaShi.java * @Description * 简单四则运算 * 问题描述: * 输入一个只包含个位数字的简单四则运算表达式字符串,计算该表达式的值 * 注 * 1、表达式只含 +, -, *, / 四则运算符,不含括号 * 2、表达式数值只包含个位整数(0-9),且不会出现0作为除数的情况 * 3、要考虑加减乘除按通常四则运算规定的计算优先级 * 4、除法用整数除法,即仅保留除法运算结果的整数部分。比如8/3=2。输入表达式保证无0...
package com.differencer.pi; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.io.PrintStream; import java.sql.SQLException; import java.text.ParseException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.concurrent.ExecutionExceptio...
package windows; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Paths; import javafx.geometry.Pos; import javafx.scene.*; import javafx.scene.control.CheckBox; import javafx.scene.control.RadioButton; import javafx.scene.control.ToggleGrou...
package com.rsm.yuri.projecttaxilivredriver.home.ui; import android.Manifest; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.Color; import android.location.Address; import android.location.Geocoder; import android.location.Loc...
package com.tencent.mm.plugin.voip.widget; import com.tencent.mm.plugin.voip.model.i; import com.tencent.mm.sdk.platformtools.al.a; class b$4 implements a { final /* synthetic */ b oWh; b$4(b bVar) { this.oWh = bVar; } public final boolean vD() { i.bJJ().OI(this.oWh.bMq()); r...
package com.voksel.electric.pc.repository; import com.voksel.electric.pc.domain.entity.Menu; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Component; import java.util.List; @Component public interface MenuRepository extends JpaRepository<Menu, String> { Menu fin...
package fontys.sot.rest.service.models; import fontys.sot.rest.service.enums.Role; import java.util.ArrayList; import java.util.List; public class User { private static int userId = 0; private int id; private String name; private String password; private List<Role> roles; public 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...
/* * 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 overlay.controls; import java.util.Random; import overlay.Utils; import overlay.actions.Action; import overlay.actions.FindEmp...
package com.tencent.mm.plugin.backup.backuppcmodel; import com.tencent.mm.plugin.backup.b.b; class a$1 implements Runnable { final /* synthetic */ a gWp; a$1(a aVar) { this.gWp = aVar; } public final void run() { if (this.gWp.gUv != null) { this.gWp.gUv.cancel(); ...
package com.leetcode.oj; //110 https://leetcode.com/problems/balanced-binary-tree/ public class BalancedBinaryTree_110 { public class TreeNode{ int val; TreeNode left; TreeNode right; public TreeNode(int x) { val = x; } } public int height(TreeNode root){ if(root==null){ r...
package manage.dao.impl; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import manage.bean.S_user; import manage.dbutil.ConnectionManager; public class S_userDaoImpl { public S_user login(String username, String password){ // 声明用户 S_...
package re.javafx.example.CopyWindow; import javafx.geometry.HPos; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.control.TextField; import javafx.scene.layout.GridPane; /** * Created by henry on 10.03.17. */ public class CopyWindow extends GridPane{ private TextFiel...
package com.qa.client; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.HashMap; import org.apache.http.Header; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; im...
package kr.or.ddit.basic; //3개의 thread가 각각 알파벳을 A ~ Z까지 출력하는데, 출력을 끝낸 순서대로 결과를 나타내는 프로그램 작성하기 public class ThreadTest12 { public static void main(String[] args) { DisplayCharacter[] threads = new DisplayCharacter[]{ new DisplayCharacter("홍길동"), new DisplayCharacter("이순신"), new DisplayCharact...
package pl.coderslab.entity; import lombok.*; import javax.persistence.*; import java.util.Set; @NoArgsConstructor @AllArgsConstructor @Entity @Data @Table(name="cart") public class Cart { @Id private long id; @OneToMany(mappedBy = "cart") private Set<CartItem> cartItems; @OneToOne(mappedBy = ...
package com.isystk.sample.domain.repository; import static com.isystk.sample.domain.util.DomaUtils.createSelectOptions; import static java.util.stream.Collectors.toList; import com.google.common.collect.Lists; import com.isystk.sample.common.dto.CodeValueDto; import com.isystk.sample.common.exception.NoDataFoundExcep...
package com.awsp8.wizardry.entity.render; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelBiped; import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.entity.RenderBiped; import net.minecraft.client.renderer.entity.RenderEntity; import net.minecraf...
package com.template.game.ui.implementations; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.scenes.scene2d.Stage; import com.template.game.logic.GameWorld; import com.template.game.ui.abstractions.StagedScreen; /** * Game scree...
package controllers; import java.util.*; import notifiers.*; import play.Logger; import play.data.validation.*; import play.mvc.*; import models.*; import utils.*; public class Application extends Controller { @Before static void addUser() { User user = connected(); if (user != null) { renderArgs.put("user"...
package com.lolRiver.river.multithread; /** * @author mxia (mxia@lolRiver.com) * 10/2/13 */ import com.lolRiver.config.ConfigMap; import com.lolRiver.river.multithread.workerStarters.WorkerStarter; import com.lolRiver.river.multithread.workerStarters.rawDataWorkerStarters.KassadinWorkerStarter; import com....
package ch.epfl.tchu.game; import ch.epfl.tchu.Preconditions; import ch.epfl.tchu.SortedBag; import java.util.*; /** * Represents the card state of the game. It consists of the publlic part (PublicCardState) as well as * a deck of cards of the game and the discarded cards. * * @author Eduardo Neville (314667) *...
package bean; import java.util.List; import com.sleepycat.persist.model.Entity; import com.sleepycat.persist.model.PrimaryKey; @Entity public class InvertedIndex { @PrimaryKey private String word; private List<Occurance> occurs; public InvertedIndex() { } public InvertedIndex(String word, List<Occurance> oc...
package com.github.emailtohl.integration.core.auth; import java.util.Collection; import java.util.Set; import org.springframework.security.core.Authentication; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.AuthorityUtils; import org.springframewo...
package com.example.shree.wlug; import android.app.ProgressDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Build; import android.support.annotation.NonNull; import android.support.annotation.RequiresApi; import android.support.design.widget.TextInputLayout; imp...
/** * What is Type-Casting ? How many types ? * Answer-- In simple words we can say " Converting one datatype to another DataType is called TypeCasting. /** * @author Madan * */ package typeCasting;
package state; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.Scanner; public class NodePositionLoader { private HashMap<String, Point> nodePositionMap; private final static String NODE_TO_IGNORE = "0"; private final static int EXPECTED_NUMBER_OF_LINE_TOKENS = 3; ...
package com.database.endingCredit.domain.movie.controller; import com.database.endingCredit.domain.movie.dto.UserCinemaDTO; import com.database.endingCredit.domain.movie.service.UserCinemaService; import com.database.endingCredit.domain.user.dto.UserIdDTO; import org.springframework.beans.factory.annotation.Autowired...
package day10forloops; import java.util.Scanner; public class ForLoop05DrawTriangle { public static void main(String[] args) { drawTriangle(); } /* 1)Ask user to enter a positive integer 2)Create and print the following image on the console * * * * * * * * * ...
package xin.altitude.lock.mappeer; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; import xin.altitude.lock.entity.Goods; /** * @author explore * @date 2020/11/02 13:46 */ @Mapper public interface GoodsMapper extends BaseMapper<Goods> { }
package ru.kappers.service.impl; import com.google.common.base.Preconditions; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import ru.kappers.model.catalog....
package automation.api; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import javax.jws.WebService; import automation.api.interfaces.ConnectedDevice; @WebService(endpointInterface = "automation.api.interfaces.ConnectedDevice") public abstract class AbstractDevice implements Conn...
package com.cngl.bilet.api; import java.util.List; import javax.validation.Valid; import com.cngl.bilet.dto.HavayoluRequestDto; import com.cngl.bilet.dto.HavayoluResponseDto; import com.cngl.bilet.service.impl.HavayoluServiceImpl; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.a...