text stringlengths 10 2.72M |
|---|
package com.spbsu.flamestream.runtime.master.acker.api.registry;
import com.spbsu.flamestream.core.data.meta.GlobalTime;
public class FrontTicket {
private final GlobalTime allowedTimestamp;
public FrontTicket(GlobalTime allowedTimestamp) {
this.allowedTimestamp = allowedTimestamp;
}
public GlobalTime a... |
package com.tencent.mm.plugin.card.b;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.g.a.hz;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.card.model.af;
import com.tencent.mm.plugin.card.model.d;
import com.tencent.mm.plugin.messenger.foundation.a.i;
import com.tencent.mm... |
package com.example.demo.model.repository;
import com.example.demo.model.pojo.Category;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface CategoryRepository extends JpaRepository<Category, Long> {
List<Category> findAllByCategoryName(String name);
}
|
// removing this file lets you run your test and build software with Kafka Streams (but you lose modularity)
module my.awesome.system.under.test {
// removing this line lets you test (but assumes your System Under Test no longer depends on Kafka Streams)
requires kafka.streams;
} |
package cn.springboot.controller;
import cn.springboot.domain.User;
import cn.springboot.mapper.UserMapper;
import com.alibaba.fastjson.JSON;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
i... |
package com.template.base.interfaces;
import android.os.Bundle;
public interface ILifeCycleControl {
/**
* call before set Content layout
*/
void onBeforeSetContentLayout();
/**
* get layout of activity of fragment
*
* @return
*/
int getLayoutId();
/**
* after ... |
package Utils.TableUtils;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Arrays;
import javax.swing.JCheckBoxMenuItem;
import javax.swing.JTable;
import javax.swing.event.TableModelEvent;
import javax.swing.table.TableColumn;
import javax.swing.table.TableColumnModel;
/**
*... |
package com.tencent.mm.plugin.base.stub;
import android.content.Context;
import android.content.Intent;
import android.content.pm.Signature;
import android.os.Bundle;
import com.jg.EType;
import com.jg.JgClassChecked;
import com.tencent.mm.g.a.gt;
import com.tencent.mm.opensdk.constants.ConstantsAPI;
import com.tencen... |
package com.cspcode; // This is the package we are in.
import java.time.LocalDate;
import java.util.Date;
public class Main { // The Main class is the main entry point for any Java program
public static void main(String[] args) { // main is a method in the Main class, it takes an array of Strings[] as arguments(ar... |
package com.ticket.dao;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import com.ticket.util.DBAccess;
public class LoginDao {
ResultSet rs=null;
DBAccess db = new DBAccess();
public ResultSet isRoot(St... |
/**
* Project Name:WebScan
* File Name:DatabaseSourceDriverFactory.java
* Package Name:databasesource
* Date:2014Äê1ÔÂ10ÈÕÉÏÎç1:15:45
* Copyright (c) 2014, hzycaicai@163.com All Rights Reserved.
*
*/
package databasesource;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* ClassName:Datab... |
package itri.io.emulator.experiment;
import itri.io.emulator.cleaner.DefaultFilter;
import itri.io.emulator.cleaner.Filter;
import java.util.LinkedList;
import java.util.List;
import java.util.Observer;
public abstract class GraphExperiment implements Observer {
protected List<Filter> preProcessFilters = new Linke... |
package ru.otus.spring.barsegyan.dto.rest.mappers;
import org.springframework.session.Session;
import ru.otus.spring.barsegyan.dto.rest.response.SessionDto;
import ru.otus.spring.barsegyan.type.SessionDetails;
import ru.otus.spring.barsegyan.util.UTCTimeUtils;
public class SessionDtoMapper {
public static <S exte... |
package com.itractor.activity;
import com.itractor.R;
import com.itractor.thread.CommandThread;
import com.itractor.thread.Connection;
import com.itractor.thread.Status;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.Me... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the te... |
package com.tencent.mm.ui.transmit;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import com.tencent.mm.ui.transmit.MsgRetransmitUI.a;
class MsgRetransmitUI$10 implements OnCancelListener {
final /* synthetic */ a tMV;
final /* synthetic */ MsgRetransmitUI uD... |
package com.docsconsole.tutorials.hibernate5.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ForeignKey;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.pe... |
package com.hcl.dmu.batch.utility.csvtomysql.listener;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.core.BatchStatus;
import org.springframework.batch.core.JobExecution;
import org.springframew... |
package com.micro.filter;
import javax.ws.rs.NameBinding;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@NameBinding
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
... |
package com.serenskye.flickrpaper.fragments;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ListView;
im... |
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.... |
package com.thoughtmechanix.licenses.hystrix;
import com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy;
import com.thoughtmechanix.licenses.util.UserContextHolder;
import lombok.RequiredArgsConstructor;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.Callable;
@RequiredArgsCo... |
package org.processmining.plugins.olapdiscovery.processmining.plugins.olapdiscovery.data;
import org.deckfour.xes.extension.std.XTimeExtension;
import org.deckfour.xes.model.XEvent;
import org.deckfour.xes.model.XLog;
import org.deckfour.xes.model.XTrace;
/**
* The data repository of Time Transformations
*/
public c... |
package com.forsrc.listener;
import com.forsrc.utils.ExportDb;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
/**
* The type Init db listener.
*/
public class InitDbListener implements ServletContextListener {
@Override
public void contextDestroyed(ServletContextEve... |
package com.tencent.mm.plugin.appbrand.appusage;
import com.tencent.mm.sdk.e.e;
import com.tencent.mm.sdk.e.i;
import com.tencent.mm.sdk.platformtools.bi;
public final class d extends i<a> {
public static final String[] dzV = new String[]{i.a(a.dzU, "AppBrandAppLaunchUsernameDuplicateRecord")};
public final e... |
package com.team5.dl;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ExceptionHandler implements Processor {
private static Logger LOGGER = LoggerFactory.getLogger(ExceptionHandler.class);
private Logger logger;
p... |
package br.com.supero.controller;
import java.util.List;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.s... |
package com.example.algorithm.string;
import java.util.Formatter;
/**
* @date 2018/4/4
*/
public class ContainsString {
/**
* 给定两个分别由字母组成的字符串A和字符串B,字符串B的长度比字符串A短。请问,如何最快地判断字符串B中所有字母是否都在字符串A里?
* <p>
* 为了简单起见,我们规定输入的字符串只包含大写英文字母,请实现函数bool StringContains(string &A, string &B)
* <p>
... |
package com.pine.template.demo.old.recyclerview;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.view.View;
import androidx.recyclerview.widget.RecyclerView;
/**
* Created by tanghongfeng on 2017/8/10.
*/
public class SimpleDecoration extends RecyclerVi... |
package cn.wycclub.dto;
/**
* 登录提交表单
*
* @author WuYuchen
* @create 2018-02-16 11:11
**/
public class LoginForm {
protected String username;
protected String password;
protected int autoLoginTime;
public String getUsername() {
return username;
}
public void s... |
package com.xxzp.xxzp.service.distributelock;
import java.util.Collections;
import java.util.Objects;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.TimeUnit;
import javax.annotation.Resource;
import org.apache.commons.collections4.MapUtils;
import org.apache.commons.lang3.StringUtils;
impo... |
public class ep5_11 {
public static void main(String[] args) {
long timeTestStart = System.currentTimeMillis();// 记录开始的时间值
System.out.println("欢迎您!");
long timeTestEnd = System.currentTimeMillis();// 记录结束的时间值
System.out.println("运行时间是:" + (timeTestEnd - timeTestStart));
}
}
|
package beans;
public class Funcionario extends Pessoa {
private int nivel;
private int codigo;
public Funcionario(int nivel, int codigo, String nome, String cpf, int idade, String endereco, String telefone){
super(nome, cpf, idade, endereco, telefone);
this.nivel = nivel;
this.codigo = codigo;
}
publi... |
/*
* 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 sortmetods;
/**
*
* @author ESTUDIANTES
*/
public class Selection {
public static void Seleccion(int[]matri... |
package org.caco.generator.util;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.caco.generator.bean.Column;
import org.caco.generator.bean.Table;
public class MySqlHelper implements D... |
package test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.Assert;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
import tatoctesting.Hris;
import tatoctesting.Timesheet;
public class ... |
package org.spearhead.tinybits.algorythm.binary;
import java.util.*;
public class BinaryTree<T extends Comparable<T>> implements Iterable<T> {
private BinaryIterator<T> binaryIterator = new BinaryIterator<T>() {
@Override
public BinaryIterator<T> primary() {
return new DepthFirstBinaryIterator<>();
}
@Ov... |
package haydende.mongodbdemo.repositories;
import haydende.mongodbdemo.domain.Student;
import org.springframework.data.mongodb.repository.MongoRepository;
import java.util.Optional;
public interface StudentRepository extends MongoRepository<Student, String> {
Optional<Student> findByLastName(String name);
}
|
/*
* Copyright 2017 Sanjin Sehic
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package edu.gatech.cs2340.spacetraders.entity;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/**
* This is an enum of the planet object
*/
public enum Planet {
NABOO ("Naboo", new ArrayList<>(Arrays.asList("Naboo", "Theed")), 61, 66),
HOTH ("Hoth"... |
package com.kush.lib.expressions.evaluators;
import static com.kush.lib.expressions.types.factory.TypedValueFactory.value;
import static com.kush.lib.expressions.utils.ExpressionUtils.getEvaluator;
import static com.kush.lib.expressions.utils.ExpressionUtils.getEvaluatorFactory;
import static com.kush.lib.expressions.... |
package com.tencent.mm.plugin.game.ui;
import com.tencent.mm.bk.a;
import com.tencent.mm.plugin.game.model.ae;
import com.tencent.mm.sdk.platformtools.ah;
class GameDetailUI2$14 implements Runnable {
final /* synthetic */ a jVF;
final /* synthetic */ GameDetailUI2 jXr;
GameDetailUI2$14(GameDetailUI2 game... |
package com.briandorey.projects.abelectronics;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import android.app.Activity;
import android.content.Context;
import android.content.ContextWrapper;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.su... |
package gbernat.flashlight;
import gbernat.flashlight.R;
import android.app.Activity;
import android.os.Bundle;
import android.widget.EditText;
import android.widget.TextView;
public class CopyOfMain extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onC... |
public class InsertingArray {
static int arr[]= {10,20,30,8,90};
int n=3;
int key= 25;
int insert() {
if(arr[3]==key) {
return 1;
}
return 0;
}
public static void main(String[] args) {
InsertingArray ia= new InsertingArray();
ia.insert();
System.out.println(a... |
package concurrent_test;
import java.time.Duration;
import java.time.Instant;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CountDownLatch;
/**
* Description: ConcurrentHashMap同步性能测试
*
* @author Baltan
* @date 2019-05-22 17:07
* @see SynchronizedMapPerformanceTe... |
package com.tencent.mm.app;
import android.app.Application;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.os.Process;
import com.tencent.mm.a.e;
import com.tencent.mm.loader.stub.BaseBuildInfo;
import com.te... |
package br.com.escolar.control;
import java.io.Serializable;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import br.com.escolar.dao.EmpresaDao;
import br.com.escolar.entity.OsvaldoEmpresa;
@ManagedBean
@SessionScoped
public... |
/*
* Copyright 2008 University of California at Berkeley
*
* 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 appl... |
package com.shoppingonline.servlet;
import java.io.IOException;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
... |
package example.eventbus;
import io.vertx.core.Vertx;
import io.vertx.core.VertxOptions;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.eventbus.MessageConsumer;
import io.vertx.core.net.NetServer;
import io.vertx.core.net.NetSocket;
import io.vertx.core.spi.cluster.ClusterManager;
import io.vertx.spi.cluste... |
package com.tencent.mm.plugin.wallet.balance.ui;
import com.tencent.mm.plugin.wallet.balance.ui.WalletBalanceFetchUI.17;
import com.tencent.mm.plugin.wallet_core.model.b;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.ui.base.l;
import com.tencent.mm.ui.base.n.c;
class WalletBalanceFetchUI$17$1 imp... |
package com.lilei.test.BaseActivity;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;
import android.util.Log;
import android.view.MotionEvent;
import a... |
package chapter05;
public class Exercise05_12 {
public static void main(String[] args) {
int number = 0;
while (Math.pow(number, 2) < 12_000) {
number++;
}
System.out.println("The smallest number greater than 12000 is " + number);
}
}
|
package 集合;
import java.util.ArrayList;
/**
* @Author: Mr.M
* @Date: 2019-03-23 16:28
* @Description:
**/
public class ArrayListDemo {
public static void main(String[] args) {
String case1 = "case1";
String case3 = "case3";
String case4 = "case4";
ArrayList<String> list = new ArrayList<String>();
list... |
package controller;
import jdbc.JdbcSkillsDao;
import view.ConsoleDataInput;
import java.io.IOException;
import java.sql.SQLException;
public class SkillController implements GeneralController {
@Override
public void execute() throws IOException, ClassNotFoundException, SQLException {
JdbcSkillsDao... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the te... |
package cn.jxufe.crm.utils;
import cn.jxufe.crm.exceptions.ParamsException;
import cn.jxufe.crm.exceptions.ParamsException;
/**
* 校验类
*
*/
public class AssertUtil {
/**
* 判断条件是否满足
* 如果条件满足,则抛出参数异常
*
*
*
* @param flag
* @param msg
* @return void
*/
public sta... |
package com.example.demostream;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eurek... |
package com.reactnativesmaatoad;
import android.app.Application;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.facebook.react.bridge.Promise;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.faceboo... |
package tech.hobbs.mallparkingmanagementsystem.service.dtos;
import lombok.Data;
import tech.hobbs.mallparkingmanagementsystem.entities.Coordinates;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
@Data
public class OccupyingRequest extends BayRequest{
@NotBlank(messag... |
class Nearby {
private final int[][] multi = new int[][]{
{ 2, 0, 4, 1241, 12, 5, 11, 1110, -42, 424, 1, 12323 },
{ 1, 3, 5, 7 },
{ 321, 320, 32, 3, 41241, -11, -12, -13, -66, -688 }
};
int[] nearby(int x, int y, int range) {
int from = Math.max(y-range,0);
... |
package kh.cocoa.dto;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
public class DeptOrganizationDTO {
String org_nm;
int org_cd;
int p_org_cd;
int level;
@Builder
public DeptOrganizationDTO(String org_nm, int org_cd, int p_org_cd, int level) {
super();... |
package mediator_singleton;
public class Singleton {
private static Singleton bot;
private static String systemMessage;
private Singleton(){
}
public static Singleton getBot() {
if(bot == null) {
bot = new Singleton();
systemMessage = "System Chat Message: Bot added!";
} else {... |
package com.codezjsos.log.service;
import java.util.Date;
import java.util.List;
import java.util.Map;
import com.codezjsos.log.entity.HistoryLogStatistics;
import com.codezjsos.log.entity.HistoryLogStatisticsDto;
public interface IHistoryLogService {
//public Map<String,HistoryLogStatistics> queryDayLog(Map<Stri... |
package com.yixin.dsc.dto.order;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* 风控部分银行准入信息
*
* Package : com.yixin.dsc.entity
*
* @author YixinCapital -- wangxulong
* 2018年6月4日 下午5:42:31
*
*/
public class DscSalesApplyRiskInfoDTO implements Serializable {
private static final long ser... |
package com.scf.skyware.common.util;
public interface AdminLoginCheck
{
public int ID_NOT_FOUND = 0;
public int PASSWORD_MISMATCH = 1;
public int ACCESS_DENIED = 2;
public int LOGIN_SUCCESS = 3;
}
|
package com.dlq.book.controller;
import com.dlq.book.pojo.User;
import com.dlq.book.service.UserService;
import com.dlq.book.service.impl.UserServiceImpl;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRe... |
package com.tencent.mm.plugin.wear.model;
import com.tencent.mm.sdk.platformtools.al.a;
class e$7 implements a {
final /* synthetic */ e pJo;
e$7(e eVar) {
this.pJo = eVar;
}
public final boolean vD() {
a.bSl().pIS.a(new com.tencent.mm.plugin.wear.model.f.a());
return true;
... |
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.*;
// DataCreation class.
// Creates and updates files that store both users' an... |
package jp.noxi.collection;
import javax.annotation.Nullable;
import org.junit.Test;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
@SuppressWarnings("ConstantConditions")
public class AllTest {
@Test
public void testAll() throws Exception {
Iterable<Integer> ite... |
package com.esprit.lyricsplus.adapter;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutIn... |
package receiver;
import com.lmax.disruptor.BlockingWaitStrategy;
import com.lmax.disruptor.RingBuffer;
import com.lmax.disruptor.dsl.Disruptor;
import com.lmax.disruptor.dsl.ProducerType;
import org.apache.commons.lang3.concurrent.BasicThreadFactory;
public class TradeVODisruptor {
private Disruptor<TradeVOMessa... |
package org.timesheet.web;
import java.util.*;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaTy... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* delete.java
*
* Created on Feb 24, 2019, 8:19:08 AM
*/
package traffic_mgmt;
import java.sql.*;
import javax.swing.JOptionPane;
/**
*
* @author HP
*/
public class delete extends javax.swing.JFrame {
/... |
package com.e6soft.activiti.service;
import java.util.Map;
import com.e6soft.activiti.model.NodeTemplate;
import com.e6soft.core.service.BaseService;
public interface NodeTemplateService extends BaseService<NodeTemplate,String> {
public Map<String,NodeTemplate> mapKeyByNodeId(String deploymentId,String formId);
... |
package ats.vann.event;
import lombok.AllArgsConstructor;
import lombok.Getter;
@Getter
@AllArgsConstructor
public class Context {
private final String networkName;
private final int networkLayerIndex;
private final Representation represents;
}
|
package com.example.doubnut.utils;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import javax.inject.Inject;
public class ConnectionSniffer {
Context context;
@Inject
public ConnectionSniffer(Context context) {
this.context =... |
package com.uwetrottmann.trakt5.entities;
public class AccessTokenRequest {
public String grant_type;
public String code;
public String client_id;
public String client_secret;
public String redirect_uri;
public AccessTokenRequest(String code, String client_id, String client_secret, String red... |
package com.cloud.services;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
/**
* Created by liujia on 2017/5/25.
*/
@FeignClient(name ="srv1-server")
public interface Service_info... |
/**
* Internal node subclass
*
* @author Kevin Zhang
* @author Adam Bishop
* @version 1
*/
class InternalNode implements TreeNode {
private KVPair pair1;
private KVPair pair2;
private TreeNode left;
private TreeNode center;
private TreeNode right;
private int count;
/**
* Constr... |
package com.in28min.spring.basics.springin5steps;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.an... |
package br.senai.sp.informatica.listacontato.control;
import android.content.Context;
import android.support.constraint.ConstraintLayout;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.CheckB... |
package com.tencent.mm.plugin.appbrand.jsapi.auth;
import com.tencent.mm.ab.l;
import com.tencent.mm.plugin.appbrand.j.c;
import com.tencent.mm.plugin.appbrand.j.c.a;
import com.tencent.mm.plugin.appbrand.jsapi.auth.JsApiOperateWXData.OperateWXDataTask;
import com.tencent.mm.protocal.c.apa;
import com.tencent.mm.proto... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package unalcol.agents.examples.squares;
import unalcol.agents.Agent;
/**
* @author Jonatan
*/
public class SquaresMain {
public static void main(String[] argv) {
// Reflection
Agent w_agent = ne... |
package com.tencent.mm.plugin.game;
public final class f {
public static final class e {
public static final int ANTI_CLOCKWISE = 2131755206;
public static final int ab_back_btn = 2131755327;
public static final int ab_back_container = 2131755326;
public static final int action0 = ... |
package com.example.expensetracker2020.Database.DAOs;
import androidx.lifecycle.LiveData;
import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.Query;
import androidx.room.Update;
import com.example.expensetracker2020.Database.Entities.Tag;
import java.util.List;
@... |
package minimizeScopeAndLoops;
import java.util.*;
public class MinimizeScopeAndLoops {
enum Suit {CLUB, DIAMOND, HEART, SPADE}
enum Rank {ACE, DEUCE, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN, JACK, QUEEN, KING}
public static void main(String[] args) {
Collection<String> collection = new ... |
package com.demo.other;
/*import util.HttpUtils;*/
import com.Jsoup.BankFinancialProducts;
import com.demo.util.HttpUtils;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.IOException;
import java.util.ArrayList;
import java.... |
package me.Pacman.Tobyo.cmds;
import java.io.IOException;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import me.Pacman.Tobyo.utils.FileManager;
public class CMD_maxcoins implements CommandExecutor ... |
public class Linkedlist {
int val;
Linkedlist prev;
Linkedlist next;
Linkedlist (int value){
val=value;
}
}
|
package com.example.retail.users;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.Optional;
@RestController
@RequestMapping(value = "/api/v1/admin")
public class UsersController {
@Autowired
UsersService usersService;
@G... |
package com.smxknife.springboot.v2.ex03.listener;
import org.springframework.boot.context.event.ApplicationPreparedEvent;
import org.springframework.context.ApplicationListener;
public class MyApplicationPreparedListener implements ApplicationListener<ApplicationPreparedEvent> {
@Override
public void onApplicationE... |
package com.example.device;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.annotation.SuppressLint;
import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorManager;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
i... |
package com.isen.regardecommeilfaitbeau.ui.adapters;
public class Provisoire {
}
|
package piefarmer.immunology.disease;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import... |
import java.util.*;
import java.util.Arrays;
import java.math.BigInteger;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] arr = new int[n];
for (int i = 0; i < arr.length; i++) {
arr[i]... |
package com.eazy.firda.eazy;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class ReserveCar extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_reser... |
package com.uwetrottmann.trakt5.services;
import com.uwetrottmann.trakt5.entities.CalendarMovieEntry;
import com.uwetrottmann.trakt5.entities.CalendarShowEntry;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import java.util.List;
public interface Calendars {
/**
* <b>OAuth R... |
package server;
import common.Card;
import common.Type;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.NoSuchElementException;
import java.util.Random;
import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Class that... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.