text stringlengths 7 995k |
|---|
/*
* Copyright (C) 2021 iofairy, <https://github.com/io-fairy/functional>
*
* 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... |
package com.unact.yandexmapkit;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.yandex.mapkit.map.Cluster;
import com.yandex.mapkit.map.ClusterListener;
import com.yandex.mapkit.map.ClusterTapListener;
import com.yandex.mapkit.map.ClusterizedPlacemarkCollection;
import com.yandex.m... |
package com.github.jowitam;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
import java.time.LocalDate;
/**
* WYJATEK że pokój jest zarezerwowany
*/
@ResponseStatus(HttpStatus.BAD_REQUEST)//400 jej etykieta
public class ReservedRoomException extends Runtim... |
/*
* Copyright (c) 2016, University of Oslo
* * All rights reserved.
* *
* * Redistribution and use in source and binary forms, with or without
* * modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice, this
* ... |
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.util.ElapsedTime;
import ... |
package xyz.wongs.drunkard.war3.core.mapper;
import xyz.wongs.drunkard.war3.core.domain.SysRole;
import java.util.List;
/**
* 角色表 数据层
*
* @author ruoyi
*/
public interface SysRoleMapper
{
/**
* 根据条件分页查询角色数据
*
* @param role 角色信息
* @return 角色数据集合信息
*/
public List<SysRole> select... |
package ru.stqa.pft.rest.tests;
import org.testng.annotations.Test;
import ru.stqa.pft.rest.model.Issue;
import java.io.IOException;
import java.util.Set;
import static org.testng.Assert.assertEquals;
public class RestAssuredTests extends TestBase {
@Test
public void testCreateIssue() throws IOException {
S... |
package test.pack.data.greenvine.entity.dbo;
import java.util.List;
import org.junit.Assert;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.unitils.UnitilsJUnit4TestClassRunner;
import org.unitils.dbuni... |
/*
* 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 org.jbehave.examples.core.stories;
import org.jbehave.examples.core.CoreStory;
public class PriorityMatching extends CoreStory {
} |
package top.niunaijun.blackbox.core.system.location;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.List;
import top.niunaijun.blackbox.entity.BCell;
import top.niunaijun.blackbox.entity.BLocation;
/**
* Created by BlackBoxing on 3/8/22.
**/
public class BLocationConfig implements Parcela... |
/**
* Copyright © 2016-2020 The Thingsboard 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 applicab... |
/*******************************************************************************
* 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... |
/*
* Copyright 2020 Inscope Metrics
*
* 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.xiaojinzi.component.error.ignore;
/**
* 运行在非主线程异常
* time : 2019/01/10
*
* @author : xiaojinzi 30212
*/
public class NotRunOnMainThreadException extends RuntimeException {
public NotRunOnMainThreadException() {
}
public NotRunOnMainThreadException(String message) {
super(message... |
/*
* 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 ... |
/*
* Copyright 2016 Realm 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 wr... |
package org.geektimes.event;
import org.geektimes.commons.event.EventListener;
import org.geektimes.event.distributed.jms.TextJmsEvent;
public class MyListener implements EventListener<TextJmsEvent> {
@Override
public void onEvent(TextJmsEvent event) {
System.out.println(event.getSource());
}
} |
/*
* The contents of this file is dual-licensed under 2
* alternative Open Source/Free licenses: LGPL 2.1 or later and
* Apache License 2.0. (starting with JNA version 4.0.0).
*
* You can freely decide which license you want to apply to
* the project.
*
* You may obtain a copy of the LGPL License at:
*
* http... |
/*
* 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... |
/*
Copyright 2015, Johannes Mulder (Fraunhofer IOSB)
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 University of Washington
*
* 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 ... |
package moonstone.selene.device.xbee.zcl.domain.general.powerprofile.commands;
import org.apache.commons.lang3.Validate;
import moonstone.selene.device.xbee.zcl.ClusterSpecificCommand;
public class PowerProfileScheduleConstraintsRequest
extends ClusterSpecificCommand<PowerProfileScheduleConstraintsRequest> {
priv... |
/*
A Behavioral Pattern.
The Strategy pattern is very useful for situations where you would like
to dynamically swap the algorithms used in an application. If you think
of an algorithm as a strategy for accomplishing some task, you can begin
to imagine ways to use Strategy. Strategy is intended to provide you with ... |
/*
* 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.formats.rpf;
import gov.nasa.worldwind.geom.LatLon;
import gov.nasa.worldwind.geom.Sector;
import gov.nasa.worldwind.util... |
/*
* Copyright 2017-2018 original 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 agre... |
/*
* The MIT License
*
* Copyright (c) 2004-2010, Sun Microsystems, Inc.
*
* 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
... |
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE
package org.bytedeco.tensorflow;
import org.bytedeco.tensorflow.Allocator;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.tensorfl... |
package com.example.flipclassroom;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by WPH on 2019/3/6.
* 创建数据库 建表
*/
public class DBHelper extends SQLiteOpenHelper {
public static final String studentInfo_table = "c... |
package xcode.springcloud.orderservice;
import javax.persistence.*;
import java.time.LocalDateTime;
@Entity
@Table(name="orders")
public class Order {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "order_generator")
@SequenceGenerator(name="order_generator", sequenceName = "order_seq... |
package ru.job4j.bomberman;
import java.util.Random;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.locks.ReentrantLock;
public class Board {
private final ReentrantLock[][] board;
private final int x;
private final int y;
private final ... |
package com.babylonhealth.lit.usbase_java.builders;
import java.time.LocalDate;
import java.time.LocalTime;
import java.time.ZonedDateTime;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;
import java.u... |
/*
* Copyright 2019 EPAM Systems
*
* 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 (c) 2008-2013 Haulmont. All rights reserved.
* Use is subject to license terms, see http://www.cuba-platform.com/license for details.
*/
package com.haulmont.cuba.web.gui.data;
import com.haulmont.chile.core.model.MetaClass;
import com.haulmont.chile.core.model.MetaProperty;
import com.haulmont.chile... |
/*
* Copyright 2020 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package com.intkr.saas.module.action.user.role;
import java.util.Date;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.intkr.saas.client.user.SessionClient;
import com.intkr.saas.domain.bo.user.RoleApply... |
package com.chobocho.imagematch;
import androidx.appcompat.app.AppCompatActivity;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.graphics.Point;
import android.os.Bundle;
import android.util.Log;
import android.view.Display;
import com.chobocho.mahjong.BoardGame;
impo... |
package api;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Main {
public static void main(String [] args){
database.Utils.getDatabaseCredentials();
SpringApplication.run(Main.class, args);... |
/*
* Copyright 2017 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 ... |
package com.example.Spring_Boot_JPA.mappers.impl;
import com.example.Spring_Boot_JPA.bo.BookBo;
import com.example.Spring_Boot_JPA.bo.BookBo.BookBoBuilder;
import com.example.Spring_Boot_JPA.bo.BookMetadata;
import com.example.Spring_Boot_JPA.entity.Book;
import com.example.Spring_Boot_JPA.entity.Book.BookBuilder;
imp... |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
/*
* Copyright (c) 2016-2020 Michael Zhang <yidongnan@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
* rights to use, co... |
package activeobject;
class Servant implements ActiveObject {
private boolean canDisplay = false;
public boolean canDisplay() {
return canDisplay;
}
public Result<String> makeString(int count, char fillchar) {
canDisplay = true;
char[] buffer = new char[count];
for (int i = 0; i < count; i++) {
... |
/**
* (c) raptor_MVK, 2015. All rights reserved.
*/
package ru.mvk.iluvatar.test;
import org.jetbrains.annotations.NotNull;
import javax.persistence.*;
import java.util.Objects;
@Entity
@Table(name = "object")
public final class TestObject {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name ... |
package com.githang.heyitem.support;
import android.content.Intent;
import android.os.Parcelable;
/**
* @author Geek_Soledad (msdx.android@qq.com)
* @since 2017-07-12 0.1
*/
public class AutoExtra {
public static <T extends Parcelable> void put(Intent intent, T data) {
intent.putExtra(data.getClass().g... |
package nc.network.gui;
import io.netty.buffer.ByteBuf;
import nc.tile.internal.inventory.ItemOutputSetting;
import nc.tile.inventory.ITileInventory;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.math.BlockP... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.cosmosdb.v2015_04_08;
import com.microsoft.azure... |
// Copyright (c) The Libra Core Contributors
// SPDX-License-Identifier: Apache-2.0
import java.util.Arrays;
import java.util.ArrayList;
import com.novi.serde.Bytes;
import com.novi.serde.Unsigned; // used as documentation.
import org.libra.stdlib.Helpers;
import org.libra.stdlib.ScriptCall;;
import org.libra.types.A... |
package com.apress.prospring5.ch6;
import java.sql.Types;
import javax.sql.DataSource;
import org.springframework.jdbc.core.SqlParameter;
import org.springframework.jdbc.object.BatchSqlUpdate;
public class InsertSingerAlbum extends BatchSqlUpdate {
private static final String SQL_INSERT_SINGER_ALBUM = "insert i... |
package com.test;
import com.test.entity.TestBean;
public interface IHello {
String say(String msg);
TestBean get(int id);
} |
package com.sophiemarceauqu.qxb_voice.view.login.manager;
import com.sophiemarceauqu.qxb_voice.view.login.user.User;
//单例管理登录用户信息
public class UserManager {
private static UserManager mInstance;
private User mUser;
public static UserManager getInstance(){
if (mInstance==null){
synch... |
/* Copyright 2009-2020 David Hadka
*
* This file is part of the MOEA Framework.
*
* The MOEA Framework is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
... |
package com.igorsantana.training.shopping.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationM... |
package se.mickelus.tetra.blocks.workbench;
import com.mojang.blaze3d.platform.GlStateManager;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.ItemRenderer;
import net.minecraft.client.renderer.RenderHelper;
import net.minecraft.client.renderer.model.IBakedModel;
import net.minecraft.client... |
package de.elbatya.cryptocoins.bittrexclient.api.model.common;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.Optional;
/**
* @author contact@elbatya.de
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class AicoinApiResult<T> {
private String count;
private T data;
... |
/*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... |
/*
* 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 ap... |
/*
* Copyright (c) 2021, 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.apach... |
package com.example.a01547598.datastream;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.media.MediaRecorder;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Handler;
import android.provider.Settings;
import android.support.anno... |
/*
* Copyright 2019 Red Hat
*
* 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 ... |
/*
*
* Somado (System Optymalizacji Małych Dostaw)
* Optymalizacja dostaw towarów, dane OSM, problem VRP
*
* Autor: Maciej Kawecki 2016 (praca inż. EE PW)
*
*/
package gui.formfields;
import datamodel.Product;
import gui.GUI;
import gui.IconButton;
import gui.ImageRes;
import gui.dialogs.gloss.GlossProduc... |
// 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/journal/JournalEntity.java
// Licensed to the Apache Software Foundation (ASF) under one
... |
package umb.common;
import java.nio.ByteBuffer;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ArrayBlockingQueue;
public class Helper3 {
// four bytes topic and 4 bytes len (excluding the 4 bytes of len its... |
package com.newsblur.domain;
import android.content.ContentValues;
import android.database.Cursor;
import android.text.TextUtils;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import com.google.gson.annotations.SerializedName;
import com.newsblur.database.DatabaseConstants;
public ... |
package lsieun.flink.api.common.functions;
import lsieun.flink.annotation.Public;
import lsieun.flink.annotation.PublicEvolving;
import lsieun.flink.api.common.aggregators.Aggregator;
import lsieun.flink.types.Value;
/**
* A specialization of the {@link RuntimeContext} available in iterative computations of the
* ... |
package com.duanze.meizitu.mvp.views.exte;
import android.app.Activity;
import com.duanze.meizitu.mvp.views.IView;
/**
* Created by duanze on 16-2-1.
*/
public interface MeiziView extends IView {
void finish();
boolean isFavorite();
void favoriteOrNot();
Activity getActivity();
void onPageSelec... |
package io.ticktok.client;
import io.ticktok.client.server.Clock;
import io.ticktok.client.server.ClockRequest;
import io.ticktok.client.server.rest.RestClockActions;
import io.ticktok.client.server.rest.RestClockCreator;
import io.ticktok.client.tick.TickConsumer;
import io.ticktok.client.tick.TickListener;
public c... |
package com.rdas.controller;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframe... |
package de.accso.graalvm.pythonconsole.inspector;
import org.graalvm.polyglot.*;
import de.accso.graalvm.pythonconsole.printer.LevelPrinter;
import java.util.stream.Collectors;
public class ValueInspector {
private static final int MAX_DEPTH = 4;
LevelPrinter printer;
public ValueInspector(LevelPrinter... |
package com.github.simpledatax.plugin.writer.streamwriter;
import com.github.simpledatax.common.element.Column;
import com.github.simpledatax.common.element.Record;
import com.github.simpledatax.common.exception.DataXException;
import com.github.simpledatax.common.plugin.RecordReceiver;
import com.github.simpledatax.c... |
package io.github.vampirestudios.hgm.core.trayItems;
import io.github.vampirestudios.hgm.api.app.Layout;
import io.github.vampirestudios.hgm.api.app.emojies.Icons;
import io.github.vampirestudios.hgm.core.BaseDevice;
import io.github.vampirestudios.hgm.object.TrayItem;
public class TrayItemSound extends TrayItem {
... |
/**
*
* Ternary search is similar to binary search except that it
* works on a function which decreases and then increases.
* This implementation of ternary search returns the input value
* corresponding with the minimum output value of the
* function you're searching on.
*
* Time Complexity: O(log(high - l... |
package de.micromata.opengis.kml.v_2_2_0;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Shape
* <p>
* rectangle, cylinder, sphere
* </p>
*
* See Also:
* See <PhotoOverlay>
*
*
*
*/
@XmlType(name = "shapeEnumTy... |
/**
* 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 m... |
package com.ashkansajadi.clubinvite;
import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
import retrofit2.http.GET;
import retrofit2.http.Query;
public interface InviteApi {
String apiUrl = "https://club.xnull.xyz/";
Retrofit retrofit = new Retrofit.Builde... |
/**
*
*/
package com.fh.service.system.deliverer;
import java.util.List;
import org.change.entity.Page;
import org.change.util.PageData;
/**
* @author zangmaoyuan
*2018-5-23
*
*/
public interface PunishManager {
/**
* @param page
* @return
*/
List<PageData> listDelivererPs(Page page) throws Exceptio... |
/*
* The MIT License
*
* Copyright 2021 Marcelo.
*
* 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, copy, modify,... |
import java.lang.reflect.Method;
import java.lang.reflect.Field;
public class Reflection {
public static boolean booleanMethod() {
return true;
}
public static byte byteMethod() {
return 1;
}
public static char charMethod() {
return '2';
}
public static short shortMethod() {
return 3;
... |
/*
* 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... |
/*
* 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 de.lessvoid.nifty.elements.events;
import de.lessvoid.nifty.elements.Element;
import de.lessvoid.nifty.input.NiftyMouseInputEvent;
import javax.annotation.Nonnull;
public class NiftyMousePrimaryReleaseEvent extends NiftyMouseBaseEvent {
public NiftyMousePrimaryReleaseEvent(final Element element) {
supe... |
package securities.web;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
@SpringBootApplication
@ImportResource({"classpath*:autoload.xml"})
public class BootApp {
public static void ... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/license... |
package org.aion.zero.impl.sync;
import static org.aion.zero.impl.sync.SyncHeaderRequestManager.SyncMode.BACKWARD;
import static org.aion.zero.impl.sync.SyncHeaderRequestManager.SyncMode.FORWARD;
import static org.aion.zero.impl.sync.SyncHeaderRequestManager.SyncMode.NORMAL;
import com.google.common.annotations.Visib... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.resourcemover.v2021_01_01.implementation;
import... |
package ru.job4j.tracker;
import java.util.Scanner;
/**
* Робота с консолью.
*
* @author Pavlo Stefiniv (stefiniv4w@gmail.com)
* @version 0.1
* @since 15.09.2019
*/
public class ConsoleInput implements Input {
private Scanner scanner = new Scanner(System.in);
/**
* Ввод пользовательских данных из ... |
/*
* Copyright 2012-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... |
package AmazonLocker.PackageManger;
import AmazonLocker.LogisticsManager.LogisticsManager;
import java.util.Queue;
public class ProxyPackageTracker implements Observer{
private Package mPackage;
private ITracker mTracker;
private Queue<PackageFacility> mPackageFacilities;
private Subject subject;
... |
/*
* Copyright (c) 2010-2013 Mark Allen.
*
* 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, copy, modify, merge, p... |
package org.oh.pdf;
import net.sf.jasperreports.engine.export.JRPdfExporter;
import net.sf.jasperreports.engine.export.JRPdfExporterTagHelper;
import com.itextpdf.text.pdf.PdfContentByte;
import com.itextpdf.text.pdf.PdfWriter;
/**
* AES-128 알고리즘 적용
*
* @author skoh
*/
public class JRPdfExporterTagHelper2 exten... |
/**
* Copyright (c) 2012-2014, jcabi.com
* 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 condition... |
/**
* Copyright (C) 2010-2013 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 requir... |
package vhc.main;
import java.awt.GridLayout;
import org.jdesktop.swingx.JXPanel;
/**
* a three by three grid of ten buttons, with the center cell containing two buttons
*
* @author Derek Bankieris
*/
public class ButtonGrid extends JXPanel {
public final ImageSizingButton northWestButton = new ImageSizingB... |
/*
* Copyright 2018-present, Yudong (Dom) Wang
*
* 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... |
package edu.northwestern.bioinformatics.studycalendar.domain.tools;
import java.text.DecimalFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
/**
* @author Jalpa Patel
*/
public class DateFormat {
static DecimalFormat nft = new DecimalF... |
/*
* Copyright (c) 2021 Broadcom.
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifi... |
package org.elasticsearch.annotation.query;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.elasticsearch.search.facet.terms.TermsFacet.ComparatorType;
/**
* <p>
* Allow to specify field face... |
/*
* (C) Copyright 2006-2008 Nuxeo SA (http://nuxeo.com/) and 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 re... |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.atalk.impl.neomedia.transform;
import org.atalk.service.neomedia.RawPacket;
import java.util.*;
/**
* The engine chain allows using numerous <tt>TransformEngi... |
/*
* 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 grupa_x.java_projekt;
/**
*
* @author Jan
*/
public class Mieszkanie extends ElementPietra{
String wizytowka;
Pomi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.