text stringlengths 7 995k |
|---|
/**
* Copyright 2010-2014 Axel Fontaine
*
* 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 o... |
/**
* Copyright (C) 2013-2014 EaseMob Technologies. 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 requi... |
package org.baade.rat.core.structure.tree;
public class TestClassModel {
private String name;
private String packageName;
public TestClassModel(String name, String packageName) {
this.name = name;
this.packageName = packageName;
}
public String getName() {
return name;
... |
package com.github.codingricky.marvel.parameter;
public enum EventsOrderBy {
NAME_ASC("name"),
START_DATE_ASC("startDate"),
MODIFIED_ASC("modified"),
NAME_DESC("-name"),
START_DATE_DESC("-startDate"),
MODIFIED_DESC("-modified"),;
private final String string;
private EventsOrderBy(Stri... |
/**
* On the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* (c) 2020 grzegorz.bylica@gmail.com
*/
package org.gb.gate_keeper;
import android.content.Context;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import ... |
package com.github.dreamhead.moco.resource.reader;
import com.github.dreamhead.moco.HttpRequest;
import com.github.dreamhead.moco.Request;
import com.github.dreamhead.moco.model.MessageContent;
import com.google.common.net.MediaType;
import java.nio.charset.Charset;
import java.util.function.Function;
public class X... |
package com.company;
public class Poprawa extends Kolokwium{
public Poprawa (int data){
super(data);
}
public void testPoprawki(){
System.out.println("Poprawka: " + this.jakiStres() + " " + this.jakiPozTrud() );
}
/**
* Sprawdza czy student ma przypisany termin pop... |
/**
* 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 com.devsuperior.dsmovie.services;
import com.devsuperior.dsmovie.entities.User;
import com.devsuperior.dsmovie.repositories.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transaction... |
package org.qiunet.entity2table.utils;
import org.qiunet.entity2table.annotation.InitData;
import java.io.File;
import java.io.FileFilter;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.net.URISyntaxException;
import java.net.URL;
import java.nio.file.Director... |
package io.hyperfoil.tools.yaup.json;
import io.hyperfoil.tools.yaup.json.graaljs.JsException;
import io.hyperfoil.tools.yaup.json.graaljs.JsonProxyArray;
import io.hyperfoil.tools.yaup.json.graaljs.JsonProxyObject;
import org.graalvm.polyglot.Value;
public class ValueConverter {
public static Object convert(Valu... |
/*
* 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 The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.instrumentation.rabbitmq;
import io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesGetter;
import io.opentelemetry.semconv.trace.attributes.SemanticAttributes;
import ja... |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... |
package com.learn.message; |
package com.ftpix.sparknnotation.annotations;
import com.ftpix.sparknnotation.defaultvalue.DefaultBodyTransformer;
import com.ftpix.sparknnotation.interfaces.BodyTransformer;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.a... |
/*
* Copyright 2014-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package net.avicus.magma.api.graph.types.base.punishment_arguments;
public interface PunishmentsArgumentsDefinition {
void define(PunishmentsArguments args);
} |
package com.example.library.dimpopupwindow;
import android.content.Context;
import android.view.Gravity;
import com.example.library.R;
/**
* Created by Niklaus on 2017/9/19.
*/
abstract class AbstractBottomSheetPopWindow extends AbstractSheetPopWindow {
protected AbstractBottomSheetPopWindow(Context context)... |
package cn.hutool.json;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.date.TemporalAccessorUtil;
import cn.hutool.core.util.CharUtil;
import cn.hutool.core.util.NumberUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import java.io.IOE... |
package com.viewpagerindicator.sample;
import android.os.Bundle;
import android.support.v4.view.ViewPager;
import com.viewpagerindicator.UnderlinePageIndicator;
public class SampleUnderlinesDefault extends BaseSampleActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCre... |
package com.anuragandroid.popularmovies;
import android.app.Fragment;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.GridView;
import an... |
package org.elpis.reactive.websockets.config.model;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import org.elpis.reactive.websockets.config.registry.WebSocketSessionInfo;
import org.springframework.web.reactive.socket.CloseStatus;
@Builder
@Getter
@Setter
public class ClientSessionCloseInfo {
... |
/*
* Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.pricer.impl.option;
import static com.opengamma.strata.collect.TestHelper.assertThrowsIllegalArg;
import static org.testng.Assert.assertEquals;
import j... |
package stormedpanda.simplyjetpacks.config;
import java.util.HashMap;
import java.util.Map;
public class JetpackConfigDefaults {
private static final Map<String, JetpackConfigDefaults> DEFAULTS = new HashMap<>();
//public final Section section;
// Base
public int energyCapacity;
public int e... |
package ApolloRescue.tools.convexhull;
import java.awt.Point;
import java.awt.Polygon;
import java.awt.geom.Line2D;
import java.awt.geom.Point2D;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import rescuecore2.worldmodel.EntityID;
import rescuecore2.standard.entities.Area;
//import apollo.... |
// Copyright 2019 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 in ... |
package me.desht.modularrouters.logic.compiled;
import me.desht.modularrouters.block.tile.TileEntityItemRouter;
import me.desht.modularrouters.item.module.TargetedModule;
import me.desht.modularrouters.logic.ModuleTarget;
import net.minecraft.item.ItemStack;
import java.util.Collections;
import java.util.List;
publi... |
/*
* Copyright 2015 Chidiebere Okwudire.
*
* 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 ... |
package org.sakaiproject.gradebookng.business.model;
import java.io.Serializable;
import lombok.Data;
/**
* Created by chmaurer on 1/27/15.
*/
@Data
public class ProcessedGradeItemDetail implements Serializable {
private String studentEid;
private String studentUuid;
private String grade;
private String comme... |
package org.spoofax.terms.skeleton;
import java.io.IOException;
import java.util.Iterator;
import org.spoofax.interpreter.terms.IStrategoAppl;
import org.spoofax.interpreter.terms.IStrategoList;
import org.spoofax.interpreter.terms.IStrategoTerm;
import org.spoofax.interpreter.terms.ITermPrinter;
import org.spoofax.... |
package fr.redfroggy.ilg.client.openapi.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import fr.redfroggy.ilg.client.openapi.model.ConformityRiskItem2;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.Api... |
package com.mcjty.wastify;
import com.mojang.brigadier.CommandDispatcher;
import net.minecraft.command.CommandSource;
import net.minecraft.command.Commands;
import net.minecraft.world.gen.GenerationStage;
import net.minecraftforge.event.RegisterCommandsEvent;
import net.minecraftforge.event.world.BiomeLoadingEvent;
im... |
/*
* 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 repeticaofor;
/**
*
* @author Guilherme Estudos
*/
public class RepeticaoFor {
/**
* @param args the command line... |
package com.example.expensetracker;
import androidx.appcompat.app.AppCompatActivity;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.preference.... |
// --------------------------------------------------------------------------------
// Copyright 2002-2021 Echo Three, 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:/... |
package com.dfsek.paralithic.functions.dynamic;
public interface Context {
} |
package javax.websocket;
import java.io.IOException;
import java.io.OutputStream;
import java.io.Writer;
import java.nio.ByteBuffer;
import java.util.concurrent.Future;
public interface RemoteEndpoint {
interface Async extends RemoteEndpoint {
/**
* Obtain the timeout (in milliseconds) for sen... |
package awsutil.dynamodb.tabledefinition;
import java.lang.reflect.Field;
public enum EFieldType {
STRING, INTEGER, BOOLEAN, EMBEDDED, ARRAY_LIST, SET, PARTITION_KEY;
} |
package pw.mihou.akari.websocket.listeners;
import io.javalin.websocket.WsMessageContext;
import pw.mihou.akari.websocket.facade.AkariWebsocket;
public interface AkariWebsocketListener {
/**
* Executed whenever the connection received has a type that
* matches the message.
*
* @param connecti... |
package edu.fiuba.algo3.modelo.validadores;
import edu.fiuba.algo3.modelo.opciones.Opcion;
import java.util.List;
public class ValidadorOpcionesMultiples implements ValidadorDeOpciones {
private int cantidadSolucionesMinima;
private int cantidadSolucionesMaxima;
public ValidadorOpcionesMultiples(int ca... |
/*
* Copyright © 2016, Turing Technologies, an unincorporated organisation of Wynne Plaga
* Modifications Copyright(C) 2016 Fred Grott(GrottWorkShop)
*
* 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 ... |
package com.kelin.countdownviewdemo;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import com.kelin.countdownview.CountDownView;
public class MainActivity extends AppCompatActivity {
private CountDownView cdView1;
private CountDownView cdView2;
priv... |
/*
* 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 ... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Lachlan Dowding
*
* 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 u... |
package com.sygt.common.core.text;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
import java.text.NumberFormat;
import java.util.Set;
import com.sygt.common.utils.StringUtils;
import org.apache.commons.lang3.ArrayUtils;
/***********************... |
/*
* 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 com.pxene.odin.cloud.web.api;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
/**
* Created on 2017/9/21.
*/
@... |
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 ... |
/*
* Copyright 2015 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 a... |
package com.alyer.common.xss;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
/**
* XSS过滤
* @author zhangshengbo
* @email 669434283@qq.com
* @date 2017-04-01 10:20
*/
public class XssFilter implements Filter {
@Override
public void init(FilterConfig config) th... |
package com.code.SimpleandCompoundInterest;
import java.util.Scanner;
public class App
{
public static void main(String[] args)
{
SimpleandCompoundInterest test =new SimpleandCompoundInterest();
Scanner sc=new Scanner(System.in);
double principal=sc.nextDouble();
double rate=sc.n... |
/*
* This file is part of the HyperGraphDB source distribution. This is copyrighted
* software. For permitted uses, licensing options and redistribution, please see
* the LicensingInformation file at the root level of the distribution.
*
* Copyright (c) 2005-2010 Kobrix Software, Inc. 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 applicable law or agreed to in writing, software
* distribut... |
/*
* Created on Oct 15, 2006
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package biomight.chemistry.pharma.antiviral;
/**
* @author SurferJim
*
* To change the template for this generated type comment go to
* Window>Pre... |
package de.ovolynets.discussiontree.persistence;
import static org.junit.Assert.*;
import org.junit.Test;
import de.ovolynets.discussiontree.persistence.impl.DatabaseServiceImpl;
public class DatabaseServiceTest {
private final DatabaseService databaseService = new DatabaseServiceImpl();
@Test
public ... |
/*
* Copyright 2014 Sorcersoft.com S.A.
*
* 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... |
/*
* Copyright (C) 2017 Dirk Lemmermann Software & Consulting (dlsc.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
*
... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
package fi.tkgwf.ruuvi.bean;
import java.util.List;
import org.apache.commons.lang3.ArrayUtils;
/**
* Parsed data from hcidump
*/
public class HCIData {
public Integer packetType;
public Integer eventCode;
public Integer packetLength;
public Integer subEvent;
public Integer numberOfReports;
... |
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: ... |
/**
* Copyright 2015 DuraSpace, 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 agree... |
package gov.usgs.wma.wqp.validation;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.ArgumentMatchers.isNull;
import static org.mockito.Mockito.verify;
import static or... |
package ru.my.pack.addressbook.test;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import ru.my.pack.addressbook.model.GroupData;
import ru.my.pack.addressbook.model.Groups;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.MatcherAssert.*;
public class G... |
package online.himakeit.qrcodekit.model;
/**
* @author:LiXueLong
* @date:2018/3/9
* @mail1:skylarklxlong@outlook.com
* @mail2:li_xuelong@126.com
* @des:
*/
public class AppUpdateInfo {
/**
* {
* "binary": {
* "fsize": 5217206
* },
* "build": "1",
* "changelog": "修复部分不可见BUG;
... |
/*
* Copyright Debezium Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.debezium.time;
import java.time.LocalDate;
import java.time.temporal.TemporalAdjuster;
import org.apache.kafka.connect.data.Schema;
import org.apache.k... |
/*
* Autopsy Forensic Browser
*
* Copyright 2011 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://ww... |
package com.ctrip.xpipe.redis.core;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.net.InetSocketAddress;
import java.net.URL;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
impo... |
package com.ctrip.framework.apollo.tracer;
import com.ctrip.framework.apollo.tracer.internals.NullMessageProducerManager;
import com.ctrip.framework.apollo.tracer.spi.MessageProducer;
import com.ctrip.framework.apollo.tracer.spi.MessageProducerManager;
import com.ctrip.framework.apollo.tracer.spi.Transaction;
import c... |
/*******************************************************************************
* Copyright (c) 2019 Sierra Wireless and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* and Eclipse Distribution License v1.0 whi... |
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE
package org.bytedeco.onnx;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.onnx.global.onnx.*;
// namespace internal
// Interfac... |
/*
* Copyright 2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
package org.blockchainnative.ethereum.test.integrationtest;
import org.blockchainnative.ethereum.transactions.Ethereum;
import org.blockchainnative.ethereum.transactions.EthereumBlock;
import org.blockchainnative.ethereum.transactions.EthereumTransaction;
import org.blockchainnative.ethereum.transactions.EthereumTrans... |
package kr.jclab.javautils.asymsecurefile.internal.jasf3;
import kr.jclab.javautils.asymsecurefile.internal.deprecated.Chunk;
public class RawUserChunk extends Chunk {
public RawUserChunk(byte primaryType, short userCode, short dataSize, byte[] data) {
super(primaryType, userCode, dataSize, data);
}
... |
package br.com.rentaloffice.model.entities;
import br.com.rentaloffice.application.resources.jpa.PersistListener;
import br.com.rentaloffice.application.resources.jpa.JPALocalDateTimeConverter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.... |
/*
* Copyright 2015 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 ... |
package bobo.algo;
// 我们的PrintableMaxHeap只能处理整数信息,所以继承的是MaxHeap<Comparable<Integer>>
public class PrintableMaxHeap extends MaxHeap<Comparable<Integer>>{
public PrintableMaxHeap(int capacity){
super(capacity);
}
// 以树状打印整个堆结构
public void treePrint(){
if( size() >= 100 ){
S... |
package com.wm.spider;
import com.wm.mapper.TodaySpiderDispatcher;
import com.wm.po.SpiderFruit;
import com.wm.service.Const;
import com.wm.service.RespondBoot;
import com.wm.utils.DownloadsUtils;
import com.wm.utils.FastIOUtils;
import com.wm.utils.ToDayRichTextUtils;
import com.wm.utils.ToDayTextUtils;
import org.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 may ... |
/*
* Copyright 2014 Midokura SARL
*
* 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 t... |
/*
* 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 com.beautytiger.tao;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.openfeign.EnableFeignClients;
@EnableFeignClients(basePackages = {"com.be... |
/* Programa: EntradaComBufferedReader
Função: Aplicativo que mostra exemplos de entrada de dados com BufferedReader
Data: 23/05/2014 - Autor: Edkallenn - Observações: Java 7 - ED - p. 44
*/
import java.io.*;
public class EntradaComBufferedReader {
public static void main(String args[]) {
String s = "";
... |
package uk.oczadly.karl.csgsi.state;
import org.junit.Test;
import java.util.Optional;
import static org.junit.Assert.*;
public class GameStateTest extends GameStateBaseTest {
/* Component tests are performed in their individual test classes. */
@Test
public void testEmpty() {
Gam... |
/*
* Copyright 2019-2020 47 Degrees Open Source <https://www.47deg.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 ... |
/* Generic definitions */
/* Assertions (useful to generate conditional code) */
/* Current type and class (and size, if applicable) */
/* Value methods */
/* Interfaces (keys) */
/* Interfaces (values) */
/* Abstract implementations (keys) */
/* Abstract implementations (values) */
/* Static containers (keys) */
/... |
/*
* Copyright 2013-2018 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 io.github.doocs.im.model.request;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.github.doocs.im.model.message.TIMMsgElement;
import java.util.List;
/**
* 在群组中发送普通消息-请求参数
*
* @author hyh
* @since 2021/08/02 16:46
*/
@JsonInclude(JsonI... |
/*
* Copyright 2015 Austin Keener, Michael Ritter, Florian Spieß, and the JDA contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... |
/*
* Copyright 2002-2018 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... |
/**
* JBoss, Home of Professional Open Source.
* Copyright 2014-2018 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.xd.pre.modules.sys.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xd.pre.modules.sys.domain.SysDept;
/**
* <p>
* 部门管理 Mapper 接口
* </p>
*
* @author lihaodong
* @since 2019-04-21
*/
public interface SysDeptMapper extends BaseMapper<SysDept> {
} |
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
package org.jetbrains.dekaf.jdbc;
import org.jetbrains.dekaf.assertions.PatternAssert;
import org.junit.Test;
import static org.jetbrains.dekaf.jdbc.ExasolIntermediateProvider.EXASOL_CONNECTION_STRING_EXAMPLE;
import static org.jetbrains.dekaf.jdbc.ExasolIntermediateProvider.EXASOL_CONNECTION_STRING_PATTERN;
publi... |
package com.alipay.api.request;
import com.alipay.api.domain.ZhimaCreditEpSceneAgreementUseModel;
import java.util.Map;
import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.ZhimaCreditEpSceneAgreementUseResponse;
import com.alipay.api.AlipayObject;
/*... |
/*
* Copyright 2016-2020 The OpenTracing 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 2019 XEBIALABS
*
* 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, merge, publish, distribute, ... |
package javasemesterproject.Student;
import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javasemesterproject.DBConnection;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import ... |
package repast.visualization.jung;
import junit.framework.TestCase;
import repast.context.Context;
import repast.context.DefaultContext;
import repast.context.space.graph.NetworkFactoryFinder;
import repast.engine.environment.RunState;
import repast.space.graph.Graph;
import repast.space.graph.Network;
import repast.s... |
/*
* Copyright (c) 2005-2018 Flamingo Kirill Grouchnikov. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice,
* th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.