text stringlengths 7 1.01M |
|---|
/*******************************************************************************
* Copyright (c) 2016 Alex Shapiro - github.com/shpralex
* This program and the accompanying materials
* are made available under the terms of the The MIT License (MIT)
* The above copyright notice and this permission notice shall be in... |
/*
* 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 ... |
/*
* Copyright (C) 2013 DroidDriver committers
*
* 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 l... |
package net.rfs.smartadmin.module.business.notice;
import net.rfs.smartadmin.common.anno.NoValidPrivilege;
import net.rfs.smartadmin.common.domain.PageParamDTO;
import net.rfs.smartadmin.common.domain.PageResultDTO;
import net.rfs.smartadmin.common.domain.ResponseDTO;
import net.rfs.smartadmin.constant.SwaggerTagConst... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Copyright (C) 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... |
package com.facebook.react.cxxbridge;
import android.os.Bundle;
import com.facebook.react.bridge.WritableNativeArray;
import com.facebook.react.bridge.WritableNativeMap;
import java.lang.reflect.Array;
import java.util.AbstractList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
public class... |
package org.simple.binary.system.digit;
import org.simple.binary.system.value.BinaryValue;
public interface UnsignedDigit<VALUE extends BinaryValue>
extends MultipleDigit<VALUE> {
}
|
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* 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, cop... |
/*
* 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 com.walmartlabs.concord.agentoperator.processqueue;
/*-
* *****
* Concord
* -----
* Copyright (C) 2017 - 2019 Walmart Inc.
* -----
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License ... |
/*
* Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
package org.springframework.boot.autoconfigure.data.tarantool;
import io.tarantool.driver.api.TarantoolClient;
import io.tarantool.driver.api.TarantoolResult;
import io.tarantool.driver.api.tuple.TarantoolTuple;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfi... |
package org.mns237.controller;
import java.util.List;
import org.mns237.service.SubscriberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.b... |
// Staircase program
import java.io.*;
import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.regex.*;
public class Solution {
// Complete the staircase function below.
static void staircase(int n) {
for (int i=1; i <= n; i++)... |
package jetbrains.mps.samples.Shapes.editor;
/*Generated by MPS */
import jetbrains.mps.editor.runtime.descriptor.AbstractEditorBuilder;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.openapi.editor.EditorContext;
import jetbrains.mps.openapi.editor.cells.... |
/*
* Copyright 2000-2012 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... |
/**
* Time Complexity: O(N^2)
*
*/
public class WeightedQuickUnionUF {
private int[] parent; // parent[i] = parent of i
private int[] size; // size[i] = number of sites in subtree rooted at i
private int count; // number of components
public WeightedQuickUnionUF(int n) {
count = ... |
package apimodels;
import com.google.gson.annotations.SerializedName;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Objects;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel()
public class SpaceStationDetailed {
@Ser... |
/*
* 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")... |
package it.linksmt.cts2.plugin.sti.db.model;
// Generated 24.10.2011 10:08:21 by Hibernate Tools 3.2.1.GA
import static javax.persistence.GenerationType.IDENTITY;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax... |
package xyz.mengnan.MNSockets.patch;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;
import xyz.mengnan.MNSockets.utils.JsonUtil;
import java... |
/*
* 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 ... |
/**
* 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... |
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.license;
import java.io.IOException;
import java.io.InputStream;
import java.io.Str... |
package student_course;
public class Student {
private long rollnumber;
private String name;
public Student(String name)
{
this(name,0L);
}
public Student(String name, long number) {
this.name=name;
rollnumber=number;
}
@Override
public String toString() {
return "Stu... |
package com.CashOnline.services;
import com.CashOnline.dto.UserCreateRequestDto;
import com.CashOnline.exceptions.UserAlreadyExistsException;
import com.CashOnline.exceptions.UserNotFoundException;
import com.CashOnline.model.User;
import com.CashOnline.repositories.UserRepository;
import org.springframework.beans.fac... |
package CustomExceptionClass;
import java.util.Scanner;
public class PhoneTest {
public static void main(String[] args) {
Scanner in=new Scanner(System.in);
boolean loop=true;
while(loop==true)
{
System.out.println("Vendos emrin");
String emer=in.next();
System.out.println("Vendos numrin... |
package com.vladsch.clionarduinoplugin.serial;
import org.jetbrains.annotations.NotNull;
public interface BuildListener {
void beforeBuildStarted(@NotNull final String targetName);
void afterBuildFinished(final boolean buildSuccess);
}
|
package cn.xpbootcamp.locker_robot;
import lombok.extern.java.Log;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
@Log
public class LockerTest {
@Test
public void should_return_ticket_when_saving_given_locker_is_not_available() {
Locker locker = new Locker(1);
... |
/*
* 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 pt.ips.pa.fase1.tads.interfaces;
import java.io.Serializable;
/**
* O Comparador descreve a maneira como são ordenados os da... |
/*
* 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 ... |
package org.linlinjava.litemall.db.domain;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
public class LitemallAdminOrderExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall... |
package com.LiftOff.InventoryTrack.data;
public interface StorefrontProductRepository {
}
|
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####... |
package com.example.digitalnoticeboard;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class NativeSignupActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.... |
package com.github.wugenshui.generate.db.doc.mapper;
import com.github.wugenshui.generate.db.doc.entity.TableFileds;
import com.github.wugenshui.generate.db.doc.entity.Tables;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author : chenbo
* @date : 2021-01-25
*/
public interface BaseTab... |
package seedu.address.storage;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import java.nio.file.Path;
import java.nio.file.Paths;
import org.junit.jupiter.api.Test;
import seedu.address.commons.exceptions.IllegalValueException;
import see... |
/*
* Copyright 2016-present Open Networking Laboratory
*
* 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... |
/*
* #%L
* Jetro Patch
* %%
* Copyright (C) 2013 - 2019 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/L... |
package webrtccall.fragments;
import android.Manifest;
import android.app.Activity;
import android.app.Fragment;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.ActivityCompat;
import android.view.LayoutInflater;
import android.view.View;
import android.... |
package diploma.services.mail.html;
import java.util.ArrayList;
import java.util.List;
import net.percederberg.grammatica.parser.Node;
import net.percederberg.grammatica.parser.ParseException;
import net.percederberg.grammatica.parser.Production;
import net.percederberg.grammatica.parser.Token;
/**
* A class provid... |
package cn.itrip.trade.config;
public class AlipayConfig {
// 应用ID,您的APPID,收款账号既是您的APPID对应支付宝账号
private String appID;
// 商户私钥,您的PKCS8格式RSA2私钥
private String rsaPrivateKey;
// 支付宝公钥,查看地址:https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
private String alipayPublicKey;
// 服务器异步通知页面路径 ... |
package io.boostcd.todo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.web.client.RestTemplate;
impor... |
/* ©Copyright 2011 Cameron Morris
*
* 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 ro.msg.learning.shop;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@Configuration
public class MvcConfig implements WebMvcConfigurer {
p... |
package com.example.geektrust;
public class Ratio {
double corporationWater;
double borewellWater;
public Ratio(String ratioString) {
String[] ratioTokens = ratioString.split(":");
int corporationRatio = Integer.parseInt(ratioTokens[0]);
int borewellRatio = Integer.parseInt(ratioTo... |
package com.github.discvrseq.tools;
import org.broadinstitute.barclay.argparser.CommandLineProgramGroup;
/**
* Created by bimber on 8/1/2017.
*/
public class VariantManipulationProgramGroup implements CommandLineProgramGroup {
@Override
public String getName() {
return "Variant Manipulation";
}
... |
package carbon.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.PointF;
import android.graphics.PorterDuff;
import android.graphics.... |
/**
* Copyright 2009-2013 The Australian National University
*
* 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
*
* Unl... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/
/*
* Copyright 2019 Am... |
package com.github.shareme.greenandroid.spinkitapp;
/**
* Created by ybq.
*/
public interface Colors {
int[] colors = new int[]{
android.graphics.Color.parseColor("#D55400"),
android.graphics.Color.parseColor("#2B3E51"),
android.graphics.Color.parseColor("#00BD9C"),
... |
package algorithms;
import lombok.extern.slf4j.Slf4j;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
@Slf4j
public class AddBinary {
// Example 1:
//
// Input: a = "11", b = "1"
// Output: "100"
// Example 2:
//
// Input: a = "1010", b ... |
package com.hockeyhurd.item.renderer;
import net.minecraft.client.model.ModelChest;
import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher;
import net.minecraft.item.ItemStack;
import net.minecraftforge.client.IItemRenderer;
import com.hockeyhurd.entity.tileentity.TileEntityGlowChest;
... |
/*
* Copyright 2002-2021 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 star.lut.com.chatdemo.dataModels.sendModel;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by kamrulhasan on 28/10/18.
*/
public class LoginSendModel {
@SerializedName("username")
@Expose
public String username;
@SerializedName("pa... |
package com.bazl.dna.lims.core.service.impl;
import com.bazl.dna.lims.core.dao.LoaRoleRelationMapper;
import com.bazl.dna.lims.core.model.po.LoaRoleRelation;
import com.bazl.dna.lims.core.service.LoaRoleRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotyp... |
package com.xy1m.cci.chapter10_sorting_searching;
import java.util.Arrays;
/**
* Sorted Merge: You are given two sorted arrays, A and B, where A has a large enough buffer at the end to hold B.
* Write a method to merge B into A in sorted order.
*/
public class Q10_01_Sorted_Merge {
static void merge(int[] a, ... |
package com.wvkity.mybatis.core.constant;
/**
* 执行处理枚举类
* @author wvkity
*/
public enum Execute {
/**
* 不操作
*/
NONE,
/**
* 保存
*/
INSERT,
/**
* 替换(更新)
*/
REPLACE
} |
package org.example.seed.domain;
import lombok.Getter;
import lombok.Setter;
import org.example.seed.constraint.Location;
import org.example.seed.group.address.AddressCreateGroup;
import org.example.seed.group.address.AddressUpdateGroup;
import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.con... |
/*
* Copyright (C) 2017 优客服-多渠道客服系统
* Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.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... |
package com.flashspeed.logic.commands.gamecommands;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static com.flashspeed.testutil.Assert.assertThrows;
import java.nio.file.Path;
... |
package com.elorri.android.xyzreader.data;
import android.net.Uri;
/**
* Created by Elorri on 10/03/2016.
*/
public class ItemsContract {
public static final String CONTENT_AUTHORITY = "com.elorri.android.xyzreader";
public static final Uri BASE_URI = Uri.parse("content://com.elorri.android.xyzreader");
... |
package br.com.jotajr.empresas.ie.estados;
import br.com.jotajr.empresas.ie.InscricaoEstadualBase;
public class InscricaoEstadualBA extends InscricaoEstadualBase {
private static final Integer[] MULTIPLICADOR_8_1 = new Integer[]{Integer.valueOf(7), Integer.valueOf(6), Integer.valueOf(5), Integer.valueOf(4), Integ... |
/*
* 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 terriblethings.main;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.model.ModelDragon;
import terriblethings.mobs.EntityBreaker;
import terriblethings.mobs.EntityFirebird;
import terriblethings.mobs.EntityMinotaur;
import terriblethings.mobs.ModelFirebird;
import terriblethings.mobs.... |
/*
* Source code generated by Celerio, a Jaxio product.
* Documentation: http://www.jaxio.com/documentation/celerio/
* Follow us on twitter: @jaxiosoft
* Need commercial support ? Contact us: info@jaxio.com
* Template pack-jsf2-spring-conversation:src/main/java/domain/SearchForm.e.vm.java
* Template is part of Op... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2021 DBeaver Corp and others
*
* 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 com.ryit.commons.web.exception.user;
/**
* 用户锁定异常类
*
* @author ryit
*/
public class UserBlockedException extends UserException
{
private static final long serialVersionUID = 1L;
public UserBlockedException(String reason)
{
super("member.blocked", new Object[] { reason });
}
}
|
package google.instrumentationtest;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an A... |
/*
* (C) Copyright IBM Corp. 2017, 2020
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.ibm.fhir.config;
import java.util.Base64;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.regex.Matcher;
import java.... |
/*
* FactSet Overview Report Builder API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-... |
package org.batfish.representation.cisco_xr;
import javax.annotation.ParametersAreNonnullByDefault;
/**
* A visitor of {@link XrCommunitySetElem} that takes 1 generic argument and returns a generic
* value.
*/
@ParametersAreNonnullByDefault
public interface XrCommunitySetElemVisitor<T, U> {
T visitCommunitySetH... |
/**
* Copyright (C) 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package com.rbkmoney.newway.service;
import com.rbkmoney.newway.dao.AbstractAppDaoTests;
import com.rbkmoney.newway.dao.invoicing.iface.InvoiceDao;
import com.rbkmoney.newway.domain.tables.pojos.Invoice;
import com.rbkmoney.newway.domain.tables.pojos.InvoiceCart;
import com.rbkmoney.newway.model.InvoiceWrapper;
import... |
package org.fluentjava.utils;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import com.google.common.base.Strings;
public class UtilDates {
public static final DateF... |
package t08_ExamPreparations.e16_26_March_2016;
import java.util.Scanner;
public class p06_MagicNumbers {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int n = Integer.parseInt(scan.nextLine());
for (int d1 = 1; d1 <= 9; d1++) {
for (int d2 = ... |
package com.itxiaoer.commons.jpa.service;
import com.itxiaoer.commons.core.NotFoundException;
import com.itxiaoer.commons.core.page.PageResponse;
import com.itxiaoer.commons.core.page.Paging;
import com.itxiaoer.commons.core.page.Sort;
import com.itxiaoer.commons.core.util.Lists;
import com.itxiaoer.commons.jpa.Restr... |
/*
* Copyright 1999-2022 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
// Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.intellij.sdk.codeInspection;
import com.intellij.codeInspection.*;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi... |
/*
* 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 ... |
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
public class Anagrammi_v1 extends Anagramma{
//Overview questa classe estende la classe anagramma, permette di creare
//una lista di anagrammi per una data stringa e una data lista di stringhe
/**
... |
/*-
*
* * Copyright 2015 Skymind,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
* *
* * ... |
package com.github.catalin.cretu.conference.api.event;
import com.github.catalin.cretu.conference.api.ErrorView;
import com.github.catalin.cretu.conference.api.ErrorsResponse;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
... |
/**
* Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package com.xiaomi.infra.galaxy.emq.thrift;
import libthrift091.scheme.IScheme;
import libthrift091.scheme.SchemeFactory;
import libthrift091.scheme.StandardScheme;
import libthrif... |
package mypackage.rest;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonParser;
import org.apache.http.client.fluent.Executor;
import org.apache.http.client.fluent.Request;
import org.testng.SkipException;
import java.io.IOException;
public class TestBase {
privat... |
package cn.axg.study.mq.rabbitmq.boot.work_queues;
import org.springframework.amqp.rabbit.annotation.Queue;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;
@Component
public class ConsumerWork {
@RabbitListener(queuesToDeclare = @Queue(value = "w... |
package com.zev.noads;
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.
*
* @see <a ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package net.eduard.curso.projeto.essentials;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
/**
* Comando de setar o mesmos items de você para o restante de jogadores
* @author Eduard... |
// Targeted by JavaCPP version 1.5.3-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.cuda.cudart;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.cuda.global.cudart.*;
/**
* CUDA texture descriptor
*/
@Properties(inherit = org.bytedeco.c... |
/*
* Copyright 2018 NAVER Corp.
*
* 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... |
package se.liu.ida.graphics;
import java.awt.*;
import java.util.List;
/**
* A Painter is responsible for drawing the game area. Multiple painters can be
* used to draw the game area from different players views.
*/
public class Painter {
private int width;
private int height;
private final int scale;... |
/*
* 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.pizzaiolo.authorization.constraints;
import javax.validation.Constraint;
import javax.validation.Payload;
import com.pizzaiolo.authorization.constraints.validators.IsUniqueValidator;
import com.pizzaiolo.authorization.constraints.validators.IsUniqueValidator.UpdateAction;
import java.lang.annotation.Docu... |
package org.jspringbot.keyword.selenium.web;
import org.jspringbot.KeywordInfo;
import org.jspringbot.keyword.selenium.AbstractSeleniumKeyword;
import org.springframework.stereotype.Component;
@Component
@KeywordInfo(
name = "Is Text Present",
parameters = {"text"},
description = "classpath:d... |
package org.bougainvillea.spring5.jdbc.dao;
import org.bougainvillea.spring5.jdbc.po.User;
import java.util.List;
/**
* @author renqiankun
*/
public interface UserDao {
int insert(User user);
int[] batchInsert(List<User> userList);
int update(int id,User user);
int[] batchUpdate(int id,List<User>... |
/*
* 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.xiaobudian.huastools.ui.activity;
import android.content.Context;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.ProgressBar;
im... |
package com.dmall.component.elasticsearch;
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.util.ReflectUtil;
import cn.hutool.core.util.StrUtil;
import com.dmall.common.constants.Constants;
import com.dmall.common.dto.ResponsePage;
import com.dmall.common.enums.component.ESErrorEnum;
import com.dmall.common.m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.