text stringlengths 7 995k |
|---|
package springfox.documentation.builders;
import org.springframework.lang.NonNull;
import org.springframework.lang.Nullable;
import springfox.documentation.annotations.Incubating;
import springfox.documentation.schema.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.fun... |
package com.wyx.yumall.coupon.dao;
import com.wyx.yumall.coupon.entity.CouponSpuCategoryRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 优惠券分类关联
*
* @author wyx
* @email wangyuxiang@gmail.com
* @date 2021-12-09 23:24:22
*/
@Mapper
public... |
/*
* Copyright 2012-2018 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 ap... |
package com.joylink.userms.controller;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.R... |
package emlakburada.core;
import org.springframework.http.HttpStatus;
public class ErrorResult extends Result{
public ErrorResult() {
super(false);
}
public ErrorResult(String message){
super(false,message);
}
} |
/**
* Copyright (c) 2019,2020 honintech
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di... |
/*-
* ============LICENSE_START=======================================================
* ONAP - SO
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* =============================================================... |
/*
*
* Copyright (c) 2021 Marco Marini, marco.marini@mmarini.org
*
* 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... |
// This is a mutant program.
// Author : ysma
package davi.mutation.borda.ODL_12;
import java.awt.image.WritableRaster;
import davi.genetic.algorithm.Image;
public class BorderDetection
{
public static void main( java.lang.String[] args )
throws java.lang.Exception
{
}
public static dav... |
/*
* File footer.
*/
package com.bodastage.boda_bulkcmparser.bulkcmxml;
import javax.xml.bind.annotation.XmlElement;
/**
*
* @version 1.0.0
* @author Bodastage<info@bodastage.com>
*/
public class ConfigData {
private SubNetwork subNetwork = new SubNetwork();
public SubNetwork getSubNetwork() {
... |
/**
* Copyright Pravega Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package com.versionone.sdk.integration.tests;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Calendar;
import java.util.Date;
import org.apache.commons.lang.time.DateUti... |
/*
* Copyright © 2019 Cask Data, 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 t... |
package de.captaingoldfish.scim.sdk.server.patch;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.UUID;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.jupiter.api.Asser... |
package com.wind.log.adapter;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import com.wind.log.holder.AssetHolder;
import com.wind.log.holder.BaseRvHolder;
import com.wind.log.R;
import com.wind.log.RvListener;
import java.util.List;
/**
* Created by H on 2017/9/24.
*/
... |
/*
* 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.bol.cd.stash.model;
public enum PullRequestDirection {
INCOMING,
OUTGOING
} |
package org.logstash;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.joda.time.Duration;
import org.joda.time.LocalDateTime;
import org.joda.time.format.DateTimeFormatter;
import org.joda.time.format.ISODateTimeFormat;
import... |
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package com.github.badoualy.telegram.tl.api.request;
import com.github.badoualy.telegram.tl.TLContext;
import com.github.badoualy.telegram.tl.api.TLAbsInputPeer;
import com.github.badoualy.telegram.tl.core.TLIntVector;
import com.github.badoualy.telegram.tl.core.TLMethod;
import java.io.IOException;
import java.io.In... |
package com.liurui;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.alibaba.fastjson.support.config.FastJsonConfig;
import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootAp... |
/*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* Copyright 2012-2018 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... |
/*
* Copyright 2015 JBoss Inc
*
* 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, software
* distributed under t... |
package cla.edg.project.moyi.gen.graphquery;
import java.util.Map;
import cla.edg.modelbean.*;
public class Slide extends BaseModelBean {
public String getFullClassName() {
return "com.terapico.moyi.slide.Slide";
}
// 枚举对象
// 引用的对象
public SlideType slideType() {
SlideType member = new SlideType()... |
package com.macro.mall.service;
import com.macro.mall.dto.MemberListParam;
import com.macro.mall.model.Codeitem;
import com.macro.mall.model.Member;
import java.util.List;
/**
*codeitem Service
* Created by macro on 2018/4/26.
*/
public interface CodeItemService {
/**
* codesetid AK获得枚举
*/
List<... |
/*
* Copyright Debezium Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.debezium.connector.postgresql;
import java.sql.SQLException;
import io.debezium.annotation.ThreadSafe;
import io.debezium.connector.postgresql.connect... |
package genepi.mut.commands;
import java.io.File;
import java.util.concurrent.Callable;
import genepi.mut.tasks.ReportTask;
import picocli.CommandLine.Command;
import picocli.CommandLine.Option;
@Command(name = "report", description = "Annotate your mutserve variant file.")
public class ReportCommand implements Calla... |
package com.hz.design.nullobject;
/**
* 抽象类
*
* Created by hezhao on 2018-08-10 11:04
*/
public abstract class AbstractCustomer {
protected String name;
public abstract boolean isNil();
public abstract String getName();
} |
package mascaradee.banana;
import org.springframework.data.jpa.repository.JpaRepository;
interface EmployeeRepository extends JpaRepository<Employee, Long> {
} |
/*
* Copyright 2016-2021 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... |
/*
* Copyright (C) 2016 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 com.liquidforte.terra.util;
import java.io.File;
import java.io.IOException;
import java.nio.file.Path;
import org.apache.commons.codec.digest.MurmurHash2;
import org.apache.commons.io.FileUtils;
public class FingerprintUtil {
public static long getByteArrayHash(byte[] bytes) {
byte[] normalizedA... |
/*
* eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency,
* accountability and the service delivery of the government organizations.
*
* Copyright (C) 2017 eGovernments Foundation
*
* The updated version of eGov suite of products as by eGovernments Foundation
* ... |
package com.unco.painterview;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void a... |
package de.captaingoldfish.scim.sdk.client.keys;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.InputStream;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import java.security.Unrecoverabl... |
/*
* Copyright 2020 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 cn.bootx.notice.dto.dingtalk.notice;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
/**
* 钉钉文本消息
* @author xxm
* @date 2020/11/29
*/
@Data
@Ac... |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.mojo;
import android.app.Activity;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
package com.microsoft.azure.toolkit.lib.common.form;
import java.util.List;
import java.util.stream.Collectors;
public interface AzureForm<T> {
T get... |
package action.modules.submit_actions;
import org.junit.Assert;
import com.xceptance.xlt.api.actions.AbstractHtmlPageAction;
import com.xceptance.xlt.api.engine.scripting.AbstractHtmlUnitScriptAction;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
/**
* TODO: Add class description
*/
public class submitActio... |
/*
* Copyright 2019-2020 wzb
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package org.batfish.datamodel.collections;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.google.common.collect.ImmutableSet;
import com.... |
/*
* Created on Jul 8, 2007
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package biomight.body.brain;
import biomight.BioMightBase;
/**
* @author SurferJim
*
* To change the template for this generated type comment go to
* ... |
/*
* Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*
* Copyright 2014-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 ap... |
package section_7_oop_part_2_composition_encapsulation_polymorphism.composition;
import composition_exercise.*;
public class Main {
public static void main(String[] args) {
Dimensions dimensions = new Dimensions(20, 20, 5);
Case theCase = new Case("220B", "Dell", "240", dimensions);
Monit... |
package willian.mysweetrecipes;
import android.support.test.espresso.contrib.RecyclerViewActions;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.util.concurrent.TimeUnit;
... |
package deu.cse.parkslab.querytest.controller;
import org.springframework.stereotype.Controller;
@Controller
public class WebMainController{
} |
package com.example.myapplication;
public class StudentTable {
private String Name;
private String Id_Number;
private String Department;
private String Txtdata;
private String MealNo;
public StudentTable(String name, String id_Number, String department, String imName, String mealNo) {
... |
/*
* 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.t.core.remote;
/**
* @author tb
* @date 2018/12/18 16:47
*/
public interface ChannelEventListener {
void onChannelConnect(final String remoteAddr, final Channel channel);
void onChannelClose(final String remoteAddr, final Channel channel);
void onChannelException(final String remoteAddr, ... |
/*
* The MIT License
*
* Copyright 2021 Networkers SRL.
*
* 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 backjoon_4월;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.StringTokenizer;
public class SWEA_비밀번호 {
public static void main(String[] args) throws IOE... |
/**
* @License
* Copyright 2020 TPACK XS Application
* Licensed under the Apache License, Version 2.0 (the "License");
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
package edu.ifrs.tpack.service;
import java.util.List;
import java.util.Map;
import javax.enterprise.context.RequestScoped;
import javax.json.b... |
//package theInvoker.variables;
//
//import basemod.abstracts.DynamicVariable;
//import com.megacrit.cardcrawl.cards.AbstractCard;
//import theInvoker.cards.AbstractDefaultCard;
//
//import static theInvoker.TheInvoker.makeID;
//
//public class DefaultSecondMagicNumber extends DynamicVariable {
//
// //For in-depth ... |
package com.brentonpoke.toornamentclient.concepts;
import com.brentonpoke.toornamentclient.ToornamentClient;
import com.brentonpoke.toornamentclient.ToornamentClient.LoggerLevel;
import com.brentonpoke.toornamentclient.exception.ToornamentException;
import com.brentonpoke.toornamentclient.model.Group;
import com.brent... |
/**
* 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.apimanagement.implementation;
import java.util.L... |
// ASM: a very small and fast Java bytecode manipulation framework
// Copyright (c) 2000-2011 INRIA, France Telecom
// 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 ... |
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.indexing.snapshot;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.util.Comparing;
import com.intellij.openapi.util.io.ByteAr... |
package org.zalando.riptide.failsafe;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import java.time.Duration;
import java.util.Collection;
import java.util.Objects;
@Slf4j
@AllArgsConstructor
final class CompositeDelayParser implements DelayParser {
private final Collection<DelayParser> p... |
package org.millenaire.common.goal;
import java.util.HashMap;
import java.util.List;
import org.millenaire.common.InvItem;
import org.millenaire.common.MillVillager;
import org.millenaire.common.building.Building;
public class GoalGetGoodsForHousehold extends Goal {
@Override
public GoalInformation getDestination... |
/**
* 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 org.dominikbrandon.renderEngine;
import org.dominikbrandon.models.RawModel;
import org.lwjgl.util.vector.Vector2f;
import org.lwjgl.util.vector.Vector3f;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
public class OBJLoader {
public static RawModel loadObjModel(String fileName, Loa... |
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package jsortie.object.treesort.binary.balanced;
import java.util.Comparator;
import jsortie.exception.SortingFailureException;
import jsortie.object.bucket.SortingBucket;
import jsortie.object.treesort.TPLTally;
public class AVLBucket<T>
implements SortingBucket<T> {
protected class AVLNode {
T v; ... |
package com.geminno.framework;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package mezz.jei.gui.overlay.bookmarks;
import java.util.Set;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.renderer.Rectangle2d;
import mezz.jei.input.IShowsRecipeFocuses;
public interface ILeftAreaContent extends IShowsRecipeFocuses {
... |
package test.xdef;
import org.xdef.component.XComponent;
public interface TestXComponents_Y06XCDomain
extends TestXComponents_Y06Domain, XComponent{} |
package trabalho_final;
//Importacao das componentes "Java.sql"
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class Conexao {
//Declaracao das variaveis
private static Connection conn;
private static final String driver = "com.mysql.jdbc.Driver";
privat... |
// Code generated by lark suite oapi sdk gen
package com.larksuite.oapi.service.im.v1.model;
import com.google.gson.annotations.SerializedName;
import com.larksuite.oapi.core.event.model.BaseEventV2;
public class ChatDisbandedEvent extends BaseEventV2{
@SerializedName("event")
private ChatDisbandedEventData ev... |
/*
* Copyright 2017 ~ 2025 the original author or authors. <wanglsir@gmail.com, 983708408@qq.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
*
* http://www.apache.org/license... |
package com.d.lib.aster.integration.retrofit.request;
import com.d.lib.aster.base.Config;
import com.d.lib.aster.base.IClient;
import com.d.lib.aster.base.Params;
import com.d.lib.aster.callback.AsyncCallback;
import com.d.lib.aster.callback.SimpleCallback;
import com.d.lib.aster.integration.okhttp3.MediaTypes;
import... |
/*
* Copyright 2019 is-land
*
* 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 w... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * 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 ... |
package com.pedromassango.ibackdrop;
import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
... |
package mil.nga.giat.geowave.analytic.mapreduce.clustering.runner;
import java.util.Set;
import mil.nga.giat.geowave.analytic.AnalyticFeature;
import mil.nga.giat.geowave.analytic.PropertyManagement;
import mil.nga.giat.geowave.analytic.RunnerUtils;
import mil.nga.giat.geowave.analytic.SimpleFeatureItemWrapperFactory... |
/*
* 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.smartdevicelink.proxy.rpc.enums;
/**
* Indicates the format of the time displayed on the connected SDL unit.Format
* description follows the following nomenclature:<br> Sp = Space<br> | = or <br>c =
* character
*
* @since SmartDeviceLink 1.0
*/
public enum MediaClockFormat {
/**
* <p>
* </p>
... |
/*
* Copyright (c) 2021. Equipment & Tool Institute
*/
package org.etools.j1939_84.controllers.part05;
import static net.soliddesign.j1939tools.j1939.packets.DM20MonitorPerformanceRatioPacket.PGN;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.a... |
package org.appdapter.gui.box;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
import javax.swing.tree.TreeNode;
import org.appdapter.api.trigger.AnyOper.HasIdent;
import org.appdapter.api.trigger.Box;
import org.appdapter.api.trigg... |
/*******************************************************************************
* Copyright 2021 Data In Motion Consulting 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
*
* ... |
/*
* ARX: Powerful Data Anonymization
* Copyright 2012 - 2020 Fabian Prasser 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/LICE... |
package uk.co.hiklas.websocket.simple.responses;
public class WebsocketMonitorResponse {
private Integer connectionCount;
public WebsocketMonitorResponse(Integer connectionCount) {
this.connectionCount = connectionCount;
}
public Integer getConnectionCount() {
return this.connectionCo... |
package com.stackroute.botservice.service;
import com.stackroute.botservice.domain.Query;
import com.stackroute.botservice.domain.UserQuery;
import com.stackroute.botservice.repository.QueryRespository;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.mockito... |
package com.example.niyali.coolweather;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.a... |
package com.ul.ts.products.mdlreader.connection;
public abstract class RemoteConnection {
/**
* After the RemoteConnection object has been instantiated, the caller should call runSetupSteps();
* runSetupSteps() returns null (on success) or an RemoteConnectionException on failure. The Exception
* ind... |
package applications;
import java.util.*;
import java.util.stream.*;
import java.util.function.*;
import java.io.Serializable;
import javax.persistence.*;
import javax.inject.*;
import javax.ejb.*;
import javax.enterprise.event.*;
import javax.enterprise.context.*;
import static util.PersistenceHelper.*;
import static... |
/*
* Copyright 2016 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 applica... |
/**
*
*/
package ch.yannick.context;
import android.app.Application;
import android.os.AsyncTask;
import android.util.Log;
import android.util.LongSparseArray;
import android.util.Xml;
import android.widget.Toast;
import org.xmlpull.v1.XmlPullParser;
import java.util.ArrayList;
import java.util.List;
import ch.y... |
package gui.internetherokuapp;
import com.shaft.gui.element.ElementActions;
import com.shaft.validation.Assertions;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
public class DynamicLo... |
package com.ys;
import com.ys.em.EMServicesConfig;
import com.ys.um.UMServicesConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.web.S... |
/**
* 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.
* abc
*/
package com.microsoft.azure.management.compute.v2019_03_01.implementation;
impor... |
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class DRootExampleTest {
@Test
public void tests() {
assertEquals("Nope!", 7, DRootExample.digitalRoot(16));
assertEquals("Nope!", 6, DRootExample.digitalRoot(456));
}
} |
package epicsquid.roots.recipe.conditions;
import epicsquid.roots.init.ModBlocks;
import epicsquid.roots.tileentity.TileEntityBonfire;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.math.BlockPos;
import net.min... |
//
// Copyright 2018 SenX S.A.S.
//
// 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 de.jgoldhammer.alfresco.jscript.transaction;
import javax.transaction.*;
/**
* deals with the de.jgoldhammer.alfresco.jscript.transaction object.
*
* @author jgoldhammer
*
*/
public class ScriptTransaction {
private UserTransaction userTransaction;
public ScriptTransaction(UserTransaction ... |
/*
* Copyright (c) 1998-2020 John Caron and University Corporation for Atmospheric Research/Unidata
* See LICENSE for license information.
*/
package ucar.array;
import java.io.IOException;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import ucar.unidata.util.test.TestDir;
import ucar.... |
package pl.dmcs.mcypel.bachelors_degree.application.utils.qrs;
/**
* Created by Matson on 16.01.2017.
*/
public class Integral {
public static float[] integration(float[] inputSignal) {
float[] output = new float[inputSignal.length - 24];
for (int i = 24; i < inputSignal.length; ++i) {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.