text stringlengths 7 995k |
|---|
package com.github.steveice10.mc.protocol.packet.ingame.client.player;
import com.github.steveice10.packetlib.io.NetInput;
import com.github.steveice10.packetlib.io.NetOutput;
import com.github.steveice10.packetlib.packet.Packet;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import l... |
// PSI_ELEMENT: com.intellij.psi.PsiClass
// OPTIONS: usages
public class <caret>A {
public String bar = "bar";
public static String BAR = "BAR";
public A() {
}
public void foo() {
}
public static void foos() {
}
} |
/*
* Copyright 2000-2012 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... |
package org.kyojo.schemaorg.m3n5.healthLifesci.impl;
import java.util.ArrayList;
import java.util.List;
import org.kyojo.schemaorg.SimpleJsonBuilder;
import org.kyojo.schemaorg.m3n5.core.Container.Name;
import org.kyojo.schemaorg.m3n5.healthLifesci.Clazz.AnatomicalStructure;
import org.kyojo.schemaorg.m3n5.healthLife... |
package com.prowidesoftware.swift.model.mx.dic;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 驳回原因列表
*
* @author auto create
* @since 1.0, 2021-11-25 14:50:40
*/
public class MiniAppAuditReasonMemo extends AlipayObject {
private static final long serialVersionUID = 55333477758273616... |
package com.aire.ux.plan.evaluators;
import static com.aire.ux.test.Nodes.node;
import static org.junit.jupiter.api.Assertions.assertEquals;
import com.aire.ux.plan.EvaluatorFactory;
import lombok.val;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;
class Sele... |
package com.test_circle;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
/**
* 循环依赖的例子
*/
public class Test {
public static void main(String[] args) {
AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(AppConfig.class);
System.out.println(ac.getBean... |
package com.sauzny.crosstable;
import com.google.common.collect.Table;
import com.sauzny.crosstable.cell.HeaderCell;
import com.sauzny.crosstable.tools.JacksonTools;
public final class CrossTableResultBuilder {
private CrossTableResultBuilder(){}
public static CrossTableResult build(
HeaderC... |
package thedekunut.jalapeno.entities.events.room;
import thedekunut.jalapeno.entities.events.DogeEvent;
public class RoomChatThrottleEvent extends DogeEvent {
private String name;
private int chatThrottle;
private String roomId;
public String getName() {
return name;
}
public int ge... |
package infobip.api.client;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import infobip.api.config.Configuration;
import infobip.api.config.TimeoutClientProvider;
import infobip.api.model.sms.mt.send.SMSResponse;
import infobip.api.model.sms.mt.send.binary.SMSBinaryRequest;
import retrofit2.Retrofi... |
// CaseFour - default value specified and should be extracted
import java.lang.annotation.*;
public class CaseFour {
public static void main(String []argv) {
CaseFour o = new CaseFour();
o.a();
o.b();
o.c();
}
@Anno public void a() {}
@Anno(Level.TWO) public void b() {}
@Anno public void c(... |
/***************************************************************************************************
*
* Copyright (c) 2020 Universitat Politecnica de Valencia - www.upv.es
* Copyright (c) 2020 Open Universiteit - www.ou.nl
*
* Redistribution and use in source and binary forms, with or without
* modification, are... |
/*
* Copyright (c) 2002-2022 "Neo4j,"
* Neo4j Sweden AB [http://neo4j.com]
*
* This file is part of Neo4j.
*
* 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.... |
package net.runelite.client.plugins.inventorysetups;
import java.awt.Color;
import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem;
@ConfigGroup("inventorysetups")
public interface InventorySetupConfig extends Config
{
@ConfigItem(
keyN... |
/*
* MIT License
*
* Copyright (c) 2022 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... |
/*
* Copyright 2012-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... |
/*
* 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 under t... |
/*
* 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... |
/* MIT - License
Copyright (c) 2012 - this year, Nils Schmidt
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... |
/*
* This file was automatically generated by EvoSuite
* Fri Aug 24 10:17:32 GMT 2018
*/
package org.dom4j.io;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.dom4j.io.OutputFormat;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.ru... |
/**
* Copyright (c) 2022
* All rights reserved.
*
* 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, co... |
/* ========================================================================
* JCommon : a free general purpose class library for the Java(tm) platform
* ========================================================================
*
* (C) Copyright 2000-2005, by Object Refinery Limited and Contributors.
*
* Project I... |
package no.mnemonic.act.platform.service.ti.delegates;
import no.mnemonic.act.platform.api.exceptions.AccessDeniedException;
import no.mnemonic.act.platform.api.exceptions.InvalidArgumentException;
import no.mnemonic.act.platform.api.exceptions.ObjectNotFoundException;
import no.mnemonic.act.platform.api.request.v1.Gr... |
package com.atguigu.gmall.ums.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gmall.common.bean.PageResultVo;
import com.atguigu.gmall.common.bean.PageParamVo;
import com.atguigu.gmall.ums.entity.IntegrationHistoryEntity;
import java.util.Map;
/**
* 购物积分记录表
*
* @author Gryb... |
module hr.caellian.math {
requires java.base;
requires kotlin.stdlib;
exports hr.caellian.math.matrix;
exports hr.caellian.math.vector;
} |
package com.oneliang.frame.plugin;
public abstract interface PluginDownloader {
/**
* download
* @param pluginFileBean
*/
public void download(PluginFileBean pluginFileBean);
} |
/*
* 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.example.android.pets.data;
import android.content.ContentProvider;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.net.Uri;
import android.util.Log;
im... |
/******************************************************************************
*
* Copyright (c) 2010, Cormac Flanagan (University of California, Santa Cruz) and Stephen Freund
* (Williams College)
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are ... |
//
// ========================================================================
// Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
/*
* Copyright 2018 Byte Mechanics.
*
* 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 pacman.database;
import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidKeySpecException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.Base64;
@SuppressWarnings("PMD")
public class RegisterDao {
private DbConnect dbConn... |
/*
* Copyright 2020, 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... |
package us.temerity.pipeline.plugin.MultipleTaskSetTool.v2_4_28;
import java.awt.*;
import java.util.*;
import javax.swing.*;
import us.temerity.pipeline.*;
import us.temerity.pipeline.builder.v2_4_28.*;
import us.temerity.pipeline.ui.*;
/*----------------------------------------------------------------------------... |
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.accessservices.itinfrastructure.api;
import org.odpi.openmetadata.accessservices.itinfrastructure.metadataelements.DeployedCapabilityElement;
import org.odpi.openmetadata.accessservices.itin... |
package com.aliyun.ros.cdk.maxcompute;
import static java.util.Arrays.asList;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.IOException;
import java.io.Reader;
import java.io.UncheckedIOException;
import java.nio.charset.StandardCharsets;
import java.uti... |
/**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.provider.description.forex;
import com.opengamma.analytics.financial.model.volatility.VolatilityAndBucketedSensitivities;
import com.openg... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto
package com.google.cloud.recommendationengine.v1beta1;
public final class RecommendationengineResources {
private RecommendationengineResources() {}
public static v... |
/*
* 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 ... |
/*
* 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... |
/**
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith... |
package psn.dbshow.ssi.povo.po;
import java.io.Serializable;
import java.util.Date;
public class QueryColumn implements Serializable {
private static final long serialVersionUID = -6632515804183704158L;
private Integer id;
private String tableName;
private String columnName;
private String la... |
/*
* MIT License
*
* Copyright (c) 2019 Sven Kobow
*
* 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, modif... |
/*
* 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.codiform.moo.property;
import java.lang.reflect.Field;
import com.codiform.moo.GetPropertyException;
import com.codiform.moo.SetPropertyException;
public class MapFieldProperty extends AbstractMapProperty {
private Field field;
private String name;
private String expression;
private boolean explicit... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2014 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 Licen... |
package ch.uzh.ifi.seal.soprafs19.entity;
import ch.uzh.ifi.seal.soprafs19.constant.UserStatus;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity
public class User implem... |
/**
* Copyright Intellectual Reserve, 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 a... |
package com.wk.designpatterns.builderPattern.demo01;
/**
* @author wangkang
* @Date 2021/5/11 16:45
*
* product可以模拟成房子 需要 水泥 砖瓦 玻璃等几个属性
*/
public class Product {
private String A;
private String B;
private String C;
private String D;
public String getA() {
return A;
}
public ... |
/*
* Copyright 2012-2017 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 org.bouncycastle.crypto.params;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
import java.security.SecureRandom;
import org.bouncycastle.math.ec.rfc7748.X448;
import org.bouncycastle.util.Arrays;
import org.bouncycastle.util.io.Streams;
public final class X448PrivateKey... |
/**
*
*/
package br.ufrj.dcc.kettle.TemplateResourceInputAnalyzer;
import java.util.List;
import java.util.Map;
import org.pentaho.di.core.CheckResult;
import org.pentaho.di.core.CheckResultInterface;
import org.pentaho.di.core.Counter;
import org.pentaho.di.core.database.DatabaseMeta;
import org.pentaho.di.core.exce... |
/*
* 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 under t... |
package iPDFBox;
import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
import org.apache.pdfbox.pdmodel.font.PDFont;
import org.vandeseer.easytable.settings.HorizontalAlignment;
public class BoxParagraph {
private String mText = "";
private PDFont mFont;
private Color mColor = Color.BLACK;
pr... |
package com.example.jobportal;
public class Job {
private int CID;
private String Cname;
private String Email;
private int Cphone;
private String Jtitle;
private String Jdescription;
private String Jaddress;
public Job(int CID, String Cname, String Email, int Cphone, String Jtitle, Str... |
/****************************************************************
* 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... |
package com.resto.image;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent... |
package com.cadiducho.fem.royale.task;
import com.cadiducho.fem.royale.BattleRoyale;
import org.bukkit.Color;
import org.bukkit.Location;
import org.bukkit.scheduler.BukkitRunnable;
public class ChestParticleTask extends BukkitRunnable {
private final BattleRoyale plugin;
private final Location loc;
... |
package org.jboss.resteasy.reactive.server.core.parameters.converters;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import javax.ws.rs.ext.ParamConverter;
import org.jboss.resteasy.reactive.server.core.ParamConverterProviders;
public class RuntimeParameterConverter implements ParameterConver... |
package org.vaadin.diagrambuilder.client;
import com.google.gwt.core.client.JavaScriptObject;
/**
*
*/
public class DiagramBuilderJsniWrapper extends JavaScriptObject {
protected DiagramBuilderJsniWrapper(){};
public static native void create(JavaScriptObject conf, int id, DiagramBuilderWidget widget)
... |
package net.cosban.snip.commands;
import net.cosban.snip.api.SnipAPI;
import net.cosban.utils.commands.CommandBase;
import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.ProxyServer;
import net.md_5.bungee.api.chat.TextComponent;
import net.md_5.bungee.api.connectio... |
/**
* 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 2002-2012 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 ap... |
package com.classicmodels.service;
import com.classicmodels.entity.Employee;
import com.classicmodels.pojo.EmployeeNoCntr;
import com.classicmodels.repository.EmployeeRepository;
import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@Ser... |
package io.searchbox.indices.settings;
/**
* @author Dogukan Sonmez
*/
public class GetSettings {
} |
package com.softicar.sqml.test.queries;
import com.softicar.platform.common.container.tuple.Tuple2;
import com.softicar.sqml.model.files.ISqmlFile;
import com.softicar.sqml.test.utils.AbstractSqmlTest;
import com.softicar.sqml.test.utils.SqmlTestCases;
import java.util.ArrayList;
import java.util.Collection;
import ja... |
package com.yasoft.smsar.adapters;
import android.os.Build;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageV... |
package com.atguigu.springcloud.config;
import org.springframework.cloud.gateway.route.RouteLocator;
import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class ... |
package seedu.flashcard;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.nio.file.Paths;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.junit.jupiter.api.Test;
import javafx.application.Application;
public class AppParameters... |
/*
* Copyright 2010 MIT Strategic Engineering Research Group
*
* 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... |
package org.gluu.casa.core.init;
import org.gluu.casa.core.ZKService;
import org.gluu.casa.misc.Utils;
import org.zkoss.zk.ui.WebApp;
import org.zkoss.zk.ui.util.WebAppInit;
/**
* @author jgomer
*/
public class ZKInitializer implements WebAppInit {
public void init(WebApp webApp) throws Exception {
Uti... |
package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.domain.IntelligentPromo;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: koubei.marketing.data.intelligent.effect.query response.
*
* @author auto create
* @since 1.0, 2019-01-07 20:51:15
*/
public c... |
package io.github.externschool.planner.util;
import java.time.Duration;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
public final class Constants {
// role names to display in Ukrain... |
package com.hundredwordsgof.command;
/**
*
* ConcreteCommand class, defines a binding between a Receiver object and an
* operation
*
*/
public class ConcreteCommand implements Command {
private Receiver receiver;
public ConcreteCommand(Receiver receiver) {
this.receiver = receiver;
}
public void e... |
package common.file;
import org.trianacode.taskgraph.Unit;
import org.trianacode.taskgraph.imp.RenderingHintImp;
import org.trianacode.taskgraph.tool.Tool;
/**
* Makes a tool into a Control Tool
*
* @author Ian Wang
* @version $Revision: 2921 $
*/
public class MakeFileReader extends Unit {
// parameter da... |
/*
* Copyright 2015-2020 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 cn.bingoogolapple.swipebacklayout.demo.activity;
import android.os.Bundle;
import android.view.View;
import cn.bingoogolapple.swipebacklayout.demo.R;
/**
* 作者:王浩 邮件:bingoogolapple@gmail.com
* 创建时间:16/12/27 下午5:35
* 描述:示例项目主界面,改界面不需要支持滑动返回
* <p>
* 「必须在 Application 的 onCreate 方法中执行 BGASwipeBackManager.get... |
package com.ke.css.cimp.ffr.ffr8;
/* -----------------------------------------------------------------------------
* Rule_MId_PID.java
* -----------------------------------------------------------------------------
*
* Producer : com.parse2.aparse.Parser 2.5
* Produced : Fri Feb 23 14:32:20 KST 2018
*
* --------... |
package ClassificationTraining.huaweiSimple;
/**
* @Classname FindRadius
* @Description TODO
* @Date 2020/8/22 0:08
* @Created by Administrator
*/
public class FindRadius {
public static void main(String[] args) {
int[] house = {1, 2, 3};
int[] heaters = {2};
System.out.println(findRad... |
package org.getopentest.appium;
import org.getopentest.annotations.TestActionClass;
import org.getopentest.annotations.TestActionOutput;
import org.getopentest.annotations.Type;
import org.getopentest.appium.core.SwipingAction;
import org.openqa.selenium.Dimension;
@TestActionClass(
description = "Reads the 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 ... |
package com.readutf.mauth.profile.impl;
import com.mongodb.MongoClient;
import com.mongodb.MongoClientOptions;
import com.mongodb.MongoCredential;
import com.mongodb.ServerAddress;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import com.readutf.mauth.profile.Profile;
import com.r... |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2013 Jaspersoft Corporation. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
... |
package com.ruiaa.timelock.monitor.modules;
import com.ruiaa.timelock.common.base.App;
import com.ruiaa.timelock.common.consts.ConfigCode;
import com.ruiaa.timelock.common.consts.SqlField;
import com.ruiaa.timelock.common.utils.DataConvert;
import com.ruiaa.timelock.common.utils.LogUtil;
import com.ruiaa.timelock.comm... |
import java.util.ArrayList;
public class Library {
private ArrayList<Book> catalogue;
public Library(ArrayList<Book> list) {
this.catalogue = list;
}
public void addBook(Book newBook) {
this.catalogue.add(newBook);
}
public void removeBook(Book book) {
this.catalogue.... |
package ru.lanwen.web.load;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
/**
* @author lanwen (Merkushev Kirill)
*/
@Path("/ping")
public class PingResource {
@GET
@Produces(MediaType.TEXT_PLAIN)
public String ping() {
return "... |
/*
* RDV
* Real-time Data Viewer
* http://rdv.googlecode.com/
*
* Copyright (c) 2008 Palta Software
*
* 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 ... |
package org.trianacode.taskgraph.interceptor.execution;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* @author Andrew Harrison
* @version 1.0.0 Jul 21, 2010
*/
public class ExecutionBus {
public static final String SEND_ID = "org.trianacode.taskgraph.interceptor.execution.Executio... |
package com.iotsdk.net.commen.file;
import java.io.InputStream;
import java.io.Serializable;
public abstract class UpLoadFileAble implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
public abstract String getContentType();
public abstract InputStream getContent();
public ... |
// Copyright 2018 HP Development Company, L.P.
// SPDX-License-Identifier: MIT
//
// DO NOT MODIFY. Code is auto-generated by genTypes.py. Content taken from registry at
// https://www.iana.org/assignments/ipp-registrations/ipp-registrations.xml, updated on 2020-06-10
//
// (Note: Uses Java, not Kotlin, to define publi... |
/*
* Copyright (c) 2018 jMonkeyEngine
* 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 condi... |
package linky132.waywardcraft.common.util;
import linky132.waywardcraft.common.registries.BlocksRegistry;
import net.minecraft.data.worldgen.features.FeatureUtils;
import net.minecraft.data.worldgen.features.OreFeatures;
import net.minecraft.world.level.levelgen.feature.ConfiguredFeature;
import net.minecraft.world.le... |
/*
* Copyright 2018 - 2021 Swiss Federal Institute of Technology Lausanne (EPFL)
*
* 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.
*
* U... |
// Copyright 2010-2014, Google Inc.
// 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 condit... |
package jsm.jdbc.examples.test;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class Test_001 {
// SELECT//
private String dbUrl = "jdbc:mysql://localhost:3306/mysql"; // with port: 3306
// private String dbUrl =... |
package me.mrletsplay.minebay;
import java.io.File;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import java.util.stream.Collectors;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.OfflinePlayer;
import org.b... |
/**
* Copyright © 2015 - 2017 EntDIY JavaEE Development Framework
*
* Site: https://www.entdiy.com, E-Mail: xautlx@hotmail.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
*
* htt... |
package com.figaf.saptojdbc.saptojdbc.web;
import com.figaf.saptojdbc.saptojdbc.dto.Credentials;
import com.figaf.saptojdbc.saptojdbc.dto.RunQueryInputDto;
import com.figaf.saptojdbc.saptojdbc.service.DataTransformationService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpHeaders;
import org.s... |
package com.seizedays.ideasharingcosumer;
import com.alibaba.dubbo.spring.boot.annotation.EnableDubboConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
@EnableDubboConfiguration
public class IdeasharingCosumerAp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.