text
stringlengths
10
2.72M
package com.wq.newcommunitygovern.app.custom; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.RelativeLayout; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView;...
/* * Copyright 2013 Cloudera Inc. * * 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...
/* * 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. */ /* Интервейс, декларирующий методы обработки XML */ package weblistener; import java.net.Socket; /** * * @author ...
/* * 文 件 名: StringUtil.java * 描 述: StringUtil.java * 时 间: 2013-6-27 */ package com.babyshow.util; /** * <一句话功能简述> * * @author ztc * @version [BABYSHOW V1R1C1, 2013-6-27] */ public class StringUtil { /** * * 将字符串首字母小写 * * @param s * @return */ ...
package com.banlv.road.support; import org.apache.zookeeper.KeeperException; import org.apache.zookeeper.WatchedEvent; import org.apache.zookeeper.Watcher; import org.apache.zookeeper.ZooKeeper; import org.apache.zookeeper.data.Stat; import java.util.Date; /** * @author :Lambert Wang * @date :Created i...
package br.edu.ifam.saf.view; import android.content.Context; import android.content.res.TypedArray; import android.graphics.drawable.Drawable; import android.support.v7.app.AppCompatActivity; import android.text.Editable; import android.text.TextWatcher; import android.util.AttributeSet; import android.view.Gravity; ...
package com.han.springbootmybatisplus2.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.han.springbootmybatisplus2.entity.Teacher; import com.han.springbootmybatisplus2.mapper.TeacherMapper; import com.han.springbootmybatisplus2.service.TeacherService; import org.springframe...
package com.simbircite.demo.repository; import org.springframework.data.repository.*; import com.simbircite.demo.model.*; public interface PayRepository extends PagingAndSortingRepository<Pay, Integer> { }
package JZOF; /** * Created by yangqiao on 19/6/17. */ public class Sort { public static void main(String[] args) { // int[] array = new int[]{1, 2, 3, 5, 2, 3, 1, 9, 4}; // QuikSort.quikSort(array); // for (int i : array) { // System.out.println(i); // } } } class Q...
package com.mihoyo.hk4e.wechat.dto; public class Result<T> { private int code; private String errMsg; private T data; public int getCode() { return code; } public void setCode(int code) { this.code = code; } public String getErrMsg() { return errMsg; } ...
package com.tencent.mm.ui.widget.textview; import android.view.View; import android.view.View.OnClickListener; class a$4 implements OnClickListener { final /* synthetic */ a uPp; a$4(a aVar) { this.uPp = aVar; } public final void onClick(View view) { this.uPp.cBo(); this.uPp....
package org.study.core.references; import java.lang.ref.Reference; import java.lang.ref.ReferenceQueue; import java.lang.ref.WeakReference; /** * WeakReference works similar to SoftReference however objects are eligible to be collected anyway if they have only weak references */ public class WeakRef { private ...
package sample; import com.jfoenix.controls.JFXButton; import com.jfoenix.controls.JFXTextField; import com.jfoenix.controls.JFXToggleButton; import javafx.animation.RotateTransition; import javafx.event.EventHandler; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.s...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package classinfo; import java.io.DataInputStream; import java.io.IOException; import java.util.ArrayList; /** * * @author Nathan */ public class ConstantPool { CPBase[] pool; public CPBase getEntry(int in...
package com.dsc.dw.dao; import javax.naming.*; import javax.sql.*; public class ConnectionManager { private static DataSource dwDS = null; private static Context context = null; public static DataSource mtrcConn() throws Exception { if (dwDS != null){ return dwDS; } try{ ...
package com.aprendoz_test.data; /** * aprendoz_test.VPorcentajeCalificacion * 01/19/2015 07:58:52 * */ public class VPorcentajeCalificacion { private VPorcentajeCalificacionId id; public VPorcentajeCalificacionId getId() { return id; } public void setId(VPorcentajeCalificacionId id...
/** * */ package com.wonders.schedule.aspect; import java.lang.reflect.Method; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterReturning; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; import org.spri...
package com.az.city7; import android.os.Bundle; import android.app.Activity; import android.util.Log; import android.webkit.WebView; import android.webkit.WebViewClient; import org.web3j.crypto.ECKeyPair; import org.web3j.crypto.Keys; import java.security.InvalidAlgorithmParameterException; import java.security.NoSu...
package javaBasics; public class ArrayConcepts { public static void main(String[] args) { // int array int i[]=new int[4]; i[0]=10; i[1]=20; i[2]=30; i[3]=40; System.out.println(i[3]); System.out.println(i.length); //size of array //print all the values of array - use for loop for...
/* * 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.hoc.service.interfaces; import com.hoc.model.AccessRole; import java.util.List; /** * * @author patience */ public int...
package com.tencent.mm.plugin.appbrand.r; import com.tencent.mm.plugin.appbrand.jsapi.m; import com.tencent.mm.sdk.platformtools.aw.a; import com.tencent.mm.sdk.platformtools.x; class b$1 implements a { final /* synthetic */ b gBv; b$1(b bVar) { this.gBv = bVar; } public final void aou() { ...
package no.fint.provider.fiks.exception; public class GetTilskuddFartoyNotFoundException extends RuntimeException { public GetTilskuddFartoyNotFoundException(String message) { super(message); } }
package com.utils.util; public class JVMUtils { /** * 返回虚拟机使用内存量的一个估计值,内容为"xxM" * @return */ public static String usedMemory() { Runtime runtime = Runtime.getRuntime(); return (runtime.totalMemory() - runtime.freeMemory()) / 1024 / 1024 + "M"; } /** * 增加JVM停止时要做处理事件 */ public static void addSh...
package com.lubarov.daniel.multiweb; import com.lubarov.daniel.alexresume.AlexResumeHandler; import com.lubarov.daniel.blog.BlogHandler; import com.lubarov.daniel.chat.ChatHandler; import com.lubarov.daniel.conniewedding.ConnieWeddingHandler; import com.lubarov.daniel.gw2.Gw2Handler; import com.lubarov.daniel.junkmail...
package com.tencent.mm.plugin.webwx.a; import com.tencent.mm.ab.d; import com.tencent.mm.g.a.or; import com.tencent.mm.model.bv.a; import com.tencent.mm.platformtools.ab; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.sdk.platformtools.bl; import com.tencent.mm.sdk.platformtools.x; class g$1 implem...
package com.toggleable.morgan.jeremyslist.ui; /** * Created by morgaface on 11/17/15. */ public class NewListActivity { }
package com.javanme.java8; import java.io.IOException; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.util.Arrays; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.OptionalInt; import java.util.function.Function; import java...
/* * 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 soruIslemleri; import javax.swing.JOptionPane; import java.sql.*; /** * * @author Murat */ public class SoruDuzenlemeEkran...
package buffered; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.nio.channels.SeekableByteChannel; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.LinkOption; import java.nio.file.Path; import java....
package javax.vecmath; class VecMathUtil { static final long hashLongBits(long hash, long l) { hash *= 31L; return hash + l; } static final long hashFloatBits(long hash, float f) { hash *= 31L; if (f == 0.0F) return hash; return hash + Float.floatToIntBits(f); } static final ...
package main.serv; import main.EntityNotFoundException; import main.models.Todo; import java.util.List; public interface TaskService { long addTodo(Todo todo); Todo getTodo(long todoId) throws EntityNotFoundException; String deleteTodo(long todoId) throws EntityNotFoundException; String updateTod...
package com.mes.old.meta; // Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final import java.util.Date; /** * TChangeDetail generated by hbm2java */ public class TChangeDetail implements java.io.Serializable { private TChangeDetailId id; private TChangeHeader TChangeHeader; private String creator; priva...
import java.awt.*; import java.util.ArrayList; import java.util.Optional; /** * Class that handles drawing of the ultimate tic-tac-toe board * @author Andy Burris and Kevin Harris * @version 4 May 2020 */ public class BoardDrawer { private static int LINE_WIDTH = 10; public Board board; private int si...
package com.example.newbies.desktopappweight; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; /** * * @author NewBies * @date 2018/fourth/seventh */ public class ConfigActivity extends AppCompatActivity { @Override public void onCreate(Bundle savedInstanceState){ super....
package com.fleet.xml.entity; import java.io.Serializable; import java.util.List; public class Protocol implements Serializable { private static final long serialVersionUID = 1L; /** * 数据名称 */ private String name; /** * 数据标识 */ private String identifier; /** * 数据单位 */ private String unit; /**...
package io.rudin.electricity.tariff.swiss.data.holiday; public class Holiday { private int year, month, day; private HolidayType type; public enum HolidayType { SATURDAY, SUNDAY } public int getYear() { return year; } public void setYear(int year) { this.year = year; } ...
/* * [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 au.com.autogeneral.testAPI.controller; import au.com.autogeneral.testAPI.domain.ToDo; import au.com.autogeneral.testAPI.model.*; import au.com.autogeneral.testAPI.service.ToDoService; import io.swagger.annotations.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http...
package com.zznode.opentnms.isearch.otnRouteService.api.model; import javax.xml.bind.annotation.XmlType; @XmlType( propOrder = {"objectid","portname"}) public class CardUsedPtpInfo { private String objectid; private String portname; public String getObjectid() { return objectid; } public void setObjectid(St...
package jp.smartcompany.job.modules.quartz.manager.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import jp.smartcompany.job.modules.quartz.JobBean; import jp.smartcompany.job.modules.quartz.dao.ScheduleJobLogDao; import jp.smartcompany.job.modules.quartz.manager.ScheduleJobLogManager; impor...
public class ResourceManager { // ResourceManager Singleton instance private static ResourceManager INSTANCE; /* The variables listed should be kept public, allowing us easy access to them when creating new Sprites, Text objects and to play sound files */ public ITextureRegion mGameBackgroundTextureRe...
package services; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Map; import javax.sql.rowset.CachedRowSet; impo...
package src.br.com.alura.loja; import java.math.BigDecimal; import src.br.com.alura.loja.imposto.CalculadoraDeImpostos; import src.br.com.alura.loja.imposto.ISS; import src.br.com.alura.loja.orcamento.ItemOrcamento; import src.br.com.alura.loja.orcamento.Orcamento; public class TestesImposto { public st...
package edu.upenn.cit594.data; public class ZipCode { private int zipcode; private double population; private double totalParkingFinesAmount; private double totalParkingFinesAmount2; private double quantityOfParkingFines; private double averageParkingTicketCost; private double avera...
package uo.sdi.business.impl.task.command; import uo.sdi.business.exception.BusinessException; import uo.sdi.business.impl.util.CategoryCheck; import uo.sdi.infrastructure.Factories; import uo.sdi.model.Category; public class CreateCategoryCommand{ private Category category; public CreateCategoryCommand(Category ...
/* * [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.example.demo.entity.mail; import org.springframework.mail.javamail.MimeMessageHelper; import javax.mail.*; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; import javax.persistence.Embeddable; import java.util.Properties; import java.util.regex.Pattern; @Embeddable publ...
package de.jmda.fx.cdi; import javax.enterprise.event.Event; import javax.enterprise.event.Observes; import javax.inject.Inject; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import javafx.fxml.FXML; import javafx.scene.control.Button; //@Singleton public class FXV...
package com.niit.dao; import java.util.List; import com.niit.model.Job; public interface JobDao { void addJob(Job job); List<Job>getAllJobs(); void deleteJob(int jid); }
package com.testarea; import java.sql.Time; import java.sql.Timestamp; import java.time.LocalDate; import java.time.LocalTime; import java.time.Month; import java.time.temporal.ChronoUnit; import java.util.Date; public class TimeStampTest { public static void main(String[] args) { LocalDate loca...
package ioccontainer.materials; import ioccontainer.CreateOnTheFly; public class CDependsA { @CreateOnTheFly private ADependsB dependency; public ADependsB getDependency() { return dependency; } public void setDependency(ADependsB dependency) { this.dependency = dependency; }...
package com.xwq520.faceobject.casting; /** * 向上转型对于可扩展性的好处,如果以后还有其他动物,只需要改一个方法 * @author xialiguo */ public class TestFun { public static void main(String[] args) { TestFun tf = new TestFun(); Animal a = new Animal("name"); Cat c = new Cat("catname", "blue"); Dog d = new Dog("dogname", "black"); tf.f(a);...
package member.desktop.pages.account; import global.Global; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import base.PageObject; import java.util.List; public class Member_AccEdit_PC_Page extends PageObject { public static String page_url = Glob...
package com.tencent.tinker.a.a; import com.tencent.tinker.a.a.a.a; import java.nio.ByteBuffer; public final class i$e extends a { private final String name; final /* synthetic */ i voZ; /* synthetic */ i$e(i iVar, String str, ByteBuffer byteBuffer, byte b) { this(iVar, str, byteBuffer); } ...
package app0510.gugudan; import java.awt.FlowLayout; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JTextField; public class Gugudan extends JFrame{ JTextField t_input; JButton bt; JLabel la; public Gugudan() { //생성 la=new JLabel("몇단을 출력...
package geometry.service; import geometry.entity.Figure; import geometry.entity.Square; /** * class SquareCreator. * * @author Ihor Zhytchenko (igor.zhytchenko@gmail.com) * @version $1$ * @since 18.08.2018 */ public class SquareCreator implements Creator { @Override public Figure createFigure() { ...
package jp.smartcompany.job.modules.base.pojo.entity; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.Version; import lombok.Getter; import lombok.Setter; import lombok.ToString; /** * @author Xiao Wenpeng */ @Getter @Setter @ToString public abstract class AbstractL...
package com.tencent.mm.ui.chatting.g; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.tencent.mm.R; import com.tencent.mm.ui.chatting.a.b.a; class f$b extends a { TextView eCn; ImageView gmn; TextView jet; ImageView jez; final /* synthetic */ f...
package com.example.healthmanage.ui.activity.temperature.adapter; import android.content.Context; import android.widget.TextView; import androidx.annotation.Nullable; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.library.adapter.base.BaseViewHolder; import com.example.healthmanage.R; import ...
package model; //import java.io.Serializable; // //import javax.persistence.Entity; //import javax.persistence.Id; //import javax.persistence.JoinColumn; //import javax.persistence.ManyToOne; //import javax.persistence.Table; // // ///** // * The persistent class for the professor database table. // * /...
package com.facebook.react.common; import android.text.TextUtils; import com.facebook.common.e.a; import org.json.JSONException; import org.json.JSONObject; public class DebugServerException extends RuntimeException { public DebugServerException(String paramString) { super(paramString); } pri...
/* * 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 zip; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileOutputStream; im...
package com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.AdLandingPageComponent.component; import android.view.View; import android.view.View.OnClickListener; import com.tencent.mm.sdk.platformtools.x; class r$5 implements OnClickListener { final /* synthetic */ r nFh; r$5(r rVar) { this.nFh =...
package codechef; import java.util.*; import org.junit.Test; import static org.junit.Assert.*; import codechef.Dijkstra.Road; public class DijkstraTest { @Test public void testDijkstra() { final var graph = new Dijkstra( new HashSet<>( Arrays.asList("Chicago", "Cleveland",...
/* * 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 tr.com.rah.fe; import java.awt.BorderLayout; import static java.awt.Dialog.DEFAULT_MODALITY_TYPE; import java.awt.GridLayout; ...
package mk.petrovski.weathergurumvp.injection.module; import android.content.Context; import com.jakewharton.retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory; import dagger.Module; import dagger.Provides; import java.io.IOException; import mk.petrovski.weathergurumvp.data.remote.ApiConsts; import mk.petrovski.weath...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.trivee.fb2pdf; import com.itextpdf.text.BaseColor; import com.itextpdf.text.Rectangle; import org.apache.commons.lang3.StringUtils; /** * * @author vzeltser */ public class HeaderSlotSettings { publ...
package codeforces.Round_292_Div2.C_Drazil_and_Factorial; import java.io.InputStream; import java.io.PrintStream; import java.util.*; public final class Solution { // 2 -> 2! // 3 -> 3! // 4 -> 3!2!2! // 5 -> 5! // 6 -> 5!3! // 7 -> 7! // 8 -> 7!2!2!2! // 9 -> 7!3!3!2! public stat...
package com.xiaoysec.hrm.business.job.mapper; import java.util.List; import java.util.Map; import com.xiaoysec.hrm.business.job.entity.Job; public interface JobMapper { public Integer getJobCount(Map<String, Object> parm); // 分页查询 public List<Job> findJob(Map<String, Object> parm); public Job getJobById(Integ...
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2015 Paco Avila & Josep Llort * * No bytes were intentionally harmed during the development of this application. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Ge...
/* * 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 gal.teis.pgr.abstractos; /** * * @author Esther Ferreiro */ public class FiguraGeometricaUtils { public static double ...
package com.bashpole.updentity.dao; import java.io.IOException; import java.net.HttpRetryException; import net.sf.json.JSONArray; import net.sf.json.JSONObject; import com.bashpole.updentity.utility.UpdentityConstants; import com.bashpole.updentity.webresources.CouchConnect; /* * Data access object for Constant Co...
package Pojos; // Generated Sep 19, 2015 12:30:29 PM by Hibernate Tools 4.3.1 import java.math.BigDecimal; import java.util.Date; import java.util.HashSet; import java.util.Set; /** * Cargo generated by hbm2java */ public class Cargo implements java.io.Serializable { private Integer idCargo; priva...
package app.integro.sjbhs.adapters; import android.content.Context; import androidx.core.content.ContextCompat; import androidx.cardview.widget.CardView; import androidx.recyclerview.widget.RecyclerView; import android.content.Intent; import android.text.SpannableString; import android.view.LayoutInflater; import an...
/* * Created on Sep 17, 2004 * * To change the template for this generated file go to * Window - Preferences - Java - Code Generation - Code and Comments */ package com.ibm.ive.tools.commandLine; import java.util.ArrayList; /** * @author sfoley * * To change the template for this generated type c...
package ru.otus.l151.front; import ru.otus.l151.app.MessageSystemContext; import ru.otus.l151.app.MsgChat; import ru.otus.l151.dataset.UserDataSet; import ru.otus.l151.db.MsgGetUserDataSet; import ru.otus.l151.db.MsgNewUserDataSet; import ru.otus.l151.messageSystem.Address; import ru.otus.l151.messageSystem.ControlBlo...
package com.takshine.wxcrm.service; import com.takshine.wxcrm.base.services.EntityService; import com.takshine.wxcrm.domain.Schedule; import com.takshine.wxcrm.message.error.CrmError; import com.takshine.wxcrm.message.sugar.ScheduleResp; /** * 日程任务 业务处理接口 * * @author liulin */ public interface Schedule2SugarServ...
package com.jim.multipos.ui.admin_main_page.fragments.dashboard.di; import android.support.v4.app.Fragment; import com.jim.multipos.config.scope.PerFragment; import com.jim.multipos.ui.admin_main_page.fragments.dashboard.OrdersFragment; import dagger.Binds; import dagger.Module; @Module public abstract class OrderM...
package thsst.calvis.configuration.model.exceptions; /** * Created by Goodwin Chua on 2/4/2016. */ public class ValueExceedException extends Exception { public ValueExceedException(String registerName) { super("Value of " + registerName + " exceeded. Values can only be between 2^-64 and 2^64."); } ...
package com.dral.Chatter.permissions; import com.dral.Chatter.Chatter; import org.bukkit.entity.Player; import static com.dral.Chatter.Chatter.perms; import static com.dral.Chatter.Chatter.chatinfo; public class ChatterPermissionsHandler { Chatter plugin; public ChatterPermissionsHandler(Chatte...
package com.smxknife.java2.io.reader; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStreamReader; /** * @author smxknife * 2018/11/19 */ public class InputStreamReaderDemo { public static void main(String[] args) throws IOException { InputSt...
package bartender.bardatabase; import java.io.FileReader; import java.util.HashMap; import java.util.Iterator; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import bartender.database.DatabaseSingelton; import bartender.mics.ProtocolCallback;...
package com.example.cc.opencvtest; /** * Created by cc on 7/17/2015. */ public class EnumType { public enum Type{ } }
package com.designPattern.com.imooc.strategy; import com.designPattern.com.imooc.strategy.impl.FlyNoWay; /** * @Author : Admin * @Description : * @Date : 2018/6/28 10:55 */ public class BigYellow extends Duck{ public BigYellow() { super(); super.setFlyingStragety(new FlyNoWay()); } @O...
package com.arkinem.libraryfeedbackservice.model; import java.util.UUID; import javax.validation.constraints.NotBlank; import com.fasterxml.jackson.annotation.JsonProperty; public class Vote { private final UUID id; @NotBlank private final Long timestamp; @NotBlank private final UUID questionId; private fi...
package edu.jspiders.constructorinjection.beans; import java.io.Serializable; public class Mobile implements Serializable { private String serialNumber; private String brand; private String name; private double price; public Mobile() { System.out.println(this.getClass().getSimpleName()+" Objec...
package c; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JOptionPane; import m.People; import m.Task; import v.Panel3; import m.SomeDataClass; /** * Class listening for action events from the button named 'save', inside the add...
package pattern_test.adapter.class_adapter; /** * Description: * * @author Baltan * @date 2019-04-02 14:42 */ public class StandardVoltage implements Voltage { @Override public void standardOutput() { System.out.println("电压:220V"); } }
package com.example.java.reflect; import java.util.Map; import java.util.ServiceLoader; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import javax.xml.xpath.XPathFactory; import org.junit...
package com.xujiangjun.archetype.constant; /** * 应用内共享变量 * 包名统一使用单数形式,类名如果有复数含义,类名可以使用复数形式 * * @author xujiangjun * @since 2018.05.20 */ public interface ConfigConsts { /** IP白名单配置项 **/ String IP_WHITE_LIST = "ip_white_list"; }
package com.victoriachan.algorithmn; /** * @program: algorithm * @description: * @author: VictoriaChan * @create: 2020/03/14 21:23 **/ public class RandomListNode { int label; RandomListNode next = null; RandomListNode random = null; RandomListNode(int label) { this.label = label; } ...
package com.halilayyildiz.game; import java.util.Collections; import java.util.LinkedHashMap; import java.util.Map; import java.util.UUID; import com.halilayyildiz.game.model.IPlayer; import lombok.Data; @Data public class BaseGame { protected String id; protected int capacity; protected Map<String, IPlay...
package org.inftel.scrum.activities; import java.lang.reflect.Type; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.List; import org.apache.http.message.BasicNameValuePair; import org.inftel.scrum.R; import org.inftel.scrum.lists.TareasAdapter; import org.inftel.scrum.modelXML.Proyecto...
package com.example.spring05.controller; import javax.inject.Inject; import javax.servlet.http.HttpSession; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestBod...
package com.sudipatcp.twopointers; import java.util.ArrayList; public class RemoveDuplicates2 { public static int removeDuplicates(ArrayList<Integer> a) { int i =0, j=1; while(j<a.size()){ int count = 1; while(j < a.size() && a.get(i).equals(a.get(j))){ j...
package org.springframework.fom.support.service; import java.io.File; import java.io.FileOutputStream; import java.io.ObjectOutputStream; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import ...
package com.epam.restaurant.controller.command.impl; import com.epam.restaurant.controller.name.JspPageName; import com.epam.restaurant.controller.command.exception.CommandException; import com.epam.restaurant.controller.command.Command; import com.epam.restaurant.entity.Category; import com.epam.restaurant.service.Ca...
/** * <copyright> * </copyright> * * $Id$ */ package BPMN; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Event Eskalation Bold Invert</b></em>'. * <!-- end-user-doc --> * * * @see BPMN.BPMNPackage#getBPMNEventEskalationBoldInvert() * @model * @generated */ public interface...
package com.xiaoxiao.controller; import com.xiaoxiao.pojo.XiaoxiaoAdvertising; import com.xiaoxiao.service.backend.AdvertisingService; import com.xiaoxiao.utils.Result; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import o...
package great_class07; /** * Created by likz on 2023/4/14 * 给定一个正数组成的数组,长度一定大于1,求数组中哪两个数与的结果最大 * * @author likz */ public class Class01_MaxAndValue { /** * 暴力方法 O(n^2) 时间复杂度 * @param arr 入参 * @return ans */ public static int maxAndValue(int[] arr){ int ans = arr[0] & arr[1]; ...