text
stringlengths
10
2.72M
package ua.training.controller.commands.action.statement; import lombok.extern.log4j.Log4j2; import ua.training.constant.Attributes; import ua.training.constant.Mess; import ua.training.constant.Pages; import ua.training.controller.commands.Command; import ua.training.controller.commands.utility.CommandsUtil; import u...
/* * 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 latihanarray; /** * * @author IRMA */ public class LatihanArray { /** * @param args the command lin...
package Main; import Client.Client; public class main { public static void main(String args[]){ if(args.length == 2){ int delay = -1; try{ delay = Integer.parseInt(args[0]); }catch(Exception e){ System.out.println("Could not parse delay."); return; } if(delay >= 0){ Client client1 =...
package utd.aos.utils; import java.io.Serializable; public class Resource implements Serializable { private static final long serialVersionUID = 1L; public String filename; public int seek = 0; public int writeOffset = 0; public String fileContent; public String getFilename() { return filename; } publ...
package common; import java.util.concurrent.TimeUnit; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import pubsub.JSub; import pubsub.JTopic; import queueworker.JQueue; import queueworker.JWorker; import scala.concurrent.duration.Duration; import akka.actor.ActorRef; ...
package com.mal.movieapp.database; import java.io.Serializable; /** * Created by souidan on 8/27/16. */ public class Movie implements Serializable { public long id; public String title; public String overview; public double rating; public int movieId; public String date; public...
package com.careme; import android.graphics.Rect; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.view.ViewTreeObserver; import android.widget.FrameLayout; import com.facebook.react.ReactActivity; /** * Created based on https://stackoverflow.com/questions/7417123/and...
package com.cinema.biz.model; import com.cinema.biz.model.base.TSimMaintenance; public class SimMaintenance extends TSimMaintenance { }
import java.util.Scanner; public class UsaFormula{ public static void main(String[]arg){ Scanner Lee=new Scanner(System.in); Formula f=new Formula(); System.out.print("Ingresa valor para x: "); f.setX(Lee.nextInt()); System.out.print("Ingresa valor para y: "); f.setY(Lee.nextInt()); f.Resultado(); } }
package saga.repositories; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import saga.entities.Cliente; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import static org.junit.jupiter.api.Assertions.*; class ClienteRepositorioTest { ...
/* * 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.davivienda.sara.dto; /** * * @author jmcastel */ public class CajerosSinTransmisionDTO { private Integer idRegistro...
package kirbyandfriends; public class Reference { public static int Spawn_Gui_ID = -1; }
package gov.nysenate.opendirectory.servlets; import gov.nysenate.opendirectory.ldap.Ldap; import gov.nysenate.opendirectory.models.Person; import gov.nysenate.opendirectory.utils.Request; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Has...
package org.kuali.ole.describe.form; /** * Created with IntelliJ IDEA. * User: Srinivasane * Date: 12/11/12 * Time: 2:57 PM * To change this template use File | Settings | File Templates. */ import org.kuali.ole.docstore.model.xmlpojo.work.einstance.oleml.EHoldings; import org.kuali.ole.docstore.mode...
/* * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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...
package commonwealth.constitution; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.image.BufferedImage; import commonwealth.game.BufferedImageLoader; import commonwealth.game.Map; import commonwealth.issues.Issues; import commonwealth.nations.ID; import commonwealth.n...
package org.itachi.cms.controller; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; /** * Created by yangz on 2017/5/4. */ @Controller @RequestMapping("...
public class Jitomate extends IngredienteDecorator{ public Jitomate (Sandwich s){ super(s); } public double getPrecio(){ return sandwich.getPrecio() + 2; } public String getDescripcion(){ return sandwich.getDescripcion() + ", Jitomate"; } }
@Local public interface gestionMecanicienLocal { public void identifyMeca(int idMeca, string psw, int idStation) throws stationNotFoundException, usagerNotFoundException, wrongStationForMecaException public int[] navettesAreviser(int idStation); //au choix de la navette (alé de la liste int[] navettesAreviser, ça...
package com.nanyin.entity; import lombok.Data; import javax.persistence.*; import java.util.Date; /** * 工单下的一页中有多个任务组成 */ @Data @Entity public class Task { @Id @Column(columnDefinition = "INT(11)") @GeneratedValue(strategy= GenerationType.IDENTITY) private Integer id; /** * Task名称 */...
/* * 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 task2; import java.util.ArrayList; /** * an abstract base class with all attributes * to be inherited by the MemoryGame cla...
/* * 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 ClasesNormales; import java.util.ArrayList; import java.util.Arrays; /** * * @author Danil */ public class Carta implement...
package com.corycharlton.bittrexapi.request; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.corycharlton.bittrexapi.internal.constants.Url; import com.corycharlton.bittrexapi.internal.util.StringUtils; import com.corycharlton.bittrexapi.response.WithdrawResponse; im...
package stephen.ranger.ar.materials; import java.awt.Color; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.vecmath.Vector3f; import stephen.ranger.ar.Camera; import stephen.ranger.ar.Intersecti...
package TST_teamproject.Board.controller; import java.security.Principal; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.stereotype.Co...
package GUIController; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; import java.time.LocalDate; //Kommentieren public class CreateAccount { private static final String DBURL = "jdbc:postgresql://localhost:5432/postgres"; private s...
package common.util.web; import java.io.IOException; import java.io.InputStream; import java.io.StringReader; import java.lang.annotation.Annotation; import java.lang.reflect.Type; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRespons...
package logic; import board.Field; import board.FieldValue; import components.Counter; import components.Images; import javafx.scene.paint.ImagePattern; import javafx.scene.shape.Rectangle; import java.util.List; import java.util.Map; public class NewGame extends KolkoAndKrzyzyk { public static void restartGame...
/* * #%L * Diana UI Core * %% * Copyright (C) 2014 Diana UI * %% * 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 req...
package com.dungkk.gasorder.passingObjects; public class User { private static String firstName; private String lastName; private static String username = null; private String password; private String phoneNumber; private String email; public User(String name){ username = name; ...
/* * 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 interfazGrafica; import java.awt.*; import javax.swing.*; import java.awt.event.*; import javax.swing.table.DefaultTableModel...
package com.esum.hotdeploy.util; public class ElementUpdatedEvent extends ElementEvent { public ElementUpdatedEvent(Object source, Object oldValue, Object newValue, int index) { super(source, oldValue, newValue, index, ElementEvent.UPDATED); } }
package com.example.sample.test; import org.junit.Test; import org.hamcrest.Matchers; import io.restassured.RestAssured; public class SampleRESTAssuredTest { @Test public void checkStatus() { RestAssured.given() .when().log().all().get("http://www.marklogic.com") .then().log().all().statusCode(2...
package com.example.demo; import java.util.ArrayList; public class test { public static void main(String[] args) { test test=new test(); /* int[][] a={{1,2,8,9},{2,4,9,12},{4,7,10,13},{6,8,11,15}}; StringBuffer str=new StringBuffer(); str.append("Hellow World"); System...
package com.decorator.common.example; /** * 抽象装饰者 */ public abstract class Decorator extends Component { private Component component = null; //通过构造函数传递被修饰者 public Decorator(Component _component) { this.component = _component; } public void operate() { this.component.operate(); ...
package org.jaxws.integrationtest.exampleWebService; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * * @author chenjianjx * */ @XmlType @XmlAccessorType(XmlAccessType.FIELD) public class VoidResponse extends Abstrac...
package de.hofuniversity.ejbbean.bean; import javax.ejb.Remote; import de.hofuniversity.ejbbean.data.MatchDetailsSummaryData; /** * * @author Markus Exner * */ @Remote public interface MatchDetailsRemote { public final String MAPPED_NAME = "ejb/MatchDetails"; public MatchDetailsSummaryData getMatc...
package com.github.charlieboggus.sgl.utility; import org.joml.Vector3f; import org.joml.Vector4f; public class Color { public static final Color Clear = new Color(0.0f, 0.0f, 0.0f, 0.0f); public static final Color Black = new Color(0.0f, 0.0f, 0.0f, 1.0f); public static final Color White ...
package com.example.demo.ServiceImp; import com.example.demo.DO.CourseDO; import com.example.demo.DO.ScDO; import com.example.demo.Exception.ErrorCodeAndMsg; import com.example.demo.Exception.StudentException; import com.example.demo.Input.getMessageInout; import com.example.demo.Output.getMessageOutput; import com.ex...
/** * Copyright (C) 2016 - 2030 youtongluan. * * 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 applicab...
package CATChinaRetail.TestAutomation.Core; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.xssf.usermodel.XSSFWorkbook; public class R...
/* package com.androidcodefinder.loginapp; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.ArrayAdapter; import android.widget.ListAdapter; import android.widget.ListView; import an...
/* * 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 taiga.mcmods.buildguide; import cpw.mods.fml.client.FMLClientHandler; import java.awt.Dimension; import java.awt.event.Action...
package oo.abstraction; public class StudentTester { public static void main(String[] args) { Student s1 = new Student("輔仁大學", "醫資學程", 405570173, "林芸妗", "女", 1); Student s2 = new Student("輔仁大學", "醫資學程", 405570202, "蔡德蓉", "女", 1); Student s3 = new Student("輔仁大學", "醫資學程", 405570214, "張芳菽", "女", 1); ...
package com.reptile.dao; import java.util.List; import org.apache.commons.dbutils.QueryRunner; import com.reptile.bean.Book; import com.reptile.util.constants.ReptileConstants; import com.reptile.util.db.DataSourceUtil; public class ReptileDao { /** * get data base **/ private static QueryRunn...
package com.sevael.lgtool.service; import java.io.InputStream; import java.util.List; import org.bson.Document; import com.google.gson.JsonObject; public interface EmailRequestService { String emailRequest(JsonObject requestDetails); List<Document> getAllRequeter(); String uploadPdfFile(InputStream inputStrea...
package pers.lyr.demo.common.mapper; import org.springframework.jdbc.core.RowMapper; import pers.lyr.demo.pojo.po.Teacher; import java.sql.ResultSet; import java.sql.SQLException; /** * @Author lyr * @create 2020/9/13 14:37 */ public class TeacherTableMapper implements RowMapper<Teacher> { public static fina...
package com.wb.welfare.dominio; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class Cliente implements Serializable{ private static final long serialVersionUID=1L; @Id @Gen...
package com.isg.ifrend.wrapper.mli.request.account; import java.util.Date; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement(name="GetPayoutFigure") public class GetPayoutFigure { private String accountNumber; private String customerNumber; private Stri...
package interfazDelJuego; import java.awt.Color; import javax.swing.JFrame; import clienteLogica.Cliente; import clienteLogica.VentanaChat; import clienteLogica.VentanaLobby; import hilosDelJuego.HiloBuffos; import hilosDelJuego.IA; import hilosDelJuego.Movimiento; import hilosDelJuego.MovimientoLocal; ...
/* * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ package com.mytiki.blockchain.config; import com.mytiki.blockchain.features.latest.address.AddressConfig; import com.mytiki.blockchain.features.latest.block.BlockConfig; import org.springframework.context.annotation.Import; @Import...
package com.next.pojo.vo; public class UserVO { private String id; private String username; private String password; private String nickname; private String mpWxOpenId; private String appQqOpenId; private String appWxOpenId; private String appWeiboUid; private Integer sex; ...
package com.fwo.hp.fwo; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.RelativeLayout; import android.widget.TextView; public class About extends AppCompatActivity { TextView txt1,txt2,txt3; boolean check = false; RelativeLayout relat...
import java.util.*; public class TaxiRank { public static void main(String[] args) { Queue q = new Queue(); Scanner kybd = new Scanner(System.in); System.out.print("Join (j), leave (l) or end (e)? "); String action = kybd.nextLine(); while (!action...
import javax.swing.JOptionPane; import java.util.*; public class Alphabetize { public static void main(String[] args) { int optionsInt = Integer.parseInt(JOptionPane.showInputDialog("How many words would you like to alphabetize?")); int[] alphaInts = new int[optionsInt]; String[] alphaChoices = new S...
package pe.edu.sise.ejemplosqlitatareas; import android.app.ListActivity; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.database.SQLException; import android.support.annotation.LayoutRes; import android.support.annotation.NonNull; import android.support.a...
package com.example.expensemanager; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; import androidx.cardview.widget.CardView; public class Main5Activity extends AppCompatActivity implements View.OnClic...
package com.coleapps.wgucoursetracker3; import android.app.AlertDialog; import android.app.DatePickerDialog; import android.app.Notification; import android.content.ContentValues; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.graphics.Color; impor...
package cn.itcast.dao; import org.springframework.jdbc.core.JdbcTemplate; public class OrdersDao { //注入jdbcTemplate private JdbcTemplate jdbcTemplate; public void setJdbcTemplate(JdbcTemplate jdbcTemplate) { this.jdbcTemplate = jdbcTemplate; } /** * 做对数据库操作的方法,不写业务逻辑 */ //小王少钱的方法 public void lessMon...
package com.andreldm.report.pojo; import java.time.LocalDateTime; public class Purchase { private String product; private Double value; private Integer quantity; private LocalDateTime date; public String getProduct() { return product; } public void setProduct(String product) { ...
package com.rcorchero.hastensports.data.network; import com.rcorchero.hastensports.BuildConfig; import java.util.concurrent.TimeUnit; import okhttp3.OkHttpClient; import okhttp3.logging.HttpLoggingInterceptor; import retrofit2.Retrofit; import retrofit2.converter.jackson.JacksonConverterFactory; public class Networ...
package test.xitikit.examples.java.mysql.logwatch.simple; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInstance; import org.mockito.Mockito; import org.xitikit.examples.java.mysql.logwatch.simple.*; import java.nio.file.Path; import static java.util.Arrays.*; import static org.mockito.Mockito....
/* Copyright (C) 2013-2014, Securifera, Inc All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and...
package com.strategy; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Configuration; @SpringBootApplication @Configuration public class AccountStrategyApplication { public static void main(String[] ...
package org.maple.jdk8.stream; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; /** * @Author Mapleins * @Date 2019-04-05 14:14 * @Description 演示流转集合 */ public class Test4 { public stat...
package cn.tedu.test; import java.util.Scanner; /** * 要求用户从控制台输入一个email地址,然后获取该email的用户名(@之前的内容) * @author Xiloer * */ public class TestDay0104 { public static void main(String[] args) { String regex="[0-9a-zA-Z]*[@][0-9a-zA-Z]*[.][c][o][m]"; String input; do{ System.out.p...
import java.io.PrintWriter; import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); PrintWriter out = new PrintWriter(System.out); int n = scanner.nextInt(); Integer[] a = new Int...
package com.example.BSD; public class CursusListItem { private String cursusTitel; private String cursusOmschrijving; private String aanmaakDatum; private String vakgebied; private String inschrijfDatum; private String maxAantalDeelnemers; private String prijs; public CursusListItem(String CursusTitel, Stri...
package cn.auto.platform.model; /** * Created by chenmeng on 2017/3/21. */ public class SuitDTO { private Integer suitId; private String suitName; private String suitStatus; private String suitType; private String remark; private String listeners; private String parameters; private In...
package com.bogdanovpd.spring.webapp.spring.webapp.client.service; import com.bogdanovpd.spring.webapp.spring.webapp.client.model.Role; import java.util.List; public interface RoleRestService { List<Role> getAllRoles(); Role getRoleByName(String name); Role getRoleById(long id); }
package snake.model; import java.awt.Color; import java.awt.Graphics; public class SnakeBuild { //snake square dimensions private int x, y, width = 10, height = 10; public SnakeBuild(int x, int y) { this.x = x; this.y = y; } //painting squares public void paint(Graphics g) { g.setColor(Color.black); ...
package org.jinku.sync.application.bootstrap; import com.google.common.base.Preconditions; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.stereotype.Component; import javax.a...
/* * Copyright (c) 2016 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.oauth.client.profile; import java.net.URI; import java.net.URL; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import org.apache.http.en...
package com.rabo.customerstatementprocessor.service.file; import java.io.InputStream; import java.util.Iterator; /** * This interface contains useful methods that return abstractions (such as an * Iterator) for working with CSV files. * * @author rutvijr@gmail.com * */ public interface CsvFileService<T> { ...
package org.testproject.abcprovider.database; import java.util.Date; import java.util.Map; import java.util.Map.Entry; import org.hibernate.Session; import org.hibernate.criterion.Restrictions; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.testproject.abcprovider.App; import org.testproject.abcp...
package org.bio5.irods.iplugin.referencecode; import java.awt.Button; import java.awt.Color; import java.awt.Dimension; import javax.swing.GroupLayout; import javax.swing.GroupLayout.Alignment; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollBar; import java...
package realtime.util.thread.impl; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; import elasticsearch.service.ElasticService; import elasticsearch.service.impl.ElasticServiceImpl; import elasticsearch.util.ElasticUtil; import realtime.bean.JuHeStock; import realtime.se...
/* Copyright 2015 Esri * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing,...
package javaCode; import java.util.*; /* Queues Implementation in Java */ class LinearQueues{ private int front = -1; private int rear = -1; //ENQUEUE operation on queue - O(1) public void enQueue(int key, int[] queueArray){ if(front == -1){ front++; } if(rear == queueArray.length-1){ System.out.pri...
package com.aof.webapp.action.prm; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import java.util.Locale; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import net.sf.hibernate.HibernateException; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.apache.hadoop.util; import java.nio.ByteBuffer; import java.nio.charset.CharacterCodingException; /** * * @author ashwinkayyoor */ public class ByteUtil { private final static int INT_64 = 64, INT_8...
package br.pucrs.ep.es.model; import br.pucrs.ep.es.model.Cliente; public class Conta { private Cliente cliente; public Conta(Cliente cliente) { setCliente(cliente); } private void setCliente(Cliente cliente) { this.cliente = cliente; } public String getNomeCliente(){ ...
import Pack1.EmployeePack; import Pack1.ManagerPack; public class MainClass{ public static void main(String args[]){ ManagerPack m = new ManagerPack(); m.disp(); EmployeePack obj= new EmployeePack(); obj.disp(); } }
package Problem_9294; import java.util.Scanner; public class Main { static int n,m,s; static StringBuilder sb; static int[] arr; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int C = sc.nextInt(); for(int c = 1; c<=C;c++) { n = sc.nextInt(); m = sc.nextInt(...
package com.trump.auction.order.api.impl; import com.alibaba.dubbo.config.annotation.Service; import com.cf.common.utils.ServiceResult; import com.trump.auction.order.api.AppraisesSenstiveWordStubService; import com.trump.auction.order.service.AppraisesSenstiveWordService; import org.springframework.beans.factory.anno...
package queue; import java.util.EmptyStackException; public class DynArrayQueue<T>{ /** * 基于动态循环数组实现队列 * 1、当第一次元素入栈时,队头指向第一个元素,即由-1变为0 * 2、队列中front指向队头元素,rear指向队尾元素 * 3、当front==rear时,队列中只有一个元素 */ private int front = -1; // 队头 private int rear = -1; // 队尾 private int capacity = 10; // 容量 private Object[...
package cn.mldn.util.dbc; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class DatabaseConnection { private static final String DBDRIVER = "org.gjt.mm.mysql.Driver"; private static final String DBURL = "jdbc:mysql://localhost:3306/mldn"; private static fina...
package com.hotsoup; import android.annotation.SuppressLint; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Frag...
/** * ApplicationArea */ package com.bs.bod; import java.io.Serializable; import java.util.Date; import java.util.UUID; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import...
package jp.co.monkey.button; import jp.co.monkey.activity.MainActivity; import jp.co.monkey.jsbapp.R; import jp.co.monkey.window.WindowLayoutRed; import android.content.Context; import android.graphics.Color; import android.view.Gravity; import android.view.View; import android.widget.Button; import android.widget.Lin...
package com.pwc.brains.trie; import java.io.Serializable; import java.util.HashMap; public class Node implements Serializable { private final char letter; private boolean bound = false; private long serialVersionUID = 3334143; private HashMap<Character, Node> children = new HashMap<Character, Node>();...
import java.io.*; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.net.URLEncoder; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; ...
package com.apirest.webflux; import java.util.UUID; import org.springframework.boot.CommandLineRunner; import org.springframework.stereotype.Component; import com.apirest.webflux.document.Playlist; import com.apirest.webflux.repository.PlaylistReposotory; import reactor.core.publisher.Flux; //@Component //public c...
package com.pan.al.test; import javax.swing.plaf.synth.SynthOptionPaneUI; import java.math.BigInteger; import java.sql.Array; import java.util.Arrays; import java.util.HashMap; import java.util.Scanner; import java.util.Stack; public class Test5 { /** 题目描述 反转数组 给定一个长度为n的整数数组a,元素均不相同,问数组是否存在这样一个片段,只将该片段翻转就...
package com.brainacademy.vehicle; public class Vehicle implements Moveable { public Vehicle() { System.out.println("Vehicle"); } @Override public void start() { } @Override public void stop() { } @Override public void move() { } }
package com.example.kyle.myapplication.Database; import android.content.Context; import android.os.AsyncTask; import android.widget.Toast; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.net.URL; import java.net.URLConnection; import java.net.URLEncoder;...
package utn.sau.hp.com.beans; import java.io.Serializable; import javax.enterprise.context.SessionScoped; import javax.faces.application.FacesMessage; import javax.faces.context.FacesContext; import javax.inject.Inject; import javax.inject.Named; import utn.sau.hp.com.dao.AlumnoDao; import utn.sau.hp.com.modelo.Alumno...
package maven; public class Chocolate extends Sweets{ String type; Chocolate(int n, int ct, int wt, String type){ super(n,ct,wt); this.type = type; } public String toString() { return "Cost: "+this.ct+" Weight: "+this.wt+" Total Number: "+this.n; } }
package moh.gov.il.specialble.listeners; public interface IEventListener { void onEvent(String event, Object data); }
package ru.goodroads.api; import java.util.ArrayList; import ru.goodroads.data.Auth; import ru.goodroads.data.Hole; import ru.goodroads.data.HoleSet; import ru.goodroads.data.Register; import ru.goodroads.net.jsonrpc.JSONRPCClient; import ru.goodroads.net.jsonrpc.JSONRPCClientException; import ru.goodroads.utils.SHA2...