text
stringlengths
10
2.72M
package com.lagou.edu; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; // 声明本项⽬是⼀个Eureka服务 @EnableEurekaServer @SpringBootApplication public class Lagou02CloudEurekaServer8...
package com.lasform.core.business.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web....
package model_practicaltest02.eim.systems.cs.pub.ro.model_practicaltest02; public interface Constants { public final static boolean DEBUG = true; public final static String TAG = "MODEL_PracticalTest02"; public final static String API_SERVER = "http://api.wunderground.com/api/bdfed6464b1c8ba1/conditions...
import java.util.Scanner; //못푼문제 ★ public class Q11729 { public static StringBuffer br; public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); br = new StringBuffer(); int n = sc.nextInt(); System.out.println((int)...
package com.github.dockerjava.api.model.metric; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; @JsonIgnoreProperties(ignoreUnknown = true) public class CpuStats { @JsonProperty("cpu_usage") private CpuUsage cpuUsage; @JsonProperty("throlling_...
package com.javawebtutor.Entities; import java.util.ArrayList; import java.util.Date; 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.persistence...
package edu.nmsu.Home.LocalSolver; import edu.nmsu.problem.Parameters; import org.jacop.constraints.XltC; import org.jacop.core.IntVar; import org.jacop.core.Store; import org.jacop.core.Var; import org.jacop.floats.core.FloatVar; import org.jacop.search.*; /** * Created by nandofioretto on 11/1/16. */ public abst...
package net.tecgurus.controller.dto; import javax.validation.constraints.Email; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.Positive; public class UsuarioDto { @NotEmpty(message = "Nombre no pude ser vacio") private String name; @Email(message = "Correo no valido") private ...
package com.mtl.demo.serviceA.feign; import com.mtl.hulk.annotation.MTLDTBroker; import com.mtl.hulk.context.BusinessActivityContext; import org.springframework.cloud.netflix.feign.FeignClient; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.RequestBody; import org.springframe...
package BotServer.server.service; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.TypeReference; import org.apache.commons.lang3.StringUtils; import java.io.FileInputStream; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; /** ...
package application.portfolios; import application.orders.Order; import javax.persistence.*; import javax.validation.constraints.NotNull; import java.util.List; @Entity public class Portfolio { @Id @GeneratedValue private long id; @NotNull private String name; private String description; ...
package application; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import model.dao.DaoFactory; import model.dao.DepartmentDao; import model.entities.Department; public class Program2 { public static void main(String[] args) { Scanner sc = new Scanner (System.in); DepartmentDa...
public class charu { public static void main (String args[]) { int a [] = {28, 12, 89, 73, 65, 18, 96, 50, 8, 36}; int i,j; for(i=1;i<a.length;i++) { int temp=a[i]; for(j=i-1;j>=0;j--) { if (temp > a[j]) { break; }else{ a[j+1] = a[j]; } } a[j+1]=temp; } for (int c=0;c<a.lengt...
package controller; import dao.NEXEntityDAO; import model.Students; 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; import ...
/** * */ package com.DB.dao.SQLServer; import java.sql.PreparedStatement; import java.sql.SQLException; import com.DB.dao.LoginDao; import com.DB.model.Login; /** * @author Bruce GONG * */ public class LoginDaoImpl implements LoginDao { private DBHelper dbhelper = null; public LoginDaoImpl...
package pl.coderslab.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.transaction.annotation.Transactional; import org.springframework.ui.Model; import org.springframework.validation.BindingResult; import org.springf...
package com.detroitlabs.comicview.model; import com.fasterxml.jackson.annotation.JsonProperty; public class firstApperedInIssue { private String apiDetailsUrl; private String id; private String name; private String issueNumber; @JsonProperty("api_detail_url") public String getApiDetailsUrl()...
package my.blog.controllers; import io.micronaut.context.annotation.Property; import io.micronaut.core.type.Argument; import io.micronaut.http.HttpRequest; import io.micronaut.http.HttpResponse; import io.micronaut.http.HttpStatus; import io.micronaut.http.MediaType; import io.micronaut.http.client.RxStreamingHttpClie...
package neighbourhood; import alg.np.similarity.SimilarityMap; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; /** * An abstract base class to compute neighbourhood formations in UBCF recommenders */ public abstract class Neighbourhood { private Map<Integer,Set<In...
package com.javarush.task.task07.task0718; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Scanner; /* Проверка на упорядоченность */ public class Solution { public static void main(String[] args) throws IOException { ...
package pkga3; public class A3 { public String doIt() { return "from A3"; } }
package gov.nih.mipav.view.renderer.J3D.surfaceview.plotterview; import gov.nih.mipav.view.*; import gov.nih.mipav.view.renderer.J3D.*; import gov.nih.mipav.view.renderer.J3D.surfaceview.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; /** * Dialog to turn bounding box of surface renderer on ...
package com.alex.pets; import com.alex.exceptions.PetIsDeadException; import com.alex.plants.Dyplo; public class Squirrel extends Pet implements Alive { private String name; private String breed; public Squirrel(String someName, String breed) { super(); this.name = someName; this...
package behavioral.iterator.my; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { private static Scanner scanner = new Scanner(System.in); public static void main(String[] args) { SocialNetwork socialNetwork = new Facebook(getTestProfiles()); Spam...
//package org.zerhusen.config; // //import org.springframework.context.annotation.Bean; //import org.springframework.context.annotation.Configuration; //import org.springframework.context.annotation.Import; //import org.springframework.context.annotation.PropertySource; //import org.springframework.core.env.Environment...
package com.saasxx.core.config; public class Constants { /** * 以下是包扫描路径常量 **/ final static String BACKAGE_SCHEMA = "com.saasxx.**.schema"; final static String BACKAGE_DAO = "com.saasxx.**.dao"; final static String BACKAGE_SERVICE = "com.saasxx.**.service"; final static String BACKAGE_STAR...
/** * Project Name:market * File Name:Bill.java * Package Name:com.market.entity * Date:2020年4月29日下午5:09:26 * Copyright (c) 2020, 277809183@qq.com All Rights Reserved. * */ /** * Project Name:market * File Name:Bill.java * Package Name:com.market.entity * Date:2020年4月29日下午5:09:26 ...
import java.util.Scanner; import java.util.Arrays; /* * Class: Game * Description: The class represents a single Game item for * any type of item that can be hired. * It is also contains functions that are needed to modify the hiring record * and build a string containing the information contained ...
package com.example.testingswapi; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.RelativeLayout; import android.widget.TextView; import java.util.List; public class PeopleAdapter ex...
package com.jgw.supercodeplatform.trace.vo; import java.util.List; import com.jgw.supercodeplatform.trace.dto.blockchain.NodeInsertBlockChainStruct; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @ApiModel(value = "区块链返回前端节点数据详情model") public class NodeBlockChainInfoVO { @...
package com.lyl.core.dao.domain; import java.util.ArrayList; import java.util.List; public class GalaxyExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table galaxy * * @mbg.generated */ protected String orderByClause; /** ...
package com.gaoshin.business; import com.gaoshin.beans.NotificationList; import com.gaoshin.beans.User; public interface NotificationService { NotificationList after(User user, Long after, int size, boolean markRead, boolean unreadOnly); NotificationList before(User user, Long before, int size); }...
/** * 最大子序和 https://leetcode-cn.com/problems/maximum-subarray/ */ public class 最大子序和 { public int maxSubArray3(int[] nums) {//正数的增益性,sum如果小于0,那加上num[i]肯定更小,这时候sum应该为nums[i] int sum=nums[0],max=nums[0]; for(int i=1;i<nums.length;i++){ sum=sum>=0?sum+nums[i]:nums[i]; max=Mat...
package f.star.iota.milk.ui.www52guzhuang.www; import android.os.Bundle; import f.star.iota.milk.base.ScrollImageFragment; public class WWWFragment extends ScrollImageFragment<WWWPresenter, WWWAdapter> { public static WWWFragment newInstance(String url) { WWWFragment fragment = new WWWFragment(); ...
package com.qst.chapter08; import android.app.DownloadManager; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import...
package Server; import util.BoundedBuffer; import util.LoggingPacket; import util.Snake; import java.util.concurrent.CopyOnWriteArrayList; /** * The worker class of the entire project. We expect to load this file first then * fire all relevant threads to start the snake game, the goal of the Server is to allow a ...
package uk.co.monkeypower.openchurch.portlet; import javax.portlet.PortalContext; import org.apache.pluto.container.CCPPProfileService; import org.apache.pluto.container.EventCoordinationService; import org.apache.pluto.container.FilterManagerService; import org.apache.pluto.container.NamespaceMapper; import org.apac...
package com.citibank.ods.common.taglib; import javax.servlet.jsp.JspException; import org.apache.struts.taglib.TagUtils; import org.apache.struts.util.MessageResources; import com.citibank.ods.common.dataset.DataSet; import com.citibank.ods.common.dataset.DataSetRow; /** * * Custom Tag utilizada para...
package controller; import algorithms.maze.Maze3d; import model.Model; import view.View; /** * This class is about displaying the board of the maze * According to one cross in a certain index * @author Tuval Lifshitz * */ public class DisplayCrossCommand implements Command { View v; Model m; Maze3d myMaze; ...
package org.openmrs.module.jsslab.rest.v1_0.resource; import java.util.List; import org.openmrs.annotation.Handler; import org.openmrs.api.context.Context; import org.openmrs.logic.rule.definition.RuleDefinition; import org.openmrs.logic.rule.definition.RuleDefinitionService; //import org.openmrs.module.jssla...
package ro.ase.csie.cts.g1093.mironcristina.assignment3.prototype; import static org.junit.Assert.*; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; public class TestPrototype { @BeforeClass public static void setUpBeforeClass() th...
package com.jianwuch.giaifu.module; import android.Manifest; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.view.ViewPager; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import com.jianwuch.g...
/* * Created on 14/11/2008 */ package com.citibank.ods.persistence.pl.dao.rdb.oracle; import com.citibank.ods.common.persistence.dao.rdb.oracle.BaseOracleDAO; import com.citibank.ods.persistence.pl.dao.BaseTplIpDocTransFinancDAO; /** * @author lfabiano * @since 14/11/2008 */ public abstract class Bas...
package com.kodilla.stream.array; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; public class ArrayOperationsTestSuite{ @Test void testGetAverage(){ //Given int[] numbers = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; double average = 5.5; //When dou...
package com.zp.integration.common.errors; public interface ServiceErrors { String getCode(); String getMessage(); }
package com.duanc.mapper.base; import com.duanc.model.base.BaseUserRoleExample; import com.duanc.model.base.UserRoleKey; import java.util.List; import org.apache.ibatis.annotations.Param; public interface UserRoleMapper { int countByExample(BaseUserRoleExample example); int deleteByExample(BaseUser...
/* * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.hristofor.mirchev.outfittery.challenge.stylists.dtos; import com.hristofor.mirchev.outfittery.challenge.stylists.repository.StylistStatus; import java.io.Serializable; import java.time.ZoneId; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; public class StylistDT...
package com.tdr.registrationv3.ui.fragment.register; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.RelativeLayout; import android.widget.TextView;...
package de.varylab.discreteconformal.math; import de.jreality.math.Rn; import de.jtem.mfc.field.Complex; public class CP1 { protected static double[] sphereToParaboloid = { 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 1 }; protected static double[] paraboloidToSphere = { 1, 0, 0, -1, 0, 2, 0, 0, ...
package com.webproject.compro.web.controllers; import com.webproject.compro.utility.Converter; import com.webproject.compro.web.enums.GetItemResult; import com.webproject.compro.web.services.ApiService; import com.webproject.compro.web.vos.*; import org.json.JSONArray; import org.json.JSONObject; import org.springfram...
import java.util.ArrayList; import java.util.HashMap; import java.util.Map; /** * Created by Ali on 5/18/2017 AD. */ public class Reshteh { private String name; private Map<Reshteh, Minor> minors = new HashMap<Reshteh, Minor>(); private ArrayList<Gerayesh> gerayeshHa = new ArrayList<Gerayesh>(); pub...
public class ArraySum1 { public static int[] arrSum(int arr1[],int arr2[],int strt,int[] res) { if(arr1.length>arr2.length) { if(strt==arr1.length) return res; if(strt<arr2.length) { res[strt]=arr1[strt]+arr2[strt]; ...
package com.hzero.order.domain.repository; import com.hzero.order.api.controller.dto.OrderReturnDTO; import com.hzero.order.domain.entity.SoHeader; import org.hzero.mybatis.base.BaseRepository; import java.util.List; /** * 资源库 * */ public interface SoHeaderRepository extends BaseRepository<SoHeader> { void up...
package p0400; import java.awt.BorderLayout; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JColorChooser; import p0200.P0215CP; import java.awt.Color; import java.awt.Rectangle; import java.awt.event.Act...
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Scope; import org.springframework.context.annotation.ScopedProxyMode; import org.springframework.stereotype.Component; import org.springframework.stereotype.Controller; import org.springframework.stereotype.Se...
package edu.mycourses.adt.basic.analysis; public class ClosestPair { public static void main(String[] args) { // TODO Auto-generated method stub } }
package com.dqm.utils; import java.net.InetAddress; import java.net.UnknownHostException; import java.nio.ByteBuffer; import java.util.Arrays; /** * Created by dqm on 2018/8/31. */ public class IpUtil { /** * 将ipv6转成v4 * @param ipv6 * @return int可能为负数 * @throws UnknownHostException */ ...
package com.beike.core.service.trx; import java.util.HashMap; import java.util.Map; import javax.annotation.Resource; import org.springframework.stereotype.Service; import com.beike.common.enums.trx.VoucherType; import com.beike.util.EnumUtil; /** * @Title: VoucherSendFactory.java * @Package com.be...
package aufgabenserie1.mitti.ch; import javax.swing.JButton; public class MyButton extends JButton { int counter; public MyButton(String name){ super(name); counter = 0; } public void count(){ counter++; } public int getCount(){ return counter; } }
package dwz.framework.identity.impl; import java.io.Serializable; import dwz.framework.identity.Identity; /** * @Author: LCF * @Date: 2020/1/8 16:40 * @Package: dwz.framework.identity.impl */ public class SessionIdentity implements Identity { private Serializable accessToken = null; public SessionIden...
package org.fonuhuolian.videoplay; import android.content.Context; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import java.util.ArrayList; import java.util.List; public abstract ...
package com.deepakm.kstreams.echo; import com.deepakm.kstreams.ConfigKeys; import com.deepakm.kstreams.StreamingClient; import com.deepakm.kstreams.sink.ConsoleSink; import com.deepakm.kstreams.sink.HttpSink; import com.deepakm.kstreams.sink.Sink; import org.apache.http.HttpResponse; import org.apache.http.NameValuePa...
package com.example.android.quizapp; import org.junit.Test; import java.util.ArrayList; import static org.junit.Assert.*; public class QuestionTest { private static final QuestionManager questionManager = new QuestionManager(); @Test public void textEntryQuestionTest() throws Exception { TextE...
package com.nefi.chainrat.server.network.ControlServer.CommandHandler; import com.google.common.base.Charsets; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.nefi.chainrat.server.network.ControlServer.packets.Packet; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerCo...
/* * SocialAdapter * * Version 1.0 * * November 25, 2017 * * Copyright (c) 2017 Team 26, CMPUT 301, University of Alberta - All Rights Reserved. * You may use, distribute, or modify this code under terms and conditions of the Code of Student Behavior at University of Alberta. * You can find a copy of the licen...
package com.romens.yjkgrab.ui.fragment; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.text.TextUtils; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGrou...
package com.sprint.crm.pojo; public class Roles { private Integer roleId; private String name; public Roles() { super(); // TODO Auto-generated constructor stub } public Roles(Integer roleId, String name) { super(); this.roleId = roleId; this.name = name; } public Integer g...
package com.corebaseit.advancedgridviewjson.models; import android.provider.BaseColumns; /** * Created by Vincent Bevia on 27/10/16. <br /> * vbevia@ieee.org */ public class FavoritesListModel { private long id; private String title; private String extra_text; public long getId() { retur...
package io.github.matheus.domain.repository; import io.github.matheus.domain.entity.Produto; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param; import java.util.List; public interface Produtos ext...
package nesto.walker.bean; /** * Created on 2015/8/5 14:25 */ public class GpsStatusCode { public static final int GPS_STATUS_CHANGED = 100; public static final int LOCATION_CHANGED = 101; }
package clinic.service; import java.util.Arrays; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.web.client.RestTemplate; import clinic.business.Doctor; import clinic.business.Nurse; @Service public cla...
package roshaan.quizapplication.activities; import android.app.Activity; import android.content.Intent; import android.databinding.DataBindingUtil; import android.graphics.drawable.Animatable; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View...
package pdamjanovic.service; import pdamjanovic.calculation.CostPathPair; import pdamjanovic.model.Airport; import java.io.IOException; import java.util.Map; /** * Created by p.damjanovic on 11/18/2017. */ public interface RouteService { public CostPathPair<Integer> findRoute(Map<String, Airport>...
/* * 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.tfar.servicesImpl; import com.tfar.dao.FrereDao; import com.tfar.entity.Frere; import com.tfar.services.FrereService; imp...
package com.prep.quiz83; import java.util.Random; //Write a function that given a list of items and weights return a random item in the list with probability relative to the weights public class Drill14 { public static void main(String[] args){ //given item int[] input ={1,3,5,7,9}; //probabi...
/* * Copyright (C) 2019 The Android Open Source Project * * 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 app...
package com.fanoi.dream.module.update.beans; import java.io.Serializable; /** * 升级 * * @author JetteZh * */ public class Update implements Serializable { private static final long serialVersionUID = -6899516758129656897L; private String arid; private String name; private String version; private String o...
package com.example.ips.service; import com.example.ips.model.ServiceDepUatUp; import java.util.List; import java.util.Map; public interface ServiceDepUatUpService { /** * 查询全部uatUp信息 * @return */ List<ServiceDepUatUp> getAllUatUp(); /** * 根据主键查询uatUp信息 */ ServiceDepUatUp ge...
/* ExecutionResolver.java Purpose: Description: History: Fri Jun 24 12:22:23 2005, Created by tomyeh Copyright (C) 2005 Potix Corporation. All Rights Reserved. {{IS_RIGHT This program is distributed under LGPL Version 2.1 in the hope that it will be useful, but WITHOUT ANY WARRANTY. }}IS_RIGHT */ pa...
package f.star.iota.milk.ui.xiuren.xiu; import android.os.Bundle; import f.star.iota.milk.base.ScrollImageFragment; public class XiuRenFragment extends ScrollImageFragment<XiuRenPresenter, XiuRenAdapter> { public static XiuRenFragment newInstance(String url) { XiuRenFragment fragment = new XiuRenFrag...
package ranner; public class ranner { }
package com.upokecenter.cbor; /* Written by Peter O. in 2014. Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ If you like this, you should donate to Peter O. at: http://peteroupc.github.io/ */ import com.upokecenter.util.*; import com.upokecenter.numbers.*; final ...
package slimeknights.tconstruct.tools; import com.google.common.eventbus.Subscribe; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.client.event.ModelRegistryEvent; import net.minecraftforge.event.RegistryEvent.Register; import net.minecraftforge.fml.common.SidedProxy; i...
package SixGen.World; import SixGen.GameObject.GameObject; import SixGen.Handler.Handler; import SixGen.Window.SixCanvas; import java.awt.Color; import java.awt.image.BufferedImage; import java.util.LinkedList; import SixGen.GameObject.GameObject.TexturePosition; import SixGen.Utils.Utils.Direction; /** * * Worl...
package removeNthFromEnd19; import dataStructure.ListNode; import java.util.*; /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(int x) { val = x; } * } */ public class Solution { /** * 额外空间 * @param head * @param n * ...
package com.openfeint.game.archaeology.message; import com.openfeint.game.message.GenericMessage; public class NewPlayerMessag extends GenericMessage { private String playId; public NewPlayerMessag(String playId) { this.playId = playId; } public String getPlayId() { return pl...
import java.io.*; class Account {//implements Serializable{ private int accno; private float balance; /* System.out.println("Enter the balance"); balance=Float.parseFloat(br.readLine()); } catch (Exception e) { System.out.println(e.toString()); } }*/ public void disp(){ S...
package com.clicky.profepa; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.util.Log; import com.clicky.profepa.data.Documentos; import com.clicky.profepa.data.MateriaPrima; import com.clicky.profepa.data.PROFEPAPreferences; import com.clicky.pr...
package com.citibank.ods.entity.pl.valueobject; /** * @author m.nakamura * * Representação da tabela de Requerimento de Execução de Processos de Carga. */ public class TplLoadProcExecRequestEntityVO extends BaseTplLoadProcExecRequestEntityVO { }
/* * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package org.kuali.ole.docstore.document.rdbms; import org.kuali.ole.DocumentUniqueIDPrefix; import org.kuali.ole.docstore.model.rdbms.bo.BibRecord; import org.kuali.ole.docstore.model.xmlpojo.ingest.RequestDocument; import org.kuali.rice.krad.service.BusinessObjectService; import java.util.HashMap; import java.util.L...
package com.challenge.drawme.email; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.widget.Toast; import com.challenge.drawme.R; import com.challenge.drawme.io.BitmapIo; /** * Utility for working with emails. */ public class EmailUtil { /* public s...
package exercicio05; public class FabricaFiat implements FabricadeCarros { @Override public CarroSedan criarCarroSdedan() { return new Siena(); } @Override public CarroPopular criarCarroPopular() { return new Palio(); } }
package flowers.bean; import flowers.bean.ifaces.Flower; import java.awt.*; public class Daisy extends Flower { private static final int flowerPrice = 10; private static final String name = "Daisy"; public Daisy() { super(name, flowerPrice); } }
package dominio.participantes; public class Participante extends Pessoa { private String email; private int valorPagar; private int qtdConvidados; private String situacao; private boolean pago; public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } publ...
//accept MxN matrix n numbers calculate and display total count of even and odd? import java.util.*; class even_odd { public static void main (String[] args) { Scanner x=new Scanner(System.in); int r,c; System.out.print("Enter size of Row/dimminson:-"); int m=x.nextInt(); System.out.print("Enter size of columa...
public class Member { public Data currentSolution; public Data bestSolution; private FocusGroup group; public Data impact; public Member(Data impact,FocusGroup group) { this.impact = impact; this.group = group; } }
package com.pdd.pop.sdk.http.api.request; import com.pdd.pop.ext.fasterxml.jackson.annotation.JsonProperty; import com.pdd.pop.sdk.http.api.response.PddOneExpressCostTemplateResponse; import com.pdd.pop.sdk.http.HttpMethod; import com.pdd.pop.sdk.http.PopBaseHttpRequest; import com.pdd.pop.sdk.common.util.JsonUtil; ...
package io.github.zunpiau; import java.text.MessageFormat; public class Dict { private static final String BASE_VOICE_URL = "http://dict.youdao.com/dictvoice?audio="; private String word; private String phone; private String speech; public Dict(String word) { this.word = word; } ...