text stringlengths 7 995k |
|---|
package deepDriver.dl.aml.lstm;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Random;
import deepDriver.dl.aml.ann.IActivationFunction;
import deepDriver.dl.aml.ann.imp.LogicsticsActivationFunction;
import deepDriver.dl.aml.lstm.imp.Block;
im... |
/*
* MIT License
*
* Copyright (c) 2017 Magdalena Kaiser
*
* 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,... |
/*-
* #%L
* Bobcat
* %%
* Copyright (C) 2016 Cognifide 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 requi... |
package org.sputnikdev.bluetooth.manager.transport.bluegiga;
import com.zsmartsystems.bluetooth.bluegiga.BlueGigaResponse;
import com.zsmartsystems.bluetooth.bluegiga.command.attributeclient.BlueGigaAttributeValueEvent;
import com.zsmartsystems.bluetooth.bluegiga.command.attributeclient.BlueGigaProcedureCompletedEvent... |
/*
* Copyright (C) 2011 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.communote.server.model.task;
/**
* This class holds constants of attributes and associations of the entity
* <code>TaskExecution</code>.
*
* @author Communote GmbH - <a href="http://www.communote.com/">http://www.communote.com/</a>
*/
public class TaskExecutionConstants {
public final static Stri... |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright © 2021 ProStore
*
* 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... |
/*
* 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 mainlibrary;
import java.awt.Color;
import java.awt.HeadlessException;
import java.sql.Connection;
import java.sql.PreparedSta... |
/*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not ... |
package com.github.manage.common.enums.result;
/**
* @ProjectName: spring-cloud-examples
* @Package: com.github.manage.common.enums.result
* @Description: 枚举基类
* @Author: Vayne.Luo
* @date 2018/12/29
*/
public interface BizResultEnumBase {
public BizResultEnumObject getBizResultEnumObject();
} |
package org.smartregister.chw.hf.interactor;
import android.content.Context;
import androidx.annotation.VisibleForTesting;
import org.json.JSONObject;
import org.smartregister.chw.core.contract.CoreChildProfileContract;
import org.smartregister.chw.core.interactor.CoreChildProfileInteractor;
import org.smartregister... |
package de.adorsys.psd2.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import ... |
package co.tinode.tindroid;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.suppo... |
/**
* 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 io.split.engine.sse;
import com.google.common.collect.Maps;
import io.split.engine.common.PushManager;
import io.split.engine.sse.client.SSEClient;
import io.split.engine.sse.dtos.ControlNotification;
import io.split.engine.sse.dtos.ControlType;
import io.split.engine.sse.dtos.ErrorNotification;
import io.spli... |
package org.infinispan.query.test;
import org.hibernate.search.annotations.Analyze;
import org.hibernate.search.annotations.DateBridge;
import org.hibernate.search.annotations.Field;
import org.hibernate.search.annotations.FilterCacheModeType;
import org.hibernate.search.annotations.FullTextFilterDef;
import org.hiber... |
package com.faraz.frzpetclinic.services.map;
import com.faraz.frzpetclinic.models.BaseEntity;
import java.util.*;
public abstract class AbstractMapService<T extends BaseEntity, ID extends Long> {
protected Map<Long, T> map = new HashMap<>();
Set<T> findAll() {
return new HashSet<>(map.values());
... |
package de.wuespace.daedalus2.gs.workshop.advanced.example1.safe;
import java.util.concurrent.ThreadLocalRandom;
/**
* A simple implementation of {@link Safe}.</br>
* This {@link Safe} does not serve any real purpose apart from being cracked.
*
* @author Cedric Boes
* @version 1.0
* @see Safe
*/
public class ... |
package com.app.graduationproject.fragment;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.ActivityCompat;
import android.su... |
package org.drulabs.pixelr.screens;
/**
* Created by kaushald on 28/10/17.
*/
public class Tester {
} |
/*
* Copyright (c) 2015, Isode Limited, London, England.
* All rights reserved.
*/
/*
* Copyright (c) 2013 Tobias Markmann
* Licensed under the simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
package com.isode.stroke.elements;
import java.util.Date;
public class... |
package com.atguigu.gulimall.product.controller;
import java.util.Arrays;
import java.util.Map;
//import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bin... |
package com.atguigu.gmall.sms.controller;
import java.util.Arrays;
import java.util.Map;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;
import com.atguigu.core.bean.Resp;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans... |
// Copyright 2011-2016 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 ... |
package org.patientview.test.persistence.repository;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.patientview.persistence.model.Group;
import org.patientview.persistence.model.SurveySendingFacility;
import org.patientview.persistence.repository.GroupRepository;
import org... |
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.commonservices.generichandlers;
import org.odpi.openmetadata.adapters.connectors.datastore.csvfile.CSVFileStoreProvider;
import org.odpi.openmetadata.commonservices.ffdc.InvalidParameterHan... |
package com.alibaba.datax.plugin.unstructuredstorage.reader;
/**
* Created by haiwei.luo on 14-12-5.
*/
public class Key {
public static final String COLUMN = "column";
public static final String ENCODING = "encoding";
public static final String FIELD_DELIMITER = "fieldDelimiter";
public static 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... |
package com.learn.uzair.ugpacs;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.EditText;
public class Subject9 extends AppCompatActivity {
private EditText grade1EditText, credit1EditText, grade2EditText, c... |
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package com.o2d.pkayjava.editor.controller.commands;
import com.badlogic.ashley.core.Entity;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.utils.Array;
import com.o2d.pkayjava.editor.Overlap2D;
import com.o2d.pkayjava.editor.Overlap2DFacade;
import com.o2d.pkayjava.editor.controller.commands.EntityModi... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.amap.api.maps.model;
import android.graphics.Bitmap;
import android.os.Parcel;
// Referenced classes of package com.amap.api.maps.model:
// ... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.clustercontroller.core.restapiv2;
import com.yahoo.vespa.clustercontroller.utils.staterestapi.errors.InternalFailure;
import org.junit.Test;
import static org.junit.Assert.ass... |
package io.renren.modules.generator.controller;
import java.util.Arrays;
import java.util.Map;
import io.swagger.models.auth.In;
import org.springframework.web.bind.annotation.*;
import io.renren.modules.generator.entity.CustomerEntity;
import io.renren.modules.generator.service.CustomerService;
import io.renren.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 applicable law or agreed to in writing, software
* distribu... |
package cn.miozus.gulimall.product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.miozus.gulimall.common.utils.PageUtils;
import cn.miozus.gulimall.product.entity.BrandEntity;
import java.util.Map;
/**
* 品牌
*
* @author SuDongpo
* @email miozus@outlook.com
* @date 2021-08-06 23:57... |
package im.zhaojun.zfile.controller.home;
import im.zhaojun.zfile.context.DriveContext;
import im.zhaojun.zfile.model.dto.AudioInfoDTO;
import im.zhaojun.zfile.model.dto.FileItemDTO;
import im.zhaojun.zfile.model.support.ResultBean;
import im.zhaojun.zfile.service.base.AbstractBaseFileService;
import im.zhaojun.zfile.... |
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.roclas.mojo.unix.maven.plugin;
/*
* The MIT License
*
* Copyright 2009 The Codehaus.
*
* 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 witho... |
/*
* 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.himo.app.filter;
import org.apache.commons.lang3.StringUtils;
import com.himo.app.entity.submit.PlayerSubmit;
import com.vaadin.flow.function.SerializablePredicate;
public class PlayerSubmitFilter implements SerializablePredicate<PlayerSubmit>
{
private static final long serialVersionUID = -43894168699... |
package com.hillwater.service.util;
import org.apache.commons.lang3.RandomStringUtils;
/**
* Utility class for generating random Strings.
*/
public final class RandomUtil {
private static final int DEF_COUNT = 20;
private RandomUtil() {
}
/**
* Generates a password.
*
* @return the... |
package com.yoziming.javamall.order.vo;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* @Author: yoziming
* @Date: 2022/2/25 16:18
* @Description:
*/
@Data
public class SpuInfoVo {
private Long id;
/**
* 商品名稱
*/
private String spuName;
/**
* 商品描述
... |
/**
* Copyright 2013 Canada Health Infoway, 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 applicab... |
package view.ui.turtle;
import java.util.Collection;
import java.util.HashMap;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
/**
* The purpose of this class is to store, set, and get which image is associated with each turtle index
*
* @author Diane Hadley
*
*/
public class TurtleViewM... |
package net.jxta.impl.cm;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import net.jxta.id.IDFactory;
import net.jxta.p... |
/* $This file is distributed under the terms of the license in LICENSE$ */
package edu.cornell.mannlib.vitro.webapp.beans;
import java.text.Collator;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class PropertyGroup extends BaseResourceBean implem... |
package location.services;
import java.util.List;
import location.pojo.MacAddressPOJO;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;
import seller.pojo.SellerBestSellerPOJO;
/**
* Created by Administrator on 6/12/2559.
*/
public interface InterfaceGetMacAddress {
@GET("/~551605... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.instrumentation.awssdk.v1_11;
import static net.bytebuddy.matcher.ElementMatchers.isAbstract;
import static net.bytebuddy.matcher.ElementMatchers.isMethod;
import static net.bytebuddy.matcher.Elemen... |
package com.atguigu.gmall.oms.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import... |
/**
* Copyright (C) 2006-2019 Talend Inc. - www.talend.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 appli... |
package com.prowidesoftware.swift.model.mx.dic;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3... |
/**
*
*/
package com.marketing.engine.domain;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* AWSUser.java class that contains the logic
* @author ihuaylupo
* @version
* @since 2018-07-03
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserSignUpResponse {
private String username... |
package com.github.dreamhead.moco.extractor;
import com.github.dreamhead.moco.HttpRequest;
import com.github.dreamhead.moco.HttpRequestExtractor;
import com.google.common.base.Optional;
import com.google.common.collect.ImmutableMap;
import static com.google.common.base.Optional.fromNullable;
public final class FormR... |
package com.corneliadavis;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.http.converter.Http... |
package ddth.dasp.framework.osgi;
import java.util.Properties;
/**
* OSGi service implements this interface to be automatically registered.
*
* @author NBThanh <btnguyen2k@gmail.com>
*/
public interface IServiceAutoRegister {
public String getClassName();
public Properties getProperties();
} |
/*
* 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... |
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.LinkedList;
import java.util.List;
import java.util.Properties;
/**
* Connection pull DB
*
*
*/
public class Database {
private static String protocol;
private static String hostname;
private static Str... |
package cn.itcast.consumer.pojo;
import lombok.Data;
@Data
public class User {
private Integer id;
private String username;
private String password;
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... |
package me.diax.srv.cache.client;
/**
* Static list of indices used by the cache
*/
enum DiaxCacheIndex {
PROFILE(1);
private final int index;
/**
* Creates a new cache index page
*
* @param index the index
* @throws IllegalArgumentException if the index is negative
*/
Diax... |
package org.robolectric.shadows;
import static android.os.Build.VERSION_CODES.LOLLIPOP_MR1;
import android.content.Context;
import android.view.LayoutInflater;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.util.ReflectionHelpers;
import org.robo... |
/*
* 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 n... |
package pyoss.admin.config;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.LocalDateTime;
import java.util.Objects;
@JsonAutoDetect(... |
package rightDigit;
import java.util.List;
public class RightDigit {
//Retorne uma lista de inteiros cujos valores sejam os dífitos mais a direita dos valores da lista original.
//Ex.: (([12,1,345] -> [2,3,5]).
public List<Integer> rightDigit(List<Integer> nums) {
nums.replaceAll(n -> n%10);
... |
package it.fvaleri.example.serde;
import org.apache.kafka.common.serialization.Deserializer;
import org.apache.kafka.common.serialization.Serde;
import org.apache.kafka.common.serialization.Serializer;
import java.util.Map;
public class WrapperSerde<T> implements Serde<T> {
final private Serializer<T> serializer... |
// Copyright (c) 2020 Ryan Richard
package rr.hikvisiondownloadassistant;
import lombok.RequiredArgsConstructor;
import java.net.http.HttpHeaders;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.util.Arrays;
import java.util.Base64;
im... |
/*
* Copyright 2008 biaoping.yin
*
* 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 agr... |
package com.ymksun.dev.android_sample_app.activities;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import com.ymksun.dev.android_sample_app.R;
public class ListActivity extends BaseActivity {
public static Intent newIntent(C... |
// ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... |
package com.example.demo.contracts.questions.common;
import com.example.demo.contracts.topics.common.TopicResponse;
import com.example.demo.contracts.topics.common.TopicSimpleResponse;
import manifold.ext.props.rt.api.var;
import java.time.Instant;
import java.util.List;
public class QuestionResponse {
@var
... |
package com.tekihub.kameleon.domain;
public class Constants {
public static final String DATA_MAP_PATH = "/color";
public static final String DATA_MAP_KEY_COLORS = "colors";
} |
package com.lbs.re.data.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.lbs.re.model.ReResourceGroup;
@Repository
public interface ResourceGroupRepository extends JpaRepository<ReResourceGroup, String> {
} |
//
// Decompiled by Procyon v0.5.36
//
package jdk.nashorn.internal.runtime.regexp.joni;
final class BitStatus
{
public static final int BIT_STATUS_BITS_NUM = 32;
public static int bsClear() {
return 0;
}
public static int bsAll() {
return -1;
}
public static b... |
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
package com.twilio.rest.reader.api.v2010.account.incomingphonenumber;
import com.twilio.rest.exception.ApiConnectionException;
import com.twilio.rest.exception.ApiException;
import com.twilio.res... |
package org.xdef.util;
import org.xdef.xml.KXmlUtils;
import org.xdef.impl.util.gencollection.XDGenCollection;
import java.io.File;
import java.net.URL;
import java.util.ArrayList;
import org.w3c.dom.Element;
/** Generates a xml document with collection of all given X-definitions.
* @author Vaclav Trojan
*/
public... |
package com.smyhvae.sharesdk;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
su... |
/**
* Copyright 2018-2020 stylefeng & fengshuonan (sn93@qq.com)
* <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 ... |
class GoodDogTestDrive {
public static void main (String[] args) {
GoodDog one = new GoodDog();
one.setSize(70);
GoodDog two = new GoodDog();
two.setSize(8);
System.out.println("Dog one:" + one.getSize());
System.out.println("Dog two:" + two.getSize());
one.... |
package com.zk.wanandroidtodo.manager;
import android.app.Activity;
import android.app.ActivityManager;
import android.content.Context;
import java.util.Stack;
/**
* @description: 管理Activity栈
* @author: zhukai
* @date: 2018/2/27 13:52
*/
public class AppManager {
private static Stack<Activity> activityStack... |
/*
* 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... |
/*
* Copyright 2017 The Mifos Initiative.
*
* 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 a... |
/*
* Copyright 2002-2014 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... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package e.a.a.a.y0.d.a;
import e.a.a.a.y0.a.g;
import e.a.a.a.y0.b.b;
import e.a.a.a.y0.b.l0;
import e.x.b.l;
import e.x.c.i;
import e.x.c.k;
public final class x extends k implements l<b, Boolean> {
/* renamed from: h reason: collision with root package name */
public static final x f8595h = new x();
... |
package com.programmers.heavenpay.account.dto.request;
import com.programmers.heavenpay.annotation.ArbitraryAuthenticationPrincipal;
import lombok.*;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
@Getter
@NoArgsConstructor(acce... |
package cn.wizzer.app.web.commons.ext.wx;
import cn.wizzer.app.web.commons.base.Globals;
import cn.wizzer.app.wx.modules.models.Wx_config;
import cn.wizzer.app.wx.modules.services.WxConfigService;
import com.alibaba.dubbo.config.annotation.Reference;
import org.nutz.dao.Cnd;
import org.nutz.integration.jedis.JedisAgen... |
/*
* 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 org.ovirt.engine.ui.common.place;
import java.util.logging.Logger;
import org.ovirt.engine.ui.common.auth.UserLoginChangeEvent;
import org.ovirt.engine.ui.common.auth.UserLoginChangeEvent.UserLoginChangeHandler;
import org.ovirt.engine.ui.common.uicommon.ClientAgentType;
import org.ovirt.engine.ui.uicommonweb... |
/**
* \file CrdWznmMch.java
* Java API code for job CrdWznmMch
* \copyright (C) 2018-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 5 Dec 2020
*/
// IP header --- ABOVE
package apiwznm;
import java.util.*;
import org.w3c.dom.*;
import sbecore.*;
public class C... |
/*
* Copyright 2017 Hippo Seven
*
* 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 (C) 2016 AriaLyy(https://github.com/AriaLyy/Aria)
*
* 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... |
/*
* @test /nodynamiccopyright/
* @bug 7177306 8007464
* @summary Regression: unchecked method call does not erase return type
* @compile/fail/ref=T7177306e_7.out -XDrawDiagnostics -source 7 -Xlint:-options -XDrawDiagnostics T7177306e.java
* @compile/fail/ref=T7177306e.out -XDrawDiagnostics T7177306e.java
*/
imp... |
/*
* Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED
* 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://mindorks.com/license/apache-v2
*
* Unless required by applicable... |
package com.csdt.android.coolweather.gson;
import com.google.gson.annotations.SerializedName;
/**
* Created by lylee on 2017/3/2.
*/
public class Basic {
@SerializedName("city")
public String cityName;
@SerializedName("id")
public String weatherId;
public Update update;
public class Upda... |
/*
* Copyright 2017-2020 Crown Copyright
*
* 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 a... |
package org.pipservices3.commons.run;
import org.pipservices3.commons.errors.*;
/**
* Helper class that cleans stored object state.
*
* @see ICleanable
*/
public class Cleaner {
/**
* Clears state of specific component.
*
* To be cleaned state components must implement ICleanable interface. If they
* d... |
/*
* Copyright (C) 2016-2017 Spring Agile. All rights reserved.
* Licensed under the Apache License, Version 2.0
*/
package com.agile.framework.entity;
import java.util.List;
/**
* 分页封装类
* @param <T>
*/
public class Page<T> {
private static final int DEFAULT_PAGE_SIZE = 10;
private static fi... |
/*
* Copyright (c) 2011-2013, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.