text stringlengths 7 995k |
|---|
/*
* Copyright (c) 2020, GoMint, BlackyPaw and geNAZt
*
* This code is licensed under the BSD license found in the
* LICENSE file in the root directory of this source tree.
*/
package io.gomint.event.player;
import io.gomint.entity.EntityPlayer;
/**
* @author geNAZt
* @version 1.0
* @stability 3
*/
public c... |
/*
* 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 writers;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.List;
import IO_handling_utils.StringUtils;
import Launcher.MainPg;
/**
*
*
*
*/
class CsvWriter extends Writer{
/**
*
*/
//CHANGE EXCEPTION TYPE
int iter=1;
public CsvWriter(String p... |
// Copyright 2021 The Terasology Foundation
// SPDX-License-Identifier: Apache-2.0
@API package org.terasology.engine.rendering.assets.mesh;
import org.terasology.gestalt.module.sandbox.API; |
package io.objects.tl.api.request;
import static io.objects.tl.StreamUtils.*;
import static io.objects.tl.TLObjectUtils.*;
import io.objects.tl.TLContext;
import io.objects.tl.api.TLAbsUpdates;
import io.objects.tl.core.TLMethod;
import io.objects.tl.core.TLObject;
import java.io.IOException;
import java.io.InputStre... |
/*
* Copyright 2014 Red Hat, Inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.org/le... |
package co.matisses.bcs.b1ws.ws.quotations;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Clase Java para anonymous com... |
/*
* 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 ... |
/*
* 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 n... |
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) 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 com.microsoft.bingads.customermanagement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymou... |
package com.walmartlabs.concord.client;
/*-
* *****
* Concord
* -----
* Copyright (C) 2017 - 2018 Walmart 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:/... |
package com.example.vf608.simpletodo;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.EditText;
import static com.example.vf608.simpletodo.MainActivity.ITEM_POSITION;
import static com.example.vf608.simpletodo.Ma... |
package timus;
import java.util.Scanner;
public class ReverseRoot_1001 {
public static void main(String[] args) {
int i = 0, t = 0;
double a[] = new double[999999];
Scanner x = new Scanner(System.in);
a[i++] = Math.sqrt(x.nextDouble());
t++;
while (x.hasNextDouble()... |
/**
* New BSD License
* http://www.opensource.org/licenses/bsd-license.php
* Copyright 2009-2011 RaptorProject (http://code.google.com/p/raptor-chess-interface/)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following c... |
package javax.microedition.location;
public class QualifiedCoordinates extends Coordinates {
private float horizontalAccuracy;
private float verticalAccuracy;
public QualifiedCoordinates(double latitude, double longitude,float altitude, float horizontalAccuracy, float verticalAccuracy) {
super(latitude, longi... |
/**
* MVEL (The MVFLEX Expression Language)
*
* Copyright (C) 2007 Christopher Brock, MVFLEX/Valhalla Project and the Codehaus
*
* 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
*
* ... |
package com.teamgannon.trips.dataset.enums;
/**
* Describes the type of grid lines
* <p>
* Created by larrymitchell on 2017-03-02.
*/
public enum GridLines {
Solid, Dotted
} |
package com.qa.ims.controllers;
import static org.junit.Assert.assertEquals;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.junit.MockitoJUnitRunner;
im... |
package net.optionfactory.spring.data.jpa.filtering.chaining.plural;
import java.util.List;
import java.util.Map;
import net.optionfactory.spring.data.jpa.filtering.FilterRequest;
import net.optionfactory.spring.data.jpa.filtering.filters.TextCompare;
import net.optionfactory.spring.spring.data.jpa.HibernateTestConfig... |
/**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package org.framework.exocet.core.security.shiro.cache;
import java.util.Collection;
import java.util.Collections;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
import org.apache... |
package com.cts.training.userservice;
import java.util.List;
public interface RegisterService {
public Register insert(Register rd);
public void deleteById(int id);
public String activate(String email);
public Register updateUser(Register users);
public List<Register> getAllUsers();
public Register getUserById(... |
/*
* Copyright © 2014-2020 Vladlen V. Larionov and others as noted.
*
* 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 requ... |
/*
* Copyright (C) 2010 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 agree... |
/*
Copyright (c) 2015, Alcatel-Lucent Inc
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 list of condi... |
package org.fax4j.bridge;
import java.util.Properties;
import org.fax4j.FaxClient;
import org.fax4j.FaxJob;
import org.fax4j.common.ConfigurationHolder;
import org.fax4j.common.Logger;
import org.fax4j.common.ProviderImplementation;
/**
* This interface defines only the common capabilities of the fax bridge.<br>
* ... |
/*
* 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 pl.altkom.spring.spring.capgemini.core.model;
/**
*
* @author kursant12
*/
public class Customer {
private User u... |
/*
* Copyright 2021 Frank Pavageau
*
* 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 ... |
/*
* Copyright 2015-2018 The OpenZipkin 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 a... |
package com.qxcmp.web.controller;
import com.qxcmp.finance.DepositExtensionPoint;
import com.qxcmp.web.QxcmpController;
import com.qxcmp.web.view.components.finance.DepositComponent;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.... |
package org.lrs.kmodernlrs.controllers;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.lrs.kmodernlrs.Application;
import org.lrs.kmodernlrs.domain.Actor;
import org.lrs.kmodernlrs.domain.repository.RepositoryCustom;
import org.lrs.kmodernlrs.services.AgentsService;
import ... |
package com.github.sdt.cypher.ui.widget;
import java.lang.System;
/**
* Created by luis rafael on 23/04/19.
*/
public final class CustomEditText extends android.widget.FrameLayout implements android.text.TextWatcher {
private final kotlin.properties.ReadOnlyProperty editText$delegate = null;
private final k... |
/*
* 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 fr.cfai_lda.lbesson.kanban.dao.impl;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import fr.cfai_lda.lbesson.kanban.business.Color;
import fr.cfai_lda.lbesso... |
package es.unizar.webeng.hello;
import es.unizar.webeng.hello.GetRequest;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import java.uti... |
/*
* Copyright (c) 2012-2020 MIRACL UK Ltd.
*
* This file is part of MIRACL Core
* (see https://github.com/miracl/core).
*
* 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 useless;
public class Wow {
} |
package com.apgred.interfaces;
/**
* Created by nagendrasrivastava on 12/06/18.
*/
public interface RegisterInterface {
void onRegisterSuccess();
void onRegisterFailure();
} |
package com.jormandr.ui.trade;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.jormandr.gameobjects.Market;
import com.jormandr.gameobjects.Market.ResourceType;
import com.jormandr.gameworld.GameWorld;
import com.jormandr.helpers.AssetLoader;
import com.jormandr.players.Player;
/**
* Button which allows p... |
package Max.Day16tasks;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
//class for Login page
public class LoginPage {
//methods for actual behavior
public static void register(WebDriver driver, String registerNowXpath, String registerPageUrl) throws I... |
/*
* 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 Beans;
/**
*
* @author Proyectos
*/
public class Jugador {
private String nombre;
private Carta[] manoDeCartas;
... |
package spookylobster.break_habit;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bund... |
package org.apache.spark.sql.catalyst.catalog;
public class DropTableEvent$ extends scala.runtime.AbstractFunction2<java.lang.String, java.lang.String, org.apache.spark.sql.catalyst.catalog.DropTableEvent> implements scala.Serializable {
/**
* Static reference to the singleton instance of this Scala object.
*/... |
package org.beigesoft.uml.service.interactive;
import org.beigesoft.graphic.model.ISettingsDraw;
import org.beigesoft.graphic.service.UtilsGraphMath;
import org.beigesoft.uml.factory.IFactoryEditorElementUml;
import org.beigesoft.uml.pojo.RectangleUml;
import org.beigesoft.uml.service.graphic.SrvGraphicRectangle;
pub... |
package com.lw.basic.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.lw.basic.dao.CategoryMapper;
import com.lw.basic.entity.Category;
@Service
public class CategoryService {
@Autowired CategoryMapper categoryM... |
package seedu.canoe.logic.parser;
import static java.util.Objects.requireNonNull;
import static seedu.canoe.logic.parser.CliSyntax.PREFIX_DATETIME;
import static seedu.canoe.logic.parser.CliSyntax.PREFIX_ID;
import java.time.LocalDateTime;
import java.time.format.DateTimeParseException;
import java.util.function.Pred... |
/*
* Copyright 2011 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.xiongcen.myapplication.font;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Typeface;
import and... |
/*
* Copyright (c) 2002-2021 Gargoyle Software 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
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
package com.fan.bigdata.io;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
/**
* Created by fqc on 3/24/17.
*/
public class DumpUtil {
public static void dump(String inPath, String outPath) {
byte[] data = new byte[1024]... |
/*
* Jicofo, the Jitsi Conference Focus.
*
* Copyright @ 2015 Atlassian Pty Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
package org.books;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
@Data
@Configuration
@EnableConfigurationProperties
@Configu... |
package com.cjs.threadTest;
// 有序性测试
public class OrderTest {
private static boolean flag;
private static int a;
public static void main(String[] args) {
Thread t1 = new Thread(new Runnable(){
@Override
public void run() {
a = 10; // 指令重排序有可能使得flag = true先执行,a = 10后执行。
flag = true;
}
... |
/*
* Copyright (c) 2020 Board of Trustees of Leland Stanford Jr. University,
* all rights reserved.
*
* 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 with... |
package weixin.popular.bean.menu;
public class Matchrule {
private Integer group_id;
private Integer sex;
private String country;
private String province;
private String city;
private String client_platform_type;
public Integer getGroup_id() {
return group_id;
}
publ... |
/*
* Copyright 2008-present MongoDB, 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 ag... |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... |
package de.rwth_aachen.dc.ifc2lbd;
import java.io.File;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.apache.jena.ontology.ObjectProperty;
import org.apache.jena.ontology.OntModel;
import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.ModelFactory;
import o... |
package com.five_x.common;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Match... |
package com.zgy.learn.aqs.mustkowntool;
import java.util.concurrent.CountDownLatch;
/**
* @Author: renjiaxin
* @Despcription: CountDownLatch就是个减法计数器,等待所有的线程完毕之后,再执行下面的操作
* @Date: Created in 2020/3/8 3:53
* @Modified by:
*/
public class UseCountDownLatch {
static class Student {
public void goHome() {... |
/*
* Copyright (c) 2018-present, iQIYI, Inc. 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 o... |
/*
* Copyright 2017 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 cn.blmdz.game.console.model;
import cn.blmdz.game.console.enums.Color;
import cn.blmdz.game.console.enums.DisplayContent;
import lombok.Getter;
/**
* 地图像素
*/
@Getter
public class Scenes {
private Integer x;
private Integer y;
/** 渲染 */
private DisplayContent display;
/** 可碰撞 */
private Boolean collisi... |
/*
* Copyright (C) 2004-2008 Jive Software. 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 require... |
package jp.yitt.mixedimage;
import android.graphics.Bitmap;
import android.widget.ImageView;
import java.util.List;
public class MixedImageRequestBuilder extends BaseMixedImageRequestBuilder {
private Bitmap[] bitmapIterator;
MixedImageRequestBuilder(List<Bitmap> bitmaps) {
bitmapIterator = (Bitmap... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.frontdoor.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import j... |
package com.algaworks.algafood.api.model;
import org.springframework.hateoas.RepresentationModel;
import org.springframework.hateoas.server.core.Relation;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
@Relation(collectionRelation = "cozinhas")
@Setter
@Getter
public clas... |
package com.springboot.cloud.sysadmin.organization.rest;
import com.springboot.cloud.common.core.entity.vo.Result;
import com.springboot.cloud.sysadmin.organization.entity.form.PositionForm;
import com.springboot.cloud.sysadmin.organization.entity.param.PositionQueryParam;
import com.springboot.cloud.sysadmin.organiza... |
/**
* @author Nannf
* @date 2020/11/11 19:43
* @description 泰波那契序列 Tn 定义如下:
* <p>
* T0 = 0, T1 = 1, T2 = 1, 且在 n >= 0 的条件下 Tn+3 = Tn + Tn+1 + Tn+2
* <p>
* 给你整数 n,请返回第 n 个泰波那契数 Tn 的值。
* <p>
* 输入:n = 4
* 输出:4
* 解释:
* T_3 = 0 + 1 + 1 = 2
* T_4 = 1 + 1 + 2 = 4
* <p>
* 输入:n = 25
* 输出:1389537
*/
public cla... |
package com.aspose.storage.model;
import java.io.InputStream;
/**
*
* @author Imran Anwar
* This class is added for the response to be separated in Json and InputStream
*/
public class ResponseMessage {
private Integer Code = null;
private String Message = null;
private String Status = null;
private Input... |
/*
* Copyright (c) 2019 Eshel.
*
* 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.github.kimkevin.slidingicontablayout.sample;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which... |
/*
* 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) 2006 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 systemtests;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import guitests.GuiRobot;
import guitests.guihandles.HelpWindowHandle;
/**
* A system test class for the help window, which contains interaction with other UI components.
*/
public class HelpCommandSystemTes... |
package woo.app.main;
import pt.tecnico.po.ui.Command;
import pt.tecnico.po.ui.Menu;
import woo.core.StoreManager;
/**
* Open menu for lookups.
*/
public class DoOpenMenuLookups extends Command<StoreManager> {
public DoOpenMenuLookups(StoreManager receiver) {
super(Label.OPEM_MENU_LOOKUPS, receiver);
}
... |
/**
*
*/
package poo;
/**
* @author danhpaiva
*
*/
public class Fusca {
/**
* @param args
*/
public static void main(String[] args) {
Carro fusca = new Carro();
fusca.ano = 1992;
fusca.cor = "preto";
System.out.println("Fusca\nAno: " + fusca.ano + "\nCor: " + fusca.cor);
fusca.ligar();
fusca... |
package org.craft.spongeimpl.events.world;
import org.spongepowered.api.*;
import org.spongepowered.api.event.world.*;
import org.spongepowered.api.world.*;
public class SpongeWorldLoadEvent extends SpongeWorldEvent implements WorldLoadEvent
{
public SpongeWorldLoadEvent(Game game, World world)
{
sup... |
package time;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
public class Perspective implements IPerspectiveFactory {
public void createInitialLayout(IPageLayout layout) {
}
} |
// 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... |
package eu.se_bastiaan.tvnl.network.service;
import eu.se_bastiaan.tvnl.model.RadioboxAudiofragment;
import eu.se_bastiaan.tvnl.model.RadioboxBroadcast;
import eu.se_bastiaan.tvnl.model.RadioboxChannel;
import eu.se_bastiaan.tvnl.model.RadioboxSearch;
import eu.se_bastiaan.tvnl.model.RadioboxTrack;
import eu.se_bastia... |
package com.mycompany.common.valid;
public interface AddGroup {
} |
/*
* Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package queue;
/**
* 원형 배열 Queue
* 성능 과 한계
*
* 1. 성능
* - 공간 복잡도 (n번의 enQueue연산에 대하여) : O(n)
* - enQueue()의 시간 복잡도 : O(1)
* - deQueue()의 시간 복잡도 : O(1)
* - isEmpty()의 시간 복잡도 : O(1)
* - isFull()의 시간 복잡도 : O(1)
* - getQueue()의 시간 복잡도 : O(1)
*
* 2. 한계
* - 큐의 최대 크기가 미리 정해져야하고 바뀌지 않는다. 꽉 찬 큐에 항목을 enQueue하면 원형 배... |
package com.maylcf.projectmanagement.entities;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Entity
public class Project {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "project_generator")
@SequenceGenerator(name = "project_generator", sequenceName... |
/*-
* <<
* UAVStack
* ==
* Copyright (C) 2016 - 2017 UAVStack
* ==
* 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 r... |
/**
* @license
* Copyright 2020 The FOAM Authors. All Rights Reserved.
* http://www.apache.org/licenses/LICENSE-2.0
*/
package foam.nanos.notification.email;
import com.google.common.base.Optional;
import foam.core.ContextAwareSupport;
import foam.core.X;
import foam.dao.DAO;
import foam.dao.Sink;
import foam.dao... |
package binarySearch;
/**
* Given an array of integers nums sorted in non-decreasing order, find the starting and ending position of a given target value.
*
* If target is not found in the array, return [-1, -1].
*
* You must write an algorithm with O(log n) runtime complexity.
*/
public class FindFirstAndLastPo... |
/*
* 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.hl7.fhir.convertors.conv40_50;
import org.hl7.fhir.convertors.VersionConvertor_40_50;
import org.hl7.fhir.exceptions.FHIRException;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided th... |
package openfoodfacts.github.scrachx.openfood.models;
public class CategoryResponseTestData {
public static final String GUMMY_BEARS_EN = "Gummy Bears";
public static final String GUMMY_BEARS_FR = "Ours Gommeux";
} |
package org.prebid.server.spring.config.bidder;
import org.prebid.server.bidder.BidderDeps;
import org.prebid.server.bidder.interactiveoffers.InteractiveOffersBidder;
import org.prebid.server.json.JacksonMapper;
import org.prebid.server.spring.config.bidder.model.BidderConfigurationProperties;
import org.prebid.server... |
package com.greenlearner.fileUploadDownload.service;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.io.Resource;
import org.springframework.core.io.UrlResource;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;
import org.springframe... |
package de.immomio.landlord.service.property;
import de.immomio.data.landlord.entity.property.Property;
import de.immomio.model.repository.shared.application.PropertyApplicationRepository;
import de.immomio.service.property.cache.PropertyCacheCountService;
import org.springframework.beans.factory.annotation.Autowired;... |
package com.progzc.blog.manage.serviceImpl.operation;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.progzc.blog.common.utils.ValidatorUtils;
import com.progzc.blog.common.validation.AddGroup;
import com.progzc.blog.entity.operation.Tag;
import com.progzc.blog.entity.operation.TagLink;
... |
/*
* Copyright 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 "license" file ... |
/*
* 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 resilience4j.by.taoyangui.v2.service._4_bulkhead;
import static resilience4j.by.taoyangui.v2.service._1_circuitbreaker.CbUtil.SCENARIO_1;
import static resilience4j.by.taoyangui.v2.service._4_bulkhead.BulkhdadUtil.addBulkheadListener;
import static resilience4j.by.taoyangui.v2.service._4_bulkhead.BulkhdadUtil.... |
package de.wiosense.webauthn.util;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.pm.ApplicationInfo;
import android.security.keystore.KeyGenParameterSpec;
import android.security.keystore.KeyProperties;
import android.util.Log;
import org.jetbrains.annotations.NotNul... |
package org.batfish.representation.aws;
import static org.batfish.datamodel.matchers.ConfigurationMatchers.hasInterface;
import static org.hamcrest.Matchers.hasKey;
import static org.junit.Assert.assertThat;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.goog... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.