text
stringlengths
7
995k
@ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault package com.github.almostreliable.energymeter.compat; import net.minecraft.MethodsReturnNonnullByDefault; import javax.annotation.ParametersAreNonnullByDefault;
// Copyright 2017 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 law...
/* * Copyright 2000-2017 JetBrains s.r.o. * * 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...
package com.runescape.game.world.entity.player; import com.runescape.cache.loaders.ItemDefinitions; import com.runescape.game.content.skills.Woodcutting; import com.runescape.game.content.skills.Woodcutting.HatchetDefinitions; import com.runescape.game.content.skills.Woodcutting.TreeDefinitions; import com.runescape.g...
package com.charles445.rltweaker.handler; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.util.Iterator; import java.util.List; import java.util.Map; import com.charles445.rltweaker.RLTweaker; import com.charles445.rltweaker.config.ModConfig; import com.charles445.rltwe...
/* * Copyright 2004-2010 the Seasar Foundation and the Others. * * 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 ...
package io.cucumber.core.io; import org.junit.jupiter.api.Test; import java.net.URI; import java.util.Iterator; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.isA; import static org.junit.jupiter.api.Assertions.assertTrue; class DelegatingResourceIteratorFactoryTest { @...
package asf.dungeon.model.token; import asf.dungeon.model.item.ArmorItem; import asf.dungeon.model.item.RingItem; import asf.dungeon.model.item.WeaponItem; import asf.dungeon.utility.UtMath; /** * Created by Danny on 11/11/2014. */ public class Experience implements TokenComponent{ public final Token token;...
/** * CreativeTemplateOperationErrorReason.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201502; public class CreativeTemplateOperationErrorReason implements java.io.Serializable { private java.l...
/* * This file is generated by jOOQ. */ package org.jooq.meta.mysql.information_schema.tables; import org.jooq.Field; import org.jooq.ForeignKey; import org.jooq.Name; import org.jooq.Record; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; import org.jooq.impl.DSL; import org.jooq.impl.Ta...
package de.kjosu.neatdebug.old; import java.awt.Canvas; import java.awt.Color; import java.awt.Graphics2D; import java.awt.image.BufferStrategy; import java.time.Duration; import java.time.Instant; public class RenderEngine extends Canvas implements Runnable { private final Renderable renderable; private final Ren...
/* * 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 m...
/* * Yet Another UserAgent Analyzer * Copyright (C) 2013-2021 Niels Basjes * * 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...
package org.jsoup.safety; import org.jsoup.Jsoup; import org.jsoup.MultiLocaleExtension.MultiLocaleTest; import org.jsoup.TextUtil; import org.jsoup.nodes.Document; import org.jsoup.nodes.Entities; import org.junit.jupiter.api.Test; import java.util.Locale; import static org.junit.jupiter.api.Assertions.*; /** Tes...
/* Copyright (c) 2017, ARM Limited and Contributors * * SPDX-License-Identifier: MIT * * 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 ...
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package entregafinal.forrester.services; import java.util.List; import java.util.Optional; import org.apache.tomcat.jni.Status; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.DataIntegrityViolationException; import org.springframework.dao.EmptyResultDataAccessException; ...
/* * 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 cn.aulang.office.web.service; import io.minio.BucketExistsArgs; import io.minio.GetObjectArgs; import io.minio.MakeBucketArgs; import io.minio.MinioClient; import io.minio.PutObjectArgs; import io.minio.RemoveObjectArgs; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Auto...
/* * Copyright 2018 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 in...
package com.example.admin.gitrepos_di.di; import android.app.Activity; import android.app.Application; import android.content.Context; import android.icu.text.DateFormat; import android.icu.util.Calendar; import com.example.admin.gitrepos_di.network.GithubService; import com.google.gson.Gson; import com.google.gson.G...
/* * * Copyright 2018 Netflix, 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 ap...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 库存量单位描述对象 * * @author auto create * @since 1.0, 2017-03-17 17:48:10 */ public class SkuDescInfo extends AlipayObject { private static final long serialVersionUID = 4866919595637415132L; /...
package wordcram; /* Copyright 2010 Daniel Bernier 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 ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * @author Andrei Constantin Tanasache, act@omtia.com */ package com.omtia.leetcode; import com.omtia.un._198_house_robber; import org.junit.jupiter.api.Test; import static com.google.common.truth.Truth.assertThat; class _198_house_robberTest { @Test void rob_executeBestCase() { // given ...
/* * Copyright 2021 StreamSets 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...
package edu.kit.ipd.crowdcontrol.objectservice.crowdworking.pybossa; import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.JsonNode; import com.mashape.unirest.http.Unirest; import com.mashape.unirest.http.exceptions.UnirestException; import org.json.JSONArray; import org.json.JSONObject; /** ...
/* * Copyright (c) 2010, Isode Limited, London, England. * All rights reserved. */ /* * Copyright (c) 2010, Remko Tronçon. * All rights reserved. */ package com.isode.stroke.serializer; import com.isode.stroke.elements.Payload; /** * Serialise a particular payload. */ public abstract class PayloadSerializer ...
package cn.torna.manager.doc.postman; import lombok.Getter; import lombok.Setter; import java.util.List; /** * @author tanghc */ @Getter @Setter public class Item { /** 接口名称 */ private String name; /** 接口详情 */ private Request request; /** 如果是文件夹,下面会有子接口 */ private List<Item> item; pub...
/* package edu.usc.cct.rapport.web_games.client.presenter; import java.util.LinkedList; import java.util.Queue; import com.google.gwt.activity.shared.Activity; import com.google.gwt.user.client.AsyncProxy; import com.google.gwt.user.client.Command; public class WebGamesAsyncActivityProxy implements AsyncProxy<WebGa...
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The contents of this file are subject to the terms of either the Universal Permissive License * v 1.0 as shown at http://oss.oracle.com/licenses/upl * * or the follo...
package com.nt.dao; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; public class ConnectionFactory { private static Logger logger=Logger.getLogger("d:/NtDP92/DAODP/DB_Exp_Log.txt"); public static Connection cr...
/* * 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 com.tencent.qcloud.tim.uikit.component.video.view; import android.graphics.Bitmap; public interface CameraView { void resetState(int type); void confirmState(int type); void showPicture(Bitmap bitmap, boolean isVertical); void playVideo(Bitmap firstFrame, String url); void stopVideo()...
/** * 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 * dist...
package com.estafet.demo.commons.lib.wallet; import static org.junit.Assert.*; import org.junit.Test; public class WalletUtilsTest { @Test public void testGenerateWalletAddressNotNull() { String address1 = WalletUtils.generateWalletAddress(); assertNotNull(address1); } @Test public void testGenerateWalle...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Copyright (C) 2018-2020. Huawei Technologies Co., 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 * * U...
package corejava.executorservice; import java.util.Arrays; import java.util.List; import java.util.Set; import java.util.stream.Collectors; public class GQLTest { String myx; public GQLTest(){ //System.out.println("ok"); } public GQLTest(String x){ //System.out.println("ok"); this.myx=x; } public ...
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.policies; import java.util.Iterator; import org.eclipse.emf.ecore.EAnnotation; import org.eclipse.gef.commands.Command; import org.eclipse.gmf.runtime.common.core.command.ICompositeCommand; import org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand...
package org.schoellerfamily.gedbrowser.datamodel.util.test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; import org.schoellerfamily.gedbrowser.datamodel.Submitter; import org.schoellerfamily.gedbrowser.datamodel.util.GedObjectBuilder; /** * @author D...
// $Id: UnitSymbol.java 64 2006-07-12 22:30:50Z edavis $ /* * Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata * * Portions of this software were developed by the Unidata Program at the * University Corporation for Atmospheric Research. * * Access and use of this software shall impose t...
/* * Copyright 2012-2017 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 2014-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 "licen...
// // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert // Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. // Generiert: 201...
package com.github.binarywang.wxpay.bean.result; import com.github.binarywang.wxpay.constant.WxPayConstants; import com.github.binarywang.wxpay.exception.WxPayException; import com.github.binarywang.wxpay.service.WxPayService; import com.thoughtworks.xstream.annotations.XStreamAlias; import lombok.Data; import lombok....
package com.wkl.gulimall.member.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 wkl * @email 750583669@qq.com * @date 2021-01-03 15:57:12 */ @Da...
package com.lchad.gifflen; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on an Android de...
package dbengine.storage; import dbengine.storage.tables.ITable; import dbms.SystemCatalog; import serverlayer.model.Predicate; public enum Expression { LESS_EQUAL("<=",0) { @Override public boolean check(Comparable a, Comparable b) { return a.compareTo(b) <= 0; } }, LARGER...
package interpreter.exceptions.blocks; /** * This describes an error in the number of arguments entered for a block * Example: 1 argument of addition --> what? * * @author Austin * */ public class BlockArgumentsException extends BlockException { /** * Default Serial Version ID */ private static final lo...
package examples.tutorial; import dev.marksman.kraftwerk.constraints.IntRange; import java.util.Collections; import static dev.marksman.kraftwerk.Generators.chooseOneOfValues; import static dev.marksman.kraftwerk.Generators.generateInt; public class ContrivedFlatMapExample { public static void main(String[] arg...
package logserver; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.SocketException; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.concurrent.*; public class Main { private static...
package travel; public abstract class Transport { protected String name; public Transport(String name) { this.name = name; } public String getName() { return name; } public abstract int getPrice(); }
/* * Copyright (c) 2014, 2020 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
/* This file is part of the iText (R) project. Copyright (c) 1998-2020 iText Group NV Authors: Bruno Lowagie, Paulo Soares, et al. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free...
package com.tencent.smtt.sdk; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.widget.FrameLayout; import com.tencent.smtt.export.external.DexLoader; import dalvik.system.DexClassLoader; class TbsPlayerEngine { protected DexLoader dexLoader = null; public Tb...
/* */ package org.apache.pdfbox.pdmodel; /* */ /* */ import java.io.IOException; /* */ import java.util.ArrayList; /* */ import java.util.List; /* */ import org.apache.pdfbox.cos.COSArray; /* */ import org.apache.pdfbox.cos.COSBase; /* */ import org.apache.pdfbox.cos.COSDictionary; /* ...
package com.xiao.spring.cloud.search.rest; import com.xiao.springcloud.demo.common.logaspect.LogAnnotation; import com.xiao.spring.cloud.search.dto.ElasticSearchDoc; import com.xiao.spring.cloud.search.service.SearchManangerService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation....
/* * Copyright (c) 2008-2016, Hazelcast, 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 ...
package model; import com.google.common.collect.ForwardingSet; import java.util.Collection; import java.util.HashSet; import java.util.Set; public class Users extends ForwardingSet<UserData> { private Set<UserData> delegate; public Users(Collection<UserData> users) { this.delegate = new HashSet<User...
/* * 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")...
package com.chenyu.library.bannerViewPager; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.RectF; import android.os.Build; import android.util.AttributeSet; import android.view.View; import android.widget.LinearLayou...
package com.ruoyi.erp.service; import java.util.List; import com.ruoyi.erp.domain.ErpTags; import com.ruoyi.erp.domain.ErpTagsMap; /** * 标签映射Service接口 * * @author kuaizi * @date 2021-10-25 */ public interface IErpTagsMapService { /** * 查询标签映射 * * @param tagUuid 标签映射主键 * @return 标签映射 ...
/* * Copyright 2001-2012 Stephen Colebourne * * 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...
/** * Copyright Pravega 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 agreed to...
/* * Copyright 2005 JBoss 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 synapse.server.ui; import java.rmi.Naming; import java.rmi.RemoteException; import java.rmi.UnmarshalException; import java.util.Collection; import synapse.common.UIException; import synapse.common.URLProvider; import synapse.server.ServerNotRunningException; import synapse.server.protocol.TerminalServices; ...
package io.github.ibuildthecloud.gdapi.servlet; import java.io.IOException; import javax.inject.Inject; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; p...
package com.jsh.model.vo.basic; import java.io.Serializable; @SuppressWarnings("serial") public class UserBusinessModel implements Serializable { private UserBusinessShowModel showModel = new UserBusinessShowModel(); /**======开始接受页面参数=================**/ /** * 角色名称 */ private String Type = ...
package mekanism.client.gui.element.tab; import javax.annotation.Nonnull; import mekanism.client.SpecialColors; import mekanism.client.gui.IGuiWrapper; import mekanism.client.gui.element.GuiInsetElement; import mekanism.client.render.MekanismRenderer; import mekanism.common.Mekanism; import mekanism.common.MekanismLan...
package com.adaptris.core.poi; import org.apache.poi.ss.formula.FormulaType; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.CellType; import org.apache.poi.ss.usermodel.DateUtil; import org.apache.poi.ss.usermodel.FormulaError; import org.apache.poi.ss.usermodel.Row; import org.apache.poi....
package org.tic.vertx.examples.service.discovery.common; import io.vertx.codegen.annotations.Fluent; import io.vertx.codegen.annotations.ProxyGen; import io.vertx.core.AsyncResult; import io.vertx.core.Handler; @ProxyGen public interface MyEventBusService { @Fluent MyEventBusService add(int a, int b, Handler...
/* * Copyright (c) 2010, 2021 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
/* * Copyright (c) 2020 Bixbit s.c. All rights reserved. * See LICENSE file for licensing information. */ package io.imunity.furms.db.ssh_key_history; import java.util.List; import java.util.UUID; import org.springframework.data.domain.Pageable; import org.springframework.data.jdbc.repository.query.Modifying; imp...
/* * Copyright 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 applica...
package com.xiaodao.auth.service; import java.util.HashMap; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.xiaodao.common.constant.Constants; import com.xiaodao.common.redis.an...
package com.swiftRpc.test.app; import com.swiftRpc.client.AsyncRPCCallback; import com.swiftRpc.client.RPCFuture; import com.swiftRpc.client.RpcClient; import com.swiftRpc.client.proxy.IAsyncObjectProxy; import com.swiftRpc.registry.ServiceDiscovery; import com.swiftRpc.test.client.Person; import com.swiftRpc.test.cli...
/* This file is part of the iText (R) project. Copyright (c) 1998-2018 iText Group NV Authors: iText Software. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.cosmos.implementation; import com.azure.cosmos.ConsistencyLevel; import com.azure.cosmos.models.IndexingDirective; import com.azure.cosmos.models.PartitionKey; import com.azure.cosmos.models.ThroughputPro...
package imports.k8s; /** * DownwardAPIVolumeSource represents a volume containing downward API info. * <p> * Downward API volumes support ownership management and SELinux relabeling. */ @javax.annotation.Generated(value = "jsii-pacmak/1.39.0 (build 8af72c2)", date = "2021-10-15T13:35:33.415Z") @software.amazon.jsi...
package com.gurpy.games.obj.entities.bbox.playable; public final class EnemyTypes { public static final int DUMMY = 0; public static final int HOMING = 1; public static final int BOUNCY = 2; public static final int DIRECTIONAL = 3; }
package cafe.adriel.kbus; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void addit...
package eric.clapton.musician.web.controller.my; import static eric.clapton.musician.util.FormatUtils.formatAsDateTimeString; import java.util.stream.Collectors; import javax.annotation.Resource; import org.springframework.data.domain.Page; import org.springframework.stereotype.Controller; import org.springframewor...
package org.infinispan.configuration.parsing; import java.util.HashMap; import java.util.Map; /** * Enumerates the attributes used in Infinispan * * @author Pete Muir */ public enum Attribute { // must be first UNKNOWN(null), // KEEP THESE IN ALPHABETICAL ORDER! ACQUIRE_TIMEOUT, ADDRESS_COUN...
package uo.asw.apacheKafka; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @Component public class SendIncidenceImpl implements SendIncidence { @Autowired private KafkaProducer kafkaProducer; private static final String topic = "incidences"; @O...
// Copyright 2000-2020 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.icons; import com.intellij.ui.IconManager; import org.jetbrains.annotations.NotNull; import javax.swing.*; import org.jetbrains.annotations.ApiStatus.Sched...
package org.egov.infra.config.security.repository; import static org.egov.infra.utils.ApplicationConstant.MS_USER_TOKEN; import static org.egov.infra.utils.ApplicationConstant.USERID_KEY; import static org.egov.infra.utils.ApplicationConstant.MS_TENANTID_KEY; import java.io.IOException; import java.util.HashMap; impo...
/* * Copyright (C) 2015 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 ...
package com.nullfish.app.jfd2.server; public class JFD2Client { }
package org.motechproject.csd.mds; import org.motechproject.csd.domain.Organization; import org.motechproject.mds.annotations.Lookup; import org.motechproject.mds.annotations.LookupField; import org.motechproject.mds.service.MotechDataService; public interface OrganizationDataService extends MotechDataService<Organiz...
/* * This file is part of jHDF. A pure Java library for accessing HDF5 files. * * http://jhdf.io * * Copyright (c) 2022 James Mudd * * MIT License see 'LICENSE' file */ package io.jhdf.object.message; import io.jhdf.Constants; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import ...
package com.twu.biblioteca.command.menu; import com.twu.biblioteca.model.Role; import com.twu.biblioteca.model.Users.User; import com.twu.biblioteca.view.MenuView; import org.junit.Test; import org.mockito.Mockito; import java.util.HashSet; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.ve...
package net.minecraft.src; // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) braces deadcode import java.io.*; import java.util.*; import net.minecraft.client.Minecraft; public class mod_Node_TeleporterPack extends Bas...
package com.xmlmind.fo.util; import java.nio.charset.CharsetEncoder; public class Encoder { private CharsetEncoder encoder; public Encoder(CharsetEncoder var1) { this.encoder = var1; } public boolean canEncode(char var1) { return this.encoder.canEncode(String.valueOf(var1)); } }
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ package com.microsoft.appcenter.distribute; import android.net.Uri; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import org.json.JSONException; /** * Release details JSON ...
package com.baeldung.annotations; import java.lang.annotation.Repeatable; @Repeatable(Intervals.class) @interface Interval { int hour() default 1; }
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package android.support.v7.media; import android.app.ActivityManager; import android.content.*; import android.os.Handler; import android.os.Message; impo...
package cc.mrbird.febs.lxj.mapper; import cc.mrbird.febs.lxj.entity.OrgUserByPlus; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** * Mapper * * @author ZhengShiHao * @date 2020-05-26 16:04:25 */ public interface OrgUserMapper exten...