text
stringlengths
7
995k
package org.springframework.samples.petclinic.system; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.springframework.beans.factory.annotation.Value; import org.springframework.cloud.sleuth.Span; import org.springframework.cl...
package com.example.coolweather.util; import okhttp3.OkHttpClient; import okhttp3.Request; /** * Created by 蚍蜉 on 2017/2/17. * 服务器交互工具类,用于和服务器网络通信 * 发起http请求的时候,只要调用sendOkHttpRequest就可以 * 参数为,请求地址,注册一个回调响应 */ public class HttpUtil { public static void sendOkHttpRequest(String address, okhttp3.Callback call...
package com.example.application.views.utilViews.gridExport; import com.vaadin.flow.component.grid.Grid; public class CSVFileBuilder<T> extends FileBuilder<T> { CSVFileBuilder(Grid<T> grid){ super(grid); } @Override void buildCell(Object value) { } @Override String getFileExtensi...
/** * ModifiableVariable - A Variable Concept for Runtime Modifications * * Copyright 2014-2022 Ruhr University Bochum, Paderborn University, Hackmanit GmbH * * Licensed under Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0.txt */ package de.rub.nds.modifiablevariable.util; import de.r...
/* * 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 io.choerodon.devops.api.controller.v1; import java.util.List; import java.util.Optional; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotatio...
/* * Copyright 2010-2014 Bas Leijdekkers * * 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 fr.free.nrw.commons.contributions.model; import fr.free.nrw.commons.contributions.Contribution; public class DisplayableContribution extends Contribution { private int position; private ContributionActions contributionActions; private DisplayableContribution(Contribution contribution, ...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.psi.scope.conflictResolvers; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.progress.ProgressManager; import com.intellij.openapi...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference // Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2018.07....
/* * This file was automatically generated by EvoSuite * Sat Jan 18 19:37:03 GMT 2020 */ import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.runtime.EvoAssertions.*; import java.util.GregorianCalendar; import java.util.Locale; import org.evosuite.runtime.EvoRunner; import org.evosui...
// Copyright 2017 The Bazel Authors. 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 appl...
package featureExtractor.artifactType; import com.intellij.packaging.artifacts.ArtifactType; public abstract class AbstractBaseArtifactType extends ArtifactType { protected AbstractBaseArtifactType(String id, String title) { super(id, title); } }
package com.juzi.oerp.model.dto.param; import lombok.Data; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Pattern; @Data public class ResetPasswordParamDTO { /** * 新密码 */ @NotBlank(message = "密码不能为空") private String newPassword; /** * 手机号 */ ...
package io.moonman.emergingtechnology.providers.classes; public class ModMedium { public int id; public String name; public int waterUsage; public int growthModifier; public int boostModifier; public boolean allPlants; public String[] plants; public ModMedium(int id, String name, in...
package in.curos.firechat.screens; import android.content.Context; import butterknife.ButterKnife; import butterknife.OnClick; import in.curos.firechat.R; /** * Created by curos on 13/04/17. */ public class LoginScreen extends Screen<LoginScreen.LoginScreenController> { public LoginScreen(Context context, Lo...
package com.zhihuianxin.xyaxf.app.login.presenter; import android.content.Context; import com.zhihuianxin.xyaxf.app.AppConstant; import modellib.service.LoginService; import modellib.thrift.base.BaseResponse; import modellib.thrift.customer.Customer; import modellib.thrift.customer.MobileStatus; import modellib.thrif...
/** * Copyright 2015 SPeCS. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
package com.example.userservice; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; @SpringBootApplication @...
/* This Java source file was generated by test-to-java.xsl and is a derived work from the source document. The source document contained the following notice: Copyright (c) 2001 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio Un...
/* * Copyright (c) 2011-2025 PiChen */ package com.interface21.jdbc.core; import java.io.*; import java.math.BigDecimal; import java.sql.SQLException; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.HashMap; import junit.framework.TestCase; import com.mockobjects.sql.*; import com....
package domts.level2.html; import org.w3c.dom.*; import org.w3c.dom.html.*; import java.util.*; import org.junit.jupiter.api.*; import static org.junit.jupiter.api.Assertions.*; /** * The cellpadding attribute specifies the horizontal and vertical space * between cell content and cell borders. * Retrieve the cellpaddin...
/* * Copyright 2017-2020 original 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 applicable law or agr...
package io.paradoxical.rabbitmq.tests.data; import io.paradoxical.rabbitmq.QueueConfiguration; import io.paradoxical.rabbitmq.Message; import io.paradoxical.rabbitmq.connectionManagment.ChannelProvider; import io.paradoxical.rabbitmq.queues.QueueListenerAsync; import io.paradoxical.rabbitmq.results.MessageResult; 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...
/* * Copyright 2003-2007 Dave Griffith, Bas Leijdekkers * * 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...
/* * Copyright (c) 2016 Network New Technologies 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 appli...
package com.omega.amazehing.game.entity.component.attack; import com.badlogic.ashley.core.Component; import com.badlogic.ashley.core.Entity; import com.badlogic.gdx.utils.Pool.Poolable; public class HitComponent implements Component, Poolable { private Entity target; public HitComponent(Entity target) { th...
package com.liber.levyccurves; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.drawable.ColorDrawable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widg...
package in.mnp200002.contactsapi.service; import java.util.List; import in.mnp200002.contactsapi.model.Phone; public interface PhoneServiceInterface { List<Phone> getPhone(Integer id); }
/** * Copyright 2011 Douglas Campos * Copyright 2011 dynjs contributors * * 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 * * Unl...
package com.dtstack.flink.sql.sink.elasticsearch; import org.apache.flink.api.common.functions.RuntimeContext; import org.apache.flink.api.java.tuple.Tuple2; import org.apache.flink.metrics.Counter; import org.apache.flink.streaming.connectors.elasticsearch.RequestIndexer; import org.apache.flink.types.Row; import org...
/* * 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 cm.xxx.minos.leetcode; import java.util.Stack; /** * Description: 232. 用栈实现队列 * Author: lishangmin * Created: 2018-09-07 18:40 */ public class MyQueue2 { private Stack<Integer> pushStack,popStack; /** Initialize your data structure here. */ public MyQueue2() { this.pushStack = new S...
/** * Copyright (C) 2017 WhiteSource Ltd. * <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 applicable...
/* * * ********************************************************************* * fsdevtools * %% * Copyright (C) 2021 e-Spirit AG * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
/* * Copyright 2015-present Open Networking Laboratory * * 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.moment; import com.facebook.react.ReactActivity; public class MainActivity extends ReactActivity { /** * Returns the name of the main component registered from JavaScript. This is used to schedule * rendering of the component. */ @Override protected String getMainComponentName() { retu...
package seedu.address.model.person; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Test; import seedu.address.testutil.Assert; public class NameTest { @Test public void constructor_null_throwsNullPointerException() { Assert.assertThrows(NullP...
package net.n2oapp.framework.examples.fileupload.controller; import lombok.Synchronized; import net.n2oapp.framework.examples.fileupload.model.FileModel; import org.springframework.core.io.Resource; import org.springframework.core.io.UrlResource; import org.springframework.stereotype.Component; import org.springframew...
package com.sandpiper.flinkx.rpc.remoting.invoker.route; import java.util.TreeSet; /** * 分组下机器地址相同,不同JOB均匀散列在不同机器上,保证分组下机器分配JOB平均;且每个JOB固定调度其中一台机器; * a、virtual node:解决不均衡问题 * b、hash method replace hashCode:String的hashCode可能重复,需要进一步扩大hashCode的取值范围 * * @author xuxueli 2018-12-04 */ public abstract class...
package com.opencmp.inapplib; import android.app.Activity; import android.app.Application; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.util.Log; import android.view.Gravity; import android.view.View; import android.webkit.WebView...
/* * (C) Copyright IBM Corp. 2019, 2021 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.fhir.model.type; import java.util.Collection; import java.util.Objects; import javax.annotation.Generated; import com.ibm.fhir.model.util.ValidationSupport; import com.ibm.fhir.model.visitor.Visitor; /** * An in...
/** * Copyright (c) 2011, University of Konstanz, Distributed Systems Group All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: * Redistributions of source code must retain the * above copyright no...
/* * 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...
package org.firstinspires.ftc.teamcode.vision; public class ColorRange { private double[] upper; private double[] lower; public ColorRange() { super(); upper = new double[3]; lower = new double[3]; } public double[] getUpper() { return upper; } public do...
/* * Copyright 2009-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
package com.capgemini.mrchecker.selenium.pages.projectY; import com.capgemini.mrchecker.selenium.core.BasePage; import com.capgemini.mrchecker.selenium.core.newDrivers.elementType.ListElements; import com.capgemini.mrchecker.selenium.pages.environment.GetEnvironmentParam; import com.capgemini.mrchecker.selenium.pages....
package org.hisp.dhis.sms.incoming; /* * Copyright (c) 2004-2019, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above c...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
package org.braincopy.esst; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.util.Log; import android.view.View; import android.widget.TextView; import android.widget.Toast; import com.google.android.gms.tasks.OnCompleteListener; import com.google.andr...
/* * Copyright (C) 2007 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 appl...
/* * ###### * ###### * ############ ####( ###### #####. ###### ############ ############ * ############# #####( ###### #####. ###### ############# ############# * ###### #####( ###### #####. ###### ##### ###### ##### ###### * ###### ###### #####...
package com.revature.dao; import java.util.List; import com.revature.beans.Employee; public interface EmployeeDAO { public List<Employee> getAllEmployees(); public void insertEmployee(Employee emp); public Employee getEmployeeByUsername(String username); public Employee getEmployeeById(int empID); }
/* * Copyright 2017 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 agreed...
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2014 - 2018 ImageJ developers. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of s...
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. * Licensed under the Zeebe Community License 1.0. You may not use this file * ...
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import static junit.framework.Assert.assertEquals; class HtmlToJiraMarkupConverterTests { @Test @DisplayName("Basic HTML to Jira Markup Conversion") void testBasicHtmlIsProperlyConverted() { String htmlText = "<b>bold</b...
package com.zhou.mymall.mymallmember.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * 积分变化历史记录 * * @author zhouyu * @email 1938790964@qq.com * @date 2021-10-23 00:37:48...
/* * Copyright (c) 2019, 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 * * Unless require...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.containerinstance.v2018_10_01.implementation; im...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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 ...
/* * 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.tvd12.ezydata.mongodb.testing.bean; import com.tvd12.ezyfox.annotation.EzyId; import com.tvd12.ezyfox.database.annotation.EzyCollection; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @NoArgsConstructor @AllArgsConstructor @EzyCollection public class EzyIdCol...
package ryan.com.librarybase; /** * 类描述 * 创建人 Ryan * 创建时间 2015/9/18 10:31. */ public class AppSetting { public static String sendTo = "ryan@ryan628.com";//多个接收邮箱用逗号(,)隔开 public static boolean SENDMSG = false; public static boolean SENDERRORMAIL = true; public static boolean LOGFILE = true; publ...
/* * Copyright 2014-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package org.fastcatsearch.ir.index; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.util.Random; import org.fastcatsearch.ir.common.IRException; import org.fastcatsearch.ir.io.BytesBuffer; import org.fastcatsearch.ir.io.BytesDataInput; import org.fastcatsearch.ir.io.DataInput; im...
package blog.system.server.controller.portal; import blog.system.server.pojo.Article; import blog.system.server.response.ResponseResult; import blog.system.server.services.IArticleService; import blog.system.server.services.ICategoryService; import blog.system.server.utils.Constants; import org.springframework.beans.f...
package libs; import io.appium.java_client.android.AndroidDriver; import java.lang.reflect.Array; import java.lang.reflect.Constructor; import java.lang.reflect.Method; import java.net.URL; import java.util.HashMap; import java.util.Map; import org.openqa.selenium.remote.CapabilityType; import org.openqa.selenium.rem...
package us.rst.farmacovigilanza.database.entity; import android.arch.persistence.room.Entity; import android.arch.persistence.room.PrimaryKey; import android.support.annotation.NonNull; import us.rst.farmacovigilanza.models.Credentials; import us.rst.farmacovigilanza.models.Doctor; /** * Rappresenta l'entità */ @En...
/* * 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 io.github.eaxdev.dto.criteria; import com.fasterxml.jackson.annotation.JsonTypeName; import lombok.Getter; import java.util.List; @Getter @JsonTypeName("or") public class Or extends GroupCriteria { public Or(List<Criteria> criteria) { super(criteria); } @Override public GroupConditi...
package org.nutz.json; import static org.junit.Assert.*; import java.io.Reader; import java.util.Map; import org.junit.Test; import org.nutz.lang.Streams; @SuppressWarnings("unchecked") public class JsonCharsetTest { @Test public void test_simple_map() { String str = "{name:\"张志昊\"}"; Map<...
package io.digdag.server; import com.google.common.base.Optional; import com.google.common.base.Throwables; import com.google.common.util.concurrent.ThreadFactoryBuilder; import com.google.inject.Inject; import io.digdag.client.config.Config; import io.digdag.core.database.Transaction; import io.digdag.core.database.T...
package cn.edu.qtech.s2shbase.core.dao; import java.util.List; import java.util.Map; import java.io.Serializable; /** * Description: * <br/>网站: <a href="http://www.crazyit.org">疯狂Java联盟</a> * <br/>Copyright (C), 2001-2016, Yeeku.H.Lee * <br/>This program is protected by copyright laws. * <br/>Program Name: * <b...
package com.therandomlabs.randomportals.frame; import java.util.function.Function; import com.therandomlabs.randomportals.api.config.PortalTypes; import com.therandomlabs.randomportals.api.frame.Frame; import com.therandomlabs.randomportals.api.frame.FrameDetector; import com.therandomlabs.randomportals.api.frame.Fram...
/* * 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 br.senac.codesquad.projeto.pi3.models; import br.senac.codesquad.projeto.pi3.enums.Roles; import javax.servlet.http.HttpServle...
package com.ayushya.communications.operations; import java.util.HashMap; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.stereotype.Component; /** * * @author Nagendra Kumar * */ @Component public class SMSNotifica...
/* * Copyright (c) 2020 Broadcom. * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifi...
package cn.raxcl.entity; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.ToString; /** * 关于我 * @author Raxcl * @date 2022-01-07 09:52:33 */ @NoArgsConstructor @Getter @Setter @ToString public class About { private Long id; private String nameEn; private String nameZh;...
package net.jcip.examples; import net.jcip.annotations.GuardedBy; import java.util.HashSet; import java.util.Random; import java.util.Set; /** * HiddenIterator * <p/> * Iteration hidden within string concatenation * * @author Brian Goetz and Tim Peierls */ public class HiddenIterator { @GuardedBy("this") p...
package org.hl7.fhir.dstu2.model; /*- * #%L * org.hl7.fhir.dstu2 * %% * Copyright (C) 2014 - 2019 Health Level 7 * %% * 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:/...
package io.github.gerritsmith.todobackspring.task; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.List; @Service public class TaskService { @Autowired private Task...
/* * Copyright 2002-2016 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.dongweirj.pojo; import java.sql.Timestamp; /** * Created by dw on 2016/8/18. */ public class DashboardDatasource { private Long id; private String userId; private String name; private String type; private String config; private String permission; private String userName; ...
package com.kingleoric.maybe.http.config; import org.apache.http.conn.ssl.SSLSocketFactory; /** * Created by qipu on 2016/8/23. */ public class HttpClientConfig extends HttpConfig { private static HttpClientConfig sSonfig = new HttpClientConfig(); SSLSocketFactory mSslSocketFactory; private HttpClien...
package io.github.leachar; import io.github.biezhi.webp.WebpIO; import javax.imageio.ImageIO; import java.awt.*; import java.io.File; import java.io.IOException; import java.util.List; public class ImageUtil { /** * 转换图片格式 --> .webp * @param srcFiles * @param destFile * @return 输出的文件路径 ...
package local.dam_2015.frag_todo.adapters; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.LinearLayout; import android.widget.TextView; import java.text.SimpleDateFormat; import java...
/* * 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.alibaba.android.arouter.demo.module1.testmethodinvoker; import android.app.Dialog; import android.content.Context; import android.net.Uri; import android.os.Bundle; import android.support.annotation.NonNull; import android.widget.TextView; import com.alibaba.android.arouter.demo.module1.R; import com.alib...
package gov.nara.opa.api.controller.user.accounts; import gov.nara.opa.api.services.user.accounts.RegisterUserAccountService; import gov.nara.opa.api.system.Constants; import gov.nara.opa.api.validation.common.accounts.CommonUserAccountValidator; import gov.nara.opa.api.validation.user.accounts.ForgotUserNameRequestPa...
/* * 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 business.impl; import business.IInformationService; import dal.IInfoDAO; import dal.impl.InfoDAO; import entity.Info; /** * ...
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2014 Dirk Beyer * 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...
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
/* * 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.github.penn.rest; import com.alibaba.fastjson.JSONObject; import io.github.penn.rest.exception.InvalidParamException; import io.github.penn.rest.exception.RestCallException; import lombok.extern.slf4j.Slf4j; import org.springframework.core.annotation.Order; import org.springframework.web.bind.annotation.Exc...
package 字节跳动; import java.util.Stack; /** * @Author Aqinn * @Date 2021/1/30 8:05 下午 */ public class 用两个栈实现队列 { /** * 题目描述: * 用两个栈来实现一个队列,完成队列的Push和Pop操作。 队列中的元素为int类型。 * * 来源:牛客 * 链接:https://www.nowcoder.com/practice/54275ddae22f475981afa2244dd448c6 */ Stack<Integer> stack1 ...
/* * Copyright 2006-2017 ICEsoft Technologies Canada Corp. * * 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 b...
package com.qf.mytt.admin.service; import com.qf.mytt.domain.TbUser; import java.util.List; public interface UserService extends BaseService<TbUser>{ List<TbUser> checkUser(TbUser tbUser); }
/******************************************************************************* * Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0...