text
stringlengths
10
2.72M
package com.davivienda.utilidades.ws.gestor.cliente; //OLD: package com.davivienda.multifuncional.clientews; import com.davivienda.utilidades.Constantes; import com.davivienda.utilidades.log.SaraSOAPHandlerResolver; import com.davivienda.utilidades.ws.cliente.envioTransportadora.EnvioTransportadoraDto; import com.davi...
package com.mediafire.sdk.response_models; public class ApiResponse implements MediaFireApiResponse { private String action; private String message; private String result; private int error; private String current_api_version; private String new_key; @Override public final String getAc...
package com.babin.csvreconciler.dao; import com.babin.csvreconciler.model.QwoRecord; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; import java.util.Optional; public interface QwoRecordDao extends JpaRepository<QwoRecord, Long> { Optional<QwoRecord> findOneByCustomerNumberI...
package fun.modelbook.boxssoserver.controller.api; import fun.modelbook.boxssoserver.controller.ApiBaseController; import io.swagger.annotations.Api; /** * @author jory * @date 2019-03-15 */ @Api(tags = "应用管理接口") public class AppController extends ApiBaseController { }
import java.io.*; import java.util.*; class sameline { public static void main(String[] args) { Scanner kb=new Scanner(System.in); int x[]=new int[3]; int y[]=new int[3]; for(int i=0;i<3;i++) { x[i]=kb.nextInt(); y[i]=kb.nextInt(); } if((x[0]==x[1])&&(x[1]==x[2])) { System.out.println("yes");...
/* * 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 studentmanagementsystem.courseregistration; import java.sql.Connection; import java.sql.Statement; import javax.swing.JOptionP...
package ra.sumbayak.maverick.rest; import android.support.annotation.NonNull; import android.util.Log; import retrofit2.*; public abstract class QRCallback<T> implements Callback<T> { @Override public void onResponse (@NonNull Call<T> call, @NonNull Response<T> response) { T body = response.body...
package com.sinodynamic.hkgta.dao.crm; import org.springframework.stereotype.Repository; import com.sinodynamic.hkgta.dao.GenericDao; import com.sinodynamic.hkgta.entity.crm.PresentMaterialSeq; @Repository public class PresentMaterialSeqDaoImpl extends GenericDao<PresentMaterialSeq> implements PresentMaterialSeqDa...
package com.zc.pivas.statistics.bean.configFee; import java.util.ArrayList; import java.util.List; /** * 配置费报表 批次名称bean * * @author jagger * @version 1.0 */ public class ConfigFeeBatchStatusBarBean { /** * 批次名称列表 */ private List<String> batchNameList = new ArrayList<String>(); ...
package com.binarysprite.evemat.page.product.data; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * * @author Tabunoki * */ public class Group implements Serializable { /** * */ private int id; /** * */ private String groupName; /** * */ private Strin...
package com.library.demo.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.library.demo.entity.Book; import com.library.demo.repo.BookRepository; @Service public class BookServiceImpl implements BookService { @A...
package minesweeper.squares; import minesweeper.Board; public class CornerSquare extends Square { public CornerSquare(int row, int col, char symbol) { super(row, col, symbol); } @Override public int getBombsInPerimeter(final Board board) { int bombsAroundEmptySpace = 0; i...
package com.test.base; import com.test.SolutionA; import com.test.SolutionB; import junit.framework.TestCase; public class Example extends TestCase { private Solution solution; @Override protected void setUp() throws Exception { super.setUp(); } public void testSolu...
/** * */ package Com.crm.qa.pages; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; import Com.crm.qa.Base.TestBase; /** * @author guptaav * */ public class HomePage extends TestBase { @FindBy(xpath="//a[contains(text(),'Home...
package com.cognizant.truyum.dao; import java.util.List; import com.cognizant.truyum.model.MenuItem; public interface CartDao { public void addCartItem(long userId,long menuItemId); public List<MenuItem> getAllCartItems(long userId)throws CartEmptyException; public void removeCartItem( long userId, lon...
package org.itst.service.impl; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.List; import java.util.Map; import org.itst.dao.EquipmentMapper; import org.itst.domain.Equipment; import org.itst.service.EquipmentService; import org.springframework.beans.factory.annotation.Autowired; im...
package viewsControllers; import database.DatabaseHandler; import database.MysqlDatabaseHandler; import javafx.collections.FXCollections; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.fxml.Initializable; import javafx.geometry.Pos; import javafx.scene.control.*; import javafx.scene.l...
package com.rudolfschmidt.amr.consumers; import com.rudolfschmidt.amr.nodenizer.Attribute; import com.rudolfschmidt.amr.nodenizer.Node; import com.rudolfschmidt.amr.nodenizer.NodeType; import java.io.IOException; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import java.util.Optional; ...
package coffeemachine; public enum CoffeeType { ESPRESSO(25, 16, 4), LATTE(350, 20, 7, 75), CAPPUCCINO(200, 12, 6, 100); private int water; private int beans; private int price; private int milk; private CoffeeType(int water, int beans, int price) { this.water = water; ...
package Telas; import Controle.ControleVisualizar; import Controle.ControlePagamento; import Controle.ControleNovaVenda; import Controle.ControleRemover; import Controle.ControleAdicionar; import Controle.ControleFinalizarVenda; import Controle.ControleIniciarBalanca; import Supermercado.BD; import Supermercado.Caixa;...
package org.sunshinelibrary.turtle.webservice; /** * User: fxp * Date: 10/14/13 * Time: 5:57 PM */ public class WebServiceException extends Exception { public WebServiceException(String s) { super(s); } public WebServiceException(Exception e) { super(e); } }
package com.bashan.godot.facebook; import android.content.Intent; import android.os.Bundle; import android.util.Log; import androidx.annotation.NonNull; import com.facebook.AccessToken; import com.facebook.CallbackManager; import com.facebook.FacebookCallback; import com.facebook.FacebookException; import com.facebo...
package org.pentaho.di.pojo; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.pentaho.di.core.CheckResultInterface; import org.pentaho.di.core.Const; import org.pentaho.di.core.ResultFile; import org.pentaho.di.core.RowSet; i...
/* Composer.java Purpose: Description: History: Thu Oct 25 18:24:27 2007, Created by tomyeh Copyright (C) 2007 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 */ package org...
package com.movietime.oauth2; import com.movietime.entities.UsersEntity; import org.springframework.security.core.GrantedAuthority; import org.springframework.stereotype.Repository; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import java.util.ArrayList; import java.util.List; ...
import java.util.Scanner; class Program { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int m = scanner.nextInt(); int a[][] = new int[n][m]; for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { a[i][j] = scanner.nextI...
package com.mpower.parser; public class querydataparser { }
package com.lidaye.shopIndex.domain.vo; import com.lidaye.shopIndex.domain.entity.Navigation; import lombok.Data; @Data public class NavigationVo extends Navigation { }
package com.studentDb.springdemo.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import javax.validation.constraints.Max; import javax.valida...
package test; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStore; import android.view.View; import android.widget.ImageView; import net.sf.throughglass.glassware.R; import net.sf.throughglass.n...
package com.pichincha.prueba.bo; import java.util.List; import com.pichincha.prueba.dto.TransaccionDTO; import com.pichincha.prueba.exceptions.BOException; public interface ITransaccionBO { /** * Crea una nueva transaccion * * @author Bryan Zamora * @param intSecuenciaPersona * @param intSecuenciasCuent...
package com.xpecya.xds; import java.util.Iterator; import java.util.Objects; import java.util.Spliterator; import java.util.Spliterators; import java.util.function.Consumer; /** * graph api * 会自动去重 * 对于任意 vertice A equals vertice B * 在图中只保留vertice A * 是否接受null对象取决于实现类 * Iterator遍历的是结点 * 对边的遍历请使用edgeIterator方法 ...
package com.awstechguide.cms.springjpah2.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.awstechguide.cms.springjpah2.entity.Role; import com.awstechguide.cms.springjpah2.repository.RoleRepository; import com.awstechguide.cms.sprin...
/* * 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 jc.fog.logic; import jc.fog.logic.dto.CarportRequestDTO; import jc.fog.logic.dto.MaterialDTO; import jc.fog.logic.calculators....
package JavaExe; public class Recur4 { public static void main(String[] args) { int n = Integer.parseInt(args[0]); if (n < 0) { System.out.println("正の数を入力してください"); } else { System.out.println("入力された数のフィボナッチ数列の値は" + fibonatti(n) + "です。"); } } static int fibonatti(int n) { int element1 = 1; int e...
package com.example.demo.util; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import...
package com.bankerguy.bankerguy; /** * Created by nevin on 11/12/2017. */ public class Bank { private String name; private String bankHistory; private String bankGroups; private String bankQuestions; }
package net.acomputerdog.BlazeLoader.util.time; import net.acomputerdog.BlazeLoader.main.BlazeLoader; /** * A clock based on Minecraft's units of time. It is divided up into "days" and "ticks". 1 tick is 1/20 of a second and 1 day is 24000 ticks, or 20 minutes. */ public class MinecraftClock { /** * Get...
package com.sinotech.settle.exception; /** * 业务禁止异常 */ public class BusinessProhibitionException extends RuntimeException { private static final long serialVersionUID = 1L; public BusinessProhibitionException() { super("业务禁止异常"); } public BusinessProhibitionException(String messageKey, Throwable cause) { s...
package program.oops; import java.util.Scanner; public class Company extends Member{ public static void main(String[] args) { Scanner in= new Scanner(System.in); System.out.println("Enter the enployee details"); String str = in.next(); Employee m= new Employee(str); m.setName(in.next()); Sys...
package ch6; import java.util.Scanner; public class FactorialTest2 { static long factorial(int n) { if(n<=0 || n>20) return -1; if(n<=1) return 1; return n * factorial(n-1); } public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.print("값을 입력하세요. >"); ...
package com.uchain.cryptohash.bnsnark; import java.math.BigInteger; import static com.uchain.cryptohash.bnsnark.Params.B_Fp2; public class BN128Fp2 extends BN128<Fp2> { // the point at infinity static final BN128<Fp2> ZERO = new BN128Fp2(Fp2.ZERO, Fp2.ZERO, Fp2.ZERO); protected BN128Fp2(Fp...
package io.github.aquerr.chestrefill; import org.spongepowered.api.text.Text; import org.spongepowered.api.text.format.TextColors; /** * Created by Aquerr on 2018-02-09. */ public abstract class PluginInfo { public static final String Id = "chestrefiller"; public static final String Name = "Chest...
package com.juannarvaez.taskworkout.model.entily; import java.io.Serializable; import java.util.Date; public class SeguimientoPeso implements Serializable { double IMC ; double peso; String fecha; double altura; Date fechaDate; public Date getFechaDate() { return fechaDate; } ...
package com.pisen.ott.launcher.localplayer.image; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.app.ActivityManager; import android.app.ActivityManager.MemoryInfo; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import and...
package com.fanfte.listener.mysync; import java.util.concurrent.Executor; import java.util.concurrent.Executors; /** * Created by tianen on 2018/11/6 * * @author fanfte * @date 2018/11/6 **/ public class MySyncMain { public static void main(String[] args) { MyPromise promise = new MyPromise(); ...
package com.company; import javax.swing.*; import org.json.*; import java.awt.*; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; public class ThirdFrame extends JFrame { SecondFrame secondFrame; CommonResource commonResource; JL...
package kr.co.people_gram.app; import android.content.Context; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.CheckBox; import android.widget.CompoundButton; import android.widget.ImageView; ...
package pages; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import java.util.concurrent.TimeUnit; public class LoginPage { private WebDriver driver; private By usernameField = By.id("user-name"); private By passwordField = By.id("password"); private By loginButton = By.id("lo...
/* * 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 nl.rkk.marktplaats.admin; import java.io.IOException; import java.io.PrintWriter; import javax.ejb.EJB; import javax.servlet....
package gov.nih.mipav.view.renderer.WildMagic.Decimate; import java.io.*; import WildMagic.LibFoundation.Mathematics.*; import WildMagic.LibGraphics.SceneGraph.Attributes; import WildMagic.LibGraphics.SceneGraph.IndexBuffer; import WildMagic.LibGraphics.SceneGraph.VertexBuffer; public class TriangleMesh { double m...
package inf1010.assignment; public class Subject { private String courseCode; Group group; //ifiCollection<Group> Teacher lecturer; Subject(String courseCode) { this.courseCode = courseCode; } public int compareTo(Subject s) { return s.getCourseCode().compareTo(courseCode); } public boolean en...
package com.winter.database; import com.winter.model.User; import io.quarkus.hibernate.orm.panache.PanacheRepository; public interface UserRepository extends PanacheRepository<User> { User save(User user); User findByLogin(String login); }
package com.app.AdminUI.ControlsUI; import com.app.DBConnection; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; public class UpdateScreen extends JFrame { Str...
import java.util.Scanner; public class CommonElements { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String input1 = scanner.nextLine(); String input2 = scanner.nextLine(); String[] input1ToArray = input1.split("\\s+"); String[] input2T...
package analytics.utils; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; public class AprioriHelper { public static int[] getDataRow(List<Integer> products, List<Integer> codes) { int[] row = new int[codes.size()]; Integer[] sortedProducts = ne...
package exercise4; import exercise3.Calculator; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; public class AnnotationAnalyzer implements Calculator { private Calculator calculator = null; private Map<Integer, Integer> map ...
package br.com.LoginSpringBootThymeleaf.controllers; import java.util.List; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.validation.BindingResult; import ...
package Tests.TestNGTests.LoginTests; import Tests.TestNGTests.BaseCLass; import org.testng.annotations.Test; import static Utils.ConfigReader.URL; public class PasswordTests extends BaseCLass { @Test public void passwordLessMin(){ driver.get(URL + "#/login"); } @Test public void pas...
package symap.mapper; import java.awt.Graphics2D; import java.awt.Point; import java.awt.geom.Point2D; import java.awt.geom.Line2D; import java.awt.geom.Rectangle2D; import java.awt.event.MouseEvent; import java.awt.Color; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.u...
package itemboard.dao; import java.util.List; import java.util.Map; import itemboard.bean.ItemBasketDTO; import itemboard.bean.ItemBasketListDTO; import itemboard.bean.ItemboardDTO; import user.bean.UserDTO; import itemboard.bean.ReviewDTO; public interface ItemboardDAO { public void itemboardWrite(It...
package com.legaoyi.protocol.messagebody.decoder; import org.springframework.stereotype.Component; import com.legaoyi.protocol.exception.IllegalMessageException; import com.legaoyi.protocol.message.MessageBody; import com.legaoyi.protocol.message.decoder.MessageBodyDecoder; import com.legaoyi.protocol.up.messagebody....
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.Map; import java....
package com.bot.handlers; import com.bot.enums.City; import org.telegram.telegrambots.api.methods.send.SendMessage; import org.telegram.telegrambots.api.objects.Update; import org.telegram.telegrambots.api.objects.replykeyboard.ReplyKeyboardMarkup; import org.telegram.telegrambots.api.objects.replykeyboard.buttons.Key...
package solo; import java.util.Collection; import java.util.Comparator; import java.util.Map; import java.util.Set; import java.util.SortedMap; import cern.colt.Swapper; import cern.colt.list.ObjectArrayList; public class FastMap<K,V> implements SortedMap<K, V> { final static int INITIAL_SIZE = 50; fi...
package edu.mit.needlstk; import org.antlr.v4.runtime.ParserRuleContext; import org.antlr.v4.runtime.tree.ParseTree; import org.antlr.v4.runtime.Token; import java.util.List; import java.util.Iterator; /// Check if the columns used in groupby operators contain a specified field. public class ColumnChecker extends Perf...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package projetobanco; import java.util.ArrayList; /** * * @author Codification */ public interface IDAO { public ArrayList<Cliente> pesquisaCliente(String texto) throws Exception; public ...
package by.client.android.railwayapp.support.common; import java.util.HashMap; import java.util.Map; /** * Билдер для упрощения построения {@link Map} на этапе объявления * * <pre> * Пример использования: * * private static final Map<Integer, String> TEST_MAP = new MapBuilder<Integer, String>() * ...
/* * 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 IHM; import data.ExportSQL; import data.ImportSQL; import javax.swing.JOptionPane; import myObject.*; /** * * @author Dre...
/* * Copyright (C) 2008-12 Bernhard Hobiger * * This file is part of HoDoKu. * * HoDoKu is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later...
package com.rhino.taskManager; import java.io.IOException; import java.util.Collection; import java.util.Map; import java.util.Set; import com.rhino.taskManager.agent.TaskAgentInterface; import com.rhino.taskManager.error.TypeNotFoundException; import com.rhino.userAttributesServic.data.UserDataInterface; ...
package edu.cricket.api.cricketscores.rest.source.model; public class CompetitionClass { private int internationalClassId; private int generalClassId; private String name; private String eventType; public int getInternationalClassId() { return internationalClassId; } public void s...
package com.jgermaine.fyp.rest.controller; import static org.hamcrest.Matchers.is; import static org.mockito.Matchers.anyString; import static org.mockito.Mockito.when; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.request.Mock...
package iaraliev.rashid.bigbroserver; import org.apache.http.impl.client.HttpClientBuilder; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.springframework.http.client.HttpComponentsCl...
public class AreaCalculator { public static double area(double radius){ if(radius < 0){ return -1.0; } double pi = Math.PI; double areaOfCircle = radius * radius * pi; System.out.println("Radius of circle is "+ areaOfCircle); return areaOfCircle; } ...
/* * 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 Testing.SeleniumTesting; import org.junit.Assert; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.sele...
/* * The MIT License (MIT) * * Copyright (C) 2014 Squawkers13 <Squawkers13@pekkit.net> * * 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 l...
package com.example.demo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; import org.springframework.data.jpa.repository.config.EnableJpaAuditing; import com.example.controller.Controll...
package com.getkhaki.api.bff.web; import com.getkhaki.api.bff.BaseMvcIntegrationTest; import com.getkhaki.api.bff.config.interceptors.models.SessionTenant; import com.getkhaki.api.bff.web.models.DepartmentStatisticsResponseDto; import com.getkhaki.api.bff.web.models.DepartmentsStatisticsResponseDto; import com.getkhak...
/* * Copyright 2002-2022 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.esum.web.apps.hotdeploy.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import com.esum.appetizer.config...
/* * 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 jhotel; import java.util.*; import java.text.*; import java.util.regex.*; /** * Class ini merupakan class yang digunakan untuk mengeset data Customer * * @author Whisnu Samudra * @version 1/3/2018 */ public class Customer { // instance variables - replace the example below with your own private in...
package com.roundarch.entity; import java.util.Map; public class TotalStatistic { private Map<String, Integer> values; public Map<String, Integer> getValues() { return values; } public void setValues(Map<String, Integer> values) { this.values = values; } }
package com.example.coronavirus; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; public class MainActivity extends AppCompatActivity{ @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(saved...
package com.u_anywhere.mappers; import com.u_anywhere.base.MultipleIdMapper; import com.u_anywhere.model.TestPrintexpressno; public interface TestPrintexpressnoMapper extends MultipleIdMapper<TestPrintexpressno> { }
/* * File : NameItem.java * Created : 24 nov. 2003 * By : Olivier * * Copyright (C) 2004, 2005, 2006 Aelitis SAS, All rights Reserved * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
package lab3; import java.util.*; public class FibonacciUser { public static void main (String[] args) { new FibonacciUser().run(); } // method main /** * The Fibonacci number of the integer entered has been printed. */ public void run() { final int SENTINEL = -1; ...
package com.yourname.democalci; import androidx.appcompat.app.AppCompatActivity; import android.annotation.SuppressLint; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import org.mozilla.javascript.Context; import org.mozilla.javascript.Scriptable; ...
package com.ma.pluginframework.domain.event; import android.os.Parcel; import android.os.Parcelable; import java.util.List; /** * 群消息 */ public class TroopMsgEvent extends PluginMsgEvent implements Parcelable { private String groupName; private List<PluginAtEntity> atList; private long rand3; /** ...
package com.example.ptljdf; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.Vi...
package entities; import java.io.Serializable; import java.util.HashSet; import java.util.Set; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlR...
package com.zhicai.byteera.widget; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.ImageView; import android.widget.RelativeLayout; import android.widget.TextView; import com.zhicai.byteera.R; import butterknife.But...
package dados; import java.util.List; import negocios.beans.MateriaPrima; public interface IRepositorioMateriaPrima { public boolean inserir(MateriaPrima materiaPrima); public boolean alterar(MateriaPrima novaMateriaPrima); public MateriaPrima buscar(int codigo); public boolean remover(int codigo); public ...
package be.darkshark.parkshark.service; import be.darkshark.parkshark.domain.entity.person.Employee; import be.darkshark.parkshark.domain.entity.util.Address; import be.darkshark.parkshark.domain.entity.util.MailAddress; import be.darkshark.parkshark.domain.entity.util.PhoneNumber; import be.darkshark.parkshark.domain...
package br.edu.puccampinas.projetoc.labirinto; /** * É uma posição de um labirinto, representada por uma linha e uma coluna (números do conjunto dos * números naturais). * * @author aleph * */ public class Coordenada { private Integer linha; private Integer coluna; /** * Constrói uma coordenada na or...
package com.alura.dto; import lombok.Data; import org.hibernate.validator.constraints.Length; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; @Data public class CursoDto { @NotEmpty @NotNull @Length(min = 5) private String nome; @NotEmpty @NotNull @Length(min =...
package application; public class PastInvoices { private String fileName; private String date; public PastInvoices(String fileName, String date) { this.fileName = fileName; this.date = date; } public String getFileName() { return fileName; } public String getDate() { return date; ...
package revolt.backend.service; import revolt.backend.dto.RTADto; import java.util.List; public interface RTAService { List<RTADto> getRTAs(); RTADto createRTA(RTADto rtaDto); RTADto getRTA(Long id); RTADto updateRTA(RTADto rtaDto, Long rtaId); void deleteRTA(Long id); }
package com.postpc.Sheed.Connections.YourMatches; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.RatingBar; import and...