text
stringlengths
10
2.72M
package com.example.nutan.mescomplain; //import com.squareup.http.Response; import retrofit.client.Response; import retrofit.http.Body; import retrofit.http.POST; import rx.Observable; /** * Created by nutan on 9/21/15. */ public interface MESServices { // /** // * Creates an Observable with a Function to e...
package com.atguigu.java; /** * 1.用来保存数据。 * 2.对数组中的数据进行 增,删,改,查等操作。 * @author Administrator * */ public class CustomerList { private Customer[] customers;//用来保存数据 /* * 1.用来存放数据的索引值 * 2.当前用户的数量 */ private int total = 0; //用来记录当前用户的数量 /** * 构造器 : 初始化数组 * @param totalCustomer */ public CustomerL...
package com.lyzn.srcb.resource; public interface ResourceField { }
/* * Copyright 2002-2019 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 by.epam.kooks.entity; /** * @author Eugene Kooks */ public class BookInfo extends BaseEntity { @Override public String toString() { return "BookInfo{" + "amount=" + amount + ", price=" + price + ", book=" + book + '}'; } ...
package com.zlsu.dao.imp; import java.util.List; import javax.annotation.Resource; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.springframework.stereotype.Repository; import com.zlsu.dao.PersionDao; import com.zlsu.doma.Persion; @Repository("persionDa...
package arranger; import dotplot.*; /** * Class <code>DPArrangerResults</code> will set the sub-chain run for the block when results are added. * * @author "Austin Shoemaker" <austin@genome.arizona.edu> */ public class DPArrangerResults extends ArrangerResults { private Tile block; public DPArrangerResu...
package QaJava; public class compass{ static int[] nthPos= {0}; static int[] estPos= {0}; static int[] wstPos= {0}; static int[] sthPos= {0}; public void playerMapLocation() { if((nthPos[0]== 1) && (estPos[0]==1)) { System.out.println("you found a shard"); } } public void currentPos() { System.out.prin...
/** * Created with IntelliJ IDEA. * User: dexctor * Date: 12-11-20 * Time: 上午10:51 * To change this template use File | Settings | File Templates. */ public class p1_2_2 { public static void main(String[] args) { int N = StdIn.readInt(); Interval1D[] intervals = new Interval1D[N...
package com.hdy.myhxc.model; import java.util.ArrayList; import java.util.Date; import java.util.List; public class UserDepExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table m_userdep * * @mbg.generated Mon Aug 26 14:48:07 CST 2019 ...
/* * Copyright (c) 2008-2019 Haulmont. * * 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 agr...
import java.util.Scanner; public class CalculoFatorial { /* * Para uma sequência matemática onde cada elemento é calculado da seguinte forma: * 1!/N! ; 2!/(N-1)!; 3!/(N-2)!; ... ; (N! / 1!) * Crie um programa onde o usuário digite a quantidade de elementos que deseja exibir e * sejam exibidos os elementos ...
package com.lenovohit.hwe.treat.service.impl; import java.util.Map; import com.lenovohit.hwe.treat.dto.GenericRestDto; import com.lenovohit.hwe.treat.model.Feeitem; import com.lenovohit.hwe.treat.service.HisFeeitemService; import com.lenovohit.hwe.treat.transfer.RestEntityResponse; import com.lenovohit.hwe.treat.trans...
package com.gaoshin.cj.api; public enum LinkType { Banner("1", "Banner"), AdvancedLink("2", "Advanced Link"), TextLink("3", "Text Link"), ContentLink("7", "Content Link"), SmartLink("9", "SmartLink"), Catalog("10", "Product Catalog"), AdvertiserSmartZone("11", "Advertiser SmartZone"), F...
package patterns.behavioral.interpreter; import java.math.BigDecimal; public abstract class Expression { public abstract BigDecimal interpret(Context context); }
package com.example.springhibernate.hibernate.repositories; import com.example.springhibernate.hibernate.models.Writer; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface WriterRepository extends JpaRepository<Writer, Long> { }
package edu.nps.deep.beArtifactGui.d3; import java.io.Serializable; import java.util.ArrayList; import com.vaadin.annotations.JavaScript; import com.vaadin.ui.AbstractJavaScriptComponent; import elemental.json.JsonArray; @JavaScript({ "d3.min.js", "d3forcedirected.js", "forcedirected-connector.js"}) public class Fo...
package com.acagild.oopspart2.shirt; public class Shirt { private int shirtCollarSize,shirtSleeveLength; private String shirtMaterial; public int getShirtCollarSize() { return shirtCollarSize; } public void setShirtCollarSize(int shirtCollarSize) { this.shirtCollarSize = shirtCollarSize; } public int ...
package io.jrevolt.sysmon.cloud.model; /** * @author <a href="mailto:patrikbeno@gmail.com">Patrik Beno</a> */ public class ListHostsResponse extends ApiObject { }
package com.hr.personnel.controller; import java.util.HashMap; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.stereotype.Con...
package net.pravian.soiler.listener; import net.pravian.soiler.SeedType; import net.pravian.soiler.Soiler; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.Action; import o...
package com.joalib.donate.action; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.joalib.DAO.DonateDAO; import com.joalib.DTO.ActionForward; import com.joalib.DTO.Donate_ApplicationDTO; public class DonateApplicationDelAction implements Action{ @Override pub...
package com.huangfu.assembly.interception.config; import com.huangfu.assembly.interception.interceptions.MyInterceptionOne; import com.huangfu.assembly.interception.interceptions.MyInterceptionTwo; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import o...
package org.point85.domain.plant; import org.point85.domain.i18n.DomainLocalizer; public enum EntityLevel { ENTERPRISE, SITE, AREA, PRODUCTION_LINE, WORK_CELL, EQUIPMENT; @Override public String toString() { String key = null; switch (this) { case AREA: key = "area.level"; break; case ENTERPRISE: ...
package com.shensu.tool; public class UpdataName { // Maven_Project RegCompany 修改项目 appid 密钥 域名 public static String projectName="yhsc"; //玉先的 //public static String appid = "wxbe3edd9434a14587"; //public static String secret = "47b0814befd1ee161bdb32f462c65b71"; //我们公司注册 //public static String ...
import java.util.*; import java.io.*; public class prob10 { public static void main(String[] args) throws IOException { // TODO Auto-generated method stub //Scanner in = new Scanner(System.in); Scanner in = new Scanner(new File("prob10-1-in.txt")); while (true) { String line = in.nextLine(); if (!li...
package com.fxn.adapters; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; import com.fxn.modal.User; import com.fxn.stashapp.R; import java.util.ArrayList; /** * Created by akshay on 02/...
/* * 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 org.una.clienteaeropuerto.controllers; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import jav...
package com.union.express.commons.model.logisticsstop; /** * Created by wq on 2016/10/6. */ public class VLogisticsStop { private String id; private String orderNumber; private String stopName; private String receiveTime; private String outTime; private String stopMsg; private String sen...
package utility; import java.awt.image.BufferedImage; import java.io.IOException; import javax.imageio.ImageIO; public class BufferedImageLoader { private BufferedImage image; public BufferedImage loadImage(String path) throws IOException { if (!path.substring(0, 1).equals("/")) { path = "/" + path; } ...
package oop_ex1; import javax.swing.JFrame; import javax.swing.JLabel; public class show { JFrame fr = new JFrame("HCN"); JLabel lbl_tb =new JLabel("Hinh chu nhat"); JLabel lbl_cd = new JLabel(" Chieu dai: "); JLabel lbl_cr= new JLabel(" Chieu rong: "); public show(){ fr.add(lbl_tb)...
/* Copyright 2013 BurnerPat (https://github.com/BurnerPat) 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 business.concretes; import business.abstracts.GamePlayService; import business.abstracts.ScoreService; import entities.concretes.Gamer; public class ManScoreCalculator implements ScoreService { GamePlayService gamePlayService= new GamePlayManager(); @Override public double calculateScore(Gamer gamer...
package fabio.sicredi.evaluation.domain; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; @Data @NoArgsConstructor @AllArgsConstructor public class VoteKey implements Serializable { private Long pollId; private Long userId; }
package com.alpha.toy.vo; import java.util.Date; import org.springframework.format.annotation.DateTimeFormat; public class CommentVofr { private int comment_no; private int board_no; private int member_no; private String comment_content; @DateTimeFormat(pattern = "MM-dd") private Date comment_writedate; pub...
package leetcode.solution; import leetcode.struct.ListNode; /** * 21. 合并两个有序链表 * <p> * https://leetcode-cn.com/problems/merge-two-sorted-lists/ * <p> * 将两个升序链表合并为一个新的 升序 链表并返回。新链表是通过拼接给定的两个链表的所有节点组成的。  * <p> * 示例: * <p> * 输入:1->2->4, 1->3->4 * 输出:1->1->2->3->4->4 * <p> * Solution: 同时遍历两个链表,比对两个链表的节点值,使新链表...
package com.itheima.rabbitmq.simpleQueue; import com.itheima.rabbitmq.simpleQueue.Producer; import com.itheima.util.ConnectionUtil; import com.rabbitmq.client.*; import java.io.IOException; /** * 简单模式:消费者接收消息 */ public class Consumer { public static void main(String[] args) throws IOException { //创建连接工厂,创建连接...
/* * Created on Jan 17, 2007 * */ package com.citibank.ods.persistence.pl.dao.rdb.oracle; import com.citibank.ods.persistence.util.CitiStatement; import java.math.BigInteger; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java....
package ru.avokin.highlighting; import java.io.File; /** * User: Andrey Vokin * Date: 05.10.2010 */ public interface CodeHighlighterManager { CodeHighlighter getCodeHighlighter(File f); }
package com.needii.dashboard.service; import java.util.List; import com.needii.dashboard.model.Skus; import com.needii.dashboard.model.form.SearchForm; import com.needii.dashboard.utils.Pagination; public interface SkuService { List<Skus> findAll(SearchForm seachForm, Pagination pagination); Long count(Sear...
package loecraftpack.common.logic; import loecraftpack.LoECraftPack; import loecraftpack.common.gui.GuiDialog; import loecraftpack.common.gui.GuiIds; import net.minecraft.client.Minecraft; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @SideOnly(Side.CLIENT) public class LogicQuest { p...
package graphics; import static org.lwjgl.glfw.GLFW.GLFW_FALSE; import static org.lwjgl.glfw.GLFW.GLFW_RESIZABLE; import static org.lwjgl.glfw.GLFW.GLFW_TRUE; import static org.lwjgl.glfw.GLFW.GLFW_VISIBLE; import static org.lwjgl.glfw.GLFW.glfwCreateWindow; import static org.lwjgl.glfw.GLFW.glfwDefaultWindowHints; im...
package info.zhiqing.tinypiratebay.spider; import android.util.Log; import java.util.ArrayList; import java.util.List; import info.zhiqing.tinypiratebay.entities.Torrent; import info.zhiqing.tinypiratebay.entities.TorrentDetail; import info.zhiqing.tinypiratebay.util.CategoryUtil; import info.zhiqing.tinypiratebay.u...
/* * Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. * See LICENSE in the project root for license information. */ package com.microsoft.office365.meetingfeedback.view; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; im...
package gui; import dao.ClienteDAO; import javax.swing.ImageIcon; import javax.swing.JOptionPane; import models.Cliente; import validators.ClienteFormValidation; public class MaisInformacoes extends javax.swing.JFrame { private Cliente cliente; private MenuPrincipal menuPrincipal; private boolean isEdita...
package Modele.Pracownicy; public class Sprzedawca extends Pracownik { public int IloscDniPoszukiwan; public Sprzedawca(int StawkaMiesieczna, String imie, String nazwisko) { super(StawkaMiesieczna, imie, nazwisko); IloscDniPoszukiwan = 0; } public Sprzedawca() { } @Override ...
package com.crc.demo.activity; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ListView; import android.widget.TextView; import com.crc.demo.model.Person; import com.crcement.co...
package com.javawebtutor; import java.util.concurrent.TimeUnit; import com.javawebtutor.Entities.Dobavljac; import com.javawebtutor.Entities.ProizvodiVeleprodaja; public class DobavljacServiceImpl implements DobavljacService { public Dobavljac d; public void setDobavljac(Dobavljac dd) { d=dd; } public Dobavl...
/** * MIT License * <p> * Copyright (c) 2019-2022 nerve.network * <p> * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to...
package com.duanc.serivce.impl.web; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.duanc.api.web.ShopPageService; import com.duanc.inner.common.BasePhone...
package com.yeebar.aer; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import or...
package com.najasoftware.fdv.model; import java.io.Serializable; /** * Created by Lemoel on 09/03/2016. * Update by Viny on 29/11/2016. */ @org.parceler.Parcel public class Item implements Serializable { private Long id; private String nome; private Pedido pedido; private Produto produto; priv...
package jadx.gui.ui; import javax.swing.*; import javax.swing.event.HyperlinkEvent; import javax.swing.event.HyperlinkListener; import javax.swing.event.PopupMenuEvent; import javax.swing.event.PopupMenuListener; import javax.swing.text.BadLocationException; import javax.swing.text.Caret; import javax.swing.text.Defau...
package models; import java.util.List; public class Movie implements IModel{ private String name; private String genre; private String format; private Integer year; private String director; private List<String> writers; private List<String> stars; public Movie(){} public Movie(St...
package org.gavrilov.domain; import org.gavrilov.dto.CategoryDTO; import org.gavrilov.dto.WorldDTO; import org.gavrilov.mappers.CategoryMapper; import org.gavrilov.mappers.MapperFactory; import org.gavrilov.mappers.WorldMapper; import org.hibernate.annotations.Cache; import org.hibernate.annotations.CacheConcurrencyS...
package com.fanfte.netty.im.server.handler; import com.fanfte.netty.im.packet.request.QuitGroupRequestPacket; import com.fanfte.netty.im.packet.response.QuitGroupResponsePacket; import com.fanfte.netty.im.util.SessionUtil; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandl...
/*Shuting Yang * CST8110 section 340 * lab teacher name: Hubert Furey * This program is to add, delete and get string in an array * Assignment 4 * submission on December 2th 2018 */ public class Assign4 { public static void main(String[] args) { boolean testSucceeds; // Test that the default constructor ...
package com.miyatu.tianshixiaobai.activities.mine.attention; import android.view.View; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import com.miyatu.tianshixiaobai.R; import com.miyatu.tianshixiaobai.activities.BaseFragment; import com.miyatu.tianshixiao...
import java.util.Random; public class example32_06 { public static void main(String[] args) { System.out.println("Программа создает и инициализирует двумерный числовой массив, заполняет случайными числами \n"+"Из созданного массива удаляется строка и столбец, создается новый массив. \n"+"Индекс удаляемой строки...
package by.htp.test02.main; /* 2. Создйте класс Test2 двумя переменными. *Добавьте конструктор с входными параметрами. Добавьте конструктор, инициализирующий члены класса по умолчанию. Добавьте set- и get- методы для полей экземпляра класса. */ public class Main { public static void main(String[] args)...
package br.com.mixfiscal.prodspedxnfe.domain.wsmix; import java.io.Serializable; import java.util.Objects; import com.google.gson.annotations.SerializedName; public class Produto implements Serializable { private static final long serialVersionUID = -6620479549140089817L; private String codigoProduto; ...
package com.accolite.au.services.impl; import com.accolite.au.dto.BatchDTO; import com.accolite.au.dto.CustomEntityNotFoundExceptionDTO; import com.accolite.au.dto.SuccessResponseDTO; import com.accolite.au.mappers.BatchMapper; import com.accolite.au.models.Batch; import com.accolite.au.repositories.BatchRepository; i...
package domain; import java.util.Collection; import javax.persistence.Access; import javax.persistence.AccessType; import javax.persistence.ElementCollection; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Index; import javax.persistence.OneToOne; import javax.persisten...
package com.SearchHouse.pojo; import java.util.Set; public class QualityRating { private Integer qualityRatingId;// 信用编号 private String qualityRatingName;// 信用等级名称 private String qualityRatingInterval;// 信用等级区间 private Set<House> houses; public Integer getQualityRatingId() { return qualityRatingId; } publ...
package egovframework.adm.cfg.mng.service.impl; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Vector; import javax.annotation.Resource; import org.springframework.stereotype.Service; import egovframework.adm.cfg.mng.dao.ManagerDAO; import egovframework.adm.cfg.mng.service.M...
package com.luck.picture.lib.widget; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.util.AttributeSet; i...
import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static void almostSorted(int[] arr) { if(isSorted(arr)) { System.out.println("yes"); } int swap = -1; for(int i = 0;...
package com.gsccs.sme.plat.svg.dao; import com.gsccs.sme.plat.svg.model.SvorgT; import com.gsccs.sme.plat.svg.model.SvorgTExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface SvorgTMapper { int countByExample(SvorgTExample example); int deleteByExample(SvorgTExample example...
package com.bayestree.assesment.model; import java.util.List; import lombok.Data; import lombok.NoArgsConstructor; @Data @NoArgsConstructor public class ItemsModel { private List<Item> items; }
package com.contus.keerthi.myapp; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import an...
package com.syl.gateway.controller; import com.syl.gateway.service.GatewayRouteService; import com.syl.gateway.service.Impl.GatewayDynamicRouteService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cloud.gateway.filter.FilterDefinition; import org.springframework.cloud.gatew...
/* * 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...
package com.tyj.venus.dao; import com.tyj.venus.entity.Gadmin; public interface GadminRepository extends BaseRepository<Gadmin,Integer> { }
package com.fmi.decorator; public class DecoratorDemo { public static void main(final String[] args) { final IShape shape = new Circle(); shape.draw(); final AShapeDecorator decorator = new RedShapeDecorator(shape); decorator.draw(); } }
package configuration; public class FinalGrade { public String finalGrade(String grade) { String equi = ""; if(grade.equals("") || grade.equals("Not S")) equi = "Not S"; else if(grade.equals("0")) equi = ""; else if(grade.equals("I")) equi = "INC"; else if(grade.equals("5.00")) equi = "F"; els...
package ac.yedam.prod; import java.util.List; public interface InOutService { // 입출고관리 // 입고 public void insertIOV(InOutVo iov); // 출고 public void insertIOV1(InOutVo iov); // 전체재고 public List<InOutVo> getIOVList(); }
package com.cheese.radio.ui.user.profile; import android.content.Intent; import android.net.Uri; import android.os.Environment; import android.text.TextUtils; import com.alibaba.android.arouter.facade.annotation.Route; import com.binding.model.util.FileUtil; import com.cheese.radio.base.cycle.BaseActivity; import st...
package jp.ac.kyushu_u.csce.modeltool.spec.preference; import static jp.ac.kyushu_u.csce.modeltool.spec.constant.SpecPreferenceConstants.*; import jp.ac.kyushu_u.csce.modeltool.dictionary.dialog.DictionaryViewerFilter; import jp.ac.kyushu_u.csce.modeltool.spec.Messages; import jp.ac.kyushu_u.csce.modeltool.spec.ModelT...
package com.spreadtrum.android.eng; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class MMCReceiver extends BroadcastReceiver { private final String TAG = "MMCReceiver"; public void onReceive(Context context, Intent in...
package racingcar.domain; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; public class CarTest { private String carName = "pobi"; @Test public void 자동차_생성_후_이름_확인() { // when Car car = new Car(carName); // then assertThat(car.getName())....
package in.msmartpay.agent.dmr2Moneytrasfer; public class BankListModel { private String BankName; private String BankCode; public String getBankName() { return BankName; } public void setBankName(String bankName) { BankName = bankName; } public String getBankCode() { ...
package com.scalefocus.java.dbconfig; import java.util.HashMap; import java.util.Map; import javax.sql.DataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.context.annotation.Bean; import org.springframework...
package ua.epam.provider.servlet.tariff; import ua.epam.provider.dao.ServiceDao; import ua.epam.provider.dao.TariffDao; import ua.epam.provider.entity.Tariff; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServlet...
public class Validate { public boolean passed() { return true; } public boolean failed() { return false; } }
package com.infnet.at.client; import com.infnet.at.models.Produto; import org.springframework.stereotype.Component; import org.springframework.web.client.RestTemplate; @Component public class ProdutoClient { public Produto buscarProdutoPorId(Long id) { RestTemplate template = new RestTemplate(); ...
package com.dev.darrell.musicfinder.activity; import android.content.Intent; import android.media.AudioAttributes; import android.media.MediaPlayer; import android.os.Bundle; import android.os.Handler; import android.util.Log; import android.view.View; import android.widget.ImageView; import android.widget.SeekBar; im...
import java.util.Scanner; public class Problem1 { public static void main(String[] args) { // TODO Auto-generated method stub //Create a Scanner Scanner input = new Scanner(System.in); //user enters 3 numbers System.out.print("Enter 3 numbers: "); // JA: These numbers are supposed to be generated...
import exceptions.NoSuchAgeException; import javafx.beans.property.SimpleBooleanProperty; /** * Class represents a person * @author Duc Minh Le (s3651764) */ public class Person { public final String name; public final String photo; public final String status; public final boolean gender; publi...
package pl.dkiszka.bank.dto; import lombok.AllArgsConstructor; import lombok.Getter; /** * @author Dominik Kiszka {dominikk19} * @project bank-application * @date 21.04.2021 */ @AllArgsConstructor @Getter public class BaseResponse { private String message; }
package algo3.fiuba.modelo.cartas.efectos; import algo3.fiuba.modelo.Juego; import algo3.fiuba.modelo.cartas.Carta; public class EfectoNulo extends EfectoCarta { @Override public void activar(Carta carta) { } }
/** * Copyright 2014 Bill McDowell * * This file is part of theMess (https://github.com/forkunited/theMess) * * 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....
package com.lenovohit.hcp.base.web.rest; import org.apache.shiro.authz.UnauthenticatedException; import com.lenovohit.bdrp.authority.model.AuthPrincipal; import com.lenovohit.bdrp.authority.web.rest.AuthorityRestController; import com.lenovohit.hcp.base.model.HcpUser; public class HcpBaseRestController extends Auth...
/* * This file is part of bytebin, licensed under the MIT License. * * Copyright (c) lucko (Luck) <luck@lucko.me> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * i...
package ru.orbot90.guestbook.model; /** * @author Iurii Plevako orbot90@gmail.com **/ public enum PostApproval { APPROVED, ALL }
package hu.lamsoft.hms.regimen.contoller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation...
package com.library.network.interfaces; import android.os.Handler; import java.util.HashMap; import java.util.Map; /** * Created by admin on 2016/6/14. */ public abstract class IHttpParams { //请求地址 private String httpUrl; public String getHttpUrl() { return httpUrl; } public void set...
package old.Data20180427; import old.DataType.TreeNode; import java.util.LinkedList; public class SubTree { public static void main(String[] args){ TreeNode root = new TreeNode(8); root.left = new TreeNode(8); root.left.right = new TreeNode(9); root.left.left = new TreeNode(7); ...
package com.yc.education.service.sale; import com.yc.education.model.sale.SaleReturnGoodsProduct; import com.yc.education.service.IService; import java.util.List; /** * @author BlueSky * @Description: * @Date 15:23 2018-09-26 */ public interface ISaleReturnGoodsProductService extends IService<SaleReturnGoodsPr...
package ru.jft.first; import org.testng.Assert; import org.testng.annotations.Test; public class EquationTests { @Test public void test0() { Equation e = new Equation(0, 1, 1); Assert.assertEquals(e.rootNumber(), 0); } @Test public void test1() { Equation e = new Equation(1, 0, 1); Asse...
/** * Write a description of class ICommand here. * * @author (your name) * @version (a version number or a date) */ public interface ICommand { //public void setReceiverScreen(IReceiver receiver); }