text stringlengths 7 995k |
|---|
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.sdk.trace;
import static io.opentelemetry.api.common.AttributeKey.booleanArrayKey;
import static io.opentelemetry.api.common.AttributeKey.booleanKey;
import static io.opentelemetry.api.common.AttributeKey.dou... |
package io.nuls.offlinecontract.test;
import com.googlecode.jsonrpc4j.JsonRpcHttpClient;
import io.nuls.contract.account.model.bo.ContractInfo;
import io.nuls.contract.model.vo.ContractInfoVo;
import io.nuls.core.parse.JSONUtils;
import org.apache.commons.codec.binary.Hex;
import org.apache.commons.io.IOUtils;
import ... |
package threads.task_02.ex_04;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author yuzo
* Description: faça um programa em Java que realize uma busca paralela em um
* vetor de inteiros. Informe para o método: valor procurado, vetor de inteiros
* e o número de threads.
*/
public class Main {
... |
/**
* Copyright © 2018-2022 Contributors to the XPages Jakarta EE Support 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
*
... |
package io.quarkus.micrometer.runtime.binder.vertx;
import org.jboss.logging.Logger;
import io.vertx.core.Context;
import io.vertx.core.Handler;
import io.vertx.core.Vertx;
import io.vertx.ext.web.RoutingContext;
/**
* High priority handler that sets the Vertx RouterContext
* attribute on the active RequestMetric.... |
package sqlite.errors.dao.case1;
import java.util.List;
import com.abubusoft.kripton.android.annotation.BindDao;
import com.abubusoft.kripton.android.annotation.BindSqlInsert;
@BindDao(Person.class)
public interface DaoPerson {
@BindSqlInsert
void insert(Person bean);
List<Person> selectAll();
} |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 行动点信息
*
* @author auto create
* @since 1.0, 2018-11-29 17:44:49
*/
public class MemberActionModel extends AlipayObject {
private static final long serialVersionUID = 2721464542186744521L;
... |
package org.hl7.fhir.r5.model.codesystems;
/*
* #%L
* org.hl7.fhir.r5
* %%
* Copyright (C) 2014 - 2019 Health Level 7
* %%
* 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
*
* h... |
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.PrintStream;
public class MyNumberOfStudentStudentClassNumberZero {
@Test
public void test() {
String newLine="... |
// SPDX-License-Identifier: MIT
package com.daimler.sechub.domain.scan.admin;
import static org.junit.Assert.*;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
imp... |
/* PlainDatagramSocketImpl.java -- Default DatagramSocket implementation
Copyright (C) 1998, 1999, 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as... |
/*
* 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 editor.debugger;
import javax.swing.*;
/**
*/
public interface IBreakpointFactory
{
String getName();
Icon getIcon();
} |
package org.broadinstitute.hellbender.tools.spark.validation;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import htsjdk.samtools.SAMFileHeader;
import org.apache.spark.api.java.JavaPairRDD;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.JavaSparkContext;
... |
/*
Copyright 2015 Google 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 by applicable law or agreed to in ... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.graphics.drawable;
public final class R {
public static final class attr {
public static final int ... |
/*
* This file is part of OpenTSDB.
* Copyright (C) 2021 Yahoo.
*
* 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 github.orius123.orchapp.security;
import org.springframework.security.core.AuthenticationException;
/**
* This exception is throw in case of a not activated user trying to authenticate.
*/
public class UserNotActivatedException extends AuthenticationException {
public UserNotActivatedException(String m... |
//
// ========================================================================
// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available und... |
package com.ambientideas;
import org.mortbay.jetty.Connector;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.bio.SocketConnector;
import org.mortbay.jetty.webapp.WebAppContext;
public class Start {
public static void main(String[] args) throws Exception {
Server server = new Server();
SocketConnector... |
/*
* -----------------------------------------------------------------------------
* VIPER SOFTWARE SERVICES
* -----------------------------------------------------------------------------
*
* @(#)filename.java 1.00 2008/06/15
*
* Copyright 1998-2014 by Viper Software Services
* All rights rese... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2008, 2009, 2010 Zimbra, Inc.
*
* The contents of this file are subject to the Zimbra Public License
* Version 1.3 ("License"); you may not use this file except in
* compliance with the License. You may obtain a copy of th... |
// Copyright 2019 Intel Corporation
// SPDX-License-Identifier: Apache 2.0
package org.sdo.rendezvous.model.database.serialization;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import org.sdo.rendezvous.exceptions.InvalidIpAddressException;
import org.sdo.rendezvous.model.database.V... |
package com.indarsoft.cardgui.keys;
import java.io.File;
import org.eclipse.swt.*;
import org.eclipse.swt.widgets.*;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.wb.swt.SWTResourceManager;
import com.indarso... |
package com.rotanava.boot.system.api.module.constant;
/**
* dict类型
*
* @author weiqiangmiao
* @date 2021/11/11
*/
public enum DictType {
//是否全员可见 0-否 1-是
/**
* 字典
*/
DICTIONARY("字典"),
/**
* 数据
*/
DATA("数据");
private String type;
DictType(String type) {
... |
package main.basemod.blocks;
/*
* Base block class for getting standard things done with quickly.
* Extend this for pretty much every block you make.
*/
import main.basemod.BaseMod;
import main.basemod.ModInformation;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
public class Blo... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.runtimefields.query;
import org.apache.lucen... |
package io.bhpw3j.crypto.exceptions;
/**
* BRC2 format exception.
*/
public class BRC2InvalidPassphrase extends Exception {
public BRC2InvalidPassphrase() {
}
public BRC2InvalidPassphrase(String message) {
super(message);
}
public BRC2InvalidPassphrase(String message, Throwable cause) ... |
package net.loomchild.maligna.matrix;
/**
* Represents {@link BandMatrix} factory.
* Responsible for creating {@link BandMatrix} objects.
*
* @author loomchild
*/
public class BandMatrixFactory implements MatrixFactory {
public static final int DEFAULT_BAND_RADIUS = 20;
private int bandRadius;
/**
* Cr... |
/*
* Copyright 2017-2022 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) 2015 European Space Agency
* European Space Operations Centre
* Darmstadt
* Germany
* --------------------------------------------------------... |
package com.pie.tlatoani.Chunk;
import ch.njol.skript.lang.Expression;
import ch.njol.skript.lang.SkriptParser;
import ch.njol.skript.lang.util.SimpleExpression;
import ch.njol.util.Kleenean;
import com.pie.tlatoani.Core.Static.Utilities;
import org.bukkit.Chunk;
import org.bukkit.event.Event;
/**
* Created by Tlato... |
package com.sequenceiq.freeipa.api.v1.freeipa.stack.model.image;
import static java.util.Collections.emptyList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreP... |
/**
* Copyright 2014 Internet2
*
* 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) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.security;
import com.azure.core.util.Context;
/** Samples for JitNetworkAccessPolicies ListByResourceGroup. */
public final cla... |
/**
* Copyright 2019 The JoyQueue 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... |
/**
* Scubawhere API Documentation
* This is the documentation for scubawhere's RMS API. This API is only to be used by authorized parties with valid auth tokens. [Learn about scubawhere](http://www.scubawhere.com) to become an authorized consumer of our API
*
* OpenAPI spec version: 1.0.0
* Contact: bryan@scuba... |
/*
* Copyright 2017-2022 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... |
/*
TicTacToe League Application
PROG3210 Assignment 2
Activity Name: ScoreboardActivity
Purpose:
Displays the leaderboard and allows the user to add a new player
Revision History
Tonnicca Gelacio, 2019-11-11: Created
Tonnicca Gelacio, 2019-11-11: Code Updated
Tonnicca Gelacio, 2019-11-12: Code Updated... |
/*
* Copyright 2020 Red Hat, 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... |
import static java.util.stream.Collectors.joining;
import static java.util.stream.IntStream.rangeClosed;
interface Dinglemouse {
static int[] paintLetterboxes(int start, int end) {
String seq = rangeClosed(start, end).mapToObj(n -> "" + n).collect(joining());
return rangeClosed(0, 9).map(i -> seq.length() - ... |
package com.implementsblog.functional;
import static com.implementsblog.functional.AtbashCipher.encrypt;
import static org.assertj.core.api.Assertions.assertThat;
import org.apache.commons.lang3.RandomStringUtils;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import java.util.Arrays... |
/*
* Copyright 2004-2013 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 ... |
package org.wildfly.swarm.opentracing;
import org.wildfly.swarm.spi.api.Fraction;
import org.wildfly.swarm.spi.api.annotations.DeploymentModule;
/**
* @author Juraci Paixão Kröhling
*/
@DeploymentModule(name = "org.wildfly.swarm.opentracing", slot = "deployment")
public class OpenTracingFraction implements Fraction... |
package com.alipay.api.request;
import com.alipay.api.domain.AlipayOpenPublicGroupModifyModel;
import java.util.Map;
import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayOpenPublicGroupModifyResponse;
import com.alipay.api.AlipayObject;
/**
* A... |
/*
* Copyright (c) 2019 WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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.... |
package com.studio4plus.homerplayer.analytics;
import androidx.annotation.NonNull;
import com.studio4plus.homerplayer.GlobalSettings;
import com.studio4plus.homerplayer.events.AudioBooksChangedEvent;
import com.studio4plus.homerplayer.events.DemoSamplesInstallationFinishedEvent;
import com.studio4plus.homerplayer.eve... |
package datadog.trace.instrumentation.kafka_clients;
import static datadog.trace.instrumentation.kafka_clients.KafkaDecorator.KAFKA_PRODUCED_KEY;
import static java.nio.charset.StandardCharsets.UTF_8;
import datadog.trace.api.Config;
import datadog.trace.bootstrap.instrumentation.api.AgentPropagation;
import java.nio... |
package com.deepoove.poi.tl.source;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import org.apache.poi.xwpf.usermodel.XWPFDocument;
import com.deepoove.poi.XWPFTemplate;
import com.deepoove.poi.util.PoitlIOUtils;
public class XWPF... |
/*
* 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 net.purnama.gui.inner.detail;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.sun.jersey.api.client.ClientResp... |
package com.wayn.mall.controller.admin;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wayn.mall.controller.base.BaseController;
import com.wayn.mall.core.entity.Coupo... |
/* 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
* distribut... |
package org.xueliang.commons.exception;
/**
* @author XueLiang
* @date 2018/9/4 20:52
*/
public class CaptchaWrongException extends InvalidParameterException {
public CaptchaWrongException() {
this("验证码错误,请刷新后重试");
}
public CaptchaWrongException(String message) {
super(message);
}
... |
/*
* Copyright (C) 2016 AriaLyy(https://github.com/AriaLyy/Aria)
*
* 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 org.es.shkim.services.esutils;
import org.elasticsearch.client.transport.TransportClient;
public class EsUtiles
{
public static boolean index_isExist(TransportClient client, String index)
{
return client.admin().indices().prepareExists(index).get().isExists();
}
public static boolean mapping_isExist(T... |
package client.logging_in_Frames;
import chatroom.ChatroomUI;
import client.ChatClient2_0;
import javax.swing.*;
import javax.swing.border.CompoundBorder;
import javax.swing.border.EmptyBorder;
import javax.swing.border.LineBorder;
import javax.swing.border.TitledBorder;
import java.awt.*;
import java.awt.event.*;
im... |
/*
* Copyright (C) 2016 Google 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 ... |
/*
* Copyright 2002,2004 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
*
* Unless required by ap... |
package com.pradipta.department.model;
import java.util.ArrayList;
import java.util.List;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection = "department")
public class Department {
@Id
private Long id;
private Long organizationId;
... |
/**
* 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... |
/*
* Copyright 2015-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*
* 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.dspace.workflow;
import org.apache.commons.cli.*;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.DCValue;
import org.dspace.content.DSpaceObject;
import org.dspace.content.Item;
import org.dspace.content.WorkspaceItem;
import org.dspace.core.Context;
import org.dspace.discovery.S... |
/*
* 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 ... |
/*L
* Copyright (c) 2006 SAIC, SAIC-F.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/rembrandt/LICENSE.txt for details.
*/
package gov.nih.nci.rembrandt.domain;
/**
* The various name(s) attributed to a chemical or biological substance used as part of a study for ... |
// --------------------------------------------------------------------------------
// Copyright 2002-2022 Echo Three, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:/... |
// Copyright 2017 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... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__int_PropertiesFile_square_21.java
Label Definition File: CWE190_Integer_Overflow__int.label.xml
Template File: sources-sinks-21.tmpl.java
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: PropertiesFile Read data from a .properties fi... |
/*
* Copyright 2019 NexCloud Co.,Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
package com.yanimetaxas.realitycheck;
/**
* @author yanimetaxas
*/
public final class StringCheck extends AbstractCheck<StringCheck, String> {
StringCheck(String string) {
super(string, null);
}
StringCheck(String string, String message) {
super(string, message);
}
public StringCheck hasLength(i... |
package com.example.appcenter.autoimageslider.IndicatorView.draw.drawer.type;
import android.graphics.Canvas;
import android.graphics.Paint;
import androidx.annotation.NonNull;
import com.example.appcenter.autoimageslider.IndicatorView.animation.data.Value;
import com.example.appcenter.autoimageslider.IndicatorView.a... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.05.... |
/**
* 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) 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 app... |
package com.example.lezh1k.sensordatacollector.Presenters;
import android.Manifest;
import android.content.Context;
import android.content.pm.PackageManager;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.sup... |
package nosql.batch.update.aerospike.basic.lock;
import com.aerospike.client.Value;
import nosql.batch.update.aerospike.basic.Record;
import nosql.batch.update.aerospike.lock.AerospikeLock;
import nosql.batch.update.lock.HangingLockOperations;
import nosql.batch.update.lock.LockOperations;
import org.slf4j.Logger;
imp... |
/*
* Copyright 2019 The gRPC 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 agree... |
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
package com.twilio.rest.api.v2010.account;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.Json... |
/*
* 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.intermine.bio.postprocess;
/*
* Copyright (C) 2002-2017 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/les... |
import java.util.ArrayList;
import java.util.List;
import java.util.SortedSet;
import java.util.TreeSet;
public class EnumerateABSqrt {
public static class ABSqrt2 implements Comparable<ABSqrt2> {
public int a, b;
public double val;
public ABSqrt2(int a, int b) {
this.a = a;
... |
/**
* Copyright 2016 Nikita Koksharov
*
* 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... |
//==============================================================================
// This software is part of the Open Standard for Unattended Sensors (OSUS)
// reference implementation (OSUS-R).
//
// To the extent possible under law, the author(s) have dedicated all copyright
// and related and neighboring rights to t... |
/*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.boss.fnc.outputinvoice.outbill.apply response.
*
* @author auto create
* @since 1.0, 2021-12-02 20:40:35
*/
public class AlipayBossFncOutputinvoiceOutbillApplyRespons... |
package ru.job4j.chess;
import javafx.application.Application;
import javafx.geometry.Pos;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.image.Image;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.HBox;
import javafx.scene.paint.Color;
... |
package me.chasertw123.minigames.splegg.game.modes;
import me.chasertw123.minigames.splegg.Main;
import me.chasertw123.minigames.splegg.utils.LocationUtils;
import me.chasertw123.minigames.splegg.users.SpleggPlayer;
import org.bukkit.*;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.bukkit.... |
/*
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.osedu.org/licenses/ECL-2.0
*
* Unless required by applicab... |
package com.atguigu.gulimall.sms.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
imp... |
package com.kiseok.pingmall.common.domain.product;
public enum ProductCategory {
TOP, BOTTOMS, SHOES, ACCESSORY
} |
package com.belladati.sdk.dataset.impl;
import java.util.Date;
import java.util.Locale;
import com.belladati.sdk.dataset.DataSet;
import com.belladati.sdk.dataset.DataSetInfo;
import com.belladati.sdk.dataset.data.DataRow;
import com.belladati.sdk.impl.BellaDatiServiceImpl;
import com.belladati.sdk.util.PaginatedIdLi... |
/*
* 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... |
package com.example.josema.aplicacion;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
TextView texto;
Button boton,boton1;
@Override
... |
/*
* Workspace API
* Agent API
*
* OpenAPI spec version: 9.0.000.97.4639
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.genesys.internal.common;
import java.util.List;
imp... |
package bst.utils;
public class ToolUtils {
public static void sleep(long millis){
try {
Thread.sleep(millis);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
} |
package KartoffelKanaalPlugin.plugin;
import KartoffelKanaalPlugin.plugin.kartoffelsystems.PlayerSystem.Person;
import org.bukkit.command.CommandSender;
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.entity.Player;
public class CommandsKartoffel {
public static void executeKartoffelCommand(Person ... |
/*-
* ========================LICENSE_START=================================
* io.openslice.sol005nbi.osm5
* %%
* Copyright (C) 2019 openslice.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 t... |
package ru.ionlabs.easymovies.ui.base;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import ru.ionlabs.easymovies.EasyMoviesApplication;
import ru.ionlabs.easymovies.di.component.ApplicationComponent;
import ru.ionlabs.easymovies.di.component.FragmentCom... |
package is.springbootmono.service;
import reactor.core.publisher.Mono;
public interface ServiceMonoInterface {
Mono<String> getStringNonBlocked();
String getStringBlocked();
} |
package org.dnal.fieldcopy.core;
import org.dnal.fieldcopy.core.FieldDescriptor;
/**
* Field description for BeanUtils copy service.
*
* @author Ian Rae
*
*/
public class SourceValueFieldDescriptor implements FieldDescriptor {
private String name;
private Object value;
public SourceValueFieldDescriptor(S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.