text stringlengths 7 1.01M |
|---|
package es.GameSquare.GameSquareApp;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import o... |
package org.josfranmc.factory;
public interface IMultimediaFile {
void play();
}
|
/*
* Copyright 2015 JBoss 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 i... |
/*
* Copyright (C) 2014 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 applicable l... |
/*
* Copyright 2016-2021 DiffPlug
*
* 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.muli.java.shoppingcartbackend.dao;
import java.util.List;
import com.muli.java.shoppingcartbackend.dto.Category;
public interface CategoryDAO {
public List<Category> getCategoryList();
public Category getCategory(int id);
}
|
/*
* Copyright 2012-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package org.areco.ecommerce.deploymentscripts.jalo;
/**
* Represents a group of servers where the deployment scripts may run.
*/
public class DeploymentEnvironment extends GeneratedDeploymentEnvironment {
// We don't have any jalo method.
}
|
/*
* Copyright (C) 2009 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.yeungeek.monkeyandroid.util;
/**
* Created by yeungeek on 2016/4/3.
*/
public interface ImageSize {
String AVATAR_120 = "&s=120";
}
|
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 查询企业可用商户信息
*
* @author auto create
* @since 1.0, 2021-09-24 16:47:19
*/
public class AlipayEbppInvoiceExpensesceneMerchantQueryModel extends AlipayObject {
private static final... |
package com.getcapacitor.plugin.notification;
import android.content.ContentResolver;
import android.content.Context;
import com.getcapacitor.JSArray;
import com.getcapacitor.JSObject;
import com.getcapacitor.Logger;
import com.getcapacitor.PluginCall;
import com.getcapacitor.plugin.util.AssetUtil;
import java.text.Pa... |
package com.rodiconmc.rodisongsaver;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.command.TabExecutor;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import java.util.ArrayList;
import java.util.List;
public class Record... |
package aademo.superawesome.tv.awesomeadsdemo.activities.creatives.bitmap;
import android.graphics.Bitmap;
public interface BitmapListener {
void gotBitmap (Bitmap bitmap);
void noBitmap ();
}
|
/*
* 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... |
/*
* HE_Mesh Frederik Vanhoutte - www.wblut.com
*
* https://github.com/wblut/HE_Mesh
* A Processing/Java library for for creating and manipulating polygonal meshes.
*
* Public Domain: http://creativecommons.org/publicdomain/zero/1.0/
*/
package wblut.hemesh;
import java.util.Collection;
import java.util.Lis... |
/*
* 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 net.predictblty.machinelearning.mlcommon;
import com.hazelcast.config.Config;
import com.hazelcast.config.NetworkConfig;
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.util.Base64;
import java.io.Serializable;
import java.nio.ByteBuffer;
import java.util... |
/*
* Copyright (c) 2011-2017 Pivotal Software Inc, All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... |
/*
* Copyright (c) 2021, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
package com.salesforce.apollo.crypto;
import static java.util.Objects.requireNonNull;
impo... |
package sets;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2005</p>
*
* <p>Company: </p>
*
* @author Prof. Weining Zhang
* @version 1.0
*/
public class EmptySetException
extends RuntimeException{
public EmptySetException(){
super ("Set is Empty");
}
public Em... |
/*
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright (C) 2014 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 requir... |
package com.kelin.mvvmlight.zhihu.news;
import java.util.List;
import retrofit2.http.GET;
import rx.Observable;
/**
* Created by kelin on 16-4-26.
*/
public interface TopNewsService {
@GET("/api/4/news/latest")
public Observable<News> getTopNewsList();
public class News {
private String date;... |
package org.genyris.java;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.genyris.core.Exp;
import org.genyris.core.Internable;
import org.genyris.core.Symbol;
import org.genyris.exception.GenyrisException;
import org.genyris.interp.Closure;
import org.genyris.interp.En... |
package seedu.address.ui;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Region;
import seedu.address.model.student.Student;
/**
* A UI component that displays information of a {@code Student}.
*/
public class StudentCard extends UiPart<Region... |
package cn.fivestars.pagehelperdemo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@SpringBootApplication
@EnableTransactionManagement
public class PageHelperDemoApp... |
/*
* Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*
* Copyright 2004-2019 H2 Group. Multiple-Licensed under the MPL 2.0,
* and the EPL 1.0 (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.gridgain.internal.h2.tools;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
impor... |
package eu.minemania.watson.scheduler;
import eu.minemania.watson.Reference;
import eu.minemania.watson.chat.ChatMessage;
import eu.minemania.watson.config.Configs;
import eu.minemania.watson.data.DataManager;
import fi.dy.masa.malilib.interfaces.IClientTickHandler;
import net.minecraft.client.Minecraft;
public class... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.greatwqs.mubian.servlet;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.h... |
package com.covid.backend.controller.doctor;
import com.covid.backend.service.doctor.CreateDoctorService;
import com.covid.backend.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Reque... |
package com.googlecode.totallylazy.transducers;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
import static com.googlecode.totallylazy.transducers.State.Continue;
import static com.googlecode.totallylazy.transducers.State.Stop;
public class ListSubject<T> implements Subject<T> {
protec... |
package me.Wundero.Ray.config;
/*
The MIT License (MIT)
Copyright (c) 2016 Wundero
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 right... |
/*
*
* Copyright (c) 2017 Otávio Santana and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
* The Eclipse Public License is available at http:/... |
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit... |
/*
* Copyright 2017-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 applicabl... |
package com.hasindu.userdetailsmanagamentsystem.service;
import com.hasindu.userdetailsmanagamentsystem.dto.LoginHistoryDTO;
import org.springframework.stereotype.Service;
import java.util.List;
/**
*Login History Service
*/
public interface LoginHistoryService {
List<LoginHistoryDTO> getAllLoginHistories();
... |
package com.iut.james.dao;
import com.iut.james.beans.Command;
import com.iut.james.beans.User;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface CommandRepository extends JpaRepository<Command, Integer> {
List<Command> findAll();
List<Command> findAllById... |
package cn.leiyy.modules.system.service.impl;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import cn.leiyy.common.exception.BizExceptionEnum;
import cn.leiyy.common.exception.BussinessException;
import cn.leiyy.modules.system.dao.DictDao;
import cn.leiyy.modules... |
package org.usfirst.frc.team2832.robot.commands;
import org.usfirst.frc.team2832.robot.Robot;
import edu.wpi.first.wpilibj.command.Command;
public class TurnGyro extends Command {
double startAngle;
double targetAngle;
int finishedCounts;
final double TARGET_ANGLE = 2.0;
final int GOAL_COUNTS = 12; //each co... |
package com.conveyal.data.census;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.util.stream.Stream;
/**
* Import data from the US Census into a seamless store in S3 or on disk.
*/
public class CensusLoader {
protected static final Logger LOG = LoggerFactory.getLogger... |
/*
* Copyright (C) 2014 Indeed 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 ... |
package za.co.neildutoit.jSatisfactorySaveLoader.game.buildable.factory;
import za.co.neildutoit.jSatisfactorySaveLoader.game.SaveObjectClass;
@SaveObjectClass("/Game/FactoryGame/Buildable/Factory/GeneratorCoal/Build_GeneratorCoal.Build_GeneratorCoal_C")
public class GeneratorCoal extends FGBuildableGeneratorFuel {
}... |
/*
* Copyright 2000-2014 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.sun.corba.se.spi.activation;
/**
* com/sun/corba/se/spi/activation/EndPointInfoHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u66/5298/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl
* Monday, ... |
/*
Copyright 2020. Huawei Technologies Co., Ltd. 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 cn.zealon.notes.common.result;
/**
*
* http 状态码
* ----------------------------------------------------------------------------
* 200 OK - [GET]:服务器成功返回用户请求的数据,该操作是幂等的(Idempotent)。
* 400 INVALID REQUEST - [POST/PUT/PATCH]:用户发出的请求有错误,服务器没有进行新建或修改数据的操作,该操作是幂等的。
* 401 Unauthorized - [*]:表示用户没有权限(令牌、用户名、密码错误... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
package studio.thevipershow.systeminfo.commands;
import java.util.Collections;
import studio.thevipershow.systeminfo.enums.Messages;
import studio.thevipershow.systeminfo.oshi.SystemValues;
import studio.thevipershow.systeminfo.utils.Utils;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
p... |
/**
* Licensed to Apereo under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. Apereo
* licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compli... |
package in.mcxiv.ai.convnet.layers.loss;
import in.mcxiv.ai.convnet.DoubleBuffer;
import in.mcxiv.ai.convnet.Vol;
import in.mcxiv.ai.convnet.net.Layer;
import in.mcxiv.ai.convnet.net.VP;
import in.mcxiv.annotations.VPConstructor;
import java.util.ArrayList;
import static in.mcxiv.ai.convnet.Util.zeros;
public class... |
package com.huaweicloud.sdk.ecs.v2.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.function.Consumer;
/**
*
*/
public class NovaSecurityGroup {
@Json... |
package com.devonfw.cobigen.templates.devon4j.test.utils.resources;
import java.util.List;
import java.util.Set;
import javax.ws.rs.GET;
import javax.ws.rs.PathParam;
import com.devonfw.cobigen.templates.devon4j.test.utils.resources.dataaccess.api.DeepEntity;
@SuppressWarnings("javadoc")
public class TestClass {
... |
/*
* Copyright 2013-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... |
/*
* Copyright (C) 2020 ActiveJ 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
*
* Unless required by applicable law or agreed to... |
package io.airlift.stats;
import io.airlift.units.Duration;
import java.util.Random;
import java.util.concurrent.TimeUnit;
public class BenchmarkQuantileDigest
{
public static void main(String[] args)
throws Exception
{
Duration warmupTime = new Duration(3, TimeUnit.SECONDS);
Dura... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright 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 cn.skill6.common.utility;
import cn.skill6.common.constant.Encode;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections.MapUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.http.HttpEntity;
import org.apache.http.NameValuePair;
import org.apache.http.ParseExceptio... |
/*
* Copyright (C) 2012 United States Government as represented by the Administrator of the
* National Aeronautics and Space Administration.
* All Rights Reserved.
*/
package gov.nasa.worldwind.render;
import gov.nasa.worldwind.avlist.AVKey;
import gov.nasa.worldwind.cache.GpuResourceCache;
import gov.nas... |
/**
* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*
* Copyright (c) 2012 - SCAPI (http://crypto.biu.ac.il/scapi)
* This file is part of the SCAPI project.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Permission is hereby granted, free of charge, to any pe... |
/*
* Central Repository
*
* Copyright 2011-2018 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www... |
/*
* ____ _ ____ _ _ _____ ___ _
* / ___| / \ | _ \| \ | |_ _\ \ / / \ | |
* | | / _ \ | |_) | \| || | \ \ / / _ \ | |
* | |___/ ___ \| _ <| |\ || | \ V / ___ \| |___
* \____/_/ \_\_| \_\_| \_|___| \_/_/ \_\_____|
*
* https://github.com/yingzhuo/carnival
*/
package com.github.... |
/*
* Copyright (c) 2000 by Matt Welsh and The Regents of the University of
* California. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, without fee, and without written agreement is
* hereby granted, provided that the above copyrig... |
package de.fraunhofer.iem.icognicrypt.IdeSupport.projects.Outputs;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.project.Project;
import de.fraunhofer.iem.icognicrypt.exceptions.CogniCryptException;
import de.fraunhofer.iem.icognicrypt... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright 2011 Tyler Blair. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of
* conditio... |
/**
* Copyright (c) 2003, www.pdfbox.org
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of con... |
/*
* 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.sxzheng.tasklibrary;
/**
* @author zheng.
*/
public abstract class TimerStackTask<T> extends Task {
}
|
package com.doo.xenchant.mixin;
import com.doo.xenchant.events.ItemApi;
import com.doo.xenchant.util.EnchantUtil;
import com.google.common.collect.Multimap;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.world.entity.EquipmentSlot;
import net.minecraft.world.entity.ai.attributes.Attribute;
import... |
package br.com.randomthings.services.sub_category;
import br.com.randomthings.domain.SubCategory;
import br.com.randomthings.services.IService;
public interface SubCategoryService extends IService<SubCategory, Long> {
}
|
package uk.gov.hmcts.probate.transformer.reset;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import uk.gov.hmcts.probate.model.ccd.raw.request.CaseData;
import uk.gov.hmcts.probate.model.ccd.raw.response.ResponseCaseData;
import uk.gov.hmcts.proba... |
// Copyright 2000-2019 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.openapi.updateSettings.impl;
import com.intellij.ide.IdeBundle;
import com.intellij.ide.plugins.*;
import com.intellij.ide.startup.StartupActionScriptManager... |
package com.trojan.ajay.hw_9;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.support.v4.view.ViewPager;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.support.design.widget.TabLayout;
imp... |
/*
* 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... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/service.proto
package com.clarifai.grpc.api;
public interface ModelVersionPublishRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.ModelVersionPublishRequest)
com.google.protobuf.Message... |
/*
* Copyright (c) 2008-2016, GigaSpaces Technologies, 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
*
* Un... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos.models;
import com.azure.core.util.IterableStream;
import com.azure.core.util.paging.ContinuablePage;
import com.azure.cosmos.BridgeInternal;
import com.azure.cosmos.CosmosDiagnostics;
import com.a... |
/**
* Copyright (c) 2016 eBay Software Foundation. All rights reserved.
*
* Licensed under the MIT license.
*
* 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, in... |
package me.zuichu.staticdemo.base;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
/**
* Created by office on 2018/4/13.
*/
public class BaseActivity extends AppCompatActivity {
@Override
protected void onCreate(@Nullable Bundle savedI... |
package com.github.marcindabrowski.example.nbpcurrencyexchange.domain.service;
import java.math.BigDecimal;
import static java.math.RoundingMode.HALF_UP;
class CurrencyExchanger {
private static final int RESULT_PRECISION = 2;
public BigDecimal getAccountBalanceAfterExchange(BigDecimal accountBalance, BigDe... |
package com.jetbrains.ther.psi.stubs;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.stubs.*;
import com.intellij.util.io.StringRef;
import com.jetbrains.ther.psi.TheRAssignmentStatementImpl;
import com.jetbrains.ther.psi.api.TheRAssignmentStatement;
import com.jetbrains.... |
package com.hc.musclesensordemo.activity;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.hc.basiclibrary.ioc.OnClick;
import com.hc.basiclibrary.ioc.ViewById;
import com.hc.basiclibrary.titleBasic.DefaultNavigationBar;
import com.hc.basicl... |
package com.softeng.ticket_application.model;
/**
*
*
* @author Argiris Sideris
*/
public class SimpleGate {
private int id;
private String name;
private int capacity;
private int occupied;
public SimpleGate() {
// Default constructor
}
public int getId() ... |
/*
* Copyright 2016-2019 David Karnok
*
* 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... |
// 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.psi;
import com.intellij.pom.java.LanguageLevel;
import com.intellij.psi.javadoc.PsiDocComment;
import com.intellij.psi.javadoc.PsiDocTag;
import com.intelli... |
/*
* 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... |
package org.eclipse.scout.healthcare.shared.order;
import javax.annotation.Generated;
import org.eclipse.scout.rt.shared.data.basic.table.AbstractTableRowData;
/**
* <b>NOTE:</b><br>
* This class is auto generated by the Scout SDK. No manual modifications recommended.
*/
@Generated(value = "org.eclipse.scout.heal... |
package edu.virginia.vcgr.genii.client.cmd.tools;
import java.io.IOException;
import java.io.PrintWriter;
import edu.virginia.vcgr.genii.client.cmd.InvalidToolUsageException;
import edu.virginia.vcgr.genii.client.cmd.ReloadShellException;
import edu.virginia.vcgr.genii.client.cmd.ToolException;
import edu.virginia.vc... |
package com.eloli.fakechat.core.config;
public abstract class Migrater {
public abstract void migrate(Configure from, Configure to);
}
|
package strategyduckapp;
public class RedheadDuck extends Duck {
public RedheadDuck() {
this.quackBehaviour = new Quack();
this.flyBehaviour = new FlyWithWings();
}
@Override
public void display() {
System.out.println("Picture of a readhead duck");
}
} |
import static java.util.Collections.EMPTY_LIST;
import static org.junit.Assert.assertNotNull;
public class AnonymousClassJUnit4 {
@org.junit.Test
public void testNotNull() {
assertNotNull(EMPTY_LIST);
}
} |
package io.deephaven.db.v2.tuples.generated;
import io.deephaven.datastructures.util.SmartKey;
import io.deephaven.db.tables.utils.DBDateTime;
import io.deephaven.db.tables.utils.DBTimeUtils;
import io.deephaven.db.util.BooleanUtils;
import io.deephaven.db.util.tuples.generated.LongByteDoubleTuple;
import io.deephaven... |
package com.google.maps.android.data.geojson;
import com.google.android.gms.maps.model.LatLng;
import org.junit.Test;
import org.junit.Assert;
import java.util.ArrayList;
public class GeoJsonLineStringTest {
GeoJsonLineString ls;
@Test
public void testGetType() throws Exception {
ArrayList<Lat... |
// @(#)$Id: PreorderedCompareTo.java,v 1.5 2005/07/07 21:03:09 leavens Exp $
// Copyright (C) 2005 Iowa State University
//
// This file is part of the runtime library of the Java Modeling Language.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser Gener... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/**
* Copyright 2009 Humboldt-Universität zu Berlin.
*
* 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... |
/*
* Copyright 2004-2012 the Seasar Foundation and the Others.
*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.