text stringlengths 7 1.01M |
|---|
package com.example.fw;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import com.example.tests.ContactData;
import com.example.utils.SortedListOf;
public class PhoneHelper extends WebDriverHelperBase {
p... |
// Targeted by JavaCPP version 1.5.7: DO NOT EDIT THIS FILE
package org.bytedeco.tensorflow;
import org.bytedeco.tensorflow.Allocator;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.tensorfl... |
package org.kodejava.example.jpa;
import org.kodejava.example.jpa.entity.Artist;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
public class GetEntityIdDemo {
public static final String PERSISTENCE_UNIT_NAME = "music";
public stat... |
/*
* Copyright (C) 2015-2017 Level Software LLC.
*
* 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 ... |
/**
* JBoss, Home of Professional Open Source.
* Copyright 2014-2019 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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... |
package com.atguigu.gulimall.ware.service.impl;
import com.alibaba.fastjson.TypeReference;
import com.atguigu.common.utils.R;
import com.atguigu.gulimall.ware.feign.MemberFeignService;
import com.atguigu.gulimall.ware.vo.FareVo;
import com.atguigu.gulimall.ware.vo.MemberAddressVo;
import org.aspectj.weaver.ast.Or;
imp... |
//
// MessagePack for Java
//
// Copyright (C) 2009 - 2013 FURUHASHI Sadayuki
//
// 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-... |
package io.tarantool.driver.core;
import io.tarantool.driver.api.TarantoolClient;
import io.tarantool.driver.api.TarantoolClientConfigurator;
import io.tarantool.driver.api.TarantoolResult;
import io.tarantool.driver.api.proxy.ProxyOperationsMappingConfig;
import io.tarantool.driver.api.retry.RequestRetryPolicyFactory... |
/*
* GeoServer-Manager - Simple Manager Library for GeoServer
*
* Copyright (C) 2007,2012 GeoSolutions S.A.S.
* http://www.geo-solutions.it
*
* 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... |
/**
* Copyright (c) 2011, Jordi Cortadella
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of ... |
/*
* Copyright 2016-2020 The jetcd 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 applicable law or... |
/*
* Copyright (c) 2017 Haulmont
*
* 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 in ... |
package com.sergey.prykhodko.parser.domain;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import javax.persistence.*;
@Data
@ToString
@EqualsAndHashCode
@Entity(name = "transaction")
public class Transaction {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private ... |
package module350packageJava0;
import java.lang.Integer;
public class Foo6 {
Integer int0;
Integer int1;
public void foo0() {
new module350packageJava0.Foo5().foo6();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public void ... |
package io.improbable.keanu.vertices;
import io.improbable.keanu.tensor.bool.BooleanTensor;
import io.improbable.keanu.tensor.dbl.DoubleTensor;
import io.improbable.keanu.testcategory.Slow;
import io.improbable.keanu.vertices.bool.probabilistic.BernoulliVertex;
import io.improbable.keanu.vertices.dbl.KeanuRandom;
impo... |
/*
* Copyright The OpenTelemetry 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 applicable law or a... |
package com.publiccms.logic.service.sys;
import java.util.List;
import org.apache.commons.lang3.ArrayUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.publiccms.comm... |
//Constants Defined Here
public interface IConst
{
//FinalEmployeeFH main
int min_age_to_pay_tax = 18;
//CEmployee1
double basicSal_DA_mul_Metro = 0.5;
double basicSal_DA_mul_N_Metro = 0.4;
double rent_mul = 0.1;
double standard_deduction_Salaried_Pensioner_limit = 40000;
// CEmployee2... |
package org.springframework.boot.actuate.autoconfigure.info;
import org.junit.Test;
import org.springframework.boot.actuate.info.InfoEndpoint;
import org.springframework.boot.autoconfigure.AutoConfigurations;
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
import static org.assertj.co... |
package com.clouddev.androidgenerator.writer;
import java.io.File;
import com.clouddev.androidgenerator.model.Database;
public class DatabaseHelperWriter extends ParentWriter {
public DatabaseHelperWriter(Database database) {
super(database);
}
@Override
protected String getTemplate() {
String template = "... |
/*
* 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 ... |
/*
* Copyright 1999-2019 Alibaba Group Holding Ltd.
*
* 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 applica... |
/**
* 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... |
/*
* Copyright 2013-2019 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 com.fjun.androidjavaweatherlabapp.Yr;
import org.simpleframework.xml.core.Persister;
import org.simpleframework.xml.strategy.TreeStrategy;
import org.simpleframework.xml.strategy.Type;
import org.simpleframework.xml.strategy.Value;
import org.simpleframework.xml.stream.NodeMap;
import java.util.Map;
import j... |
/*
* Copyright (C) 2019 Google Inc.
*
* 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 ... |
/* 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 in writing, software
* distributed... |
/*
* This software is licensed under the Apache 2 license, quoted below.
*
* Copyright (c) 1999-2021, Algorithmx Inc.
*
* 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.a... |
package com.slack.api.bolt.request.builtin;
import com.slack.api.app_backend.views.payload.ViewSubmissionPayload;
import com.slack.api.bolt.context.builtin.ViewSubmissionContext;
import com.slack.api.bolt.request.Request;
import com.slack.api.bolt.request.RequestHeaders;
import com.slack.api.bolt.request.RequestType;
... |
/**
* Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.com)
*
* 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
*
* Unle... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Cognitive Services (formerly Project Oxford): https://www.microsoft.com/cognitive-services
//
// Microsoft Cognitive Services (formerly Project Oxford) GitHub:
// https://github.com/Microsoft/Cognitive-Face-Android
//... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/video/transcoder/v1beta1/services.proto
package com.google.cloud.video.transcoder.v1beta1;
public interface GetJobRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1beta1.GetJobR... |
package org.openxsp.java.session;
/**
* Created by Frank Schulze on 23.05.14.
* frank.schulze at fokus.fraunhofer.de
*/
public enum SessionControlMessageHeaderElement {
IMS_CONTEXT
}
|
interface Bar {
boolean ABC = 2;
}
class BarImpl implements Bar {
{
boolean a = A<caret>zzz;
}
} |
package com.cy.pj.sys.pojo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
@Data
public class SysRole implements Serializable {
private static final long serialVersionUID = -8557710039441592130L;
private Integer id;
private Stri... |
package org.smartregister.domain;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.joda.time.DateTime;
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java... |
/**
* 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... |
/**
* Copyright 2005-2019 Riverside Software
*
* 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... |
package uo270318.mp.tareaS9.dome.model;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import uo270318.mp.tareaS10.dome.exceptions.RepeatedElementException;
public class CdTest {
private Cd cd;
@Before
public void setUp() throws Exception {
cd = new Cd("title1", "art... |
package com.idogs.okhttpdemo.okhttp.listener;
/**
* 业务层处理
*/
public interface DisposeDataListener {
/**
* 请求成功回调事件处理
*/
public void onSuccess(Object responseObj);
/**
* 请求失败回调事件处理
*/
public void onFailure(Object reasonObj);
}
|
package com.socialthingy.plusf.z80.operations;
import com.socialthingy.plusf.z80.ContentionModel;
import com.socialthingy.plusf.z80.Processor;
public class OpRrca extends RotateOperation {
public OpRrca(final Processor processor) {
super(processor);
}
@Override
public void execute(ContentionM... |
package org.springframework.samples.petclinic.trainer;
import java.util.List;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.Repository;
import org.springframework.transaction.annotation.Transactional;
/*
* @spacexjedi
*/
public interface AnimalRepositor... |
package com.mercury.common.utils;
import org.springframework.context.MessageSource;
import com.mercury.common.utils.spring.SpringUtils;
/**
* 获取i18n资源文件
*
* @author Sendy
*/
public class MessageUtils
{
/**
* 根据消息键和参数 获取消息 委托给spring messageSource
*
* @param code 消息键
* @param args 参数
... |
package org.pushingpixels.demo.substance.main.check.svg.filetypes;
import java.awt.*;
import java.awt.geom.*;
import java.awt.image.BufferedImage;
import java.io.*;
import java.lang.ref.WeakReference;
import java.util.Base64;
import java.util.Stack;
import javax.imageio.ImageIO;
import javax.swing.SwingUtilities;
impo... |
package com;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class HttpServletDemo extends HttpServlet {
/**
*
*/
private s... |
/*
* 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 ... |
/*
* Copyright 2016 Crown Copyright
*
* 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... |
/*
* 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 ... |
// package me.dwliu.framework.integration.security.feign.fallback;
//
// import feign.hystrix.FallbackFactory;
// import lombok.extern.slf4j.Slf4j;
// import me.dwliu.framework.common.constant.ServiceConstant;
// import me.dwliu.framework.common.model.Result;
// import me.dwliu.framework.core.security.entity.UserInfoDe... |
package br.com.ihelp.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.conf... |
// Copyright 2018 The Bazel Authors. 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://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... |
/*
* Copyright (c) 2008-2019 Haulmont.
*
* 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 agr... |
/*
* Copyright 2011 LMAX Ltd.
*
* 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 in wri... |
/*
* Copyright (c) 2017 <l_iupeiyu@qq.com> All rights reserved.
*/
package com.geekcattle.mapper.console;
import com.geekcattle.model.console.Menu;
import com.geekcattle.util.CustomerMapper;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Set;
@Service
public interface MenuM... |
package ch.uzh.ifi.hase.soprafs22.rest.dto;
import ch.uzh.ifi.hase.soprafs22.constant.Campus;
import ch.uzh.ifi.hase.soprafs22.entity.SleepEvent;
import java.util.List;
public class PlaceGetDTO {
private int placeId;
private int providerId;
private String name;
private String address;
private Ca... |
package fake.package_4;
public class Foo189 {
public void foo0(){
new Foo188().foo49();
}
public void foo1(){
foo0();
}
public void foo2(){
foo1();
}
public void foo3(){
foo2();
}
public void foo4(){
foo3();
}
public void foo5(){
foo4();
}
public void foo6(){
foo5();
}
public void foo7(){
foo6();
}
public void foo8(){
... |
package launchserver.auth.provider;
import java.io.IOException;
import java.util.Objects;
import launcher.LauncherAPI;
import launcher.helper.VerifyHelper;
import launcher.serialize.config.entry.BlockConfigEntry;
public class DelegateAuthProvider extends AuthProvider {
private volatile AuthProvider delegate;
... |
package br.com.zup.proposal.resources.analysis;
import javax.validation.constraints.NotBlank;
public class AnalysisResourceRequest {
@NotBlank
String documento;
@NotBlank
String nome;
@NotBlank
String idProposta;
public AnalysisResourceRequest (
@NotBlank String documento ,... |
/*
* Copyright 2012-2020 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 com.stackroute.config;
import com.stackroute.domain.Paragraph;
import org.apache.kafka.clients.producer.ProducerConfig;
import org.apache.kafka.common.serialization.StringSerializer;
import org.json.simple.JSONObject;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annota... |
package org.firstinspires.ftc.teamcode.Opmodes;
import com.acmerobotics.dashboard.FtcDashboard;
import com.acmerobotics.dashboard.telemetry.MultipleTelemetry;
import com.disnodeteam.dogecv.detectors.skystone.SkystoneDetector;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.ev... |
package com.reminder_keeper.activities;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.MenuItem;
import com.reminder_keeper.R;
import com.reminder_keeper.views.ToolbarView;
public class AboutActivity extends AppCompatActivity {... |
package edu.pku.intellimerge.model.node;
import com.github.javaparser.Range;
import edu.pku.intellimerge.model.SemanticNode;
import edu.pku.intellimerge.model.constant.NodeType;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
public class TerminalNode extends SemanticNode {
private S... |
/*
* JsonModelGen - Model Generation from JSON Schema
*
* Copyright (c) 2015-2016 Marco Hutter - http://www.javagl.de
*
* 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
... |
/**
* An implementation of the lazy Prim's algorithm with an adjacency matrix
* which upon visiting a new node adds all the edges to the min priority
* queue and also removes already seen edges when polling.
*
* Time Complexity: O(V^2)
*
* @author William Fiset, william.alexandre.fiset@gmail.com
**/
package co... |
package com.ethanco.mvvm_bridge_anno;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Created by YOLANDA on 2016-01-21.
*/
@Retention(RetentionPolicy.SOURCE)
//@Target(ElementType.METHOD)
public @interface MVVM {
Class value();
// Class View();
//
// Class Vi... |
/*
* MIT License
*
* Copyright (c) 2018 Ensar Sarajčić
*
* 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, m... |
package org.bigbio.pgatk.pepgenome.io;
import org.bigbio.pgatk.pepgenome.common.FastaEntry;
import org.bigbio.pgatk.pepgenome.common.Utils;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.Serializable;
/**
* This fastaparser reads fasta files. it will convert inp... |
/*
* Copyright 2012-2016 Nathan Freitas
* Copyright 2015 str4d
*
* 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 ... |
/*
* Copyright (C) 2012 Facebook, Inc.
*
* 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 ... |
/**
* Copyright (c) 2011 Michael Kutschke.
* 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
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Mich... |
/*
* Copyright 2013 JBoss Inc
*
* 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 i... |
package com.dolphpire.api.action.igaccount.addAccount;
public class LinkIGAccountAction
{
private LinkIGAccount mLinkIGAccount;
public LinkIGAccountAction() {
this.mLinkIGAccount = new LinkIGAccount();
}
public LinkIGAccountAction withIGID(long name) {
this.mLinkIGAccount.setIGID(Str... |
package org.albianj.persistence.object;
public interface IRunningStorageAttribute {
IStorageAttribute getStorageAttribute();
void setStorageAttribute(IStorageAttribute sa);
String getDatabase();
void setDatabase(String database);
}
|
package io.contek.invoker.binancespot.api.websocket.market;
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import io.contek.invoker.binancespot.api.websocket.common.WebSocketCommandConfirmation;
import io.contek.invoker.commons.websocket.AnyWebSocketMessage;
import ... |
package Java_Array_String;
/**
Program to find the highest mark in 6 subject.
*/
import java.util.Scanner;
import java.util.Arrays;
public class highestMark
{
public static int highestM()
{
Scanner SC= new Scanner(System.in);
int [] marks = new int[6];
System.out.println("Enter the marks:");
fo... |
/*
* Copyright (c) 2018, DThompson
* All rights reserved.
*
* Licensed under: Creative Commons Attribution-NonCommercial 4.0 International Public License
* See LICENSE.TXT included with this code to read the full license agreement.
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
*... |
package org.apache.helix.integration.messaging;
/*
* 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 Apa... |
package liquibase.integration.commandline;
import liquibase.*;
import liquibase.change.CheckSum;
import liquibase.changelog.ChangeLogParameters;
import liquibase.changelog.visitor.ChangeExecListener;
import liquibase.command.AbstractSelfConfiguratingCommand;
import liquibase.command.CommandFactory;
import liquibase.co... |
package edu.pdx.cs410J.di;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.logging.Logger;
/**
* Logs all calls to the rest services
*/
@Singleton
public class RestLoggingFilter i... |
/*
* Copyright (c) Fundacion Jala. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/
package org.fundacionjala.enforce.sonarqube.apex.api.grammar.buildersource;
import org.sonar.sslr.grammar.LexerfulGrammarBuilder;
import static org.fundaci... |
package com.honeybee.service;
import java.util.List;
import com.honeybee.domain.Criteria;
import com.honeybee.domain.EnrollListVO;
import com.honeybee.domain.MeetVO;
import com.honeybee.domain.ThumbVO;
public interface MeetService {
public void register(MeetVO meet); //게시물 등록
public MeetVO get(Long mno); //게시물 읽... |
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.sql.*;
import static org.apache.spark.sql.functions.col;
public class SparkSql {
public static void main(String[] args){
//创建一个基本的SparkSession,它是使用所有Spark SQL功能的入口点
SparkSession spark = SparkSession
.builder()
... |
package com.vaadin.flow;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.remote.DesiredCapabilities;
import com.vaadin.flow.testutil.ChromeBrowserTest;
import com.vaadin.testbench.parallel.BrowserUtil;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest... |
/*
* 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 ... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.josephgritchen.songsofworship;
import android.content.Intent;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.WindowMana... |
package derpibooru.derpy.ui.adapters;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import java.util.List;
public abstract class RecyclerViewPaginationAdapter<TItem, TViewHolder extends RecyclerView.ViewHolder>
extends RecyclerView.Adapter<TViewHolder> {
private List<TIte... |
package edu.utexas.tacc.tapis.shared.notifications;
public enum NotificationLevel {
INFO,
WARNING,
ERROR
}
|
/*
* 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 ... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* 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 app... |
/**
*
* @author kmcgerald (at) myrobotlab.org
*
* This file is part of MyRobotLab (http://myrobotlab.org).
*
* MyRobotLab 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 version 2 of the... |
/**
* 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 org.innovateuk.ifs.application.controller;
import org.innovateuk.ifs.BaseControllerIntegrationTest;
import org.innovateuk.ifs.application.domain.Application;
import org.innovateuk.ifs.application.repository.ApplicationRepository;
import org.innovateuk.ifs.application.resource.ApplicationCountSummaryPageResourc... |
/* Java program to push zeroes to back of array */
import
java.io.*;
class
PushZero
{
// Function which pushes all zeros to end of an array.
static
void
pushZerosToEnd(
int
arr[],
int
n)
{
int
count =
0
;
// Count of non-zero elements
// Traverse the array. If element encountered is
// non-zero, the... |
package com.demo;
import android.app.Application;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
import com.facebook.soloader.SoLoader;
import java.util.Arrays;
import java.util.List;
pu... |
/*
* 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 in writing, software
* distributed u... |
package equipment;
import sprite.Player;
public class T2SpeedRing extends Item {
public T2SpeedRing(Player player) {
super(player, "src/Rings/T2SpdRing.png", "ring", true);
speed = 8;
equipItem();
}
public String getInfo() {
return "Increases Max Speed \nof Character by 8)";
}
}
|
package cat.nyaa.infiniteinfernal.loot;
import cat.nyaa.nyaacore.configuration.ISerializable;
import org.bukkit.inventory.ItemStack;
public interface ILootItem extends ISerializable {
ItemStack getItemStack();
String getName();
String toNbt();
int getWeight(int level);
boolean isDynamic();
voi... |
package com.kowaisugoi.game.graphics;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
/**
* A transition is a type of animation which plays between rooms
* At some point during the animation, it fires a callback which triggers a room change
*/
public interf... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.