text
stringlengths
10
2.72M
package jwscert.jaxws.mtom.services; import java.awt.Image; import java.io.IOException; import javax.activation.DataHandler; import javax.imageio.ImageIO; import javax.jws.WebService; import javax.xml.ws.BindingType; @WebService(endpointInterface= "jwscert.jaxws.mtom.services.ImageInterface") @BindingType(value=java...
package com.mlesniak.sonar.report; import com.mlesniak.runner.RunnerConfiguration; /** * Configuration bean. * * @author Michael Lesniak (mlesniak@micromata.de) */ public class SonarReportConfiguration extends RunnerConfiguration { private String user; private String password; private String server; ...
package ru.khachalov.springannotation.byjava; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Component; @Component public class BookReader { private Books books1; private Books books2;...
package com.neo.dao.impl; import java.util.List; import java.util.Map; import org.apache.ibatis.session.SqlSession; import org.mybatis.spring.SqlSessionTemplate; import org.mybatis.spring.support.SqlSessionDaoSupport; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans....
package com.spsc.szxq.view; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.widget.TextView; import android.widget.Toast; import com.spsc.szxq.R; /** * Created by allens on 2017/2/12. */ public class ToastView { private Context mContext; priva...
/* * Copyright 2018 Ameer Antar. * * 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 t...
package com.leetcode.wangruns; //29、best-time-to-buy-and-sell-stock-ii[数组] /** * Say you have an array for which the i^(th) element is the price of a given stock on day i. * Design an algorithm to find the maximum profit. * You may complete as many transactions as you like (ie, buy one and sell one share of the st...
/* * ************************************************************************************************* * Copyright 2017 Universum Studios * ************************************************************************************************* * Licensed under the Apache L...
package rent.common.projection; import org.springframework.data.rest.core.config.Projection; import rent.common.entity.CitizenEntity; import java.time.LocalDate; @Projection(types = {CitizenEntity.class}) public interface CitizenMinimal { String getId(); GenderTypeMinimal getGenderType(); String getFir...
/* * 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 Entidades; /** * * @author Mario Mendoza */ public abstract class Productos { private String TipoFarmaco; private ...
package com.emily.boot.test.api.socket; import com.emily.framework.common.enums.DateFormatEnum; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; /** * @program: spring-parent * @description: 客户端 * @create: 2...
package ar.fiuba.tdd.template.tp0; import java.util.ArrayList; import java.util.List; public class RegExGenerator { private int maxLength; public RegExGenerator(int maxLength) { this.maxLength = maxLength; } public List<String> generate(String regEx, int numberOfResults) throws IncorrectForm...
/* * Copyright (C) 2001 - 2015 Marko Salmela, http://fuusio.org * * 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 req...
package car.adroid.conn; import org.json.JSONObject; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLEncoder; import java.util.HashMap; import java.util.Map; import java.util.Set; import car.adroid...
package it.polito.tdp.poweroutages.model; public class NercNumero implements Comparable<NercNumero>{ private Nerc n; private Double num; public NercNumero(Nerc n, double num) { super(); this.n = n; this.num = num; } public Nerc getN() { return n; } public void setN(Nerc n) { this.n = n; } publ...
package com.yrz.service.db2; import com.baomidou.mybatisplus.service.IService; import com.yrz.model.Order; import java.math.BigDecimal; import java.util.List; /** * <p> * 服务类 * </p> * * @author yrz */ public interface OrderService extends IService<Order> { List<Order> getOrderList(); BigDecimal getOrd...
package com.tencent.mm.plugin.game.ui; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface.OnClickListener; import android.os.Looper; import android.view.LayoutInflater; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import a...
package pe.egcc.importeapp.service; import pe.egcc.importeapp.dto.ImporteDto; public class ImporteService { //servicio 1 public ImporteDto calcularImporte(ImporteDto dto){ //variable double imp = 0; double base = 0; base = (1 + dto.getInteres()); ...
package com.weiwei.weiqi.controller.property; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import com.weiwei...
package net.thumbtack.mybatis.mappers; import net.thumbtack.mybatis.model.Author; import net.thumbtack.mybatis.model.Book; import org.apache.ibatis.annotations.*; import org.apache.ibatis.mapping.FetchType; import java.util.List; public interface BookMapper { @Insert("INSERT INTO books ( title, year, pages) VALUES...
/*! ****************************************************************************** * * Pentaho Big Data * * Copyright (C) 2002-2018 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Ap...
public class Mobile { private final char packIdA = 'A'; private final char packIdB = 'B'; private final char packIdC = 'C'; private final double purchasePriceA = 39.99; private final double purchasePriceB = 59.99; private final double purchasePriceC = 69.99; private final double minsProvA = 450; private f...
package com.utknl.katas; /* https://www.codewars.com/kata/52f787eb172a8b4ae1000a34/train/java Write a program that will calculate the number of trailing zeros in a factorial of a given number. N! = 1 * 2 * 3 * ... * N Be careful 1000! has 2568 digits... For more info, see: http://mathworld.wolfram.com/Factorial.h...
/* * Copyright (c) 2014-2020 NetEase, Inc. * All right reserved. */ package com.netease.meetinglib.demo.view; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widget.CheckBox; ...
package com.lti.ClassAndObject; public class MethodOverriding { public static void main(String[] args) { Child c= new Child(); c.show(); } } class Parent { int a; int b; public Parent (int a,int b) { this.a=a; this.b=b; System.out.println("Super class constructor."); } void show() { System.out...
package pingpong; import java.io.*; import java.net.ServerSocket; import java.net.Socket; import static pingpong.Share.*; public class StartServer { public static void main(String[] srgs) { BufferedReader console = new BufferedReader(new InputStreamReader(System.in)); DataOutputStream os = null...
package moefou4j; public interface Playlist extends ResponseList<PlaylistItem> { @Override public PlaylistInformation getInformation(); public interface PlaylistInformation extends Information { public int getItemCount(); public String getNextUrl(); public int getPage(); public boolean isTarget(); ...
package com.qimou.sb.web.entity; import java.io.Serializable; public class Contract implements Serializable{ private static final long serialVersionUID = 1L; private String contractID = null ;//合同ID【一个合同下有一个或多个任务】 private String contractName = null ;//合同名称 private String taskID = null ;//任务ID private String ...
package de.madjosz.adventofcode.y2015; import static java.util.stream.Collectors.toList; import java.util.List; public class Day23 { private final List<Instruction> instructions; public Day23(List<String> input) { this.instructions = input.stream().map(Instruction::parse).collect(toList()); } ...
package icu.fordring.voter.dao; import icu.fordring.voter.beans.ImageBean; import org.springframework.data.jpa.repository.JpaRepository; public interface ImageDao extends JpaRepository<ImageBean,Long> { public boolean existsByPath(String path); }
package chainofresponsibility.design.pattern.example2; public class BonusPay extends PayCalculator { private double bonusFactor; public BonusPay(PayCalculator next, double bonusFactor) { super(next); this.bonusFactor = bonusFactor; } @Override public double calculate(double baseAmount, PayGrad...
package com.codecow.controller; import com.codecow.aop.annotation.MyLog; import com.codecow.common.utils.DataResult; import com.codecow.common.vo.req.DeptAddReqVO; import com.codecow.common.vo.req.DeptUpdateReqVO; import com.codecow.common.vo.resp.DeptRespNodeVO; import com.codecow.entity.SysDept; import com.codecow.s...
package work; import java.util.Calendar; public abstract class WorkOut { private Calendar date; private double duration; abstract public String toString(); public WorkOut(Calendar date, double duration) { super(); this.date = date; this.duration = duration; } public Calendar getDate() { return da...
package ivan.hechavarria.moreno; import modelo.ManejadorDB; import modelo.NotificacionOferta; import ivan.hechavarria.moreno.R; import com.google.android.gms.gcm.GoogleCloudMessaging; import android.app.IntentService; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.C...
/* * 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 pe.gob.onpe.adan.model.adan; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.Id; /** ...
package cn.itcast.shop.categorysecond.adminaction; import java.util.List; import cn.itcast.shop.category.service.CategoryService; import cn.itcast.shop.category.vo.Category; import cn.itcast.shop.categorysecond.service.CategorySecondService; import cn.itcast.shop.categorysecond.vo.CategorySecond; import cn.itcast.sh...
package com.example.sonic.whatdoyoudo.model; /** * Created by sonic on 02/04/2017. */ public class MenuElement { String title; int icon; public MenuElement(String title, int icon) { this.title = title; this.icon = icon; } public int getIcon() { return icon; } ...
public class helloWorld2 { public static void main(String[] args) { //System.out.println("Hello, World!"); //int myFavoriteNumber = 22; //System.out.println(myFavoriteNumber); //String myString = "22"; //System.out.println(myString); //...
import Valuables.*; import java.util.HashMap; public class GemMine { private static HashMap<String, Gem> gems = new HashMap<>(); public static Gem getGem(String gemType){ Gem gem =gems.get(gemType); if (gem == null){ switch (gemType){ case "Diamond": { gem = new Diamond(); break...
package com.zznode.opentnms.isearch.otnRouteService.api.impl; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.LinkedList; impor...
package com.tencent.mm.plugin.account.ui; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; class MobileLoginOrForceReg$10 implements OnCancelListener { final /* synthetic */ MobileLoginOrForceReg eTx; MobileLoginOrForceReg$10(MobileLoginOrForceReg mobileLoginOr...
/** * Solutii Ecommerce, Automatizare, Validare si Analiza | Seava.ro * Copyright: 2013 Nan21 Electronics SRL. All rights reserved. * Use is subject to license terms. */ package seava.ad.business.impl.system; import java.util.List; import javax.persistence.EntityManager; import seava.ad.business.api.system.IDateFo...
package com.spring.consumer.service.implementation; import org.springframework.stereotype.Service; import com.spring.consumer.dto.Message; import com.spring.consumer.service.ConsumerService; @Service public class ConsumerServiceImpl implements ConsumerService { // //Action para enviar a messagem para a fila @Overr...
package sokrisztian.todo.admin.logic.service; import org.springframework.stereotype.Service; import sokrisztian.todo.admin.api.model.UserView; import sokrisztian.todo.admin.logic.converter.UserEntityToUserViewConverter; import sokrisztian.todo.admin.persistance.repository.UserBasicRepository; @Service public class Fi...
/* * 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; import mathsapp.HomePageGUI; import mathsapp.JuniorCertHigherControl; /** * * @author x13335131 */ public class...
package org.openfuxml.factory.xml.list; import java.util.List; import org.openfuxml.content.list.Item; import org.openfuxml.content.ofx.Paragraph; public class OfxListItemFactory { public static Item build() { Item item = new Item(); return item; } public static Item build(List<Paragraph> paragraphs) { ...
package com.thelagg.skylounge.namehourschecker.listeners; import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.*; import org.bukkit.Bukkit; import org.bukkit.OfflinePlayer; import org.bukkit.Statistic; import org...
package programmers.lv2; public class Square_Test { //멀쩡한 사각형 //규칙 찾다가 결국 못찾아서 검색 후 해결.. public long solution(int w, int h) { long beforeW = (long)w; long beforeH = (long)h; long cnt = beforeH*beforeW; long val = 0; for(int i=w; i>=1; i--) { if(w%i == 0 &...
package com.hedong.hedongwx.entity; public class UserEquipment { private Integer userId; private String equipmentCode; private Integer manid; private Double divideinto; public Integer getUserId() { return userId; } public void setUserId(Integer userId) { this.user...
public class ThickBlackBorder extends Element { @Override public void display() { System.out.printf(" thickBlackBorder"); } }
public interface AreaComputable { int computeArea(); }
package Test; import static org.junit.Assert.*; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import desktop_resources.GUI; import entities.fields.collection.FieldCollection; import game.Dice; import game.Player; public class TaxTest { private Player Bob; priv...
package com.example.userportal.service.mapper; import com.example.userportal.domain.OrderStatusCategory; import com.example.userportal.service.dto.OrderStatusCategoryAllDTO; import org.mapstruct.Mapper; import org.mapstruct.Mapping; import java.util.List; @Mapper(componentModel = "spring", uses = OrderStatusMapper.c...
package com.avogine.junkyard.scene.text; import java.awt.geom.Rectangle2D; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang3.ArrayUtils; import org.joml.Vector3f; import com.avogine.junkyard.scene.render.data.Font; import com.avogine.junkya...
package application; /** * RealSwitches are in the real physical switches of the system * Connect to the 32 pin of the IO board * * Stores the data corresponding to a real switch in the physical system * State value is updated based on input from the physical system * * @author Joanie Davis * */ public class...
/* * The MIT License * * Copyright 2019 georgi. * * 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, ...
package com.tencent.mm.plugin.appbrand.jsapi.f.a; import com.tencent.mm.plugin.appbrand.widget.e.d; class c$2 implements Runnable { final /* synthetic */ c fTi; final /* synthetic */ d fTj; public c$2(c cVar, d dVar) { this.fTi = cVar; this.fTj = dVar; } public final void run() {...
package com.tencent.mm.e.b; import com.tencent.mm.e.b.f.a; import com.tencent.mm.plugin.report.service.h; import com.tencent.mm.sdk.platformtools.x; class c$1 implements a { final /* synthetic */ c bEj; c$1(c cVar) { this.bEj = cVar; } public final void d(int i, byte[] bArr) { c cVar...
package com.smxknife.flink.useranalysis.hotitemsanalysis.model; import lombok.AllArgsConstructor; import lombok.ToString; /** * 窗口聚合样例类 * @author smxknife * 2020/8/22 */ @ToString @AllArgsConstructor public class ItemViewCount { private Long itemId; private Long windowEnd; private Long count; public Long get...
package com.lizogub.HomeWork6; public interface StaffMember { public void setHomeAddress(Address address); public Address getHomeAddress(); public void toVacation(); public void payOut(); }
package org.stepik.api.objects.recommendations; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.stepik.api.objects.AbstractObject; import java.util.ArrayList; import java.util.List; /** * @author meanmail */ public class Recommendation extends AbstractObject { pr...
package com.cz.android.simplehttp.request.intercept; import com.cz.android.simplehttp.request.Call; import com.cz.android.simplehttp.request.Request; import com.cz.android.simplehttp.request.Response; import java.io.IOException; import java.util.List; import java.util.concurrent.TimeUnit; import static com.cz.androi...
package com.elvarg.world.entity.combat.ranged; import java.util.HashMap; import java.util.Map; import com.elvarg.engine.task.impl.CombatPoisonEffect.PoisonType; import com.elvarg.util.Misc; import com.elvarg.world.entity.combat.CombatFactory; import com.elvarg.world.entity.impl.Character; import com.elvarg.w...
package com.tencent.mm.plugin.sns.ui; import android.view.MenuItem; import com.tencent.mm.ui.base.n$d; class SnsMsgUI$5 implements n$d { final /* synthetic */ SnsMsgUI nYl; SnsMsgUI$5(SnsMsgUI snsMsgUI) { this.nYl = snsMsgUI; } public final void onMMMenuItemSelected(MenuItem menuItem, int i)...
package com.ebupt.portal.canyon.common.util; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import java.nio.charset.StandardCharsets; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Random; /** * 加解密工具类 * * @author chy * @date 20...
// Sun Certified Java Programmer // Chapter 6, P434 // Strings, I/O, Formatting, and Parsing class Tester434 { public static void main(String[] args) { // P434 String s1 = "abc"; // creates one String object and one System.out.println(s1); // reference var...
package org.mym.featuredshowcase.shape; import android.graphics.Canvas; import android.graphics.Paint; import org.mym.featuredshowcase.target.Padding; import org.mym.featuredshowcase.target.Target; /** * Draw circle. */ public class CircleShape extends AlphaShapeDrawer { private float radius; private int ...
package com.wtu.servlet; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * Created by menglanyingfei on 2018...
package com.simplewidget.demo; import android.app.Activity; import android.os.Bundle; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.RadioGroup.OnCheckedChangeListener; import android.widget.TextView; public class RadioDemo extends Activity { private TextView myTextView...
package com.tencent.mm.ui.conversation; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import com.tencent.mm.plugin.report.service.h; import com.tencent.mm.ui.conversation.i.4.1; class i$4$1$2 implements OnClickListener { final /* synthetic */ 1 uqU; i$4$1$2(1...
package swexpert; import java.util.Scanner; public class SWEA_9229_D3_한빈이와_Spot { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); StringBuffer sb = new StringBuffer(); int TC = sc.nextInt(); for (int i = 1; i <= TC; i++) { sb.append...
package controllers; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import javax.servlet.ServletException; import java.io.IOException; import models.User; import models.Product; import models.P...
package com.yida.design.adapter.generator; /** ********************* * 目标类 * * @author yangke * @version 1.0 * @created 2018年5月31日 下午5:04:17 *********************** */ public interface Target { // 目标角色有自己的方法 public void request(); }
package com.podarbetweenus.Entity; /** * Created by Administrator on 11/25/2015. */ public class ResourceList { public String crl_descp = ""; public String crl_discription = ""; public String crl_file = ""; public String crl_file_name = ""; public String crl_id = ""; public String ext = ""; ...
package com.tencent.mm.ui.chatting.viewitems; import android.content.Intent; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.graphics.drawable.StateListDrawable; import android.view.ContextMenu; import android.view.LayoutInflater;...
package com.facebook.react.uimanager.common; public interface MeasureSpecProvider { int getHeightMeasureSpec(); int getWidthMeasureSpec(); } /* Location: C:\Users\august\Desktop\tik\df_rn_kit\classes.jar.jar!\com\facebook\reac\\uimanager\common\MeasureSpecProvider.class * Java compiler...
package com.test.jbehave.pages; import com.test.jbehave.utils.Driver; public class PcGarageHomePage extends BasePageObject { public void open(String url) { Driver.driver.get(url); } }
package com.company; public class Main { public static void main(String[] args) { int[] arr = new int[]{8, 15, -8, 78, 500, 0, 15, 36}; for (int i = 0; i < arr.length; i++) { if (arr[i] != 0) { System.out.print(arr[i] + " "); } else { if (arr...
package com.commercetools.pspadapter.payone.domain.ctp.paymentmethods; import io.sphere.sdk.payments.TransactionType; import javax.annotation.Nonnull; import java.util.Arrays; import java.util.EnumSet; import java.util.List; import static io.sphere.sdk.payments.TransactionType.AUTHORIZATION; import static io.sphere....
package uk.gov.ons.ctp.response.action.export.config; import lombok.Data; import net.sourceforge.cobertura.CoverageIgnore; /** Config for ExportScheduler */ @CoverageIgnore @Data public class Sftp { private String directory; }
package org.zacharylavallee.file; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java....
package com.facebook.yoga; public enum YogaUnit { AUTO, PERCENT, POINT, UNDEFINED(0); private final int mIntValue; static { POINT = new YogaUnit("POINT", 1, 1); PERCENT = new YogaUnit("PERCENT", 2, 2); AUTO = new YogaUnit("AUTO", 3, 3); $VALUES = new YogaUnit[] { UNDEFIN...
/*package com.ireslab.sendx.electra; import java.util.Arrays; import java.util.Enumeration; import javax.servlet.http.HttpServletRequest; import org.apache.commons.lang3.builder.ReflectionToStringBuilder; import org.apache.commons.lang3.exception.ExceptionUtils; import org.aspectj.lang.JoinPoint; import org.aspectj....
package mc.alk.arena.events.players; import mc.alk.arena.objects.ArenaPlayer; import mc.alk.arena.objects.MatchParams; import mc.alk.arena.objects.arenas.Arena; import mc.alk.arena.objects.joining.ArenaMatchQueue; public class ArenaPlayerLeaveQueueEvent extends ArenaPlayerEvent { // final ArenaTeam team; final...
public class drive1 { public static void main(String[] args)throws ClassNotFoundException, InstantiationException, IllegalAccessException { Class c = Class.forName("stringbufbul.emp1"); empl e = (empl)c.newInstance(); empl.disp(); } }
package com.tencent.mm.plugin.appbrand.q; import java.util.LinkedList; public interface b$a { void w(LinkedList<d> linkedList); }
package com.tencent.mm.ui.chatting.a; import android.app.Activity; import android.content.Intent; import android.view.View; import android.view.View.OnClickListener; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.storage.bd; import com.tencent.mm.ui.chatting.a.a.c; import com.tencent.mm.ui.chatting.a...
package ialogistica; import java.util.Random; public class Comunes { public static final int NUM_CENTROS = 6; public static final int NUM_HORAS = 10; public static final Random MyRandom = new Random(8); public static final int[] CapacidadesMaximasCamiones = new int[] { 500, 1000, 2000 }; public static fin...
package 把数组排成最小的数; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; public class MinNumber { public static void main(String[] args) { int[] a = {3,32,321}; System.out.println(min(a)); } private static String min(int[] a){ ArrayList<String> list = ne...
/* * 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.tarkesh.entity; import java.io.Serializable; import java.util.Objects; import javax.persistence.Entity; import javax.persi...
package repls04; import java.util.*; public class StringFind { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.println(reverseNoSpec(in.next())); } public static String reverseNoSpec(String str) { // your code here String result = ...
package com.duanxr.yith.midium; /** * @author 段然 2021/8/17 */ public class WordSearch { /** * Given an m x n grid of characters board and a string word, return true if word exists in the grid. * * The word can be constructed from letters of sequentially adjacent cells, where adjacent cells are horizontal...
package com.secoo.bigdata.kaggle.talkingdata.service.impl; import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.io.IOUtils; import com.secoo.bigdata.kaggle.talkingdata.domain.Stat; import com.secoo.bigdata.kaggle.talkingdata.service.IEstimate; i...
package com.tencent.mm.plugin.appbrand.jsapi.f; import com.tencent.mm.plugin.appbrand.compat.a.b.f; import com.tencent.mm.plugin.appbrand.jsapi.a; import com.tencent.mm.plugin.appbrand.jsapi.f.a.b; import com.tencent.mm.plugin.appbrand.jsapi.f.a.c; import com.tencent.mm.plugin.appbrand.l; import com.tencent.mm.plugin....
package com.snow.gk.gurukula.pages; import com.snow.gk.core.supers.PageClass; import com.snow.gk.core.ui.elements.IHyperLink; import com.snow.gk.core.ui.elements.ILabel; import com.snow.gk.core.ui.elements.impl.HyperLink; import com.snow.gk.core.ui.elements.impl.Label; import org.openqa.selenium.WebElement; import org...
package org.tit_admin_dao.demo; import java.util.List; import org.apache.ibatis.annotations.Param; import org.tit_admin_model.demo.TestDomain; import org.tit_admin_model.demo.TestDomainExample; public interface MyBatisTestDao { int countByExample(TestDomainExample example); int deleteByExample(Test...
package com.example.dictionary; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import java.net.IDN; public class mydatabasehandler extends SQLiteOpenHelper { publ...
package data; import java.util.ArrayList; import traitement.SimulationProcess; public class Simulation { private ArrayList<Equipe> equipesTournoi; private Poule poules[]; private ArrayList<Equipe> vainqueursPhasesPoule; private ArrayList<Match> quarts; private ArrayList<Match> demis; private ArrayList<Match> ...
package CausalChecker; import BadPattern.BAD_PATTERN; import CycleChecker.CycleChecker; import DifferentiatedHistory.History; import DifferentiatedHistory.HistoryItem; import Relation.*; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; public class CMChe...
package com.cg.rabitmq.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.cg.rabitmq.model.Customer; @Repository public interface CustomerRepo extends JpaRepository<Customer, String> { }