text
stringlengths
10
2.72M
package org.newdawn.slick.tests; import org.newdawn.slick.AppGameContainer; import org.newdawn.slick.BasicGame; import org.newdawn.slick.Game; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.Image; import org.newdawn.slick.SlickException; import org.newdawn.slick.par...
package org.arthur.review.service; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import java.util.List; import org.arthur.review.model.User; import org.arthur.review.database.DataConnection; import org.arthur.review.model.SecurityQuesti...
package JavaSE.OO.IO; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; /* * java.io.Reader; * java.io.InputStreamReader;转换流(字节输入流-->字符输入流) * java.io.FileReader;文件字符输入流 */ public class FileReaderTest { public static void main(String[] args) { //创建文件字...
package edu.stuy.starlorn.upgrades; public class RapidFireUpgrade extends GunUpgrade { public RapidFireUpgrade() { super(); _name = "Rapid Fire"; _description = "pew pew -> pew pew pew pew"; } @Override public double getCooldown(double cooldown) { return cooldown/2; ...
package com.piistech.gratecrm.Utils.Adapter; import android.content.Context; import android.os.Bundle; import androidx.annotation.IntRange; import androidx.annotation.NonNull; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import com.stepstone.stepper.Step; import com.stepstone....
package com.youthchina.dto.community.discuss; import com.youthchina.domain.jinhao.Discuss; import com.youthchina.dto.RequestDTO; public class DiscussRequestDTO implements RequestDTO<Discuss> { private String body; private boolean is_anonymous; public DiscussRequestDTO() {} public String getBody() { ...
public class K2SO extends Droid{ public K2SO(){ super("K2SO","Light Side","Rebel",false); } }
package reconstructwithpreandin; import java.util.HashMap; import java.util.Map; public class Solution { public TreeNode reconstruct(int[] in, int[] pre) { // Write your solution here. Map<Integer, Integer> inIndex = indexMap(in); return helper(pre, inIndex,0,in.length-1,0,in.length-1); } privat...
package org.lvzr.fast.test.unitils.service.impl; import java.util.List; import org.lvzr.fast.test.unitils.dao.EmployeeDao; import org.lvzr.fast.test.unitils.model.Employee; import org.lvzr.fast.test.unitils.service.EmployeeService; import org.springframework.beans.factory.annotation.Autowired; import org.spri...
package com.dragon.system.quartz.config; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.dragon.system.quartz.model.QuartzJobModel; import com.dragon.system.quartz.service.QuartzJobService; import com.dragon.system.quartz.utils.QuartzManage; import org.slf4j.Logger; import org.slf4j.Logg...
/* */ package datechooser.beans.editor.dimension; /* */ /* */ import datechooser.beans.locale.LocaleUtils; /* */ import java.awt.BorderLayout; /* */ import java.awt.Color; /* */ import java.awt.Dimension; /* */ import java.awt.FlowLayout; /* */ import java.awt.Graphics; /* */ import java.awt...
import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.net.Socket; import java.util.function.Consumer; //import GUIServerExample.Client; import your game Client Class here import java.util.ArrayList; import java.util.Iterator; import jav...
/* * Sonar JavaScript Plugin * Copyright (C) 2011 Eriks Nukis * dev@sonar.codehaus.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License,...
package com.incuube.bot.services.outcome; import com.incuube.bot.model.common.users.TelegramUser; import com.incuube.bot.model.common.users.User; import com.incuube.bot.model.exceptions.BotConfigException; import com.incuube.bot.model.outcome.OutcomeMessage; import com.incuube.bot.model.outcome.OutcomeSuggestionMessag...
package com.sinelnikov.competetive.week1; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Scanner; public class AdditionAndSubtraction { /* Given two integers x and y, construct an infinite sequence of integers A = {a0,a1,a2,...} as follows: a0 =0andforeveryi≥1,a2i−1 =a2i−...
package com.lbsp.promotion.core.service.task; import com.lbsp.promotion.core.service.BaseServiceImpl; import com.lbsp.promotion.entity.constants.GenericConstants; import com.lbsp.promotion.entity.model.Task; import com.lbsp.promotion.entity.query.GenericQueryParam; import com.lbsp.promotion.entity.query.QueryKey; impo...
package tw.org.iii.java; public class Brad27 { public static void main(String[] args) { //int[] a = new int[] {1,2,3,4}; int[] a = {1,2,3,4}; // int[] a; // a = new int[] {1,2,3,4}; // int[] a; // a = {1,2,3,4}; => xxx for ( int i=0; i<a.length; i++) { System.out.println(a[i]); } System.out...
package com.kakaopay.payments.api.util; import com.kakaopay.payments.api.dto.CardInfo; public class DataConvertor { /** * 부가가치세 계산 * @param amount * @return */ public static int calVAT(int amount){ double div = ((double)amount / 11); int round = (int)Math.round(div); ...
package com.greenglobal.eoffice.infrastructure.broker; import java.util.Properties; import java.util.concurrent.atomic.AtomicBoolean; import com.greenglobal.eoffice.domain.core.events.DomainEvent; import com.greenglobal.eoffice.infrastructure.configs.IKafkaConstants; import com.greenglobal.eoffice.infrastructure.eve...
package common.instamsg.driver; public class MessageData { String topicName; String payload; public MessageData(String topicName, String payload) { super(); this.topicName = topicName; this.payload = payload; } public String getTopicName() { return topicName; } public String getPayload() { return...
/* * Copyright 2016 Johns Hopkins University * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
package id.ac.ub.ptiik.papps.parsers; import java.util.ArrayList; import id.ac.ub.ptiik.papps.base.Agenda; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; public class AgendaParser { public static ArrayList<Agenda> Parse(String JSONString){ try { JSONObject object = new...
package sarong; import sarong.discouraged.ThrustAlt32RNG; import sarong.util.StringKit; import java.io.Serializable; /** * A 32-bit generator that needs no math on 64-bit values to calculate high-quality pseudo-random numbers, and has been * adapted to meet the needs of GWT while maintaining compatibility with oth...
package fr.projetcookie.boussole.providers; import android.location.Location; public class BaloonPositionFromSettings extends BaloonPositionProvider { Location mFakeLocation = new Location("baloon"); public BaloonPositionFromSettings(int t) { super(t); } public BaloonPositionFromSettings(double lat, double...
/** * */ package com.trs.om.rbac.dao; import java.util.AbstractList; import java.util.List; /** * @author Administrator * */ public class PagedList extends AbstractList { /** * */ private static final long serialVersionUID = 1L; /** * 当前页记录列表 */ private List pageItems; /** * 当前页码 *...
/* * Copyright (c) 2012, Oskar Veerhoek * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of cond...
package com.krx.websocket.message; /** * Created by benjamin on 9/28/14. */ public class TextMessage implements WebSocketMessage<String> { private CharSequence charSequence; public TextMessage(){ } public TextMessage(CharSequence charSequence){ this.charSequence = charSequence; } public CharSeque...
package com.kush.lib.expressions.functions; public interface FunctionSpec { String getFunctionName(); Class<?> getReturnType(); FunctionExecutor getFunctionExecutor(); }
package com.xiaodao.admin.client; import com.github.pagehelper.PageInfo; import com.xiaodao.feign.config.MultipartSupportConfig; import com.xiaodao.core.result.RespDataVO; import com.xiaodao.core.result.RespVO; import com.xiaodao.core.result.RespVOBuilder; import com.xiaodao.admin.entity.SysDictData; import org.spring...
/* * [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...
package com.mango.leo.zsproject.industrialservice.createrequirements.carditems.bean; import com.luck.picture.lib.entity.LocalMedia; import java.util.List; /** * Created by admin on 2018/5/16. */ public class CardFourthItemBean { //private String projectId; private String name; private String company; ...
package com.hobson.assesment.steps; import com.hobson.assesment.pages.HomePage; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; import org.junit.Assert; public class ScorllStepdefs extends BaseStepDef { private HomePage homePage; public ScorllStepdefs(){ super(); homePage...
/* * * [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 th...
package com.semantyca.nb.ui.action.constants; public enum ActionType { CUSTOM_ACTION, DELETE_DOCUMENT, SAVE_AND_CLOSE, CLOSE, GET_DOCUMENT_ACCESSLIST, BACK, LINK, RELOAD, API_ACTION }
import org.junit.Before; import org.junit.Test; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; public class TestDBConnection { private static final boolean DEBUG = true; private String ip; private int port; private String dbName; ...
package ca.antonious.habittracker; import android.content.Intent; import android.support.design.widget.TabLayout; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompatActivity; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import an...
package com.znamenacek.jakub.spring_boot_security_test.controllers; import com.znamenacek.jakub.spring_boot_security_test.exceptions.StudentNotFoundException; import com.znamenacek.jakub.spring_boot_security_test.models.Student; import com.znamenacek.jakub.spring_boot_security_test.services.StudentService; import org....
package com.flutterwave.raveandroid; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.content.Context; import android.content.Intent; import android.graphics.Typeface; import android.os.Build; import android.os.Bundle; import android.text.Spannable; import android.tex...
package com.fastjavaframework.interceptor; import java.lang.reflect.Method; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.web.method.HandlerMethod; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;...
package com.zzidc.security; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdap...
package com.thanhviet.userlistarchvm; import android.app.Application; import com.thanhviet.userlistarchvm.db.UserRoomDB; public class BaseApp extends Application { private static BaseApp self; private AppExecutors mAppExecutors; public static BaseApp getInstance() { return self; } @Overr...
package com.perfectorial.entity; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.DBRef; import org.springframework.data.mongodb.core.mapping.Document; import java.util.List; /** * @author Reza Safarpour (rsafarpour1991@gmail.com) on 11/22/2015 */ @Document public...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controle; import gui.InterfaceSoletrando; import modelo.Contador; import modelo.Partida; import rede.AtorNetGames; import rede.JogadaSoletrando; /** * * @author Bisnaguete */ public class AtorJogador { ...
import edu.duke.*; import org.apache.commons.csv.*; /** * Write a description of ParsingExportData here. * * @author (your name) * @version (a version number or a date) */ public class ParsingExportData { public void countryInfo(CSVParser parser, String country){ for(CSVRecord record : parser){ ...
package com.tencent.mm.plugin.sns.ui; class SnsUploadUI$13 implements Runnable { final /* synthetic */ SnsUploadUI ogU; SnsUploadUI$13(SnsUploadUI snsUploadUI) { this.ogU = snsUploadUI; } public final void run() { 1 1 = new 1(this); if (SnsUploadUI.g(this.ogU) != null) { ...
package com.google.android.gms.c; import java.util.Arrays; public final class av$a$a extends ay<av$a$a> { private static volatile av$a$a[] aZy; public a aZz; public int type; public static final class a extends ay<a> { public byte[] aZA; public String aZB; public double aZC; ...
/** * Provides useful methods for manipulating a phrase. * * @author Ben Godfrey * @version 08 DEC 2017 */ public class Phrase { /** The phrase to be manipulated */ private String currentPhrase; /** Constructs a new Phrase object. */ public Phrase(String p) { this.currentPhrase = p...
package ua.addicted.assetwand.models; /** * Created by addicted on 12.03.16. */ public class ReceiptEntry { private Receipt receipt; private String entryString; private String originalTitle; private String title; private int quantity; private double price; public ReceiptEntry(Receipt rec...
package com.tencent.mm.network; import com.tencent.mars.mm.MMLogic; import com.tencent.mm.sdk.platformtools.bd; class t$11 extends bd<Object> { final /* synthetic */ String esM; final /* synthetic */ String esN; final /* synthetic */ t esu; t$11(t tVar, String str, String str2) { this.esu = t...
package edu.nju.logic.impl; import edu.nju.data.dao.DocumentDAO; import edu.nju.data.dao.WikiDAO; import edu.nju.logic.service.RelationService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import java.util.List; /** * Created by cuihao on 2016/7/20....
package com.stayready.assessment.week2.part01; public class BasicStringUtils { /** * @param string1 - Base string to be added to * @param string2 - String to add to `string1` * @return concatenation of `string1` and `string2` */ public static String concatentate(String string1, String strin...
package models; import javafx.animation.TranslateTransition; import javafx.scene.shape.Rectangle; import javafx.scene.layout.StackPane; import javafx.scene.paint.Color; import javafx.util.Duration; public class Element extends Rectangle { private final Color color = Color.valueOf("#ADD8E6"); private final double ...
package cs5387; /* <<author name redacted >> purpose of this program is to provide sort functions for Tables Version 1.0 */ public class tableSorter{ public boolean isSorted(Table t){ int range = t.getSize(); int prevVal=t.getTableValue(0,0); //prevVal is to compare to the previous element as follows fo...
package com.zcc.contactapp.server.db.mybatis.controller; import com.zcc.contactapp.server.dao.ContactInfo; import com.zcc.contactapp.server.db.mybatis.service.MybatisService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web....
package com.jim.multipos.ui.reports.summary_report; import com.jim.multipos.config.scope.PerFragment; import dagger.Binds; import dagger.Module; @Module public abstract class SummaryReportPresenterModule { @Binds @PerFragment abstract SummaryReportPresenter provideSummaryReportPresenter(SummaryReportPres...
package com.youthchina.util.permission; import com.youthchina.domain.zhongyang.User; /** * Created by zhongyangwu on 5/24/19. */ public interface HasOwner { default User getOwner() { User user = new User(); user.setId(this.getOwnerId()); return user; } Integer getOwnerId(); }
package com.zilker.taxi.bean; /* * Personal details of customer. */ public class Customer { private String firstName; private String lastName; private String mailId; public Customer() {} public Customer(String firstName, String lastName, String mailId) { super(); this.firstName = firstName; this....
package example; import org.springframework.data.repository.CrudRepository; public interface ExportLogRepository extends CrudRepository<ExportLog, Integer> { }
package com.epam.restaurant.service; import com.epam.restaurant.dao.exception.DaoException; import com.epam.restaurant.dao.factory.SqlDaoFactory; import com.epam.restaurant.dao.impl.CategorySqlDao; import com.epam.restaurant.dao.impl.DishSqlDao; import com.epam.restaurant.entity.Category; import com.epam.restaurant.en...
package twilight.bgfx.buffers; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.ShortBuffer; /** * * @author tmccrary * */ public class TransientIndexBuffer { long data; long size; int handleId; long startIndex; public long pointer; /** * * @return ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package subsystems; import commands.NetDisable; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj.command.Subsystem; import robot.RobotMap; /** * NOT USED * @author Ben */ // NOT USED pub...
package com.ev.q3; import java.util.HashSet; public class ScatterPalindrome { public static void main(String[] args) { // TODO Auto-generated method stub String s1="abaaa"; HashSet<String> hs= scatterPalindromes(s1); System.out.println(hs); } private static HashSet<String> scat...
package com.acme.paymentserver.dto; import lombok.*; import java.io.Serializable; import java.util.List; @Data @Builder @AllArgsConstructor @NoArgsConstructor public class ResponseErrorDTO implements Serializable { private List<String> erros; }
package servlets.Admin; import entities.Asset; import entities.Results; import persistence.AssetDao; import servlets.BaseServlet; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet...
package de.hso.sem.rw; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.standard.StandardAnalyzer; import org.apache.lucene.document.Field; import org.apache.lucene.document.StringField; import org.apache.lucene.document.TextField; import org....
package ru.javabegin.training.webservices.testservice; import javax.jws.WebService; import javax.jws.WebMethod; import javax.jws.WebParam; @WebService(serviceName = "TestWS") public class TestWS { @WebMethod(operationName = "correctName") public String correctName(@WebParam(name = "name") String name) { ...
package kr.co.sist.mgr.room.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; ...
package com.tefper.daas.parque.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.IdClass; import javax.persistence.Table; import lombok.Data; @Entity @Table(name = "APPILIMITADA") @IdClass(AppsIlimitadaIdentity.class) @Data public class Ap...
package edu.curd.dto; import edu.curd.operation.JDBCDataObject; public class TeacherDTO implements JDBCDataObject { private int teacherId; private String userName; private String password; private String timeStamp; public TeacherDTO() { } public TeacherDTO(int teacherId, St...
package com.company.Exceptions; public class CannotFindMealException extends Exception { public CannotFindMealException() { super("Meal Not Found ! \n Try another meal"); } }
import java.util.Scanner; public class String_typ{ public static void main(String args[]){ String str="envelope book"; System.out.println(str.replace('e','a')); System.out.println(str.replaceFirst("envelope","Cover")); System.out.println(str.replaceAll("envelope","book")); System.out.println(str.contains("u")); System....
package com.deltastuido.project.interfaces; import java.math.BigDecimal; import java.sql.Timestamp; import java.time.Duration; import java.time.Instant; import java.time.temporal.ChronoUnit; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; imp...
package com.snow.weevideo.module.attention; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.snow.weevideo.R; import me.yokeyword.fragmentation.SupportFragment; /** * @user steven * @createDate 2019/6/24 16:51 * @description 自定义 */ ...
package com.korea.mvc17.dao; import java.util.ArrayList; import com.koreait.mvc17.dto.BoardDto; public interface BoardDao { public ArrayList<BoardDto> list(); // list 메소드명 public BoardDto view(int bIdx); public int modify(String bTitle, String bContent, int bIdx); public int write(String bWriter, S...
package net.cupmouse.minecraft.eplugin.music; import com.flowpowered.math.vector.Vector3d; import org.spongepowered.api.entity.living.player.Player; import org.spongepowered.api.world.Location; public final class NoteLayer { private final NoteSound[] ticks; private float volume = 1F; public NoteLayer(No...
package com.hb.javacad.panel; import java.awt.Color; import javax.swing.JToggleButton; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; public class ShapeButton extends JToggleButton implements ChangeListener{ /** * */ private static final long serialVersionUID = -37457303812927...
package rs.code9.taster.repository; import java.util.List; import rs.code9.taster.model.Question; /** * Question JPA access layer interface. * * @author s.bogdanovic * @author r.zuljevic */ public interface QuestionRepository extends BaseRepository<Question> { /** * Find and return questions by category id....
package aws_social.social; import org.testng.annotations.Test; import actions.Actions; import objectrepository.Social.Global; import objectrepository.Social.POM_Posts; import resusablemethods.RU_Login_Logout; import resusablemethods.RU_Posts; import testdata.ConfigData; import testdata.TestData; import uti...
package Zad2; import java.util.LinkedList; import java.util.Queue; import java.util.Scanner; public class Kolejki { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); Queue<Integer> tenNumbersQueue = new LinkedList<>(); for (int i = 0; i < 10; i++) { ...
package LessonsJavaCore_3; import static MyClassesToWork.Print.print; public class LessonCircleMain { public static void main(String[] args){ print ( "ведіть радіус" ); LessonCircle circle = new LessonCircle (); circle.scanner.nextLine (); print ( "діаметер - " + circle.d...
package ladder.DynamicProgrammingII; /** * Given a string s and a dictionary of words dict, determine if s can be break into * a space-separated sequence of one or more dictionary words. * * Given s = "leetcode", dict = ["leet", "code"]. * Return true because "lintcode" can be break as "lint code". */ public cl...
package com.mantisclaw.italianpride15.ridesharehome; import java.net.URLEncoder; /** * Created by italianpride15 on 2/22/15. */ public class UberRideModel extends BaseRideModel { private static final String uber_client_id = "XikKX8YmAoiTaE4PxmvKK2xImKtMFKIG"; private static final String uber_server_token ...
package fr.pederobien.uhc.commands.configuration.edit.editions.configurations.hungergame; import fr.pederobien.uhc.commands.configuration.edit.editions.CommonDelete; import fr.pederobien.uhc.dictionary.dictionaries.MessageCode; import fr.pederobien.uhc.interfaces.IHungerGameConfiguration; public class DeleteHungerGam...
package org.alienideology.jcord.event.guild.update; import org.alienideology.jcord.Identity; import org.alienideology.jcord.event.guild.GuildUpdateEvent; import org.alienideology.jcord.handle.guild.IGuild; /** * @author AlienIdeology */ public class GuildNotificationUpdateEvent extends GuildUpdateEvent { priva...
/* * [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...
package com.rastiehaiev.notebook.response; /** * @author Roman Rastiehaiev * Created on 04.10.15. */ public class RegisterUserResponse extends BaseResponse { }
package tkhub.project.kesbewa.data.db; import java.lang.System; @androidx.room.Database(entities = {tkhub.project.kesbewa.data.model.CartItem.class}, version = 2, exportSchema = false) @kotlin.Metadata(mv = {1, 1, 16}, bv = {1, 0, 3}, k = 1, d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\...
package com.amoraesdev.mobify.api.resources; import java.security.Principal; import java.util.ArrayList; import java.util.Collection; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; ...
package com.smartup.manageorderapplication.utils; import java.util.Random; public enum OrderStatus { OK, ERROR, FINALIZED; public static OrderStatus getRandomStatus () { return values()[new Random().nextInt(values().length-1)]; } }
import java.util.*; public class ChuiniuGame { private int[] dices; // 0, 1, ..., 4 -> player, 5, 6, ..., 9 -> computer private Random rand; private Scanner scan; public ChuiniuGame(Random rand, Scanner scan) { this.rand = rand; this.scan = scan; dices = new int[10]; for (int i = 0; i < dices.length; ++i...
package com.accp.pub.pojo; import java.util.Date; public class Leave { private Integer leaveid; private Integer userid; private Integer classid; private Integer gradeid; private String leavemessage; private Date starttime; private Date endtime; private Integer guishu; priva...
package com.tencent.mm.plugin.luckymoney.ui; import android.content.Intent; import android.graphics.Shader.TileMode; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Bundle; import android.view.KeyEvent; import android.view.LayoutInfl...
package com.rhysnguyen.casestudyjavaweb.entity; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import javax.persistence.*; import javax.validation.constraints.Email; import javax.validation.constraints.Min; import javax.validation.constraints.NotBlank; import javax.validation.constraints...
import java.lang.Math; import java.util.*; import java.util.concurrent.TimeUnit; //TimeUnit.SECONDS.sleep(1); public class BingoCard { private int[][] board = new int[5][5]; private boolean[][] guessArr = new boolean[5][5]; public String[][] boardS=new String[5][5]; public String boardFull; Scanner scan = new Scan...
/* * [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...
package br.com.professorisidro.paintbrush.core; public class Retangulo extends FormaGeometrica{ public Retangulo(int posX, int posY, int altura, int largura) { super(posX, posY, altura, largura); } @Override public void desenhar() { System.out.println("Desenho retangulo"); } }
/*** * 现在你总共有 n 门课需要选,记为 0 到 n-1。 * * 在选修某些课程之前需要一些先修课程。 例如,想要学习课程 0 ,你需要先完成课程 1 ,我们用一个匹配来表示他们: [0,1] * * 给定课程总量以及它们的先决条件,判断是否可能完成所有课程的学习? * * 示例 1: * * 输入: 2, [[1,0]] * 输出: true * 解释: 总共有 2 门课程。学习课程 1 之前,你需要完成课程 0。所以这是可能的。 * * 来源:力扣(LeetCode) * 链接:https://leetcode-cn.com/problems/course-schedule * 著作权归领...
package game.app.entities; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; impo...
package com.teebz.hrf.fragments; import com.teebz.hrf.helpers.ApplicationHelper; import com.teebz.hrf.R; import com.teebz.hrf.activities.SingleImageActivity; import com.teebz.hrf.entities.Call; import com.teebz.hrf.listeners.QuickReferenceListItemClickListener; import com.teebz.hrf.searchparsers.CallSearcher; ...