text
stringlengths
10
2.72M
import java.io.*; public class q9 { public static void main(String[] args){ try{ String path= "t.txt"; File f = new File(path); PrintWriter writer = new PrintWriter(f); writer.println("Testing,"); writer.println("1, 2, 3."); writer.println("This is my output file."); w...
package org.workers.impl.combat_instructor; import org.OrionTutorial; import org.osbot.rs07.api.ui.RS2Widget; import org.osbot.rs07.api.ui.Tab; import org.workers.TutorialWorker; import viking.api.Timing; public class OpenEquipmentStats extends TutorialWorker { private static final int MASTER = 387, CHILD = 17; ...
package org.sagebionetworks.repo.manager.authentication; import java.util.Date; import org.sagebionetworks.repo.manager.AuthenticationManager; import org.sagebionetworks.repo.manager.UserCredentialValidator; import org.sagebionetworks.repo.manager.oauth.OIDCTokenHelper; import org.sagebionetworks.repo.manager.passwor...
package cn.edu.nju.se.lawcase.entities; import java.io.Serializable; import java.util.List; public class Statute implements Serializable{ /** * */ private static final long serialVersionUID = 1L; private String statuteId; private String statuteName; private List<Chapter> chapters; public String getStatuteI...
package com.fourstay.step_definitions; import org.junit.Assert; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait; import com.fourstay.pages.HomePage; import com.fourstay.utilities.ConfigurationReader; import com.fourstay.utilities.Driver; import cucumber.a...
package main; import java.io.IOException; import org.lwjgl.LWJGLException; import org.lwjgl.util.vector.Vector3f; public class Assets extends initialization { public void assets() throws IOException, LWJGLException, InterruptedException { CLOUD = handler.InitEntity("cloud", "cloud", 1, false, false); FERN = ha...
package com.lxy.servlet; import java.io.IOException; import javax.servlet.GenericServlet; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; public class ServletDemo2 extends GenericServlet { public void init() throw...
package com.swmansion.gesturehandler; import android.os.SystemClock; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; public class h extends b<h> { public boolean a; public boolean b; public h() { a(true); } private static boolean a(View ...
package net4game.ctx; import ctx.AbstractSession; import net4game.pojo.NetRegistrant; public class NetSession extends AbstractSession { private NetRegistrant r; public NetSession(String id, NetRegistrant r) { super(id); this.r = r; } public NetRegistrant getR() { return r; } public void setR(NetRegist...
package com.yida.design.prototype.demo; /** ********************* * @author yangke * @version 1.0 * @created 2018年5月11日 下午3:12:21 *********************** */ public class AdvTemplate { // 名称 private String advSubject = "XX银行国庆信用卡抽奖活动"; // 内容 private String advContext = "国庆抽奖活动通知:只要刷卡就送你一百万!..."; ...
package com.theoffice.moneysaver.adapters; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import com.theoffice.moneysaver.R; import com.theoffice.moneysa...
/* * 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 com.tencent.mm.g.a; import com.tencent.mm.sdk.b.b; public final class mc extends b { public a bWF; public b bWG; public mc() { this((byte) 0); } private mc(byte b) { this.bWF = new a(); this.bWG = new b(); this.sFm = false; this.bJX = null; } }...
package com.lera.vehicle.reservation.command.customer; import com.lera.vehicle.reservation.domain.customer.CreditCardType; import com.lera.vehicle.reservation.domain.customer.CustomerType; import org.junit.Test; import java.util.Calendar; import static org.junit.Assert.*; public class EditCustomerObjectTest { ...
package com.tencent.mm.plugin.fav.ui; import com.tencent.mm.ab.e; import com.tencent.mm.ab.l; import com.tencent.mm.plugin.fav.a.aj; import com.tencent.mm.sdk.platformtools.x; class FavBaseUI$6 implements e { final /* synthetic */ FavBaseUI iYp; FavBaseUI$6(FavBaseUI favBaseUI) { this.iYp = favBaseUI...
/* * 2012-3 Red Hat Inc. and/or its affiliates and other contributors. * * 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 requi...
package mg.egg.eggc.compiler.egg.java; import mg.egg.eggc.runtime.libjava.*; import mg.egg.eggc.compiler.libegg.base.*; import mg.egg.eggc.compiler.libegg.java.*; import mg.egg.eggc.compiler.libegg.egg.*; import mg.egg.eggc.compiler.libegg.mig.*; import mg.egg.eggc.compiler.libegg.latex.*; import mg.egg.eggc.compiler.l...
package org.codeshifts.spring.batch.reader.csv.person.constants; /** * Created by werner.diwischek on 07.05.17. */ public class PersonConstants { public static final String ATTRIBUTE_ID_FIRSTNAME = "möwe"; public static final String ATTRIBUTE_ID_LASTNAME = "anything goes"; public static final String ATTRIBUTE_...
package org.browsexml.timesheetjob.web; import java.text.NumberFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.common...
package org.mytests.tests.UITests; import org.mytests.tests.TestsInit; import org.testng.annotations.Test; import org.testng.asserts.SoftAssert; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import static com.epam.jdi.light.elements.composite.WebPage.back; import ...
package com.lr.pojo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; @Data @NoArgsConstructor @AllArgsConstructor public class SubjectType { private static final long serialVersionUID = -3558783123234905129L; private Integer subjectid; p...
package com.tencent.mm.protocal.c; import com.tencent.mm.bk.a; import java.util.LinkedList; public final class pc extends a implements bnu { public int rfn; public int rto; public int rtp; public int rtq; public LinkedList<brg> rtr = new LinkedList(); public LinkedList<brg> rts = new LinkedLis...
package by.epam.javaintro.classes.task01; import java.util.LinkedList; import java.util.Objects; public class District { private String name; private double square; private LinkedList<Town> townList; public District(String name, double square, LinkedList<Town> townList) { this.name = name; ...
package mobpartner.sampleappwithmobpartner; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import com.mopub.mobileads.MoPubErrorCode; import com.mopub.mobileads.MoPubInterstitial; import com.mopub.mobileads.MoPubView; public class MoPubWithHTML extends ...
package br.com.diegomelo.cleanparse.model; import java.util.List; public class AttributeListPojo { private List<String> listValue; public List<String> getListValue() { return listValue; } public void setListValue(List<String> listValue) { this.listValue = listValue; } }
package ru.otus.dataset; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.*; import java.io.Serializable; @Data @EqualsAndHashCode @Entity @Table(name = "user_groups") public class GroupEntity implements DataSet, Serializable { @Id @GeneratedValue(strategy = GenerationType.AUTO)...
package net.sf.orassist; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.LinkedList; import jav...
package com.immotor.bluetoothadvertiser.activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v4.content.LocalBroadcas...
/******************************************************************************* * Copyright (c) 2017 Luke Collins and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the license * which accompanies this distribution * * Contributors: * Luke ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /** * Created by SangEun on 2019-12-13. */ public class p5 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.o...
package com.tencent.mm.model; import com.tencent.mm.bt.h.d; import com.tencent.mm.storage.n; class c$8 implements d { c$8() { } public final String[] xb() { return n.diD; } }
package com.hua.beautifulimage.ui.activity; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.content.Intent; import android.graphics.Point; import android.graphics.Rect; import android.supp...
package com.moon.utils; import org.apache.commons.lang.StringUtils; /** * 42位的时间前缀+10位的节点标识+12位的sequence避免并发的数字(12位不够用时强制得到新的时间前缀) * <p/> * <b>对系统时间的依赖性非常强,需要关闭ntp的时间同步功能,或者当检测到ntp时间调整后,拒绝分配id。 * * @author sumory.wu * @date 2012-2-26 下午6:40:28 */ public enum IdGenerator { ID_GENERATOR; private static ...
package com.paisheng.instagme.base; import com.paisheng.lib.mvp.network.INetworkView; import com.paisheng.lib.mvp.network.NetworkPresenter; import com.paisheng.lib.network.IRequestManager; import com.paisheng.lib.network.RequestCall; import java.lang.ref.Reference; import java.lang.ref.WeakReference; import java.util...
/* * 官网地站:http://www.ShareSDK.cn * 技术支持QQ: 4006852216 * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) * * Copyright (c) 2013年 ShareSDK.cn. All rights reserved. */ package cn.sharesdk.onekeyshare; import java.util.HashMap; import javax.crypto.Mac; import com.chu...
package com.example.restauth.infrastructure; import java.util.HashMap; import org.springframework.stereotype.Service; import com.example.restauth.domain.User; import com.example.restauth.domain.UserAlreadyExistsException; import com.example.restauth.domain.UserRepository; /** * * In memory implementation of the ...
package com.weboot.book.model; import javax.persistence.Entity; /** * @author Yaroslav Bondarchuk * Date: 02.01.2016 * Time: 17:52 */ public enum MasterType { BEAUTICIAN, HAIRDRESSER, MANICURE_MASTER }
package utils; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.PrintStream; public class AlternativeConsole { private PrintStream originalOut,originalErr; private ByteArrayOutputStream out,err; private boolean outClosed, errClosed; public AlternativeConsole() { // out this...
package labs; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.LinkedList; import java.util.Set; public class HashSet<T> implements Set<T> { private ArrayList<LinkedList<T>> structure; private int size; public HashSet() { clear(); } @Override public void cle...
package day22_string_manipulation; public class DynamicSubstring { public static void main(String[] args) { String result = "result count:12345"; System.out.println(result.substring(13,18));// same System.out.println(result.substring(13)); System.out.println(result.indexOf(":"))...
package com.example.dev.activity; import android.os.Bundle; import com.ashokvarma.bottomnavigation.BottomNavigationBar; import com.base.adev.activity.BaseTabBottomActivity; import com.example.dev.R; import com.example.dev.fragment.DemoFragment; import com.example.dev.fragment.HomeFragment; import com.example.dev.frag...
package org.training.controller.commands.holder; import org.training.controller.commands.Command; import java.util.Map; /** * Created by nicko on 1/25/2017. */ public class CommandHolder { private Map<String, Command> getCommands; private Map<String, Command> postCommands; public CommandHolder(Map<Str...
package org.example.snovaisg.myuploadFCT; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import org.json.JSONArray; import org.json.JSONException;...
/*Reorder List question: http://www.lintcode.com/en/problem/reorder-list/ Given a singly linked list L: L0ˇúL1ˇúˇ­ˇúLn-1ˇúLn, reorder it to: L0ˇúLnˇúL1ˇúLn-1ˇúL2ˇúLn-2ˇúˇ­ You must do this in-place without altering the nodes' values. Example For example, Given 1->2->3->4->null, reorder it to 1->4->2->3->null. */ pac...
package wrapper; import java.util.Scanner; public class ucgenincevresi { public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.println("Lutfen uc sayi giriniz"); int sayi1 = scan.nextInt(); int sayi2 = scan.nextInt(); int sayi3 = scan.nextInt(); System.out.p...
package AbstractDemo; /** * The keyword 'abstract' is a non-access modifier. Abstract class working in a * similar way as the superclass, so the subclass should implement all methods * from abstract class or be abstract. Any class which has more than one * abstract method must be initialized as abstract. Abstract ...
package com.tencent.tencentmap.mapsdk.a; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Rect; import android.os.Bundle; import android.view.ViewGroup.LayoutParams; import com.tencent.tencentmap.mapsdk.a.rv.a; import com.tencent.tencentmap.mapsdk.a.td.1; import com.tencent.tence...
package br.eti.ns.nssuite.requisicoes.mdfe; import br.eti.ns.nssuite.requisicoes._genericos.CancelarReq; public class CancelarReqMDFe extends CancelarReq { public String chMDFe; }
package com.workorder.ticket.service; import java.util.List; import com.workorder.ticket.service.bo.deploy.ProjectBo; /** * 项目服务 * * @author wzdong * @Date 2019年3月26日 * @version 1.0 */ public interface ProjectService { public List<ProjectBo> queryProject(String projectName, Long parentId); }
package com.elvarg.net.login; import java.nio.channels.Channel; import com.elvarg.net.packet.Packet; import com.elvarg.net.security.IsaacRandom; import io.netty.channel.ChannelHandlerContext; /** * The {@link Packet} implementation that contains data used for the final * portion of the login protocol. * * @aut...
package com.tencent.mm.plugin.collect.ui; import android.view.View; import android.view.View.OnClickListener; import com.tencent.mm.plugin.collect.ui.CollectBillUI.1; import com.tencent.mm.protocal.c.cq; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.wallet_core.ui.e; class CollectBillUI$1$1 implem...
package it.htm.entity; import javax.persistence.*; import java.util.List; @Entity @Table(name="project") public class Project { @Id @Column(name = "project_id") @GeneratedValue(strategy=GenerationType.AUTO) private int projectId; @Column(name = "name") private String name; @Column(name ...
package umk.net.slafs.web; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import umk.net.s...
/* * 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.jotaweb.entity; import java.io.Serializable; import java.util.Objects; import javax.persistence.Column; import javax.persi...
package weather; import java.util.Properties; import org.apache.kafka.clients.consumer.ConsumerConfig; import org.apache.kafka.common.serialization.Serdes; import org.apache.kafka.streams.processor.Processor; import org.apache.kafka.streams.processor.ProcessorContext; import org.apache.kafka.streams.processor.Topolog...
package com.steven.base.impl; /** * @user steven * @createDate 2019/6/26 15:05 * @description 连续点击事件监听器 可以用作双击事件 */ public interface OnMultiTouchListener { void onMultiTouch(float x, float y); }
import java.util.Stack; import java.util.HashMap; import java.util.Map; interface Key{ public void operateOn(Stack<Integer> stack); } enum DigitKey implements Key{ DIGIT0, DIGIT1, DIGIT2, DIGIT3, DIGIT4, DIGIT5, DIGIT6, DIGIT7, DIGIT8, DIGIT9; public void operateOn(Stack<Integer> stack){ stack.push(s...
package com.cleo.ringto; import android.content.Context; import android.content.Intent; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.RelativeLayout; import ...
package webprotocol; import com.google.gson.annotations.SerializedName; import lombok.*; @Builder @AllArgsConstructor @Getter @Setter @ToString public class Address { @SerializedName("street") private String street; @SerializedName("suite") private String apartment; @SerializedName("city") ...
package dao; import entity.*; import db.*; import java.sql.ResultSet; import java.sql.SQLException; import java.util.*; public class PayBillDao { /** * 添加订单信息的方法 * @param payBill * @return */ public int addPayBill(PayBill payBill){ String sql="insert into paybill(t_deskno,v_name,v_count,v...
/* * 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 gerenciador.funcionario; import gerenciador.alunos.CadastroAlunoGUI; import gerenciador.endereco.CidadeGUI; import ...
package com.github.wx.gadget.dbo; import lombok.Data; import java.util.Date; @Data public class User { private Integer id; private String name; private String password; private Boolean starred; private Date createTime; private Long version; private String subscribe; private Str...
package com.lec.ex4_Object; public class Card { private char kind; // Character은 객체(data,method), char는 기초타입 private int num; public Card(char kind, int num) { this.kind = kind; this.num = num; }// public @Override public String toString() { return "카드 모양은" + kind + " " + num; }// public @Override // ...
package com.google.android.gms.common.api; import android.content.Context; import android.os.Bundle; import android.support.v4.content.c; import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.api.c.b; import java.io.FileDescriptor; import java.io.PrintWriter; class v$a extends c<...
/* * Copyright 2002-2013 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package com.tencent.mm.plugin.nfc.ui; import android.view.View; import android.view.View.OnClickListener; class HceTestUI$1 implements OnClickListener { final /* synthetic */ HceTestUI lFq; HceTestUI$1(HceTestUI hceTestUI) { this.lFq = hceTestUI; } public final void onClick(View view) { ...
package ru.nikozavr.auto.instruments.database.ModelInfo.ModelGener; import android.os.AsyncTask; import org.apache.http.NameValuePair; import org.apache.http.message.BasicNameValuePair; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.net.MalformedURLException; import...
package com.cimcssc.chaojilanling; import android.app.Application; import com.cimcssc.chaojilanling.util.Config; import com.nostra13.universalimageloader.cache.disc.naming.Md5FileNameGenerator; import com.nostra13.universalimageloader.core.ImageLoader; import com.nostra13.universalimageloader.core.ImageLoaderConfigur...
package com.youyiwen.Mapper; import com.youyiwen.Bean.User; import org.apache.ibatis.annotations.Insert; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; /** * @Author: zhaoyang * @Date: 2021/03/04 */ @Mapper public interface UserMapper { @Select("select password from u...
package com.tencent.mm.g.a; import android.graphics.Bitmap; public final class on$a { public int bZs = 0; public String bZt; public Bitmap bZu; public String cardType; }
package com.figureshop.springmvc; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class FigurineShopApplication { public static void main(String[] args) { SpringApplication.run(FigurineShopApplication.class, args)...
package unclassified; import java.util.PriorityQueue; /** * As seen in Ctci page 54 and EPI page 156. * * Numbers are generated randomly and stored in an expanding array. * How would you keep track of the median? */ public class FindMedian { /** * Uses one maxheap. Solves the problem for fixed array. ...
package com.bricenangue.nextgeneration.ebuycamer; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.support.v7.widget.RecyclerView; import android.util.Bas...
package com.itfdms.common.util; import com.itfdms.common.constant.CommonConstant; import com.itfdms.common.util.exception.CheckedException; import lombok.extern.slf4j.Slf4j; import org.springframework.security.crypto.codec.Base64; import javax.servlet.http.HttpServletRequest; import java.io.IOException; /** * @aut...
package com.tencent.mm.ui.conversation; import android.content.Context; import android.content.res.ColorStateList; import android.text.SpannableString; import android.text.SpannableStringBuilder; import android.text.format.Time; import android.text.style.ForegroundColorSpan; import android.view.View; import android.vi...
package pl.ark.chr.buginator.security.oauth2; import org.springframework.boot.autoconfigure.ImportAutoConfiguration; import org.springframework.boot.web.servlet.FilterRegistrationBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springfram...
package navi.common.connector; import java.io.IOException; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.InetSocketAddress; public class TestDatagramClient { public static void main(String[] args) throws IOException { InetAddress address = InetAddress.getByName("127.0.0.1")...
package com.ar.cmsistemas.dao; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import com.ar.cmsistemas.db.DataSource; import com.ar.cmsistemas.domain.Ciudad; import com.ar.cmsistemas.domain.Tipo...
package net.minecraft.network.play.server; import java.io.IOException; import net.minecraft.entity.Entity; import net.minecraft.network.INetHandler; import net.minecraft.network.Packet; import net.minecraft.network.PacketBuffer; import net.minecraft.network.play.INetHandlerPlayClient; import net.minecraft.world.World;...
/* * UniTime 3.4 - 3.5 (University Timetabling Application) * Copyright (C) 2012 - 2013, UniTime LLC, and individual contributors * as indicated by the @authors tag. * * 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 * ...
package support.yz.data.mvc.service.impl; import java.util.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import support.yz.data.entity.neo4j.Technology; import support.yz.data.entity.node.Group; import support.yz.data.entity.node.News; impo...
package ro.redeul.google.go.inspection; import com.intellij.codeInspection.InspectionManager; import com.intellij.codeInspection.ProblemDescriptor; import com.intellij.codeInspection.QuickFix; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.project.Project; import ro.redeul.google.go.FileDataBas...
package poc.ignite.repos; import org.apache.ignite.springdata.repository.IgniteRepository; import org.apache.ignite.springdata.repository.config.RepositoryConfig; import org.springframework.stereotype.Repository; import poc.ignite.domain.Person; @RepositoryConfig(cacheName = "person-cache") @Repository public interf...
package com.example.rockroku.somkiatbankmobilebanking; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.Spinner; import com.example.rockroku.somkiatbankmobilebanking.common.BaseA...
/** * AboutPanel.java * * Skarpetis Dimitris 2016, all rights reserved. */ package dskarpetis.elibrary.ui.about; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.link.Link; import org.apache.wicket.markup.html.panel.Panel; import dskarpetis.elibrary.ui.authentication.LoginPag...
package com.eres.waiter.waiter.viewpager.model; import android.arch.lifecycle.LiveData; import android.content.Context; import com.eres.waiter.waiter.app.App; import java.util.ArrayList; import io.reactivex.disposables.Disposable; import io.reactivex.functions.Consumer; public class HallLiveData extends LiveData<A...
package lesson29.Ex2; public class Truck extends Automobile { private float tonnage; //trọng tải private String uses; //mục đích sử dụng private String shippedGoods; //số hàng hóa đã vận chuyển public Truck(float tonnage, String uses, String shippedGoods) { this.tonnage = tonnage; t...
package com.example.administrator.localmusicplayerdemo.service; import android.content.Intent; import android.media.session.MediaSession; import android.os.Bundle; import android.os.Handler; import android.os.IBinder; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android...
/* * 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 ...
public interface RunnerDAO extends RunnerReader, RunnerWriter, RunnerConstants { // all methods from the RunnerReader and RunnerWriter interfaces // all static constants from the RunnerConstants interface }
package disc; import java.util.HashMap; import java.util.Map; import util.HttpUtil; public class ContextualElement { private String entityId = null; private String dataType = null; private Standard standard = null; private String attr = null; private String result = null; public ContextualElement(String ent...
package com.codegym.controller; import com.codegym.model.Blog; import com.codegym.service.BlogService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import ...
package com.smxknife.java2.thread.executorservice.demo09; import java.util.concurrent.*; /** * @author smxknife * 2021/5/19 */ public class _Demo09 { public static void main(String[] args) throws InterruptedException { /** * ArrayBlockingQueue 只能有届 * 此时 * - core:2 * - max:4 * - timeout: * - qu...
package com.eberlebill; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Random; public class PercolationSlow { private boolean[][] grid; private int openSiteCount; private static int N; /** * create N-by-N grid, with all sites blocked * * @param n */ public ...
package com.wipro.atm.webdriver.pages; import com.wipro.atm.webdriver.model.User; import com.wipro.atm.webdriver.utils.BaseUtility; import com.wipro.atm.webdriver.utils.WaitForElements; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.openqa.selenium.WebDriver; import org....
/* 内部类定义在局部时: 1.不可以被成员修饰符修饰 2.可以直接访问外部类中的成员,因为还持有外部类中的引用,但是不可以访问它所在的局部中的变量, 只能访问被final修饰的局部变量。 */ class Outer{ int x = 3; void method(int a){ // 现在这么写不报错,之前版本得写成 final int a | a是局部变量,进栈内存,函数结束就释放了 int y = 4; //之前版本这样的话会报错(从内部类中访问局部变量y;需要被声明为最终类型),但是现在版本好像不报错了 // final int y = 4; // new Inner().functio...
package com.puhuilink.orderpay_detect; import com.puhuilink.orderpay_detect.beans.OrderEvent; import com.puhuilink.orderpay_detect.beans.OrderResult; import org.apache.commons.math3.distribution.AbstractMultivariateRealDistribution; import org.apache.flink.cep.CEP; import org.apache.flink.cep.PatternSelectFunction; im...
package fr.pederobien.uhc.commands.configuration.edit.editions; import fr.pederobien.uhc.commands.configuration.edit.EditBaseConfiguration; import fr.pederobien.uhc.commands.configuration.edit.EditBlockedexConfiguration; import fr.pederobien.uhc.commands.configuration.edit.EditHungerGameConfiguration; import fr.pedero...
package com.itfdms.itfdms_mc_service.handler; import com.alibaba.fastjson.JSONObject; import com.itfdms.common.util.mobile.DingTalkMsgTemplate; import com.itfdms.itfdms_mc_service.config.DingTalkPropertiesConfig; import com.xiaoleilu.hutool.http.HttpUtil; import com.xiaoleilu.hutool.util.StrUtil; import lombok.extern....
package com.accp.pub.mapper; import com.accp.pub.pojo.Dareportforms; public interface DareportformsMapper { int deleteByPrimaryKey(Integer darfid); int insert(Dareportforms record); int insertSelective(Dareportforms record); Dareportforms selectByPrimaryKey(Integer darfid); int updateByPrimary...