text
stringlengths
7
1.01M
/* * 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 org.googlecode.jef.spring; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.Properties; import jef.database.datasource.SimpleDataSource; import com.alibaba.druid.mock.MockDriver; public class Mocks { static class TesterDrtver extends MockDriver { ...
/* Generated by camel build tools - do NOT edit this file! */ package org.apache.camel.k.knative.customizer; import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.spi.ExtendedPropertyConfigurerGetter; import org.apache.camel.spi.PropertyConfigurerGetter; import org.apache.camel.spi.Confi...
package com.xianzhi.integration.activity; import android.os.Bundle; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import com.xianzhi.integration.R; import com.xianzhi.integration.adapter.AssessCheckDetailAdapter; import com.xianzhi.integ...
/** * ********************************************************************** * * <p>DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * <p>Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. * * <p>Use is subject to license terms. * * <p>Licensed under the Apache License, Versi...
/* * This file is generated by jOOQ. */ package de.rwth.dbis.acis.bazaar.service.dal.jooq.tables.records; import de.rwth.dbis.acis.bazaar.service.dal.jooq.tables.RoleRoleMap; import org.jooq.Field; import org.jooq.Record1; import org.jooq.Record3; import org.jooq.Row3; import org.jooq.impl.UpdatableRecordImpl; imp...
package com.gildedrose; import com.gildedrose.handler.*; import java.util.HashMap; import java.util.Map; public class ItemHandlerFactory { private static final ItemHandler DEFAULT_ITEM_HANDLER = new ItemHandler() { }; private static final Map<String, ItemHandler> ITEM_HANDLERS = new HashMap<>(); pr...
package Simulation.parse; import java.util.Enumeration; import java.util.ArrayList; import java.util.List; import java.util.AbstractMap.SimpleEntry; import java.util.Map.Entry; import java.util.ResourceBundle; import java.util.regex.Pattern; public class TypeDictionary { // "types" and the regular expression pattern...
//$Id: rawdata.java 1082 2008-02-25 23:44:09Z ma $ /** * Copyright (C) 2006 WSU All Rights Reserved * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose, without fee, and without written agreement is * hereby granted, provided that the above copyright notice, the ...
/* * 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...
@javax.xml.bind.annotation.XmlSchema(namespace = "urn:tyler:efm:services:schema:GetServiceContactResponse", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) package tyler.efm.services.schema.getservicecontactresponse;
/** * The TwoDimensionalShape class inherits * from shape and implements the shape interface. * This is an additional interface that requires * additional methods to be defined. */ abstract class TwoDimensionalShape extends Shape implements Shape.shapeInterface { /** * The dimension1 is used to ho...
package com.ctrip.framework.cs.instrument; import com.ctrip.framework.cs.asm.ClassReader; import com.ctrip.framework.cs.asm.ClassWriter; import com.ctrip.framework.cs.asm.util.CheckClassAdapter; import com.ctrip.framework.cs.code.ProfileClassVisitor; import com.ctrip.framework.cs.code.SourceCodeHelper; import com.ctri...
/* * Copyright 2012-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 com.riverflows.data; import java.util.Map; import com.riverflows.data.Variable.CommonVariable; public abstract class ValueConverter { /** * * @param fromUnit * @return array of the units that this converter can convert fromUnit to, or an empty array if none. Never returns null. */ public abstract...
package manager.view; import org.tinylog.Logger; import org.tinylog.Supplier; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JComponent; import javax.swing.JDialog; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import ...
public class Dog extends Animal{ private int tailSpeed; public Dog(String WhatisAnimalName , String WhatIsAnimalBreed,int tailSpeed) { // subclass (child class) constructor with three parameters super(WhatisAnimalName, WhatIsAnimalBreed); this.tailSpeed = tailSpeed; } public Dog() { /...
/* * Copyright 2017-2022 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 io.flutter.plugins.wifi_info_flutter; import androidx.annotation.NonNull; import io.flutter.embedding.engine.plugins.FlutterPlugin; import io.flutter.plugin.common.MethodCall; import io.flutter.plugin.common.MethodChannel; import io.flutter.plugin.common.MethodChannel.MethodCallHandler; import io.flutter.plugi...
package no.entra.bacnet.internal.apdu; import no.entra.bacnet.octet.Octet; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import static no.entra.bacnet.internal.apdu.ApplicationTag.APPTAG4LENGTH4; import static no.entra.bacnet.internal.apdu.ApplicationTag.APPTAG8LENGTH2; import static org...
package eu.erasmuswithoutpaper.registry.validators; import static org.joox.JOOX.$; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.StringWriter; import java.net.SocketTimeoutException; import java.net.URISyntaxException; import java.nio.charset.StandardChars...
package com.cezarykluczynski.stapi.model.genre.entity; import com.cezarykluczynski.stapi.model.common.annotation.TrackedEntity; import com.cezarykluczynski.stapi.model.common.annotation.enums.TrackedEntityType; import com.cezarykluczynski.stapi.model.genre.repository.GenreRepository; import lombok.Data; import org.hib...
/** * Base package for the project, which provides utilities for creating and * managing Tomcat server instances. */ package com.justdavis.karl.tomcat;
/* ==================================================================== 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 seedu.address.testutil; import static seedu.address.logic.commands.CommandTestUtil.VALID_ADDRESS_AMY; import static seedu.address.logic.commands.CommandTestUtil.VALID_ADDRESS_BOB; import static seedu.address.logic.commands.CommandTestUtil.VALID_EMAIL_AMY; import static seedu.address.logic.commands.CommandTestU...
/* * xTest * Copyright (C) 2015 Stefano Fornari * * 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 with the addition of the following permission * added to Section 15 as pe...
/* * Copyright 2020 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 or agr...
package jvizedit.mvc.content; import java.util.Collection; import java.util.HashSet; import java.util.Set; import jvizedit.mvc.IController; import jvizedit.mvc.content.core.IContentManager; public class ControllerUpdateContext implements IContentUpdateContext<IController> { private final IContentManager...
/* * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin */ package org.apache.camel.component.google.drive.internal; import java.lang.reflect.Method; import java.util.List; import com.google.api.services.drive.Drive.Changes; import org.apache.camel.support.component.ApiMethod; import org.ap...
package edu.fiuba.algo3.controlador; import edu.fiuba.algo3.modelo.policia.Policia; import edu.fiuba.algo3.modelo.policia.elementosDeTrabajo.Temporizador; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.scene.control.*; import javafx.scene.layout.AnchorPane; import javafx.scene.text.TextFlow; imp...
package picocli; import org.junit.Rule; import org.junit.Test; import org.junit.contrib.java.lang.system.ProvideSystemProperty; import picocli.CommandLine.Command; import picocli.CommandLine.Help.Ansi; import picocli.CommandLine.Model.CommandSpec; import picocli.CommandLine.Option; import static org.junit.Assert.*; ...
// Copyright 2000-2018 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.openapi.vcs.checkin; import com.intellij.codeInsight.actions.ReformatCodeProcessor; import com.intellij.openapi.fileEditor.FileDocumentManager; import com.i...
package com.taluttasgiran.rnsecurestorage; import android.content.SharedPreferences; import android.os.Build; import androidx.annotation.Nullable; import com.facebook.react.bridge.Promise; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContextBaseJavaModule; import com...
/* Copyright 2002-2022 CS GROUP * Licensed to CS GROUP (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/* * 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 ...
/* * 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.easyshop.common.enums; /** * 用户会话 * * @author ruoyi */ public enum OnlineStatus { /** 用户状态 */ on_line("在线"), off_line("离线"); private final String info; private OnlineStatus(String info) { this.info = info; } public String getInfo() { return info; ...
package net.minecraft.client.gui; import com.google.common.base.Strings; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.Message; import com.mojang.brigadier....
package io.github.aerhakim.marimasak.models; import com.google.gson.annotations.SerializedName; import java.util.List; public class GetSearch { @SerializedName("results") List<Search> searchList; String error; public GetSearch(List<Search> searchList, String error) { this.searchList = searc...
/* * 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.smaato.soma.p236a; /* renamed from: com.smaato.soma.a.I */ /* compiled from: VideoChrome */ class C12101I { /* renamed from: a */ final /* synthetic */ C12097b f37977a; C12101I(C12097b this$1) { this.f37977a = this$1; } }
package org.openecomp.sdc.be.servlets; import com.jcabi.aspects.Loggable; import io.swagger.annotations.*; import org.openecomp.sdc.be.components.impl.GroupBusinessLogicNew; import org.openecomp.sdc.be.datatypes.elements.PropertyDataDefinition; import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum; import org....
/* * MIT License * * Copyright (c) 2020 Chainmail Studios * * 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...
/* * Copyright (C) 2013 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...
import java.util.*; public class FractionalKnapsack{ //Knapsack Greedy / Fractional Knapsack public static void knapsack(int n, int m, float[] w, float[] p) { float[] x = new float[n]; int k; float u=m,profit=0,weight=0; for(int i=0;i<n;i++) x[i]=0; for(k = 0;...
package org.ranapat.examples.githubbrowser.data.dao; import androidx.room.Dao; import androidx.room.Insert; import androidx.room.OnConflictStrategy; import androidx.room.Query; import org.ranapat.examples.githubbrowser.data.entity.Configuration; @Dao public interface ConfigurationDao { @Query("UPDATE configurati...
package com.acunetix; import hudson.FilePath; import net.sf.json.JSONArray; import net.sf.json.JSONNull; import net.sf.json.JSONObject; import javax.net.ssl.HttpsURLConnection; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.net...
package com.example.hai_da_shi_tang2019; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.ListView; public class fei_cui_yu_wan_miao_mu_er extends AppCompatActivity { private String[]data={"鱼丸又称“鱼包肉”,用鳗鱼、鲨鱼或者淡水鱼剁蓉,加甘薯粉(淀粉)搅拌均匀,再包以猪瘦肉...
package com.waibao.project.controller; import com.sun.javafx.collections.MappingChange; import com.waibao.project.bean.Appointment; import com.waibao.project.bean.Equipment; import com.waibao.project.bean.Project; import com.waibao.project.mapper.AppointmentMapper; import com.waibao.project.mapper.EquipmentMapper; im...
/* * 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.qa.ims.services; import java.util.List; import com.qa.ims.persistence.dao.Dao; import com.qa.ims.persistence.domain.Customer; public class CustomerServices implements CrudServices<Customer> { private Dao<Customer> customerDao; public CustomerServices(Dao<Customer> customerDao) { this.customerDao =...
package com.lilierygina.detailingstudio.dao; import com.lilierygina.detailingstudio.entity.Order; import org.springframework.data.jpa.repository.JpaRepository; public interface OrderRepository extends JpaRepository<Order, Integer> { }
package cohadar.assembler.code; import cohadar.interpreter.program.CCProgram; interface TextLine { void compile(AsmSource src, CCProgram prog); }
/* * 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.ovirt.engine.core.common.vdscommands; import org.ovirt.engine.core.compat.Guid; public class AddVdsVDSCommandParameters extends VdsIdVDSCommandParametersBase { public AddVdsVDSCommandParameters(Guid vdsId) { super(vdsId); } public AddVdsVDSCommandParameters() { } }
package com.ruoyi.activiti.controller; import com.ruoyi.activiti.domain.dto.ProcessDefinitionDTO; import com.ruoyi.activiti.service.IProcessDefinitionService; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi...
package com.daop.msc.seata.account; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org...
/* * File: DataUtils.java * * Copyright 2009 Muradora * * 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 applicab...
/** * 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 de.cidaas.sdk.android.cidaasverification.data.entity.authenticatedhistory; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.io.Serializable; @JsonIgnoreProperties(ignoreUnknown = true) public class IpAddressEntity implements Serializable { String ipAddress = ""; String type =...
package mekanism.api.recipes.cache; import javax.annotation.ParametersAreNonnullByDefault; import mekanism.api.annotations.FieldsAreNonnullByDefault; import mekanism.api.annotations.NonNull; import mekanism.api.gas.GasStack; import mekanism.api.recipes.PressurizedReactionRecipe; import mekanism.api.recipes.inputs.IInp...
package cn.ntv; public class Parent extends Object { public void function() { System.out.println("function in Parent"); } }
/* * Copyright 2009-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...
// SPDX-License-Identifier: MIT package com.daimler.sechub.pds; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springf...
package tk.jingzing.service; import tk.jingzing.YApp; import tk.jingzing.domain.PersistentToken; import tk.jingzing.domain.User; import tk.jingzing.repository.PersistentTokenRepository; import tk.jingzing.repository.UserRepository; import java.time.ZonedDateTime; import tk.jingzing.service.util.RandomUtil; import java...
package buttons; /** * Common interface for all buttons. */ public interface Button { void render(); void onClick(); }
package org.apache.helix.rest.metadatastore.accessor; /* * 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 t...
package com.ubiquigame.network; import com.ubiquigame.utility.Utility; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.SocketTimeoutException; import java.util.ArrayList; import java.util.concurrent.BlockingQueue; import ubiquigame.common.constants.NetworkC...
/* * Copyright 2019 YugaByte, Inc. and Contributors * * Licensed under the Polyform Free Trial License 1.0.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://github.com/YugaByte/yugabyte-db/blob/master/licenses/POLYFORM-...
package it.innove; import android.app.Activity; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCallback; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattDescriptor; import android.bluetooth.BluetoothGat...
/** * Licensed to Jasig under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright ownership. Jasig * licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use * this file except in complian...
/* * 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...
/* * 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.mygdx.elmaze.view.menus; import java.util.ArrayList; import java.util.LinkedList; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.ui.Button; ...
package com.javamonitor.tools; import org.apache.log4j.Level; /** * Provides a {@link ThreadLocal} implementation of {@link StopwatchNano} to facilitate cross-object * timing without passing Stopwatch as an argument. * <p/> * Example: * ThreadLocalStopwatchNano.init("work on thread 1"); * ThreadLocalStopwatchNa...
/** * Copyright (c) 2003-2010, Xith3D Project Group all rights reserved. * * Portions based on the Java3D interface, Copyright by Sun Microsystems. * Many thanks to the developers of Java3D and Sun Microsystems for their * innovation and design. * * Redistribution and use in source and binary forms, with or wi...
/* * * * Copyright 2021 UBICUA. * * * * 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 a...
/* * Copyright 2002-2016 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...
package frc.Auto.Actions; import frc.subSystems.Drive; public class xyTurn implements Action { Drive mDrive; double destX; double angle; double destY; public xyTurn(double destinationX,double destinationY, double angle){ this.destX = destinationX; this.destY = destinationY; ...
/* * 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 ...
/* * Copyright 2013-2018 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 2019 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package cn.showcodes.raft.impl; import cn.showcodes.raft.CommunicationNode; public class FollowerRef { CommunicationNode communicationNode; long lastAlive; long createTime; long nextIndex; long matchedIndex; }
/* * Copyright (C) ExBin 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 applicable law or agreed to...
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
package Radium.Math; /** * Transform axes */ public enum Axis { X, Y, Z }
package no.nav.testnav.libs.reactivesecurity.action; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Component; import reactor.core.publisher.Mono; import java.util.concurrent.Callable; import no.nav.testnav.libs.reactivesecurity.domain.Token; @Component @RequiredArgsConstructor public ...
package com.xsir.pgyerappupdate; 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.*; /** * Instrumented test, which will execute on an Android...
package com.slack.api; import com.slack.api.audit.AuditClient; import com.slack.api.audit.impl.AuditClientImpl; import com.slack.api.methods.*; import com.slack.api.methods.impl.AsyncMethodsClientImpl; import com.slack.api.methods.impl.MethodsClientImpl; import com.slack.api.methods.request.rtm.RTMConnectRequest; impo...
package com.farzadz.poll.security; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.security.crypto.password.PasswordEncoder; @Configuration public class ...
package com.youzhi.model; import java.io.Serializable; import java.util.Date; import lombok.Data; import lombok.experimental.Accessors; /** created by mybatis generator 2020/04/19 */ @Data @Accessors(chain = true) public class GmsClassification implements Serializable { /** * 分类id * * @mbggenerate...
package com.ai.cloud.skywalking.analysis.chainbuild.util; /** * 版本识别器 * * @author wusheng * */ public class VersionIdentifier { /** * 根据tid识别数据是否可分析<br/> * 目前允许分析所有1.x的版本号 * * @param tid * @return */ public static boolean enableAnaylsis(String tid){ if(tid != null){ String[] tidSections = tid...
/* * 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 2019-2021 CloudNetService team & 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 * * Unless required by...
/* * Copyright 2012 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...
/* * Copyright 2019-2022 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...
package uk.gov.ons.ctp.response.collection.exercise.validation; import java.util.function.Function; import uk.gov.ons.ctp.response.collection.exercise.domain.ExerciseSampleUnit; /** * Classifier Types used to search the Collection Instrument Service to return the appropriate * collection instrument for a sample uni...
/* * The MIT License * Copyright (c) 2015 CSC - IT Center for Science, http://www.csc.fi * * 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 limitat...
package org.fxmisc.richtext; import javafx.beans.value.ObservableValue; import javafx.geometry.Bounds; import javafx.scene.control.IndexRange; import org.fxmisc.richtext.model.StyledDocument; import java.text.BreakIterator; import java.util.Optional; /** * An object for encapsulating a selection in a given area. *...
/* * 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...