text stringlengths 7 995k |
|---|
package com.it.service;
import com.it.bean.bo.HeadLine;
import com.it.bean.dto.Result;
public interface HeadLineService {
Result<Boolean> addHeadLine(HeadLine headLine);
} |
package equalsverifier.coverage;
import equalsverifier.testhelpers.types.Color;
public final class HandwrittenGetClassPoint {
private final int x;
private final int y;
private final Color color;
public HandwrittenGetClassPoint(int x, int y, Color color) {
this.x = x;
this.y = y;
... |
package io.swagger.v3.oas.integration.api;
import io.swagger.v3.oas.models.OpenAPI;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
public interface OpenAPIConfiguration {
Set<String> getResourcePackages();
Set<String> getResourceClasses();
String getReaderClass();
String ... |
/**
* 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 org.jakartaeeprojects.coffee.orders.control;
import org.jakartaeeprojects.coffee.orders.entity.CoffeeOrder;
import org.jakartaeeprojects.coffee.orders.entity.CoffeeRequest;
import java.util.Collection;
import java.util.Optional;
@OrderJPA
public class OrderJPARepository implements OrderRepository {
@Ove... |
package net.roaringmind.slimechunkf3;
import static com.mojang.brigadier.arguments.LongArgumentType.getLong;
import static com.mojang.brigadier.arguments.LongArgumentType.longArg;
import static net.fabricmc.fabric.api.client.command.v1.ClientCommandManager.argument;
import static net.fabricmc.fabric.api.client.command... |
/*
* Copyright 2014-2019 Logo Business Solutions
* (a.k.a. LOGO YAZILIM SAN. VE TIC. A.S)
*
* 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.... |
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int T = scan.nextInt();
while(T-- > 0) {
int N = scan.nextInt();
System.out.println((N/2)*6 + 4*(N%2));
}
}
} |
/*******************************************************************************
* Copyright 2017 Charles University in Prague
*
* 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
*
... |
/*
* #%L
* SciJava Common shared library for SciJava software.
* %%
* Copyright (C) 2009 - 2017 Board of Regents of the University of
* Wisconsin-Madison, Broad Institute of MIT and Harvard, Max Planck
* Institute of Molecular Cell Biology and Genetics, University of
* Konstanz, and KNIME GmbH.
* %%
* Redistri... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
/*
* Copyright 2018 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.profiler;
import com.android.tools.adtui.*;
import com.android.tools.adtui.chart.linechart.DurationDataRenderer;
import com.andr... |
/*
* Copyright 2010 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... |
// This file is made available under Elastic License 2.0.
// This file is based on code available under the Apache license here:
// https://github.com/apache/incubator-doris/blob/master/fe/fe-core/src/main/java/org/apache/doris/catalog/ScalarType.java
// Licensed to the Apache Software Foundation (ASF) under one
// ... |
package io.github.eliux.mega.cmd;
import java.util.Arrays;
import java.util.List;
public class MegaCmdMove extends AbstractMegaCmdRunnerWithParams {
private final String sourceRemotePath;
private final String remoteTarget;
public MegaCmdMove(String sourceRemotePath, String remoteTarget) {
this.... |
package com.dwarfeng.settingrepo.impl.handler.formatter;
import com.dwarfeng.settingrepo.impl.handler.FormatterMaker;
import com.dwarfeng.settingrepo.impl.handler.FormatterSupporter;
import java.util.Objects;
/**
* ๆฝ่ฑกๆ ผๅผๅๅจๆณจๅใ
*
* @author DwArFeng
* @since 1.0.0
*/
public abstract class AbstractFormatterRegistry ... |
/*
* (c) Copyright 2019 Palantir 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
*
* Unless ... |
/*
* Copyright 2013-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... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.userguide.events;
import javax.persistence.Entity;
import ja... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
package com.microsoft.azure.toolkit.ide.springcloud;
import com.microsoft.azure.toolkit.ide.common.IActionsContributor;
import com.microsoft.azure.toolkit... |
package ro.pub.cs.systems.eim.practicaltest02;
import android.util.Log;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java... |
package org.grails.datastore.mapping.model.lifecycle;
/**
* Interface for object that requires explicit initialization
*
* @author Graeme Rocher
* @since 1.0
*/
public interface Initializable {
/**
* Call to initialize the object
*/
void initialize();
boolean isInitialized();
} |
package com.ke.css.cimp.fwb.fwb6;
/* -----------------------------------------------------------------------------
* Rule_OTH.java
* -----------------------------------------------------------------------------
*
* Producer : com.parse2.aparse.Parser 2.5
* Produced : Tue Mar 06 10:37:30 KST 2018
*
* ------------... |
package com.doublerobot;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.control.cell.TextFieldTableCell;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
/**
* Example of how to bind... |
/*
* 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.musicfm.cloud.MusicFM.customviews;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.LinearGradient;
import android.graphics.Paint;
import android.graphics.Shader;
import android.util.AttributeSet;
import android.view.View;
import com.mu... |
/*
* Copyright 2000-2011 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.leflat.jass.test;
import com.leflat.jass.server.ArtificialPlayer;
import com.leflat.jass.server.GameController;
import com.leflat.jass.server.PlayerLeftExpection;
import java.io.IOException;
public class TestComputerPlayer {
public TestComputerPlayer() throws PlayerLeftExpection {
var playe... |
package com.ruoyi.acad.form;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.acad.client.ClientSearchCriteria;
i... |
package com.winonetech.jhpplugins.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.StringTokenizer;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
imp... |
package com.alibaba.chaosblade.box.toolsmgr.helm;
import com.alibaba.chaosblade.box.toolsmgr.api.Request;
import lombok.Data;
/**
* @author yefei
*/
@Data
public class HelmRequest extends Request {
private String name;
private String namespace;
private String kubeconfig;
} |
package com.pintuan.model;
import com.supyuan.component.base.BaseProjectModel;
import com.supyuan.jfinal.component.annotation.ModelBind;
@ModelBind(table = "pt_poster_board",key = "bor_id")
public class PosterBoard extends BaseProjectModel<PosterBoard> {
private static final long serialVersionUID = 1L;
public stat... |
@FunctionalInterface
public interface StringConcat {
void makeString(String s1, String s2);
} |
package com.thanosfisherman.wifiutils;
import android.os.Build;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import com.thanosfisherman.wifiutils.wifiConnect.ConnectionScanResultsListener;
import com.thanosfisherman.wifiutils.wifiConnect.ConnectionS... |
package cn.ucai.superwechat.bean;
/**
* Contact entity. @author MyEclipse Persistence Tools
*/
public class Contact extends User implements java.io.Serializable {
private static final long serialVersionUID = -2183229871248294573L;
/**
*
*/
// Fields
private Integer mcontactId;
private Integer mcontactUse... |
package org.drip.sample.forwardratefuturesfeed;
import org.drip.feed.transformer.FundingFuturesClosesReconstitutor;
import org.drip.service.env.EnvManager;
/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/
/*!
* Copyright (C) 2017 Lakshmi Krishnamurthy
* Copyright (C) 2016 Lakshm... |
package ru.job4j.array;
// ัะพััะธัะพะฒะบะฐ ะผะฐััะธะฒะฐ ะผะตัะพะดะพะผ ะฟะตัะตััะฐะฝะพะฒะบะธ
public class BubbleSort {
public int[] sort(int[] array) {
for (int i = array.length - 1; i > 0; i--) {
for (int j = 0; j < i; j++) {
if (array[j] > array[j + 1]) {
int tmp = array[j];
... |
package graal.systems.examples;
import org.apache.commons.codec.binary.Base64OutputStream;
import org.apache.commons.net.io.CopyStreamAdapter;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.security.TokenCache;
import org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier;
import org.apach... |
package conglin.clrpc.extension.traffic.channel;
import conglin.clrpc.common.Initializable;
import conglin.clrpc.common.registry.ServiceLogger;
import conglin.clrpc.global.role.Role;
import conglin.clrpc.service.context.ContextAware;
import conglin.clrpc.service.context.RpcContext;
import conglin.clrpc.service.context... |
package com.saven.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
@Configuration
public class WebConfig extends WebMvcConfigurerAdapt... |
package de.evoid.weather;
public interface WeatherListener {
public void onWeatherForecast(WeatherForecast forecast);
} |
// Copyright (c) 2003-present, Jodd Team (http://jodd.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,
// th... |
/**
* 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 ma... |
package com.ebanswers.kitchendiary.mvp.login;
import android.content.Intent;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import androidx.annotation.Nullable;
import com.ebanswers.kitchend... |
/*
* channel-email
*
* Copyright (c) 2021 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.alert.channel.email.attachment.compatibility;
import java.time.OffsetDateTim... |
package bankloans;
import bankloans.Main.ContractType;
public class HousingLoan implements Loan {
private String loanType;
@Override
public String calculateAcceptance(Applicant applicant) {
String status = "Rejected";
if (applicant.getEmployment_status().equalsIgnoreCase("Y") &&
applicant.getContr... |
/*
* Copyright ยฉ 2019 Cask Data, 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... |
/*
* Copyright 2020 StreamSets 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 edu.gemini.aspen.gmp.tcs.model;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* Unit test for the TCS Context Simulator
*/
public class SimTcsContextFetcherTest {
private static final double TOLERANCE = 0.0000001;
private final double[] goodData = new double[]{1, 2, 3, ... |
/*
* 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... |
/*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package com.sequenceiq.datalake.flow.delete.event;
import com.sequenceiq.datalake.flow.SdxEvent;
public class StackDeletionSuccessEvent extends SdxEvent {
public StackDeletionSuccessEvent(Long sdxId, String userId) {
super(sdxId, userId);
}
@Override
public String selector() {
return... |
package life.catalogue.release;
import com.google.common.io.Files;
import life.catalogue.WsServerConfig;
import life.catalogue.api.model.Dataset;
import life.catalogue.api.vocab.ImportState;
import life.catalogue.api.vocab.Users;
import life.catalogue.dao.DatasetImportDao;
import life.catalogue.dao.TreeRepoRule;
impor... |
package ass2;
/**
* Created with IntelliJ IDEA.
* User: abx
* Date: 27/04/2015
* Time: 11:50 AM
* Created for ass2 in package ass2
* @author abx
* @author (your name and id)
* @see ass2.crawlreader.CrawlReader
*/
import ass2.crawlreader.CrawlReader;
import javafx.animation.*;
import javafx.application.Applic... |
// Copyright 2015 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... |
/*
* 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 org.mixer2.jaxb.xhtml;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml... |
package com.example.testmvpapp.base;
public class BasePresenter<T extends BaseContract.BaseView> implements BaseContract.BasePresenter<T> {
protected T mView;
@Override
public void attachView(T view) {
this.mView = view;
}
@Override
public void detachView() {
if (mView != nul... |
/*
* 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 org.jurasciix.vkapi.exception;
import org.jurasciix.vkapi.model.Error;
@Deprecated
public class UncheckedApiException extends RuntimeException {
private final Error error;
public UncheckedApiException(Error error) {
this.error = error;
}
public Error getError() {
return erro... |
/*
* Copyright 2014 dm.
*
* 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 writ... |
/**
* 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 test.com.mymark.app.service;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import org.slf4j.Logger;
import org.slf4j... |
/*-
* ============LICENSE_START=======================================================
* ONAP - SO
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* =============================================================... |
package SecondToFiveth;
public class MathRandom {
public static void main(String[] args) {
int randNum = (int)Math.random();
System.out.println("์์์ ๋์ = " + randNum);
// ์ด ๊ฒฐ๊ณผ๋ ๊ณ์ 0์ด ๋์ฌ ๊ฒ์ด๋ค.
// ์? 0.0 ์ด์ 1.0 ๋ฏธ๋ง์ ๊ฐ์ด ๋์ค๊ธฐ ๋๋ฌธ์ด๋ค.
// intํ์ ๋ง๊ฒ ์ซ์๋ฅผ ๊ณ ์น๊ณ ํ๋ณํ ํด์ฃผ๋ฉด ๋๋ค.
randNum ... |
package commands;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import communication.Packet;
import model.Data;
import model.Parser;
import model.Turtle;
/**
* Ask is a command object called by the user and instantiated by a Parser object
* It sets the acti... |
package io.quarkus.mongodb.rest.data.panache.deployment;
import io.quarkus.gizmo.BytecodeCreator;
import io.quarkus.gizmo.ResultHandle;
/**
* Implement data access logic for a specific data access strategy.
*/
public interface DataAccessImplementor {
/**
* Find an entity by ID and return a result.
*
... |
/*
* Copyright 2007-present 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 b... |
package li.cil.oc.api.machine;
/**
* A single signal that was queued on a machine.
* <p/>
* This interface is not intended to be implemented, it only serves as a return
* type for {@link Machine#popSignal()}.
*/
public interface Signal {
/**
* The name of the signal.
*/
String name();
/**
... |
/**
* Copyright 2013 Dennis Ippel
*
* 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... |
/**
* Copyright (c) 2010-2018 by the respective copyright holders.
*
* 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 available at
* http://www.eclipse.org/legal/epl-v10.html
*/... |
package com.rikonardo.kiorm.queries.builders;
import com.rikonardo.kiorm.KiORM;
import com.rikonardo.kiorm.exceptions.InvalidDocumentClassException;
import com.rikonardo.kiorm.exceptions.InvalidQueryException;
import com.rikonardo.kiorm.exceptions.RuntimeSQLException;
import com.rikonardo.kiorm.serialization.DocumentP... |
/*
* Copyright 2013-2022 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) 2017-2020. Nitrite 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 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
* distri... |
package com.elad.themovie.service.repository.network.api;
import com.elad.themovie.service.repository.storge.model.Movie;
import java.util.ArrayList;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import static com.elad.themovie.Constants.API_KEY_REQUEST_PARAM;
import static com.elad.... |
package tech.jhipster.lite.generator.server.sonar.domain;
import static tech.jhipster.lite.generator.project.domain.DefaultConfig.BASE_NAME;
import static tech.jhipster.lite.generator.project.domain.DefaultConfig.PROJECT_NAME;
import static tech.jhipster.lite.generator.server.sonar.domain.Sonar.getMavenPluginVersion;
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.ai.formrecognizer.implementation;
import com.azure.ai.formrecognizer.models.TextAppearance;
import com.azure.ai.formrecognizer.models.FormLine;
/**
* The helper class to set the non-public properties of... |
package gordbilyi.com.navigator.sharing;
/**
* Created by gordbilyi on 15/08/17.
*/
public interface SharingContract {
interface Navigator {
void openDetails();
boolean popSubFragment();
}
interface NavigatorProvider {
Navigator getNavigator();
}
} |
/*
* This file is part of RPG Items.
*
* RPG Items 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 3 of the License, or
* (at your option) any later version.
*
* RPG Items is distr... |
/**
* 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 (C) 2006-2015 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
package lk.ijse.dep.powerWorldGyms.dao.custom.impl;
import lk.ijse.dep.powerWorldGyms.Entity.MemberShipDetails;
import lk.ijse.dep.powerWorldGyms.dao.CrudUtil;
import lk.ijse.dep.powerWorldGyms.dao.custom.MembershipDetailsDAO;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
public class... |
package com.example.kafka.kafka;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.List;
@Service
public class KafkaConsumer {
public static List<String> messages = new ArrayList<>();
private final static Strin... |
package com.example.demo.exception;
public class ResourceNotFoundException extends RuntimeException {
private static final long serialVersionUID = 1L;
public ResourceNotFoundException(String msg) {
super(msg);
}
} |
/*
* 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 Clinic;
import static Clinic.editPatients.tmp;
import java.awt.Color;
import java.awt.Dialog;
import java.awt.event.KeyEvent;
... |
package com.danikula.videocache;
/**
* Source for proxy.
*
* @author Alexey Danilov (danikula@gmail.com).
*/
public interface Source {
/**
* Opens source. Source should be open before using {@link #read(byte[])}
*
* @param offset offset in bytes for source.
* @throws ProxyCacheException if... |
/*
* Copyright 2019 the original author or authors.
*
* Licensed under the Apache, 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.gnu.org/licenses/lgpl-3.0.html
*
* Unless required by applicable law or agreed t... |
package info.davidjensen.entvex.myvolly;
import android.content.Context;
import android.graphics.Bitmap;
import android.support.v4.util.LruCache;
import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.toolbox.ImageLoader;
import com.android.volley.toolbox.Volley;
/**
* ... |
package io.github.Leonardo0013YT.UltraCTW.cosmetics.trails;
import io.github.Leonardo0013YT.UltraCTW.UltraCTW;
import io.github.Leonardo0013YT.UltraCTW.interfaces.CTWPlayer;
import io.github.Leonardo0013YT.UltraCTW.interfaces.Purchasable;
import io.github.Leonardo0013YT.UltraCTW.utils.ItemBuilder;
import io.github.Leo... |
/*
* Copyright 2009 Denys Pavlov, Igor Azarnyi
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... |
/**
* Copyright (c) 2013, Anthony Schiochet and Eric Citaire
* 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, thi... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.jeevesandroid;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.view.Window;
public class PrivacyPolicy extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCrea... |
/*
* Copyright 2016-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 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
* Copyright 2018 SmartBear Software
*
* 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 edu.kpi.servlets.beans;
public class RegistrationBean {
private String login;
private String password1;
private String password2;
private String name;
private String email;
private boolean advertising;
public String getLogin() {
return login;
}
public void setLogin... |
package compress.unzipapk;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.O... |
package com.wuxiu.galaxy.service.core.base.page;
/**
*
* @author: wuxiu
* @date: 2019/4/13 17:15
*/
public class PageQuery {
} |
/*
* Swagger Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
*
* NOTE: This class is auto generated by the swagger code generator p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.