text stringlengths 7 995k |
|---|
/*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* Copyright 2011 Mikhail Lopatkin
*
* 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... |
package com.yomahub.liteflow.test.asyncNode.cmp;
import com.yomahub.liteflow.core.NodeComponent;
import com.yomahub.liteflow.slot.DefaultContext;
import com.yomahub.liteflow.slot.Slot;
import com.yomahub.liteflow.test.asyncNode.exception.TestException;
public class ICmp extends NodeComponent {
@Override
pub... |
package module;
public class TituloGrupo {
private String titulo;
private String grupo;
public TituloGrupo(String titulo, String grupo) {
this.titulo = titulo;
this.grupo = grupo;
}
public String getTitulo() {
return this.titulo;
}
public String getGrupo() {
return this.grupo;
}
} |
package com.shopping.admin.user;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Service;
import com.shopping.common.entity.Role;
import com.shopping.common.entity.User;
@... |
package aula11.ex1_parte1;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
im... |
package yyl.mvc.plugin.security;
import java.io.Serializable;
/**
* 认证令牌
* @author _yyl
*/
@SuppressWarnings("serial")
public class AuthToken implements Serializable {
// ==============================Fields========================================
/** 账号 */
private String account;
/** 密码 */
pr... |
package com.zjzy.morebit.fragment;
import android.app.Activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.AppB... |
package info.bitrich.xchangestream.huobi;
import info.bitrich.xchangestream.core.StreamingExchange;
import info.bitrich.xchangestream.core.StreamingExchangeFactory;
import info.bitrich.xchangestream.huobi.dto.HuobiKlineType;
import info.bitrich.xchangestream.huobi.dto.HuobiStepType;
import java.util.List;
import org.k... |
/**
* Copyright (c) 2013-2022 Contributors to the Eclipse Foundation
*
* <p> See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Versio... |
// 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.
/**
* This package contains the implementation classes for KustoManagementClient.
* The Azure ... |
package net.thevpc.nuts.runtime.core.format.elem.mappers;
import net.thevpc.nuts.*;
import java.io.File;
import java.lang.reflect.Type;
public class NutsElementMapperFile implements NutsElementMapper<File> {
@Override
public Object destruct(File src, Type typeOfSrc, NutsElementFactoryContext context) {
... |
/*
* 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 com.zkzong.sb2.webflux;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Component;
import org.springframework.web.reactive.function.BodyInserters;
import org.springframework.web.reactive.function.server.ServerRequest;
import org.springframework.web.reactive.function.server.Serv... |
package cn.org.atool.fluent.mybatis.test.entity;
import cn.org.atool.fluent.mybatis.generator.ATM;
import cn.org.atool.fluent.mybatis.generator.shared2.entity.StudentEntity;
import cn.org.atool.fluent.mybatis.generator.shared2.entity.TeacherEntity;
import cn.org.atool.fluent.mybatis.generator.shared2.wrapper.StudentQu... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.co... |
package com.sahdeepsingh.Bop.fragments;
import android.app.Fragment;
import android.content.Context;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
impo... |
/**
* Copyright 2016 LinkedIn Corp. 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 applica... |
package mlesiewski.simpledi.core.testutils;
import mlesiewski.simpledi.core.SimpleDiException;
import mlesiewski.simpledi.core.scopes.Scope;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.concurrent.CountDownL... |
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 - 2017 GwtMaterialDesign
* %%
* 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
* ... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed ... |
/*
* Copyright (c) 2018, DThompson
* All rights reserved.
*
* Licensed under: Creative Commons Attribution-NonCommercial 4.0 International Public License
* See LICENSE.TXT included with this code to read the full license agreement.
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
*... |
/*
* 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 SeleniumTests;
import org.junit.Assert;
import org.junit.Test;
public class Task19_MultilayerArchitecture extends BaseTests{
@Test
public void addToCartDeleteFromCartTest()
{
liteCartShop.addDuckFromProductBlockToCart();
Assert.assertTrue(liteCartShop.checkIncreasingDucksInCart());... |
/*
* -------------------------------- MIT License --------------------------------
*
* Copyright (c) 2019-2020 SNF4J contributors
*
* 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 wi... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
AGPL licensi... |
package io.vincentwinner.toolset.ai.wordsegment.jieba;
public class Node {
protected Character value;
protected Node parent;
protected Node(Character value, Node parent) {
this.value = value;
this.parent = parent;
}
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.ai.textanalytics.models;
import com.azure.core.annotation.Immutable;
import java.util.ArrayList;
import java.util.List;
/**
* The RecognizeEntitiesResult model.
*/
@Immutable
public final class Recogn... |
package com.dataiku.dctc.archive;
import java.io.IOException;
import java.io.InputStream;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
public class ZipInputArchiveEntry implements InputArchiveEntry {
public ZipInputArchiveEntry(ZipEntry entry, ZipInputStream stream) {
this.entry = e... |
package ru.stqa.pft.addressbook.tests;
import org.openqa.selenium.remote.BrowserType;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import ru.stqa.pft.addressbook.appmanager.ApplicationManager;
public class TestBase {
protected final ApplicationManager app = new Applicatio... |
/*
* Copyright (c) 2008-2020, Hazelcast, 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 ... |
/*
* Vortex OpenSplice
*
* This software and documentation are Copyright 2006 to TO_YEAR ADLINK
* Technology Limited, its affiliated companies and licensors. All rights
* reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e... |
package fr.free.nrw.commons.explore.categories;
import android.content.Context;
import android.content.Intent;
import android.database.DataSetObserver;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.widget.Ada... |
/**
*/
package CIM.IEC61970.Informative.InfERPSupport.impl;
import CIM.IEC61968.Common.CommonPackage;
import CIM.IEC61968.Common.Document;
import CIM.IEC61970.Informative.InfCommon.impl.RoleImpl;
import CIM.IEC61970.Informative.InfERPSupport.DocOrgRole;
import CIM.IEC61970.Informative.InfERPSupport.ErpOrganisation;... |
/*-
* Copyright (C) 2002, 2017, Oracle and/or its affiliates. All rights reserved.
*
* This file was distributed by Oracle as part of a version of Oracle Berkeley
* DB Java Edition made available at:
*
* http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html
*
* Please ... |
package Control;
public class calInversion {
//计算逆序数。
private int[] array;
public calInversion(int[] array)
{
this.array = array;
}
public int count(int p, int r)
{
int inversionCount = 0;
if (p<r)
{
int mid = (p+r)/2;
//递归
... |
/*
Derby - Class org.apache.derby.impl.sql.compile.SetSchemaNode
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... |
package com.lts.admin.web.support.csrf;
import javax.servlet.http.HttpServletRequest;
/**
* 配置在 velocity tools 中
*
* <input type="hidden" name="csrfToken" value="$csrfTool.getToken($request)"/>
*
* @author Robert HG (254963746@qq.com) on 11/10/15.
*/
public class CSRFTool {
public static String getToken(Htt... |
package curso_design_pattern.chain_of_responsibility;
public class DescontoPorVendaCasada implements Desconto{
private Desconto proximo;
@Override
public double desconta(Orcamento orcamento) {
boolean temCaneta = verificaItemNaLista(orcamento, "caneta");
boolean temLapis = verificaItemNaLista(orcamento, "l... |
package com.quorum.tessera.config.cli;
import com.quorum.tessera.config.Config;
import picocli.CommandLine;
import java.nio.file.Path;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
@CommandLine.Command(
name = "tessera",
headerHeading = "Usage:%n%n",
header = "T... |
/*
* Copyright 2013, Google 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 conditio... |
package com.bitcola.exchange.security.admin.biz;
import com.bitcola.exchange.security.admin.entity.GateLog;
import com.bitcola.exchange.security.admin.mapper.GateLogMapper;
import com.bitcola.exchange.security.common.biz.BaseBiz;
import org.springframework.stereotype.Service;
import org.springframework.transaction.ann... |
// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------------------------------... |
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;
public class tree implements Runnable {
Node root;
static class Node
{
int key;
long value;
Node lson;
Node rson;
public Node( long value, int key)
{
th... |
/*
* Copyright 2014 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.ragnarok.jparseutil.dataobject;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
/**
* Created by ragnarok on 15/6/9.
* representation an Annotation declaration in Java source, currently not concern about the retention and target
*/
public class Annotation... |
package jetbrains.mps.lang.editor.constraints;
/*Generated by MPS */
import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor;
import jetbrains.mps.smodel.runtime.ConstraintFunction;
import jetbrains.mps.smodel.runtime.ConstraintContext_DefaultScopeProvider;
import jetbrains.mps.smodel.runtime.ReferenceScop... |
/*
* Copyright (c) 2010, 2013, 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 array_matrix_sorting;
import java.util.Arrays;
import java.util.Comparator;
import java.util.PriorityQueue;
/**
* Given an array of meeting time intervals intervals where intervals[i] = [starti, endi], return the minimum number of
* conference rooms required.
*
* Example 1:
*
* Input: intervals = [[0,30... |
/*
* 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 com.yyxnb.what.adapter.base;
import com.yyxnb.what.adapter.ItemDelegate;
public abstract class BaseAdapter<T> extends MultiItemTypeAdapter<T> {
public BaseAdapter(int mLayoutId) {
this.mLayoutId = mLayoutId;
addItemDelegate(new ItemDelegate<T>() {
@Override
public... |
package org.gitlab4j.api;
import java.io.File;
import java.util.Date;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.stream.Stream;
import javax.ws.rs.core.Form;
import javax.ws.rs.core.GenericType;
import javax.ws.rs.core.Response;
import org.gitlab4j.api.GitLabApi.ApiV... |
/*
* 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 lab3_erick_martinez;
/**
*
* @author usuario
*/
public class Jugadores {
public String nombre;
public String apelli... |
/* Copyright 2015-2020 Norconex 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 com.infotamia.cosmetics.services.oauth;
import com.infotamia.access.AuthenticationProvider;
import javax.inject.Qualifier;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
... |
/**
* Copyright (c) Lambda Innovation, 2013-2016
* This file is part of LambdaLib modding library.
* https://github.com/LambdaInnovation/LambdaLib
* Licensed under MIT, see project root for more information.
*/
package cn.lambdalib.core;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundE... |
/*
* 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 cn.fcw.tran.common.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 登录用户信息
*
* @author Mark sunlightcs@gmail.com
*/
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNT... |
package com.gentics.mesh.generator;
import static com.gentics.mesh.core.rest.schema.change.impl.SchemaChangeModel.ADD_FIELD_AFTER_KEY;
import static com.gentics.mesh.core.rest.schema.change.impl.SchemaChangeModel.CONTAINER_FLAG_KEY;
import static com.gentics.mesh.core.rest.schema.change.impl.SchemaChangeModel.DESCRIPT... |
/*
* 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 not ... |
/**
* Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith... |
/*
* Copyright (c) 2012, 2022, 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 com.heaven.elegy.common.util;
/**
* 类{@link java.util.Vector}的相关研究
* @author lixiaoxi
*/
public class VectorInfo {
} |
package com.agh.restaurant.web.api;
import com.agh.restaurant.domain.ProductItem;
import com.agh.restaurant.domain.dao.ProductRepository;
import com.agh.restaurant.domain.model.ProductEntity;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
impo... |
/*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package de.fraunhofer.iais.eis;
import java.net.URI;
import java.util.List;
import javax.xml.datatype.XMLGregorianCalendar;
import de.fraunhofer.iais.eis.util.*;
public class DataResourceBuilder implements Builder<DataResource> {
private DataResourceImpl dataResourceImpl;
public DataResourceBuilder() {
... |
/*******************************************************************************
* Copyright 2021 Nail Sharipov (sharipovn@gmail.com)
*
* 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
*
... |
/*
* Copyright (c) 2021, Xuelei Fan. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*/
package co.ivi.jus.sealed.former;
public class Rectangle extends Shape {
public final double length;
public final double width;
public Rectangle(String id, double length, double... |
/**
* Approximate pi.
*/
public class Exercise01_07 {
public static void main(String[] args) {
System.out.println(4 * (1.0 - 1.0 / 3 + 1.0 / 5 - 1.0 / 7 + 1.0 / 9 - 1.0 / 11));
System.out.println(4 * (1.0 - 1.0 / 3 + 1.0 / 5 - 1.0 / 7 + 1.0 / 9 - 1.0 / 11 + 1.0 / 13));
}
} |
/*
* org.osjava.naming.ContextBindings
*
* $Id: ContextBindings.java 1983 2005-09-03 14:03:38Z rzigweid $
* $Rev: 1983 $
* $Date: 2005-09-03 16:03:38 +0200 (Sa, 03 Sep 2005) $
* $Author: rzigweid $
*
* Created on Apr 20, 2004
* Copyright (c) 2004, Robert M. Zigweid
* All rights reserved.
*
* Redistributi... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.messaging.servicebus;
import com.azure.core.amqp.exception.AmqpErrorContext;
import com.azure.core.amqp.exception.AmqpException;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Before... |
package org.activiti.core.common.model.connector;
import static java.util.Collections.emptyList;
import java.util.List;
public class ActionDefinition {
private String id;
private String name;
private String description;
private List<VariableDefinition> inputs;
private List<VariableDefinition... |
package net.sourceforge.kolmafia.request;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import net.sourceforge.kolmafia.KoLAdventure;
import net.sourceforge.kolmafia.KoLCharacter;
import net.sourceforge.kolmafia.KoLConstants.MafiaState;
import net.so... |
package model;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import javax.ws.rs.Consumes;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.w... |
package org.malagu.panda.security;
import org.springframework.core.Ordered;
/**
* 常量类
* @author Kevin Yang (mailto:kevin.yang@bstek.com)
* @since 2016年1月24日
*/
public final class Constants {
/**
* 所有菜单权限缓存关键字
*/
public final static String REQUEST_MAP_CACHE_KEY = "RequestMap";
/**
* 特定菜单权限缓存关键字
*/
pub... |
/**
* Copyright 2020 Alibaba Group Holding Limited.
*
* 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) 2016-2019 VMware, Inc. All Rights Reserved.
*
* This product is licensed to you under the Apache License, Version 2.0 (the "License").
* You may not use this product except in compliance with the License.
*
* This product may include a number of subcomponents with separate copyright notices
* ... |
package com.ruisi.vdop.bean;
import java.util.ArrayList;
import java.util.List;
public class User {
private String userId;
private String staffId;
private String uname;
private String passwd;
private String deptId; //部门ID
private Integer deptLvl; //用户所属部门的层级(level) , 从1开始依次往下
private boolean admin = true; /... |
/*
* Copyright (c) 2016-2017, Adam <Adam@sigterm.info>
* 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
* ... |
/*******************************************************************************
* Copyright 2015, 2016 Francesco Benincasa (info@abubusoft.com).
*
* 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 Lic... |
package org.wildfly.camel.test.aws;
import javax.inject.Inject;
import org.apache.camel.builder.RouteBuilder;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.EmptyAsset;
import or... |
/*
* 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 ... |
package com.gh4a.widget;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import androidx.core.view.ViewCompat;
import android.util.AttributeSet;
import android.v... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.google.android.gms.internal.ads;
import android.text.TextUtils;
import com.google.android.gms.ads.internal.zzbv;
import com.google.android.gms... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
package unrc.dose;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.javalite.activejdbc.Base;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import cucumber.api.PendingException;
import static org.junit.Assert.*;
import org.slf4j.Logger;
impo... |
package com.camunda.demo.environment;
import java.util.Calendar;
import java.util.Collection;
import java.util.List;
import java.util.logging.Logger;
import org.camunda.bpm.BpmPlatform;
import org.camunda.bpm.application.ProcessApplicationReference;
import org.camunda.bpm.engine.ProcessEngine;
import org.camunda.bpm.... |
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.*;
/**
* Ahmet Alparslan Celik
* Student ID: A0152801R
*/
public class pos_model implements Serializable{
private static final long serialVersionUID = 531830858222857384... |
/*
* Copyright 1999-2015 dangdang.com.
* <p>
* 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 o... |
package org.folio.services;
import io.vertx.core.Future;
import io.vertx.core.Promise;
import io.vertx.core.http.HttpMethod;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.web.handler.HttpException;
import org.apache.commons.io.FilenameUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.lo... |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... |
/*******************************************************************************
* Copyright (c) 2006, 2007 Symbian Software and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, a... |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package frc.Library.Autonomous;
import java.util.HashMap;
import org.photonvision.PhotonCamera;
import org.photonvision.PhotonTrackedTarget;
import org.photonvision.PhotonUtils;
import edu.wpi.first.networktables.NetworkTable;
import edu.wpi.first.networktables.NetworkTableInstance;
//Needs PhotonLib
public class ... |
package lo.poc.webflux.adapter.rest;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class AdapterRestApplicationTests {
@Test
void contextLoads() {
}
} |
package it.polimi.ingsw.messages.serverMessages.newElement;
import it.polimi.ingsw.server.model.Marble;
/**
* Class NewMarket is a {@link ChangeMessage} that contains the updated copy of the market.
*
*/
public class NewMarket implements ChangeMessage{
private final Marble[][] disposition;
private final Ma... |
package algorithm.sort;
import algorithm.util.iostream.StdOut;
import algorithm.util.random.RandomArrayUtil;
import algorithm.util.watch.Stopwatch;
import org.junit.Test;
import java.util.Arrays;
import static algorithm.sort.BaseSort.isSorted;
import static algorithm.sort.BaseSort.show;
import static algorithm.sort.... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... |
package com.geezylucas.app.controllers;
import com.geezylucas.app.services.IEmpleadoService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annot... |
package dev.benjaminc.chef_textures.dialog;
public interface AreYouSureDialogRunnable {
abstract void yes();
abstract void no();
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.