text
stringlengths
7
1.01M
/* * Copyright 2002-2013 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.myyrakle.springboot_test.service; /*import lombok.AllArgsConstructor; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.userdetails.User; import org.springframework.security.core.use...
package top.wexue.base.dao; import com.foxinmy.weixin4j.qy.model.Party; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Service; import java.util.List; import java.util.Map; /** * Created by lihb on 7/26/15. */ ...
/* * 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 ...
/* * The gemma project * * Copyright (c) 2014 University of British Columbia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *...
package be.howest.twentytwo.parametergame.dataTypes; import java.io.Serializable; import java.util.HashSet; import java.util.LinkedList; import java.util.Queue; import java.util.Set; public class LevelData implements LevelDataI, Serializable{ private BoxDataI world; private Set<PlanetDataI> planets; private BoxD...
// 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.openapi.vcs.ex; import org.jetbrains.annotations.NotNull; public class ChangedLines<T> { // VisualPosition.line public final int line1; public final i...
package com.louyi.modules.job.utils; import com.louyi.common.utils.SpringContextUtils; import com.louyi.modules.job.entity.ScheduleJobEntity; import com.louyi.modules.job.entity.ScheduleJobLogEntity; import com.louyi.modules.job.service.ScheduleJobLogService; import org.apache.commons.lang.StringUtils; import org.qu...
package com.hudson.codes;//编写一个函数来查找字符串数组中的最长公共前缀。 // // 如果不存在公共前缀,返回空字符串 ""。 // // 示例 1: // // 输入: ["flower","flow","flight"] //输出: "fl" // // // 示例 2: // // 输入: ["dog","racecar","car"] //输出: "" //解释: 输入不存在公共前缀。 // // // 说明: // // 所有输入只包含小写字母 a-z 。 // Related Topics 字符串 // 👍 1363 👎 0 //leetcode submit regi...
package net.veniture.exercise.jira.events; import com.atlassian.event.api.EventListener; import com.atlassian.event.api.EventPublisher; import com.atlassian.plugin.event.events.PluginEnabledEvent; import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; import net.veniture.exercise.jira.entity.Bo...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.config.codegen; import org.junit.Test; import java.io.IOException; import static com.yahoo.config.codegen.DefParserTest.assertLineFails; import static com.yahoo.config.codegen.DefParserTest.crea...
package party.lemons.biomemakeover.entity; import net.minecraft.entity.EntityType; import net.minecraft.entity.data.DataTracker; import net.minecraft.entity.data.TrackedData; import net.minecraft.entity.data.TrackedDataHandlerRegistry; import net.minecraft.entity.vehicle.BoatEntity; import net.minecraft.item.Item; imp...
package focusedCrawler.crawler.crawlercommons.test; import static org.junit.Assert.assertEquals; import org.junit.After; import org.junit.Before; import org.junit.Test; import focusedCrawler.crawler.crawlercommons.fetcher.http.UserAgent; public class UserAgentTest { @Before public void setUp() throws Exce...
package prefuse.demos; import java.awt.Cursor; import java.awt.event.MouseEvent; import java.awt.geom.Point2D; import java.util.Iterator; import javax.swing.BorderFactory; import javax.swing.JComponent; import javax.swing.JFrame; import javax.swing.SwingUtilities; import prefuse.Constants; import prefuse.Display; im...
package services; import entities.*; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; public class DatabaseService { public void addCar(Car car) { String insertCarSql = String.format("INSERT INTO cars( license_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...
/* * 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 mekanism.common.tile; import mekanism.common.registries.MekanismBlocks; import mekanism.common.tile.base.TileEntityMekanism; public class TileEntityIndustrialAlarm extends TileEntityMekanism { public TileEntityIndustrialAlarm() { super(MekanismBlocks.INDUSTRIAL_ALARM); this.onPowerChange(...
package com.cool.dao; import java.util.List; import java.util.Map; import com.cool.base.BaseMapper; import com.cool.model.TaskScheduler; public interface TaskSchedulerMapper extends BaseMapper<TaskScheduler>{ public List<TaskScheduler> queryTaskSchedulerList(Map<String, Object> params); }
package com.redescooter.ses.mobile.rps.vo.restproductionorder; import com.redescooter.ses.api.common.vo.base.GeneralResult; import lombok.*; import java.util.List; import io.swagger.annotations.*; /** * @ClassName:ProductQcTempleteItemResult * @description: ProductQcTempleteItemResult * @author: Alex * @Version...
/* * 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 core.commands; import core.Command; import core.CommandHandler; import main.Main; public class Help extends Command { public Help() { super("help", "Displays all commands and their function."); } @Override public void execute(String[] args) { if (args != null) { if (! args[0].equals("*"))...
/** * This document is a part of the source code and related artifacts * for CollectionSpace, an open source collections management system * for museums and related institutions: * http://www.collectionspace.org * http://wiki.collectionspace.org * Copyright 2009 University of California at Berkeley * L...
package io.undertow.io; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.nio.charset.Charset; import io.undertow.UndertowMessages; import io.undertow.server.HttpServerExchange; import org.xnio.Buffers; import org.xnio.ChannelExceptionHandler; import org.xnio.Ch...
package cn.code.chameleon.downloader; import cn.code.chameleon.carrier.Page; import cn.code.chameleon.carrier.Request; import cn.code.chameleon.carrier.Site; import cn.code.chameleon.carrier.Task; import cn.code.chameleon.selector.Html; import cn.code.chameleon.selector.PlainText; import cn.code.chameleon.selenium.Sel...
package org.femtoframework.coin.metrics.annotations; import org.femtoframework.bean.annotation.Property; import java.util.concurrent.atomic.AtomicInteger; public class MetricSampleBean { private AtomicInteger counter = new AtomicInteger(); private int myGauge = -1; public int incrementAndGet() { ...
package com.jinlong.system.model.form.role; import java.io.Serializable; import com.jinlong.system.model.po.role.RoleInfoPO; import lombok.Data; /** * 角色Form类 * @author asus */ @Data public class RoleForm implements Serializable { /** * serialVersionUID */ private static final long seria...
/* * 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 2016 Jonathan Paz <jonathan@pazdev.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 * * Unless requir...
package xyz.flysium.dao.entity; import java.util.ArrayList; import java.util.Date; import java.util.List; public class UserAccountBookDOExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public UserAccountBookDOExample() { oredCriter...
package lk.ijse.spring.rest.traveler.controller; import lk.ijse.spring.rest.traveler.dto.ArticleDTO; import lk.ijse.spring.rest.traveler.service.ArticleService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.*; i...
/* * Copyright 2015 - 2018 Anton Tananaev (anton@traccar.org) * * 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 b...
package marquez.api; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import java.net.URI; import java.sql.Timestamp; import java.util.Objects; import java.util.UUID; import javax.validation.constraints.NotNull; public final class IcebergTableVersion extends D...
package io.swagger.v3.core.util; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonDeserializer; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml...
package com.prowidesoftware.swift.model.mx; import com.prowidesoftware.swift.model.mx.dic.*; import com.prowidesoftware.swift.model.mx.AbstractMX; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annot...
/* * 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...
/* * 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 ...
/* * (C) Copyright IBM Corp. 2020. * * 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 w...
// Targeted by JavaCPP version 1.5.1: DO NOT EDIT THIS FILE package org.bytedeco.opencv.opencv_dnn; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.openblas.global.openblas_nolapack.*; import static org.bytedeco.openblas.global.openblas.*; import...
/* * Copyright 2012-2019 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 com.knewton.planner.company.dto; import lombok.*; import com.knewton.planner.common.api.BaseResponse; @Getter @Setter @NoArgsConstructor @AllArgsConstructor @ToString(callSuper = true) @EqualsAndHashCode(callSuper = true) public class ListJobResponse extends BaseResponse { private JobList jobList; }
/** * Copyright 2018 Licensed under the MIT license * <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 ...
package com.wtwd.standard.activity; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import com.wtwd.standard.R; import com.wtwd.standard.base.BaseActivity; import com.wtwd.standard.utils.CommonConstants; public class LandActivity exte...
/** * The MIT License (MIT) * * Copyright (c) 2014 University of Manchester * * 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 righ...
/* * MIT License * * Copyright (c) 2022 MASES s.r.l. * * 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, cop...
package com.pearson.statsagg.metric_formats.opentsdb; import java.util.ArrayList; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; /** * @author Jeffrey Schmidt */ public class OpenTsdbTagTest { ...
/* * The MIT License * * Copyright: Copyright (C) 2014 T2Ti.COM * * 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...
/** * Basic elements of the game */ package ija.projekt.basis; import java.awt.Graphics; import java.util.List; /** * This class represents the figure on the desk. * @author David Molnar */ public abstract class Figure { /** * Stores the position from a desk, in which the figure is/ */ protected...
// ============================================================================ // // Copyright (C) 2006-2017 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
/******************************************************************************* * Copyright (c) 2000, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
/* * Copyright (c) 2016-2026 Jumin Rubin * LinkedIn: https://www.linkedin.com/in/juminrubin/ * * 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/LIC...
package org.robolectric.shadows; import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.robolectric.Shadows.shadowOf; import android.graphics.Color; import android.graphics.Paint; import androidx.test.ext.junit.r...
package prefuse.data; import java.util.Date; /** * Tuples are objects representing a row of a data table, providing * a simplified interface to table data. They maintain a pointer to a * corresponding row in a table. When rows are deleted, any live Tuples * for that row become invalidated, and any further attemp...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Modelos_Controladores; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Column; import ja...
package com.hedera.cli.commands; import java.util.ArrayList; import java.util.Arrays; import com.hedera.cli.defaults.CliDefaults; import com.hedera.cli.hedera.file.File; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.shell.standard.ShellComponent; import org.springframework...
/*___Generated_by_IDEA___*/ package com.trollema.gui; /* This stub is only used by the IDE. It is NOT the R class actually packed into the APK */ public final class R { }
package net.minecraft.item; import net.minecraft.block.material.MapColor; import net.minecraft.util.EnumChatFormatting; import net.minecraft.util.IStringSerializable; public enum EnumDyeColor implements IStringSerializable { LIGHT_BLUE("LIGHT_BLUE", 3, 3, 12, "light_blue", "lightBlue", MapColor.lightBlueColor, Enu...
/* * Copyright 2007 Yusuke Yamamoto * * 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 agree...
/** * Copyright 2016 Nikita Koksharov * * 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 agree...
package com.godoineto.simplepipe.api.util; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.server.ResponseStatusException; import java.util.Optional; public interface ResponseUtil { static <T>...
// DRUNKWATER TEMPLATE(add description and prototypes) // Question Title and Description on leetcode.com // Function Declaration and Function Prototypes on leetcode.com //15. 3Sum //Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which...
package com.ds365.erp.wms.pda.model.sale; import java.io.Serializable; import java.util.Date; import com.ds365.commons.BaseIdModel; import com.fasterxml.jackson.annotation.JsonFormat; public class SaleReturnEnterDetailCreateParamsModel extends BaseIdModel<Long> implements Serializable{ /** * */ private stati...
// Targeted by JavaCPP version 1.5.5-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencv.opencv_stitching; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.openblas.global.openblas_nola...
// -------------------------------------------------------------------------------- // 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:/...
/* * Copyright 2012-2015 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.ternence.designpattern.proxy.staticpattern; /** * create by 陶江航 at 2017/11/5 17:17 * * @version 1.0 * @email taojianghang@xinzhentech.com * @description 代理主题对象,代理了RealSubject的功能 */ public class ProxySubject implements Subject { //实际使用的时候,这个RealSubject代表那些不能被直接 //引用或者因为某些安全因素需要被代理访问的对象 pr...
package haxby.image.jcodec.containers.mxf.model; import java.nio.ByteBuffer; import java.util.Calendar; import java.util.Date; import haxby.image.jcodec.common.io.NIOUtils; import haxby.image.jcodec.platform.Platform; /** * This class is part of JCodec ( www.jcodec.org ) This software is distributed * under FreeBSD...
package ee.taltech.cs.mbt.tdl.uppaal.uta_parser.language.utils.fragments; import ee.taltech.cs.mbt.tdl.commons.test.sexpr.s_expression_model.nodes.SExpressionSequenceNode; import ee.taltech.cs.mbt.tdl.commons.test.sexpr.s_expression_model.nodes.SExpressionStringNode; import ee.taltech.cs.mbt.tdl.commons.test.test_util...
/* * 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 ...
/** Generated by english-annotation-buster, Powered by Google Translate.**/ /* * 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 * *...
/* * 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 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 ...
package nachos.threads; import nachos.machine.*; import java.util.*; /** * An implementation of condition variables that disables interrupt()s for * synchronization. * * <p> * You must implement this. * * @see nachos.threads.Condition */ /* Self Test */ private static class Tester implements Runnable...
package info.novatec.testit.webtester.pageobjects; import org.junit.Test; import org.mockito.InjectMocks; import info.novatec.testit.webtester.AbstractPageObjectTest; import info.novatec.testit.webtester.api.exceptions.WrongElementClassException; public class HeadlineTest extends AbstractPageObjectTest { @Inje...
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
/** * Copyright 2019 Pramati Prism, 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 a...
/* * 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) 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any * person obtaining a copy of this s...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
package com.auth0.jwt; import com.auth0.jwt.exceptions.JWTDecodeException; import com.auth0.jwt.impl.JWTParser; import com.auth0.jwt.interfaces.Claim; import com.auth0.jwt.interfaces.DecodedJWT; import com.auth0.jwt.interfaces.Header; import com.auth0.jwt.interfaces.Payload; import org.apache.commons.codec.binary.Base...
package kskowronski.data.service; import kskowronski.data.entity.Address; import org.springframework.data.jpa.repository.JpaRepository; public interface AddressRepository extends JpaRepository<Address, Integer> { }
package com.isheihei.mall.member.exception; /** * <p>Title: PhoneExistException</p> * Description: * date:2020/6/25 19:17 */ public class PhoneExistException extends RuntimeException { public PhoneExistException() { super("手机号存在"); } }
/* * Copyright © 2014-2019 Cask Data, 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 com.guardedbox.service.transactional; import java.util.ArrayList; import java.util.List; import javax.transaction.Transactional; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.AuthorizationServiceException; im...
package com.rayo.core.xml.providers; import java.net.URISyntaxException; import org.dom4j.Document; import org.dom4j.Element; import org.dom4j.Namespace; import org.dom4j.QName; import com.rayo.core.verb.PauseCommand; import com.rayo.core.verb.ResumeCommand; import com.rayo.core.verb.Say; import com.rayo.core.verb.S...
package lia.util.ntp; /* * Connects to 4 NTP servers and calculates the time offset */ import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.util.Arrays; import java.util.GregorianCalendar; import java.util.HashSet; import java.util.Set; import java.util.logging.Le...
package nom.tam.util; /* * #%L * nom.tam FITS library * %% * Copyright (C) 2004 - 2015 nom-tam-fits * %% * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a...
package org.col.es.mapping; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Enumerates the Elasticsearch analyzers used to index a field. Must only be used for string-like fields (that is: on * get...
package it.auties.whatsapp.util; import com.fasterxml.jackson.core.type.TypeReference; import lombok.NonNull; import lombok.RequiredArgsConstructor; import lombok.SneakyThrows; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.StandardOpenOption; import java.util....
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 消费者通知信息 * * @author auto create * @since 1.0, 2020-12-14 14:56:35 */ public class ConsumerNotifyIstd extends AlipayObject { private static final long serialVersionUID = 8898294...
package org.apereo.cas.adaptors.gauth.repository.credentials; import org.apereo.cas.CipherExecutor; import org.apereo.cas.authentication.OneTimeTokenAccount; import org.apereo.cas.configuration.model.support.mfa.GoogleAuthenticatorMultifactorProperties; import org.apereo.cas.otp.repository.credentials.BaseOneTimeToken...
package com.alipay.api.response; import java.util.List; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; import com.alipay.api.domain.StdPublicBindAccount; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.open.public.account.query response. * * @...
package org.kairosdb.metrics4j.collectors.impl; import lombok.EqualsAndHashCode; import lombok.Setter; import lombok.ToString; import org.kairosdb.metrics4j.MetricsContext; import org.kairosdb.metrics4j.collectors.Collector; import org.kairosdb.metrics4j.collectors.TimeCollector; import org.kairosdb.metrics4j.collecto...
package it.com.atlassian.plugins.services; import org.junit.Test; import org.junit.runner.RunWith; import com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner; import com.atlassian.plugins.services.MyPluginComponent; import com.atlassian.sal.api.ApplicationProperties; import static org.junit.Assert.assertEquals...
package me.alphamode.portablecrafting; import net.fabricmc.fabric.api.tag.TagFactory; import net.minecraft.item.Item; import net.minecraft.tag.Tag; import net.minecraft.util.Identifier; public class PortableTags { public static final Tag.Identified<Item> PORTABLE_WORKBENCH = TagFactory.ITEM.create(new Identifier(...
//NAME //STUDENT ID //[] I declare that I haven't seen another person's code, and the submission is entirely your work. //(put an x inside the square brackets to provide declaration) //Example: //Gaurav Gupta //44040404 //[x] I declare that I haven't seen another person's code, and the submission is entirely your work...
package org.infinispan.context; import java.util.Collection; import java.util.Set; /** * Interface that defines access to and manipulation of {@link Flag}. * * @author Manik Surtani * @since 4.0 * @deprecated No longer used since 5.2.0 */ public interface FlagContainer { boolean hasFlag(Flag o); Set<Fla...
package com.shotgun.my.api.api.defaultGroup.subGroup; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; @FeignClient(name = "TestBbbApi", url = "${feign.baidu.url}") public interface TestBbbServiceApi { @GetMapping("/bb") String bb(); }
/* * Copyright 2018 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2012-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 ap...