text
stringlengths
7
995k
package com.fileHandling11; import java.io.File; public class Renameing { public static void main(String[] args) { String s5="R:\\Rohit"; String s6= "R:\\Tembhu"; File f1=new File(s5); File f2= new File(s6); if(f1.exists()) { f1.renameTo(f2); System.out.println("Folder Rename SUccessfully"); } else ...
package org.jgroups.tests; import org.jgroups.*; import org.jgroups.protocols.PingHeader; import org.jgroups.protocols.TpHeader; import org.jgroups.util.UUID; import org.jgroups.util.Util; import org.testng.Assert; import org.testng.annotations.Test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutpu...
package com.packtpub.micronaut.service.mapper; import com.packtpub.micronaut.domain.Pet; import com.packtpub.micronaut.service.dto.PetDTO; import org.mapstruct.Mapper; /** * Mapper for the entity {@link Pet} and its DTO {@link PetDTO}. */ @Mapper(componentModel = "jsr330", uses = {PetTypeMapper.class, VisitMapper....
package com.qa.ims.persistence.domain; import org.junit.Test; import nl.jqno.equalsverifier.EqualsVerifier; public class OrderItemsTest { @Test public void testEquals() { EqualsVerifier.simple().forClass(OrderItems.class).verify(); } }
/* * This file is part of TechReborn, licensed under the MIT License (MIT). * * Copyright (c) 2020 TechReborn * * 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, inc...
package model; import dpda.State; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import view.DrawingPanel; /** * This class is the visual representation of a State in a DPDA. * * @author Joshua */ public class CircleComponent { // Miscellaneous parent variables. private final D...
package com.shopperlator; import android.os.Bundle; import com.facebook.react.ReactActivity; import com.facebook.react.ReactActivityDelegate; import com.facebook.react.ReactRootView; import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView; import expo.modules.splashscreen.singletons.SplashScreen; i...
/* * Copyright 2014-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.amaze.filemanager.utils; /** * General inteface for updating data before it's finished loading * * @author Emmanuel * on 13/5/2017, at 22:45. */ public interface OnProgressUpdate<T> { public void onUpdate(T data); }
/* * Copyright (C) 2018 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...
/* * Copyright 2008 ThoughtWorks, 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 o...
package com.intellij.compiler.artifacts; import com.intellij.openapi.application.WriteAction; import com.intellij.openapi.module.ModifiableModuleModel; import com.intellij.openapi.module.Module; import com.intellij.openapi.project.Project; import com.intellij.openapi.roots.ModifiableRootModel; import com.intellij.open...
/* * 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.element36.cash36.ebics.service; import java.math.BigDecimal; import io.element36.cash36.ebics.dto.TxResponse; public interface EbicsPaymentService { TxResponse makePayment( String msgId, String pmtInfId, String sourceIban, String sourceBic, BigDecimal amount, String c...
package org.apache.ibatis.session; import org.apache.ibatis.logging.Log; import org.apache.ibatis.logging.LogFactory; import org.apache.ibatis.mapping.MappedStatement; /** * Specify the behavior when detects an unknown column (or unknown property type) of automatic mapping target. * * @since 3.4.0 * @author Kazuk...
package com.basicreactnative; import android.app.Application; import android.content.Context; import com.facebook.react.PackageList; import com.facebook.react.ReactApplication; import com.oblador.vectoricons.VectorIconsPackage; import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactPackage; import c...
/* * 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.gtxc.patikacloneserver.repository; /* Created by gt at 12:07 PM on Tuesday, March 08, 2022. Project: patika-clone-server, Package: com.gtxc.patikacloneserver.repository. */ import com.gtxc.patikacloneserver.exceptions.SQLite3Exception; import com.gtxc.patikacloneserver.helper.DBConnector; import c...
/* * (C) Copyright IBM Corp. 2021, 2021 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.cohort.cql.library; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; public class PriorityCqlLibraryProvider i...
package gov.ca.emsa.pulse.broker.dto; import gov.ca.emsa.pulse.broker.entity.EndpointStatusEntity; import java.util.Date; public class EndpointStatusDTO { private Long id; private String name; private Date creationDate; private Date lastModifiedDate; public EndpointStatusDTO(){} public EndpointStatusDTO(...
package me.vilsol.nmswrapper.wraps.unparsed; import me.vilsol.nmswrapper.*; import me.vilsol.nmswrapper.reflections.*; import me.vilsol.nmswrapper.wraps.*; @ReflectiveClass(name = "EntitySquid") public class NMSEntitySquid extends NMSEntityWaterAnimal { public NMSEntitySquid(Object nmsObject){ super(nmsO...
/* * Free Public License 1.0.0 * Permission to use, copy, modify, and/or distribute this software * for any purpose with or without fee is hereby granted. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED * WARRANTIES OF MERCHANTABI...
/* * Copyright (c) 2017 Otávio Santana and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * The Eclipse Public License is available at http://ww...
/* * #%L * de-metas-camel-externalsystems-core * %% * Copyright (C) 2021 metas GmbH * %% * This program 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 * License, or (at your o...
/* * 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.edx.mobile.databinding; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.databinding.DataBindingComponent; import androidx.databinding.DataBin...
package com.curtisnewbie.service.auth.remote.vo; import lombok.Data; import org.springframework.util.Assert; import java.io.Serializable; import java.util.List; /** * @author yongjie.zhuang */ @Data public class UpdateUserAppReqCmd implements Serializable { /** * User's id */ private int userId;...
package mchorse.metamorph.network.server.creative; import mchorse.mclib.network.ServerMessageHandler; import mchorse.metamorph.api.MorphAPI; import mchorse.metamorph.network.common.creative.PacketAcquireMorph; import net.minecraft.entity.player.EntityPlayerMP; /** * Server handler acquire morph * * This handler i...
/* * Copyright (C) 2017 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...
package jstore.testhelpers.rivals; import java.util.Arrays; import java.util.Collection; import jstore.Messages; import jstore.StringSet; public abstract class StringSetFactory { public StringSet create(String[] strings) { if (strings == null) { throw new IllegalArgumentException(Messages.STRING_COLLECTI...
package io.ray.serve; public class ReplicaName { private String deploymentTag; private String replicaSuffix; private String replicaTag = ""; private String delimiter = "#"; public ReplicaName(String deploymentTag, String replicaSuffix) { this.deploymentTag = deploymentTag; this.replicaSuffix = r...
/* Class253 - Decompiled by JODE * Visit http://jode.sourceforge.net/ */ abstract class Class253 implements Interface8 { private final void method1605(float f, float f_0_, float f_1_, float f_2_, int i, int i_3_, int i_4_, int i_5_, int i_6_) { if (i != 0) { double d = (double) (i_3_ & 0xffff) * 9.587379924...
package thito.septo.io; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.StringReader; import java.net.URLDecoder; import java.util.Properties; import java.util.zip.Deflater; import java.util.zip.GZIPOutputS...
package global; import java.util.ArrayList; import testfunction.TestFunction; public class Blackboard { public ArrayList<Solution> solutions; // blackboard knows function, easier to evaluate stuff here // cause many classes do the same, therefor do it here public TestFunction fct1; ...
package com.taotao.cloud.bigdata.hadoop.atguigu.mapreduce.a2_writable; import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Job; import org.apache.hadoop.mapreduce.lib.input.FileInputFormat; impor...
/* * 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")...
/** * Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.com) * * 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...
package pl.itcraft.appstract.admin.fw.security; import java.io.Serializable; import org.springframework.security.access.PermissionEvaluator; import org.springframework.security.core.Authentication; import pl.itcraft.appstract.core.enums.Permission; import pl.itcraft.appstract.core.security.BasePermissionEvaluator; ...
package tech.pcloud.proxy.client.service; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Service; import tech.pcloud.proxy.client.listeners.ServiceRegisterListener; imp...
package org.apache.tomcat.dbcp.pool2; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Timer; import java.util.TimerTask; import java.util.concurrent.locks.ReentrantReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock;...
/* * Copyright The OpenTelemetry 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 a...
/** * Copyright Google Inc. All Rights Reserved. * <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 ...
/* * Copyright (c) 2009-2010, Sergey Karakovskiy and Julian Togelius * 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 *...
package cn.hippo4j.common.toolkit; import org.slf4j.MDC; /** * MD util. * * @author chen.ma * @date 2022/3/3 08:30 */ public class MDCUtil { /** * Get and remove. * * @param key * @return */ public static String getAndRemove(String key) { String val = MDC.get(key); ...
/** * Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith...
package org.jruby.ir.operands; import org.jruby.ir.IRVisitor; public abstract class TemporaryVariable extends Variable { private final String name; public TemporaryVariable(String name) { super(OperandType.TEMPORARY_VARIABLE); this.name = name; } /** * Differentiates between di...
package com.ssafy.wine.service; import java.io.File; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardCopyOption; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework....
package org.jembi.bsis.helpers.builders; import org.jembi.bsis.dto.BloodUnitsOrderDTO; import org.jembi.bsis.model.componenttype.ComponentType; import org.jembi.bsis.model.location.Location; import org.jembi.bsis.model.order.OrderType; public class BloodUnitsOrderDTOBuilder extends AbstractBuilder<BloodUnitsOrderDTO>...
package com.hankcs.dic.config; import com.hankcs.dic.Dictionary; import com.hankcs.help.ESPluginLoggerFactory; import org.apache.logging.log4j.Logger; import org.elasticsearch.core.internal.io.IOUtils; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.Inp...
/** * Copyright (c) 2017-present, Future Corporation * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package jp.co.future.uroborosql.utils; import java.util.Arrays; import java.util.regex.Pattern; public final class StringUtils { p...
/* * The MIT License * * Copyright 2016 Simon Berndt. * * 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 rights * to use, copy, m...
package conquest.bot.fight; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.math.RoundingMode; import java.text.DecimalFormat; import java.text.NumberFormat; /** * Serve...
/* * Copyright (c) 1998 The Regenstrief Institute. All rights reserved. * * This program 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 License, or * (at your option) any later ...
package com.jonnyliu.proj.wechat.converter; import com.google.common.base.Preconditions; import com.jonnyliu.proj.wechat.enums.EventType; import com.jonnyliu.proj.wechat.enums.MessageType; import com.jonnyliu.proj.wechat.message.request.*; import com.jonnyliu.proj.wechat.utils.MessageUtils; import lombok.extern.slf4j....
/* * Copyright 2012-2013 eBay Software Foundation and selendroid committers. * * 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...
/* * EVE Swagger Interface * An OpenAPI for EVE Online * * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package net.troja.eve.esi.model; import java.util.Objects; import com.fasterxml.j...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInspection.dataFlow; import com.intellij.codeInspection.dataFlow.StandardMethodContract.ValueConstraint; import com.intellij.codeInspection.dataFlow.valu...
package mage.sets; import mage.cards.ExpansionSet; import mage.constants.Rarity; import mage.constants.SetType; /** * * @author Backfir3 */ public final class Judgment extends ExpansionSet { private static final Judgment instance = new Judgment(); public static Judgment getInstance() { return ins...
package fastshop.fastfood.domain; import lombok.Getter; import lombok.Setter; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity @Setter @Getter public class Product { @Id @GeneratedValue private Long product_id; // 상품번호 private String p_n...
package signature; public class TestTypeVariables<T, E extends String, R extends Object & Comparable<? super R>> { void signature() { T t = null; E e = null; R r = null; } }
/* * 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...
package ru.kontur.vostok.hercules.util.application; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ru.kontur.vostok.hercules.util.net.LocalhostResolver; import ru.kontur.vostok.hercules.util.properties.PropertyDescription; import ru.kontur.vostok.hercules.util.properties.PropertyDescriptions; import r...
package xp; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.GridLayout; import java.awt.RenderingHints; import specialite.competence.Competence; import statique.Style; import composants.panel.PanelImage; public class PanelXP extends PanelImage { private static final lon...
/** * generated by Xtext 2.13.0 */ package io.typefox.xtext.langserver.example.myDsl.impl; import io.typefox.xtext.langserver.example.myDsl.MyDslPackage; import io.typefox.xtext.langserver.example.myDsl.state_event_definition; import io.typefox.xtext.langserver.example.myDsl.statemachine_definition; import org.ecli...
package uk.gov.hmcts.reform.prl.models.complextypes.applicationtab.allegationsofharm; import lombok.Builder; import lombok.Data; import uk.gov.hmcts.reform.prl.enums.YesOrNo; @Builder @Data public class AllegationsOfHarmOverview { private final YesOrNo allegationsOfHarmYesNo; private final YesOrNo allegation...
package com.mythtrad.proj2.t5; /** * @Author:Yerik Xiang * @Date:2020/9/17 13:59 * @Desc: */ public class MyThread2 extends Thread { private Task task; public MyThread2(Task task) { this.task = task; } @Override public void run() { super.run(); CommUtils.beginTime2 = S...
package com.kolohelios.reactnative.localapi; import com.facebook.react.bridge.ReadableArray; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import okhttp3.HttpUrl; import okhttp3.MediaType; import okhttp3.Request; import okhttp3.RequestBody; import okhttp3.Resp...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. */ package com.microsoft.embeddedsocial.event.click; import com.microsoft.embeddedsocial.base.event.AbstractEvent; import com.microsoft.embeddedsocial.base.event...
package edu.umass.cs.pig.test; import static org.junit.Assert.assertTrue; import java.util.Map; import java.util.Properties; import org.apache.pig.ExecType; import org.apache.pig.PigServer; import org.apache.pig.backend.executionengine.ExecException; import org.apache.pig.data.DataBag; import org.apache.pig.impl.Pig...
/* * AT&T - PROPRIETARY * THIS FILE CONTAINS PROPRIETARY INFORMATION OF * AT&T AND IS NOT TO BE DISCLOSED OR USED EXCEPT IN * ACCORDANCE WITH APPLICABLE AGREEMENTS. * * Copyright (c) 2013 AT&T Knowledge Ventures * Unpublished and Not for Pu...
/* * * * ****************************************************************************** * * * Copyright (c) 2015-2019 Skymind Inc. * * * Copyright (c) 2019 Konduit AI. * * * * * * This program and the accompanying materials are made available under the * * * terms of the Apache License, Version 2.0 wh...
package com.kxbhj; public class Help { private int max; private int min; private float sum; private float avg; private float zws; public Help(int max, int min, float sum, float avg, float zws) { this.max = max; this.min = min; this.sum = sum; this.avg = avg; this.zws = zws; } public int getMax() { ...
/* * 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...
/* * Copyright 2021 Google 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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 License at * * http://www.apache.org...
package com.vaenow.appupdate.android; import android.os.Environment; import android.os.Handler; import org.json.JSONObject; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.net.HttpURLConnection; /** * 下载文件线程 */ public class DownloadApkThread implements Runnable { ...
/** * This file is part of choco-solver, http://choco-solver.org/ * * Copyright (c) 2017, 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; import org.chocosol...
/* * 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 net.wpm.reflectasm; /** * Copyright (c) 2008, Nathan Sweet * 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 noti...
/* * © 2021. TU Dortmund University, * Institute of Energy Systems, Energy Efficiency and Energy Economics, * Research group Distribution grid planning and operation */ package edu.ie3.datamodel.io.csv; import edu.ie3.datamodel.exceptions.SinkException; import edu.ie3.util.StringUtils; import java.io.*; import java...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package com.mycompany.myapp.service; import com.mycompany.myapp.config.Constants; import com.mycompany.myapp.MenuwebApp; import com.mycompany.myapp.domain.User; import io.github.jhipster.config.JHipsterProperties; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Argum...
package xyz.flysium.photon.xalgorithm.easy; /** * 70. 爬楼梯 * <p> * https://leetcode-cn.com/problems/climbing-stairs/ * * @author zeno */ public class T0070_ClimbingStairs { //假设你正在爬楼梯。需要 n 阶你才能到达楼顶。 // // 每次你可以爬 1 或 2 个台阶。你有多少种不同的方法可以爬到楼顶呢? // // 注意:给定 n 是一个正整数。 // // 示例 1: // // 输入: 2 //输出: 2 //解释: 有两种方法可以爬到楼顶。...
/* * This file is part of "lunisolar-magma". * * (C) Copyright 2014-2019 Lunisolar (http://lunisolar.eu/). * * 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.o...
package org.springframework.security.web.servlet.util.matcher; import java.util.Collections; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.Captor; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import org....
// -------------------------------------------------------------------------------- // Copyright 2002-2022 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:/...
/* * 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...
/* * 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.alibaba.alink.operator.common.classification.tensorflow; import org.apache.flink.api.common.functions.util.ListCollector; import org.apache.flink.api.common.typeinfo.Types; import org.apache.flink.ml.api.misc.param.Params; import org.apache.flink.table.api.TableSchema; import org.apache.flink.types.Row; i...
package io.iconator.kyc.controller.exceptions; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; import static io.iconator.kyc.controller.exceptions.constants.KycExceptionConstants.KYC_NOT_YET_STARTED_CODE; import static io.iconator.kyc.controller.exceptions.co...
package com.qianhong.calculator; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import org.apache.http.util.EntityUtils; import org.juni...
/******************************************************************************* * Copyright SVG, Inc. * Copyright Leidos Biomedical Research, Inc. * * Distributed under the OSI-approved BSD 3-Clause License. * See https://github.com/CBIIT/HPC_DME_APIs/LICENSE.txt for details. **********************************...
package org.lukosan.salix.hibernate; import java.io.IOException; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import javax.persistence.Transient; import org.lukosan.salix.ResourceWriter; import org.lukosan.salix.SalixResourceText; import org.lukosan.salix.SalixResourceType; @Entity ...
package com.datreactnative; import com.facebook.react.ReactActivity; public class MainActivity extends ReactActivity { /** * Returns the name of the main component registered from JavaScript. This is used to schedule * rendering of the component. */ @Override protected String getMainComponentName() { ...
package net.sourceforge.ondex.rdf.export.mappers; import static info.marcobrandizi.rdfutils.commonsrdf.CommonsRDFUtils.COMMUTILS; import static info.marcobrandizi.rdfutils.namespaces.NamespaceUtils.iri; import java.util.Map; import java.util.Optional; import org.apache.commons.rdf.api.Graph; import info.marcobrandi...
package org.vcell.vmicro.op; import cbit.vcell.parser.Expression; import cbit.vcell.parser.ExpressionException; public class Generate2DExpModel_GaussianBleachOp extends Generate2DExpModelOpAbstract { protected Expression createBleachExpression( double bleachRadius, double bleachRate, double bleachMonitor...
import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName...
/* ** 2016 Juni 19 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. */ package com.fuzs.gamblingst...
/************************************************************** * * 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 y...
package com.open_open.englishdictation; import android.graphics.Color; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.CheckBox; import android.widget...