text stringlengths 7 1.01M |
|---|
/*
* Copyright (c) Facebook, Inc. and 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 applic... |
package mb.pie.lang.test.binary.add.addListList;
import mb.pie.api.ExecException;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.Arrays;
import static mb.pie.lang.test.util.SimpleChecker.assertTaskOutputEquals;
class AddListListTest {
@Test void test() throws ExecException {
... |
package com.saintdan.framework.filter;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.saintdan.framework.annotation.NotNullField;
import com.saintdan.framework.annotation.SizeField;
import com.saintdan.framework.constant.CommonsConstant;
import com.saintdan.framework.enums.ErrorType;
import com.saintda... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file ... |
/*
* 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 top.lan_mao.layout;
import java.awt.*;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
/**
* Create Date 2020/12/01 17:55:43 <br>
* Created by lan-mao.top <br>
* 使用流式布局 <br>
*/
public class TestFlowLayout {
public static void main(String[] args) {
Frame frame = new Fram... |
package com.fib.msgconverter.commgateway.dao.module.dao;
import java.util.List;
import java.util.Iterator;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.... |
package org.apache.lucene.search;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Vers... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
/*
* Copyright (c) 2009-2018, United States Government, as represented by the Secretary of Health and Human Services.
* 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 ... |
package middle_end;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
public class Function {
private final String name;
private List<Instruction> list;
public Function(final String name, final int locals, final List<Instruction> instructions) {
this.name = na... |
/*
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
This file was generated from .idl using "rtiddsgen".
The rtiddsgen tool is part of the RTI Connext distribution.
For more information, type 'rtiddsgen -help' at a command shell
or consult the RTI Connext manual.
*/
package rapid.ext.arc;
/** Request to start... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.bot.dialogs.choices;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* A value that can be sorted and still refer to its original position with a source array.
*/
public class SortedValue... |
/*
* Copyright (c) 2011-2018, Meituan Dianping. All Rights Reserved.
*
* 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 Y... |
package br.jus.trf2.balcaojus;
import java.util.concurrent.Future;
import com.crivano.swaggerservlet.SwaggerAsyncResponse;
import com.crivano.swaggerservlet.SwaggerCall;
import br.jus.trf2.balcaojus.IBalcaojus.IConfigPessoaJuridicaCnpjGet;
import br.jus.trf2.sistemaprocessual.ISistemaProcessual.IPessoaJuridicaDocume... |
/******************************************************************************
* Copyright © 2016-7532 HEX, Inc. [7EPOLIX]-(Behrooz Shahriari) *
* All rights reserved. *
* ... |
package io.github.epam.enums;
/**
* Created by Maksim_Palchevskii on 10/6/2015.
*/
public enum Vegetables {
Cucumber, Tomato, Vegetables, Onion
}
|
/*
* This file is part of Mixin, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software... |
package ExamArrPerGee.app.io;
import ExamArrPerGee.app.contracts.Reader;
import ExamArrPerGee.app.factory.BaseStructureFactory;
import java.io.BufferedReader;
import java.io.IOException;
public class ConsoleReader implements Reader {
private BufferedReader bf;
public ConsoleReader() {
this.bf = Bas... |
package TasksAndSyncs.editor;
/*Generated by MPS */
import jetbrains.mps.nodeEditor.DefaultNodeEditor;
import jetbrains.mps.openapi.editor.cells.EditorCell;
import jetbrains.mps.openapi.editor.EditorContext;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.nodeEditor.cells.EditorCell_Collection;
imp... |
package com.mindcoders.phial;
import android.app.Activity;
/**
* Class is used to abstract from activity,
* since in future we might provide functionality to show options for Fragment as well
*/
public class TargetScreen {
private final Class<? extends Activity> target;
private final String scope;
Ta... |
package org.smartregister.goldsmith.interactor;
import org.smartregister.chw.core.interactor.CoreAncHomeVisitInteractor;
public class AncHomeVisitInteractor extends CoreAncHomeVisitInteractor {
public AncHomeVisitInteractor() {
setFlavor(new AncHomeVisitInteractorFlv());
}
}
|
package com.sun.corba.se.spi.activation;
/**
* com/sun/corba/se/spi/activation/ServerAlreadyRegisteredHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /jenkins/workspace/8-2-build-macosx-x86_64/jdk8u261/295/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl
* T... |
// 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.
// -------------------------------------------... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2016. Diorite (by Bartłomiej Mazur (aka GotoFinal))
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including withou... |
package com.delphix.masking.initializer.maskingApi.endpointCaller;
import com.delphix.masking.initializer.Utils;
import com.delphix.masking.initializer.exception.ApiCallException;
import com.delphix.masking.initializer.pojo.apiBody.LoginApiBody;
import com.delphix.masking.initializer.pojo.apiResponse.ApiErrorMessage;
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
class Pig {
Jogador[] jogadores = new Jogador[2];
ParDeDados parDados = new ParDeDados();
}
|
package com.orbs.openregistrycamera;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.C... |
package com.tamagotchi.restaurantclientapplication.ui.login;
import android.util.Patterns;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.tamagotchi.restaurantclientapplication.R;
import com.tamagotchi.restaurantclientapplication.data.re... |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package com.zkteco.bionest.user.builder;
import java.util.HashSet;
import java.util.Set;
import com.zkteco.bionest.user.persistence.RoleDO;
import com.zkteco.bionest.user.persistence.UserDO;
import com.zkteco.bionest.user.types.user.Password;
import com.zkteco.bionest.user.types.user.UserId;
import com.zkteco.bionest... |
/**
* ReconciliationImportError.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201308;
/**
* The API errors for reconciliation CSV import.
*/
public class ReconciliationImportError extends com.goo... |
/**
* Licensed to Cloudera, Inc. under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Cloudera, Inc. licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use th... |
package com.anees4ever.googlemap.api;
import android.content.Context;
import com.anees4ever.googlemap.PermissionInterface;
import com.google.android.gms.common.api.ApiException;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.libraries.places.api.Places;
import com.google.android.libraries.... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.PriorityQueue;
import java.util.Stack;
public class Main {
private static final ... |
/*
Licensed to Diennea S.r.l. under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. Diennea S.r.l. licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except ... |
//
// ========================================================================
// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License v. 2.0 which is available at
// https://www.eclipse.org/... |
/*
* Copyright 2010-2013 Ning, Inc.
* Copyright 2014-2016 Groupon, Inc
* Copyright 2014-2016 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with the
* License. You may obtain a cop... |
/*
Copyright 2006 by Sean Luke
Licensed under the Academic Free License version 3.0
See the file "LICENSE" for more information
*/
package ec.select;
import ec.*;
import ec.util.*;
/*
* GreedyOverselection.java
*
* Created: Thu Feb 10 17:39:03 2000
* By: Sean Luke
*/
/**
* GreedyOverselection is a Sel... |
package frc.robot.commands.DrivingCommands;
import frc.robot.Constants.DriveConstants;
import frc.robot.subsystems.DriveSubsystem;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.trajectory.TrapezoidProfile;
import edu.wpi.first.wpilibj2.command.CommandBase;
public class DriveDistance extends Command... |
/*
* Copyright 2011 CodeGist.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.humanharvest.organz.server;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.stream.Collectors;
import com.humanharvest.organz.state.State;
import com.humanharvest.organz.state.State.DataStorageType;
import org.springframework.boot.SpringApplication;
import org.spr... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
package com.datapaga.library.environment.modules;
import com.datapaga.library.core.DatapagaCore;
import com.datapaga.library.core.api.interfaces.TransactionsAPIInterface;
import com.datapaga.library.environment.callbacks.ChargeCallback;
import com.datapaga.library.environment.callbacks.RefundCallback;
import com.datap... |
package module0685_internal.a;
import javax.naming.directory.*;
import javax.net.ssl.*;
import javax.rmi.ssl.*;
/**
* Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
* labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dol... |
package com.dc.security.service;
import java.util.Collection;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.access.AccessDeniedException;
import org.springframework.security.access.ConfigAttribute;
import org.springframework... |
package org.intellij.erlang.debugger.xdebug;
import com.ericsson.otp.erlang.OtpErlangPid;
import com.intellij.execution.ExecutionException;
import com.intellij.execution.Executor;
import com.intellij.execution.configurations.GeneralCommandLine;
import com.intellij.execution.process.OSProcessHandler;
import com.intelli... |
/*
* 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 io.ctlove0523.spring.taskscheduler.sys;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor;
import org.springfra... |
/**
* Copyright (C) 2018-2020 Expedia, 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 ag... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package mekanism.common.content.filter;
import javax.annotation.Nullable;
import mekanism.api.NBTConstants;
import mekanism.common.content.miner.MinerItemStackFilter;
import mekanism.common.content.miner.MinerMaterialFilter;
import mekanism.common.content.miner.MinerModIDFilter;
import mekanism.common.content.miner.Mi... |
/*
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
"Lic... |
package org.basex.api.xmldb;
import static org.basex.api.xmldb.BXXMLDBText.*;
import java.util.*;
import org.basex.query.value.*;
import org.basex.util.*;
import org.xmldb.api.base.*;
/**
* Implementation of the ResourceSet Interface for the XMLDB:API.
*
* @author BaseX Team 2005-21, BSD License
* @author Christ... |
/*
* (C) Copyright IBM Corp. 2021.
*
* 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... |
/*
* Copyright 2014 - 2022 Blazebit.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package com.xiaojinzi.component.anno;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 标记一个实现类是某些接口的实现
*/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.CLASS)
public @in... |
package ctone.rap.db.module;
import ctone.rap.db.domain.BOM;
/**
* Created by ouyi on 2017/2/20.
* 体验
*/
public class Experience extends BOM {
}
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.document;
import com.yahoo.document.idstring.IdIdString;
import com.yahoo.document.idstring.IdString;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import stat... |
/*
* Copyright 2021 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 applica... |
/*
* 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
* d... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 物流信息同步接口
*
* @author auto create
* @since 1.0, 2019-05-15 14:38:02
*/
public class AntMerchantExpandDeliveryLogisticsSyncModel extends AlipayObject {
private static final long ... |
package cn.genlei.service;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import cn.genlei.DelayQueue;
import java.util.Properties;
@Sp... |
package com.maxel.decrypto.resources.response;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.io.Serializable;
public class MessageResponse implements Serializable {
@JsonInclude(JsonInclude.Include.NON_NULL)
private String id;
private String message;
public MessageResponse(String... |
package headfirst.combining.factory;
public class GooseAdapter implements Quackable {
Goose goose;
public GooseAdapter(Goose goose) {
this.goose = goose;
}
public void quack() {
goose.honk();
}
public String toString() {
return "Goose pretending to be a Duck";
}
}
|
/*
The MIT License
Copyright (c) 2014 kong <tengames.inc@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... |
package com.revature.data;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Root;
import org.hibernate.Session;
import org.hibernate... |
package com.soze.user.dao;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.TypedQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com... |
package net.sf.jhunlang.jmorph.analysis.consumer;
import net.sf.jhunlang.jmorph.DictEntry;
import net.sf.jhunlang.jmorph.PrefixEntry;
import net.sf.jhunlang.jmorph.SuffixEntry;
import net.sf.jhunlang.jmorph.analysis.AnalysisEntry;
public class CrossInflexionConsumer extends InflexionConsumer
{
protected Su... |
/*
* Copyright (C) 2020 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... |
/*
* 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... |
package com.github.malitsplus.shizurunotes.db;
import com.github.malitsplus.shizurunotes.data.Enemy;
import com.github.malitsplus.shizurunotes.data.SekaiEvent;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
public class RawSekaiEvent {
public int sekai_id;
... |
/*
* Copyright 2013 Per Wendel
*
* 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 ag... |
package net.minecraft.item;
import java.util.List;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
public class ItemCoal extends Item
{
public ItemCoal()
{
this.setHasSubtypes(true);
this.setMaxDam... |
package ch.uzh.ifi.seal.soprafs20.rest.dto;
public class RequestPostDTO {
private long requestedUserId;
private String token;
public long getRequestedUserId() {
return requestedUserId;
}
public void setRequestedUserId(long requestedUserId) {
this.requestedUserId = requestedUserId... |
package foundation.icon.iconex.intro.auth;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import foundation.icon.iconex.I... |
/*
* 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 und... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root.
package com.microsoft.alm.auth.basic;
import com.microsoft.alm.auth.PromptBehavior;
import com.microsoft.alm.secret.Credential;
import com.microsoft.alm.storage.SecretStore;
import org.junit.Before... |
package com.example.coronavirusherdimmunity.notification.channels;
import com.example.coronavirusherdimmunity.notification.NotificationChannelImportanceCompat;
public class ChannelInformation {
private String id;
private String name;
private String description;
private int defaultNotificationId;
p... |
package mage.cards.o;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.abilityword.GrandeurAbility;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.effects.ContinuousEffect;
import mage.abiliti... |
package com.sync.changsha.rxjava;
import org.junit.Test;
import rx.Observable;
import rx.Observer;
import rx.functions.Func1;
import rx.functions.Func2;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.Random;
/**
* <p>
* 排序测试
* </p>
* Created by Administrator on 2017... |
package org.tron.tronj.client;
/**
* A {@code TronClient} object is the entry point for calling the functions.
*
*<p>A {@code TronClient} object is bind with a private key and a full node.
* {@link #broadcastTransaction}, {@link #signTransaction} and other transaction related
* operations can be done via a {@cod... |
/*
* Copyright (c) 2018-2021 Karlatemp. All rights reserved.
* @author Karlatemp <karlatemp@vip.qq.com> <https://github.com/Karlatemp>
*
* MXLib/MXLib.mxlib-spigot.main/TitleApi.java
*
* Use of this source code is governed by the MIT license that can be found via the following link.
*
* https://github.com/Karla... |
package com.hazeluff.discord.nhlbot.nhl;
import java.util.HashMap;
import java.util.Map;
public enum Division {
ATLANTIC(17, "Atlantic", Conference.EASTERN),
CENTRAL(16, "Central", Conference.WESTERN),
METRO(18, "Metropolitan", Conference.EASTERN),
PACIFIC(15, "Pacific", Conference.WESTERN);
priva... |
/*
* 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 2016 Goldman Sachs.
*
* 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 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package Bipas.gui.clickgui.commonvalue;
import java.awt.*;
/**
* @author avox | lmao
* @since on 29/07/2020.
*/
public class CommonValue {
private String name;
private boolean toggled;
private Color color;
private CommonValue.Type type;
public float x, y;
public int hue;
public Common... |
package io.configrd.service;
import java.io.StringReader;
import java.util.Properties;
import javax.ws.rs.core.MediaType;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import io.configrd.core.ConfigSou... |
package com.hjq.demo.vo;
public class HospitalVo {
private String id;
private String hosname;
private String keid;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getHosname() {
return hosname;
}
publi... |
// 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 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.provider.calculator.priceindexmarketmodel;
import com.opengamma.analytics.financial.interestrate.InstrumentDerivative;
import com.opengamm... |
package io.swagger.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* Label's name
**/
@ApiModel(description = "Label's name")
@javax.annotation.Generated(value = "class io.swagge... |
/*
* (c) Copyright 2019 EntIT Software LLC, a Micro Focus company, L.P.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License v2.0 which accompany this distribution.
*
* The Apache License is available at
* http://www.apache.org/licenses/LICE... |
package org.sirix.gui.view.sunburst.model;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.concurrent.RecursiveTask;
import ... |
package com.jakewharton.u2020;
import com.jakewharton.u2020.ui.InternalReleaseUiModule;
import dagger.Module;
@Module(
addsTo = U2020Module.class,
includes = InternalReleaseUiModule.class,
overrides = true
)
public final class InternalReleaseU2020Module {
}
|
/*
* Copyright (c) 2020, 2021 Microsoft Corporation
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
*
* Contributors:
* ... |
/*
* Copyright 2019 Grizzly Software, https://grizzlysoftware.pl
*
* 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 us... |
package cc.caker.spring.tx;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@Service
public class UserService {
@Autowired
private UserDao userDao;
@Transactional
public vo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.