text
stringlengths
10
2.72M
package com.freejavaman; import android.app.Activity; import android.os.Bundle; import android.text.Editable; import android.text.method.HideReturnsTransformationMethod; import android.text.method.PasswordTransformationMethod; import android.util.Log; import android.view.KeyEvent; import android.view.View; import andr...
package com.rastiehaiev.notebook.test; import com.rastiehaiev.notebook.test.condition.ICondition; import com.rastiehaiev.notebook.test.handler.IParameterHandler; import org.apache.commons.collections4.CollectionUtils; import java.util.List; import java.util.Map; /** * @author Roman Rastiehaiev * Created on...
package workstarter.service.impl; import workstarter.service.ProfessionService; import workstarter.domain.Profession; import workstarter.repository.ProfessionRepository; import workstarter.repository.search.ProfessionSearchRepository; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework....
package org.gbif.rest.client.geocode.test; import java.io.File; import java.io.FileNotFoundException; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.Optional; import java.util.Scanner; import java.util.StringJoiner; /** * Tests ...
package commandline.language.parser.specific.list; import commandline.language.parser.specific.DoubleArgumentParser; /* * This class is aimed to be used in the @CliAnnotation */ /** * User: gno, Date: 18.02.2015 - 14:44 */ public class DoubleListArgumentParser extends ListArgumentParser<Double> { public DoubleL...
package org.addressbook.textutils; import java.util.Scanner; /** * A utility class with (so far) one static method for getting * values from the user, using standard out and standard in for * communication. */ public class TextUtils{ private static Scanner in = new Scanner(System.in); /* We don't want cli...
package com.meta.db; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.Reques...
/** * 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 GN...
package ch24.ex24_03; import java.text.DateFormat; import java.text.ParseException; import java.util.Date; public class MyDateParse { private static final int[] styles = { DateFormat.FULL, DateFormat.LONG, DateFormat.MEDIUM, DateFormat.SHORT }; private static final String[] styleStrs = { ...
/* * 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 2008 Eckhart Arnold (eckhart_arnold@hotmail.com). * * 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...
/* * [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 org.mengyun.tcctransaction.support; /** * Bean 容器的公共接口 * <p>从 1.2.X 版本中复制过来</p> * Created by changmingxie on 11/20/15. */ public interface BeanFactory { /** * 根据 Class 对象获取对应的实例 * * @param var1 Class 对象 * @param <T> Class 的类型 * @return Class 对象的实例 */ <T> T getBean(Cl...
package shared; /** NominalAttrValue is a class which stores the vlaues of nominal attributes. The * values can only be accessed through AttrInfo functions. */ public class NominalAttrValue extends AttrValue { /** Creates a deep copy clone of this object. * @throws CloneNotSupportedException if the Att...
package com.company; public class Main { public static void main(String[] args) { System.out.println(getDurationString(365)); } public static String getDurationString(int min, int sec){ if (min< 0 || (sec<0 || sec>59)){ return "invalid duration"; } int hours = (...
public enum PastryTypeIngredient { Plain, Oatmeal, Variety, ChocoNut; }
package prova; import propis.*; import empresa.*; public class test{ public static void main(String[] args) { Propi bocadillo=new Entrepa(102,(float)5.2,(float)8.0,"Bocadillo de Albondigas",1,true); try{ bocadillo.addIngredients(new Ingredient(1,1,"Pa"),(float)1.0); bocadillo.addIngredients(new Ingredi...
package com.DeGuzmanFamilyAPI.DeGuzmanFamilyAPIBackend.fun_apps_repository; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; import com.DeGuzmanFamilyAPI.DeGuzmanFamilyAPIBacken...
/** * Support for deployment -a utomates the process of loading knowledge bases, compiling them * into source code, byte code and loading the generated classes. */ package nz.org.take.deployment;
package com.appdear.client.utility; import android.util.Log; /** * 获得中文的汉语拼音 * @author jindan * */ public class ChineseConvert { static final String include="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; /** * * @param str 字符串 * @param isfirstC 是否显示首字符 * @return 返回汉语拼音 */ public static String ChineseToPing(St...
package frc.robot.commands; import frc.robot.Robot; import frc.robot.RobotMap; import frc.robot.old.RobotOld; import com.ctre.phoenix.motorcontrol.ControlMode; import edu.wpi.first.wpilibj.DoubleSolenoid; public class ElevatorCommand extends CommandBase { public enum Direction{ STAGEZERO, STAGEONE, STAGETWO, STO...
package kodlama.io.hrms.api.controllers; import java.util.List; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web....
package com.youthchina.domain.Qinghong; import com.fasterxml.jackson.annotation.JsonProperty; import java.sql.Timestamp; import java.util.List; public class Resume { private Integer resume_id; private String resume_url; private Timestamp resume_upload_time; private Integer stu_id; private Integer...
package com.xzkj.xzkjproject.request; import com.google.gson.Gson; import com.lzy.okhttputils.OkHttpUtils; import com.lzy.okhttputils.callback.StringCallback; import com.lzy.okhttputils.model.HttpHeaders; import com.lzy.okhttputils.model.HttpParams; import com.xzkj.xzkjproject.interfaces.IRequestLisenter; import com.x...
package com.tencent.mm.openim.b; import com.tencent.mm.aa.f; import com.tencent.mm.aa.j; import com.tencent.mm.aa.q; import com.tencent.mm.kernel.g; import com.tencent.mm.protocal.c.axq; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.storage.ab; public fin...
package array.week_1; import java.util.HashMap; /** * @program: leetcode_practise * @description: LeetCode 类型:数组; 题号:1; 难度:简单; * * 题目描述:给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标。 * 你可以假设每种输入只会对应一个答案。但是,你不能重复利用这个数组中同样的元素。 * 链接:https://leetcode-cn.com/problems/two-sum * * @author: fanyuexian...
package cn.gzcc.feibao.controller; import cn.gzcc.feibao.entity.Order_N; import cn.gzcc.feibao.repository.NorderRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springfra...
package com.test.xiaojian.simple_reader.ui.adapter; import com.test.xiaojian.simple_reader.model.bean.BillBookBean; import com.test.xiaojian.simple_reader.ui.adapter.view.BillBookHolder; import com.test.xiaojian.simple_reader.ui.base.adapter.BaseListAdapter; import com.test.xiaojian.simple_reader.ui.base.adapter.IView...
package com.z3pipe.z3location.model; /** * Created with IntelliJ IDEA. * Description: ${TODO} * Date: 2019-04-15 * Time: 09:40 * Copyright © 2018 ZiZhengzhuan. All rights reserved. * https://www.z3pipe.com * * @author zhengzhuanzi */ public enum ELocationQuality { /** * GPS GPS状态正常 */ GPS_ST...
package sorting; import java.util.Arrays; import sorting.NumberGenerator; import sorting.Sorter; public class Main { NumberGenerator num; Sorter sort; public static void main(String[] args) { /* * In this for loop we append the k value by 2 and compare with increasing n * we run the code twice to get ...
package com.zp.stream.channel; import org.springframework.cloud.stream.annotation.Output; import org.springframework.messaging.MessageChannel; public interface TestChannel { @Output("output") MessageChannel output(); }
package sarong; import sarong.util.CrossHash; import java.util.Arrays; /** * This is a port of the public domain Isaac (cryptographic) random number generator to Java, by Bob Jenkins. * It is a RandomnessSource here, so it should generally be used to make an RNG, which has more features. * Isaac32RNG is slower th...
package temakereso.restcontroller; import lombok.RequiredArgsConstructor; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PutMapping; im...
package kodlama.io.hrms.dataAccess.abstracts; import java.time.LocalDate; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import kodlama.io.hrms.entities.concretes.JobAdvert; public interface JobAdvertDao extends Jp...
package com.serenskye.flickrpaper.model; import android.graphics.Point; import android.util.Log; import com.serenskye.flickrpaper.enums.ImageSize; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.*; /** * Created by IntelliJ IDEA. * User: seren * Date: 14/08/12 * Time: 13...
/** * Copyright (c) 2016, 润柒 All Rights Reserved. * */ package com.richer.jsms.thread.base.coll011; import java.util.Vector; /** * 同步类容器: * 同步类容器都是线程安全的,但在某些场景下可能需要加锁来保护复合操作,复合类操作 * 如:迭代(反复的访问元素,遍历完容器中的所有元素)、跳转(根据指定的顺序找到当前 * 元素的下一个元素)、以及条件运算。这写复合操作在多线程并发地修改容器时,可能会表现 * 出意外的行为...
package com.ebupt.portal.canyon.common.enums; /** * 日志类型枚举 * * @author chy * @date 2019-03-08 15:27 */ public enum LogEnum { /** * 普通日志,自动添加操作用户 */ LOG, /** * 自定义日志,不添加任何信息 */ CUSTOME, /** * 无权限日志 */ NO_AUTH, /** * 未登录日志 */ NO_LOGIN, /** * 退出登录日志 */ LOGOUT }
package beanfactory; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; /*** * *@Author ChenjunWang *@Description: *@Date: Created in 22:01 2020/3/7 *@Modified By: * */ final class PostProcessorRegistrationDelegate { public static void registerBeanPostProcessors(BeanFactory b...
package layout; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.events.ShellAdapter; import org.eclipse.swt.events.ShellEvent; import org.eclipse.swt.layout.GridData; impo...
package com.jovin.config; import com.jovin.utils.Response; import org.springframework.security.core.AuthenticationException; import org.springframework.security.web.authentication.AuthenticationFailureHandler; import org.springframework.stereotype.Component; import javax.servlet.ServletException; import javax.servlet...
package tech.ibit.httpclient.utils; import org.junit.Ignore; import org.junit.Test; import tech.ibit.httpclient.utils.request.Request; import tech.ibit.httpclient.utils.response.Response; /** * HttpClient工具类测试 * * @author 小ben马 */ public class HttpClientUtilsTest { @Test @Ignore public void doRespons...
package com.sales.service; import com.github.pagehelper.PageHelper; import com.sales.entity.SalesPlanDetailEntity; import com.sales.mapper.SalesPlanDetailMapper; import com.system.util.BusinessException; import com.system.util.PagerInfo; import com.system.util.ServiceResult; import org.slf4j.LoggerFactory; import org....
package it.univpm.Progetto_Programmazione.GestioneDati; import java.util.List; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; /** * Classe per la restituzione dei metadata(le macrocategorie presenti) */ public class Metadata { private ...
package com.kh.efp.band.model.vo; import java.io.Serializable; import java.sql.Date; import org.springframework.stereotype.Repository; @Repository public class Member_Band implements Serializable{ private int mbid; private int bid; private int mid; private Date idate; private String istatus; p...
package com.selesgames.weave.ui.onboarding; interface OnboardingController { void finished(); }
/** * Copyright 2007 Jens Dietrich 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 writin...
package com.example.legia.mobileweb.DTO; public class menuMain { private int idMenu; private String tenMenu; public menuMain(int idMenu, String tenMenu) { this.idMenu = idMenu; this.tenMenu = tenMenu; } public int getIdMenu() { return idMenu; } public void setIdMe...
package com.sleekbyte.tailor.functional; import com.sleekbyte.tailor.common.Messages; import com.sleekbyte.tailor.common.Rules; import com.sleekbyte.tailor.common.Severity; import com.sleekbyte.tailor.output.Printer; import org.junit.runner.RunWith; import org.mockito.runners.MockitoJUnitRunner; /** * Func...
package ru.moneydeal.app.group; import androidx.annotation.NonNull; import androidx.room.Entity; @Entity(tableName = "statistics", primaryKeys = {"groupId", "from", "to"}) public class StatisticEntity { @NonNull public String groupId; @NonNull public String from; @NonNull public String to; ...
package org.campustalk.servlet; import java.io.IOException; import java.io.PrintWriter; import java.sql.SQLException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.h...
/* * 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 command.library; import command.framework.Command; import interfaces.IDrive; import interfaces.IOutputter; import ja...
package org.lxy.exception; /** * @author menglanyingfei * @date 2017-3-23 */ public class Demo1_Exception { /** * @param args */ public static void main(String[] args) { try { int a = 10 / 0; System.out.println(a); } catch (Exception e) { System.out.println("你好, 除数不能为0!"); } } }
package com.bl.Functional.Quadratic; import java.util.Scanner; public class QuadraticMain { public static void main(String[] args) { // TODO2 Auto-generated method stub Scanner sc = new Scanner(System.in); System.out.println("Enter the value of a in quadratic equation"); double a = sc.nextDouble(); Syste...
package x.java; import org.antlr.v4.runtime.tree.TerminalNode; import org.junit.Test; import static org.hamcrest.Matchers.is; import static org.junit.Assert.*; public class JavaRulePathTest { }
package com.herz.data_structures.bst.model; import java.util.Comparator; public class Tree<T> { private Node<T> mRoot; private final Comparator<? super T> mComparator; public Tree(Comparator<? super T> comparator) { mRoot = null; mComparator = comparator; } public void add(T data...
package com.tencent.mm.ui.chatting.b.b; import android.content.Intent; import android.view.MenuItem; import com.tencent.mm.storage.bd; import com.tencent.mm.ui.chatting.b.u; public interface af extends u { void T(Intent intent); boolean a(MenuItem menuItem, bd bdVar); void ax(Intent intent); boolea...
package dynamicprogramming.diceroll; public class Solution { /** * We have n dice, each having k faces with a number from 1 to k. * We need to find the number of ways to roll these nnn dice such that the sum of numbers on them is equal to target. * @param args */ public static void main(Str...
package game; import ai.*; import game.GameController.PlayerAssignments; import gui.TriggeredGUI; import state.*; public class Game { public static void main(String[] args) { Game game = new Game(); TextOutput.setDebugMode(true); int id = Integer.parseInt(args[0]); int useServer = Integer.parseInt(args[1]);...
import javax.swing.JFrame; import java.awt.Color; import javax.swing.*; import java.awt.*; import java.awt.geom.*; import java.util.*; import java.awt.event.*; public class Block extends JComponent { //private int value; private Color color; private int level; //number 0-7 used to indicate what "level" the bloc...
package com.LinkedList; import java.io.*; import java.util.*; class NodeDD{ int data; NodeDD next; NodeDD(int d){ data=d; next=null; } } class Solution { public static NodeDD removeDuplicates(NodeDD head) { if (head == null || head.next == null){ return head; ...
package com.sunteam.library.activity; import android.content.Context; import android.content.Intent; import android.graphics.drawable.ColorDrawable; import android.os.AsyncTask; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.util.TypedValue; import android.view....
package edu.kit.pse.osip.core.model.behavior; import edu.kit.pse.osip.core.model.base.AbstractTank; /** * An alarm which monitors whether the fill level breaks a given threshold. * * @author Maximilian Schwarzmann * @version 1.0 */ public class FillAlarm extends TankAlarm<Float> { /** * Constructs a ne...
package com.tencent.mm.plugin.sysvideo.ui.video; import android.view.SurfaceHolder; import android.view.SurfaceHolder.Callback; import com.tencent.mm.sdk.platformtools.x; class VideoRecorderUI$3 implements Callback { final /* synthetic */ VideoRecorderUI ovr; VideoRecorderUI$3(VideoRecorderUI videoRecorderUI...
package edu.byu.cs.superasteroids.database; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import java.util.ArrayList; import java.util.HashSet; import java.util.Set; import edu.byu.cs.superasteroids.model.Level; /** * Created by Azulius on 2/18...
package com.akhil.todo.models; import org.springframework.data.annotation.Id; import org.springframework.data.redis.core.RedisHash; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; import java.io.Seriali...
import java.sql.Timestamp; import java.util.Date; /** * @author richer.sun * @description test * @date 2021/11/4 6:46 下午 */ public class Test { public static void main(String[] args) { long currentTimeMillis = System.currentTimeMillis(); System.out.println(currentTimeMillis); Timestamp ...
package LeetCode.Problems.easy; import java.lang.reflect.Array; import java.util.Arrays; import java.util.HashMap; import java.util.Map; public class TwoSum { public static void main(String[] arg0) { int[] r = twoSum(new int[]{-1, -2, -3, -4, -5}, -8); System.out.println(Arrays.toString(r)); ...
package uoc.miquel.pac3; import android.app.NotificationManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.s...
package org.apache.maven; /* * 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...
package com.lubarov.daniel.web.html; import com.lubarov.daniel.data.dictionary.KeyValuePair; import com.lubarov.daniel.data.sequence.ImmutableArray; import com.lubarov.daniel.data.sequence.ImmutableSequence; import com.lubarov.daniel.data.stack.DynamicArray; import com.lubarov.daniel.data.stack.MutableStack; import co...
package enibdiscovery.enibdiscovery.model; import android.util.Log; import java.util.List; public class QuestionEdm { private int mQuestionEdm; private List<Integer> mChoiceListEdm; private int mAnswerIndexEdm; public QuestionEdm(int questionEdm, List<Integer> choiceListEdm, int answerIndexEdm){ ...
package com.tencent.mm.plugin.pwdgroup.ui; import android.view.animation.Animation; import android.view.animation.Animation.AnimationListener; class FacingCreateChatRoomAllInOneUI$8 implements AnimationListener { final /* synthetic */ FacingCreateChatRoomAllInOneUI mam; final /* synthetic */ Animation mao; ...
package Interface; import GestionnaireDonnees.BDDSingleton; import GestionnaireDonnees.Donnee; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.scene.control.Alert; import javafx.scene.control.DatePicker; import javafx.scene.control.TableColumn; ...
package com.fireblaze.foodiee.adapters; import android.app.Activity; import android.content.Context; import android.support.annotation.NonNull; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import androi...
package crdhn.sis.server; import crdhn.sis.configuration.Config; import crdhn.sis.controller.UserController; import firo.Firo; import static firo.Firo.*; public class ServiceDaemon { public static void main(String[] args) throws NoSuchMethodException { Firo.getInstance().init(Config.getParamString("serv...
package arun.problems.ds.arrays; import java.util.Stack; public class PrintNextBiggestNumberForEachElement { public static void main(String a[]) { int[] input = {2}; PrintNextBiggestNumberForEachElement print = new PrintNextBiggestNumberForEachElement(); print.printNextBiggest(input); } /** * The brut...
package android.support.design.widget; import android.graphics.drawable.Drawable; class FloatingActionButton$b implements p { final /* synthetic */ FloatingActionButton fu; private FloatingActionButton$b(FloatingActionButton floatingActionButton) { this.fu = floatingActionButton; } /* synthe...
package com.javakc.ssm.modules.batchOut.service; /** * @ClassName batchOutService * @Description TODO * @Author Administrator * @Date 2020/3/21 11:49 * @Version 1.0 **/ public class BatchOutService { }
package com.rc.portal.service; import java.sql.SQLException; import java.util.List; import com.rc.portal.vo.TLeader; import com.rc.portal.vo.TMember; import com.rc.portal.vo.TMemberAccount; import com.rc.portal.vo.TMemberBaseMessageExt; import com.rc.portal.vo.TMemberExample; import com.rc.portal.vo.TMemberThreeBin...
package client.by.epam.fullparser.start; import client.by.epam.fullparser.view.View; import org.apache.log4j.PropertyConfigurator; /** * Start point of client. */ public class Start { private static final String LOGGER_CONFIG = "E:\\EpamCourse\\FullParser\\out\\production\\FullParser\\log4j.properties"; public s...
package handlers; import controller.Controller; import model.Key; public class DoorOne implements DoorChain { private DoorChain nextDoor; @Override public void setNextDoor(DoorChain nextDoor) { this.nextDoor = nextDoor; } @Override public void tryDoor(Key key) { if (k...
package com.mbirtchnell.ocmjea.domain; public class ComponentFactory { public static Component createComponent(ComponentCategory selectedComponentCategory) { Component component = null; switch(selectedComponentCategory) { case DOOR: component = new Door(); break; case ROOF: component = new Roof();...
package mygroup; // 单链表是否含有循环 public class CheckLoopInList { static class MyNode { MyNode(int d) { data = d; } MyNode(int d, MyNode n) { data = d; next = n; } int data; MyNode next; } static class MyList { MyNode he...
package software.design.consulate.model.dto.application; public class EditApplicationDto extends CreateApplicationDto { protected Long id; public EditApplicationDto() { } public EditApplicationDto(Long id) { this.id = id; } public EditApplicationDto(String title, String content, St...
package com.facebook.react.flat; import android.util.SparseIntArray; import java.util.Arrays; final class VerticalDrawCommandManager extends ClippingDrawCommandManager { VerticalDrawCommandManager(FlatViewGroup paramFlatViewGroup, DrawCommand[] paramArrayOfDrawCommand) { super(paramFlatViewGroup, paramAr...
package com.example.springbootrestdemo.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework....
import java.awt.*; import java.awt.event.*; class Images extends Frame { static Image img; Images() { img=Toolkit.getDefaultToolkit().getImage("Prabhas.jpg"); MediaTracker track=new MediaTracker(this); track.addImage(img,0); try { track.waitForID(0); } catch(InterruptedException ie) { } ad...
package com.allinpay.its.boss.framework.utils; import java.io.IOException; import java.util.Enumeration; import java.util.Map; import java.util.Vector; import javax.servlet.ServletInputStream; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequestWrapper; /** * @author YM */ publi...
package com.bat.commoncode.exceptions; import com.bat.commoncode.enums.ConstantEnum; /** * 程序中的小惊喜 * * @author ZhengYu * @version 1.0 2019/10/31 17:19 **/ public class SurpriseException extends RuntimeException { public SurpriseException() { super(ConstantEnum.GLOBAL_SURPRISE.msg()); } }
package net.minecraft.stats; public interface IStatType { String format(int paramInt); } /* Location: C:\Users\BSV\AppData\Local\Temp\Rar$DRa6216.20396\Preview\Preview.jar!\net\minecraft\stats\IStatType.class * Java compiler version: 8 (52.0) * JD-Core Version: 1.1.3 */
package core.common; import java.util.List; import core.common.exception.CommonException; /** * Interface responsavel por definir as operações de comunicação com o banco de dados. * @author Daniel Menezes <tt>daniel.afmenezes@gmail.com</tt> * @param <E> Entidade */ public interface CommonService<E extends Common...
/* * [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.alium.ic.domains; // Generated 2013-06-19 17:36:03 by Hibernate Tools 3.4.0.CR1 import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import static javax.persistence.GenerationType.IDEN...
package lab1_16; public class List<D>{ private Node<D> head = null, end = null; private int listSize = 0; private static class Node<D>{ private D data; private Node<D> next; public Node(D d, Node<D> n){ data = d; next = n; } } ...
package string_test; import java.lang.reflect.Field; /** * Description: * * @author Baltan * @date 2018/9/25 22:50 */ public class Test6 { public static void main(String[] args) throws Exception { String str = "abc"; System.out.println(str); Class<? extends String> clazz = str.getClas...
package cn.chinaunicom.monitor.adapters; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import java.util.List; import cn.chinaunicom.monitor.R; import cn.chinaunicom.monitor.beans.HostIp; import cn.chinaunicom.monitor.viewholders.OnlyTextVi...
package org.team3128.common.hardware.gyroscope; /** * Interface to define a gyro sensor, which has minimal methods that allow for * the setting and retrieval of yaw. * * Takes the convention of counter-clockwise rotation as positive. * * @author Ronak Roy */ public interface Gyro { /** * Gets the cur...
/** * 47. 礼物的最大价值 * Medium */ public class Solution { public int maxValue(int[][] grid) { int[] row = new int[grid[0].length + 1]; for (int i = 0; i < grid.length; i++) { for (int j = 0; j < grid[0].length; j++) { row[j + 1] = Math.max(row[j], row[j + 1]) + grid[i][j];...
package so.ego.space.domains.project.presentation; import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RestController; import so.ego.space.domains.project.applicatio...
package banyuan.day02.practice04; import java.util.Scanner; /** * @author newpc * <p> * 声明一个int型的数组,循环接收8个学生的成绩,计算这8个学生的总分及平均分、最高分和最低分 */ public class P06 { public static void main(String[] args) { double sum = 0; double avg = 0; int max; int min; int[] arr = new int[8...