text stringlengths 10 2.72M |
|---|
package network.nerve.swap.db;
import io.nuls.core.crypto.HexUtil;
import io.nuls.core.rockdb.manager.RocksDBManager;
import io.nuls.core.rockdb.model.Entry;
import network.nerve.swap.model.po.FarmPoolPO;
import network.nerve.swap.utils.SwapDBUtil;
import java.util.List;
/**
* @author Niels
*/
public class FarmSto... |
package com.online.web;
import java.io.IOException;
import java.io.PrintWriter;
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 com.online.dao.E... |
package com.icanit.app_v2.entity;
// default package
import java.util.List;
/**
* AppMerchantType entity. @author MyEclipse Persistence Tools
*/
public class AppMerchantType implements java.io.Serializable {
// Fields
public int id,parentId;
public String typeName,pic;
public List<AppMerchantType> subTypeLis... |
package items;
import board.blockingobject.Player;
import util.parameters.PlayerEventParameter;
public class FlagObserver implements ItemObserver {
private Flag flag;
/**
* Creates a new FlagObserver
* @param flag The flag to observe
*
* @throws IllegalArgumentException
* when the ... |
package com.wangzhu.service;
/**
* Created by wang.zhu on 2020-09-05 14:59.
**/
public interface IAllUserService extends IUserService {
}
|
package webuters.com.geet_uttarakhand20aprilpro.activity;
import android.Manifest;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Int... |
/*
* Can a static method be overridden? No.
* Instance methods could be overridden, but not class method.
* overriding is about runtime, how the methods are dynamically selected.
* so which overridden method is selected depends on the acutal instance.
*
*/
package Inheritance;
/**
*
* @author YN... |
/**********************************************************************
Copyright (c) 2014 Baris ERGUN and others. All rights reserved.
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://ww... |
/*
* Copyright 2002-2023 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 vista.Proveedores;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
import javax.swing.WindowConstants;
import controlador.*;
public class FormAltaProveedor extends java... |
package com.osteching.litemongo;
public final class Operator {
private Operator() {
}
public static final String EQ = "=";
public static final String GT = "$gt";
public static final String LT = "$lt";
}
|
package business.model;
public interface CompTime {
public double calcularPreco(int hours);
}
|
/**
* 香港理工大学-中国科学院研究生院数据挖掘-PageRank算法实现
* @author chaoyu
* @right Copyright by PolyU team
* @github https://github.com/yuchao86/pagerank.git
* @date 2012-10-18
*/
package polyu.gucas.rawPagerank.UnitTest;
/**
* Tutorial 05: "Inverted File Indexing"
* compile and run with :
* WordUtil,MyHtmlTextHandl... |
package cn.edu.pku.residents.schedule;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.text.Simple... |
package cat_tests.appmanager;
import com.codeborne.selenide.Selenide;
public class TargetingHelper extends HelperBase {
public TargetingHelper(Selenide driver) {
super(driver);
}
public void setShowNever() {
click(getMarketEntityPage().show_never);
}
}
|
package com.cxc.viewanimationdemo;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.Button;
public class MainActivity extends AppCompatAc... |
package de.cuuky.varo.version;
public enum BukkitVersion {
ONE_7(7),
ONE_8(8),
ONE_9(9),
ONE_10__ONE_11(10, 11),
ONE_12(12),
ONE_13__ONE__14(13, 14);
private int[] identifier;
private BukkitVersion(int... identifier) {
this.identifier = identifier;
}
public int[] getIdentifier() {
r... |
package com.git.cloud.vmrc.dao;
import com.git.cloud.common.dao.CommonDAOImpl;
import com.git.cloud.vmrc.model.po.VmrcPo;
/**
* @ClassName: VmrcDao
* @Description: vmware remote console dao
* @author WangJingxin
* @date 2016年6月27日 下午2:22:02
*
*/
public class VmrcDao extends CommonDAOImpl {
/**
... |
package com.esum.web.apps.dbc.controller;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMa... |
package InternetTest;
import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetAddress;
import java.net.ServerSocket;
import java.net.Socket;
/**
* 实现TCP的网络编程
* 例子1:客户端发送信息给服务端,服务端将数据显示在控制台上
*/
public class... |
package com.hjc.java_common_tools;
/**
* <pre>
* jstack输出的结果是:
*
* "Thread-0" prio=6 tid=0x0000000006735800 nid=0x1be0 waiting on condition [0x0000000006faf000]
* java.lang.Thread.State: TIMED_WAITING (sleeping)
* at java.lang.Thread.sleep(Native Method)
* at com.hjc.java_common_tools.Thread... |
package ru.job4j.web;
import java.util.concurrent.ConcurrentHashMap;
import javax.servlet.http.HttpServletRequest;
import org.mockito.Mockito;
import org.mockito.invocation.InvocationOnMock;
import org.mockito.stubbing.Answer;
/**
* Класс AttributeStorage реалиует сущность Хранилище атрибутов.
*
* @author... |
/*
* Created by Angel Leon (@gubatron), Alden Torres (aldenml)
* Copyright (c) 2011-2014, FrostWire(R). All rights reserved.
*
* 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, either versio... |
/*
* ProcesoCuadreCifrasSessionBean.java
*
* Created on 25/09/2007, 09:32:24 AM
*
* Babel Ver :1.0
*/
package com.davivienda.sara.procesos.reintegros.filtro.host.session;
import com.davivienda.sara.procesos.reintegros.servicio.ReintegrosProcesosServicio;
import com.davivienda.sara.procesos.reintegros.servic... |
package com.example.tallers13_eco;
import androidx.annotation.NonNull;
public class User {
public String id;
public String name, telephone, email, password;
public User() {
}
public User(String id, String name, String telephone, String email, String password) {
this.id = id;
thi... |
package in.msmartpay.agent.rechargeBillPay;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.text.InputFilter;
import android.view.View;
import android.widget.AdapterView;
import android.... |
package com.mingrisoft;
public class Test {
public static void main(String[] args) {
Employee employee = new Employee(); //创建Employee对象
System.out.println(employee.getInfo()); //输出Employee对象的getInfo()方法返回值
Manager manager = new Manager(); //创建Manager对象
System.out.println(manager.get... |
package io.dcbn.backend.core;
import com.fasterxml.jackson.core.JsonProcessingException;
import de.fraunhofer.iosb.iad.maritime.datamodel.Vessel;
import io.dcbn.backend.core.activemq.Producer;
import io.dcbn.backend.datamodel.Outcome;
import io.dcbn.backend.inference.InferenceManager;
import org.springframework.beans.... |
/**
*/
package iso20022.impl;
import java.lang.String;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.... |
/*
* 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... |
import java.awt.*;
public enum FeatureCategory {
BUS("Bus", Color.RED),
TRAIN("Train", Color.GREEN),
UNDERGROUND("Underground", Color.BLUE),
NONE("None", Color.BLACK);
private final String name;
private final Color color;
FeatureCategory(String name, Color color) {
this.name = nam... |
/**
* Copyright (C) 2006-2019 Talend Inc. - www.talend.com
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless requi... |
/**
* Copyright (C), 1995-2018, XXX有限公司
* FileName: ErrorInfo
* Author: wens.
* Date: 2018/6/4 下午7:46
* Description: 错误通用传输类
* History:
* <author> <time> <version> <desc>
* 作者姓名 修改时间 版本号 描述
*/
package com.phantom.dto;
/**
* 〈一句话功能简述〉<br>
* 〈... |
package bzh.pluvio.pluvioServer.repo;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import bzh.pluvio.pluvioServer.model.Relevepluie;
@Repository
public interface LastValueRepository extends CrudRepo... |
package com.git.cloud.handler.automation;
/**
* Link路由的枚举定义
*
* 该枚举定义了Link路由字段编码
*/
public enum LinkRouteType {
DATACENTER_QUEUE_IDEN("DATACENTER_QUEUE_IDEN"), /** <数据中心路由标识 */
RESOURCE_CLASS("RESOURCE_CLASS"), /** < 资源类型 */
;
private final String value;
private LinkRouteType(String value) {
... |
package behavioral.visitor;
/**
* @author Renat Kaitmazov
*/
public final class ShoppingCartVisitor implements Visitor {
/*--------------------------------------------------------*/
/* Instance variables
/*--------------------------------------------------------*/
private double totalPrice;
/... |
package com.mediafire.sdk.api.responses;
/**
* Created by Chris on 5/18/2015.
*/
public class UploadAddWebUploadResponse extends ApiResponse {
private String upload_key;
public String getUploadKey() {
return upload_key;
}
}
|
package com.hhdb.csadmin.plugin.table_open;
import java.awt.Color;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.... |
package com.gaoshin.onsalelocal.osl.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import common.db.entity.DbEntity;
@Entity
@Table
@XmlRootElement
public class UserInterest extends DbEntity {
@Column(nullabl... |
package com.java.jwt.api.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "USER_TBL", uniqueConstraints = @UniqueConstraint(columnNames={"email"}))
public class User {
@Id... |
// File: SortedList.java
//
// Author: Rahul Simha
// Created: Sept 29, 1998
//
// Sorted linked list.
abstract class ComparableObject {
public abstract int compare (ComparableObject c);
}
class ListItem {
ComparableObject data = null;
ListItem next = null;
// Constructor.
public ListItem (... |
package com.concurrent.features;
import cucumber.junit.Cucumber;
import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
@Cucumber.Options(format={"html:target/cucumber"})
public class RunTests {
}
|
package com.mining.power.list.adapter;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.example.administrator.mining.R;
import butterknife.BindView;
/**
* Created by yushuangping o... |
package cn.com.signheart.component.core.core.dao.impl;
import cn.com.signheart.common.platformbase.BaseDAOImpl;
import cn.com.signheart.component.core.core.dao.IPlatFormCfgDao;
import cn.com.signheart.component.core.core.model.TbPlatFormConfig;
import org.springframework.stereotype.Repository;
import java.sql.SQLExce... |
/*******************************************************************************
* Copyright (c) 2012, Eka Heksanov Lie
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistribution... |
package com.roundarch.entity;
import com.annconia.api.entity.AbstractEntity;
public class UserEntity extends AbstractEntity {
}
|
import java.sql.*;
public class Main {
public static void main(String[] args) throws SQLException, ClassNotFoundException {
String userName = "max";
String password = "Tdutybq19911991";
String URL = "jdbc:mysql://localhost:3306/Lessons?serverTimezone=UTC&useSSL=false";
// Class.forNa... |
package io.github.lburgazzoli.examples;
import javax.enterprise.context.ApplicationScoped;
import org.apache.camel.builder.RouteBuilder;
@ApplicationScoped
public class ApplicationRoutes extends RouteBuilder {
@Override
public void configure() throws Exception {
from("timer:conf")
.log("{... |
public class Banana extends Weapon{
private int damage, speed;
private double xMovement, yMovement;
public Banana(String imagePath, int xPos, int yPos, int width, int height) {
super(imagePath, xPos, yPos, width, height);
xMovement = 0;
yMovement = 0;
}
}
|
package wawi.datenhaltung.bestellungverwaltungs.impl;
import java.math.BigDecimal;
import java.sql.Date;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.EntityManager;
import org.junit.After;
import org.junit.AfterCl... |
package com.hoanganhtuan95ptit.awesomekeyboard;
/**
* Created by HOANG ANH TUAN on 7/5/2017.
*/
public interface Keyboard {
void hideAllKeyboard();
void showKeyboard(KeyboardType type);
void updateSticker();
}
|
/*
* Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.stdext.attr;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import pl.edu.icm.unity.types.basic.Attribute;
import pl.edu.icm.unity.... |
package com.esum.common.client;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.esum.common.soappull.message.PullSoapElement;
import com.esum.router.status.PullQueryResponseBuilder;
import com.esum.router.status.SftpQueryResponseBuilder;
public class MessageReadRequester {
... |
open module modmain { // allow reflective access, currently used in the example_jerry-mouse
requires modcommon;
}
|
package com.algo.webshop.common.domainimpl;
import java.util.List;
import com.algo.webshop.common.domain.GoodsList;
import com.algo.webshop.common.domain.Position;
public interface IOrderGood {
public void addGoodList(GoodsList goods, int numberOfOrder);
public List<Position> getGoodList(int orderId);
}
|
package com.auro.scholr.core.application.di.module;
import com.auro.scholr.core.application.AuroApp;
import com.auro.scholr.core.common.AppConstant;
import com.auro.scholr.core.network.URLConstant;
import com.auro.scholr.util.DeviceUtil;
import com.google.gson.FieldNamingPolicy;
import com.google.gson.Gson;
import c... |
package Teatrus.client;
import Teatrus.model.User;
import Teatrus.services.ITeatrusObserver;
import Teatrus.services.TeatrusException;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Alert;
import javafx.scen... |
/*
* Copyright 2002-2021 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 pl.basistam.shop;
import java.util.LinkedHashMap;
import java.util.Map;
public class Basket {
private Map<String, Integer> products = new LinkedHashMap<>();
public void add(String product, int quantity) {
if (products.containsKey(product)) {
Integer oldQuantity = products.get(prod... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int pm,pn;
pm = in.nextInt();
pn = in.nextInt();
// System.out.println(isPrime(pm));
int flag = 1; // 换行flag
int pi = 1;
for(i... |
package com.smartlead.common.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "tbl_lead_stage")
public class LeadStage {
@Id
@Column(name = "lead_stage_id")
private int stageId;
@Column(name =... |
package com.example.mainuddin.icab12;
/**
* Created by mainuddin on 5/22/2017.
*/
public class passenger implements user {
private String name;
private String trips;
private String comment;
private String rating;
passenger(){
}
passenger(String name,String trips, String comment ,Stri... |
package gherkin.steps;
import cucumber.api.java.en.Given;
import presz.bddtdd.tests.java.model.Context;
public class GestionDesVirementsGivenStep {
private Context context;
public GestionDesVirementsGivenStep(Context ctx) {
this.context = ctx;
}
@Given("j'ai un compte cheque avec un solde d... |
package GoogleTests;
import libs.WebElements;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import pages.GoogleMainPage;
import java.io.File;
import java.util.concurrent.TimeUnit;
... |
package com.example.gabrielm.appalunos.Controller.Activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.location.Address;
import android.location.Geocoder;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCom... |
package edu.jak.dummymailers.sb.delegate.mail.impl;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import edu.jak.dummymailers.converter.MailConverter;
import edu.jak.dummymailers.model.eb.Mail;
import edu.jak.dummymailers.model.pojo.MailResponse;
import edu.jak.dummymailers.sb.dao.crud.MailFacadeLocal;
import edu... |
package com.company;
import java.util.Random;
public class Main {
public static void main(String[] args) {
Human human = new Human("Marat", 11);
Human human1 = new Human("Marat", 32);
Human human2 = new Human("Marat", 19);
Human human3 = new Human("Marat", 17);
Human human4 = new Human("Marat", 78);
... |
package com.github.cukedoctor.util;
import org.apache.maven.shared.utils.io.DirectoryScanner;
import org.apache.maven.shared.utils.io.FileUtils;
import org.apache.maven.shared.utils.io.IOUtil;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Paths;
import java.util.Arr... |
package com.example.anujj.attendence.Event;
import android.app.DatePickerDialog;
import android.app.TimePickerDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.widget.DatePicker;
... |
package com.icanit.app_v2.fragment;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.SpannableString;
import android.text.style.AbsoluteSizeSpan;
import android.text.style.BackgroundColorSpan;
import android.text.style.ForegroundColorSpan;
im... |
package com.example.demo2.strategy;
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import com.example.demo2.strategy.MessageService;
@Component("messageService")
public class MessageServiceContext {
... |
package com.genuinelygreen.management.controller;
import com.genuinelygreen.management.domain.Employee;
import com.genuinelygreen.management.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity... |
package org.apache.hadoop.hdfs.server.namenode.persistance.context.entity;
import java.util.*;
import org.apache.hadoop.hdfs.server.namenode.CounterType;
import org.apache.hadoop.hdfs.server.namenode.FinderType;
import org.apache.hadoop.hdfs.server.namenode.Lease;
import org.apache.hadoop.hdfs.server.namenode.persista... |
/**
*
*/
package com.kaishengit.Utils;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import org.apache.commons.dbutils.QueryRunner;
import com.kaishengit.exception.DateException;
/**
* @ClassName: ConnectionManager
* @Description: 创建连接
* @author: 刘忠伟
* @date: 2016年11... |
package com.tinygame.cmdhandler;
import com.tinygame.msg.GameMsgProtocol;
import com.tinygame.rank.RankItem;
import com.tinygame.rank.RankService;
import io.netty.channel.ChannelHandlerContext;
import java.util.Collections;
public class GetRankCmdHadler implements ICmdHandler<GameMsgProtocol.GetRankCmd> {
@Overri... |
package Domain;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
/**
* Created by Emma on 8/11/2018.
*/
public class Admin
{
//Admin
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long AdminID;
private Stri... |
package com.org.base;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
@Data
public class CurrentMenu {
@ApiModelProperty(value = "Id")
private String id;
@ApiModelProperty(value = "菜单名")
private String name;
@ApiModelProperty(value = "父Id")
privat... |
package labrom.litlbro;
import java.io.FileOutputStream;
import labrom.litlbro.browser.BrowserClient;
import labrom.litlbro.browser.BrowserSettings;
import labrom.litlbro.browser.ChromeClient;
import labrom.litlbro.browser.ChromeClient.PagePublisher;
import labrom.litlbro.browser.NavFlags;
import labrom.litlbro.brows... |
package com.knu.medifree;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
impor... |
package tony.hortalizas;
import android.content.Context;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.ListViewCompat;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import java.l... |
package com.beike.common.entity.trx;
/**
* @Title: SendType.java
* @Package com.beike.common.entity.trx
* @Description: 凭证发送类型
* @date 3 11, 2012 4:58:40 PM
* @author wh.cheng
* @version v1.0
*/
public enum SendType {
SMS, EMAIL, BOTH;
}
|
package controllers.chorbi;
import java.util.Collection;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.util.Assert;
import org.springframework.validation.BindingResult;
import org.... |
package com.dtstack.logstash.inputs;
public interface IKafkaChg {
/**
* 某个topic对应的分区发生变化,或者消耗的客户端数量发生变化
* @param topicName
* @param consumers
* @param partitions
*/
public void onInfoChgTrigger(String topicName, int consumers, int partitions);
/**
* kafka集群挂掉
*/
public void onClusterShutDown();
... |
package Servlets;
import Utils.*;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Date;
import javax.servlet.RequestDispatcher;
import javax.ser... |
package com.esum.cluster.module;
import java.io.Serializable;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.ObjectMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.esum.cluster.table.ClusterInfoRecord;
import com.esum.framework.common.util.SysUtil;
import com.e... |
package scut218.pisces.utils.impl;
import android.util.Log;
import java.util.List;
import scut218.pisces.Constants;
import scut218.pisces.beans.Friend;
import scut218.pisces.beans.Moment;
import scut218.pisces.beans.User;
import scut218.pisces.factory.UtilFactory;
import scut218.pisces.network.ClientProtoAnalyze;
im... |
/*
* Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.stdext.credential;
import pl.edu.icm.unity.Constants;
import pl.edu.icm.unity.exceptions.IllegalCredentialException;
import pl.edu.icm.unity.exceptions.InternalExcept... |
package com.pattern.program.mycode;
public class Pattern10{
public static void main(String[] args) {
int input=5;
for(int row=1;row<=5;row++){
for(int data=1;data<=5; data++){
if(row==3||data==3) {
System.out.print(input);
}
else {
System.out.print(" ");
}
}
System... |
package com.sinodynamic.hkgta.service.fms;
import java.util.List;
import com.sinodynamic.hkgta.dto.fms.FacilityUtilizationRateListDto;
import com.sinodynamic.hkgta.entity.fms.FacilityUtilizationRateTime;
import com.sinodynamic.hkgta.service.IServiceBase;
public interface FacilityUtilizationRateTimeService extends IS... |
package rally;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component
public class Teams {
... |
package com.culturaloffers.maps.repositories;
import com.culturaloffers.maps.model.OfferNews;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.L... |
package example.awarnessapi;
import android.content.DialogInterface;
import android.content.pm.PackageManager;
import android.location.Location;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.RequiresPermission;
import ... |
package kr.waytech.attendancecheck_beacon.activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.view.KeyEvent;
... |
package no.nav.vedtak.felles.integrasjon.felles.ws;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.jupiter.api.Test;
import no.nav.vedtak.log.mdc.MDCOperations;
class MDCOperationsTest {
public static final String DUMMY_FNR = "00000000000";
@Test
void test_generateCallId() ... |
package templatemethod2;
/**
*
*
* GraduateAdvising extinde clasa Advising.
* Un obiect creat folosind clasa GraduateAdvising poate fi folosit
* oriunde un obiect Advising este folosit.
*
*/
public class GraduateAdvising extends Advising {
/**
*
* Pentru acest pas al proecsul... |
/**
*/
package org.eclipse.pss.dsl.metamodel.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
impo... |
package com.cb.cbfunny.fragment;
import android.os.Bundle;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.android.volley.VolleyError;
import com.cb.cbfunny.R;
import com.cb.cbfunny.ResideMenu.ResideMenu;
import com.cb.c... |
package ru.job4j.crud.models;
import java.util.concurrent.CopyOnWriteArrayList;
/**
* @author Sir-Hedgehog (mailto:quaresma_08@mail.ru)
* @version 1.0
* @since 18.02.2020
*/
public class MemoryStore implements Store {
private CopyOnWriteArrayList<User> users;
private static MemoryStore memoryInstance = ... |
package br.com.amaro.demo.repositories;
import br.com.amaro.demo.entities.SimilarProduct;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import java.util... |
package com.egswebapp.egsweb.repasotory;
import com.egswebapp.egsweb.model.UserToken;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import java.util.Optional;
@Repository
@Deprecated
public interf... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.