text stringlengths 7 995k |
|---|
/*
* Copyright 2011-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package net.minecraft.enchantment;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.EnumCreatureAttribute;
import net.minecraft.item.ItemAxe;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
i... |
package com.decompiler.bytecode.analysis.opgraph.op3rewriters;
import java.util.*;
import com.decompiler.bytecode.analysis.loc.BytecodeLoc;
import com.decompiler.bytecode.analysis.opgraph.InstrIndex;
import com.decompiler.bytecode.analysis.opgraph.Op03SimpleStatement;
import com.decompiler.bytecode.analysis.parse.LVa... |
package com.example.carparking.admin_panel;
public class StoreReviewData {
String message;
String comment;
public StoreReviewData(){
}
public StoreReviewData(String message, String comment) {
this.message = message;
this.comment = comment;
}
public String getMessage() {
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.androidintent;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.net.... |
package co.yixiang.modules.taibao.service.vo;
import co.yixiang.modules.taibao.domain.TbBillDrugs;
import co.yixiang.modules.taibao.domain.TbBillItem;
import co.yixiang.modules.taibao.domain.TbBillOtherItem;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.a... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
package com.microsoft.azure.sdk.iot.provisioning.service.configs;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import ... |
/*
* Copyright © 2016-2018 European Support 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 applica... |
//
// ========================================================================
// Copyright (c) 1995-2017 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
package com.jianfei.scanner;
import java.util.Scanner;
/**
* author: JianfeiMa
* email: majianfei93@163.com
* created date: 2019-09-20 18:17
*/
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while (true) {
String s = scanner.n... |
package de.bht.ebus.spotsome.services;
import java.util.List;
import de.bht.ebus.spotsome.model.AccessToken;
import de.bht.ebus.spotsome.model.SocialIdentity;
import de.bht.ebus.spotsome.model.User;
public interface UserService {
User getUserByAccessToken(AccessToken accessToken);
User getUserByAccessTokenStr(S... |
/*
* Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package com.oneso.hwhibernate.hibernate.dao;
import com.oneso.hwhibernate.core.dao.DaoException;
import com.oneso.hwhibernate.core.dao.UserDao;
import com.oneso.hwhibernate.core.model.User;
import com.oneso.hwhibernate.core.sessionmanager.SessionManager;
import com.oneso.hwhibernate.hibernate.sessionmanager.DatabaseSe... |
package edu.fiuba.algo3.modelo.policia;
import edu.fiuba.algo3.modelo.Mision;
import edu.fiuba.algo3.modelo.RegistroLadrones;
import edu.fiuba.algo3.modelo.edificios.Edificio;
import edu.fiuba.algo3.modelo.lectoresDeArchivos.LectorCiudades;
import edu.fiuba.algo3.modelo.lectoresDeArchivos.LectorMisiones;
import edu.fi... |
package android.support.v4.os;
import android.os.Parcel;
public abstract interface ParcelableCompatCreatorCallbacks<T>
{
public abstract T createFromParcel(Parcel paramParcel, ClassLoader paramClassLoader);
public abstract T[] newArray(int paramInt);
} |
/*
* Copyright 2014-2021 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 app... |
/*
* 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.fenogy.comix.fragment;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.os.Bundle;
import android.renderscript.Allocation;
import android.renderscript.Element... |
/*
* Copyright 2009-2014 PrimeTek.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
*/
package play.routing;
import org.junit.Test;
import play.api.routing.Router;
import play.libs.F;
import play.mvc.PathBindable;
import play.mvc.Result;
import play.mvc.Results;
import play.test.WithApplication;
import java.io.InputStream;
import... |
package com.github.kislayverma.rulette.rest.api.provider;
/**
* This enum represent the different types of data provider implementations supported
*/
public enum DataProviderType {
MYSQL
} |
/*********************************************************************************
* *
* The MIT License (MIT) *
* ... |
package com.wgl.gulimall.product.controller;
import java.util.Arrays;
import java.util.Map;
//import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.an... |
package a_Introductory;
public class Vector2D {
public Integer x, y;
Vector2D(Integer x, Integer y) {
this.x = x;
this.y = y;
}
/* Construct Vector2D from two points */
Vector2D(Point p1, Point p2) {
this.x = p2.x - p1.x;
this.y = p2.y - p1.y;
}
public int dotProduct(Vector2D v) {
return (x * v.... |
package com.devsh.tdd_android_example;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.Menu;
impor... |
/* file: Parameter.java */
/*******************************************************************************
* Copyright 2014-2017 Intel Corporation
* All Rights Reserved.
*
* If this software was obtained under the Intel Simplified Software License,
* the following terms apply:
*
* The source code, information an... |
package org.appfuse.webapp.pages.admin;
import org.apache.wicket.RestartResponseException;
import org.apache.wicket.model.ResourceModel;
import org.appfuse.webapp.listener.StartupListener;
import org.appfuse.webapp.pages.AbstractWebPage;
import org.wicketstuff.annotation.mount.MountPath;
/**
* Page for reloading an ... |
package org.tests.model.basic.xtra;
import io.ebean.xtest.BaseTestCase;
import io.ebean.DB;
import io.ebean.Transaction;
import io.ebean.xtest.IgnorePlatform;
import io.ebean.annotation.Platform;
import io.ebean.test.LoggedSql;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
imp... |
package com.ageoflegacy.aedit.ui.view.mobView;
import com.ageoflegacy.aedit.model.MudConstants;
import javax.swing.*;
import javax.swing.border.LineBorder;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import java.awt.*;
public class MudShopView {
private int keeper; // vnum of mobi... |
/*
* 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... |
/*
* Copyright 2016 WSO2, Inc. (http://wso2.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
/*
* Copyright (c) 2022 Amadeus
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
*
* Contributors:
* Amadeus - initial ... |
package projects.givemebackapi.repositoriesTests;
import java.util.Optional;
import javax.validation.ConstraintViolationException;
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import... |
/*
* JBoss, Home of Professional Open Source
*
* Copyright 2009 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/lic... |
package com.quorum.tessera.p2p.recovery;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Test;
public class ResendBatchResponseTest {
@Test
public void testCreate() {
ResendBatchResponse resendBatchResponse = new ResendBatchResponse(1);
assertThat(resendBatchResponse.getTotal(... |
/*
* Copyright (c) 2016 Stacktips {link: http://stacktips.com}.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... |
import javax.swing.JOptionPane;
/**
*
* @author cesar
*/
public class Programa extends javax.swing.JFrame {
Potencia objeto = new Potencia();
public Programa() {
initComponents();
setLocationRelativeTo(null);
setResizable(false);
jTextArea1.setEditable(false);
... |
package org.keycloak.testsuite.broker;
import static org.keycloak.models.IdentityProviderMapperSyncMode.FORCE;
import static org.keycloak.models.IdentityProviderMapperSyncMode.LEGACY;
import java.util.List;
import org.junit.Test;
import org.keycloak.admin.client.resource.IdentityProviderResource;
import org.keycloak... |
/*
* generated by Xtext
*/
package fr.unice.spinefm.validation;
/**
* Custom validation rules.
*
* see http://www.eclipse.org/Xtext/documentation.html#validation
*/
public class RestfuncDSLJavaValidator extends fr.unice.spinefm.validation.AbstractRestfuncDSLJavaValidator {
// @Check
// public void checkGreetingS... |
/**
* Copyright 2008 The Scribble 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 agreed ... |
package com.airxiechao.axcboot.communication.rest.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Get {
Str... |
package org.pcsoft.framework.jfex.controls.ui.component.cell.tree_table;
import javafx.beans.property.ObjectProperty;
import org.pcsoft.framework.jfex.controls.ui.component.cell.LocalDateCellPane;
import java.time.LocalDate;
import java.time.format.FormatStyle;
public class LocalDateTreeTableCell<T> extends TreeTa... |
/*
* 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 pl.stqa.pft.addressbook.model;
import com.google.common.collect.ForwardingSet;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
public class Contacts extends ForwardingSet<ContactData> {
private Set<ContactData> delegate;
public Contacts(Contacts contacts) {
this.delegat... |
/*
* Copyright 2006 The Closure Compiler 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... |
/*
* Copyright 2018 ConsenSys AG.
*
* 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 edu.rpi.tw.twks.cli.command;
import com.codahale.metrics.MetricRegistry;
import edu.rpi.tw.twks.api.TwksClient;
import edu.rpi.tw.twks.cli.GlobalArgs;
public abstract class Command {
public String[] getAliases() {
return new String[0];
}
public abstract GlobalArgs getArgs();
public a... |
package org.protege.editor.core.ui.workspace;
import org.coode.mdock.DynamicConfigPanel;
import org.protege.editor.core.ui.view.View;
import org.protege.editor.core.ui.view.ViewComponentPlugin;
import org.protege.editor.core.ui.view.ViewComponentPluginLoader;
import java.util.*;
/**
* Author: Matthew Horridge<br>
... |
/*
*AVISO LEGAL
© Copyright
*Este programa esta protegido por la ley de derechos de autor.
*La reproduccion o distribucion ilicita de este programa o de cualquiera de
*sus partes esta penado por la ley con severas sanciones civiles y penales,
*y seran objeto de todas las sanciones legales que correspondan.
*Su conteni... |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Copyright @ 2015 Atlassian Pty 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.or... |
package com.zxt.system.mapper;
import java.util.List;
import com.zxt.system.domain.SysRole;
/**
* 角色表 数据层
*
* @author zxt
*/
public interface SysRoleMapper
{
/**
* 根据条件分页查询角色数据
*
* @param role 角色信息
* @return 角色数据集合信息
*/
public List<SysRole> selectRoleList(SysRole role);
/**... |
/*
* 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 javax.mail;
/**
*
* @author Karitu Pavilion
*/
public class NewMain {
/**
* @param args the command line argument... |
package training.backtracking;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Function;
import static java.util.Arrays.asList;
import static java.util.Collections.singletonList;
import static util.CollectionUtil.deepEqualsIgnoreOutOrder;
/**
* 131. 分... |
package org.jetbrains.research.kotlinrminer.ide.diff.refactoring;
import org.apache.commons.lang3.tuple.ImmutablePair;
import org.jetbrains.research.kotlinrminer.common.replacement.Replacement;
import org.jetbrains.research.kotlinrminer.ide.Refactoring;
import org.jetbrains.research.kotlinrminer.common.RefactoringType... |
package com.heyue.wms.service;
import java.util.List;
import com.heyue.wms.domain.Areas;
/**
* 仓库区域Service接口
*
* @author wchu
* @date 2021-08-09
*/
public interface IAreasService
{
/**
* 查询仓库区域
*
* @param id 仓库区域ID
* @return 仓库区域
*/
public Areas selectAreasById(Long id);
... |
/*
* Copyright 2019 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
package com.marveldextra.couchbase_repository.repository;
import com.marveldextra.couchbase_repository.entity.Character;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;
import java.util.List;
public interface Cha... |
package com.datang.config;
import com.datang.common.xss.XssFilter;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.filter.DelegatingFilterProxy;
import ja... |
package com.denizenscript.depenizen.bukkit.bungee;
import com.denizenscript.depenizen.bukkit.Depenizen;
import com.denizenscript.depenizen.bukkit.bungee.packets.out.ControlsProxyCommandPacketOut;
import com.denizenscript.depenizen.bukkit.bungee.packets.out.ControlsProxyPingPacketOut;
import com.denizenscript.depenizen... |
package nortantis;
public enum IconType {
mountains,
hills,
sand,
trees,
cities
} |
package com.cloudhopper.smpp.ssl;
/*
* #%L
* ch-smpp
* %%
* Copyright (C) 2009 - 2013 Cloudhopper by Twitter
* %%
* 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 ca.uhn.fhir.validation;
import org.junit.jupiter.api.Test;
public class PlaceholderTest {
/**
* This is just here to make Jenkins happy
*/
@Test
public void testPass() {
// nothing
}
} |
package de.metas.contracts.subscription.invoicecandidatehandler;
import de.metas.common.util.CoalesceUtil;
import de.metas.contracts.IContractsDAO;
import de.metas.contracts.IFlatrateDAO;
import de.metas.contracts.invoicecandidate.ConditionTypeSpecificInvoiceCandidateHandler;
import de.metas.contracts.invoicecandidate... |
package com.rock.reliantdispatch.DataStoreLayer;
public class DataStoreManager {
private static DataStoreManager mInstance;
private ShipperVehicleListingStoreLayer VehicleListingStoreLayer;
private VinInfoStoreLayer vinInfoStoreLayer;
private LocationDataStoreLayer locationDataStoreLayer;
public st... |
/*
* -------------------------------------------------------------------
* Contact: a language and interactive shell for Riak
*
* Copyright (c) 2013 Dave Parfitt
*
* This file is provided to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in compliance with the Li... |
package pond.web.restful;
import pond.common.S;
import pond.common.f.Callback;
import pond.common.f.Tuple;
import pond.web.*;
import java.util.*;
/**
* Created by edwin on 3/12/2017.
*/
public class API extends Router {
public final String title;
public final String desc;
List<String> tags;
publi... |
/**
* Copyright 2016 JustWayward Team
* <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>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law... |
package org.typroject.tyboot.api.face.systemctl.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.typroject.tyboot.core.rdbms.model.BaseModel;
/**
* <p>
* 多媒体信息关联 model
* </p>
*
* @author 子杨
* @since 2018-12-04
*/
public class MediaInfoModel extends BaseModel {
private static final lon... |
package datadog.trace.instrumentation.akkahttp;
import static datadog.trace.bootstrap.instrumentation.api.AgentTracer.activeScope;
import akka.http.scaladsl.model.HttpRequest;
import akka.http.scaladsl.model.HttpResponse;
import akka.http.scaladsl.settings.ServerSettings;
import akka.stream.Attributes;
import akka.st... |
package br.edu.iff.pooa.relp.adapter;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayou... |
/*
* 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 poe.level.fx;
import com.jfoenix.controls.JFXAutoCompletePopup;
import com.jfoenix.controls.JFXButton;
import com.jfoenix.cont... |
package io.sentry.protocol;
import java.util.UUID;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public final class SentryId {
private final @NotNull UUID uuid;
public static final SentryId EMPTY_ID = new SentryId(new UUID(0, 0));
public SentryId() {
this((UUID) null... |
/*
* Copyright 2013 The Netty Project
*
* The Netty Project 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:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
package com.babylonhealth.lit.hl7_java.codes;
import com.babylonhealth.lit.hl7.REPORT_ACTION_RESULT_CODES;
public interface ReportActionResultCodes {
public static final REPORT_ACTION_RESULT_CODES ERROR = REPORT_ACTION_RESULT_CODES.ERROR$.MODULE$;
public static final REPORT_ACTION_RESULT_CODES FAIL = REPORT_ACTIO... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/*
Copyright (C) 2013-2020 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 to in wri... |
package com.joyfulmath.agileexample;
import android.util.Log;
import java.util.Locale;
public class TraceLog {
private static class LogLine {
private String tag;
private String text;
public LogLine(String tag, String text) {
this.tag = tag;
this.text = text;
}
}
private static LogLine concatLogLi... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.datalakeanalytics.implementation;
import com.azure.resourcemanager.datalakeanalytics.fluent.models.StorageAccountInformationInne... |
/*
* Copyright 2011-2019 GatlingCorp (https://gatling.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 required by appli... |
/**
* Copyright (c) 2016, 2021, 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... |
/*
*AVISO LEGAL
© Copyright
*Este programa esta protegido por la ley de derechos de autor.
*La reproduccion o distribucion ilicita de este programa o de cualquiera de
*sus partes esta penado por la ley con severas sanciones civiles y penales,
*y seran objeto de todas las sanciones legales que correspondan.
*Su conteni... |
/*
* 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... |
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/* Copyright (c) 2001-2018, David A. Clunie DBA Pixelmed Publishing. All rights reserved. */
package com.pixelmed.database;
import com.pixelmed.dicom.*;
import com.pixelmed.query.QueryResponseGeneratorFactory;
import com.pixelmed.query.RetrieveResponseGeneratorFactory;
import java.sql.*;
import java.util.*;
import ... |
package com.bingstar.bingmall.cart.view;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.widget.Button;
import and... |
package com.indexdata.masterkey.localindices.oaipmh.server.handler.implement.mockup;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;
import com.indexdata.masterkey.localindices.oaipmh.server.handler.OaiPmhResponse;
public class MockupOaiPmhResponse implements OaiPmhResponse {
/... |
package com.tazine.evo.db;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* TDDL 配置Bean
*
* @author jiaer.ly
* @date 2018/04/12
*/
@ConfigurationProperties(prefix = "spring.tddl")
public class EvoMybatisProperties {
private String mapperLocations;
private String typeAlia... |
/*
* 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 ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/**
* Copyright (c) 2008-2021 Bird Dog Games, Inc.
*
* This file is part of Ardor3D.
*
* Ardor3D is free software: you can redistribute it and/or modify it
* under the terms of its license which may be found in the accompanying
* LICENSE file or at <https://git.io/fjRmv>.
*/
package com.ardor3d.scenegraph.exte... |
package cn.home1.logging.log4j2;
import static org.springframework.web.bind.annotation.RequestMethod.POST;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import... |
package com.example.dell.demo.OfferHelpRelative;
/*该类是历史帮助订单记录,其对象作为数据传给RecyclerView*/
import com.example.dell.demo.User;
public class OfferHelpRecord {
//以下为显示的属性
private String orderId;
private User seeker;
private String orderNotes;
private String orderStatus;
//以下为折叠的属性
private Stri... |
/*
* Copyright 2019-2020 Douglas Kaip
*
* 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 com.dop.exceptions;
/**
* @author asus
*
*/
public class UserAlreadyExistsException extends Exception {
/**
*
*/
private static final long serialVersionUID = 1L;
private int userId;
public UserAlreadyExistsException(int userId) {
this.userId = userId;
}
public String getMessage() ... |
/*
* Copyright 2019 The Closure Compiler 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... |
package br.com.itau.desafio.service.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
... |
package com.reddoor.tradesystem.mapper.authority;
import java.util.List;
import com.reddoor.tradesystem.domain.authority.SysUserRole;
import com.reddoor.tradesystem.domain.authority.SysUserRoleExample;
public interface SysUserRoleMapper {
List<SysUserRole> selectByExample(SysUserRoleExample example);
} |
package org.prajvalk.evosim.neuralnetwork;
import org.prajvalk.evosim.shared.Shared;
import org.prajvalk.openwork.graphics.OpenWorkColor;
import org.prajvalk.openwork.graphics.OpenWorkTexture;
import org.prajvalk.openwork.utility.Colors;
public class Player {
float fitness;
Genome brain;
float[] vision = ... |
package org.seqcode.viz.components;
import java.util.*;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.table.*;
import org.seqcode.genome.Genome;
import org.seqcode.gseutils.*;
/**
* GenericSelectPanel is a panel with two table areas - one to hold a filterable list, and one t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.