text stringlengths 7 995k |
|---|
/*
* #%L
* FHIR Implementation
* %%
* Copyright (C) 2018 DataScience 9 LLC
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... |
package SeleniumTests;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.WebDriverWait;
import static org.openqa.selenium.support.ui.Expected... |
package xyz.tehbrian.iteminator.command.subs;
import cloud.commandframework.Command;
import cloud.commandframework.arguments.standard.DoubleArgument;
import cloud.commandframework.arguments.standard.EnumArgument;
import cloud.commandframework.arguments.standard.IntegerArgument;
import cloud.commandframework.arguments.... |
package cn.bootx.notice.controller;
import cn.bootx.common.core.rest.Res;
import cn.bootx.common.core.rest.ResResult;
import cn.bootx.notice.core.mail.service.MailSendService;
import cn.bootx.notice.core.template.service.MessageTemplateService;
import io.swagger.v3.oas.annotations.tags.Tag;
import io.swagger.v3.oas.an... |
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package com.planet_ink.coffee_mud.Abilities.Spells;
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.planet_ink.coffee_mud.Areas.interfaces.*;
import com.p... |
/*
* Copyright 2015 Adobe Systems Incorporated
*
* 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 ru.job4j.items.filters;
import javax.servlet.*;
import java.io.IOException;
/**
* Items servlet filter.
* @author Vadim Bolokhov
*/
public class ResponseFilter implements Filter {
private FilterConfig filterConfig;
@Override
public void init(FilterConfig filterConfig) throws ServletException ... |
/*
* Copyright 2020 Exactpro (Exactpro Systems Limited)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
package it.unibz.inf.ontop.docker.regex;
/*
* #%L
* ontop-test
* %%
* Copyright (C) 2009 - 2014 Free University of Bozen-Bolzano
* %%
* 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
*... |
/*
* Copyright 2015-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
package com.patterns.gof.creational.prototype;
/**
* @author Sergii Biliaiev
* Created on 28/07/2019.
*/
public class TAndC extends PrototypeCapableDocument {
@Override
public PrototypeCapableDocument cloneDocument() {
TAndC tAndC = null;
try {
tAndC = (TAndC) super.clone();
... |
package shopping.r.us.checkoutsystem;
/**
* Bundle Discount
*/
public class BundleDiscount implements Discount {
private final String targetSKU;
private final String giftSKU;
private final int targetQty;
private final int giftQty;
/**
*
* @param targetSKU: target product's SKU
* @... |
package org.cam.sql.query;
import org.cam.sql.SqlParser;
/**
* Created by wuyaohui on 14-10-19.
*/
public class QueryParser extends SqlParser{
} |
package com.takho.netty.demo.factorial;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelPipeline;
import io.netty.channel.socket.SocketChannel;
import io.netty.handler.codec.compression.ZlibCodecFactory;
import io.netty.handler.codec.compression.ZlibWrapper;
import io.netty.handler.ssl.SslCo... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2013-2015 Denis Forveille (titou10.titou10@gmail.com)
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.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 ... |
package br.com.zup.casadocodigo.endpoint.controller.response;
import br.com.zup.casadocodigo.entities.Autor;
public class AutorResponse {
private Long id;
private String nome;
private String email;
private String descricao;
public AutorResponse(Autor autor) {
this.id = autor.getId();
this.nome = autor.getN... |
/*
* Copyright 2015-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
package org.bandahealth.idempiere.graphql.dataloader.impl;
import org.bandahealth.idempiere.graphql.dataloader.DataLoaderRegisterer;
import org.bandahealth.idempiere.graphql.model.input.AccountInput;
import org.bandahealth.idempiere.graphql.repository.AccountRepository;
import org.compiere.model.MElementValue;
public... |
//package com.timeoffms.web.other;
//
//import com.timeoffms.web.model.TimeOffRequestStatus;
//import com.timeoffms.web.other.TimeOffRequestStatusService;
//import lombok.extern.log4j.Log4j2;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.ui.ModelMap;
//import org.springfr... |
/*
* 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 aima.core.environment.magicsquare;
import aima.core.environment.magicsquare.*;
import aima.core.agent.Action;
import aima.core... |
package com.github.akovalchuk;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/**
* Educative.io. Subsets With Duplicates
*/
public class SubsetWithDuplicates {
public static List<List<Integer>> findSubsets(int[] nums) {
List<List<Integer>> sub... |
/*
*
* Copyright 2018 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/**
* BiddingStrategyErrorReason.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.adwords.axis.v201603.cm;
public class BiddingStrategyErrorReason implements java.io.Serializable {
private java.lang.String _v... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/devtools/artifactregistry/v1beta2/repository.proto
package com.google.devtools.artifactregistry.v1beta2;
public interface GetRepositoryRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.devtools.artifactregist... |
package com.scalar.kelpie.stats;
import com.scalar.kelpie.config.Config;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicLong;
import org.HdrHistogram.ConcurrentHistogram;
import org.HdrHistogram.Histogram;
import or... |
package fi.solita.utils.meta;
import java.io.Serializable;
import java.lang.reflect.AccessibleObject;
import fi.solita.utils.functional.Apply;
public interface MetaMember<T, R> extends Apply<T, R>, Serializable {
AccessibleObject getMember();
} |
package com.vegaasen.lib.utils;
import java.io.IOException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.UnknownHostException;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import java.util.Arrays;
import java.util.C... |
/*******************************************************************************
* Copyright (c) 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... |
package com.codepath.Weightroom.data.model;
/**
* Data class that captures user information for logged in users retrieved from LoginRepository
*/
public class LoggedInUser {
private String userId;
private String displayName;
public LoggedInUser(String userId, String displayName) {
this.userId =... |
/*
* 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... |
/**
*
*
* @author cm65
* @date 27 Feb 2008
*
* Protein Information Management System
* @version: 1.3
*
* Copyright (c) 2008 cm65
*
*
*/
package org.pimslims.servlet.construct;
import java.io.IOException;
import java.sql.SQLException;
import java.util.Collections;
import java.util.Hash... |
// Program to demonstrate the use of for loop -
package ForLoop;
public class ForLoop {
public static void main(String[] args) {
// TODO Auto-generated method stub
int i;
for (i = 0; i <= 5; i++) {
System.out.println(i);
}
}
} |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package com.jp692.simpletodo;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import java.util.List;
public class ItemsAdapter extends RecyclerView.Adapt... |
package mc.carlton.freerpg.commands;
import mc.carlton.freerpg.gameTools.LanguageSelector;
import mc.carlton.freerpg.globalVariables.StringsAndOtherData;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit... |
// Copyright 2014 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... |
/*
* Copyright (c) Facebook, Inc. and 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 applic... |
package cn.shishuihao.thirdparty.api.core.channel;
import cn.shishuihao.thirdparty.api.core.properties.ApiProperties;
import cn.shishuihao.thirdparty.api.core.repository.AggregateRoot;
import java.util.List;
import java.util.Map;
/**
* @param <P> api properties
* @author shishuihao
* @version 1.0.0
*/
public in... |
/*
* Copyright 2019 David MacCormack
*
* 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 ... |
package com.ruoyi.project.tool.gen.mapper;
import java.util.List;
import com.ruoyi.project.tool.gen.domain.GenTable;
/**
* 业务 数据层
*
* @author ruoyi
*/
public interface GenTableMapper
{
/**
* 查询业务列表
*
* @param genTable 业务信息
* @return 业务集合
*/
public List<GenTable> selectGenTableLi... |
package com.bolsadeideas.springboot.di.app.models.domain;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.web.context.annotation.RequestScope;
@Component
@RequestScope
public class Cliente{
@Value("${cliente.nombre}")
private St... |
/**
The MIT License (MIT)
Copyright (c) 2017 LiangMaYong ( ibeam@qq.com )
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... |
/**
* TLS-Attacker - A Modular Penetration Testing Framework for TLS
*
* Copyright 2014-2020 Ruhr University Bochum, Paderborn University,
* and Hackmanit GmbH
*
* Licensed under Apache License 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*/
package de.rub.nds.tlsattacker.core.protocol.message;
import de.r... |
/*
* GridGain Community Edition Licensing
* Copyright 2019 GridGain Systems, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause
* Restriction; you may not use this file except in compliance with the License. You may obtain a
* c... |
/*
* Copyright (c) 2008, Harald Kuhr
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of cond... |
package site.wattsnwc.java8.defaultmethod;
public interface IHorse {
default void run(){
System.out.println("Horse run");
}
} |
/**
* Copyright (C) 2019 Expedia, 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 ... |
package com.aitlp.system.service;
import java.util.List;
import com.aitlp.system.domain.SysNotice;
/**
* 公告 服务层
*
* @author Winbert
*/
public interface ISysNoticeService
{
/**
* 查询公告信息
*
* @param noticeId 公告ID
* @return 公告信息
*/
public SysNotice selectNoticeById(Long noticeId);
... |
/**
* Copyright 2008 - 2012
*
* 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 wr... |
package lk.ijse.dep.pos.dao;
import lk.ijse.dep.pos.entity.SuperEntity;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import java.io.Serializable;
import java.lang.reflect.ParameterizedType;
import java.util.List;
public abstract class CrudDAOImpl<T extends SuperEntity,ID exten... |
package com.shijingsh.core.codec.exception;
/**
* 协议转换异常
*
* @author Birdy
*/
public class CodecConvertionException extends CodecException {
private static final long serialVersionUID = -1098751050401171934L;
public CodecConvertionException() {
super();
}
public CodecConvertionException(... |
package benchmark;
import org.derive4j.Data;
@Data
public abstract class C93
{
public interface Cases <R>
{
R m1 (Integer p1)
;
R m2 (Integer p1, String p2)
;
R m3 (Integer p1, String p2, Object p3)
;
}
public abstract <R> R match (Cases<R> cases)
;
@Override
public abstract Strin... |
/*
* Copyright 2018 Latitude Srls
*
* 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... |
/*
* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
/*
* 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... |
package work.icql.ssm.pojo;
import java.util.Date;
public class TbShiroFunc {
private String funcid;
private String funcname;
private String funccode;
private String funcdesc;
private String url;
private String ismenu;
private Integer zindex;
private String pid;
private Dat... |
package oostd.am.raytracer.api.scenery;
public abstract class SceneObject {
public Material material;
public VolumeProperties volumeProperties;
public SceneObject(Material material, VolumeProperties volumeProperties) {
this.material = material;
this.volumeProperties = volumeProperties;
... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package org.trebol.pojo;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonInclude;
import javax.validation.constraints.NotBlank;
/**
*
* @author Benjamin La Madrid <bg.lamadrid at gmail.com>
*/
@JsonInclude
public class ShipperPojo {
@NotBlank
private String name;
public String getNam... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.imageutils;
import android.media.ExifInterface;
import android.os.Build;
import androidx.annotation.RequiresAp... |
/*
* 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... |
/*
* Copyright (c) 2007-2010 by The Broad Institute, Inc. and the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* This software is licensed under the terms of the GNU Lesser General Public License (LGPL), Version 2.1 which
* is available at http://www.opensource.org/licenses/lgpl-2.1.php.
*
* T... |
//Developed by: @LucasMarcuzo
import java.util.Scanner;
public class Main3301 {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int H, Z, L;
H=scan.nextInt();
Z=scan.nextInt();
L=scan.nextInt();
if(H > Z && H < L || H < Z && H > L... |
package stu.napls.copdmanage.config;
/**
* @author Yepeng Ding
*/
public class GlobalConstantKey {
public static final String JWT_SIGNING_KEY = "spring-security-@Jwt!&Secret^#";
} |
package GUI;
/**
* Plot inherits Shape class
* @author Aidan Perera
* @author Joshua Pinalli
* @author Noel Martinez
* @author Oscar Li
* @version 1.2.1
*/
public class Line extends Shape {
/**
* Line properties
* x1: x1 position of the shape
* y1: y1 position of the shape
* x2: x2 posit... |
package org.hammer.colombo.mapper;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.StringTokenizer;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.conf.Configuration;
import org.apac... |
package org.wikiup.plugins.wmdk.action;
import org.wikiup.core.Wikiup;
import org.wikiup.core.bean.WikiupConfigure;
import org.wikiup.framework.bean.WikiupPluginManager;
import org.wikiup.core.impl.dictionary.BeanPropertyDictionary;
import org.wikiup.core.inf.Document;
import org.wikiup.core.util.Documents;
import org... |
package com.alaya.abi.datatypes;
import java.math.BigInteger;
/**
* Common fixed-point type properties.
*/
public abstract class FixedPointType extends NumericType {
static final int DEFAULT_BIT_LENGTH = MAX_BIT_LENGTH >> 1;
public FixedPointType(String typePrefix, int mBitSize, int nBitSize, BigInteger v... |
/*
* 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 org.oceanops.api.orm.auto;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.time.LocalDateTime;
import org.apache.cayenne.BaseDataObject;
import org.apache.cayenne.exp.property.DateProperty;
import org.apache.cayenne.exp.property.NumericProperty;
imp... |
package com.novoda.downloadmanager;
import android.support.annotation.Nullable;
import android.support.annotation.WorkerThread;
import java.util.List;
public interface DownloadManager {
/**
* Downloads a given batch of files.
*
* @param batch to download.
*/
void download(Batch batch);
... |
package org.socraticgrid.hl7.services.orders.model.status;
public enum CancellationStatus {
Sucessful, Retracted, AlreadyComplete, NotAllowed, Failed
} |
/**
* Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license.
* See LICENSE.md file in the project root for full license information.
*/
// <code>
package com.speechsdk.quickstart;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.datatype.joda.JodaModule;
import... |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.plugins.newui;
import com.intellij.icons.AllIcons;
import com.intellij.ide.plugins.*;
import com.intellij.openapi.actionSystem.*;
import com.intellij.ope... |
/*
* Copyright 2018. M. Reza Nasirloo
*
* 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 org.apache.ojb.ejb.pb;
/* Copyright 2004-2005 The Apache Software Foundation
*
* 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 io.wildernesstp.util;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
public class TeleportManager {
private static final List<UUID> moved = new ArrayList<>();
private static final List<UUID> needToTeleport = new ArrayList<>();
private static final List<UUID> limitHit = ... |
package org.jeecg.modules.demo.zmexpress.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.zmexpress.entity.ZmWaybills;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @Description: 运单全表
* @Author: jeecg-boot
* @Date: 2021-12-22
* @Version: V... |
package de.metas.banking.payment.spi.exception;
/*
* #%L
* de.metas.banking.base
* %%
* Copyright (C) 2015 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version... |
/*
* Copyright 2014-2019 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.edu.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import cn.edu.bean.Employee;
import cn.edu.bean.EmployeeExample;
import cn.edu.bean.EmployeeExample.Criteria;
import cn.edu.dao.EmployeeMapper;
@Service
public... |
package com.baomidou.dynamic.datasource.tx;
public interface TransactionalExecutor {
Object execute() throws Throwable;
TransactionalInfo getTransactionInfo();
} |
package com.example.demo;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
public class ServletInitializer extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(SpringApplicati... |
/*
* Copyright 2014 - 2021 Blazebit.
*
* 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.eclipse.dataspaceconnector.spi.system.injection;
import org.eclipse.dataspaceconnector.spi.system.Provides;
import org.eclipse.dataspaceconnector.spi.system.ServiceExtension;
import org.eclipse.dataspaceconnector.spi.system.ServiceExtensionContext;
import org.junit.jupiter.api.BeforeEach;
import org.junit.... |
package hello.controller;
import hello.entity.Result;
import hello.entity.User;
import hello.entity.UserResult;
import hello.service.UserService;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authentic... |
package de.refactoringbot.services.sonarqube;
import java.io.File;
import java.io.IOException;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import de.refactoringbot.model.botissue.BotIssue;
i... |
public class HelloWorld {
public static void main(String[] args) {
new HelloWorld().println();
}
public void println() {
System.out.print("Hello World!");
}
} |
// --------------------------------------------------------------------------------
// 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 jdk.nashorn.internal.runtime.logging;
import java.io.PrintWriter;
import java.security.AccessControlContext;
import java.security.AccessController;
import java.security.CodeSource;
import java.security.Permissions;
import java.security.PrivilegedAction;
import java.security.ProtectionDomain;
import java.util.l... |
package com.baasbox.android.authentication;
import android.accounts.*;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import static android.accounts.AccountManager.KEY_BOOLEAN_RESULT;
import static com.baasbox.androi... |
package sg.edu.nus.iss.phoenix.user.entity;
/**
* Created by wengweichen on 25/9/18.
*/
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
public class User {
private String id;
private String name;
private String password;
private Arra... |
/*
* Copyright (C) 2016 RoboVM AB
*
* 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 ... |
package com.example.exercises;
import static java.util.stream.Collector.of;
import static java.util.stream.Collectors.groupingBy;
import java.util.function.BiConsumer;
import java.util.function.BinaryOperator;
import java.util.function.Supplier;
import com.example.dao.InMemoryWorldDao;
import com.example.dao.WorldDa... |
/*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
package ch.bbv.nosyparrot.backend.frameworks.springjpa;
import ch.bbv.nosyparrot.backend.core.entity.User;
import ch.bbv.nosyparrot.backend.core.entity.UserEntityGateway;
import ch.bbv.nosyparrot.backend.core.entity.UserFactory;
public class UserJpaEntityGateway implements UserEntityGateway {
private final UserJp... |
package cz.kb.openbanking.adaa.example.web.resource;
import static cz.kb.openbanking.adaa.example.core.configuration.AdaaProperties.getApiKey;
import static cz.kb.openbanking.adaa.example.core.configuration.AdaaProperties.getClientRegistrationUri;
import static cz.kb.openbanking.adaa.example.core.configuration.AdaaPro... |
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requ... |
/*
*
* Copyright 2017-2018 549477611@qq.com(xiaoyu)
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free Software Foundation.
*
* This program is distr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.