text stringlengths 7 995k |
|---|
package com.koushikdutta.async.http;
import android.net.Uri;
/**
* Created by koush on 8/25/13.
*/
public class AsyncHttpHead extends AsyncHttpRequest {
public AsyncHttpHead(Uri uri) {
super(uri, METHOD);
}
@Override
public boolean hasBody() {
return false;
}
public static ... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
package com.alipay.sdk.f.a;
import org.json.JSONException;
import org.json.JSONObject;
public final class d
extends com.alipay.sdk.f.d
{
protected final JSONObject a()
throws JSONException
{
return com.alipay.sdk.f.d.a("cashier", "main");
}
}
/* Location: /Users/gaoht/Downloads/zirom/cl... |
/*
* Copyright 2018 JDCLOUD.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... |
package smpl.shipment.model;
import java.util.ArrayList;
import java.util.List;
/**
* Represents data for a particular shipment. Each order corresponds to no more
* than one shipment record. In other words, shipments are consolidated.
*/
public class ShipmentRecord
{
/**
* The order id is also the key of ... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
package com.yandex.metrica.impl;
import android.content.Context;
import android.content.pm.PackageItemInfo;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.text.TextUtils;
import android.util.Base64;
import com.yandex.metrica.impl.utils.g;
import com.yandex.metrica.impl.... |
/*
* Copyright © 2019 collin (1634753825@qq.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 ... |
/*
* 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 u... |
package com.example.cropprediction.ui.other;
import android.app.ActionBar;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.AnimationDrawable;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import ... |
package com.steven.SpringAutoWiring;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class CDPlayer implements MediaPlayer {
private CompactDisc compactDisc;
@Autowired
public CDPlayer(CompactDisc compactDisc){
thi... |
package org.pinae.rafiki.listener;
/**
* 任务监听器
*
* @author Huiyugeng
*
*/
public interface TaskListener {
/**
* Task执行start后执行
*/
public void start();
/**
* Task执行stop后执行
*/
public void finish();
} |
package org.pushingpixels.demo.flamingo.svg.filetypes.transcoded;
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 javax.imageio.ImageIO;
import javax.swing.plaf.UIResource;
import org.pushingpixels.ne... |
/*
* Licensed to the Koordinierungsstelle für IT-Standards (KoSIT) under
* one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. KoSIT licenses this file
* to you under the Apache License, Version 2.0 (the
* "Licen... |
/*
* Copyright (c) 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 app... |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camera.features;
import android.app.Activity;
import androidx.annotation.NonNull;
import io.flutter.plugins.camera.CameraProp... |
package org.iproduct.spring.webmvc.web;
import org.iproduct.spring.webmvc.exceptions.CustomValidationException;
import org.iproduct.spring.webmvc.model.Article;
import org.iproduct.spring.webmvc.model.ArticlesSelection;
import org.iproduct.spring.webmvc.dao.ArticleDao;
import org.slf4j.Logger;
import org.slf4j.LoggerF... |
package ru.croc.ctp.jxfw.reporting.xslfo.renderer.word.processing.tree.element.pagesequence;
import ru.croc.ctp.jxfw.reporting.xslfo.renderer.core.common.AreaType;
import ru.croc.ctp.jxfw.reporting.xslfo.renderer.word.processing.tree.element.root.GenericArea;
import java.util.Map;
/**
* Класс, инкапсулирующий обраб... |
/*
------------------------------------- Credits -----------------------------------------------------------------
Generalized National Airspace Trajectory Simulation (GNATS) software
2017-2021 GNATS Development Team at Optimal Synthesis Inc. are:
Team Lead, Software Architecture and Algorithms: Dr. P. K. Menon
Algorit... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package org.jsoup.helper;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.parser.Parser;
import java.io.*;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
import java.nio.charset.IllegalCharsetNameException;
import java.util.Random;
import java.util.regex.Matcher;
import... |
/*
* Copyright (C) 2009 JavaRosa
*
* 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 buscaCEP;
/**
* Decorator base para criação de decorators de {@link CEPService}
* @author Fábio Franco Uechi
*
*/
public abstract class AbstractCEPServiceDecorator implements CEPService {
protected CEPService decorated;
public AbstractCEPServiceDecorator(CEPService decorated) {
super();
this.decora... |
package com.rhishikeshj.vichitra.managers;
import com.rhishikeshj.vichitra.models.FlickrImage;
import com.rhishikeshj.vichitra.services.ImageService;
import java.util.List;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
impor... |
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
*/
/*
* Copyright 2001-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
... |
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package uk.bl.dpt.qa.flint.formats;
import com.google.common.io.Files;
import org.apache.commons.lang3.StringUtils;
import uk.bl.dpt.qa.flint.checks.CheckResult;
import javax.xml.transform.stream.StreamSource;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.InputStream;
import java.nio.charse... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... |
// Autogenerated AST node
package org.python.antlr.op;
import org.python.antlr.base.expr_context;
import org.python.antlr.PythonTree;
import org.python.core.Py;
import org.python.core.PyObject;
import org.python.core.PyUnicode;
import org.python.core.PyType;
import org.python.expose.ExposedGet;
import org.python.expos... |
/*
* Copyright (c) 2018, Adam <Adam@sigterm.info>
* 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, this
* li... |
package com.atguigu.gmall.oms.controller;
import java.util.List;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.Req... |
package edacc.model;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.HashMap;
import java.util.Observable;
import java.util.Observer;
import javax.swing.SwingUtilities;
/**
*
* @author simon
*/
public class Client extends BaseModel implements IntegerPKModel {
... |
package com.sksamuel.scrimage;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
public class ImageParseException extends IOException {
private final List<Throwable> errors;
public ImageParseException() {
errors = new ArrayList<>();
}
... |
/*
* Copyright 2017 TWO SIGMA OPEN SOURCE, 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 appl... |
package com.weiziplus.springboot.common.models;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.weiziplus.springboot.common.base.BaseColumn;
import com.weiziplus.springboot.common.base.BaseId;
import com.weiziplus.springboot.common.base.BaseTable;
imp... |
/*
Copyright 2016 Vlad Todosin
*/
package com.uvbrowser.browsermini.controllers;
import android.content.Context;
import android.os.Build;
import android.preference.PreferenceManager;
import android.support.annotation.Nullable;
import android.support.design.widget.NavigationView;
import android.support.v7.app.Act... |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
/*
* Copyright (C) 2013, Apexes Network Technology. All rights reserved.
*
* http://www.apexes.net
*
*/
package net.apexes.fetion4j.core;
/**
*
* @author HeDYn <hedyn@foxmail.com>
*/
public interface ProviderFactory {
/**
*
* @param mobileNo
* @return
*/
Provider create... |
package com.example.polina.adminapp;
import android.os.StrictMode;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpMethod;
import org.springframework.http.ResponseEntity;
import org.springframework.web.client.RestTemplate;
import ja... |
package fi.helsinki.cs.tmc.cli.core;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNotSame;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import fi.helsinki.cs.tmc.cli.Application;
import fi.helsi... |
/*
* Copyright 2019-2020 Zheng Jie
*
* 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 org.ovirt.engine.core.vdsbroker;
import javax.inject.Inject;
import org.ovirt.engine.core.common.businessentities.VMStatus;
import org.ovirt.engine.core.common.businessentities.VmDynamic;
import org.ovirt.engine.core.common.vdscommands.DestroyVmVDSCommandParameters;
import org.ovirt.engine.core.common.vdscomm... |
package sun.bob.leela.db;
// THIS CODE IS GENERATED BY greenDAO, EDIT ONLY INSIDE THE "KEEP"-SECTIONS
// KEEP INCLUDES - put your custom includes here
// KEEP INCLUDES END
/**
* Entity mapped to table ACCOUNT.
*/
public class Account {
private Long id;
/** Not-null value. */
private String name;
pr... |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.aws2.ddb;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.GeneratedPropertyConfigurer;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.util.CaseInsensi... |
package com.jfireframework.fse;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
public class SimpleTest
{
@Test
public void test()
{
SimplePerson person = new SimplePerson();
person.setName("林斌123as");
person.setAge(28);
person.setWeight(15.65f);
... |
/*
* Copyright (C) 2010 University of Washington
*
* 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 ... |
package com.furnaghan.home.component.xbmc.client.methods.local;
import com.furnaghan.home.component.xbmc.client.types.player.notifications.Data;
import com.furnaghan.home.component.xbmc.client.types.api.PlayerStopData;
public interface Player {
void OnPause(final String sender, final Data data);
void OnPlay(f... |
package io.arthurjordao.n26challenge;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class N26ChallengeApplicationTests {
@Test
publ... |
package de.melanx.aiotbotania.core.handler;
import com.mojang.blaze3d.matrix.MatrixStack;
import de.melanx.aiotbotania.AIOTBotania;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.player.AbstractClientPlayerEntity;
import net.minecraft.client.renderer.IRenderTypeBuffer;
import net.minecraft.c... |
package br.com.casadocodigo.loja.models;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Calendar;
import java.util.List;
import java.util.Objects;
@Entity
public class Produto {
public void setId(int id) {
this.id = id;
}
@Id
@GeneratedValue(strategy = GenerationTy... |
/*
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
*/
package com.hybris.training.fulfilmentprocess.test.actions.consignmentfulfilment;
import de.hybris.platform.processengine.model.BusinessProcessModel;
import com.hybris.training.fulfilmentprocess.constants.TrainingFulfilmentProcessCon... |
/*
* Copyright (c) 2017, Seth <Sethtroll3@gmail.com>
* 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, this
* ... |
package com.skytala.eCommerce.domain.content.relations.survey.event.trigger;
import com.skytala.eCommerce.framework.pubsub.Event;
import com.skytala.eCommerce.domain.content.relations.survey.model.trigger.SurveyTrigger;
public class SurveyTriggerAdded implements Event{
private SurveyTrigger addedSurveyTrigger;
pri... |
/*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.systemtest.resources;
import io.fabric8.kubernetes.api.model.HasMetadata;
import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.... |
package com.xiaoanjujia.common.util;
/**
* @Auther: xp
* @Date: 2020/4/15 16:56
* @Description: 防止按钮2连续多次点击
*/
public class NoDoubleClickUtils {
private final static int SPACE_TIME = 500;//2次点击的间隔时间,单位ms
private static long lastClickTime;
public synchronized static boolean isDoubleClick() {
lo... |
package fr.skytasul.quests.editors;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.inventory.ItemStack;
public class WaitClick extends InventoryClear{
private Runnable run;
private I... |
package com.ronrong.thymeleaf.mat.context;
import com.ronrong.thymeleaf.mat.util.Validate;
import java.util.LinkedHashMap;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
/**
* <p>
* 大多数{@link IDecorationContext}实现的抽象基类。
* </p>
*
*/
public abstract class AbstractDecorationContext implement... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.swiperefreshlayout;
public final class R {
private R() {}
public static final class attr {
pri... |
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertThrows;
import org.junit.Before;
import static org.junit.Assert.assertNotNull;
import org.mockito.InjectMocks;
import org.mockit... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
/*
* Copyright (C) 2014 Adam Huang
*
* 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... |
package ee.pri.bcup.common.message.server;
public class ServerPingMessage extends ServerMessage {} |
/*
* 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.jvmausa.algafood.api.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.hateoas.CollectionModel;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bi... |
/*
* 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.talanlabs.avatargenerator.avatar.vo;
import java.awt.Image;
import java.io.Serializable;
public class AvatarResponse implements Serializable {
private static final long serialVersionUID = 1L;
private String chartName;
private String disclaimer;
private Image image;
public String getChartName(... |
/*
* 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.spacegeecks.beans;
public class PhotoStatus {
private int photoStatusId;
private String photoStatus;
public PhotoStatus(int photoStatusId, String photoStatus) {
super();
this.photoStatusId = photoStatusId;
this.photoStatus = photoStatus;
}
public int getPhotoStatusId() {
return photoStatus... |
package com.decorator;
public class ShortBlack extends Coffee{
public ShortBlack (){
setDesc("ShortBlack");
setPrice(5.0);
}
} |
package de.squareys.epicray.gamelogic;
import java.util.List;
import de.squareys.epicray.rendering.IRenderingAttributes;
import de.squareys.epicray.rendering.ISprite;
import de.squareys.epicray.resource.Saveable;
public interface ITile extends Saveable<ITile> {
/**
* Returns true if Tile does not let any light p... |
/*
* 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.vmock.base.core.url;
import com.vmock.biz.entity.Url;
/**
* 获取mock url实体类责任链
*
* @author vt
* @since
*/
public abstract class BaseMockUrlHandler {
/**
* 下一个处理器
*/
protected BaseMockUrlHandler nextHandler;
/**
* 获取MockUrl实体
*
* @param requestUrl 请求路径
* @ret... |
package com.jhbim.bimvr.utils;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import java.util.List;
/**
* Created by admin on 2016/4/13.
*/
public class JsonUtil {
static {
System.setProperty("fastjson.compatibleWithJavaBean", "true");
}
public static String object... |
package org.jbehave.core.configuration;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.jbehave.core.steps.StepType;
import static java.util.Arra... |
package com.mtjin.mapogreen.model.address_search;
import java.util.List;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class AddressSearch {
@SerializedName("meta")
@Expose
private Meta meta;
@SerializedName("documents")
@Expose
private ... |
/*
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package me.pfrison.polytimeima4.graphics;
import android.app.Activity;
import android.view.Gravity;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import android.widget.HorizontalScrollView;
import android.widget.TextView;
import me.pfrison.polytimeima4.R;
import me.pfrison.polytimeima4.android.Mai... |
/**
* Copyright 2017-2020 O2 Czech Republic, a.s.
*
* 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.wanshi.netty.codec;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.*;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import io.netty.handler.codec.protobuf.ProtobufDecoder;
public c... |
/*
* Examples for Java
*
* Copyright (c) 2021. Elex. All Rights Reserved.
* https://www.elex-project.com/
*/
package kr.pe.elex.examples;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.bouncycastle.openssl.PEMDecryptorProvider;
import org.bouncycastle.openssl.PEMEncryptedKeyPair;
import or... |
/*
Copyright [2020] [https://www.xiaonuo.vip]
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... |
package com.hss01248.imagelist.download;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import android.view.Gravity;
import android.webkit.URLUtil;
import android.widget.TextVie... |
/**
* Copyright (c) 东方金信 All rights reserved.
*
* http://www.seaboxdata.com
*
* 版权所有,侵权必究!
*/
package io.dfjinxin.modules.job.task;
/**
* 定时任务接口,所有定时任务都要实现该接口
*
* @author Mark sunlightcs@gmail.com
*/
public interface ITask {
/**
* 执行定时任务接口
*
* @param params 参数,多参数使用JSON数据
*/
v... |
package rbccps.smartcity.IDEAM.registerapi.ldap;
import java.io.BufferedReader;
import java.io.FileReader;
import java.rmi.Naming;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.jar.Attributes.Name;
import javax.naming.Context;
import javax.naming.NamingEnumeration;
import javax.naming.Namin... |
package io.github.cexj.declarser.kernel.validations.impl.fromstring;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Modifier;
import static org.junit.Assert.assertTrue;
impo... |
/*
* 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... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/container/v1/cluster_service.proto
package com.google.container.v1;
public interface GetNodePoolRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.container.v1.GetNodePoolRequest)
com.google.protobuf.Messa... |
// --------------------------------------------------------------------------------
// Copyright 2002-2022 Echo Three, 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:/... |
/*
* Copyright 2011-2012 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 com.qaprosoft.carina.core.foundation.webdriver.core.capability.impl.desktop;
import com.qaprosoft.carina.core.foundation.commons.SpecialKeywords;
import com.qaprosoft.carina.core.foundation.utils.Configuration;
import com.qaprosoft.carina.core.foundation.utils.R;
import com.qaprosoft.carina.core.foundation.web... |
package org.toba.psd.callout;
import java.math.BigDecimal;
import java.util.Properties;
import org.adempiere.base.IColumnCallout;
import org.compiere.model.CalloutEngine;
import org.compiere.model.GridField;
import org.compiere.model.GridTab;
import org.toba.psd.model.X_HC_TransportPoint;
public class PSD_CalloutTra... |
package test.thread.parallelization.sample;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import test.thread.parallelization.TestNgRunStateTracker;
import java.util.concurrent.TimeUnit;
import static test.thread.parallelization.TestNgRunStateTracker.EventInfo.METHOD_NAME;
import stati... |
import org.checkerframework.checker.nullness.qual.*;
class APair<S extends @Nullable Object, T extends @Nullable Object> {
static <U extends @Nullable Object, V extends @Nullable Object> APair<U, V> of(U p1, V p2) {
return new APair<U, V>();
}
}
class PairSub<SS extends @Nullable Object, TS extends @N... |
package com.prado.cerveja.config;
import javax.persistence.EntityManagerFactory;
import javax.sql.DataSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.j... |
package com.trit.security.utils.ws;
import org.junit.Assert;
import org.junit.Test;
public class TemplateBuilderTest {
@Test
public void testOnlyOneResourceWithoutId() throws Exception {
String uri = TemplateBuilder.template().res("users").build();
Assert.assertEquals("/users", uri);
}
... |
/**
*
*/
package org.sagacity.sqltoy.dialect.impl;
import java.io.Serializable;
import java.sql.Connection;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.sagacity.sqltoy.SqlToyConstants;
import org.sagacity.sqltoy.SqlToyContext;
import org.sagacity.sqltoy.callback.ReflectP... |
package de.lemonpie.beddomischer.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import de.lemonpie.beddocommon.model.BlockOption;
import de.lemonpie.beddocommon.model.card.Card;
import de.lemonpie.beddomischer.BeddoMi... |
package ru.iiec.cxxdroid;
import android.content.DialogInterface;
/* compiled from: lambda */
public final /* synthetic */ class b implements DialogInterface.OnClickListener {
/* renamed from: b reason: collision with root package name */
private final /* synthetic */ CxxActivity f9943b;
public /* synt... |
package com.ponpes.dahlanikhsan.ui.util;
public enum FontSize {
XXS("var(--lumo-font-size-xxs)"),
XS("var(--lumo-font-size-xs)"),
S("var(--lumo-font-size-s)"),
M("var(--lumo-font-size-m)"),
L("var(--lumo-font-size-l)"),
XL("var(--lumo-font-size-xl)"),
XXL("var(--lumo-font-size-xxl)"),
XXXL("var(--lumo-font-si... |
package springbucks.waiter.controller.request;
import springbucks.waiter.model.OrderState;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@ToString
public class OrderStateRequest {
private OrderState state;
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.