text stringlengths 7 1.01M |
|---|
package com.twitter.finagle;
import com.twitter.finagle.builder.ClientBuilder;
import com.twitter.finagle.client.StackClient;
import com.twitter.finagle.mux.FailureDetector;
import com.twitter.finagle.mux.FailureDetectors;
import com.twitter.util.Duration;
public class StackParameterCompilationTest {
void testParam... |
/*
Copyright 2013 by Sean Luke
Licensed under the Academic Free License version 3.0
See the file "LICENSE" for more information
*/
package ec.eval;
import ec.util.*;
import ec.simple.*;
import ec.*;
import java.io.*;
import ec.vector.*;
import java.util.*;
/*
* MetaProblem.java
*
* Cr... |
/*
* Copyright 2015,2019 agwlvssainokuni
*
* 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 com.isxcode.star.plugin.response;
import com.isxcode.star.common.response.StarResponse;
import lombok.Getter;
import lombok.Setter;
public class SuccessException extends RuntimeException {
@Setter
@Getter
private StarResponse baseResponse;
public SuccessException(StarResponse baseResponse) {... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* 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, cop... |
package com.Exercicios.exerciciciossemana11.model;
import com.sun.istack.NotNull;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.*;
import javax.validation.constraints.NotBlank;
import java.time.LocalDate;
@Getter
@Setter
@Entity
@Table(name = "produtos")
public class Produto {
@Id
@Ge... |
/*-
* #%L
* JDBC Persistence
* %%
* Copyright (C) 2005 - 2020 Daniel Sagenschneider
* %%
* 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/LICEN... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 运营任务精确查询
*
* @author auto create
* @since 1.0, 2022-04-27 16:48:48
*/
public class DatadigitalFincloudFinsaasOperationtaskQueryModel extends AlipayObject {
private static final long serialV... |
package exercisetwo.firstscreen.body;
import exercisetwo.firstscreen.model.BodyOutput;
import exercisetwo.firstscreen.utils.ExerciseUtils;
import exercisetwo.secondscreen.SecondScreenView;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import ja... |
package io.netopen.hotbitmapgg.ringprogressbar;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Toast;
import io.netopen.hotbitmapgg.library.view.RingProgressBar;
public class MainActivity extends AppCompatActivity {
private RingProgress... |
package com.github.mmin18.realtimeblurview.sample;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
/**
* Created by mmin18 on 9/21/16.
*/
public class MyListAdapter extend... |
package net.minecraft.block;
import java.util.Optional;
import java.util.Random;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.BlockItemUseContext;
import net.minecraft.particles.ParticleTypes;
import net.minecraft.util.DamageSource;
import net.minecraft... |
package lee.code.code_647__Palindromic_Substrings;
import java.util.*;
import lee.util.*;
/**
*
*
* 647.Palindromic Substrings
*
* difficulty: Medium
* @see https://leetcode.com/problems/palindromic-substrings/description/
* @see description_647.md
* @Similiar Topics
* -->Dynamic Programming https://leetcode.... |
package dev.penguinz.Sylk.assets.options;
import dev.penguinz.Sylk.ui.font.Font;
public class FontOptions extends AssetOptions<Font> {
public int resolution = 2048;
public int charRange = 96;
public int overSampling = 1;
/**
* Sets the resolution for the generated bitmap file made from the font... |
/*
* Copyright 2016-present Open Networking Laboratory
*
* 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 appli... |
package group.Macsed.TankBattle.Scene.portable.main;
import group.Macsed.TankBattle.Scene.portable.Base.GameDataManager;
import group.Macsed.TankBattle.Scene.portable.extension.HomeView.HomAction;
import group.Macsed.TankBattle.Scene.portable.extension.HomeView.HomKey;
import group.Macsed.TankBattle.Scene.portable.ext... |
/**
* 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"); yo... |
/*
* Copyright (c) 2007-2009, Dennis M. Sosnoski. 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 cond... |
package com.panwallet.presenter.entities;
/**
* BreadWallet
* <p/>
* Created by Mihail Gutan <mihail@breadwallet.com> on 11/19/15.
* Copyright (c) 2016 breadwallet LLC
* <p/>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the... |
/*
* Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com>
*/
package scala.compat.java8;
import scala.runtime.BoxedUnit;
@FunctionalInterface
public interface JProcedure17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17> extends JFunction17<T1, T2, T3, T4, T5, T6, T7, T8, T9,... |
package org.fbme.scenes.controllers.components;
class ComponentExtEntry<CompT, CompExtT, FormT> {
final CompExtT myComponentExt;
final CompT myComponent;
final ComponentEntry<CompT, FormT> myComponentEntry;
final ComponentExtController<FormT> myController;
ComponentExtEntry(ComponentsExtensionsF... |
/**
*
*/
package org.lamport.tla.toolbox.editor.basic.handlers;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.commands.IHandler;
import org.eclipse.jface.dialogs.MessageDialog;
... |
/*
* Copyright 2015 Open Networking Laboratory
*
* 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 la... |
package org.fortiss.smg.ems.api;
import org.fortiss.smg.ambulance.api.HealthCheck;
import java.util.concurrent.TimeoutException;
public interface EmsInterface extends HealthCheck {
String doSomething(String arg) throws TimeoutException;
}
|
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
/**
*/
package eclassxmlschemaheader_2_0Simplified.util;
import java.util.Map;
import org.eclipse.emf.common.util.Diagnostic;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.EObj... |
/*
* Copyright 2018 JDCLOUD.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
*
* Unless required by applicable law or agreed to in... |
package org.openapitools.api;
import org.openapitools.model.*;
import org.openapitools.api.LibsApiService;
import io.swagger.annotations.ApiParam;
import io.swagger.jaxrs.*;
import java.io.File;
import org.openapitools.model.TruststoreInfo;
import java.util.Map;
import java.util.List;
import org.openapitools.api.No... |
import it.sauronsoftware.jave.AudioAttributes;
import it.sauronsoftware.jave.Encoder;
import it.sauronsoftware.jave.EncodingAttributes;
import javax.media.Manager;
import javax.media.Player;
import java.io.*;
import java.net.URL;
public class MP3Converter {
Player testPlayer;
URL testURL;
File convertedW... |
/*
* Copyright 2017-2022 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... |
/*
The MIT License (MIT)
Copyright (c) 2019 Pierre Lindenbaum
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, me... |
package io.deephaven.db.v2.sources;
import io.deephaven.db.v2.sources.chunk.SharedContext;
import io.deephaven.db.v2.sources.chunk.WritableChunk;
import io.deephaven.db.v2.sources.chunk.WritableLongChunk;
import io.deephaven.db.v2.sources.chunk.util.chunkfillers.ChunkFiller;
import io.deephaven.db.v2.utils.OrderedKeys... |
package com.springboot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import de.codecentric.boot.admin.server.config.EnableAdminServer;
@SpringBootApplication
@EnableAdminServ... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 刷脸搜索结果
*
* @author auto create
* @since 1.0, 2018-11-13 20:47:09
*/
public class FaceSearchResult extends AlipayObject {
private static final long serialVersionUID = 8617773384... |
package com.dianping.agentsdk.framework;
import android.view.View;
/**
* Created by hezhi on 16/8/3.
*/
public interface ItemClickInterface {
public void setOnItemClickListener(OnItemClickListener listener);
public OnItemClickListener getOnItemClickListener();
public interface OnItemClickListener {
... |
/*******************************************************************************
* Copyright 2015 ShopGun
*
* 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/li... |
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* 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 agre... |
/**
* Copyright (c) Vogler Engineering GmbH. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license information.
*/
package de.vogler_engineering.smartdevicesapp.model.entities.tabs;
import lombok.Data;
@Data
public class TabSortEntry {
private String key;
pri... |
/*
* Copyright 2020 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package com.idogs.laosiji.core.http.covert;
import com.idogs.laosiji.core.http.vo.LocalResponse;
import io.reactivex.Single;
import io.reactivex.functions.Function;
/**
* <b>类名称:</b> LocalResponseFunc <br/>
* <b>类描述:</b> <br/>
* <b>创建人:</b> Lincoln <br/>
* <b>修改人:</b> Lincoln <br/>
* <b>修改时间:</b> 16-9-26 下午3:1... |
package com.naughtyzombie.boilerplate.springreactboilerplate.model;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
@Entity
@Table(name = "book")
@Data
@NoArgsConstructor
public class Book {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
pri... |
/*
* 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 org.firstinspires.ftc.teamcode19.Tests;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.util.ElapsedTime;
import org.firstinspires.ftc.teamcode19.BaseAuto;
import org.firstinspires.ftc.robotcore.external.matrices.OpenGLMatrix;
import org.firstinspires.ftc.robotcore.external.matr... |
package org.openintents.filemanager.dialogs;
import org.openintents.filemanager.util.UIUtils;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import com.dm.oifilemgr.R;
public class OverwriteFi... |
/*
* Copyright 2009 Denys Pavlov, Igor Azarnyi
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... |
/*
* Copyright 2020 Netflix, 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 ... |
package com.twasyl.slideshowfx.hosting.connector.dropbox.activator;
import com.twasyl.slideshowfx.hosting.connector.IHostingConnector;
import com.twasyl.slideshowfx.hosting.connector.dropbox.DropboxHostingConnector;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import java.util.H... |
class Solution {
public boolean XXX(TreeNode root) {
return is(root,root);
}
public boolean is(TreeNode rootLeft,TreeNode rootRight){
if(rootRight==null&&rootLeft==null){//如果都为空,那么就是真
return true;
}
if(rootLeft==null||rootRight==null){//如果一个为空一个不是空,返回假
... |
package net.codetojoy;
import java.util.*;
class OldBusinessLogic implements BusinessLogic {
// Don't try this at home (or work!)
// This is a hideous straw-man and only serves to contrast some points
// against streams.
public List<String> uglyReport(List<Donut> donuts, int priceThreshold, int numD... |
package com.zhy.magicviewpager.transformer;
import android.view.View;
/**
* 旋转切换视图
* Created by tao on 2016/10/28.
*/
/***
* Viewpager 先会实例化上界面
*/
public class ScaleDownTransform extends BasePageTransformer {
public int DEFAULT_RATOTE = 45;
public float GRIENT_CENTER = 0.5f;
@Override
protected... |
/*
* © Copyright IBM Corp. 2013
*
* 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 ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE601_Open_Redirect__Servlet_connect_tcp_10.java
Label Definition File: CWE601_Open_Redirect__Servlet.label.xml
Template File: sources-sink-10.tmpl.java
*/
/*
* @description
* CWE: 601 Open Redirect
* BadSource: connect_tcp Read data using an outbound tcp connectio... |
package com.robotzero.game;
import com.robotzero.dataStructure.AssetPool;
import com.robotzero.dataStructure.Tuple;
import com.robotzero.dataStructure.maze.Cells;
import com.robotzero.dataStructure.maze.Constants;
import com.robotzero.dataStructure.maze.MapDrawer;
import com.robotzero.dataStructure.maze.MazeController... |
/*
* Copyright 2020 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 applica... |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... |
package net.natroutter.minicore.handlers.Database.tables;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import java.util.UUID;
@DatabaseTable(tableName = "PlayerData")
public class PlayerData {
@DatabaseField(canBeNull = false, id = true)
UUID uuid;
@Database... |
package oriedita.editor.task;
import org.tinylog.Logger;
import oriedita.editor.canvas.CreasePattern_Worker;
import oriedita.editor.databinding.CanvasModel;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
pu... |
package no.unit.nva.bare;
import static no.unit.nva.bare.ApplicationConfig.defaultRestObjectMapper;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import nva.commons.core.ioutils.IoUtils;
import org.junit.jupiter.ap... |
/*
Copyright 2018 Samsung SDS
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, sof... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/kms/v1/service.proto
package com.google.cloud.kms.v1;
public interface GetCryptoKeyRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.GetCryptoKeyRequest)
com.google.protobuf.MessageOrBu... |
/*
Copyright (C) 2010-2015 The Open University
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 org.atlasapi.remotesite.amazon;
import java.util.Set;
import java.util.regex.Pattern;
import java.util.stream.StreamSupport;
import com.metabroadcast.common.stream.MoreCollectors;
import com.google.common.base.Splitter;
import com.google.common.collect.ImmutableSet;
import org.joda.time.DateTimeZone;
import ... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * Copyright (C) 2011 The Guava 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... |
/**
* Copyright 2009-2016 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
*
* Unle... |
package ru.gavrilov.test_framework.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface After {
}
|
package net.minecraft.util.datafix.versions;
import com.mojang.datafixers.DSL;
import com.mojang.datafixers.schemas.Schema;
import com.mojang.datafixers.types.templates.TypeTemplate;
import java.util.Map;
import java.util.function.Supplier;
import net.minecraft.util.datafix.NamespacedSchema;
import net.minecraft.util.... |
package tests.other;
import java.io.IOException;
import nl.esciencecenter.medim.dicom.DicomUtil;
import nl.esciencecenter.ptk.GlobalProperties;
import org.dcm4che2.data.DicomObject;
import org.dcm4che2.data.Tag;
import org.dcm4che2.data.VR;
public class Test_DicomUtil_ReadWrite
{
public static void main(String... |
package com.alibaba.datax.app.pojo;
/**
* <p>
* description
* </p>
*
* @author isaac 2020/12/25 17:17
* @since 1.0.0
*/
public class DataxJobExecutor {
/**
* datax的jobid
*/
private Long jobId;
/**
* job名称
*/
private String jobName;
/**
* 执行此job的datax节点的ip
*/
... |
package org.csanchez.aws.glacier;
/**
* Custom exception class for Glacier CLI
*/
public class GlacierCliException extends RuntimeException {
public GlacierCliException(String message) {
super(message);
}
}
|
/*
* Copyright 2002-2017 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... |
/*******************************************************************************
* Copyright (c) 2013 IBM Corp.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which accompany t... |
package main.java.designpattern.publishersubscriber;
public class Test {
public static void main(String[] args) {
AbstractPublisher publisher = new ConcretePublisher();
AbstractSubscriber subscriber1 = new ConcreteSubcriber("X","X");
AbstractSubscriber subscriber2 = new ConcreteSubcriber("Y... |
/*
* Copyright 2011 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 codigofonte.model.emails;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import javafx.scene.control.Alert;
import javax.mail.Folder;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.NoSuchProviderException;
import javax.mail.Sessio... |
package vip.mate.core.ide.annotation;
import vip.mate.core.ide.enums.IdeTypeEnum;
import java.lang.annotation.*;
/**
* @author pangu
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Ide {
/**
* 关键key
* key是本次请求中参数的键,
* 重复请求的key取自header中的rid
* 用来标识这个请求的唯一性
... |
package com.dw.leetcode;
import java.util.HashMap;
//@example: Leetcode - 565. Array Nesting - https://leetcode.com/problems/array-nesting/#/description
public class Array_Nesting_565 {
HashMap<Integer, Integer> finalResult = new HashMap<Integer, Integer>();
public int maxNest(int[] nums,int index) {
int resu... |
package building.expressions.main.functions;
import static building.types.specific.FlagType.FINAL;
import static runtime.natives.SystemFunctions.callSystemFunc;
import static runtime.natives.SystemFunctions.getSystemFunction;
import java.util.Arrays;
import java.util.List;
import building.expressions.abstractions.in... |
package org.springframework.security.oauth2.client.endpoint;
import java.util.Set;
import org.springframework.security.oauth2.client.registration.ClientRegistration;
import org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse;
/**
* An implementation of a {@link ReactiveOAuth2AccessTokenRespo... |
package com.epam.jdi.bdd.stepdefs;
import com.epam.jdi.light.ui.html.elements.common.DateTimeSelector;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import static com.epam.jdi.light.elements.init.entities.collection.EntitiesCollection.getUI;
/**
* Created by Roman Iovlev on 26.09.2019
* Email... |
/*
* 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 Familiar;
/**
*
* @author invited
*
*/
public class hija extends Familiar{
}
|
package org.apache.maven.doxia;
/*
* 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, Ver... |
package cellsociety.grid;
import cellsociety.cells.Neighbors;
import org.w3c.dom.Node;
import java.io.IOException;
import java.util.Map;
import java.util.HashMap;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
/**
* Rea... |
/*-------------------------------------------------------------------------+
| |
| Copyright (c) 2005-2017 The ConQAT Project |
| |
| Licensed u... |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.idea.svn.rollback;
import com.intellij.openapi.util.Comparing;
import com.intellij.openapi.util.Couple;
import com.intellij.openapi.util.Pair;
import com.in... |
/*
* 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 2019 Red Hat, Inc. and/or its affiliates.
*
* 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... |
/**
* Autogenerated by Thrift Compiler (0.13.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.hive.service.rpc.thrift;
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)")
public enum TProtocolVersion implements org.apache.thr... |
package com.qa.ims.persistence.domain;
import java.util.ArrayList;
public class Order extends Item {
private Long order_id;
private int customer_id;
// Array List storing all items they want in that order
private ArrayList<Integer> basket = new ArrayList<Integer>();
public Order(Long order_id, int customer_id... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * 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 ... |
package studentinfo;
import info.Course;
public class Test {
public static void main(String[] args) {
Student st=new Student("a","b","c");
System.out.println("fname: "+st.fname);
System.out.println("fname: "+st.lname);
System.out.println("fname: "+st.mname);
Address ad=st.getAddress();
System.out.... |
package com.aimatus.bakingapp.widget;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.widget.RemoteViews;
import com.aimatus.bakingapp.R;
import com.aimatus.baking... |
package cat.yoink.yoinkhack.mixin.mixins.mixin;
import cat.yoink.yoinkhack.mixin.mixins.accessor.ISPacketEntityVelocity;
import net.minecraft.network.play.server.SPacketEntityVelocity;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
/**
* @author yoink
* @since 8/28/2020
*/
@Mi... |
package com.fangdd.tp.doclet.analyser.rest;
import com.fangdd.tp.doclet.DocletConfig;
import com.fangdd.tp.doclet.constant.DocletConstant;
import com.fangdd.tp.doclet.constant.EntityConstant;
import com.fangdd.tp.doclet.constant.SpringMvcConstant;
import com.fangdd.tp.doclet.enums.ApiTypeEnum;
import com.fangdd.tp.doc... |
/*
* Copyright 2002-2014 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 requ... |
package org.embulk.filter.expand_json;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Throwables;
import com.google.common.collect.ImmutableList;
import com.google.c... |
package org.bf2.operator.operands;
import io.fabric8.kubernetes.api.model.Service;
import io.fabric8.kubernetes.api.model.apps.Deployment;
import io.fabric8.kubernetes.client.server.mock.KubernetesServer;
import io.quarkus.test.common.QuarkusTestResource;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.tes... |
package L3_ComparableBook;
import java.util.Arrays;
import java.util.List;
public class Book implements Comparable<Book> {
private String title;
private int year;
private List<String> authors;
public Book(String title, int year, String... authors) {
this.setTitle(title);
this.setYear... |
package com.crepepepe.message.datatype;
import com.crepepepe.util.ByteParser;
public class TxIn {
private OutPoint previous_output;
private int script_length;
private String signature_script;
private int sequence;
public TxIn (byte[] bytes) {
ByteParser parser = new ByteParser(bytes);
... |
package com.ric.midflutter;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import com.midtrans.sdk.corekit.callback.CardTokenCallback;
import com.midtrans.sdk.corekit.core.MidtransSDK;
import com.midtrans.sdk.corekit.core.SdkCoreFlowBuilder;
import... |
package com.alibaba.json.bvt.bug;
import java.nio.charset.Charset;
import java.util.HashMap;
import java.util.Map;
import org.junit.Assert;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.parser.Feature;
import com.alibaba.fastjson.parser.ParserConfig;
import junit.framework.TestCase;
public class Is... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.