text
stringlengths
10
2.72M
package fundamentos; import java.util.ArrayList; import java.util.Scanner; public class Class27NombresArrayList { public static void main(String[] args) { Scanner teclado = new Scanner(System.in); System.out.println("¿Cuantos nombres desea almacenar?"); String datonumero = teclado.nextLin...
package structures; /** * Created by Administrator on 2015/10/6. */ public class InsPos { int blockNum; int blockOfs; public InsPos() {blockNum = 0; blockOfs = 0;} public int getBlockNum() { return blockNum; } public int getBlockOfs() { return blockOfs; } public vo...
/** * © All rights reserved for Group 1 - A copy and/or implementing of that class or any other class in this * project without a written consent from Backbone nor Mr.Silver (known as QA), will results in a serious issue * and will lead to further actions in court. * * @author Group 1 * @version 1.0 * @ * ...
package com.myflappybird.ui; import com.myflappybird.dto.GameDto; import javax.swing.*; public class GameFrame extends JFrame { /** * */ private static final long serialVersionUID = 1L; /** * Frame宽度 */ private static final int FRAME_WIDTH = 650; /** ...
class Solution {    public boolean isMonotonic(int[] A) {        int inc=1;        int dec=1;        for(int i=1; i<A.length; i++){            if(A[i] - A[i-1] > 0)                inc++;            else if(A[i] - A[i-1] < 0)                dec++;            else {                inc++; dec++;           }  ...
package com.example.benchmark.dao; import com.example.benchmark.model.Version; import com.example.benchmark.model.Query; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; import java.util.Optional; public interface VersionRepository ...
package com.zzl.monitoring.station; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.text.Spannable; import android.text.SpannableStringBuilder; import android.text.style.RelativeSizeSpan; import android.util.Log; import android.widget.TextView; import com.zzl.monitoring....
package testThread; public class Thread2 implements Runnable { public volatile static int j; public Thread2(int j) { this.j = j; } // public int getJ() { // return j; // } // // public void setJ(int j) { // this.j = j; // } public void run() { // while (true)...
package com.test.qa.pageobjects.pages; import com.test.qa.pageobjects.utils.PageBase; import org.apache.log4j.Logger; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.Select; public class UserPage extends PageBase { private static final Logger LOGGER = Lo...
import info.gridworld.actor.ActorWorld; import info.gridworld.actor.Bug; import info.gridworld.grid.Location; import info.gridworld.grid.UnboundedGrid; import java.awt.Color; class ibug extends Bug { int steps=0; public ibug() { //face down setDirection(180); } public void act() { if( s...
import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Supplier; /* * I method reference possono essere applicati a 4 tipi di metodo */ public class Main { public static void main(String[] args) { Consumer<String> consumer1 = s -> System.out.println(s); // metodi static...
package personproject; import java.util.Date; public class Person { public static int lastId = 0; private String name; private String gender; private String address; private int idNumber; private Date dateOfBirth; //constructor method wi...
package com.giga.service; import org.springframework.stereotype.Service; @Service public class Email implements IEmail{ @Override public String validate(String email) { String regex = "^\\w+@\\w+\\.\\w{2,3}$"; String result = "not match"; if (email.matches(regex)) result = "match"; ...
package Ex_55; public class Employee { private int INN; private String firstName; private String secondName; private double salary; final private double bonus = 0; private final String position = "noob"; public String getPosition() { return position; } public double getBonus() { return ...
package com.ospavliuk.springboottest.service; import com.ospavliuk.springboottest.model.StackoverflowWebsite; import org.springframework.stereotype.Service; import java.util.ArrayList; import java.util.List; @Service public class StackoverflowService { private static List<StackoverflowWebsite> items = new ArrayL...
public class Main{ public static void main(String[] args){ main<int,int>length=new main <int,int>(size); length.put(""); System.out.println(main.size("")); } Capacity<x> cap=main.list().Capacity(); while(cap.top()){ System.out.println(cap.max()); } get<x> val=main.val(); for(x num: val){ ...
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the te...
package com.tencent.mm.plugin.downloader.a; public interface d extends com.tencent.mm.kernel.b.d { }
package com.farald.DocumentRepresentation; import com.farald.Parser.ParserRule; import java.util.List; public class BillFragmentWithRules { public final BillFragment billFragment; public final List<ParserRule> parserRules; public final int startPosition; //Required to separate actual content from things ...
/* * Copyright (C) 2020-2023 Hedera Hashgraph, LLC * * 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 com.ibeiliao.pay.idgen.api.dto; import com.ibeiliao.pay.api.ApiCode; import com.ibeiliao.pay.api.ApiResultBase; /** * 返回单个ID的 response * @author linyi 2016/7/11. */ public class SingleId extends ApiResultBase { private static final long serialVersionUID = 1; /** * ID的值 */ private lo...
package com.tencent.mm.ui; import com.tencent.mm.g.a.ph; import com.tencent.mm.pluginsdk.c.a; import com.tencent.mm.sdk.b.b; class h$22 extends a { final /* synthetic */ h tiG; h$22(h hVar) { this.tiG = hVar; } public final void j(b bVar) { if (bVar instanceof ph) { h.g(t...
package com.designpattern.dao.testcase; import com.designpattern.dao.TransactionDao; import com.designpattern.dao.TransactionDaoImpl; public class DaoTestCase { public static void main(String[] args) { TransactionDao transaction=new TransactionDaoImpl(); System.out.println(transaction.getAllTransactions()); ...
package com.tencent.mm.plugin.appbrand.dynamic; import android.os.Bundle; import com.tencent.mm.modelappbrand.r; import com.tencent.mm.plugin.appbrand.dynamic.c.a; class c$a$1 implements r { final /* synthetic */ a fuC; c$a$1(a aVar) { this.fuC = aVar; } public final void b(boolean z, String...
package com.tencent.mm.app.plugin; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import com.tencent.mm.app.plugin.URISpanHandlerSet.TransferUriSpanHandler; class URISpanHandlerSet$TransferUriSpanHandler$2 implements OnClickListener { final /* synthetic */ Transfer...
/* ------------------------------------------------ * 8 Tiles GUI * * Class: CS 342, Fall 2016 * System: Windows 10, IntelliJ IDE * Author: Five * ------------------------------------------------- */ /** * Driver class which runs the GUI */ public class TilesDriver { public static final int ...
package org.dota.model.buildings; import lombok.Value; @Value public class TowersStatus { private final TowersTierStatus tier1; private final TowersTierStatus tier2; private final TowersTierStatus tier3; }
package com.smxknfie.softmarket.accesstoken.service; import com.smxknfie.softmarket.accesstoken.domain.AccessToken; public interface AccessTokenService { String accessToken(); String flushAccessToken(String accessToken); String flushAccessToken(AccessToken accessToken); }
package edu.uoc.arbolgenealogico.controller.usuario; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework....
package com.hly.o2o.service; import com.hly.o2o.dto.UserProductMapExecution; import com.hly.o2o.entity.UserProductMap; import com.hly.o2o.exceptions.UserProductMapOperationException; public interface UserProductMapService { /** * 根据传入的条件分页查出用户消费信息列表 * @param userProductCondition * @param pageIndex...
//The Fibonacci numbers are the integers in the following sequence: // // 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ... // //By definition, the first two numbers in the Fibonacci sequence are 0 and 1, and each subsequent number is the sum of the previous two. // //Write a command line program which prompts the u...
package com.puxtech.reuters.rfa.Common; public enum QuoteOperator { GREATERTHAN, GREATEROREQUAL, EQUAL, LESSTHAN, LESSOREQUAL }
package com.telyo.trainassistant.entity; import java.util.ArrayList; import java.util.List; import cn.bmob.v3.BmobUser; /** * Created by Administrator on 2017/6/14. */ public class MyUser extends BmobUser { private String userId; private String name; private String adCard; private String adCardN...
import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.Scanner; import java.util.logging.Level; import java.util.logging.Logger; public class view_fees extends javax.swing.JFrame { public view_fees() { ...
package com.huifu.newdemo.retrofit; public class Info { }
/** * */ package com.xtel.examthread.bai6c; import java.util.ArrayList; import java.util.List; import java.util.Random; /** * @author TUAN * */ public class ThreadProducer extends Thread { Message message = new Message(); QueueMessage queueMessage = new QueueMessage(); private QueueMessage queueData; publ...
package com.anywaycloud.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class CloudController { @RequestMapping("/index") public String index() { return "index"; } @RequestMapping("/...
package io.bega.kduino.datamodel; /** * Clase profile que guarda el perfil del usuario y los datos del menu_makeakaduino */ public class Profile { //declaramos las variables private String depth_1="0.0"; private String depth_2="0.0"; private String depth_3="0.0"; private String depth_4="0.0";...
package valatava.lab.warehouse.repository; import org.springframework.data.jpa.repository.JpaRepository; import valatava.lab.warehouse.model.Store; /** * Spring Data JPA repository for the {@link Store} entity. * * @author Yuriy Govorushkin */ public interface StoreRepository extends JpaRepository<Store, Long> { ...
package assignment2_Student; import java.util.*; public class Service_Implement implements Service_Interface { List<Student> x; Persistance_implement p; public Service_Implement() { super(); x = new ArrayList<Student>(); p = new Persistance_implement(); x = p.getRecords(); } @Override public void in...
package com.thoughtworks.training.guessnumber;/* * This Java source file was generated by the Gradle 'init' task. */ import org.junit.Test; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; public class AppTest { @Test public void shouldGuessNubmber() { String o...
import java.util.Scanner; /** * Write a program to generate and print all 3-letter words consisting of given set of characters. * For example if we have the characters 'a' and 'b', all possible words will be "aaa", "aab", "aba", "abb", * "baa", "bab", "bba" and "bbb". * The input characters are given as string at ...
package edu.uci.ics.inf225.webcrawler.stats; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import org.junit.Test; public class TotalSizeCalculator { public TotalSizeCalculator() { } @Test public void calculateSize() throws IOException { BufferedReader reader = new Buff...
package com.tencent.weui.base.preference; import com.tencent.mm.ui.widget.MMSwitchBtn.a; class CheckBoxPreference$1 implements a { final /* synthetic */ CheckBoxPreference vzx; CheckBoxPreference$1(CheckBoxPreference checkBoxPreference) { this.vzx = checkBoxPreference; } public final void cf...
package com.mochasoft.fk.db.page; /** * <strong>Title : Dialect </strong>. <br> * <strong>Description : 数据库方言接口.</strong> <br> * <strong>Create on : 2013-1-31 下午1:49:55 </strong>. <br> * <p> * <strong>Copyright (C) Mocha Software Co.,Ltd.</strong> <br> * </p> * @author wanghe wanghe@mochasoft.com.cn <b...
/* * 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 quicksort; import java.util.Random; /** * * @author ESTUDIANTE */ public class QuickSort { public...
package com.nightlife.controller; import com.nightlife.repository.Ticket; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.spr...
/* * 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 uuu.totalbuy.model; import java.sql.*; import java.util.ArrayList; import java.util.List; import java.util.logging.L...
/* * 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 mude.srl.ssc.entity.utils; import java.math.BigDecimal; import java.util.Date; import mude.srl.ssc.entity.Users; /** * * @...
package com.takshine.wxcrm.service; import com.takshine.wxcrm.base.services.EntityService; /** * 微信 用户位置服务 实现类 * @author liulin * */ public interface WxUserLocationService extends EntityService { }
package edu.troy.cs.bio; import java.io.BufferedReader; import java.io.Closeable; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.bson.Document; public class TsvToMongo { private static String path = "/home/hadoop/Downloads/chemicals.v4.0.tsv"; ...
package com.lc.exstreetseller.activity; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.view.View; import android.widget.EditText; import android.widget.ImageView; import android.widget.TextView; import com.lc.exstreetseller.base.BaseActivity; import com.lc.exst...
package com.mx.profuturo.bolsa.util.formatter; public class TextUtil { public static String capitalize(String source){ String response = null; String original = null; if(source.length()==0){ response = source; }else{ original = source.toLowerCase(); ...
package category.bitOperation; /** * there is an integrate array which has only different value, 0, 1, 2 * how to store the number in most efficient way * * how about frequently query? * please imlpment two method set and get * @author Meng * */ public class CompressBits { private int[] inputs = { 1, 2, 0, ...
package com.yinghai.a24divine_user.module.collect.mvp; import com.example.fansonlib.base.BaseView; import com.yinghai.a24divine_user.bean.CollectBean; import com.yinghai.a24divine_user.callback.IHandleCodeCallback; /** * @author Created by:fanson * Created Time: 2017/11/10 13:50 * Describe:我的收藏的契约类...
package org.alienideology.jcord.event.channel.group; import org.alienideology.jcord.event.channel.ChannelDeleteEvent; import org.alienideology.jcord.handle.channel.IGroup; import org.alienideology.jcord.internal.object.IdentityImpl; import org.alienideology.jcord.internal.object.channel.Channel; import java.time.Offs...
package com.zjc.netty.http; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelPipeline; import io.netty.channel.socket.SocketChannel; import io.netty.handler.codec.http.HttpServerCodec; /** * @author : zoujc * @date : 2021/7/7 * @description : */ public class TestServerInitializer extends...
/** * */ package test.nz.org.take.r2ml.d; import org.apache.log4j.BasicConfigurator; import junit.framework.TestCase; import nz.org.take.deployment.KnowledgeBaseManager; import nz.org.take.r2ml.R2MLDriver; import nz.org.take.r2ml.R2MLException; import nz.org.take.r2ml.R2MLKnowledgeSource; import nz.org.take.rt.Res...
package com.mango.leo.zsproject.login.listener; import com.mango.leo.zsproject.bean.ErrorBean; import com.mango.leo.zsproject.login.bean.UserMessageBean; /** * Created by admin on 2018/5/18. */ public interface OnUserStateListener { void onSuccess(String string); void onFailure(String msg, Exception e); ...
import mypack.DateImpl; class DisplayDate { public static void main(String args[]) { DateImpl obj=new DateImpl(); obj.showdate(); } }
/* * The purpose of this lab is to learn about using the for loop * and nested loops to create structured tables. * * Author: Victor (Zach) Johnson * Date: 9/30/17 */ package chapter5; public class Ex5_18 { public static void main(String[] args) { patternA(); patternB(); patternC(); patternD(); } ...
/** * @Author: Mr.M * @Date: 2019-05-21 21:08 * @Description: **/ public class mapsizeDemo { private static final int MAXIMUM_CAPACITY = 100; public static void main(String[] args) { int cap = 3; int n = cap - 1; n |= n >>> 1; System.out.println(n); n |= n >>> 2; System.out.println(n); n |= n >>...
package com.atn.app.webservices; import java.util.ArrayList; import org.apache.http.NameValuePair; import org.apache.http.message.BasicNameValuePair; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import com.atn.app.datamodels.AtnPromotion; import com.atn.app.datamodels.AtnProm...
/* * 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 agendascc.DATA; import java.beans.*; /** * * @author JTF */ public class ContactoBeanInfo extends SimpleBeanInfo { //...
package com.aummn.suburb.validator; import java.util.regex.Matcher; import java.util.regex.Pattern; public class SuburbValidator { public final static String SUBURB_NAME_PATTERN = "^[a-zA-Z0-9',.\\s-]{1,100}$"; public final static String POSTCODE_PATTERN = "^[0-9]{4}$"; public static FieldValidationResult vali...
package com.espendwise.manta.dao; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import javax.persistence.EntityManager; import javax.persistence.Query; import org.apache.log4j.Logger; import org.springframework.stereotype.Repository; imp...
package com.tencent.mm.plugin.gallery.ui; import java.util.ArrayList; class SelectAlbumPreviewFolderUI$2 implements Runnable { final /* synthetic */ SelectAlbumPreviewFolderUI jEF; final /* synthetic */ ArrayList jEG; SelectAlbumPreviewFolderUI$2(SelectAlbumPreviewFolderUI selectAlbumPreviewFolderUI, Arr...
package com.tencent.mm.plugin.honey_pay.ui; import com.tencent.mm.ab.l; import com.tencent.mm.plugin.honey_pay.a.i; import com.tencent.mm.ui.widget.MMSwitchBtn; import com.tencent.mm.wallet_core.c.h$a; class HoneyPayCardManagerUI$12 implements h$a { final /* synthetic */ HoneyPayCardManagerUI kkT; final /* sy...
package sc.ustc.dao; import sc.ustc.Proxy.BeanProxy; import sc.ustc.model.BaseBean; import sc.ustc.model.jdbc.JDBCClass; import sc.ustc.model.jdbc.JDBCConfig; import sc.ustc.model.jdbc.Property; import sc.ustc.utils.SCUtil; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import j...
package Controllers; import backend.model.Person; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.fxml.Initializable; import javafx.scene.Node; import javafx.scene.Scene; import javafx.scene.layout.AnchorPane; import javafx.stage.Stage; import java.io.File; impor...
package com.simpson.kisen.product.model.dao; import java.util.List; import com.simpson.kisen.admin.model.vo.SlideImg; import com.simpson.kisen.product.model.vo.Basket; import com.simpson.kisen.product.model.vo.ProductImgExt; import com.simpson.kisen.product.model.vo.ProductOption; public interface ProductDa...
package com.spring3.dao; import org.springframework.jdbc.core.support.JdbcDaoSupport; /** * com.spring3.dao * * @author jh * @date 2018/8/22 15:22 * description: */ public class AccountDaoImpl extends JdbcDaoSupport implements AccountDao { @Override public void addMoney(Integer id, Double money) { getJdbcTe...
package com.cn.my.bean; import java.util.Date; public class Code { private Integer id; private Long codeId; private String codeNameCn; private String codeNameEn; private String codeDesc; private Boolean codeStatus; private Date createTime; private Long createBy; private Dat...
package rjm.romek.awscourse.model; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; impo...
package Logic; import java.math.BigInteger; import java.util.Random; import Backend.Const; import Backend.Util; public class PrivateKey extends Key { public PublicKey publicKey; public PrivateKey(BigInteger key, BigInteger modul) { value = key; this.modul = modul; } public static P...
package com.redink.app.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import o...
package com.bit.tatab.login.dao; import java.util.List; import org.apache.ibatis.session.SqlSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.bit.tatab.login.vo.LoginVO; public interface LoginDAO { // 로그인 info db에 존재하는지 확인(검색) pub...
/** * "Visual Paradigm: DO NOT MODIFY THIS FILE!" * * This is an automatic generated file. It will be regenerated every time * you generate persistence class. * * Modifying its content may cause the program not work, or your work may lost. */ /** * Licensee: * License Type: Evaluation */ package crud; i...
import java.util.*; import java.util.stream.*; import java.io.*; import java.math.*; import java.awt.geom.*; public class B { public static final BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in)); public static final PrintWriter outWriter = new PrintWriter(System.out); public static cla...
package ru.sprikut.sd.refactoring.servlet; import org.junit.Assert; import org.junit.Test; import ru.sprikut.sd.refactoring.product.Product; import java.io.IOException; import java.util.List; import static org.mockito.Mockito.when; public class AddProductTest extends BaseTest { @Test(expected = Exception.class...
package com.bookstore.service; import com.bookstore.domain.*; public interface OrderService { Order createOrder(ShoppingCart shoppingCart, ShippingAddress shippingAddress, BillingAddress billingAddress, Payment payment, String shippingMethod, User user); Order findById(Long id); }
package com.lec.ex1_awt; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class Ex05Frame extends Frame implements ActionListener { // ActionListener - listen to action events //1. implements ActionListener private Panel panel; private TextField tx...
package com.ev.srv.demopai.service.impl; import com.ev.srv.demopai.service.ForecastmovementService; import com.ev.srv.demopai.model.AggregationEvoMovement; import com.ev.srv.demopai.model.AggregationForecastModel; import com.evo.api.springboot.exception.ApiException; import com.ev.srv.demopai.model.ForecastModel; impo...
package com.example.algorithm.id; public class SnowFlakeGenerator{ private final long twepoch = 1288834974657L; //workerIdBits + datacenterIdBits 为工作机器的ID private final long workerIdBits = 5L; private final long datacenterIdBits = 5L; //负数是采用二进制的补码表示 补码 = 反码 + 1 = (原码 - 1)再取反码 /...
package com.layla.modules; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.SystemClock; import android.support.v4.content.ContextCompat; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android....
package com.example.kuldeep.dailynote.Adapters; import android.app.Activity; import android.content.Intent; import android.support.v7.widget.RecyclerView; import android.text.Html; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.RelativeLayout; import ...
package Marketing.OrderEnity; import Presentation.Protocol.IOManager; /** /** * 订单状态:已交付 * @author 梁乔 * @date 2021/10/15 10:36 */ public class DeliveredOrderState extends OrderState{ @Override public boolean isProduced() { return true; } @Override public boolean isTransporting() { ...
package cn.gavinliu.notificationbox.ui.detail; import java.util.List; import cn.gavinliu.notificationbox.model.NotificationInfo; import cn.gavinliu.notificationbox.ui.BasePresenter; import cn.gavinliu.notificationbox.ui.BaseView; /** * Created by Gavin on 16-10-17. */ public interface DetailContract { interf...
package com.swa.qa.pages; public class LoginPage { public LoginPage() { } public void main (String [] args0) { System.out.println("Minor change"); } }
package com.app.sapient.grade.controller; import org.junit.Assert; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.htt...
package inheritance.overriding; public class Overriding { public static void main(String[] args) { Person she = new Person("이소라",111); she.printInfo(); //동적바인딩 Person i = new Faculty("강민경",2222,"인하공전",1); i.printInfo(); // 동적바인딩 Person a = (Person) i; a.printInfo(); // 동적바인딩 하위객체인 Faculty에 printinfo...
package com.nhahv.examplereadfunstories.fragments; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.nhahv.examplereadfunstories.R; import com.nhahv.examplereadfunst...
package kr.ko.nexmain.server.MissingU.c2dm; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLEncoder; import java.util.List; import javax.net.ssl.HttpsURLConnection; import javax.servlet.http.HttpSe...
package kodlama.io.hrms.entities.concretes; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.PrimaryKeyJoinColumn; import javax.persistence.Table; import k...
/* * 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 Authentication; import Controller.SkeletonView; import Services.PasswordEncryptionService; /** * * @author HACK...
package com.yzpc.action; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.interceptor.ServletRequestAware; import com.opensymphony.xwork2.ActionSupport; public class MessageAction extends ActionSupport implements ServletRequestAware{ private HttpServletRequest request; @Override ...
package de.lise.terradoc.core.report.elements; import java.io.StringWriter; public class ParagraphElement extends TextElement { public ParagraphElement(String text) { super(text); } @Override public void appendHtml(StringWriter writer) { writer.append("<p>"); super.appendHtml(...
package com.ericlam.mc.minigames.core.event.section; import com.ericlam.mc.minigames.core.game.GameState; import com.ericlam.mc.minigames.core.game.InGameState; import com.ericlam.mc.minigames.core.manager.PlayerManager; import javax.annotation.Nonnull; import javax.annotation.Nullable; /** * 遊戲等候投票事件。他是最初始的遊戲事件, 在...
/** */ package com.rockwellcollins.atc.limp.impl; import com.rockwellcollins.atc.limp.LimpPackage; import com.rockwellcollins.atc.limp.StringType; import org.eclipse.emf.ecore.EClass; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>String Type</b></em>'. * <!-- end-user-doc --> * ...
package vue; import java.awt.*; import javax.swing.*; import javax.swing.table.DefaultTableCellRenderer; public class RendererGrasCentrer extends DefaultTableCellRenderer { private static final long serialVersionUID = 1L; @Override public Component getTableCellRendererComponent( JTable table, Object v...