text stringlengths 7 1.01M |
|---|
/******************************************************************************
**
** Advanced Distributed Learning Co-Laboratory (ADL Co-Lab) Hub grants you
** ("Licensee") a non-exclusive, royalty free, license to use, modify and
** redistribute this software in source and binary code form, provided that
** i) t... |
/* */ package pro.gravit.repackage.io.netty.channel;
/* */
/* */ import java.net.ConnectException;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class ConnectTi... |
package fr.sii.ogham.email.sendgrid.v4.sender.impl.sendgrid.compat;
import com.sendgrid.helpers.mail.objects.Attachments;
/**
* Compatibility wrapper that wraps {@link Attachments} instance and delegates
* operations to it.
*
* @author Aurélien Baudet
* @see CompatUtil
* @see CompatFactory
*/
public class Cor... |
/*
* Copyright 2017 Apereo
*
* 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 com.oanda.v20.transaction;
/**
* The reason that the Stop Loss Order was initiated
*/
public enum StopLossOrderReason {
/**
* The Stop Loss Order was initiated at the request of a client
*/
CLIENT_ORDER,
/**
* The Stop Loss Order was initiated as a replacement for an existing Ord... |
package com.example.notification_hubs_sample_app_java.cookbook;
import android.content.Context;
import androidx.test.filters.SmallTest;
import androidx.test.platform.app.InstrumentationRegistry;
import org.junit.Assert;
import org.junit.Test;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@SmallTe... |
// This file is part of the 'texasholdem' project, an open source
// Texas Hold'em poker application written in Java.
//
// Copyright 2009 Oscar Stigter
//
// 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 co... |
/*
* 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 ... |
class Solution {
public String XXX(String s, int numRows) {
if(numRows==1){
return s;
}
char[] charArray = s.toCharArray();
int length = s.length();
List<Integer> list = new ArrayList<>();
StringBuilder sb = new StringBuilder();
for (int i = 0; i... |
package com.alexkasko.springjdbc.iterable;
import java.io.Closeable;
import java.util.ArrayList;
import java.util.List;
/**
* Specialized {@link Iterable} partial implementation, returns closable iterators.
* This class is not used directly in this library and may be used for
* processing possible results for mul... |
package nxt.nav.path;
import java.util.Stack;
import nxt.data.Tile;
import nxt.nav.Direction;
/**
* A class to generate a path to travel given the locations of obstacle tiles
* and inaccessible tiles.
*
* @author Andrei Purcarus
*
*/
public class PathGenerator {
private Grid _grid;
private Tile _destination... |
package com.github.clevernucleus.dataattributes.client;
import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import com.github.clevernucleus.dataattributes.DataAttributes;
import com.github.clevernucleus.dataattributes.api.event.client.ClientSyncedEvent;
import com.github.clevernucleus.d... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.sequenceiq.cloudbreak.api.endpoint.v4.user;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import com.sequenceiq.cloudbreak.api.endpoint.v4.user.responses.UserEvictV4Response;
import c... |
package cn.rongcloud.im.ui.activity;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.media.AudioManager;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
imp... |
package r3;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintWriter;
public class Logging {
public static FileOutputStream fs;
public static PrintWriter pw;
public static void init() {
if (fs == null) {
try {
fs = new FileOutpu... |
package com.planet_ink.coffee_mud.Abilities.Spells;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import... |
/*
* (c) Copyright 2018 Palantir Technologies Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
/*
* 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 ... |
package crazypants.structures.gen.structure.decorator;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import com.google.gson.annotations.Expose;
import crazypants.structures.AbstractTyped;
import crazypants.structures.api.ListElementType;
import crazypants.structures.api.gen.IDecorator;
... |
package com.liuhll.hl.basicdata.controller;
import com.liuhll.hl.basicdata.common.vo.GetSysConfigOutput;
import com.liuhll.hl.basicdata.domain.entity.Systemconf;
import com.liuhll.hl.basicdata.service.SysConfService;
import com.liuhll.hl.basicdata.vo.sysconf.CreateSysConfInput;
import com.liuhll.hl.common.exception.Bu... |
package org.dspace.discovery;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import org.dspace.content.DSpaceObject;
import org.dspace.core.Constants;
import org.dspace.core.Context;
import org.dspace.discovery.DiscoverResult.SearchDocument;
import org... |
/*
* Copyright 2018 - 2021 Paul Hagedorn (Panzer1119)
*
* 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 ... |
package tss.tpm;
import tss.*;
// -----------This is an auto-generated file: do not edit
//>>>
/**
* This is a placeholder to allow testing of the dispatch code.
*/
public class Vendor_TCG_TestResponse extends TpmStructure
{
/**
* This is a placeholder to allow testing of the dispatch code.
*
* @pa... |
package ru.job4j.list;
import org.junit.Test;
import java.util.ConcurrentModificationException;
import java.util.Iterator;
import java.util.NoSuchElementException;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.*;
/**
* @author Nikolay Meleshkin (sol.of.f@mail.ru)
* @version 0.1
*/
public ... |
package educative.k_way_merge;
import java.util.*;
public class KthSmallestInMSortedArrays {
public static int findKthSmallest(List<Integer[]> lists, int k) {
Queue<Node> queue = new PriorityQueue<>(Comparator.comparingInt(n -> lists.get(n.arrayIndex)[n.elementIndex]));
for (int i = 0; i < lists... |
/*******************************************************************************
* Copyright 2013 Ednovo d/b/a Gooru. All rights reserved.
*
* http://www.goorulearning.org/
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (... |
/*
* Copyright © 2017-2018 All Rights Reserved
* 上海仰空网络科技有限公司 版权所有
*/
package org.chw.provider.redis;
import java.util.Collections;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.data.redis.... |
/*
* ============================================================================
* GNU General Public License
* ============================================================================
*
* Copyright (C) 2006-2011 Serotonin Software Technologies Inc. http://serotoninsoftware.com
* @author Matthew Lohbihler
*... |
/*
* Copyright 2014 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
/*
* ICARUS2 Corpus Modeling Framework
* Copyright (C) 2014-2022 Markus Gärtner <markus.gaertner@ims.uni-stuttgart.de>
*
* 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 tinysat.solvers;
import tinysat.base.Instance;
import tinysat.base.Propagator;
import tinysat.base.SolverOption;
import tinysat.base.Variable;
import java.util.*;
public class DPLLSolver implements Solver {
private Instance instance;
private SolverOption option;
private List<Variable> assignment;... |
package ist.meic.pa.FunctionalProfiler.test5;
public class Student {
int mark;
}
|
/*
* Copyright (c) 2012 - 2020 Arvato Systems GmbH
*
* 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 applicabl... |
/****************************************************************
* 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 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package mekanism.common.content.matrix;
import it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap;
import it.unimi.dsi.fastutil.objects.ObjectOpenHashSet;
import java.util.Map;
import java.util.Set;
import javax.annotation.ParametersAreNonnullByDefault;
import mcp.MethodsReturnNonnullByDefault;
import mekanism.api... |
package com.shrinkmyurl.Entity;
public class FetchUrlDTO {
private String urlKey;
private boolean isShortUrlKey;
public FetchUrlDTO(String urlKey, boolean isShortUrlKey) {
this.urlKey = urlKey;
this.isShortUrlKey = isShortUrlKey;
}
public String getUrlKey() {
return urlKey... |
package ro.ciprianradu.rentacar.http.dtos;
/**
* Physical location where vehicles can be picked up or returned.
*/
public class Location {
private String name;
private String address;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;... |
/*******************************************************************************
* Copyright (c) 2015
*
* 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 withou... |
/*
* ============LICENSE_START=======================================================
* org.onap.dcae
* ================================================================================
* Copyright (c) 2020 AT&T Intellectual Property. All rights reserved.
* ==================================================... |
// Targeted by JavaCPP version 1.5.6-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.opencv.opencv_objdetect;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.openblas.global.openblas_nola... |
package it.dpedone.scpdemo.controller;
import it.davidepedone.scp.data.CursorPageable;
import it.davidepedone.scp.hateoas.SlicedModel;
import it.davidepedone.scp.hateoas.SlicedResourcesAssembler;
import it.davidepedone.scp.pagination.CursorPaginationSlice;
import it.dpedone.scpdemo.entities.Tweet;
import it.dpedone.sc... |
package com.activeandroid.util;
/*
* Copyright (C) 2010 Michael Pardo
*
* 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 ... |
package com.huaweicloud.sdk.iotda.v5.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
/** 创建资源空间结构体。 */
public class AddApplication {
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "app_name")
p... |
/*
* Copyright 2014 The Error Prone 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 ... |
/*
* Hydrogen Atom API
* The Hydrogen Atom API
*
* OpenAPI spec version: 1.7.0
* Contact: info@hydrogenplatform.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.hydrogen.nuc... |
package org.rcdukes.detect;
import java.util.concurrent.TimeUnit;
import org.rcdukes.camera.CameraMatrix;
import org.rcdukes.common.Characters;
import org.rcdukes.common.DukesVerticle;
import org.rcdukes.common.Events;
import org.rcdukes.detect.edgedectection.CannyEdgeDetector;
import org.rcdukes.detect.linedetection... |
package xyz.acrylicstyle.tlibtest;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
import util.Collection;
import util.ICollectionList;
import xyz.acrylicstyle.tlibtest.util.Target;
import xyz.acrylicstyle.tomeito_api.Ba... |
/*
* @(#)Main.java
*
* Copyright (c) 2007 by the original authors of JHotDraw and all its
* contributors. All rights reserved.
*
* You may not use, copy or modify this file, except in compliance with the
* license agreement you entered into with the copyright holders. For details
* see accompanying license ter... |
package yirath.terrain;
public class TerrainManager {
}
|
package com.sunyard.core.S120010008_test;
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>SubSvcRetInfoType complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <... |
package com.planet_ink.coffee_mud.Libraries;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink.coffee_mud.Behaviors.interfaces.*;
import co... |
package sk.upjs.ics.mealplanet;
import org.springframework.jdbc.core.JdbcTemplate;
import com.mysql.jdbc.jdbc2.optional.MysqlDataSource;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
public class... |
/*
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
/*
* Copyright (c) 2014, 2016, 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 ... |
package co.nyzo.verifier;
import java.nio.charset.StandardCharsets;
public class FieldByteSize {
public static final int balanceListLength = 4;
public static final int blockHeight = 8;
public static final int blocksUntilFee = 2;
public static final int booleanField = 1;
public static final int cy... |
/*
* Copyright (c) 2016 Seth J. Morabito <web@loomcom.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, copy,... |
package com.example.lewandowski.bank;
import android.content.DialogInterface;
import android.graphics.Color;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
im... |
package com.plm.service;
import java.util.List;
import com.plm.model.ProjectBase;
import com.plm.model.ProjectBaseView;
import com.plm.model.ProjectFundsView;
import com.plm.model.ProjectUser;
import com.plm.model.UserInfo;
/**
* 项目基本信息管理服务
* @author Flyblue
*
*/
public interface IProjectBaseServi... |
/*
*
* 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"); y... |
package com.yilian.luckypurchase.adapter;
import android.text.TextUtils;
import android.view.View;
import android.widget.ImageView;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.orhanobut.logger.Logger;
import com.yilian.luckypurchase.R;
import ... |
/*
* Copyright 2016 Anton Tananaev (anton@traccar.org)
* Copyright 2016 Andrey Kunitsyn (andrey@traccar.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.... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2019 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... |
package io.github.nblxa.turntables.junit;
import edu.umd.cs.findbugs.annotations.NonNull;
import io.github.nblxa.turntables.Tab;
import io.github.nblxa.turntables.io.rowstore.CleanUpAction;
public class TestTableDetail {
@NonNull
private final Tab tab;
@NonNull
private final String name;
@NonNull
private ... |
/*
*
* 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.japhy.order.domain.order.service;
import com.japhy.order.domain.order.model.entity.Order;
import java.util.List;
/**
* OrderService.
* @author Japhy
* @since 2020/4/5 08:36
*/
public interface OrderService {
/**
* single.
*
* @param id
* @return
*/
Order getById(Long ... |
package ch.zhaw.photoflow.core.dao;
import static ch.zhaw.photoflow.core.util.GuavaCollectors.toImmutableList;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.time.LocalDateTime;
import java.util.Optional;
... |
package test.client;
import java.lang.reflect.Constructor;
import java.net.URI;
import org.xito.httpservice.client.ServiceResponse;
import org.xito.httpservice.client.ServiceStub;
public class TestStubClient {
/**
* @param args
*/
public static void main(String[] args) {
try {
Servic... |
/*
* Copyright 2020 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" ... |
// 此注释部分为源代码
// package provider;
//
//import org.springframework.context.annotation.Profile;
//import org.springframework.web.bind.annotation.*;
//import provider.ulti.Nationality;
//
//@Profile("pact")
//@RestController
//public class PactController {
//
// @RequestMapping(value = "/pactStateChange", method = Requ... |
/*
* Copyright 2015-2020 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... |
/*
* 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 ... |
/*
Exercise 1: Compute the average of five numbers.
The inputs should be 5 integers.
The output should be one double, the average of the first five.
*/
import java.util.Scanner; // Get access to the scanner for user input
public class Exercise1
{
public static void main(String[] args)
{
System.out.pr... |
package com.unimelbhunters.test.et.firebasechat.core.registration;
import android.app.Activity;
import com.google.firebase.auth.FirebaseUser;
/**
*
* Created on: 8/28/2016 , 11:10 AM
* Project: FirebaseChat
*/
public class RegisterPresenter implements RegisterContract.Presenter, RegisterContract.OnRegistrationL... |
package org.gradle.test.performance.mediummonolithicjavaproject.p97;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test1946 {
Production1946 objectUnderTest = new Production1946();
@Test
public void testProperty0() {
String value = "value";
objectUnderTest.s... |
package paho.mavenproj;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( ... |
package pl.grzegorz2047.databaseapi.shop;
import org.bukkit.Material;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.EnchantmentStorageMeta;
import org.bukkit.inventory.meta.ItemMeta;
public class Item {
private final int itemid;
private fin... |
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.node.admin.task.util.file;
import com.yahoo.vespa.hosted.node.admin.component.TaskContext;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.... |
package com.google.location.nearby.apps.pictoChat;
import java.util.Random;
/** Utility class to generate random Android names */
public final class CodenameGenerator {
private static final String[] COLORS =
new String[] {
"Red",
"Orange",
"Yellow",
"Green",
"Blue",
... |
/*
* Copyright (C) 2016 - Niklas Baudy, Ruben Gees, Mario Đanić and contributors
*
* 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 net.bankid.merchant.library;
/**
* Interface to create an {@link IKeyProvider}
*/
public interface IKeyProviderFactory {
/**
* Create a new {@link IKeyProvider}
* @param config The {@link Configuration}
* @return The new {@link IKeyProvider}
*/
IKeyProvider create(Configuration co... |
package edu.autonomic.beta.controller.documentsImp;
import java.util.ArrayList;
import java.util.List;
import edu.autonomic.beta.controller.documents.IRequestForChange;
/**
* @author Edith Zavala
*/
public class RequestForChange implements IRequestForChange {
private List<String> actions;
private String type;
... |
/*
* Copyright (C) 2019 Lisa Park, Inc. (www.lisa-park.net)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
... |
/*
* Copyright 2021 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... |
/*
* Copyright 2001-2011 Stephen Colebourne
*
* 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... |
/**
* 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... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/saved_object_graph.proto
package org.tensorflow.proto.framework;
public interface SavedObjectOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.SavedObject)
com.google.protobuf.MessageOrBuil... |
/*
* USE - UML based specification environment
* Copyright (C) 1999-2010 Mark Richters, University of Bremen
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* Li... |
/*
* Copyright 2020 Yelp 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... |
/*
* Copyright 2019 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 ... |
/*
* Copyright 1999-2012 Alibaba Group.
*
* 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.anonymoushacker1279.immersiveweapons.util;
import com.anonymoushacker1279.immersiveweapons.ImmersiveWeapons;
import com.electronwill.nightconfig.core.file.CommentedFileConfig;
import com.electronwill.nightconfig.core.io.WritingMode;
import net.minecraftforge.common.ForgeConfigSpec;
import java.nio.file.Pa... |
/*
* 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 cd4017be.automation.Item;
import cd4017be.automation.Config;
import net.minecraft.block.Block;
import net.minecraft.item.ItemStack;
/**
*
* @author CD4017BE
*/
public class ItemHugeTank extends ItemTank {
public ItemHugeTank(Block id) {
super(id);
}
@Override
public int getCapacity(ItemStack item)... |
package sagan.projects.support;
import java.util.List;
import sagan.projects.Project;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.EntityGraph;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org... |
/*
* Copyright (c) 2010-2021 Mark Allen, Norbert Bartels.
*
* 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, ... |
package com.hzf.core.toolkit;
import com.mysql.jdbc.StringUtils;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
public class FileUtil {
public static void makeDirectory(String path) {
newFolder(path);
}
public static void WriteStringToFile(String filePath, String content) ... |
/*
Copyright 2018 Nationale-Nederlanden
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.