text stringlengths 7 1.01M |
|---|
package commands.util;
import demoBot.Bot;
import demoBot.Config;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.TextChannel;
import net.dv8tion.jda.api.entities.User;
// Responsible for parsing the command name and delegating it into action
public class Handler {
public Handler(Text... |
/*
* Copyright (c) 2017.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* ajain17 - API and impl... |
package com.springboot.bean;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
@Configuration
@ConfigurationProperties(p... |
package org.basex.index;
/**
* This class defines access to index text tokens.
*
* @author BaseX Team 2005-12, BSD License
* @author Christian Gruen
*/
public final class ValuesToken implements IndexToken {
/** Index type. */
private final IndexType type;
/** Text. */
private final byte[] text;
/**
... |
package com.appbuilders.animediapremium.Libraries.Rester;
public interface ReSTCallback {
public void onSuccess(ReSTResponse response);
public void onError(ReSTResponse response);
}
|
/*
* 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... |
/*
* Copyright 2000-2015 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... |
/*
* This file is part of GriefDefender, licensed under the MIT License (MIT).
*
* Copyright (c) bloodmc
* 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"), to deal
* in the Software... |
//
// ========================================================================
// Copyright (c) 1995-2017 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
/**
* 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 com.fairy.cloud.seckill.component.trade.alipay.model.hb;
public enum Type {
CR // 收银机
, STORE // 门店
, VM // 售卖机
, MD // 医疗设备
, SOFT_POS // 软POS
, POS // POS终端
, ALI_POS // 支付宝POS
}
|
package gg.projecteden.nexus.features.afk;
import gg.projecteden.nexus.features.chat.events.MinecraftChatEvent;
import gg.projecteden.nexus.framework.commands.models.CustomCommand;
import gg.projecteden.nexus.framework.commands.models.annotations.Aliases;
import gg.projecteden.nexus.framework.commands.models.annotatio... |
package com.dynamic.creater.abstractFactory;
/**
* @author bill-smith liuwb
* @Package com.dynamic.creater.abstractFactory
* @Date 2019/9/27 17:06
* @Version v1.0
* @Copyright @ 2019-2020用友网络科技股份有限公司
* @Email 18232480449@163.com
* @Contract https://github.com/BillCindy
* @Blog https://blog.csdn.net/t131452n?vi... |
package primal.bukkit.nms;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Objects;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import... |
/*
* 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 ... |
/*
* $Id$
*
* $State$
*
* $Log$
* Revision 1.2 2013/03/28 17:29:09 mmaloney
* Refactoring for user-customizable decodes properties.
*
* Revision 1.1 2008/04/04 18:21:00 cvs
* Added legacy code to repository
*
* Revision 1.6 2006/04/14 12:36:07 mmaloney
* DecodesSettings now uses ilex.util.PropertiesUtil ... |
/**
* SubmitOrdersForApprovalWithoutReservationChanges.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.v201302;
/**
* The action used for submitting {@link Order} objects for approval.
* This
* ... |
package it.loreii.ledstripe;
import javax.usb.UsbException;
public class Main {
public static void main(String[] args) throws UsbException {
LedStripe led = LedStripe.getInstance();
{//sample direct matrix draw
byte[][] matrix = {
{ 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1 },
... |
/*
* Copyright 2010-2015 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... |
/*
* 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.ley.spring.learn.bean;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.*;
import org.springframework.beans.factory.support.RootBeanDefinition;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestr... |
package the.pixel.factory.inshorts.adapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import android.... |
package org.random.api.exception;
/** Exception raised by the RandomOrgClient class when the server
** returns a JSON-RPC Error.
**
** @see https://api.random.org/json-rpc/1/error-codes
**/
public class RandomOrgJSONRPCError extends RuntimeException {
/** Constructs a new exception with the specified detail mess... |
/*
* Copyright 2015, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions a... |
/*
* Copyright 2016 FabricMC
*
* 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 ... |
package com.atguigu.gulimall.coupon.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 专题商品
*
* @author feng
* @email ${email}
* @date 2020-08-22 16:07:03
*/
@Data
@Tabl... |
package com.planet_ink.coffee_mud.Behaviors;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.pl... |
/*
* Copyright 2012-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... |
/*
* 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 ac.za.cput.Controller;
/**
*
* @author BooBoo
*/
import ac.za.cput.Domain.FundedAcc;
import ac.za.cput.Service.Impl.Funded... |
/*
* 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... |
/*
* 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 ... |
/*
* LeanIX Pathfinder REST API
* Core application for storage and analysis of IT landscape data
*
* OpenAPI spec version: 4.0.217
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
packag... |
package me.TijelaPvP.uteis;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityExplodeEvent;
public class NaoExplodirOMapa
implements Listener
{
@EventHandler
public void semExplosao(EntityExplodeEvent e)
{
e.setCancelled(true);
}
}... |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2007, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... |
/**
* Copyright (c) 2011-2016, James Zhan 詹波 (jfinal@126.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/licenses/LICENSE-2.0
*
* Unless required... |
/*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.test.bugs._1738;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;
/**
* @author Filip Hrisafov
... |
/*
* Copyright 2003-2011 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 app... |
package harlan.paradoxie.dizzypassword.pickerview.view;
import android.content.Context;
import android.view.View;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.List;
import harlan.paradoxie.dizzypassword.R;
import harlan.paradoxie.dizzypassword.pickerview.T... |
package org.jsoup.helper;
import org.jsoup.Connection;
import org.jsoup.HttpStatusException;
import org.jsoup.UncheckedIOException;
import org.jsoup.UnsupportedMimeTypeException;
import org.jsoup.internal.ConstrainableInputStream;
import org.jsoup.internal.StringUtil;
import org.jsoup.nodes.Document;
import org.jsoup.... |
package neqsim.fluidMechanics.flowNode.fluidBoundary.heatMassTransferCalc;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Toolkit;
import java.text.DecimalFormat;
import java.text.FieldPosition;
import javax.swing.JDialog;
import javax.swing.JF... |
package org.codehaus.plexus.redback.struts2.action;
/*
* Copyright 2009 The Codehaus.
*
* 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... |
/*
* 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... |
/*
* Copyright 2010-2015 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.example.flavor;
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 add... |
package com.zk.quartz.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zk.quartz.domain.SysJobLog;
import com.zk.quartz.mapper.SysJobLogMapper;
import com.zk.quartz.service.ISysJobLogService;
/**
* 定时任务调度日志信息... |
/*******************************************************************************
* Watchr
* ------
* Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC (NTESS).
* Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains
* certain rights in this software.
************... |
package org.apache.blur.mapreduce.lib;
import java.util.List;
import org.apache.blur.utils.RamUsageEstimator;
import org.apache.lucene.document.Field;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for ad... |
package site.iway.androidhelpers;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.HorizontalScrollView;
public class ExtendedScrollViewHorizontal extends HorizontalScrollView {
public ExtendedScrollViewHorizontal(Context context, AttributeSet attrs, int defStyle) {
... |
public class Pricinpal{
public static void main(String args[]){
System.out.println("\f");
//CLASS GATO
Gato gato = new Gato();
gato.setBarulhoGato("Syames");
gato.setAcaoGato("Correr pela casa quinem loko");
gato.setTamanhoGato("Pequeno");
... |
/*
* 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 ... |
/*
* 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 com.cloudimpl.cluster4j.core;
import java.lang.reflect.GenericDeclaration;
import java.lang.reflect.InvocationTargetException;
im... |
/**
*/
package substationStandard.Enumerations;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
* <!-- begin-user-doc -->
* A representation of the literals of the enumeration '<em><b>Internal Trigger Mode Kind</b></em>',
* and util... |
package com.example.linan.fememer;
/**
* 发送邮件是网络请求要放到另一个线程里去
*
*/
public class emailrequest implements Runnable {
private String email;
private String newpwd;
emailrequest(String email, String newpwd){
this.email = email;
this.newpwd = newpwd;
}
@Override
public void run() {... |
/*
* $Id: GenericCacheEntry.java 124053 2005-01-04 01:24:35Z dfs $
*
* Copyright 2000-2005 The Apache Software Foundation
*
* 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
*
* htt... |
package org.springframework.samples.petclinic.recoveryroom;
import java.util.List;
import java.util.Optional;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
public interface RecoveryRoomRepository extends CrudRepository<RecoveryRoom, Integer> {
Li... |
/*
* Tencent is pleased to support the open source community by making Angel available.
*
* 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 ma... |
package us.ihmc.euclid.referenceFrame.collision.interfaces;
import us.ihmc.euclid.referenceFrame.exceptions.ReferenceFrameMismatchException;
import us.ihmc.euclid.referenceFrame.interfaces.FramePoint3DReadOnly;
import us.ihmc.euclid.referenceFrame.interfaces.FrameShape3DReadOnly;
import us.ihmc.euclid.referenceFrame.i... |
/*
* Copyright 2005 JBoss 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 i... |
/*
* Copyright 2012-2020 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 io.github.opencubicchunks.cubicchunks.world.level;
import net.minecraft.world.level.ChunkPos;
public interface CubicPersistentEntitySectionManager {
boolean isCubeTicking(CubePos pos);
boolean isChunkTicking(ChunkPos pos);
}
|
package org.tx;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.tx.config.AppConfig;
import org.tx.service.UserService;
public class Application {
public static void main(String[] args) {
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationConte... |
/*
Copyright 2016, 2017 Institut National de la Recherche Agronomique
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... |
/*
* This file is part of Sponge, 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 "Softwar... |
package net.minestorm.server.entity.pathfinding;
import com.extollit.gaming.ai.path.model.ColumnarOcclusionFieldList;
import com.extollit.gaming.ai.path.model.IBlockDescription;
import com.extollit.gaming.ai.path.model.IColumnarSpace;
import com.extollit.gaming.ai.path.model.IInstanceSpace;
import net.minestorm.server... |
package com.eaw1805.www.client.gui.scroll;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;
import com.eaw1805.www.client.widgets.ScrollVerticalBarEAW;
public class VerticalPanelScrollChild extends VerticalPanel implements ScrollChild {
private ScrollVerticalBarEAW... |
// 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 org.yeauty.standard;
import org.springframework.beans.TypeConverter;
import org.springframework.beans.TypeMismatchException;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.BeanFactoryAware;
import org.springframework.beans.factory.SmartInitializingSingleton... |
package sparkler.editor;
import sparkler.utils.SwingComponent;
import sparkler.utils.Theme;
import javafx.embed.swing.SwingNode;
import org.fife.ui.rsyntaxtextarea.*;
import org.fife.ui.rtextarea.Gutter;
import org.fife.ui.rtextarea.RTextScrollPane;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
impor... |
package com.edge.business.purchase.listener.taskListener.after;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;
... |
/*
* 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 com.ecommerce.pojo;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
public class SysMenu implements Serializable {
private Long id;
/**
* 父级ID
*
* @mbg.generated
*/
@ApiModelProperty(value = "父级ID")
private Long parentId;... |
package org.omg.PortableInterceptor;
/**
* org/omg/PortableInterceptor/ClientRequestInfo.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u191/11896/corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl
* Saturday,... |
package com.mercadopago.android.px.model;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.VisibleForTesting;
import com.mercadopago.android.px.internal.util.ParcelableUtil;
import com.mercad... |
package com.helixz.oauth.demo.component;
import org.springframework.security.oauth2.common.DefaultOAuth2AccessToken;
import org.springframework.security.oauth2.common.OAuth2AccessToken;
import org.springframework.security.oauth2.provider.OAuth2Authentication;
import org.springframework.security.oauth2.provider.token.... |
// Copyright 2013 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 applicable... |
package algorithms;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class SelectionSortTest {
@Test
public void testSort() {
Integer[] array = new Integer[]{10, 1, 4, 2, 6, 7, 3, 5, 8, 9};
SelectionSort.sort(array);
assertEquals("1 2 3 4 5 6 7 8 9 10", join(... |
// Part of PMData: https://pmdata.machinezoo.com
package com.machinezoo.pmdata.caching;
import static java.util.stream.Collectors.*;
import java.nio.file.*;
import java.time.*;
import java.util.*;
import java.util.concurrent.*;
import org.apache.commons.lang3.exception.*;
import org.slf4j.*;
import com.google.gson.*;
... |
//给你个整数数组 arr,其中每个元素都 不相同。
//
// 请你找到所有具有最小绝对差的元素对,并且按升序的顺序返回。
//
//
//
// 示例 1:
//
// 输入:arr = [4,2,1,3]
//输出:[[1,2],[2,3],[3,4]]
//
//
// 示例 2:
//
// 输入:arr = [1,3,6,10,15]
//输出:[[1,3]]
//
//
// 示例 3:
//
// 输入:arr = [3,8,-10,23,19,-4,-14,27]
//输出:[[-14,-10],[19,23],[23,27]]
//
//
//
//
// 提示:
//
//
// 2 <... |
package com.squareup.square.models;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
/**
* This is a model class for ... |
/*
* Bitcoin-JSON-RPC-Client License
*
* Copyright (c) 2013, Mikhail Yevchenko.
*
* 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 r... |
/*
* Copyright 2014 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
/*
* Copyright 2018 The Data Transfer Project 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 applicab... |
package com.intkr.saas.module.screen.admin.user.dialog;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.intkr.saas.domain.bo.user.RoleBO;
import com.intkr.saas.manager.user.RoleManager;
import com.intkr.s... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package org.egov.pt.calculator.service;
import java.math.BigDecimal;
import java.util.*;
import java.util.stream.Collectors;
import org.egov.common.contract.request.RequestInfo;
import org.egov.common.contract.response.ResponseInfo;
import org.egov.pt.calculator.repository.Repository;
import org.egov.pt.calculator.ut... |
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.function.Function;
public class Deck {
private LinkedList<Card> cards;
private Function<LinkedList<Card>, LinkedList<Card>> shuffleAlgorithm;
/**
* Initialize the game deck with the given number of... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
package net.minecraft.network.play.client;
import net.minecraft.network.play.*;
import net.minecraft.util.*;
import java.io.*;
import org.apache.commons.lang3.*;
import net.minecraft.network.*;
public class C14PacketTabComplete implements Packet<INetHandlerPlayServer>
{
private String message;
private BlockPo... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are su... |
package au.com.codeka.warworlds.client.ctrl;
import static com.google.common.base.Preconditions.checkNotNull;
import android.content.Context;
import android.graphics.Color;
import android.text.Html;
import android.util.AttributeSet;
import android.view.View;
import android.widget.Button;
import android.widget.LinearL... |
/*
* Copyright 2018-2019 adorsys GmbH & Co KG
*
* 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 ... |
/*
* 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 org.frameworkset.elasticsearch.imp;
/**
* Copyright 2008 biaoping.yin
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* ... |
package gov.noaa.pmel.tmap.las.client.laswidget;
import gov.noaa.pmel.tmap.las.client.ClientFactory;
import gov.noaa.pmel.tmap.las.client.event.RemoveSelectionConstraintEvent;
import gov.noaa.pmel.tmap.las.client.serializable.ConstraintSerializable;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.cli... |
package com.github.shareme.greenandroid.blazeapp;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(... |
package io.moomin.utils;
import org.springframework.core.convert.converter.Converter;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public class StringToDateConverter implements Converter<String,Date> {
@Override
public Date convert(... |
/*
* 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.
*/
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distribute... |
package com.whattacook.view.service.implementation;
import static com.whattacook.util.Valid.isNullOrEmpty;
import static com.whattacook.util.Valid.notNullOrEmpty;
import java.util.ArrayList;
import java.util.List;
import com.whattacook.model.ingredient.IngredientJson;
import com.whattacook.util.exceptions.Ingredient... |
package concurrency.ch4;
import java.util.concurrent.atomic.AtomicReference;
public class AtomicReferenceDemo {
static AtomicReference<Integer> money = new AtomicReference<Integer>();
public static void main(String[] args) {
money.set(19);
for (int i = 0; i < 3; i++) {
new Thread... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.