text
stringlengths
7
1.01M
package com.revature.beans; import java.io.Serializable; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import jav...
/* * Copyright (c) 2014, Yahoo!, Inc. All rights reserved. ...
/** * */ package spelling; import java.util.ArrayList; import java.util.HashSet; import java.util.LinkedList; import java.util.List; /** * @author UC San Diego Intermediate MOOC team * */ public class NearbyWords implements SpellingSuggest { // THRESHOLD to determine how many words to look through when lookin...
package com.batiaev.provisioner.model.user; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; class PhoneNumberTest { @Test void should_create_phone_number() { //given String numberString = "+447555555555"; //when PhoneNumber number =...
/* * 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 ...
/* * FunctionDescriptor.java * Copyright © 1993-2018, The Avail Foundation, LLC. * 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 ...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/** * Copyright 2008-2017 Qualogy Solutions B.V. * * 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.avaje.ebeaninternal.util; import com.avaje.ebeaninternal.util.SortByClause.Property; public final class SortByClauseParser { private final String rawSortBy; public static SortByClause parse(String rawSortByClause){ return new SortByClauseParser(rawSortByClause).parse(); } private SortByClauseP...
package org.uma.jmetal.util.ranking.impl; import org.uma.jmetal.util.ranking.Ranking; import org.uma.jmetal.solution.Solution; import org.uma.jmetal.solution.util.attribute.util.attributecomparator.AttributeComparator; import org.uma.jmetal.solution.util.attribute.util.attributecomparator.impl.IntegerValueAttributeCom...
package org.nd4j.linalg.profiler.data; import org.nd4j.linalg.profiler.data.primitives.ComparableAtomicLong; import org.nd4j.linalg.util.ArrayUtil; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicLong; /** * Simple key-value counter * * @author raver11...
/* * Copyright (c) 2020 * Author: xiaoweixiang */ package test; import lombok.Builder; import lombok.Data; @Data @Builder public class Phone{ private int number; private int card; // private Phone(int number, int card) { // this.number = number; // this.card = card; // } // // publ...
/** * Copyright (C) 2010-18 diirt developers. See COPYRIGHT.TXT * All rights reserved. Use is subject to license terms. See LICENSE.TXT */ package org.diirt.pods.web; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.Se...
package com.guysfromusa.carsgame; import com.guysfromusa.carsgame.v1.model.Point; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; public class GameMapUtilsTest { @Test public void shouldNo...
package com.dbjgb.advent.fifteen.puzzle.eight; import com.dbjgb.advent.Utility; import java.io.BufferedReader; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Solution { private static final Pattern HEX_ESCAPE_PATTERN = Pattern.compile("\\\\x[0-9a-f]{2}"); private static final Patte...
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE package org.bytedeco.arrow; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.arrow.global.arrow.*; @Namespace("arrow") @Properties...
/* * 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 (c) 2019-present Acrolinx GmbH */ package com.acrolinx.client.sdk.check; import java.util.List; import com.google.gson.Gson; /** * Only supported with Acrolinx Platform 2019.10 and newer. */ public class ExternalContent { private final List<ExternalContentField> textReplacements; privat...
package com.inferno.projectx.assigntask; import android.app.ProgressDialog; import android.content.Context; import android.os.Bundle; import android.os.Parcelable; import android.support.design.widget.Snackbar; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import androi...
import javax.swing.*; import java.awt.*; // 颜色选择列表 public class Colorlist extends JPanel { static final long serialVersionUID = 1471001741; public Colorlist() { // 得到监听器实例 EventListener el = EventListener.getInstance(); // 为列表使用二行四列的栅格布局 this.setLayout(new GridLayout(2, 4, 2, 2...
/** * Copyright 2014 Internet2 * * 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 DrzewoRB; public interface Sortowania { Object[] sort(Object[] Lists); }
package com.blossomproject.core.user; /** * Created by Maël Gargadennnec on 04/05/2017. */ public interface UserMailService { void sendAccountCreationEmail(UserDTO user, String token) throws Exception; void sendChangePasswordEmail(UserDTO user, String token) throws Exception; }
package io.evercam.network.onvif; import io.evercam.network.EvercamDiscover; import io.evercam.network.discovery.DiscoveredCamera; import io.evercam.network.discovery.IpTranslator; import java.io.StringReader; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are su...
package tech.peller.mrblackandroidwatch.api.services; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Query; import tech.peller.mrblackandroidwatch.models.event.EventsList; /** * Created by Sam (salyasov@gmail.com) on 13.04.2018 */ public interface EventsService { @GET("/api/v1/events") ...
/* * 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 cgeo.geocaching.filters.gui; import cgeo.geocaching.R; import cgeo.geocaching.filters.core.LogsCountGeocacheFilter; import cgeo.geocaching.log.LogType; import cgeo.geocaching.ui.ContinuousRangeSlider; import cgeo.geocaching.ui.TextSpinner; import cgeo.geocaching.ui.ViewUtils; import static cgeo.geocaching.log....
package mil.nga.dice.report.tests; import android.net.Uri; import android.webkit.MimeTypeMap; import junit.framework.TestCase; /** * Created by stjohnr on 3/27/15. */ public class MimeTypeTest extends TestCase { public void testGetFileExtension() { String url = "file:///spaces in url/more spaces.html?...
/* * Copyright 2019 * Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology * Technische Universität Darmstadt * * 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 * * htt...
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.javaagent.instrumentation.jaxrsclient.v2_0; import static io.opentelemetry.javaagent.tooling.ClassLoaderMatcher.hasClassesNamed; import static io.opentelemetry.javaagent.tooling.bytebuddy.matcher.AgentElement...
package com.u8.server.web.pay.sdk; import com.u8.server.common.UActionSupport; import com.u8.server.constants.PayState; import com.u8.server.data.UChannel; import com.u8.server.data.UOrder; import com.u8.server.log.Log; import com.u8.server.service.UChannelManager; import com.u8.server.service.UOrderManager; ...
/* * 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...
/* * Copyright 2000-2009 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 org.jenkinsci.plugins.gitclient; import static org.junit.Assert.*; import hudson.EnvVars; import hudson.Launcher; import hudson.model.TaskListener; import hudson.util.ArgumentListBuilder; import hudson.util.StreamTaskListener; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOExcepti...
/* * Copyright (c) 2007, Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * n...
package net.nullspace_mc.tapestry.mixin.core; import net.nullspace_mc.tapestry.Tapestry; import net.minecraft.server.MinecraftServer; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.inject...
package tb.common.block; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Random; import DummyCore.Client.Icon; import DummyCore.Client.IconRegister; import DummyCore.Client.RenderAccessLibrary; import DummyCore.Utils.BlockStateMetadata; import DummyCore.Utils.IOldCubicBloc...
/* * 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 mage.server.util; import mage.server.util.config.Config; import javax.xml.bind.JAXBContext; import javax.xml.bind.Unmarshaller; import java.io.File; public class ConfigFactory { public static Config loadFromFile(final String filePath) { try { final JAXBContext jaxbContext = JAXBConte...
class s implements Runnable { public void run() { } } class Over extends s { public void run() { if (true) { super.run(); } } }
/* * 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.cloudfoundry.identity.uaa.oauth; import com.fasterxml.jackson.core.type.TypeReference; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import org.cloudfoundry.identity.uaa.approval.Approval; import org.cloudfoundry.identity.uaa.approval....
package com.example.selectmenu; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import android.app.Activity; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.view.Menu; ...
/* Xholon Runtime Framework - executes event-driven & dynamic applications * Copyright (C) 2007, 2008 Ken Webb * * 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 *...
// Copyright 2015 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
package maged.csi5230.edu.tictactoegame; import android.app.AlertDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.telephony.SmsMessa...
/* * Copyright 2019 y7 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
/* * Copyright 2020 Fraunhofer Institute for Software and Systems Engineering * * 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 * * Un...
package org.apache.spark.ui.jobs; // no position class TaskTableRowOutputData$ extends scala.runtime.AbstractFunction2<java.lang.Object, java.lang.String, org.apache.spark.ui.jobs.TaskTableRowOutputData> implements scala.Serializable { /** * Static reference to the singleton instance of this Scala object. */ ...
package module452packageJava0; import java.lang.Integer; public class Foo52 { Integer int0; public void foo0() { new module452packageJava0.Foo51().foo4(); } public void foo1() { foo0(); } public void foo2() { foo1(); } public void foo3() { foo2(); } public void foo4() { fo...
package com.ilusons.harmony.ref.permissions; /** * Enum class to handle the different states * of permissions since the PackageManager only * has a granted and denied state. */ enum Permissions { GRANTED, DENIED, NOT_FOUND }
package com.macro.mall.dao; import com.macro.mall.model.CmsSubjectProductRelation; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; /** * 自定义商品和专题关系操作Dao * /4/26. */ @Repository public interface CmsSubjectProductRelationDao { /** * 批量创...
package com.jynx.pro.request; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import java.math.BigInteger; @EqualsAndHashCode(callSuper = true) @Data @Accessors(chain = true) public class UpdateStakeRequest extends SignedRequest { private BigInteger amount; private ...
/* * Copyright (C) 2012 TopCoder Inc., All Rights Reserved. */ package gov.medicaid.screening.services.impl; import gov.medicaid.entities.ChildrensResidentialSearchCriteria; import gov.medicaid.entities.ProviderProfile; import gov.medicaid.entities.SearchResult; import gov.medicaid.screening.dao.ChildrensResidential...
package com.ilm9001.nightclub.commands; import co.aikar.commands.BaseCommand; import co.aikar.commands.annotation.*; import com.ilm9001.nightclub.Nightclub; import com.ilm9001.nightclub.light.*; import com.ilm9001.nightclub.light.event.LightChannel; import com.ilm9001.nightclub.light.event.LightSpeedChannel; import co...
package com.example.music_player; import androidx.appcompat.app.AppCompatActivity; import com.example.music_player.MusicService.IsPlayingListener; import static com.example.music_player.Classes.Singleton.getPlayInstance; public abstract class BaseActivity extends AppCompatActivity { abstract IsPlayingListener g...
package com.google.api.ads.adwords.jaxws.v201402.express; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import com.google.api.ads.adwords.jaxws.v201402.cm.Selector; /** * ...
package com.sigmundgranaas.forgero.core.toolpart.toolpart; import com.sigmundgranaas.forgero.Constants; import com.sigmundgranaas.forgero.core.ForgeroRegistry; import com.sigmundgranaas.forgero.core.gem.EmptyGem; import com.sigmundgranaas.forgero.core.identifier.tool.ForgeroMaterialIdentifierImpl; import com.sigmundgr...
/* * Copyright 2013 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.innovateuk.ifs.application.forms.sections.yourprojectcosts.saver; import org.apache.commons.lang3.BooleanUtils; import org.innovateuk.ifs.application.forms.sections.yourprojectcosts.form.YourProjectCostsForm; import org.innovateuk.ifs.commons.exception.IFSRuntimeException; import org.innovateuk.ifs.finance...
package com.hxtech.offer.service.misc; import java.io.IOException; import android.content.Context; import android.content.SharedPreferences; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; // Referen...
package com.hy.pull.mapper; /** * 对应数据表tb_max_log的操作接口 * @author temdy */ public interface TbMaxLogMapper extends BaseMapper{ }
/* * Copyright (c) 2018, The University of Memphis, MD2K Center of Excellence * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above c...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
package com.neverpile.eureka.plugin.audit.service; import java.time.Instant; /** * This interfaces defines functions to create and validate such Audit IDs. The Id will be generated using using the * Document ID in combination with a given hig precision timestamp. the timestamp will bes used to distinguish audit * ...
package net.jackw.authenticator; public interface ErrorCallback<T> { public void onError(T param); }
package com.yisu.shardingsphere; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @description 启动类 * @author xuyisu * @date '2020-03-22' */ @SpringBootApplication public class FwShardingsphereSubDbDruid { public static void main(Str...
/* * Copyright 2016-2019 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 ...
package com.lzy.imagepicker.adapter; import android.Manifest; import android.app.Activity; import androidx.core.app.ActivityCompat; import androidx.recyclerview.widget.RecyclerView; import androidx.recyclerview.widget.RecyclerView.ViewHolder; import android.view.LayoutInflater; import android.view.View; import android...
package net.parttimepolymath.controller; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; public class ControllerHolderT...
/* * Copyright (C) 2015 Square, 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 agre...
/* * Copyright (C) 2010 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 ...
package io.sphere.sdk.products.queries; import io.sphere.sdk.models.Identifiable; import io.sphere.sdk.products.Product; import io.sphere.sdk.queries.PagedQueryResult; import io.sphere.sdk.queries.PagedResult; import org.junit.Test; import java.util.LinkedList; import java.util.List; import java.util.concurrent.Compl...
package org.hyojeong.stdmgt.dao; import java.util.List; import org.hyojeong.stdmgt.model.AbsenceHistory; import org.hyojeong.stdmgt.model.ActiveHistory; import org.hyojeong.stdmgt.model.AwardsHistory; import org.hyojeong.stdmgt.model.ConsultHistory; import org.hyojeong.stdmgt.model.GradeHistory; import org.hyojeong.s...
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.web.holiday; import java.net.URI; import java.util.ArrayList; import java.util.List; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produ...
/** * 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; import com.fasterxml.jackson.annotation...
/* * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package com.boilerplate; import android.app.Application; import android.util.Log; import com.facebook.react.PackageList; import com.facebook.hermes.reactexecutor.HermesExecutorFactory; import com.facebook.react.bridge.JavaScriptExecutorFactory; import com.facebook.react.ReactApplication; import com.horcrux.svg.SvgPac...
/* * Copyright (C) 2018 the original author or authors. * * This file is part of jBB Application Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 */ package org.jbb.webapp.architecture; ...
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI 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 of the *...
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
package org.fengfei.lanparoxy.client.test; import java.util.Arrays; import org.fengfei.lanproxy.client.ProxyClientContainer; import org.fengfei.lanproxy.common.container.Container; import org.fengfei.lanproxy.common.container.ContainerHelper; public class TestMain { public static void main(String[] args) { ...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package com.atoito.clap.test; import org.assertj.core.api.Assertions; import com.atoito.clap.api.CommandResult; /** * Clap Fest assertions module: extending make all standard Fest assertions available. * */ public class ClapAssertions extends Assertions { public static CommandResultAssert assertThat(CommandRes...
package org.ko.prototype.rest.menu.service; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.IService; import org.ko.prototype.data.entity.Menu; import org.ko.prototype.rest.menu.condition.QueryMenuCondition; import org.ko.prototype.rest.menu.dto.MenuDTO; import j...
/** * @license * Copyright 2013 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 requir...
package com.kuta.base.util; import java.nio.ByteBuffer; import java.util.Base64; import java.util.Collection; import java.util.Map; public class KutaUtil { /** * 检查值是否为null,如果为null返回true,不为null返回false * * @param obj 展开的对象数组 * @return 是否为空 */ public static boolean isValueNull(Object... obj) { for (int i ...
package com.google.inject.servlet; import static org.easymock.EasyMock.createMock; import com.google.inject.Guice; import com.google.inject.Scopes; import com.google.inject.Singleton; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import junit.framewor...
/* * The contents of this file are subject to the OpenMRS Public License * Version 1.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://license.openmrs.org * * Software distributed under the License is distributed on an "AS IS" *...
package uk.gov.pay.connector.wallets; import uk.gov.pay.connector.charge.model.domain.ChargeEntity; import uk.gov.pay.connector.gateway.model.request.AuthorisationGatewayRequest; import uk.gov.pay.connector.wallets.model.WalletAuthorisationData; import java.util.Map; public class WalletAuthorisationGatewayRequest ex...
/* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.potxxx.firstim.PO; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; @Data @No...
/* * 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...
package com.odysee.app.tasks.lbryinc; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteException; import android.os.AsyncTask; import java.util.HashMap; import java.util.Map; import com.odysee.app.MainActivity; import com.odysee.app.data.DatabaseHelp...
/*___Generated_by_IDEA___*/ package org.jetbrains.anko; /* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */ public final class Manifest { }
/* * 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 (c) 2019 Gili Tzabari * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 */ package com.github.cowwoc.requirements.java.internal.extension; import com.github.cowwoc.requirements.java.ValidationFailure; import com.github.cowwoc.requirements.java.extension.Exte...
package cn.leancloud.chatkit.viewholder; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.ViewGroup; /** * Created by wli on 15/8/25. * RecyclerView.ViewHolder 的公共类,做了一些封装。目的: * ViewHolder 与 Adapter 解耦,和 ViewHolder 相关的逻辑都放到 View...
package org.csuc.service.analyse; import com.auth0.jwk.JwkException; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.csuc.client.Client; import org.csuc.dao.AnalyseDAO; import org.csuc.dao.impl.AnalyseDAOImpl; import org.csuc.entities.Analyse; import org.csuc.utils.author...