text stringlengths 7 995k |
|---|
// Copyright 2017-2019, Schlumberger
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... |
package cofh.thermal.core.entity.item;
import cofh.lib.entity.AbstractTNTEntity;
import cofh.lib.util.Utils;
import cofh.thermal.core.entity.projectile.NukeGrenadeEntity;
import net.minecraft.block.Block;
import net.minecraft.block.Blocks;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.LivingEntit... |
package com.debug.pmp.common.response;
import lombok.Data;
@Data
public class BaseResponse<T> {
private Integer code;
private String msg;
private T data;
public BaseResponse(StatusCode statusCode) {
this.code = statusCode.getCode();
this.msg = statusCode.getMsg();
}
public... |
package org.milleni.dunning.ws.client.crm;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for GetCustomerStockItemsReque... |
/*
* Copyright 2016 Yahoo 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... |
/*
* 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.bitlove.fetlife.view.adapter;
import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.bitlove.fetlife.FetLifeApplication;
import com.bitlove.... |
/*
* Copyright 2004,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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.eu.habbo.habbohotel.games.tag;
import com.eu.habbo.habbohotel.games.GamePlayer;
import com.eu.habbo.habbohotel.games.GameTeamColors;
import com.eu.habbo.habbohotel.users.Habbo;
public class TagGamePlayer extends GamePlayer
{
/**
* Creates a new GamePlayer for the given Habbo and it's team.
*... |
package org.pushingpixels.substance.internal.svg;
import java.awt.*;
import java.awt.geom.*;
import java.awt.image.BufferedImage;
import java.io.*;
import java.lang.ref.WeakReference;
import java.util.Base64;
import java.util.Stack;
import javax.imageio.ImageIO;
import javax.swing.SwingUtilities;
import javax.swing.pl... |
package com.klfront.klcms;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class WebMainApplication {
public static void main(String[] args) {
SpringApplication.run(WebMainApplication.class, args);
}
} |
package DataStructure.stackHeapQueue.stack;
/**
* @author liujun
* @version 1.0
* @date 2020-01-13 22:01
* @author—Email liujunfirst@outlook.com
* @description 栈
* 1、出栈
* 2、入栈
* 3、获取栈顶元素
* 4、判空
* 5、查找值
* 6、获取栈中实际容量
* 7、获取栈中最大容量
* 8、扩容
* @blogURL
*/
public interface Stacklj {
/**
* 出栈操作
* ... |
package software.amazon.lambda.powertools.metrics;
import java.util.Optional;
import java.util.function.Consumer;
import software.amazon.cloudwatchlogs.emf.config.SystemWrapper;
import software.amazon.cloudwatchlogs.emf.environment.EnvironmentProvider;
import software.amazon.cloudwatchlogs.emf.logger.MetricsLogger;
i... |
/**
* Copyright 2014 Internet2
*
* 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.mall.system.mapper;
import java.util.List;
import com.mall.system.domain.SysUserOnline;
/**
* 在线用户 数据层
*
* @author mall
*/
public interface SysUserOnlineMapper
{
/**
* 通过会话序号查询信息
*
* @param sessionId 会话ID
* @return 在线用户信息
*/
public SysUserOnline selectOnlineById(Stri... |
/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
/*
* Copyright (C) 2016 Clover Network, 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... |
/*
* The MIT License
*
* Copyright 2018 WildBees Labs.
*
* 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, m... |
/**
* Copyright (c) 2011, SOCIETIES Consortium (WATERFORD INSTITUTE OF TECHNOLOGY (TSSG), HERIOT-WATT UNIVERSITY (HWU), SOLUTA.NET
* (SN), GERMAN AEROSPACE CENTRE (Deutsches Zentrum fuer Luft- und Raumfahrt e.V.) (DLR), Zavod za varnostne tehnologije
* informacijske družbe in elektronsko poslovanje (SETCCE), INSTIT... |
/**
* Copyright Google Inc. All Rights Reserved.
* <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
* <p/>
* Unless required by ... |
/*
* MIT License
*
* Copyright (c) 2022 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... |
package com.siyuan.enjoyreading.widget;
import android.content.Context;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.ImageView.ScaleType;
import android.widget.LinearLayout;
import com.androidapp.utils.DensityUtil;
im... |
/* 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... |
/*
* 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 m... |
/*
* Copyright 2017-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... |
//------------------------------------------------------------------------------------------------
//
// SG Craft - IC2 Integration Module
//
//------------------------------------------------------------------------------------------------
package gcewing.sg.ic2;
import gcewing.sg.BaseSubsystem;
import gce... |
package org.firstinspires.ftc.teamcode.paladins.common;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.Gamepad;
import com.qualcomm.robotcore.util.Range;
import org.firstinspires.ftc.robotcore.external.Telemetry;
/**
* Created by Shaun on 2/07/2017.
*/
public class GamePadS... |
/*
* (c) Copyright 2019 Palantir Technologies 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 ... |
package org.andresoviedo.app.util.view;
import android.app.Activity;
import android.os.Bundle;
import android.text.method.LinkMovementMethod;
import android.widget.TextView;
import com.example.android.recyclerview.R;
public class TextActivity extends Activity {
private TextView text;
@Override
protected void on... |
/**
* cockpit
*
*
*
* 版权所有,侵权必究!
*/
package fc.leading.cockpit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
@SpringBootApplication
//@ImportResource(locations = {"classpath... |
/**
* This class is generated by jOOQ
*/
package com.psygate.minecraft.spigot.sovereignty.ascendedprison.db.model.tables.records;
import com.psygate.minecraft.spigot.sovereignty.ascendedprison.db.model.tables.AscendedprisonInventoryStackLore;
import com.psygate.minecraft.spigot.sovereignty.ascendedprison.db.model.t... |
/*
* 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 may... |
/**
* 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... |
/**
* detectable
*
* Copyright (c) 2020 Synopsys, Inc.
*
* 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 ... |
package com.ca.tools.tool1.service;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
import org.apache.commons.io.IOUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework... |
package org.springframework.roo.addon.web.mvc.embedded;
import java.util.Map;
/**
* Addon extension point interface. Implement this to add new embeddable
* providers by taking advantage of the infrastructure provided by this addon.
*
* @author Stefan Schmidt
* @since 1.1
*/
public interface EmbeddedProvider {
... |
/*******************************************************************************
* Copyright 2014 NIFTY Corporation 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 ... |
/*
* Copyright (C) 2020 xuexiangjys(xuexiangjys@163.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 by a... |
package pro.biocontainers.readers.utilities.dockerfile.models.commands;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import pro.biocontainers.readers.utilities.dockerfile.models.DockerContainer;
@Getter
@Setter
public class StopSignal extends Instruction{
/* @Id
... |
package io.github.coolmineman.nestedtext.impl;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import io.github.coolmineman.nestedtext.api.tree.NestedTextNode;
public final class NestedTextBranch implements NestedTextNode {
pri... |
/*
* Copyright 2015 Boleslav Bobcik - Auderis
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
package de.unidue.ltl.ctest.gapscheme.preprocessing;
import java.util.function.Predicate;
import de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token;
/**
* A {@code Predicate}, testing whether a given {@code Token} is below a minimum word length.
*
* @see java.util.function.Predicate
* @see de.tudarmstadt... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
package com.jyusun.origin.base.wecom.model.dto.result;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
/**
* Access Token
*
* @author jyusun at 2022-4-12 22:56:15
*/
@Data
public class AccessTokenDTO {
@JSONField(name = "access_token")
private String accessToken;
@JSONField(nam... |
package com.puboot.common.config;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.PropertyAccessor;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.cache.CacheManager;
import org.springframework.cache.annotation.CachingConfigurerSupport;
i... |
package ru.stqa.training.selenium.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
/**
* Created by irinagavrilova on 1/28/17.
*/
public class SessionHelper extends HelperBase {
public SessionHelper(WebDriver driver) {
super(driver);
}
public void login(String username,... |
package com.jeesuite.common.util;
import java.nio.charset.StandardCharsets;
import com.jeesuite.common.crypt.Base64;
import com.jeesuite.common.crypt.DES;
public class SimpleCryptUtils {
public static final String GLOBAL_CRYPT_KEY;
static{
String env = ResourceUtils.getProperty("env");
String base = ResourceU... |
package com.atguigu.gmall.ums.service.impl;
import com.atguigu.gmall.common.bean.PageParamVo;
import com.atguigu.gmall.common.bean.PageResultVo;
import com.atguigu.gmall.ums.entity.UserEntity;
import com.atguigu.gmall.ums.mapper.UserMapper;
import com.atguigu.gmall.ums.service.UserService;
import com.baomidou.mybatisp... |
/*
* 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 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
package com.huobi.constant.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* buy, sell, both.
*/
@Getter
@AllArgsConstructor
public enum OrderSideEnum {
BUY("buy"),
SELL("sell");
private final String code;
} |
/*
* Copyright (C) 2017 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 (c) 2016, WSO2 Inc. (http://www.wso2.org) 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
*
* Unles... |
package com.avaje.ebeaninternal.server.cluster;
import java.io.ByteArrayOutputStream;
import java.io.DataInput;
import java.io.DataOutputStream;
import java.io.IOException;
/**
* Represents the contents sent as a single DatagramPacket.
* <p>
* The contents is typically multiple messages (ACK,PING etc) or all or pa... |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may... |
/*
* Copyright (C) 2013 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.xyou.edu.user.controller;
import com.xyou.edu.user.service.UserService;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
@RestController
public class UserController {
@Resource(name = "userService")
UserService userService;
} |
package wrh.learning.androidtesting.domain.service;
/**
* @author bruce.wu
* @date 2018/6/18
*/
public interface SlowService {
String fetch();
} |
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com.... |
/**
* Tencent is pleased to support the open source community by making Tseer available.
*
* Copyright (C) 2018 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
* in compliance with the License. You may obtain a... |
/*
* Copyright (c) 2013 3 Round Stones Inc., Some 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 requir... |
package com.cmb.pms.core.model;
import java.util.Date;
public class InterTraining {
private Integer traID; // 系统生成,Primary Key
private String traSegment; // 节次
private Date traTime; // 培训时间
private String traContent; // 培训内容
private String traSpeaker; // 主讲人
private String traPart... |
/*
* 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
* dis... |
/*
* Copyright 2019 Web3 Labs 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 applicable law or agreed to in w... |
package com.mapd.parser.extension.ddl;
import static org.junit.Assert.assertEquals;
import com.google.gson.JsonObject;
import com.omnisci.thrift.calciteserver.TPlanResult;
import org.junit.Test;
public class ShowCommandTest extends DDLTest {
public ShowCommandTest() {
resourceDirPath = ShowCommandTest.class.g... |
/*
* 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.ratz.exception;
public class CustomException extends RuntimeException{
public CustomException(String message){
super(message);
}
} |
package com.lmxdawn.him.common.vo.req;
/**
* 分页的请求
*/
public class BaseLimitReqVO extends BaseReqVO{
/**
* 页码
*/
private Integer page;
/**
* 数量
*/
private Integer limit;
/**
* 偏移量
*/
private Integer offset;
public Integer getPage() {
return page;
... |
package com.example.cezar.decorator;
/**
* Created by Cezar on 16/02/2016.
*/
public abstract class Condimento extends Bebida
{
public abstract String getDescricao();
} |
/*
* Copyright 2021 kings1990(darkings1990@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* Copyright 2021 NoSugarIce
*
* 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 la... |
/*
* Copyright 2000-2016 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 pattern10_Proxy.dynamicproxy;
// 出版社
public class RealPress implements SellBookInterface {
@Override
public void sellBook() {
System.out.println("卖书");
}
} |
public class _62UniquePaths {
public int uniquePaths(int m, int n) {
if (m == 0 || n == 0) return 0;
int []dp = new int[n];
for (int i = 0; i < n; i++){
dp[i] = 1;
}
for (int i = 1; i < m; i++){
for (int j = 1; j < n; j++){
dp[j] = dp[j-1] +... |
package scw.integration.bytedance.data;
import java.util.List;
import scw.integration.bytedance.ResponseCode;
public class DataExternalUserResponse<T> extends ResponseCode {
private static final long serialVersionUID = 1L;
private List<T> result_list;
public List<T> getResult_list() {
return result_list;
}
... |
package com.megaman.game.client;
import com.badlogic.gdx.ApplicationListener;
import com.badlogic.gdx.backends.gwt.GwtApplication;
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration;
import com.megaman.game.Megaman;
public class HtmlLauncher extends GwtApplication {
@Override
public Gwt... |
package com.yznu.qinggua.service.serviceImpl;
import com.yznu.qinggua.dao.IScheduleDao;
import com.yznu.qinggua.pojo.Schedule;
import com.yznu.qinggua.service.IScheduleService;
import com.yznu.qinggua.utils.ResponseUtil;
import com.yznu.qinggua.utils.Result;
import org.springframework.beans.factory.annotation.Autowire... |
/**
* @filename RoleWayController.java
* @description
* @version 1.0
* @author qianye.zheng
*/
package com.hua.controller;
import org.apache.shiro.authz.annotation.RequiresRoles;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bin... |
package net.cromulence.imgur.apiv3.datamodel;
import com.google.gson.annotations.SerializedName;
public class Tag {
private String name;// string Name of the tag.
private int followers;// integer Number of followers for the tag.
@SerializedName("total_items")
private int totalItems; //integer To... |
package frc.lightning.util;
/**
* InverseInterpolable is an interface used by an Interpolating Tree as the Key type. Given two endpoint keys and a
* third query key, an InverseInterpolable object can calculate the interpolation parameter of the query key on the
* interval [0, 1].
*
* @param <T> The Type of Invers... |
import java.util.List;
import java.util.ArrayList;
class PascalTriangleII {
public List<Integer> getRow(int rowIndex) {
List<Integer> ans = new ArrayList<Integer>();
for (int r = 0; r <= rowIndex; r++) {
for (int j = r - 1; j >= 1; j--) {
ans.set(j, ans.get(j - 1) + ans.get(j));
}... |
/**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... |
/*
* Android Wheel Control.
* https://code.google.com/p/android-wheel/
*
* Copyright 2011 Yuri Kanivets
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... |
/*
* 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.smanga.common.enums;
/**
* Operating status
*
* @author Trong Hieu
*/
public enum BusinessStatus
{
/**
* Success
*/
SUCCESS,
/**
* Failed
*/
FAIL,
} |
package com.umarbhutta.xlightcompanion.settings;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Rect;
import android.net.ConnectivityMan... |
/*
* Copyright 2015-2020 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... |
/*----------------------------------------------------------------------------*/
/* Source File: PARKINGLOTCONFIG.JAVA */
/* Description: Domain definition to manipulate configuration objects */
/* Author: Carlos Adolfo Ortiz Quirós (COQ) ... |
/**
* Copyright (c) 2015-2016, Chill Zhuang 庄骞 (smallchill@163.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 re... |
/**
* Copyright 2015 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
/*
* $Id$
*
* Copyright (c) 2018, Simsilica, LLC
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice... |
package dang.kp.manager.common.utils;
import com.google.common.collect.Lists;
import java.text.SimpleDateFormat;
import java.util.List;
public class MyConstants {
public static final SimpleDateFormat SDF_FULL = new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss-SSS");
public static final SimpleDateFormat SDF_SIMPLE =... |
package ac.panoramix.uoe.mcmix.UserInterface;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.database.Cursor;
import android.os.Bundle;
import android.support.v4.widget.... |
package net.thucydides.core.model;
import com.google.common.base.Preconditions;
import static org.apache.commons.lang3.ObjectUtils.compare;
public class TestTag implements Comparable<TestTag> {
public static final TestTag EMPTY_TAG = new TestTag("","");
private final String name;
private final String t... |
/*
* Copyright (c) 2015, 2017, Oracle and/or its affiliates. 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 licen... |
package uk.gov.pay.ledger.util.fixture;
import com.amazonaws.services.sqs.AmazonSQS;
public interface QueueFixture<F, E> {
F insert(AmazonSQS sqsClient);
E toEntity();
} |
/*
* Copyright 2004 The Closure Compiler 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 com.platform.data;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
import org.apache.shiro.SecurityUtils;
import org.apache.shir... |
/*
* Copyright (C) 2013 The Rythm Engine project
* Gelin Luo <greenlaw110(at)gmail.com>
*
* 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 l... |
/**
*
* License: http://www.apache.org/licenses/LICENSE-2.0
* Home page: https://github.com/linlurui/ccweb
* Note: to build on java, include the jdk1.8+ compiler symbol (and yes,
* I know the difference between language and runtime versions; this is a compromise).
* @author linlurui
* @Date Date: 2019-02-10
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.