text
stringlengths
7
995k
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with this * work for additional information regarding copyright ownership. The ASF * licenses this file to you under the Apache License, Version 2.0 (the * "License"); you may n...
package com.planet_ink.coffee_mud.Behaviors; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_i...
package Packij; import javax.swing.*; import java.awt.*; class BraveFrame extends JFrame { //le ce218 sample code has arrived (but made a bit better) private BasicView view; private BasicGame game; private HighScoreHandler highScores; BraveFrame(BasicView view) throws InterruptedException {...
package sk.web.renders.inst; /*- * #%L * Swiss Knife * %% * Copyright (C) 2019 - 2020 Core General * %% * 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...
/* * Copyright 2009-2011 Collaborative Research Centre SFB 632 * * 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 ...
/* * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/** * Automatically generated file. DO NOT MODIFY */ package com.niklas.activitydoctor; public final class BuildConfig { public static final boolean DEBUG = Boolean.parseBoolean("true"); public static final String APPLICATION_ID = "com.niklas.activitydoctor"; public static final String BUILD_TYPE = "debug"; ...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
// 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...
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
package com.tyzoid.java.midi; public class QueueElem { private QueueElem next; private MusicElem music; private long timestamp; public QueueElem(MusicElem music, long timestamp){ this.music = music; this.timestamp = timestamp; next = null; } public QueueElem getNext(){ return this.next; } public ...
package com.virtualpairprogrammers; import java.math.BigDecimal; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import javax.xml.bind.annotation.XmlRootElement; import com.fasterxml.jackson.annotation.JsonFormat; @XmlRootElement public class P...
package uk.ac.ebi.subs.agent.services; import org.junit.Before; import org.junit.Test; import org.junit.experimental.categories.Category; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.spr...
package me.chanjar.weixin.cp.api; import lombok.NonNull; import me.chanjar.weixin.common.bean.result.WxMediaUploadResult; import me.chanjar.weixin.common.error.WxErrorException; import me.chanjar.weixin.cp.bean.WxCpBaseResp; import me.chanjar.weixin.cp.bean.external.*; import me.chanjar.weixin.cp.bean.external.contact...
package com.datum.android.localization; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will exe...
package com.ctrip.xpipe.redis.console.controller.config; import com.ctrip.xpipe.cluster.ClusterType; import com.ctrip.xpipe.redis.console.controller.annotation.ClusterTypeLimit; import com.ctrip.xpipe.redis.console.model.ClusterTbl; import com.ctrip.xpipe.redis.console.service.ClusterService; import com.ctrip.xpipe.re...
package pl.mmorpg.prototype.server.path.search.collisionDetectors; import pl.mmorpg.prototype.server.collision.interfaces.CollisionMap; import pl.mmorpg.prototype.server.collision.interfaces.RectangleCollisionObject; import pl.mmorpg.prototype.server.objects.GameObject; public class SimpleCollisionDetector implement...
/* * JBoss, Home of Professional Open Source * Copyright 2011, Red Hat, Inc. and/or its affiliates, and individual * contributors by the @authors tag. See the copyright.txt in the * distribution for a full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
/* * Copyright 2012 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
/* DropTarget.java -- Copyright (C) 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option)...
/* * This is the source code of Telegram for Android v. 5.x.x. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013-2018. */ package org.telegram.tgnet; public interface WriteToSocketDelegate { void...
/* The MIT License (MIT) Copyright (c) 2017 Giacomo Marciani and Michele Porretta Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the r...
/*- * #%L * %% * Copyright (C) 2018 BMW Car IT GmbH * %% * 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...
/** * 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.storage.v2016_01_01; import com.fasterxml.jackso...
package mchorse.chameleon.geckolib; import mchorse.mclib.utils.Interpolations; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.ActiveRenderInfo; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.util.EnumFacing; import net.minecraft.util....
/* * Copyright (c) 2018, The Linux Foundation. All rights reserved. * Not a Contribution. * * Copyright (C) 2015 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 L...
package com.juankpro.ane.localnotif; import android.app.Notification; import android.net.Uri; import android.os.Bundle; /** * Created by juancarlospazmino on 12/14/17. */ public class SoundSettings { private Bundle bundle; public SoundSettings(Bundle bundle) { this.bundle = bundle; } priv...
package org.apache.spark.sgx; public interface IFillBuffer { public int fillBuffer(boolean inDelimiter); }
package com.pjb.ssm.entity; /** * 用户信息实体类 * @author pan_junbiao **/ public class UserInfo { private int userId; //用户编号 private String userName; //用户姓名 private String blogUrl; //博客地址 private int sex; //性别(1:男;2:女;) private String provinceName; //省份 private String hobby; //兴趣爱好 private Str...
package org.antop.billiardslove.service; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.antop.billiardslove.dao.ContestDao; import org.antop.billiardslove.dao.MatchDao; import org.antop.billiardslove.dao.MemberDao; import org.antop.billiardslove.dao.PlayerDao; import org.antop.bill...
// Copyright (c) 2019, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.shaking.methods.interfaces; import static com.android.tools.r8.utils.codeins...
/* * Copyright 2019 Institut Laue–Langevin * * 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...
/* * Copyright (C) 2020 The Dagger 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 ag...
/* * Copyright 2013 MovingBlocks * * 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 com.zorben.dns.util; import java.util.ArrayList; /** * Static class with utility functions for parsing and writing DNS encoded domain names. * * @author Mac Crompton * */ public class DNParser { /** * Parses a domain name in message format, into a domain in a readable format. * Places the result ...
package com.mall.web.controller.common; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Auto...
package indi.eos.services; import java.io.FileNotFoundException; import java.io.IOException; import java.util.List; import indi.eos.exceptions.EosUnsupportedException; import indi.eos.messages.DigestEntity; import indi.eos.store.StorageDriver; public interface TagStore { List<String> getTags(StorageDriver storage)...
package com.ranlychen.pieexpresstracking; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; public class KdnJsonReader implements JsonReader { JSONObject root; /** * 方 法 名:readJson(String result) * 功 能:解析Json格式的字符串并把其中的物流公司编码 * 参 数:String content ...
/*- * ============LICENSE_START======================================================= * ONAP-REST * ================================================================================ * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. * Modifications Copyright (C) 2019 Nordix Foundation. * =...
/* * The MIT License (MIT) Copyright (c) 2020-2021 artipie.com * https://github.com/artipie/management-api/LICENSE.txt */ package com.artipie.management.api.artifactory; import com.amihaiemil.eoyaml.Yaml; import com.amihaiemil.eoyaml.YamlMapping; import com.artipie.http.hm.RsHasBody; import com.artipie.http.hm.Slic...
package mage.cards.s; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.DealsDamageToOpponentTriggeredAbility; import mage.abilities.effects.OneShotEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.Outcome; import mag...
/** * Copyright (C) 2018 Dr. David H. Akehurst (http://dr.david.h.akehurst.net) * * 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 ...
package com.elastisys.autoscaler.core.utils.stats.timeseries.impl; import static com.elastisys.autoscaler.core.api.types.TestMetricValue.metricValue; import static com.elastisys.autoscaler.core.api.types.TestMetricValue.time; import static com.elastisys.autoscaler.core.utils.stats.timeseries.impl.TimeSeriesTestUtils.d...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.sql.type; import org.elasticsearch.xpack.ql....
package com.assylias.jbloomberg; import org.testng.annotations.Test; import static org.testng.Assert.assertEquals; @Test(groups="unit") public class UserEntitlementsRequestBuilderTest { @Test public void testServiceType() { assertEquals(new UserEntitlementsRequestBuilder(1).getServiceType(), Bloomber...
package datadog.trace.instrumentation.elasticsearch7_3; import static datadog.trace.agent.tooling.ClassLoaderMatcher.hasClassesNamed; import static datadog.trace.agent.tooling.bytebuddy.matcher.NameMatchers.named; import static datadog.trace.bootstrap.instrumentation.api.AgentTracer.activateSpan; import static datadog...
package com.wix.restaurants.availability; //import static org.junit.Assert.*; import java.util.Arrays; import java.util.Calendar; import java.util.List; import org.junit.Test; public class MergingStatusIteratorTest { private final Calendar cal = Calendar.getInstance(); @Test public void testOne() { final Lis...
package ru.job4j.todolist.dao; import org.junit.Before; import org.junit.Test; import ru.job4j.todolist.model.TaskItem; import java.util.List; import static org.junit.Assert.*; /** * Test for dao. * * @since 27/04/2018 * @version 1 */ public class TaskItemDaoTest { private TaskItemDao dao = TaskItemDao.ge...
package com.packt.springhighperformance.ch8.taskexecutor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.task.AsyncTaskExecutor; import com.packt.springhighperformance.ch8.concurrent.Task; public class AsyncTask { @Autowired private AsyncTaskExecutor executor; publi...
package app.db; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.text.ParseException; import java.util.ArrayList; import java.util.List; public abstract class DaoImpl<x extends ResultBean> { private Connection connection = null; privat...
/** * Copyright 2011-2011 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...
/** * Copyright © Microsoft Open Technologies, Inc. * * All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * THIS ...
/* * 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 ...
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited. package com.starrocks.analysis; import com.starrocks.common.AnalysisException; import com.starrocks.sql.ast.ShowCatalogsStmt; import org.junit.Assert; import org.junit.Test; public class ShowCatalogsStmtTest { @Tes...
import java.awt.Frame; import java.awt.Font; import java.awt.Button; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.util.Scanner; public class TpEnsemble { private static final int MAXENS = 5; private static SmallSet [] E = new SmallSet[MAXENS]; private static final S...
package org.libelektra.plugin; import org.libelektra.Key; import org.libelektra.KeySet; import org.libelektra.Plugin; public class Echo implements Plugin { private KeySet conf; public static final String PLUGIN_NAME = "Echo"; public Echo () { System.out.println ("construct plugin"); conf = KeySet.create ();...
package com.cloudhopper.smpp.util; /* * #%L * ch-smpp * %% * Copyright (C) 2009 - 2012 Cloudhopper by Twitter * %% * 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://ww...
package com.faforever.api.voting; import com.faforever.api.data.domain.VotingSubject; import org.springframework.data.jpa.repository.JpaRepository; public interface VotingSubjectRepository extends JpaRepository<VotingSubject, Integer> { }
package com.angcyo.uiview.recycler; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.graphics.RectF; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.text.TextPai...
package com.verdantartifice.primalmagick.common.util; import java.util.function.Predicate; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.EntitySelector; import net.minecraft.world.entity.player.Player; /** * Defines entity selector predicates for use in the mod. * * @author Daedalus...
/** * 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.softlab.consumer; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class ConsumerApplication { public static void main(String[] args) { SpringApplication.run(ConsumerApplication.class, args); ...
package com.laoyu.gulimall.gulimallproduct.controller; import java.util.Arrays; import java.util.Map; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web...
package com.ics.animalworld.util; import android.content.Context; import android.graphics.Typeface; import android.util.AttributeSet; import android.widget.TextView; public class FontText extends TextView { String TAG = getClass().getName(); private Context mContext; private String ttfName; public F...
/* * APIMATICCalculatorLib * * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). */ package io.apimatic.examples.models; import java.util.*; public class GetCICDDEMOForCalculatorInputBuilder { //the instance to build private GetCICDDEMOForCalculatorInput getCICDDEMOForCalcula...
package com.reading.start.tests.test_motor_following.utils; import java.util.List; public class SplineInterpolator { private final List<Float> mX; private final List<Float> mY; private final float[] mM; private SplineInterpolator(List<Float> x, List<Float> y, float[] m) { mX = x; mY ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Licensed 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 under t...
package edu.vassar.cs.cmpu331.tvi; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; import java.util.Scanner; import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Predicate; /** * @auth...
package jtrade.trader; import org.joda.time.DateTime; public interface ExecutionMethod { public void processExecution(Trader trader, DateTime dt); }
package com.function; import com.microsoft.azure.functions.*; import org.mockito.invocation.InvocationOnMock; import org.mockito.stubbing.Answer; import java.util.*; import java.util.logging.Logger; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; import static org.mockito.Argumen...
package com.codelog.schyfts.util; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.json.JSONObject; import java.io.*; public class FileUtils { @NotNull public static String readResourceToString(String resource) throws IOException { InputStream s = File...
/* * Copyright 2010-2021 Australian Signals Directorate * * 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 ru.job4j.tdd; import java.util.HashMap; /** * Interface for simple generation. * @author kejamwork@mail.ur * @version 0.01 */ public interface SimpleGeneration { /** * This method receives String @message and HashMap @data then changes ${...} to value of HashMap where first value is key of data a...
/* * An XML document type. * Localname: process-info * Namespace: http://www.apache.org/ode/pmapi/types/2006/08/02/ * Java type: org.apache.ode.bpel.pmapi.ProcessInfoDocument * * Automatically generated - do not modify. */ package org.apache.ode.bpel.pmapi; /** * A document containing one process-info(@http:/...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you may n...
/* * Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. * * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. * * BK-BASE 蓝鲸基础平台 is licensed under the MIT License. * * License for BK-BASE 蓝鲸基础平台: * ----------------------------------------------...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package io.github.zomky.cli; import io.github.zomky.cli.command.MainCommand; import io.github.zomky.utils.ReflectionsUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import picocli.CommandLine; import java.util.List; public class Zomky { private static final Logger LOGGER = LoggerFactory.getLogge...
package com.dueeeke.dkplayer.activity.extend; import android.view.View; import com.dueeeke.dkplayer.R; import com.dueeeke.dkplayer.activity.BaseActivity; import com.dueeeke.dkplayer.widget.videoview.IjkVideoView; import com.dueeeke.videocontroller.StandardVideoController; import java.io.File; import java.io.FileWrit...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
package chainedfsm; import chainedfsm.interfaces.IEnter; import chainedfsm.interfaces.ILeave; import java.util.ArrayList; /** * Created by Per Malmberg on 2015-11-19. */ public abstract class EnterLeaveState { private ArrayList<IEnter> myEnter = new ArrayList<IEnter>(); private ArrayList<ILeave> myLeave = new Ar...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) // Source File Name: ColGecsCustomizes.java package com.ucap.gecs.component.customizepage; import com.ucap.gecs.base.ecc.EccCollection; public class ColGecsCustomize...
package oscana.s2n.seasar.framework.util.tiger; import static org.junit.Assert.*; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; import org.junit.Test; import oscana.s2n.seasar.framework.util.ArrayUtilTest; /** * {@link ReflectionUtil}のテスト * */ public clas...
/******************************************************************************* * Copyright (c) 2018 Arrow Electronics, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License 2.0 * which accompanies this distribution, and is available at ...
/** * 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.network.v2019_08_01; import com.microsoft.azure....
package org.jhipster.foo.web.rest.errors; import org.jhipster.foo.web.rest.util.HeaderUtil; import org.springframework.dao.ConcurrencyFailureException; import org.springframework.http.ResponseEntity; import org.springframework.validation.BindingResult; import org.springframework.web.bind.MethodArgumentNotValidExcepti...
/* * 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 ...
// Template Source: BaseMethodBody.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ---------------------------------------...
/* Generated by: JJTree: Do not edit this line. Name.java Version 1.1 */ /* ParserGeneratorCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=true,TRACK_TOKENS=true,NODE_PREFIX=,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ package com.arcadedb.graphql.parser; public class Name extends SimpleNod...
package io.smallrye.graphql.client.dynamic; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import javax.json.JsonArray; import javax.json.JsonNumber; import javax.json.JsonObject; import javax.json.JsonString; import javax.json.JsonValue; import io.smallrye.gra...
/* * 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 club.bugmakers.seed.global.advice; import club.bugmakers.seed.bean.dto.base.RespDTO; import club.bugmakers.seed.enums.error.ErrorCodeEnum; import club.bugmakers.seed.exception.ServiceException; import club.bugmakers.seed.utils.validate.ValidateParam; import lombok.extern.slf4j.Slf4j; import org.springframework...
package com.kaesar.designpattern.zen.chp32; import java.util.Observable; import java.util.Observer; import java.util.Random; /** * 观察者模式下的抽象DNS服务器 * * @Author: chengk * @Date: 2021/5/29 11:51 上午 */ public abstract class ObserverDnsServer extends Observable implements Observer { // 处理请求,也就是接收到事件后的处理 @Over...
/* * Copyright (C) 2013 salesforce.com, 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 ...
/** * 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 me.zhengjie.modules.system.service.dto; import com.fasterxml.jackson.annotation.JsonInclude; import lombok.Getter; import lombok.Setter; import me.zhengjie.base.BaseDTO; import java.io.Serializable; import java.util.List; import java.util.Objects; /** * @author Zyuh * @date 2020-03-25 */ @Getter @Setter publi...
package com.tt.lib; import android.app.ProgressDialog; import android.content.Context; /** * Created by jzj on 2018/3/26. */ public class DialogUtils { public static ProgressDialog showProgress(Context context, String title) { return ProgressDialog.show(context, title, null, true, false); } 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 may...