text stringlengths 7 995k |
|---|
package spms.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import javax.sql.DataSource;
import spms.vo.Member;
public class MemberDao {
DataSource ds;
public void setDataSource(DataSourc... |
/**
* JBoss, Home of Professional Open Source.
* Copyright 2014-2020 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... |
/*-
* #%L
* anchor-plugin-image-feature
* %%
* Copyright (C) 2010 - 2020 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche
* %%
* 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 S... |
package com.ctrip.framework.apollo.biz.service;
import com.ctrip.framework.apollo.biz.entity.ServerConfig;
import com.ctrip.framework.apollo.biz.repository.ServerConfigRepository;
import com.ctrip.framework.apollo.common.config.RefreshablePropertySource;
import com.ctrip.framework.apollo.core.ConfigConsts;
import com.... |
/*
* Copyright 2021 LINE Corporation
*
* LINE Corporation licenses this file to you 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 r... |
// Template Source: IBaseEntityRequestBuilder.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ----------------------------... |
package br.com.ufpb.pa.seller;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;
import br.com.ufpb.pa.R;
import br.com.ufpb.pa.Ti... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.storage.generated;
import com.azure.core.util.Context;
/** Samples for PrivateEndpointConnections Get. */
public final class Pr... |
/*
* Copyright 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package org.w3c.dom.svg;
/*
* #%L
* Matos
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2004 - 2014 Orange SA
* %%
* 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.... |
package pt.lsts.loganalizer;
public class VoltageValues {
private Double[] value = new Double[326000];
private Double[] time = new Double[326000];
private int cntSize = 0;
public VoltageValues() {
super();
}
public void addValues(Double _value, Double _time) {
value[cntSize] ... |
package ru.snake.jdbc.diff.action;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JTabbedPane;
import javax.swing.JTable;
import javax.... |
package com.ruiec.web.template.jsp.directive;
import java.io.IOException;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.PageContext;
import javax.servlet.jsp.tagext.SimpleTagSupport;
import com.ruiec.web.common.GlobalUnit;
import com.ruiec.web.common.RedisUtil;
import com.ruiec.web.entity.Unit;
imp... |
/*
* 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... |
package com.example.coolweather;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
... |
package ca.uhn.fhir.rest.param;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.util.TestUtil;
import com.google.common.base.Charsets;
import org.apache.commons.lang3.SerializationUtils;
import org.junit.AfterClass;
import org.junit.Ignore;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.Lo... |
/*
* 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 ap... |
package com.gentics.mesh.search.index.project;
import java.util.Collections;
import java.util.Map;
import java.util.Set;
import javax.inject.Inject;
import javax.inject.Singleton;
import com.gentics.mesh.cli.BootstrapInitializer;
import com.gentics.mesh.context.InternalActionContext;
import com.gentics.mesh.core.dat... |
package io.smallrye.jwt.algorithm;
/**
* JWT JSON Web Signature Algorithms.
*
* @see <a href="https://tools.ietf.org/html/rfc7518#section-3">https://tools.ietf.org/html/rfc7518#section-3</a>
*/
public enum SignatureAlgorithm {
RS256,
RS384,
RS512,
ES256,
ES384,
ES512,
HS256,
HS384,... |
/*
* Copyright (c) 2017, 2018 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: ... |
package org.jboss.resteasy.core;
import org.jboss.resteasy.core.interception.PreMatchContainerRequestContext;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import ... |
/*
* 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 not u... |
/**
* Copyright 2020 Pivotal Software, Inc.
* <p>
* 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
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applica... |
/*
* Copyright (c) 2010, Stanislav Muhametsin. 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 appli... |
/*
* Copyright 2014 The Error Prone 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 ... |
package lib_gen;
public class FattyAcid extends Utilities implements Comparable<FattyAcid>
{
public String formula; //Elemental formula
public String name; //Abbreviated name
public Double mass; //Mass for sorting purpose
public Integer carbonNumber; //Number of carbons in FA chain
public Integer db... |
/**
*
* Name: Joseph Roque
* Course: ICS4UO
* Teacher: Mr. Byers
* Created:
*
* Application: Tiny Town
* Class: MapConstants
*
* Purpose: Globally available constants for consistency throughout program, related to Maps
*
**/
package charles.game;
public interface MapConstants... |
/*
* Copyright (c) 2012-2013, bad robot (london) ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
/*
* 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")... |
package com.active4j.hr.func.timer.service;
import com.active4j.hr.core.model.AjaxJson;
import com.active4j.hr.func.timer.entity.QuartzJobEntity;
import com.active4j.hr.func.timer.model.QuartzJobModel;
import com.baomidou.mybatisplus.extension.service.IService;
/**
*
* @title QuartzJobService.java
* @description ... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.security.authz;
import org.elasticsearch.Elas... |
package com.ahmadrosid.lib.drawroutemap;
import android.os.AsyncTask;
import android.util.Log;
import com.google.android.gms.maps.GoogleMap;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;... |
package com.example.demo.sbm.component;
import java.util.List;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* Alert properties
*
* @author igor.144@gmail.com
*
*/
@Component
@ConfigurationProperties("alert")
public class AlertP... |
package net.codejava.hibernate;
import javax.persistence.*;
@Entity
@Table(name="image2Synset")
public class Image2Synset{
@EmbeddedId
private Image2SynsetID id;
private Long source_id;
private Boolean main;
public Image2Synset() {
super();
// TODO Auto-generated constructor stub
}
public Image2Synset(I... |
package com.xeno.goo.blocks;
import com.xeno.goo.library.VoxelHelper;
import com.xeno.goo.tiles.interaction.TroughTile;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.item.BlockItemUseCont... |
package module733packageJava0;
import java.lang.Integer;
public class Foo10 {
Integer int0;
public void foo0() {
new module733packageJava0.Foo9().foo4();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public void foo4() {
foo... |
package info.kgeorgiy.java.advanced.implementor;
import info.kgeorgiy.java.advanced.implementor.full.lang.*;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runners.MethodSorters;
import java.nio.file.Path;
/**
* @author Georgiy Korneev (kgeorgiy@kgeorgiy.info)
*/
@FixMethodOrder(MethodSor... |
/**
* Copyright 2009-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* 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 tr.com.infumia.infumialib.misc;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.SerializableString;
import com.fasterxml.jackson.core.io.CharacterEscapes;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fa... |
/*
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
... |
package de.uhd.ifi.se.decision.management.jira.model;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.mockito.Mockito.mock;
import org.junit.Before;
import org.junit.Test;
import com.atlassian.jira.issue.link.IssueLink;
import de.uhd.ifi.se.decision.manag... |
package cn.year2019.datastructure.tree;
public class Test {
public static void main(String[] args) {
// 主要是表达查询,所以手动构造一棵二叉排序树
BinaryTree binaryTree1 = new BinaryTree();
binaryTree1.data = 62;
BinaryTree binaryTree2 = new BinaryTree();
binaryTree1.lchild = binaryTree2;
... |
package com.cyy.mall.tiny.mbg.model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
public class PmsProduct implements Serializable {
private Long id;
private Long brandId;
private Long productCategoryId;
private Long... |
/*
* 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.assignment.fragment;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.viewpager.widget.ViewPager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.example.assignment.R;
import com.example.assignment.adapter.Kh... |
package com.hl.p2p.mapper;
import com.hl.p2p.pojo.Companybankinfo;
import com.hl.p2p.query.CompanybankQueryObject;
import java.util.List;
public interface CompanybankinfoMapper {
int deleteByPrimaryKey(Long id);
int insert(Companybankinfo record);
int updateByPrimaryKey(Companybankinfo record);
L... |
/* Twisted Trek: A Dual-World Action RPG */
package studio.ignitionigloogames.twistedtrek.ai;
import studio.ignitionigloogames.twistedtrek.Creature;
import studio.ignitionigloogames.twistedtrek.StuffFactory;
public class FungusAi extends CreatureAi {
private final StuffFactory factory;
private int spreadcount... |
package com.henrique.clockApi.controller;
import com.henrique.clockApi.controller.dto.TimeDTO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;
im... |
package com.reactnative.googlecast;
import android.support.v4.view.MenuItemCompat;
import android.support.v7.app.MediaRouteActionProvider;
import android.view.Menu;
import android.view.MenuItem;
import com.google.android.gms.cast.framework.CastButtonFactory;
import com.google.android.gms.cast.framework.media.widget.E... |
/*
* Copyright (c) 2016, 2017, 2018, 2019 FabricMC
*
* 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 applicabl... |
package delta_service.config;
import jdk.nashorn.internal.runtime.regexp.joni.Config;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
public class Configuration {
/*
* Describing the query endpoint
*/
public static String queryEndpoint = "http://db:8890/spar... |
package com.upadhyay.nilay.todoappsqlite;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute o... |
/*
* 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... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package quicktweethero;
import java.awt.datatransfer.*;
import java.awt.Toolkit;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.anim... |
/*
* Copyright 2021 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 app... |
/*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.asiainfo.test;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import com.asiainfo.restful.annotation.DELETE;
import com.asiainfo.restful.annotation.GET;
import com.asiainfo.restful.annotation.POST;
import com.asiainfo.restful.annotat... |
package cn.jeeweb.generator.controller;
import cn.jeeweb.common.http.PageResponse;
import cn.jeeweb.common.http.Response;
import cn.jeeweb.common.mvc.annotation.ViewPrefix;
import cn.jeeweb.common.mvc.controller.BaseBeanController;
import cn.jeeweb.common.query.annotation.PageableDefaults;
import cn.jeeweb.common.quer... |
package todo.core.java8.concurrent;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;
import java.util.concurrent.TimeUnit;
import java.util.stream.IntStream;
public class Semaphore1 {
private static final int NUM_INCREMENTS = 10000;
p... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.mediaservices.models;
import com.azure.core.http.rest.Response;
import com.azure.core.management.SystemData;
import com.azure.co... |
package com.example.appconsolesapi;
import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
... |
package org.txazo.openframework.httpclient.pool;
public interface HttpClient {
public void submit(HttpRequest request) throws InterruptedException;
public void shutdown();
} |
/**
* Copyright 2013 deib-polimi
* Contact: deib-polimi <marco.miglierina@polimi.it>
*
* 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... |
/*
*
* * Copyright (C) 2018 Wanghaobin<463540703@qq.com>
*
* * AG-Enterprise 企业版源码
* * 郑重声明:
* * 如果你从其他途径获取到,请告知老A传播人,奖励1000。
* * 老A将追究授予人和传播人的法律责任!
*
* * This program is free software; you can redistribute it and/or modify
* * it under the terms of the GNU General Public License as published b... |
/**
* ====================================================================
* Nuts : Network Updatable Things Service
* (universal package manager)
* <br>
* is a new Open Source Package Manager to help install packages
* and libraries for runtime execution. Nuts is the ultimate companion for
* maven (and other bu... |
package uk.kihira.gltf;
import uk.kihira.tails.common.IDisposable;
import java.util.ArrayList;
public class Mesh implements IDisposable {
private ArrayList<Geometry> geometries;
public Mesh(ArrayList<Geometry> geometries) {
this.geometries = geometries;
}
public void render() {
for ... |
/**
* OLAT - Online Learning and Training<br>
* http://www.olat.org
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unl... |
/*
* Copyright 2011-2016 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 net.osomahe.realapp.price.entity;
import javax.json.bind.annotation.JsonbCreator;
import javax.json.bind.annotation.JsonbProperty;
import net.osomahe.esk.eventstore.entity.EventExpirationSecs;
import net.osomahe.esk.eventstore.entity.EventKey;
/**
* TODO write JavaDoc
*
* @author Antonin Stoklasek
*/
@E... |
package de.renber.yamlbundleeditor.services;
import java.io.InputStream;
import org.eclipse.swt.graphics.Image;
/**
* Helper class to load image resources
* @author renber
*/
public class IconProvider {
static final String iconPath = "de/renber/yamlbundleeditor/icons/";
static final String flagIconPath = "de/r... |
/*
* 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 ru.job4j.paint;
/**
* @author Denis Seleznev (d.selezneww@mail.ru)
* @version $Id$
* @since 0.1
*/
public class Paint {
/**
* Выводит в консоль рисунок фигуры в зависимости от параметра shape.
* @param shape Принимает объекты класса Triangle (рисует треугольник)
* и Square (... |
package me.steinborn.shout.platform.bungee.support;
import com.google.common.collect.ImmutableList;
import me.steinborn.shout.platform.ShoutCommandInvoker;
import me.steinborn.shout.platform.ShoutPlayer;
import net.kyori.adventure.audience.Audience;
import net.kyori.adventure.audience.ForwardingAudience;
import net.ky... |
package com.mdsoft.system.mapper;
import com.mdsoft.system.model.SysRolePerson;
import tk.mybatis.mapper.common.Mapper;
public interface SysRolePersonMapper extends Mapper<SysRolePerson> {
} |
/**
* This program and the accompanying materials
* are made available under the terms of the License
* which accompanies this distribution in the file LICENSE.txt
*/
package com.archimatetool.jasperreports.preferences;
/**
* Constant definitions for plug-in preferences
*
* @author Phillip Beauvoir
*/
publ... |
package com.google.api.ads.dfp.jaxws.v201306;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for CreativeTemplateError.Reason.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleTyp... |
// --------------------------------------------------------------------------------
// Copyright 2002-2022 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 org.evosuite.ga.metaheuristics.mosa;
import org.evosuite.testcase.statements.Statement;
import org.evosuite.testcase.variable.VariableReference;
import java.util.ArrayList;
public class SliceManager {
public SliceManager(){
}
public void mergeSlice(Slice s1, Slice s2){
ArrayList<State... |
/*
* Copyright 2015-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/*
* 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 ... |
// Copyright 2015-2021 Swim 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.znkv.wlm.Commands;
import com.mojang.brigadier.Command;
import com.mojang.brigadier.builder.LiteralArgumentBuilder;
import com.mojang.brigadier.context.CommandContext;
import com.mojang.brigadier.exceptions.CommandSyntaxException;
import com.znkv.wlm.DonationProcessor;
import net.minecraft.command.CommandSo... |
/**
* 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 io.jiffy.stax.plugin.xfs.actions.execute;
import com.ibm.staf.service.stax.STAXPythonEvaluationException;
import com.ibm.staf.service.stax.STAXSTAFCommandAction;
import com.ibm.staf.service.stax.STAXThread;
import io.jiffy.stax.plugin.xfs.actions.XfsCommandAction;
public class CashInRollbackAction extends Xfs... |
package edu.fiuba.algo3.modelo.IBuilder;
import edu.fiuba.algo3.modelo.ManejoArchivos.Fachada;
import edu.fiuba.algo3.modelo.juego.Juego;
public class DirectorJuego {
private ConstructorJuego constructor;
public DirectorJuego(ConstructorJuego constructor){ this.constructor = constructor;}
public void cr... |
package xmilcode.gianttreemod.tree.growth.growthstrategies;
import xmilcode.gianttreemod.tree.growth.BlockCreator;
import xmilcode.gianttreemod.tree.growth.GrowingBlock;
import xmilcode.gianttreemod.tree.growth.GrowthStrategy;
import xmilcode.mclib.pixelgeometry3d.Coord3D;
import net.minecraft.world.World;
public cl... |
package br.com.app.builders.cadastro.clientes.rest;
import lombok.Getter;
import java.util.Arrays;
import java.util.List;
public class ApiErrors {
@Getter
private List<String> errors;
public ApiErrors(List<String> errors) {
this.errors = errors;
}
public ApiErrors(String mensagemErro){... |
/*
* 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 com.planet_ink.coffee_mud.Items.MiscMagic;
import java.util.Enumeration;
import java.util.List;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.p... |
package main.java.com.excilys.cdb.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Optional;
import main.java.com.excilys.cdb.exception.DAOException;
import main.java.com.excilys.cdb.model.Model;
import main.java.com.excilys.... |
package domts.level1.core;
import org.w3c.dom.*;
import java.util.*;
import org.junit.jupiter.api.*;
import static org.junit.jupiter.api.Assertions.*;
/**
* The "getNodeType()" method for a Document Node
* returns the constant value 9.
* Retrieve the document and invoke the "getNodeType()"
* method. The method shoul... |
/*
* LUSID API
*
* OpenAPI spec version: 0.9.25
* Contact: info@finbourne.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.finbourne.lusid.model;
import java.util.Objects;
i... |
/*******************************************************************************
* Copyright (c) 2008 Red Hat, Inc.
* Distributed under license by Red Hat, Inc. All rights reserved.
* This program is made available under the terms of the
* Eclipse Public License v1.0 which accompanies this distribution,
* and... |
/*
* Hydrogen Integration API
* The Hydrogen Integration API
*
* OpenAPI spec version: 1.3.1
* Contact: info@hydrogenplatform.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package co... |
package com.training.org;
public class Person {
private String name;
private String address;
public Person() {
System.out.println("Default is called");
}
public Person(String name, String address) {
super();
System.out.println("Default is called");
this.name = name;
this.address = address;
}
... |
/**
* 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 cn.danao.learning.lambda.closepackage;
/**
* date 2020/3/25 18:14 <br/>
* descriptionclass <br/>
*
* @author danao
* @version 1.0
* @since 1.0
*/
public interface SelfInterface {
void getRun(String info);
} |
package org.springframework.security.samples.contacts.dao;
import org.springframework.security.samples.contacts.entity.User;
public interface UserDao {
User findByUsername(String username);
} |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.11
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.