text stringlengths 7 995k |
|---|
package top.bluesword.java.security;
import org.junit.jupiter.api.Test;
import java.security.SecureRandom;
class SecureRandomTest {
@Test
void seedTest(){
SecureRandom random1 = new SecureRandom();
byte[] bytes = random1.generateSeed(123);
random1.setSeed(bytes);
int pn = 3;
... |
/*
* Copyright 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* 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 ... |
/**
* This file is part of the Harmony package.
*
* (c) Mickael Gaillard <mickael.gaillard@tactfactory.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
package com.tactfactory.harmony.test.fixture;
import java.io.File;
import ... |
package com.dsa.dp;
// Java program to find nth ugly number
import java.lang.Math;
/*
O(n) extra space.
The ugly-number sequence is 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, …
because every number can only be divided by 2, 3, 5, one way to look at the sequence is to split the sequence to three groups as below:
(1)... |
package com.vikingsen.inject.viewmodel.savedstate;
import android.os.Bundle;
import com.vikingsen.inject.viewmodel.AbstractViewModelFactory;
import com.vikingsen.inject.viewmodel.ViewModelBasicFactory;
import java.util.Map;
import javax.inject.Inject;
import androidx.annotation.NonNull;
import androidx.annotation.... |
package com.github.boavenn.minject;
import com.github.boavenn.minject.configuration.Binder;
import com.github.boavenn.minject.configuration.Module;
import com.github.boavenn.minject.configuration.Provides;
import javax.inject.Named;
import javax.inject.Singleton;
class SampleModule implements Module {
public sta... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.storage.file.models;
import java.time.OffsetDateTime;
/**
* Contains copy information about a File in the storage File service.
*/
public final class FileCopyInfo {
private final String eTag;
p... |
package com.cafbit.xmlfoo;
/*
* Copyright 2011 David Simmons
* http://cafbit.com/entry/implementing_des
*
* 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/l... |
package org.smartregister.tbr.jsonspec;
import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.widget.TextView;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.jun... |
/*
* 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 IO;
import java.io.*;
import java.util.Arrays;
public class StringDemo_Buffered_line2 {
public static void main(String[] args) throws Exception {
try(
// 輸出流
FileWriter fw = new FileWriter("copy_01.txt");
BufferedWriter bw = new BufferedWriter(fw);
){
for (int i = 0; i < 10; i++) {
bw.wri... |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may... |
/*
* Copyright 2015 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.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... |
// (c) 2009-2011 Miaoxin Li
// This file is distributed as part of the KGG source code package
// and may not be redistributed in any form, without prior written
// permission from the author. Permission is granted for you to
// modify this file for your own personal use, but modified versions
// must retain this copyr... |
package editor;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionListener;
import java.nio.file.Path;
import java.util.Map;
/**
* Main class for drawing GUI.
* <p>
* This class sets the appearance of application.
* It has no information about internal state of Text Editor.
* </p>
*/
public c... |
import java.io.Console;
public class LRUtest {
public static void main(String[] args) {
// TODO Auto-generated method stub
LRUCache lru = new LRUCache(1);
Thread lruThread = new Thread(lru);
lruThread.start();
lru.put(1, 3);
int val = lru.get(1);
System.out.println(val);
lru.put(2,5);
val = lru.... |
/*
* This file is auto-generated. DO NOT MODIFY.
*/
package github.tornaco.android.thanos.core.pref;
public interface IPrefChangeListener extends android.os.IInterface
{
/** Default implementation for IPrefChangeListener. */
public static class Default implements github.tornaco.android.thanos.core.pref.IPrefChan... |
package br.com.erudio.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
impor... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 花呗卖家实时准入风控
*
* @author auto create
* @since 1.0, 2020-07-15 10:05:07
*/
public class AlipayPcreditHuabeiSelleradmitRealtimeCertifyModel extends AlipayObject {
private static final long seri... |
package nourl.mythicmetals.mixin;
import net.minecraft.enchantment.EnchantmentHelper;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityGroup;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.damage.DamageSource;
import net.minecraft.i... |
// Copyright 2018 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 io.github.communityminecraftplugin.communityminecraftplugin.listener;
import org.bukkit.entity.EntityType;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDamageEvent;
import io.github.communityminecraftplugin.communityminecraftplugin.configuration.... |
/*
* Copyright 2012-2019 Andrey Grigorov, Anton Grigorov
*
* 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... |
/*
* 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 co.edu.uniandes.csw.sitios.entities;
import javax.persistence.MappedSuperclass;
import uk.co.jemos.podam.common.PodamStringValu... |
package org.andengine.entity.sprite;
import java.nio.FloatBuffer;
import org.andengine.opengl.shader.ShaderProgram;
import org.andengine.opengl.texture.region.ITextureRegion;
import org.andengine.opengl.vbo.VertexBufferObjectManager;
import org.andengine.opengl.vbo.VertexBufferObject.DrawType;
import org.andengine.op... |
/*
Copyright 2014-2016 Intel Corporation
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, s... |
package com.upresent.reporting.service;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.stream.Collectors;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.upresent.reporting.responsedto.ScheduleRecord;
import org.springframework.beans.fact... |
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.util.ElapsedTime;
/*
Created by me ON 10/23/18
*/
@TeleOp(name="DriveWithRubberBandInt... |
package safeforhall.logic.commands;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static safeforhall.logic.commands.CommandTestUtil.DESC_AMY;
import static safeforhall.logic.commands.CommandTestUtil.DESC_BOB;
import static safeforhall.logi... |
package com.sphinx.generator.domain;
import java.util.List;
/**
* 表数据
*
* @author chenshun
* @email sunlightcs@gmail.com
* @date 2016年12月20日 上午12:02:55
*/
public class TableDO {
// 表的名称
private String tableName;
// 表的备注
private String comments;
// 表的主键
private ColumnDO pk;
// 表的列名(不包... |
/*
* Copyright 2019-2021 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 com.dennis.hypermarket.product.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* spu信息介绍
*
* @author dennis
* @email 1785319835@qq.com
* @date 2020-06-04 13:26:0... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.lwansbrough.RCTCamera;
public final class R {
public static final class anim {
public static final int abc_fade_in = 0x7f04... |
/**
* 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.sql.v2017_10_01_preview.implementation;
import c... |
/*
* FouleFactoryApiLib
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ) on 09/14/2016
*/
package com.foulefactory.api.controllers;
import java.io.*;
import java.util.*;
import java.util.concurrent.*;
import com.foulefactory.api.*;
import com.foulefactory.api.models.*;
import com... |
/*
* Copyright (C) 2016. The CloudKit 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 a... |
/*
* Copyright 2020 ConsenSys AG.
*
* 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... |
/*
* Copyright DbMaintain.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/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.pgpainless.algorithm.negotiation;
import java.util.Set;
import org.pgpainless.algorithm.HashAlgorithm;
import org.pgpainless.policy.Policy;
public interface HashAlgorithmNegotiator {
HashAl... |
package org.antop.froala;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class FroalaEditorApplication {
public static void main(String[] args) {
SpringApplication.run(FroalaEditorApplication.class, arg... |
package com.mindbodyonline.clients.api._0_5_1.client_service;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for GetClientIndexesRequest complex type.
*
* ... |
/*
* Copyright (c) [2021] Huawei Technologies Co.,Ltd.All rights reserved.
*
* OpenArkCompiler is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, W... |
/*******************************************************************************
*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed 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
* ... |
//
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
// Gerado ... |
import java.util.Scanner;
public class Lab05_Travelling {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String input = scanner.nextLine();
double savedMoney = 0;
while (!"End".equals(input)) {
double minimalBudget = Double.parseDoub... |
package com.chat.server.Services.DatabaseProcedures;
import com.chat.client.Models.*;
import com.chat.client.errors.ConversationNotFoundException;
import com.chat.client.errors.UserNotFoundException;
import com.chat.server.Services.ConnectionManager;
import com.chat.server.Services.IntegrationService;
import java.sql... |
package util;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
/**
* Esta classe tem a função de gerenciar o arquivo aControlStartJob.sh que será utilizado
* nas execução do arquivo jar
* @author rubens
*
* Como usar
*
* ManagerJob man = new ManagerJob();
* man.configur... |
/*
* ====================================================================
* 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
... |
//
// ========================================================================
// Copyright (c) 1995-2020 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
public class TennisGame2 implements TennisGame {
private static final String[] SCORES = {"Love", "Fifteen", "Thirty", "Forty"};
private int p1Point = 0;
private int p2Point = 0;
public String getScore() {
String score = "";
if (p1Point == p2Point) {
score = scoreForEquality(... |
package br.ufsc.labsec.signature.conformanceVerifier.pades.utils;
import br.ufsc.labsec.signature.SignaturePolicyInterface;
import br.ufsc.labsec.signature.Verifier;
import br.ufsc.labsec.signature.conformanceVerifier.cades.CadesSignature;
import br.ufsc.labsec.signature.conformanceVerifier.cades.CadesSignatureContain... |
package com.sharingcard.common.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Excel注解定义
* @author ThinkGem
* @version 2013-03-10
*/
@Target({ElementType.METHOD, ElementType.FIELD, E... |
// SPDX-License-Identifier: MIT
package com.mercedesbenz.sechub.sharedkernel.messaging;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
public enum MessageID {
START_SCAN( /* @formatter:off */
MessageDataKeys.SECHUB_UUID,
MessageDataKeys.BATCH_JOB_ID,
... |
/**
** Copyright 2016-2020 General Electric Company
**
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless requir... |
package com.easyfitness.DAO;
import java.util.Date;
/* DataBase Object */
public class StaticExercise extends ARecord {
// Notez que l'identifiant est un long
private int mSerie;
private int mSecond;
private float mPoids;
private int mUnit;
private String mNote;
/*
* Fonte(Date pDate... |
package com.jogl.unpack;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
/**
* @author Dmitry
*/
class DoublePacker extends BasePacker {
public DoublePacker(Quantificator quantificator) {
super(quantificator);
}
@Override
protected void innerProcess(InputStre... |
package com.emnify.kvcluster.client.random;
import java.util.Arrays;
/**
* @author Danilo Oliveira
*/
public class RandomStrings {
public static final String[] KEYS = ("George Washington\n"
+ "John Adams\n"
+ "Thomas Jefferson\n"
+ "James Madison\n"
+ "James Monroe\n"
+ ... |
package com.liaojl.netty.http.xml.server;
import com.liaojl.netty.http.xml.handle.HttpXmlRequestDecoder;
import com.liaojl.netty.http.xml.handle.HttpXmlResponseEncoder;
import com.liaojl.netty.http.xml.pojo.Order;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.Channel;
import io.netty.channel.Chann... |
package com.omilia.channels.commons.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class User {
// attributes
@JsonProperty("user_id")
public String userId;
@JsonProperty("e... |
package com.microblink.flutter.overlays.serialization;
import android.content.Context;
import com.microblink.entities.recognizers.RecognizerBundle;
import com.microblink.fragment.overlay.blinkid.documentverification.DocumentVerificationOverlayStrings;
import com.microblink.uisettings.DocumentVerificationUISettings;
i... |
/**
* Copyright 2012-2015 Gunnar Morling (http://www.gunnarmorling.de/)
* and/or other contributors as indicated by the @authors tag. See the
* copyright.txt file in the distribution for a full listing of all
* contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not ... |
package com.capitalone.dashboard.model;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
/**
* Binary artifacts prod... |
package com.recombee.api_client.api_requests;
/*
This file is auto-generated, do not edit
*/
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import com.recombee.api_client.bindings.Logic;
import com.recombee.api_client.util.HTTPMethod;
/**
* Adds a new user to the database.
*/
public class... |
/*
Copyright 2018 Penny Rohr Curich
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, softwa... |
package de.uni_hannover.sra.minimax_simulator.model.machine.minimax.layout;
import de.uni_hannover.sra.minimax_simulator.ui.layout.constraint.AttributeType;
import de.uni_hannover.sra.minimax_simulator.ui.layout.constraint.Constraint;
import de.uni_hannover.sra.minimax_simulator.ui.layout.constraint.Layout;
import ja... |
/*
* Copyright (C) 2017 Dremio Corporation
*
* 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 net.jmb19905.medievalworlds.util.slots;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.crafting.RecipeType;
import net.minecraftforge.common.ForgeHooks;
import net.minecraftforge.items.IItemHandler;
import net.minecraftforge.items.SlotItemHandler;
import javax.annotation.Nonnull;
... |
package org.wso2.carbon.apimgt.rest.api.admin.v1;
import org.wso2.carbon.apimgt.rest.api.admin.v1.*;
import org.wso2.carbon.apimgt.rest.api.admin.v1.dto.*;
import org.apache.cxf.jaxrs.ext.MessageContext;
import org.apache.cxf.jaxrs.ext.multipart.Attachment;
import org.apache.cxf.jaxrs.ext.multipart.Multipart;
import... |
/**
* AdRulePriorityError.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201405;
/**
* Errors associated with ad rule priorities.
*/
public class AdRulePriorityError extends com.google.api.ads.dfp... |
/*
* 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) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package com.vastsum.schedule.handler;
public interface JobHandler {
void test();
/**
* 当机器托管给服务器之后,自动下发每天的参数设置信息
*/
void selfParamSet();
} |
package com.example.demo.entity;
import com.example.demo.enums.Role;
import org.springframework.web.multipart.MultipartFile;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
import java.util.stream.Collectors;
@Entity
@Table(name = "users")
public class User {
@Column(name = "id", null... |
package com.sagetablet;
import java.util.LinkedList;
public class FileTreeNode {
FileTreeNode parent = null;
String name = "";
String path = "";
LinkedList<FileTreeNode> successors = null;
int isFile = 0;
public FileTreeNode(String name, String path, FileTreeNode parent, LinkedList<FileTreeN... |
/*
* Copyright 2022.1-2022
* StarWhale.ai All right reserved. This software is the confidential and proprietary information of
* StarWhale.ai ("Confidential Information"). You shall not disclose such Confidential Information and shall use it only
* in accordance with the terms of the license agreement you entered i... |
package org.apache.lucene.search;
/*
* 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, Versi... |
package leetCode.io;
/**
* @ClassName EnvironmentCapable
* @Description TODO
* @Author Dave
* @Date 2018/8/29 15:51
* @Version 1.0
**/
public interface EnvironmentCapable {
} |
package com.applozic.mobicomkit.uiwidgets.conversation.activity;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
import androidx.core.content.ContextCompat;
import androidx.recyclerview.widget.RecyclerView;
import android... |
package no.fint.consumer.models.time;
import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import lombok.extern.slf4j.Slf4j;
import no.fint.cache.CacheService;
import no.fint.cache.model.CacheObject;
import no.... |
/*
* GridGain Community Edition Licensing
* Copyright 2019 GridGain Systems, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause
* Restriction; you may not use this file except in compliance with the License. You may obtain a
* c... |
package org.pmiops.workbench.db.model;
import java.sql.Timestamp;
import java.util.Objects;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import org.apache.... |
package de.melanx.skyblockbuilder.commands;
import com.mojang.brigadier.builder.ArgumentBuilder;
import com.mojang.brigadier.exceptions.CommandSyntaxException;
import de.melanx.skyblockbuilder.ConfigHandler;
import de.melanx.skyblockbuilder.events.SkyblockHooks;
import de.melanx.skyblockbuilder.util.Team;
import de.me... |
package org.hl7.fhir.r4.model.codesystems;
/*
Copyright (c) 2011+, HL7, 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 copyr... |
/*
* Undo.java
*
* Created on August 28, 2005, 10:28 AM
*
*/
package edu.oregonstate.cartography.flox.gui;
import java.util.*;
import javax.swing.*;
/**
* Undo/Redo manager based on a linked list. The list contains objects that allow
* for the full reconstruction of the state of the software.
*
* @author B... |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition... |
import java.util.ArrayList;
import java.util.Scanner;
/**
* @Classname GetPermutation
* @Description TODO
* The set [1,2,3,...,n] contains a total of n! unique permutations.
*
* By listing and labeling all of the permutations in order, we get the following sequence for n = 3:
*
* "123"
* "132"
* "213"
* "231... |
/*
Copyright 2017 Digital Learning Sciences (DLS) at the
University Corporation for Atmospheric Research (UCAR),
P.O. Box 3000, Boulder, CO 80307
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 a... |
/**
* @author giuliano ranauro
* Date: 13/06/2021 01:23
* Ide: Intellij
* JDK: 1.8
* @version 1.0
*/
package it.unisannio.ingsof20_21.group8.CARE_MVC.Exceptions;
public class NullUserException extends Exception {
public NullUserException() {
super();
}
public NullUserException(String m) {
... |
// This is a generated file. Not intended for manual editing.
package com.neueda.jetbrains.plugin.graphdb.language.cypher.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.inte... |
/*
* 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
... |
/*******************************************************************************
* Copyright (c) 2016, NEC Europe Ltd.
* All rights reserved.
*
* Authors:
* * NEC IoT Platform Team - iotplatform@neclab.eu
* * Flavio Cirillo - flavio.cirillo@neclab.eu
* * Tobias Jacobs - tobias.jacobs@... |
package org.bukkit.inventory;
import org.apache.commons.lang.Validate;
import org.bukkit.Keyed;
import org.bukkit.Material;
import org.bukkit.NamespacedKey;
import org.bukkit.material.MaterialData;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* Represents a shapeless recipe, whe... |
package nextstep.subway.member;
import io.restassured.RestAssured;
import io.restassured.response.ExtractableResponse;
import io.restassured.response.Response;
import nextstep.subway.AcceptanceTest;
import nextstep.subway.auth.dto.TokenResponse;
import nextstep.subway.member.dto.MemberRequest;
import nextstep.subway.m... |
package com.jexunit.core.dataprovider;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation to define the variable/method that provides the filename(s) for the excel-file(s) for the test.
*
... |
package tachyon.client;
/**
* Different write types for a TachyonFile.
*/
public enum WriteType {
/**
* Write the file and must cache it.
*/
MUST_CACHE(1),
/**
* Write the file and try to cache it.
*/
TRY_CACHE(2),
/**
* Write the file synchronously to the under fs, and also try to cache it,... |
package org.school.library.service;
import org.school.library.domain.Book;
import org.school.library.repository.IBookRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereoty... |
/*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.