text
stringlengths
7
995k
/* * Copyright 2002-2017 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 ap...
/** This file is released under the Apache License 2.0. See the LICENSE file for details. **/ package com.github.kskelm.baringo; import java.io.IOException; import java.util.Date; import java.util.logging.Logger; import com.github.kskelm.baringo.model.Account; import com.github.kskelm.baringo.model.ImgurResponseWrapp...
package frc.team7170.robot2019.actions; import frc.team7170.lib.oi.ButtonAction; public enum ButtonActions implements ButtonAction { ELEVATOR_LEVEL1, ELEVATOR_LEVEL2, ELEVATOR_LEVEL3, // PICKUP_PREPARE, PICKUP, PICKUP_CANCEL, LOAD, CLIMB_LEVEL2, CLIMB_LEVEL3, EJECT, EJEC...
/* 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.constraint; public final class R { private R() {} public static final class attr { private att...
package game.helpers.charMove; import java.util.Set; import game.engine.Engine; import game.helpers.Card; import game.helpers.CardColor; import game.helpers.Character; public class KoningMove extends CharMove { public KoningMove(Set<Card> coinBuildings) { super(Character.KONING); this.coinBuildings = coinBuild...
package cn.wzq.studyspringjob.service; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; @Service public class DemoService { private Logger logger = LoggerFactory.getLogger(getClass()); public Integer execute01() { logger.info("[execute01]"); ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright 2013 Niek Haarman * * 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 ...
/* * 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.czt.mp3recorder.sample.Myapplication; import android.graphics.drawable.AnimationDrawable; /** * @创建者 Administrator * @创建时间 2016/11/25 11:34 * @描述 ${TODO} * @更新者 $Author$ * @更新时间 $Date$ * @更新描述 ${TODO} */ public class mLv_recordABean { String filePath; String length ; int id; int po...
/* * Copyright Anatoliy Sablin tolya@sablin.xyz * * 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 l...
package com.misterright.ui.widget; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.graphics.Rect; import android.os.Build; import android.text.Editable; import android.text.TextWatcher; import android.util.AttributeSet; import android.util.DisplayMetrics...
package model.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import util.DBConnectionUtil; public class VoteDAO { private PreparedStatement pst; private Connection conn; private ResultSet rs; private Statemen...
/* * Copyright (c) 2003-2020, Live Media Pty. Ltd. 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 requ...
/* * MIT License * * Copyright (c) 2018 Ownk * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * */ package org.ada.pattern.facade; import java.util.List; /** * * <h1>WebServiceAuto</h1> * * Description * * @author Th...
/* * Copyright Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags and * the COPYRIGHT.txt file distributed with this work. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
package org.nem.core.metadata; import org.nem.core.time.TimeProvider; import java.security.CodeSource; /** * Static class that is able to load meta data from various sources. */ @SuppressWarnings("serial") public class MetaDataFactory { /** * Loads ApplicationMetaData given a class and a time provider. * *...
/* * Copyright 2005 Sascha Weinreuter * * 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 t...
package org.mybatis.generator.internal.types; import org.mybatis.generator.api.dom.java.FullyQualifiedJavaType; public class MyJavaTypeResolver extends JavaTypeResolverDefaultImpl { /** * 将tinyint转换为Integer,这里是关键所在 */ public MyJavaTypeResolver() { super(); super.typeMap.put(-6, new ...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package org.owasp.goatdroid.fourgoats.rest.viewcheckin; public class ViewCheckinResponse { public ViewCheckinResponse() {} /* Error */ public static java.util.HashMap<String, String> parseCheckinResponse(String paramString) { // Byte code: // 0: new 14 java/util/HashMap // 3: dup // 4:...
/* * Copyright (c) 2004-2012, 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 copyright notice, this * list of ...
package phaser.phaser_test8_3; import java.util.concurrent.Phaser; /** * Created by xianpeng.xia * on 2020/5/9 9:55 上午 */ public class Run { public static void main(String[] args) throws InterruptedException { Phaser phaser = new Phaser(3); ThreadA threadA = new ThreadA(phaser); thread...
/* * Copyright (c) 2010 Tom Parker <thpr@users.sourceforge.net> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later ...
/* * Copyright 2017-2018 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * 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...
package com.lyshnia.jps.ui; import com.vaadin.flow.component.AttachEvent; import com.vaadin.flow.component.Component; import com.vaadin.flow.component.Composite; import com.vaadin.flow.component.HasStyle; import com.vaadin.flow.component.dependency.CssImport; import com.vaadin.flow.component.html.Div; /** * A view f...
package com.xtoon.boot.domain.model.user.types; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertThrows; /** * AccountIdTest * * @author haoxin * @date 2021-02-25 **/ class AccountIdTest { @Test void idStri...
package com.petclinic.bffapigateway.presentationlayer; import com.petclinic.bffapigateway.domainclientlayer.*; import com.petclinic.bffapigateway.dtos.*; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotat...
package com.sanshi.generator.mapper; import java.util.List; import com.sanshi.generator.domain.GenTable; /** * 业务 数据层 * * @author sanshi */ public interface GenTableMapper { /** * 查询业务列表 * * @param genTable 业务信息 * @return 业务集合 */ public List<GenTable> selectGenTableList(GenTable...
@API(apiVersion = PL2API.VERSION, owner = PL2API.MODID, provides = PL2API.NAME) package sonar.logistics.api.core.tiles.wireless; import net.minecraftforge.fml.common.API; import sonar.logistics.api.PL2API;
package com.codewrox.keycloak.auth.validation; import org.keycloak.Config; import org.keycloak.authentication.Authenticator; import org.keycloak.authentication.AuthenticatorFactory; import org.keycloak.models.AuthenticationExecutionModel; import org.keycloak.models.KeycloakSession; import org.keycloak.models.KeycloakS...
package com.action.shejizhichan.chapter08.multfactory; import com.action.shejizhichan.chapter08.BlackHuman; import com.action.shejizhichan.chapter08.Human; import com.action.shejizhichan.chapter08.WhiteHuman; /** * @Description TODO * @Author wuyunfeng * @Date 2020-05-24 9:20 * @Version 1.0 */ public class White...
package systemDemo.controller; import java.util.List; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.propertyeditors.StringTrimmerEditor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.s...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package org.apache.ibatis.executor.statement; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import java.util.List; import org.apache.ibatis.cursor.Cursor; import org.apache.ibatis.executor.parameter.ParameterHandler; import org.apache.ibatis.mapping.BoundSql; import org.apache.i...
/* * This file is part of choco-solver, http://choco-solver.org/ * * Copyright (c) 2021, IMT Atlantique. All rights reserved. * * Licensed under the BSD 4-clause license. * * See LICENSE file in the project root for full license information. */ package org.chocosolver.solver.constraints.nary.automata.FA.utils; ...
/** * This file is part of Eclipse Steady. * * 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...
package com.example.simpletodo; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.core.content.ContextCompat; import androidx.recyclerview.widget.DividerItemDecoration; import androidx.recyclerview.widget.ItemTouchHelper; import an...
package com.hearthsim.card.classic.minion.legendary; import com.hearthsim.card.minion.Minion; import com.hearthsim.event.effect.EffectCharacter; import com.hearthsim.event.effect.EffectCharacterBuffDelta; import com.hearthsim.exception.HSException; import com.hearthsim.model.PlayerSide; import com.hearthsim.util.tree....
package de.adorsys.opba.protocol.facade.config.encryption.impl.fintech; import de.adorsys.opba.db.domain.entity.fintech.Fintech; import de.adorsys.opba.db.domain.entity.fintech.FintechPrvKey; import lombok.AllArgsConstructor; import lombok.Data; import javax.persistence.EntityManager; import java.util.UUID; /** * F...
/* * Copyright 2010-2019 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 "lice...
/* * 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...
/* * 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 gui; import java.nio.charset.Charset; import java.util.Random; /** * * @author FACH */ public class test extends javax.swi...
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi * * 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 l...
package org.kie.workbench.common.screens.library.client.settings.knowledgebases.item.packages; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.kie.workbench.common.screens.library.client.settings.knowledgebases.item.KnowledgeBaseItemPresenter; import org.kie.workbench.common...
package org.jboss.da.communication; import org.jboss.da.common.CommunicationException; import org.jboss.da.communication.aprox.impl.MetadataFileParser; import org.jboss.da.communication.aprox.model.VersionResponse; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import javax.xml.bind.JAX...
/* * #%L * Yet Another Lisp Parser * %% * Copyright (C) 2016 - 2016 Fabian Damken * %% * 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-...
package cn.com.lan.demomall.coupon.dao; import cn.com.lan.demomall.coupon.entity.CouponSpuCategoryRelationEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 优惠券分类关联 * * @author lan * @email misterlanjianglin@gmail.com * @date 2021-01-18 16:22:42 *...
package io.github.burakkaygusuz.tests; import io.appium.java_client.AppiumBy; import io.github.burakkaygusuz.screens.LoginScreen; import io.github.burakkaygusuz.screens.MainScreen; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.ExpectedConditions; import org.testng.annotations.Test; impo...
// -------------------------------------------------------------------------------- // Copyright 2002-2021 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:/...
package retrofit2; import java.lang.annotation.Annotation; import java.lang.reflect.Type; import retrofit2.CallAdapter.Factory; final class DefaultCallAdapterFactory extends Factory { static final Factory INSTANCE = new DefaultCallAdapterFactory(); DefaultCallAdapterFactory() { } public CallAdapter<...
package com.zhongxin.ctsms.modules.sys.utils.workflow; import java.util.Date; /** * 属性数据类型 * * @author HenryYan */ public enum PropertyType { S(String.class), I(Integer.class), L(Long.class), F(Float.class), N(Double.class), D(Date.class), SD(java.sql.Date.class), B(Boolean.class); private Class<?...
/* * Copyright (c) WSO2 Inc. (http://wso2.com) 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 2009-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 * * Unle...
/* * 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 2022, operon.io * * 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 ...
/* * This software is provided "AS IS" without a warranty of any kind. You use it * on your own risk and responsibility!!! This file is shared under BSD v3 * license. See readme.txt and BSD3 file for details. */ package kendzi.josm.kendzi3d.jogl.model.roof.mk.type; import java.util.ArrayList; import java.util.Arr...
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
/** */ package base.common.impl; import base.common.Bindable; import base.common.Binding; import base.common.CommonPackage; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; impo...
/* * Copyright 2015 JBoss, by Red Hat, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
package com.guccifox.customitems.commands; import org.bukkit.ChatColor; import org.bukkit.GameMode; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class commandPing implements CommandExecutor { @Overrid...
package q1350; import org.junit.runner.RunWith; import util.runner.Answer; import util.runner.LeetCodeRunner; import util.runner.TestData; import util.runner.data.DataExpectation; /** * [Medium] 1314. Matrix Block Sum * https://leetcode.com/problems/matrix-block-sum/ * * Given a m * n matrix mat and an integer K,...
package org.unbrokendome.siren.annotation; import java.lang.annotation.*; @Target(ElementType.METHOD) @Retention(RetentionPolicy.CLASS) @Documented public @interface LinkTitles { LinkTitle[] value(); }
package stonering.stage.container; import com.badlogic.gdx.scenes.scene2d.ui.Container; import com.badlogic.gdx.scenes.scene2d.ui.Label; import com.badlogic.gdx.scenes.scene2d.ui.Table; import stonering.util.global.StaticSkin; /** * Shows grid of items icons in a grid table. * * @author Alexander on 03.09.2019. *...
/* * Copyright 2014 Uwe Trottmann * * 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 ...
// // This file was generated with the JavaTM Architecture for XML Binding (JAXB) Reference Implementation, v2.2.5-2 // Seehref="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Changes to this file are lost when the source schema is recompiled. // Generated: 02/04/2014 at 12:22:03 PM CET // packa...
package com.banchango.users.dto; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Size; @AllArgsConstructor @NoArgsConstructor @Getter public class ChangePasswordRequestDto { @NotBlank(messag...
package demo.benchmarks.gam.gammq.Eq; public class oldV{ public static double snippet (double a, double x, double gamser, double gammcf, double gln) { if (x < 0.0 || a <= 0.0) return -100000; if (x < a+1.0) { gamser =gser(a,x,gln, gamser); return 1.0-gamser; } else { gammcf = gcf(a...
package com.kbeanie.multipicker.sample; import android.os.Bundle; import android.support.annotation.Nullable; /** * Created by kbibek on 2/19/16. */ public class AudioPickerFragmentActivity extends AbActivity { @Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(...
package com.commercetools.history.models.change_value; import java.time.*; import java.util.*; import java.util.function.Function; import javax.validation.constraints.NotNull; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generate...
package calibrationpattern.soliddiscs; import core.ArrayUtils; import core.Contours; import core.Homography; import core.Quad; import curvefitting.Gaussian2D; import curvefitting.Paraboloid; import java.awt.image.BufferedImage; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import j...
/** * Copyright 2017 JessYan * <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 law or agree...
/* * Tencent is pleased to support the open source community by making BlueKing available. * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of ...
/* * Copyright 2021 DataCanvas * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
package org.parchmentmc.compass.providers.mcpconfig; import com.squareup.moshi.Moshi; import net.minecraftforge.srgutils.IMappingFile; import okio.BufferedSource; import okio.Okio; import org.gradle.api.NamedDomainObjectProvider; import org.gradle.api.Project; import org.gradle.api.artifacts.Configuration; import org....
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
/* * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
package org.xxpay.service.channel.tencent.service; import org.xxpay.service.channel.tencent.common.Configure; import org.xxpay.service.channel.tencent.protocol.pay_query_protocol.ScanPayQueryReqData; /** * User: rizenguo * Date: 2014/10/29 * Time: 16:04 */ public class ScanPayQueryService extends BaseService { ...
/* * File: LinRegression * Created: 10:04:10 05.12.2014 * Encoding: UTF-8 */ package de.uros.citlab.module.util; import com.achteck.misc.log.Logger; import de.planet.math.util.MatrixUtil; /** * Describtion of LinRegression: * * @author Tobias Grüning <tobias.gruening@planet-ai.de> */ public class LinRegressi...
package com.diddy; import android.app.Application; import android.content.Context; import com.facebook.react.PackageList; import com.facebook.react.ReactApplication; import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactPackage; import com.facebook.soloader.SoLoader; import java.lang.reflect.Invoca...
package solutions.alterego.androidbound.helpers.reflector; import java.lang.reflect.Constructor; public class ConstructorInfo { private final Constructor<?> mConstructorOriginal; private final String mConstructorName; private final int mConstructorParameterCount; private final Class<?>[] mConstruc...
package com.guozz.selfEditor; import com.guozz.resolveBeforeInstantiation.BeforeInstantiation; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class MyTest { public static void main(String[] args) { ApplicationContext applicat...
package hack.veteran_app.sdk.backend.factories; import hack.veteran_app.sdk.backend.DomainResolver; import okhttp3.OkHttpClient; import retrofit2.Retrofit; import retrofit2.converter.jackson.JacksonConverterFactory; public class RetrofitService { private static Retrofit.Builder builder = new Retrofit.Builder().baseU...
package ru.job4j.loop; /** * Программа - Сумма четных чисел из диапазона start ... finish. * @author Andrey Vasiliev (admsocs@yandex.ru). * @version $Id$ * @since 0.1 */ public class Counter { int sum = 0; /** * Метод определяет сумма четных чисел из диапазона start ... finish. * @param start...
/* * Copyright 2010-2013 Ning, Inc. * Copyright 2014 Groupon, Inc * Copyright 2014 The Billing Project, LLC * * The Billing Project licenses this file to you 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 L...
package io.github.kusaanko.modmanager.mod125; import io.github.kusaanko.modmanager.Mod; public class CreativeGui125 extends Mod125 { @Override public String is(String fileName) { return startsWith(fileName, "[1.2.5]CreativeGui_"); } @Override public String getDownloadURL() { retur...
/** * Copyright 2011-2021 Asakusa Framework Team. * * 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 me.devsaki.hentoid.notification.download; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v4.app.NotificationCompat; import android.support.v4.content.ContextCompat; import java.util.Locale; imp...
package com.ryan.github.event.subscriber; import java.util.List; /** * created by 2018/10/16 下午5:09 * <p> * 事件流外观类,同一封装接口 * * @author Ryan */ public class EventFlow implements IEventRegister, IEventPoster { public static final String TAG = EventFlow.class.getSimpleName(); private IEventRegister mRegist...
/* * Copyright (c) 2002-2020 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
package io.merculet.util; import android.annotation.SuppressLint; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager.NameNotFoundException; import android.content.res.Configuration; import android.graphics.Point; import android.net.ConnectivityManager; impor...
package com.huyu.sdk.splash; import android.Manifest; import android.app.Activity; import android.content.pm.ActivityInfo; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.NonNull; import android.text.TextUtils; import android.view.ViewGroup.LayoutParams; import android.view.W...
/******************************************************************************* * Copyright 2020 Jeremie Bresson * * 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.apac...
package com.etc.service.impl; import com.etc.dao.ResetPwdDao; import com.etc.dao.impl.ResetPwdDaoImpl; import com.etc.entity.Users; import com.etc.services.ResetPwdService; public class ResetPwdServiceImpl implements ResetPwdService { ResetPwdDao rp = new ResetPwdDaoImpl(); @Override public Users queryUsers(Strin...
package world.micks.lanyardapi.internal.interfaces; import world.micks.lanyardapi.internal.annotations.NonNullValid; import world.micks.lanyardapi.internal.annotations.Nullable; public interface IDiscordUser { boolean exist(); @NonNullValid String username(); @NonNullValid String formattedDiscriminator(); @NonN...
package com.littlejenny.gulimall.order.config; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import java.util.concurrent.Executors; import java.util.concurrent.LinkedBlo...
/* * Copyright (c) Open Source Strategies, Inc. * * Opentaps is free software: you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Opentap...
package com.intellij.execution.testframework.autotest; import com.intellij.execution.runners.ExecutionEnvironment; import com.intellij.execution.ui.RunContentDescriptor; import com.intellij.icons.AllIcons; import com.intellij.ide.IdeBundle; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.op...
/** * Copyright (c) 2008-2010 Ardor Labs, Inc. * * This file is part of Ardor3D. * * Ardor3D is free software: you can redistribute it and/or modify it * under the terms of its license which may be found in the accompanying * LICENSE file or at <http://www.ardor3d.com/LICENSE>. */ package com.ardor3d.math.fun...