text
stringlengths
10
2.72M
package cn.xyz.mianshi.vo; import java.util.List; import lombok.Getter; import lombok.Setter; import lombok.ToString; @Getter @Setter @ToString public class InviteVo { private List<Integer> addUserIds;//被邀请者id private String push;//推送给群主 }
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/** * Copyright (c) 2004-2011 QOS.ch * All rights reserved. * * 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...
package com.lab.Attendance_System.controller; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import javax.annotation.PostConstruct; import org.springframework.stereotype.Service; @Service public class AdminMessage { private List<Admin> admin; //初始化一些user @PostConstruct...
package auction; import java.lang.*; import java.util.*; //import java.util.regex.Pattern; public class Lot { private String artist; private String title; private int hammerPrice; private Lot(String artist, String title, int hammerPrice) { this.artist = artist; this.title = title; this.hammerPrice = hamme...
package com.redhat.healthcare.patient.domain; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.SequenceGenerator; import io.quarkus.hibernate.orm.panache.PanacheEntityBase; @Entity public class Pat...
package com.mystudy.thread.demo1; public class LockObject { public static Object obj = new Object(); }
/* * [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 ter...
package br.com.bytebank.banco.teste; import br.com.bytebank.banco.modelo.ContaCorrente; import br.com.bytebank.banco.modelo.ContaPoupanca; public class TestaConta { public static void main(String[] args) { ContaCorrente cc = new ContaCorrente(933, 12222); try { cc.deposita(200); } catch (Exception e) { ...
package com.tencent.mm.plugin.freewifi.ui; import android.view.MenuItem; import android.view.MenuItem.OnMenuItemClickListener; class FreeWifiNoWifiUI$1 implements OnMenuItemClickListener { final /* synthetic */ FreeWifiNoWifiUI jnO; FreeWifiNoWifiUI$1(FreeWifiNoWifiUI freeWifiNoWifiUI) { this.jnO = f...
package pl.lua.aws.core.service; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import pl.lua.aws.core.domain.PokerPlayer; import pl.lua.aws.core.model.PokerPlayerEntity; import pl.lua.aws.core.model.TournamentEntity; impo...
package com.sports.api.CricketApp.service; public interface AllMatchesService { String getAllCurrentMatches(); String getSelectedMatchScore(String matchId); }
package org.starter.netty; import org.junit.Test; public class Starter01 { @Test public void t002() { /** * 实现discard协议 * * ChannelHandlerAdapter实现ChannelHandler接口 * * 处理器的职责是释放所有传递到处理器的引用计数对象 * * public void channelRead(ChannelHandlerContext ctx, Object msg) { * try { * *...
package com.goservice.model; import lombok.Data; @Data public class AdminServiceModel { String id; String maker; String model; String service; String charges; String date; public AdminServiceModel(){} }
package com.example.worldwide.popularmovies1; import android.content.Context; import java.util.ArrayList; class MovieAsyncTaskLoader extends android.support.v4.content.AsyncTaskLoader<ArrayList<Movie>> { private String mHowToSort; @Override protected void onStartLoading() { super.onStartLoadin...
package com.vilio.nlbs.commonMapper.dao; import com.vilio.nlbs.commonMapper.pojo.NlbsDistributor; import java.util.List; public interface NlbsDistributorMapper { int deleteByPrimaryKey(Integer id); int insert(NlbsDistributor record); int insertSelective(NlbsDistributor record); NlbsDistributor sel...
package com.hmammon.photointerface; import android.content.Context; import com.hmammon.photointerface.domain.BindInfo; import com.hmammon.photointerface.domain.GetDeviceInfo; import com.hmammon.photointerface.domain.UnbindInfo; import com.hmammon.photointerface.domain.UploadInfo; import java.net.URI; /** * 面向APP的接...
package craigscode.components; // TODO: Add the following: // images import java.io.File; import java.io.FileWriter; import java.io.IOException; public class MDPage extends MDComponent { private String fileName; private StringBuilder builder; public MDPage(String fileName) { this.fileName = fi...
package SortingProblems; import java.util.Scanner; public class HeapInsertion { public static void main(String[] args) { int[] arr = {50, 30, 20, 15, 10, 8, 16}; int[] newArr = new int[arr.length + 1]; Scanner inputReader = new Scanner(System.in); int inputValue = inputReader.nextInt(); insertion(in...
package com.edu.miusched.controller; import com.edu.miusched.domain.Block; import com.edu.miusched.domain.Section; import com.edu.miusched.service.SectionService; import com.edu.miusched.service.impl.BlockServiceImpl; import com.edu.miusched.service.impl.Sectionimpl; import org.junit.jupiter.params.shadow.com.univocit...
package com.vuelos.domain; import java.io.Serializable; import javax.persistence.*; @Entity @Table public class Estado_Asiento implements Serializable{ @Id @Column(name="id_estado") private Integer id_estado_asiento; @Column(name="descripcion") private String descripcion; public Estado_Asiento() {...
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package com.example.mireia.sharetool_appnativa; import android.app.ProgressDialog; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import com....
package com.example.kms.zalando.awskmsexamplezalando; import de.zalando.spring.cloud.config.aws.kms.KmsTextEncryptor; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.con...
package com.example.ernesto.subneteo; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.widget.ScrollView; import android.widget.TextView; public class Muestra extends AppCompatActivity { TextView tv_mostrar; int ...
/* * 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...
/* * [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 extractor; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.LinkedHashMap; import java.util.Map; import org.apache.commons.csv.CSVFormat; import org.apache.commons.csv.CSVParser; import org.apache.commons.csv.CSVRecord; import org.json.simple.JSONObject; /** * Cla...
/* * LumaQQ - Java QQ Client * * Copyright (C) 2004 luma <stubma@163.com> * * 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 Foundation; either version 2 of the License, or * (at your option) any lat...
/** * EmailExistsValidator.java * * Skarpetis Dimitris 2016, all rights reserved. */ package dskarpetis.elibrary.ui.validator; import org.apache.wicket.model.IModel; import org.apache.wicket.validation.IValidatable; import org.apache.wicket.validation.IValidator; import org.apache.wicket.validation.ValidationError...
package backjoon.math; import java.io.*; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; public class Backjoon2981 { private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); private static final BufferedWriter bw =...
package br.com.supportcomm.freecall.service.schedule; import java.util.List; import br.com.supportcomm.freecall.entity.Schedule; import br.com.supportcomm.freecall.impl.schedule.ScheduleBean; import br.com.supportcomm.freecall.impl.schedule.ScheduleBeanLocal; /** * Session Bean implementation class Schedul...
/* * Copyright (C) 2015 Miquel Sas * * 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 Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is d...
package com.radiant.rpl.testa.ExamSection; import android.Manifest; import android.app.Activity; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; ...
package studentapp.c_learning.kit.studentapp; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android.graphics.Rect; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v7.app.AppCompatActivity; import andro...
package math; public class Matrix { private double[][] matrix; /** Constructeur */ public Matrix(int nbLine, int nbColumn) { if (nbLine < 0 || nbColumn < 0) { throw new ArithmeticException("Dimension matrice non conforme"); } this.matrix = new double[nbLine][]; for (int i=0; i<nbLine; i++...
package com.z3pipe.z3core.model; /** * Created with IntelliJ IDEA. * Description: 经纬度坐标{longitude,latitude.height} * @author zhengzhuanzi * Date: 2018-07-10 * Time: 下午2:01 * Copyright © 2018 ZiZhengzhuan. All rights reserved. * https://www.z3pipe.com */ public class LonLat extends BaseModel { private doubl...
package Relation; import DifferentiatedHistory.History; import DifferentiatedHistory.HistoryItem; import java.util.HashMap; import java.util.HashSet; public class ConflictRelation extends PoSetMatrix{ public ConflictRelation(int size) { super(size); } public void calculateConflictRelation( Caus...
package com.tt.option.p; import android.content.Context; import org.json.JSONObject; public interface d { e createSDKMonitorInstance(Context paramContext, String paramString, JSONObject paramJSONObject); } /* Location: C:\Users\august\Desktop\tik\df_miniapp\classes.jar!\com\tt\option\p\d.cl...
package gdut.ff.service; import java.util.Date; import java.util.List; import java.util.UUID; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import gdut.ff.domain.Category; import gdut.ff.m...
package com.tencent.mm.plugin.brandservice.ui; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.tencent.mm.bg.d; import com.tencent.mm.kernel.g; import com.tencent.mm.plugin.bra...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package begining.gf4.ejb.soap.service; import java.security.Principal; import java.util.Set; import javax.annotation.Resource; import javax.ejb.EJBException; import javax.jws.WebService; import javax.jws.WebM...
package com.samyotech.laundry.ui.fragment; import android.Manifest; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.Canvas; import android.location.Location; import android.os.B...
package URI.Iniciante; import java.util.Scanner; /** * * @author Johnata */ public class Entrada_e_Saida_CPF_2763 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String cpf = sc.next(); System.out.println(cpf.substring(0,3)); System.out.println(cpf...
package com.dio.api.controller; import com.dio.api.model.Workday; import com.dio.api.service.WorkdayService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import org.springframework.web.servlet.support.Se...
package MonteCarlo; public class Option { /** Option Name */ String name; /** Initial Price */ double initialPrice; /** Duration of the option*/ int period; /** The interest rate r*/ double interestRate; /** The volatility sigma */ double volatility; /** The strike price of the option */ double strikePric...
package GUI; public class Window3 { }
package com.hand6.demo.app.service; import com.hand6.demo.domain.entity.User; /** * Created by Administrator on 2019/7/3. */ public interface UserService { User create(User user); }
package com.greenapex.quizapp.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org....
package com.example.andreykochetkov.rk.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.support.v4.content.LocalBroadcastManager; import android.support.v7.app.AppCompatActivity; import android.os.Bund...
package org.cheng.login.presenter.impl; import org.cheng.login.entity.Contact; import org.cheng.login.model.IContactModel; import org.cheng.login.model.IEditorModel; import org.cheng.login.model.IModel; import org.cheng.login.model.impl.ContactModel; import org.cheng.login.model.impl.EditorModel; import org.cheng.logi...
package com.example.g.cardet; import android.app.NotificationManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.support.v7.app.NotificationCompat; import android.util.Log; import org.datavec.api.records.reader.RecordReader; import org.datav...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utils; /** * * @author asus-K40IJ */ public class User { private String mUsername; private String mPassword; private String mFirstname; private String mLastname; private String mEmail...
/******************************************************************************* * Copyright (C) 2011 Peter Brewer. * * 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 Foundation, either version 3 of th...
/* * [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 ter...
package com.lera.vehicle.reservation.service.customer; import com.lera.vehicle.reservation.domain.customer.CreditCard; import java.util.Collection; import java.util.List; public interface CreditCardService { List<CreditCard> listCreditCards(); CreditCard getCreditCardById(long id); CreditCard createCre...
package com.goldgov.gtiles.core.module; import java.io.Serializable; /** * * @author LiuHG * @version 1.0 */ public class SignedModule implements Serializable{ private static final long serialVersionUID = -5618642703978805054L; private Module[] modules; private byte[] signature; public Si...
package ru.otus.db.dao.jdbc; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import ru.otus.db.Executor; import ru.otus.db.TestDBConf; import ru.otus.exeptions.ExceptionThrowable; import ru.otus.models.DeptEntity; import java.util.ArrayList; import java.util.List; imp...
package com.database.endingCredit.domain.user.service; import com.database.endingCredit.domain.user.dto.LoginDTO; import com.database.endingCredit.domain.user.dto.SignUpDTO; import com.database.endingCredit.domain.user.entity.Customers; import com.database.endingCredit.domain.user.mapper.CustomerMapper; import com.dat...
package rs.code9.taster.web.controller; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Mode...
package com.sda.project.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.sda.project.dao.ItemDao; import com.sda.project.model.Item; @Service("item...
package com.wuyan.masteryi.mall.service; import java.util.Map; /** * @Author: Zhao Shuqing * @Date: 2021/7/6 16:30 * @Description: */ public interface CollectService { Map<String, Object> addToCollect(Integer userId, Integer goodsId); Map<String, Object> deleteFromCollect(Integer collectId); Map<Stri...
package registration.tdd; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; class RemoveAinFirstTwoCharsTest { /* * 1. 1 char : A => "" * 2. 1 char : B =>"B" * 3. 2 chars : AA => "" * 4. 2 chars : BA/AB => "B" * 5. 3 chars : AAB =...
package org.gwtbootstrap3.client.ui; /* * #%L * GwtBootstrap3 * %% * Copyright (C) 2013 GwtBootstrap3 * %% * 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...
package com.leysoft.app.service.inter; import java.util.List; import com.leysoft.app.entity.Autor; public interface AutorService { public Autor save(Autor autor); public Autor findById(Long id); public Autor findByIdJoinFetch(Long id); public Autor findByNombre(String nombre); public Autor findByNombr...
package micro.auth.services; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Service; import dao.auth.LogRequestDa...
package presentacion.vistas.factura; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.text.SimpleDateFormat; import java.util.Collection; import javax.s...
package com.emoth.emothciphertest; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.TextView; import com.emoth.emothcipher.sm3.SM3; public class MainActivity extends AppCompatActivity ...
package carnival.gusac.com.gusaccarnival40; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; impor...
package com.example.dialog; import com.example.dialogdemo2.R; import android.app.Dialog; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.Window; import android.widget.LinearLayout; public class MyDialog extends Dialog { private Context mContext; ...
/* * 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 mathsapp; /** * * @author x13335131 */ public class highscore { private int score; private String name; ...
import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.layout.*; import javafx.scene.control.*; import javafx.scene.image.Image; import javafx.scene.canvas.*; import javafx.scene.paint.Color; import javafx.scene.text.*; import javafx.scene.input.*; import javafx...
package serverTask.service; public class AggregationService { }
package design.pattern.project.example.store.reports; import design.pattern.project.example.store.domain.CartItem; import design.pattern.project.example.store.domain.Item; import design.pattern.project.example.store.domain.ShoppingCart; public class BillingReport implements IBillingVisitor { double subTotal...
package tech.adrianohrl.stile.control.bean.events; import tech.adrianohrl.stile.control.bean.DataSource; import tech.adrianohrl.stile.control.dao.events.TimeClockEventDAO; import tech.adrianohrl.stile.model.events.TimeClockEvent; import tech.adrianohrl.util.Calendars; import java.io.Serializable; import java.util.Cale...
package com.top.demo.configuration; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.redis.connection.RedisConnectionFactory; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.c...
import com.autohome.tesla.proxy.storm.tools.ShortEncrypt; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; /** * Created by Neher on 2014/6/11. */ public class test { private static final String regular = "(.[^.]*)(|/|[A-Za-z]+|\\.aspx|\\.html|\\.aspx)$"; public static...
package com.zhowin.miyou.recommend.adapter; import androidx.annotation.NonNull; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.library.adapter.base.BaseViewHolder; import com.zhowin.miyou.R; import com.zhowin.miyou.recommend.model.GiftList; /** * 礼物列表的adapter */ public class GiftListAdapter...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
//HotFix.java public class HotFix{ public void fix(){ System.out.println("Fixing bugs in hotfix branch"); System.out.println("Releasing last changes in hotfix branch"); System.out.println("Ready to merge hotfix branch into master branch") ; } }
package com.vilio.ppms.exception; import java.util.Map; /** * 需监控异常 */ public class SeriousErrorException extends ErrorException { public SeriousErrorException(String msg) { super(msg); } public SeriousErrorException(String message, Map<String, Object> returndata) { super(message, returndata); } public ...
package swm11.jdk.jobtreaming.back.app.lecture.repository; import org.springframework.data.domain.PageRequest; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import swm11.jdk.jobtreaming.back.app.lecture.model.LectureAnswer; import java.util.List; @Rep...
package com.tencent.mm.plugin.appbrand.jsapi.camera; import android.graphics.Bitmap; import com.tencent.mm.plugin.appbrand.jsapi.camera.AppBrandCameraView.b; import com.tencent.mm.plugin.mmsight.api.MMSightRecordView.e; class AppBrandCameraView$b$1 implements e { final /* synthetic */ b fOA; AppBrandCameraVi...
/******************************************************************************* * 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 r...
package com.lupan.HeadFirstDesignMode.chapter7_adapterAndFacade.face; /** * TODO * * @author lupan * @version 2016/3/23 0023 */ public class Main { public static void main(String[] args){ //正常调用 Door door = new Door(); Light light = new Light(); Television television = new Tele...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
package com.example.test.blooth; public class ThermometerInstrument { public static float getResult(String data) { String dataArray[] = data.split(" "); if (dataArray != null && dataArray.length == 8 && !"BB".equals(dataArray[6]) && !"AA".equals(dataArray[5])) { String resultStr = dataArray[4] + dataArray[...
package com.espendwise.manta.web.controllers; import com.espendwise.manta.model.view.EntityHeaderView; import com.espendwise.manta.service.CMSService; import com.espendwise.manta.spi.AutoClean; import com.espendwise.manta.util.Utility; import com.espendwise.manta.web.forms.CMSForm; import com.espendwise.manta.web.uti...
package com.jlgproject.activity; import android.app.Activity; import android.content.Context; import android.text.TextUtils; import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.EditText; import android.widget.ImageView; import android.widget.LinearLayout; import android....
package com.gotg.birdquiz; import android.app.Fragment; import android.os.Bundle; import android.text.Html; import android.text.method.LinkMovementMethod; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; public class DonateActivityFragment ex...
package com.travelportal.vm; public class TransportationDirectionsVM { public int transportCode; public String locationName; public String locationAddr; public int getTransportCode() { return transportCode; } public void setTransportCode(int transportCode) { this.transportCode = transportCode; } publ...
package gupaoedu.vip.pattern.factory.factorymethod; import gupaoedu.vip.pattern.factory.ICourse; import gupaoedu.vip.pattern.factory.JavaCourse; import gupaoedu.vip.pattern.factory.PythonCourse; /** * 2019/6/17 * suh **/ public class PythonCourseFactory implements ICourseFactory{ @Override public ICourse ...
package Numbers; public class PrintNumber { public static void main(String[] args) { int num=10; for(int i=1;i<=num;i++) { //System.out.println(i); if(num%i==0) { System.out.println(i + "is even number"); } } } }
package samsungTest; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.StringTokenizer; public class testt { private static Map<String, Node> nodeMap = new HashMap<String, Node>(); ...
package edu.fa; import org.hibernate.SessionFactory; import org.hibernate.boot.registry.StandardServiceRegistryBuilder; import org.hibernate.cfg.Configuration; import org.hibernate.loader.custom.Return; import org.hibernate.service.ServiceRegistry; public class ConnectionUtil { public static SessionFactory sessionFa...
package com.sixmac.service; import com.sixmac.entity.Province; import com.sixmac.service.common.ICommonService; import java.util.List; /** * Created by Administrator on 2016/5/31 0031 下午 6:00. */ public interface ProvinceService extends ICommonService<Province> { public Province getByProvinceId(Long provinceI...
package com.example.demo.Models; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; import java.time.LocalDate; import java.util.List; @Data @Entity @AllArgsConstructor @NoArgsConstructor public class C...
package com.app.cosmetics.api; import com.app.cosmetics.api.exception.InvalidRequestException; import com.app.cosmetics.api.exception.NoAuthorizationException; import com.app.cosmetics.application.AuthorizationService; import com.app.cosmetics.application.CategoryService; import com.app.cosmetics.application.data.Cate...
package StaticClass; public class ClassLevelStatic { static int a = 0; public void classlevelStatic() { a = a + 1; } public static void main(String[] args) { ClassLevelStatic obj = new ClassLevelStatic(); obj.classlevelStatic(); System.out.println(obj.a); ClassLevelStatic obj1 = new ClassLevel...
package testNG; import org.testng.annotations.Test; public class Annotations { //Ramya Annotations @Test(priority=1) public void show() { System.out.println("Welcome To TestNG-- Next Generation"); } @Test(priority=2) public void addition() { System.out.println(5+6); } @Te...