text
stringlengths
10
2.72M
import Entidades.Articulo; import Entidades.Usuario; import freemarker.template.Configuration; import org.apache.commons.codec.binary.Hex; import spark.ModelAndView; import spark.Request; import spark.Spark; import spark.template.freemarker.FreeMarkerEngine; import javax.crypto.Mac; import javax.crypto.spec.SecretKeyS...
package com.asiainfo.crm.demo.service.interfaces; import com.ai.appframe2.service.ServiceFactory; import org.junit.Before; import org.junit.Test; import resource.so.bo.BOTempTestUserBean; import resource.so.ivalues.IBOTempTestUserValue; import java.sql.Timestamp; public class IBOTempTestUserDAOTest { private IB...
package com.tencent.mm.plugin.game.ui; import com.tencent.mm.plugin.game.ui.r.c; import com.tencent.mm.protocal.c.yd; import com.tencent.mm.protocal.c.ye; import java.util.LinkedList; public class r$b { public int actionType; public String appId; public String bHt; public long createTime; public S...
package com.algonquincollege.saab0018.hsvcolorpicker; import android.app.DialogFragment; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.wid...
// ================================ // POO JAVA - IMAC 2 - ANIK Myriam // TP 8 // Pour (dé)commenter un bloc : Cmd+Shift+/ ou Ctrl + Shift + / // ================================ import java.util.*; public class Main { public static void main(String[] args) { var apple1 = new Apple(20, "Golden...
package org.tc.svc; import javax.jws.WebMethod; import javax.jws.WebService; @WebService public interface WsDemo { @WebMethod public String sayHello(String name); }
package com.qgil.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import com.qgil.common.pojo.DatatablesView; import com.qgil.mapper.QgilProe...
package jneiva.hexbattle.componente; import java.util.List; import java.util.concurrent.TimeUnit; import com.badlogic.gdx.math.Vector2; import aurelienribon.tweenengine.Timeline; import aurelienribon.tweenengine.Tween; import jneiva.hexbattle.Game; import jneiva.hexbattle.comum.Vector2Accessor; import jneiva.hexbatt...
package com.mochasoft.fk.security.mapper; import com.mochasoft.fk.mapper.MyBatisRepository; import com.mochasoft.fk.security.entity.RoleUser; import java.util.List; @MyBatisRepository public interface RoleUserMapper { /** * This method was generated by MyBatis Generator. * This method correspo...
package com.jackie.classbook.common; /** * Created with IntelliJ IDEA. * Description: * * @author xujj * @date 2018/12/4 */ public enum SexEnum { MALE((byte)1, "男"), FEMALE((byte)0, "女"); private byte key; private String value; SexEnum(byte key, String value){ this.key = key; t...
/* * The MIT License * * Copyright 2019 tibo. * * 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, me...
package algorithm.kakaoBlindTest._2018; import java.util.*; /* * 시작: 18:10 * 끝: 20:07 틀림! * 걸린시간: 1:57 * * 시간을 포맷화하는 방법 * 00:00 형태의 String배열도 Arrays.sort하면 정렬이됨 * */ public class kakao_blind_2018_4 { static class Time { int hour; int minute; Time(String timetable) { String hour = ""; String m...
package com.tencent.mm.pluginsdk.ui.preference; import com.tencent.mm.g.a.iq; import com.tencent.mm.pluginsdk.c.a; import com.tencent.mm.sdk.b.b; class FMessageListView$1 extends a { final /* synthetic */ FMessageListView qOF; FMessageListView$1(FMessageListView fMessageListView) { this.qOF = fMessag...
package com.javarush.task.task19.task1909; import java.io.*; import java.util.ArrayList; /* Замена знаков */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader breader = new BufferedReader(new InputStreamReader(System.in)); String f1 = bread...
package com.ttan.string; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; /** * @Description: 第一个只出现一次的字符 * @author ttan * @time 2019年7月3日 下午2:27:57 */ public class FirstNotRepeatingChar { /*在一个字符串(0<=字符串长度<=10000,全部由字母组成)中找到第一个只出现一次的字符 * ,并返回它的位置, 如果没有则返回...
package com.hand6.health.api.controller.v1;/** * Created by Administrator on 2019/7/14. */ import com.hand6.health.app.service.impl.ReportServiceImpl; import com.hand6.health.domain.entity.MotionSummary; import com.netflix.discovery.converters.Auto; import org.springframework.beans.factory.annotation.Autowired; impo...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
package lesson; import patterned.Strategy; public class YourStrategy implements Strategy { /** * [課題] 自分なりの戦略を実装してください */ @Override public boolean highLow(int number) { return false; } }
package Assigment1; public class abstractscientificcalc extends Abstarctsimplecalc { void multiply () { c = a * b *2; System.out.println("Result of Multiplication = " + c); } }
package com.catcher.seeexpress.db; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class DBHelper extends SQLiteOpenHelper { private static final String DB_NAME = "expressrecord.db"; private static final int DB_SERVION = 1; pr...
package cn.org.cerambycidae.Servlet.DataBase; import cn.org.cerambycidae.pojo.Student; import cn.org.cerambycidae.service.Impl.StudentMybatisServiceImpl; import cn.org.cerambycidae.service.StudentService; import cn.org.cerambycidae.util.DataBaseUtil.NameAndAgeRequest; import com.alibaba.fastjson.JSONObject; import ja...
package com.example.csy.activitypractice; import android.Manifest; import android.content.pm.PackageManager; import android.os.Bundle; import android.os.Environment; import android.support.v4.app.ActivityCompat; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatActivity; import an...
package arenaworker.abilities; import arenaworker.Player; public class Invisibility extends Ability { boolean isInvisible = false; long duration = 1500L; long start; public Invisibility(Player player, int abilityNum) { super(player, abilityNum); cooldown = 5000L; } @Over...
import java.util.*;; public class FindallAnagraminstring { public static void main(String[] args) { String s="cbaebabacd"; String p="abc"; System.out.println(findAnagrams(s,p).toString()); } public static List<Integer> findAnagrams(String s, String p) { if (p.lengt...
/******************************************************************************* * Copyright (c) 2012, All Rights Reserved. * * Generation Challenge Programme (GCP) * * * This software is licensed for use under the terms of the GNU General Public * License (http://bit.ly/8Ztv8M) and the provisions of P...
/** **************************************************************************** * Copyright (c) The Spray Project. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at ...
package ru.mail.controller.filters; import javax.servlet.*; import java.io.IOException; public class RequestEncodeFilter implements Filter { private static final String ENCODING_TYPE="UTF-8"; private static final String CONTENT_TYPE="text/html; charset=UTF-8"; public RequestEncodeFilter() { System...
package clases; public class Matematicas { //ESTA CLASE LA VAMOS A UTILIZAR //NO VA A ARRANCAR, SERA UNA HERRAMIENTA PARA //OTRAS CLASES //NO LLEVA METODO main() //NOS CREAMOS UN METODO PARA SUMAR NUMEROS //QUE RECIBIRA DOS NUMEROS Y DEVOLVERA LA SUMA public int sumarNumeros(int num1, int ...
package com.jadn.cc.core; import android.app.Application; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.content.pm.PackageInfo; import android.os.IBinder; import android.util.Log; import com.jadn.cc.service...
package Server; import java.io.FileOutputStream; import java.io.IOException; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class CompaniesTable extends DataTable implements ResultFromTable { public CompaniesTable(Statement stmt, DatabaseHandler mdbc) { ...
package com.example.connectly.jobprovider; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; imp...
package com.fpmislata.banco.presentacion; import com.fpmislata.banco.negocio.dominio.EntidadBancaria; import com.fpmislata.banco.negocio.servicios.EntidadBancariaService; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public cla...
package wrapers; import java.util.List; import java.util.ArrayList; public class TestaOutrosWrapers { public static void main(String[] args) { Integer idadeRef = Integer.valueOf(29); //autoboxing System.out.println(idadeRef.intValue()); //unboxing Double dRef = Double.valueOf(3.2);//autobox...
/* * Copyright (c) 2013 M-Way Solutions GmbH * * 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 o...
package com.cg.eis.service; import com.cg.eis.bean.*; interface I{ String employeeScheme(int salary); } public class Scheme extends Employee4 implements I{ public String employeeScheme(int salary) { String result=""; if((salary>5000)&& (salary<20000)) { result= "C"; } if((salary>=20000)&&(salary...
package com.tencent.mm.plugin.webview.ui.tools.game; import com.tencent.mm.R; import com.tencent.mm.plugin.webview.ui.tools.WebViewUI; import com.tencent.mm.pluginsdk.ui.applet.g; import com.tencent.mm.pluginsdk.ui.applet.q.a; import com.tencent.mm.sdk.platformtools.x; public class GameChattingRoomWebViewUI extends W...
package com.ibm.ive.tools.japt.reduction.xta; import com.ibm.ive.tools.japt.JaptRepository; import com.ibm.ive.tools.japt.reduction.ClassSet; import com.ibm.ive.tools.japt.reduction.EntryPointLister; import com.ibm.jikesbt.BT_Class; import com.ibm.jikesbt.BT_Field; import com.ibm.jikesbt.BT_HashedClassVector; ...
package menage; public class MAIN { public static void main(String[] args) { // TODO Auto-generated method stub principale p = new principale(); p.setVisible(true); } }
package io.cucumber.cucumberexpressions; import org.apiguardian.api.API; @API(status = API.Status.STABLE) public class CucumberExpressionException extends RuntimeException { CucumberExpressionException(String message) { super(message); } CucumberExpressionException(String message, Throwable cause...
package predictor; public class KalmanFilter { private double Q = 0.00001; private double R = 0.1; private double P = 1, X = 0, K; private void measurementUpdate(){ K = (P + Q) / (P + Q + R); //P = R * (P + Q) / (R + P + Q); P = R * K; } public double update(double measurement){ measureme...
package com.t.s.model.biz; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.t.s.model.dao.FreeBoardDao; import com.t.s.model.dto.FreeBoardDto; @Service public class FreeBoardBizImpl implements FreeBoardBiz { ...
package common; import java.util.Arrays; /** * Created by Choen-hee Park * User : chpark * Date : 14/08/2020 * Time : 1:15 AM */ public class PrintableMain { protected static <T, F> void printResult(T input, F function) { // 입력,출력 모두 String으로 반환해서 출력하고있으므로, 입력,출력을 toString();으로 추상화하였다. printR...
package Airplane; import java.util.Random; public abstract class Airplane { public int startEngine (){ Random randomTime = new Random(); int timeBeforeStart = randomTime.nextInt(88-20)+20; return timeBeforeStart; } public int takeOff(){ Random randomTime = new Random(); ...
package www.limo.com.mymovies.apiClients; import java.util.List; import retrofit2.Call; import retrofit2.http.GET; import www.limo.com.mymovies.entities.Movies; public interface LatestMoviesInterface { @GET("/schedule") Call<List<Movies>> getLatestMovies(); }
package com.luban.command.weather.controller; import com.luban.command.weather.service.WeatherService; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.web.bind.an...
package Tugas; /** * * @author Master */ public class Windows extends Laptop{ public String fitur; public Windows() { } public Windows(String fitur, String jnsBaterai, String merk, String jnsProcessor, int kecProcessor, int sizeMemory) { super(jnsBaterai, merk, jnsProcessor, kecProcessor, ...
package com.fenjuly.arrowdownloadbutton; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.View; import com.fenjuly.library.ArrowDownloadButton; import java.util.Timer; import java.util.TimerTask; public class MainActivity extends ActionBarActivity { int count = 0...
public class L338 { public int[] countBits(int num) { if(num==0){ return new int[]{0}; } int[] numBits=new int[num+1]; numBits[0]=0; numBits[1]=1; for(int i=2;i<=num;i++){ if((i&1)==1){ numBits[i]=numBits[i-1]+1; ...
package com.tencent.mm.plugin.appbrand.jsapi.auth; import com.tencent.mm.ab.l; import com.tencent.mm.plugin.appbrand.jsapi.auth.JsApiLogin.LoginTask; import com.tencent.mm.protocal.c.aoy; import com.tencent.mm.sdk.platformtools.x; import com.tencent.mm.u.a.c; import com.tencent.mm.u.a.c.a; import java.util.LinkedList;...
package com.mkay.scorecard; /** * Created by Marcus on 16/12/14. */ import android.widget.TextView; public class News { public String title; public String datePublished; public String content; public News(String title, String datePublished, String content) { this.title = title; thi...
/* * (C) Copyright 2016 Hewlett Packard Enterprise Development LP * * 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 b...
package bufmgr; import global.GlobalConst; import global.PageId; public class HashTableBuffer implements GlobalConst { private HashTableBufferEntry hashTable[]; private int numFrames; public HashTableBuffer(int numFrames) { this.numFrames = numFrames; this.hashTable = new HashTableBufferEntry[numFrames]; ...
package jp.noxi.collection; import java.util.List; import org.junit.Test; import static org.hamcrest.Matchers.contains; import static org.hamcrest.Matchers.empty; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertThat; public class InstanceOfCollectionTest { @Test public void tes...
package com.tencent.mm.plugin.emoji.provider; import android.content.ContentProvider; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import com.tencent.mm.kernel.g; import com.tencent.mm.model.au; import com.ten...
package Algorithm; import java.util.ArrayList; import java.util.List; import java.util.Stack; //给定一个二叉树,返回它的中序 遍历。 public class a94 { public List<Integer> inorderTraversal(TreeNode root) { List<Integer> ans =new ArrayList<>(); Stack<TreeNode> stack=new Stack<>(); TreeNode cur=ro...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package magap; //import com.magapinv.www.interfacesmagap.Ingresar_Unidad; //import com.magapinv.www.interfacesmagap.Movimiento_Inventario_Responsable; //import com.magapinv.www.interfacesmagap.Reportes; import ...
package ru.otus.hw01maven; import com.google.common.collect.MapDifference; import com.google.common.collect.Maps; import java.util.Map; /** * The class compares the current list of domain names and IP addresses with a blacklist. */ public class HelloOtus extends AbstractSubnetsGenerate{ public static void mai...
package project.exception; public class DimensioniEccessiException extends RuntimeException{ private static final long serialVersionUID = 1L; public DimensioniEccessiException() {} public DimensioniEccessiException(String str) { super(str); } }
package com.rc.components.room; import com.rc.adapter.RoomItemViewHolder; import com.rc.adapter.RoomItemsAdapter; import com.rc.app.Launcher; import com.rc.res.Colors; import com.rc.components.NotificationTextArea; import com.rc.components.RCMenuItemUI; import com.rc.db.model.Room; import com.rc.db.service.RoomService...
/* * 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.utility; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.math.BigInteger; imp...
package com.tencent.mm.plugin.wallet.balance.ui; import android.graphics.Bitmap; import com.tencent.mm.plugin.wallet.balance.ui.WalletBalanceSaveUI.7; class WalletBalanceSaveUI$7$1 implements Runnable { final /* synthetic */ Bitmap abc; final /* synthetic */ 7 paO; WalletBalanceSaveUI$7$1(7 7, Bitmap bit...
/* * 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. */ /** * * @author 141052976 */ public class Estado { private int estado; private String alfabeto; private String comando;...
package cc.feefox.wechat.message.model; /** * 文本消息 * * @Package: cc.feefox.wechat.message.model * @author: cc * @date: 2018年8月18日 下午2:52:48 */ public class TextMessage extends BaseMessage { // 消息内容 private String Content; // // private int FuncFlag; public String getContent() { return C...
package cn.com.hln.modules.biz.sysdict.dto; import java.io.Serializable; /** * @author chen_gang * @version V1.0 * @Description 定义基础 dto 类 * @date 2014年9月24日 下午8:48:28 */ public class BaseDTO implements Serializable { private static final long serialVersionUID = -1641854051866090244L; //操作当前系统的 user 的o...
/* * 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 loc.dto; /** * * @author hi */ public class RoomCartDTO { private String roomID, hotelID, hotelName, type...
package com.plter.notes.atys; class MediaType{ static final int PHOTO = 1; static final int VIDEO = 2; }
package com.ncst.myfirstapp; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.Toast; public class Main...
package cn.itcast.job.task.checkversion; import cn.itcast.job.cache.ConfigConstant; import cn.itcast.job.pojo.dependices.DependicesNode; import cn.itcast.job.utils.FileUtil; import cn.itcast.job.utils.StringUtil; import java.io.IOException; import java.util.Stack; public class DependicesFileReadAndGetTree { publ...
package samsungTest; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; public class BOJ_20055_컨베이어벨트위의로봇 { private static int N,K; private static int[] belt; private static int[] roboat; private static int[] beltR; public static void main(String[]...
/* * 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...
package com.hesoyam.pharmacy.pharmacy.repository; import com.hesoyam.pharmacy.pharmacy.model.Order; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param...
public class QuiGonJin extends Jedi implements LightSaber, Pilot{ public QuiGonJin(){ super("Qui-Gon Jin","Light Side","Galactic Republic",false); } public String lightSaber(){ return "green lightsaber"; } public boolean pilot(){ return true; } }
package hw.gorovtsov.mathtesting.input; public class NumSetOne { }
package com.kdp.wanandroidclient.event; /** * 事件类型 * author: 康栋普 * date: 2018/4/12 */ public class Event { public enum Type { REFRESH_ITEM, REFRESH_LIST, SCROLL_TOP,SCALE } public Type type; public Object object; public Event(Type type) { this(type,null); } public Ev...
package com.cmp404.pharmacymanagement.model; import org.hibernate.annotations.UpdateTimestamp; import org.springframework.data.annotation.CreatedDate; import javax.persistence.*; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; @Entity public class Item implements Serializable { @...
package com.example.mahe.ieeefinaltask; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.EditText; public class forg_pass extends AppCompatActivity { public static String extramsg = "Hello"; public void se...
package linkedList; //jian pan 5728309 import java.util.Scanner; public class singlylinkedlist { public static void main(String [] args){ node newnode = new node(1); node newnode1 = new node(2); node newnode2 = new node(3); System.out.println(newnode); System.out.println(ne...
package negocio.excecao; public class TipoNaoDeclaradoException extends Exception { public TipoNaoDeclaradoException(){ super("Tipo nao declarado"); } }
package com.kingfish.show.utils; import org.apache.commons.lang3.time.FastDateFormat; import java.util.Date; public class DateTimeUtil { private static final String DEFAULT_PATTERN = "yyyy-MM-dd HH:mm:ss"; public static String toString(Date date) { return FastDateFormat.getInstance(DEFAULT_PATTERN)....
package com.saasbp.auth.adapter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Scope; import org.springframework.web.context.WebApplicationCont...
package pe.gob.sunarp.adm.service; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import oracle.jdbc.OracleTypes...
package com.infor.models; import java.util.Properties; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.PasswordAuthentication; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; public class Em...
package com.dreamcatcher.factory; import com.dreamcatcher.action.Action; import com.dreamcatcher.plan.action.PlanDeleteAction; import com.dreamcatcher.plan.action.PlanDislikeAction; import com.dreamcatcher.plan.action.PlanGetLatLngAction; import com.dreamcatcher.plan.action.PlanLikeAction; import com.dreamcatch...
/** * 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...
package com.oxycab.provider.ui.activity.change_password; import com.oxycab.provider.base.MvpView; public interface ChangePasswordIView extends MvpView { void onSuccess(Object object); void onError(Throwable e); }
/** * Created by jettc on 6/13/2017. */ public class FunctionExample { // Function Prototype/Declaration // Function Definition // Function Calling public void demo(){ System.out.println("I'm a default function."); } public void demo(int a ){ System.out.println("I'm a default function ...
package com.espendwise.manta.web.validator; import com.espendwise.manta.util.Constants; import com.espendwise.manta.util.Utility; import com.espendwise.manta.util.validation.CodeValidationResult; import com.espendwise.manta.util.validation.IntegerValidator; import com.espendwise.manta.util.validation.TextValidator; i...
package com.tencent.mm.plugin.wxcredit.ui; import android.view.MenuItem; import android.view.MenuItem.OnMenuItemClickListener; class WalletWXCreditChangeAmountResultUI$1 implements OnMenuItemClickListener { final /* synthetic */ WalletWXCreditChangeAmountResultUI qwP; WalletWXCreditChangeAmountResultUI$1(Wal...
package mah.da357a.io; import java.awt.image.*; import java.io.*; import java.nio.charset.StandardCharsets; /** * IO class for reading and writing Megatron files * * @author Jesper Larsson & Albert Kaaman * */ public class MegatronIO { /** Magic start string to signify Megatron file format. */ ...
package online; import Util.R; import com.restfb.*; import com.restfb.types.FacebookType; import com.restfb.types.User; import org.jetbrains.annotations.Nullable; import javax.imageio.ImageIO; import javax.swing.*; import java.awt.*; import java.io.File; import java.io.FileInputStream; import java.io.IOE...
package commandline.command; import commandline.exception.ArgumentNullException; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; public class CommandList implements Ite...
package script.groovy.servlets; import groovy.lang.GroovyObject; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletRequest; import script.groovy.runtime.GroovyRuntime; public abstract class GroovyServlet implements GroovyObject{ public static final String DELETE = "DELETE"; publi...
package com.hk.xia.spring.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; /** * @author wang.yubin * @date 2019/9/24 * @description 纯Java配置SpringMVC的控制器测试 */ @Controller public class ConfigController { @RequestMapping("/start") ...
package com.tencent.mm.plugin.clean.c; class f$2 implements Runnable { final /* synthetic */ f hRm; final /* synthetic */ long hRn; f$2(f fVar, long j) { this.hRm = fVar; this.hRn = j; } public final void run() { if (f.a(this.hRm) != null) { f.a(this.hRm).ck(th...
package com.example.test.ndk; /** * Created by Guo Shaobing on 2016/10/17. */ public class NdkJniUtils { static { System.loadLibrary("TestJniLibName"); //defaultConfig.ndk.moduleName } public native String getCLanguageString(); }
package com.cooksys.teamOneSocialMedia.dtos; import java.util.List; import lombok.Data; import lombok.NoArgsConstructor; @NoArgsConstructor @Data public class ContextDto { public TweetResponseDto target; public List<TweetResponseDto> before; public List<TweetResponseDto> after; }
package com.hit.neuruimall.service.impl; import com.hit.neuruimall.service.IImgService; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import static org.junit.jupiter.api.Assertions.*; @SpringBootTest clas...
package com.zitiger.plugin.xdkt.tomap.action; import com.zitiger.plugin.xdkt.tomap.generator.AbstractTransformationGenerator; import com.zitiger.plugin.xdkt.tomap.generator.impl.GuavaToListGenerator; /** * @author zitiger */ public class GuavaToListGeneratorAction extends TransformationGeneratorAction { @Overr...
package com.wlc.ds.sort; /** * 选择排序<br> * 每次选择最小的元素 * 时间复杂度: 平均情况与最差情况都是O(n^2)<br> * 空间复杂度: O(1) * * @author lanchun * */ public class SelectionSort implements ISort { public void sort(int[] array) { for(int i = 0;i < array.length-1;i++){ int min = array[i]; int indexOfMin=i; for(int j = i+1;j <...
package com.example.cbt.jsondemo; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; /** * Created by CBT on 18-07-2017. */ publi...