text
stringlengths
10
2.72M
/* * Copyright 2002-2022 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright © 2018 www.noark.xyz All Rights Reserved. * * 感谢您选择Noark框架,希望我们的努力能为您提供一个简单、易用、稳定的服务器端框架 ! * 除非符合Noark许可协议,否则不得使用该文件,您可以下载许可协议文件: * * http://www.noark.xyz/LICENSE * * 1.未经许可,任何公司及个人不得以任何方式或理由对本框架进行修改、使用和传播; * 2.禁止在本项目或任何子项目的基础上发展任何派生版本、修改版本或第三方版本; * 3.无论你对源代码做出任何修改和改进,版权都归Noark研发团队所有,我们保...
package com.example.findwitness; import android.util.Log; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class Hashing { public static String hashing(String str) { String result; try { MessageDigest sh = MessageDigest.getInstance("SHA-256"); ...
package model.fighter; public class SwordDecorator extends Hero{ private int swordStrenght; public SwordDecorator(Fighter fighter,int swordStrenght){ super(fighter); this.swordStrenght = swordStrenght; } @Override public int getStrength() { return super.getStrength() + this.swordStrenght; }...
package com.company; import java.io.*; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.ArrayList; import java.util.Scanner; public class FileHandling { static String fileFolder = "c:\\ATM\\"; static String directoryName = "Directory.txt"; static String bootHis...
package com.jude.file.web.file; import com.jude.file.base.RoutingWith; import com.jude.file.bean.ResponseBean; import com.jude.file.bean.file.bo.DocumentBO; import com.jude.file.service.file.interf.DocumentService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annot...
class RotateArray { public void rotate(int[] nums, int k) { int n=nums.length; int[] a=new int[n]; if(k>n) k%=n; for(int i=0;i<n;++i){ a[i]=nums[(i+n-k)%n]; } //System.out.println(Arrays.toString(a)); System.arraycopy(a,0,nums,0,n); ...
package com.drugstore.pdp.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="USER_ROLE") public class UserRole { @Id private long id;// user_role_id in user @Column(name="ROLE_NAME") private Strin...
package io.snice.protocol; public interface Request<O, T> extends Transaction<O, T> { /** * Create a new final {@link Response} with no payload. * * @return */ Response.Builder<O, Object> buildResponse(); Response<O, Object> createResponse(); <T> Response.Builder<O, T> buildRespo...
package com.github.bukama.ir; import java.io.File; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.xml.XMLConstants; import javax.xml.bind.JAXBContext; import javax.xml.bind.Marshal...
package DAO; import model.Pets; import java.util.ArrayList; import java.util.List; public class PetsRepositorio { private static PetsRepositorio petsRepositorio; private List<Pets> pets = new ArrayList<>(); private ClienteRepositorio clienteRepositorio = ClienteRepositorio.getInstance(); public stat...
/** * MIT License * <p> * Copyright (c) 2017-2018 nuls.io * <p> * 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 * to use, ...
package cs3500.animator.controller; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import java.util.ArrayList; import javax.swing.Timer; import cs3500.animator.model.IModel; import cs3500.animator.model.Model; import cs3500.animator.shape.IShap...
package co.yoyu.sidebar.view; import android.content.Context; import android.graphics.Rect; import android.util.AttributeSet; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemLongClickListener; import android.widget.GridView; import co.yoyu.sidebar.ContentAdapter; im...
package com.example.demo.service; import com.baomidou.mybatisplus.plugins.pagination.Pagination; import com.example.demo.entity.Dictionary; import com.baomidou.mybatisplus.service.IService; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; /** * <p> * 服务类 * </p> * * @auth...
package com.app.dao; import com.code.model.Simsolution; import com.code.model.SimsolutionExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface SimsolutionMapper { int countByExample(SimsolutionExample example); int deleteByExample(SimsolutionExample example); ...
package net.ipip.ipdb; import com.alibaba.druid.support.http.util.IPAddress; import com.thinkgem.jeesite.common.utils.StringUtils; import org.springframework.web.util.UrlPathHelper; import javax.servlet.http.HttpServletRequest; import java.io.InputStream; import java.util.HashMap; import java.util.Map; /** * ip地址工具...
package nl.kasperschipper.alligatorithm.services.impl; import nl.kasperschipper.alligatorithm.config.JobConfiguration; import nl.kasperschipper.alligatorithm.exception.AlligatorithmValidationException; import nl.kasperschipper.alligatorithm.model.PairedByte; import nl.kasperschipper.alligatorithm.services.Alligatorith...
package com.eniso.regimi.services; import java.util.List; import com.eniso.regimi.models.Subscriber; public interface SubscriberService { public List<Subscriber> findAll(); public Subscriber findById(String theId); public List<Subscriber> findByRegion(String Region); public void save(Subscriber subscriber); ...
package com.daikit.graphql.meta.custommethod; import com.daikit.graphql.custommethod.GQLCustomMethod; /** * GraphQL dynamic method returning an embedded entity meta data * * @author Thibaut Caselli */ public class GQLMethodEntityMetaData extends GQLAbstractMethodMetaData { private Class<?> entityClass; // *-*...
/* * 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 poker2; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; impo...
package nuc.bsd.report.domain; public class ClsProBlmRep { private String id; private String schoolId; private String gradeId; private String gradeName; private String classId; private String className; private String testStuNum; private String testStuPercent; private String stuSexPer...
package net.datacrow.console.components.renderers; import java.awt.Component; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JTable; import javax.swing.JToolTip; import javax.swing.table.DefaultTableCellRenderer; import net.datacrow.console.ComponentFactory; import net.datacrow.cons...
package InOut; import java.util.Scanner; public class InConsole extends Input { @Override public String inconsole() { System.out.print("입력해주세요: "); //Console에서 입력을 받기 위해 Scanner객체 사용 Scanner sc = new Scanner(System.in); //입력받은 값을 message 라는 문자열 값에 대입 String message = sc.nextLine(); /...
package com.mcode.nescompiler.program.directives; import java.util.List; import com.mcode.nescompiler.program.AddressTable; import com.mcode.nescompiler.program.Parameter; public class CreateLabelDirective implements Directive { private String name; @Override public void init(List<Parameter> parameters) { nam...
package inClassByRavi; public class FindingElementThatOccursOnlyOnceInArray { public static void main(String[] args) { // TODO Auto-generated method stub int[] arr = { 1, 2, 3, 2, 3, 1, 3 }; int arrLength = arr.length; int noWithOneOccurance = findElementThatOccursOnlyOnce(arr, arrLength); System....
package eden.mobv.api.fei.stu.sk.mobv_eden.adapters; import android.content.Context; import android.support.annotation.NonNull; import android.support.v7.widget.*; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import eden.mobv.api.fei.stu.sk.mobv_eden.R; import eden.mobv....
package common.util.reflection; import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.ParameterizedType; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.uti...
package com.beadhouse.out; import com.beadhouse.domen.Activity; import com.beadhouse.domen.Advertising; import com.beadhouse.domen.Image; import java.util.Date; import java.util.List; public class ScheduleOut { private Integer scheduleId; private Date date; private String breakfast; private String lu...
import java.io.IOException; import java.io.PrintWriter; import java.text.*; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.sql.*; public class CheckInBook extends HttpServlet{ private static final long serialVersionUID = 1L; public void doPost(HttpServletRequest request, HttpSe...
package org.openmrs.module.mirebalais.radiology; import org.junit.Before; import org.junit.Test; import org.openmrs.OrderType; import org.openmrs.api.OrderContext; import org.openmrs.api.OrderService; import org.openmrs.module.mirebalais.api.MirebalaisHospitalService; import org.openmrs.module.radiologyapp.RadiologyPr...
package model.object; public class Publisher { // fields private int id; private String publisher; private String address; private String description; // constructor // methods public int getId() { return id; } public void setId(int id) { this.id = id; } public String getPublisher() { return publis...
package com.bpdts.testapp.api.spring.exploratory; import com.bpdts.testapp.client.api.spring.UsersApi; import com.bpdts.testapp.client.invoker.spring.ApiClient; import com.bpdts.testapp.client.model.spring.NonExistentUser; import com.bpdts.testapp.client.model.spring.User; import com.bpdts.testapp.client.model.spring....
package com.datayes.textmining.storm.spout; import java.io.DataInputStream; import java.io.FileInputStream; import java.io.IOException; import java.io.Serializable; import java.io.UnsupportedEncodingException; import java.util.Map; import java.util.Properties; import org.apache.log4j.Logger; import org.bson.types.Obj...
package jp.co.monkey.action; public class ClickButton{ }
package com.company; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.Arrays; /** * Created by Nataliia on 04.08.2015. */ public class Lesson1 { public static void main(String[] args){ //СПИСКИ ArrayList<Integer> a= new ArrayList<Integer>(); Syste...
package logger; import java.io.IOException; import org.apache.log4j.ConsoleAppender; import org.apache.log4j.FileAppender; import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; /** * contains all the methods to show the logs on console * and save the logs in LogFile....
/* * 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 synchronisation; /** * * @author ks834 */ public class Synchronisation { /** * @param args the command line argum...
/* * 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.innovaciones.reporte.service; import com.innovaciones.reporte.model.TipoProducto; import java.util.List; /** * * @autho...
package com.himanshu.poc.springboot.main; import com.himanshu.poc.springboot.config.SecurityConfig; import com.himanshu.poc.springboot.config.SwaggerConfig; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotat...
package com.multivision.ehrms.service.data; import java.util.List; import org.springframework.stereotype.Component; import com.multivision.ehrms.business.Resource; import com.multivision.ehrms.service.data.interfaces.IResourceDataService; @Component("resourceDS") public class ResourceDataService extends BaseDataSer...
package org.qw3rtrun.aub.engine.property.matrix; import javafx.beans.InvalidationListener; import javafx.beans.Observable; import javafx.beans.binding.Bindings; import javafx.beans.property.Property; import javafx.beans.value.ObservableValue; import org.qw3rtrun.aub.engine.vectmath.Matrix4f; import java.lang.ref.Weak...
package com.jt.sys.dao; import com.jt.common.vo.JsonResult; import com.jt.sys.entity.SysUser; import javafx.scene.control.CheckBox; import org.apache.ibatis.annotations.Param; import java.util.List; public interface SysUserDao { /** * 获取用户列表 * @param username 搜索名 */ List<SysUser> find...
package com.sai.one.algorithms.arrays; import java.util.LinkedList; import java.util.Queue; import java.util.Stack; /** * Created by shravan on 1/10/16. * http://www.programcreek.com/2014/06/leetcode-basic-calculator-java/ */ public class BasicCalculator1 { public static void main(String[] args) { Sy...
package github.pitbox46.oddpower.common; import github.pitbox46.oddpower.entities.DummyEntity; import github.pitbox46.oddpower.tiles.ExplosionGeneratorTile; import net.minecraft.entity.Entity; import net.minecraft.entity.ai.goal.NearestAttackableTargetGoal; import net.minecraft.entity.monster.MonsterEntity; import net...
package com.unlimited.scala.rest.exception; /** * Shows that a business entity wasn't found. * * @author Iulian Dumitru */ public class BusinessEntityNotFoundException extends BusinessException { public BusinessEntityNotFoundException(String message, Object... args) { super(message, args); } }
package com.amanarora.wikisearch.view; import android.arch.lifecycle.Observer; import android.arch.lifecycle.ViewModelProviders; import android.databinding.DataBindingUtil; import android.net.Uri; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.customtabs.CustomTabsIntent; ...
/* * Selection Sort * * 时间复杂度 O(n^2) * * 交换最少的排序 * * */ public class SelectionSortData { public int[] numbers; public int orderedIndex= -1; //[0,,,,,orderIndex]为有序 public int currentMinIndex =-1; //当前最小值元素索引 public int currentCompareIndex=-1; //正在比较的元素索引 public SelectionSortData(i...
package gui; import java.awt.Dimension; import java.awt.Point; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pat...
package com.stylefeng.guns.core.util; import java.util.UUID; /** * @Author: yyc * @Date: 2019/6/9 22:42 */ public class UuidUtil { public static String getUuid(){ return UUID.randomUUID().toString().replaceAll("-",""); } }
package br.com.tn.cap14; public class Conta { private double saldo; public Conta(double saldo) { this.saldo = saldo; } public boolean equals(Object object) { Conta outraConta = (Conta) object; if (this.saldo == outraConta.saldo) { return true; } return false; } public boolean...
package com.stk123.entity; import lombok.Getter; import lombok.Setter; import javax.persistence.*; import java.sql.Time; import java.util.Objects; @Entity @Table(name = "STK_ERROR_LOG") @Setter @Getter public class StkErrorLogEntity { @Id @Column(name = "ID") @GeneratedValue(strategy =GenerationType.SEQU...
/* * Copyright 2014-2023 JKOOL, 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 applicable law or agreed to...
package org.firstinspires.ftc.team10428; import com.qualcomm.robotcore.eventloop.opmode.Disabled; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.util.ElapsedTime; /** * Created...
package L1_EstruturaSequencial; import java.util.Scanner; public class Ex11_L1 { public static void main(String[] args) {int numI1 = 0; int numI2 = 0; int numR = 0; System.out.println("Digite o 1 Numero Inteiro"); Scanner myObj = new Scanner(System.in); numI1 = myObj.nextIn...
/* * Copyright 2002-2018 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package br.cefetrj.sca.dominio; import java.util.HashSet; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.JoinTable; import javax.persistence...
class file3{ }
package cn.edu.cust.util.login; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Map; import javax.naming.Context; import javax.naming.NamingException; import javax.security.auth.Subject; import javax.s...
package io.youngwon.app.service; import io.youngwon.app.domain.User; import lombok.extern.slf4j.Slf4j; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.core.userdetails.UsernameNotFoundExceptio...
package com.baiwang.custom.common.dao; import com.baiwang.custom.common.model.MGBwResponesUnusual; import com.baiwang.custom.common.model.MGOverDueModel; import com.baiwang.custom.common.model.MGQueryInvModel; import com.baiwang.custom.common.model.QueryInvRequestModel; import org.apache.ibatis.annotations.Mappe...
package com.productStock.dataproviders.postgrees.repository; import com.productStock.dataproviders.postgrees.model.CustomProductStockModel; import com.productStock.dataproviders.postgrees.model.ProductStockModel; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.reposito...
package com.geoblink.clientStore.rest; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bi...
package com.somecompany.customermatches.rest; import com.somecompany.customermatches.model.Match; import org.springframework.stereotype.Component; import java.time.Duration; import java.time.LocalDateTime; @Component public class MatchResponseTransformer { public MatchDto transform(Match match, SummaryType summa...
package com.hamatus.web.rest.dto; /** * Created by stefan.chapuis on 06.12.2015. */ public class FlickrAdminDTO { private Boolean isAuthenticated; private String url; private Boolean needAPIData; private String apiKey; private String apiSecret; private String verifierValue; public Bool...
/* RuleFolderNames -- a class within the Cellular Automaton Explorer. Copyright (C) 2007 David B. Bahr (http://academic.regis.edu/dbahr/) 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; ...
public class MergeSortedArray88 { public static void main(String[] args) { int [] nums1={1,2,3,0,0,0}; int [] nums2={2,5,6}; int m = 3; int n = 3; merge(nums1, m, nums2, n); } public static void merge(int[] nums1, int m, int[] nums2, int n){ int i = m - 1;...
package nine.enumareted; public enum Gender { //OBJEKTI FEMALE, MALE, UNKNOWN; //DEFINICIJA private Gender(){ System.out.println("Poziva se konstruktor Gender"); } }
package com.uwang.mail.demo; import com.uwang.mail.demo.util.MailSenderInfo; import com.uwang.mail.demo.util.SimpleMailSender; /** * 发送邮件客户端 * */ public class SendEmail { public static void main(String[] args) { send(); } public static void send(){ // 这个类主要是设置邮件 MailSenderInfo mailInfo...
package com.zhaodf; import com.alibaba.druid.pool.DruidDataSource; import com.zhaodf.beans.MyImportBeanDefinitionRegistrar; import com.zhaodf.beans.MyImportSelector; import com.zhaodf.beans.Role; import com.zhaodf.beans.Student; import com.zhaodf.beans.User; import org.springframework.beans.factory.annotation.Configur...
//package interfaceClass; // ///** // * Created by qq65827 on 2015/2/28. // */ //public interface Simple { // default void print4() { // System.out.println("4"); // } // // public void print5(); //}
package com.example.amanleenpuri.gogreen.ui; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.wid...
package com.webproject.compro.web.vos; import java.util.ArrayList; public class GetItemVo { private final int startPage; private final int endPage; private final int requestPage; private final ArrayList<ItemVo> itemVos; public GetItemVo(int startPage, int endPage, int requestPage, ArrayList<ItemV...
/** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(int x) { val = x; } * } */ //fail to solve this problem by myself, hard to understand, try to draw a picture //recursion method will reverse the link front back to front //it first go to the e...
package dto.ordenes; import java.io.InputStream; import java.sql.Blob; import herramientas.FechaHoraDTO; public class DocumentoDTO { private int documentoId; private OrdenDTO ordenDTO; private Blob archivo; private InputStream archivoIS; private byte[] archivoEnByteArray; private FechaHoraDTO fechaHoraCargaD...
package levelDesigner; public interface ButtonListener{ public void buttonPressed(int id); }
package com.beike.dao.impl.merchant; import java.util.ArrayList; import java.util.Date; import java.util.LinkedList; import java.util.List; import java.util.Map; import org.springframework.stereotype.Repository; import com.beike.dao.GenericDaoImpl; import com.beike.dao.merchant.ShopsBaoDao; import com.beike.entity.me...
package Graph.Utilities; import Graph.Structure.Edge; import Graph.Structure.Node; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; /** * Created by Kalaman on 09.01.17. */ public class ...
/* The MIT License (MIT) Copyright (c) 2014 Stephan Kesper 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 to use, copy, modify, merge...
package com.crm.qa.pages; import java.util.List; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; import org.openqa.selenium.support.ui.Select; import com.crm.qa.base.TestBase; public class HomePage extends TestBase { /*@FindBy(id=...
package com.company.task; import com.company.command.Command; import com.company.command.CommandFactory; public class CommandProducer implements Runnable { private final com.company.task.CommandQueue commandQueue; private final String data; public CommandProducer(final CommandQueue commandQueue, final St...
package com.auro.scholr.util.snippety.span; import android.graphics.LinearGradient; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.Shader; import android.text.TextPaint; import android.text.style.CharacterStyle; import android.text.style.UpdateAppearance; /** * Add multiple co...
import java.awt.Color; import java.awt.Graphics; import java.util.ArrayList; import javax.swing.JOptionPane; import javax.swing.JPanel; public class Changes extends JPanel{ private static int[][] memory; private static int countElement; private static int countFree; private static ArrayList<File> files; publ...
package cz.vancura.openstreetmaps.model; public class KrajPOJO { String krajFileName; String krajNazev; int krajColor; public KrajPOJO(String krajFileName, String krajNazev, int krajColor) { this.krajFileName = krajFileName; this.krajNazev = krajNazev; this.krajColor = krajCol...
package com.alibaba.druid.bvt.sql.mysql.createTable; import com.alibaba.druid.sql.MysqlTest; import com.alibaba.druid.sql.ast.SQLStatement; import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlCreateTableStatement; import com.alibaba.druid.sql.dialect.mysql.parser.MySqlStatementParser; import java.util.List;...
package com.capraro.contrat.controller; import com.capraro.contrat.integration.CompositeIntegration; import com.capraro.contrat.model.Contrat; import com.capraro.contrat.repository.ContratRepository; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.spri...
package com.verchetasheva.productinventory.inventory; import com.verchetasheva.productinventory.InventoryService; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.util.MimeTypeUtils; import org.springframework.web.bind.annotation.*; @RestController...
package f.star.iota.milk.ui.umei.mei; import org.jsoup.Jsoup; import org.jsoup.nodes.Element; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import f.star.iota.milk.base.PVContract; import f.star.iota.milk.base.StringPresenter; public class MEIPresenter extends StringPresenter<List<M...
/** * 42. Trapping Rain Water * https://leetcode.com/problems/trapping-rain-water/#/description * */ public class Solution { public int trap(int[] height) { } }
package ru.carFactory; import ru.carFactory.Details.Detail; import ru.carFactory.Details.Engine; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.WildcardType; public class Supplier<T extends Detail> extends Thread { private Storage<T> storage; private long deltaTime; private ...
// https://www.youtube.com/watch?v=sn6r0ZV_2y4 class Solution { public String largestTimeFromDigits(int[] arr) { String result = ""; for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { for (int k = 0; k < 4; k++) { if (i == j || j == k || k ==...
package liu.lang.reflect.Method; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.RUNTIME) public @interface Check { String value() default ""; }
package com.auro.scholr.home.data.model.passportmodels; public class PassportQuizGridModel { String quizHead; String quizData; int quizImagePath; int quizColor; public String getQuizHead() { return quizHead; } public void setQuizHead(String quizHead) { this.quizHead = qui...
package core.event.game.damage; import core.server.game.Damage; public class AttackDamageModifierEvent extends AbstractDamageEvent { public AttackDamageModifierEvent(Damage damage) { super(damage); } }
package edu.uha.miage.web.controller; import edu.uha.miage.core.entity.Demande; import edu.uha.miage.core.entity.DemandeIncident; import edu.uha.miage.core.entity.DemandeServices; import edu.uha.miage.core.entity.Fonction; import edu.uha.miage.core.entity.Incident; import edu.uha.miage.core.entity.Personne; import edu...
package com.fotoable.fotoime.ui; import android.animation.Animator; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.RelativeLayout; import co...
package com.soldevelo.vmi.tester.service; import com.soldevelo.vmi.communication.params.RequestType; import com.soldevelo.vmi.communication.params.TestRequestParams; import com.soldevelo.vmi.config.acs.model.HostParams; import com.soldevelo.vmi.tester.ex.ConnectionNotAllowedException; import com.soldevelo.vmi.tester.h...
package com.firedata.qtacker.web.rest; import com.firedata.qtacker.service.LogUserService; import com.firedata.qtacker.web.rest.errors.BadRequestAlertException; import com.firedata.qtacker.service.dto.LogUserDTO; import io.github.jhipster.web.util.HeaderUtil; import io.github.jhipster.web.util.PaginationUtil; import ...
package bullshit; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Core { // For the actual file. private static ArrayList<Word> textDirty = n...
package ObjectDemoProduct; abstract class ProductAbstractClass { int price; String productNaume; int productCatagoryId; private int productSecret; public abstract void valueFcn();; }