text
stringlengths
7
995k
package org.keysupport.bc.scvp.asn1; import org.bouncycastle.asn1.ASN1EncodableVector; import org.bouncycastle.asn1.ASN1Object; import org.bouncycastle.asn1.ASN1ObjectIdentifier; import org.bouncycastle.asn1.ASN1OctetString; import org.bouncycastle.asn1.ASN1Primitive; import org.bouncycastle.asn1.DERSequence; import 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 * "Licen...
/* * Copyright 2011-2016 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 (C) 2013-2021 TU Dortmund * This file is part of LearnLib, http://www.learnlib.de/. * * 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/...
/** * Copyright (c) 2014 Saúl Piña <sauljabin@gmail.com>. * <p> * This file is part of FuzzyBattle. * <p> * FuzzyBattle is licensed under The MIT License. * For full copyright and license information please see the LICENSE file. */ package app.animation.animated; import app.Config; import app.animation.Animate...
/* * Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package com.ruoyi.common.core.utils; import java.io.PrintWriter; import java.io.StringWriter; import org.apache.commons.lang3.exception.ExceptionUtils; /** * 错误信息处理类。 * * @author ruoyi */ public class ExceptionUtil { /** * 获取exception的详细错误信息。 */ public static String getExceptionMessage(Throwable...
/* * 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 * distribut...
package src.train.common.entity.rollingStock; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.item.EntityMinecart; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; import net.mine...
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.bian.dto.BQRestructuringInitiateOutputModelLoanFulfillmentArrangementInstanceRecord; import...
package yorkpirates.quests; /** * A single quest - might be something like 'Kill 5 enemies', or * 'Survive fifty seconds' */ public interface Quest { /** * Checks if the quest has been completed. * * @return true if the quest is completed, false otherwise. */ boolean isCompleted(); ...
package com.ctrip.xpipe.redis.checker.alert.event; /** * @author chen.zhu * <p> * Apr 19, 2018 */ public interface Subscriber<T> { void register(EventBus eventBus); void unregister(EventBus eventBus); void processData(T t); }
/* * Tower SDK API * cloudtower operation API and SDK * * The version of the OpenAPI document: 1.7.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package com.smartx.tower.model; import ...
/* * 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 2020 Red Hat, Inc. and/or its affiliates. * * <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 requir...
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
package pl.fhframework.trees; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.config.ConfigurableBeanFactory; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.context.ApplicationEventPublisher; import org.s...
// // Copyright (C) 2010-2016 Roger Rene Kommer & Micromata GmbH // // 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...
/* * -@TestCaseID: SingleLocalTest * -@TestCaseName: SingleLocalTest * -@TestCaseType: Function Testing from JTreg * -@RequirementID: None * -@RequirementName: some testcases will be moved to FigtoTest when enable JTreg. * -@Condition:no * -#c1: 测试环境正常 * -@Brief:将该用例从JTreg中摘出来,放到CI和组件daily测试中测试。该用例在JTreg连跑中会概率...
package org.acme; import org.acme.Service.DataService; import org.jboss.resteasy.annotations.jaxrs.PathParam; import javax.inject.Inject; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import java.util.List; import java.util.Map; @Path("/api") public ...
/* * Copyright 1997-2015 Unidata Program Center/University Corporation for * Atmospheric Research, P.O. Box 3000, Boulder, CO 80307, * support@unidata.ucar.edu. * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by ...
package org.tests.query; import io.ebean.BaseTestCase; import io.ebean.Ebean; import io.ebean.Query; import org.tests.model.basic.Order; import org.tests.model.basic.ResetBasicData; import org.junit.Assert; import org.junit.Test; import java.util.List; public class TestRowCount extends BaseTestCase { @Test publ...
package com.redhat.service.bridge.shard.operator.providers; // TODO: to be removed with https://issues.redhat.com/browse/MGDOBR-123 public interface KafkaConfigurationProvider { String getClient(); String getSecret(); String getBootstrapServers(); }
// Copyright 2014 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
/** * com.mckoi.tools.DataFileConvertTool 23 Nov 2000 * * Mckoi SQL Database ( http://www.mckoi.com/database ) * Copyright (C) 2000-2018 Diehl and Associates, 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 ob...
package LocalModel; public class DanhSachKhoaCapNhatAPI { private String iddoitac; private Integer sttcol; private String apikey; public String getIddoitac() { return iddoitac; } public void setIddoitac(String iddoitac) { this.iddoitac = iddoitac; } public Integer ge...
package net.ripe.rpki.util; import java.util.function.Supplier; public class Singleton<T> { private T value; private final Supplier<T> s; public Singleton(Supplier<T> s) { this.s = s; } public synchronized T get() { if (value == null) { value = s.get(); } ...
/* * Created on Aug 18, 2006 * Copyright 2006 - Biomight.org * * This code is the not to be used without written permission from * BioMight.org * */ package biomight.chemistry.molecule.dopaminereceptors; /** * @author SurferJim * * To change the template for this generated type comment go to * Window&gt...
package org.folio.marccat.dao.persistence; import org.folio.marccat.dao.DescriptorDAO; import org.folio.marccat.dao.NameDescriptorDAO; /** * The different cross references for the name * * @author paulm * @author carment */ public class NME_REF extends REF { /** * The DAO. */ public DescriptorDAO getTa...
package mb.nabl2.sets; import static mb.nabl2.terms.matching.TermMatch.M; import java.util.Optional; import java.util.Set; import org.metaborg.util.iterators.Iterables2; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; import com.google.common.collect.Sets; import mb.nabl2....
package bubby.client.modules; import bubby.api.eventapi.PogEvent; import bubby.api.events.TickEvent; import bubby.api.module.Category; import bubby.api.module.Module; public class Fullbright extends Module { public Fullbright() { super("Fullbright", "Makes screen brighter", -1, Category.Render, true); } ...
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.vulkan; import javax.annotation.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.MemoryUtil.*; import static org...
package com.dimitrov.hackernews.hackernewsreader.Interfaces; import com.dimitrov.hackernews.hackernewsreader.Models.Post; import java.util.List; public interface FetchedPosts { void FetchedPosts(List<Post> postList); }
package io.deephaven.db.v2.tuples.generated; import io.deephaven.datastructures.util.SmartKey; import io.deephaven.db.util.BooleanUtils; import io.deephaven.db.util.tuples.generated.ByteIntByteTuple; import io.deephaven.db.v2.sources.ColumnSource; import io.deephaven.db.v2.sources.WritableSource; import io.deephaven.d...
package top.sl.tmpp.common.mapper; import org.apache.ibatis.annotations.Param; import top.sl.tmpp.common.entity.Colleges; import java.util.List; public interface CollegesMapper { int deleteByPrimaryKey(String id); int insert(Colleges record); int insertSelective(Colleges record); Colleges selectBy...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__int_Environment_add_81_bad.java Label Definition File: CWE190_Integer_Overflow__int.label.xml Template File: sources-sinks-81_bad.tmpl.java */ /* * @description * CWE: 190 Integer Overflow * BadSource: Environment Read data from an environment va...
/** * Unit-API - Units of Measurement API for Java * Copyright 2013-2014, Jean-Marie Dautelle, Werner Keil, V2COM and individual * contributors by the @author tag. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
package me.chanjar.weixin.mp.bean.message; import org.testng.*; import org.testng.annotations.*; @Test public class WxMpXmlOutMusicMessageTest { public void test() { WxMpXmlOutMusicMessage m = new WxMpXmlOutMusicMessage(); m.setTitle("title"); m.setDescription("ddfff"); m.setHqMusicUrl("hQMusicUrl"...
package uk.gov.hmcts.reform.dg.template.management.config.logging; import com.microsoft.applicationinsights.TelemetryClient; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.condition.ConditionalOnPrope...
/* * Copyright 2016 Richard Cartwright * * 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 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package org.folio.finc.periodic; import io.vertx.core.Context; import io.vertx.core.Future; import io.vertx.core.Promise; import io.vertx.core.Vertx; import io.vertx.ext.unit.junit.Timeout; import java.nio.charset.StandardCharsets; import java.util.Base64; import java.util.List; import java.util.UUID; import java.util...
/* * 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...
/* * 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 com.paascloud.security.core.properties; import lombok.Data; /** * 社交登录配置项 * * @author tiger */ @Data public class SocialProperties { /** * 社交登录功能拦截的url */ private String filterProcessesUrl = "/auth"; private QQProperties qq = new QQProperties(); private WeixinProperties weixin = new WeixinPrope...
/* * Copyright 2019 Colnix Technology * * Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. See the NOTICE file distributed with this * work for additional information regarding copyright ownership. * You may obtain a copy of the ...
/* * Microsoft JDBC Driver for SQL Server Copyright(c) Microsoft Corporation All rights reserved. This program is made * available under the terms of the MIT License. See the LICENSE file in the project root for more information. */ package com.microsoft.sqlserver.jdbc; import static java.nio.charset.StandardChars...
package processing.boardobject; import java.io.Serializable; /** * Enum type representing Board Object Operation * * This is a Supportive Datatype for BoardObjectOperation, * This datatype would be helpful to get the type of operation * that would be performed on the object without giving information * about t...
package com.networknt.eventuate.reference.common.utils; import java.util.Objects; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Common input validation methods. * Validate if the input include the special character for the current charset */ public class Validator { private Validator()...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE129_Improper_Validation_of_Array_Index__database_array_read_no_check_10.java Label Definition File: CWE129_Improper_Validation_of_Array_Index.label.xml Template File: sources-sinks-10.tmpl.java */ /* * @description * CWE: 129 Improper Validation of Array Index * BadSourc...
/* ==================================================================== 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...
/* * Copyright (c) 2016-2018, Seth <Sethtroll3@gmail.com> * 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 notice, this ...
/* * Copyright DbMaintain.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 by applicable law or agreed to in...
/* * Copyright 2017 LINE Corporation * * LINE Corporation 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
package org.ovirt.engine.api.restapi.resource; import org.ovirt.engine.api.model.StorageConnection; import org.ovirt.engine.api.resource.StorageDomainServerConnectionResource; import org.ovirt.engine.api.resource.StorageDomainServerConnectionsResource; import org.ovirt.engine.core.common.businessentities.StorageServer...
package at.uibk.dps.ee.core; import static org.junit.Assert.*; import java.util.Set; import org.junit.Test; import at.uibk.dps.ee.core.enactable.EnactmentStateListener; public class EeCoreAbstractTest { protected class EeCoreMock extends EeCore{ public EeCoreMock(InputDataProvider inputDataProvider, OutputData...
/* * 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...
/* * * * Copyright 2010-2017 OrientDB LTD (http://orientdb.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...
/* * 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 n...
package co.yixiang.listener; import co.yixiang.enums.RedisKeyEnum; import co.yixiang.modules.shop.entity.YxSystemConfig; import co.yixiang.modules.shop.service.YxSystemConfigService; import co.yixiang.utils.StringUtils; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework...
package com.brentcroft.gtd.adapter.model.fx; import com.brentcroft.gtd.adapter.model.AttrSpec; import com.brentcroft.gtd.adapter.model.GuiObjectConsultant; import com.brentcroft.gtd.camera.CameraObjectManager; import com.brentcroft.util.xpath.gob.Gob; import java.util.Arrays; import java.util.List; import java.util.fu...
package com.okdevtv.okvote.model; import lombok.Getter; import lombok.Setter; @Getter @Setter public class AnswerDto { Long id; Long questionId; String answer; Long cnt; Long percent; public AnswerDto(Long id, Long questionId, String answer, Long cnt) { this.id = id; this.ques...
package imc.checks; import imc.types.Module; import imc.types.ModuleEntrySystemPart; import imc.types.Platform; import imc.types.PlatformSystemElement; import imc.utilities.*; import java.util.List; import org.w3c.dom.Node; import org.w3c.dom.NodeList; /** * check the instances tags of all platform entries for a...
package io.devfactory.jobs.inactive; import io.devfactory.domain.Member; import io.devfactory.domain.enums.Status; import io.devfactory.jobs.inactive.listener.InactiveMemberJobListener; import io.devfactory.jobs.inactive.listener.InactiveMemberStepListener; import io.devfactory.jobs.readers.QueueItemReader; import io....
// Copyright 2018 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
package seedu.address.logic.parser; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND; import java.util.logging.Logger; import java.util.regex.Matcher; import java.util.regex.Pattern; import seedu.address.common...
package com.github.dkellenb.formulaevaluator.term.function.doubletype; import com.github.dkellenb.formulaevaluator.term.function.FunctionTerm; /** * Tagging interface for BigDecimal functions. */ public interface DoubleFunction extends FunctionTerm<Double> { /** * Zero. * @return zero */ default Doubl...
/** * Automatically generated file. DO NOT MODIFY */ package com.example.email_field_example; public final class BuildConfig { public static final boolean DEBUG = Boolean.parseBoolean("true"); public static final String APPLICATION_ID = "com.example.email_field_example"; public static final String BUILD_TYPE =...
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.aws.greengrass.tes; import com.amazon.aws.iot.greengrass.component.common.ComponentType; import com.aws.greengrass.authorization.AuthorizationHandler; import com.aws.greengrass.authorization...
/* * 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 org.itl.service.icl.consumer; import org.itl.service.icl.CharImageSequence; import org.itl.service.model.CharImage; import org.itl.service.model.CharType; public class ParenthesisConsumer implements Consumer { @Override public String consume(CharImage parenthesisCharImage, CharImageSequence sequence) ...
/* * Android Wheel Control. * https://code.google.com/p/android-wheel/ * * Copyright 2011 Yuri Kanivets * * 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.apach...
/* * GridGain Community Edition Licensing * Copyright 2019 GridGain Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause * Restriction; you may not use this file except in compliance with the License. You may obtain a * c...
/********************************************************************************* * * * The MIT License (MIT) * * ...
package me.anutley.titan.database.util; import me.anutley.titan.Titan; import me.anutley.titan.database.SQLiteDataSource; import me.anutley.titan.database.objects.GuildSettings; import me.anutley.titan.database.objects.Warning; import me.anutley.titan.util.enums.EmbedColour; import net.dv8tion.jda.api.EmbedBuilder; im...
package com.msb.mall.mallsearch.service.impl; import com.fasterxml.jackson.databind.ObjectMapper; import com.msb.common.dto.es.SkuESModel; import com.msb.mall.mallsearch.config.MallElasticSearchConfiguration; import com.msb.mall.mallsearch.constant.ESConstant; import com.msb.mall.mallsearch.service.ElasticSearchSaveSe...
/* * 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 metrics; import metrics.perclass.SensitivityPerClass; import metrics.perclass.SingleScore; import java.util.List; /** * This is a class that extends the AbstractMultipleCategoryScore. It implements the calculation of a score * using the Sensitivity Score formula. This class receives a ConfusionMatrix objec...
/* * This work was created by participants in the DataONE project, and is * jointly copyrighted by participating institutions in DataONE. For * more information on DataONE, see our web site at http://dataone.org. * * Copyright 2019. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "...
/* * Copyright (C) 2014 Alfons Wirtz * website www.freerouting.net * * Copyright (C) 2017 Michael Hoffer <info@michaelhoffer.de> * Website www.freerouting.mihosoft.eu * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as pu...
/* * @(#)ProgressView.java * CubeTwister. Copyright © 2020 Werner Randelshofer, Switzerland. MIT License. */ package ch.randelshofer.gui; import org.jhotdraw.annotation.Nonnull; import javax.swing.BoundedRangeModel; import javax.swing.DefaultBoundedRangeModel; import javax.swing.SwingUtilities; import javax.swing....
package in.hocg.boot.wxcp.autoconfiguration; import in.hocg.boot.wxcp.autoconfiguration.properties.WxCpProperties; import lombok.RequiredArgsConstructor; import me.chanjar.weixin.cp.api.WxCpService; import me.chanjar.weixin.cp.api.impl.WxCpServiceImpl; import me.chanjar.weixin.cp.config.impl.WxCpDefaultConfigImpl; imp...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package com.jlfex.hermes.service.security; import java.util.Collection; import java.util.LinkedList; import org.springframework.security.core.GrantedAuthority; import com.jlfex.hermes.common.Logger; import com.jlfex.hermes.model.Role; import com.jlfex.hermes.model.User; /** * 用户明细 */ public class UserDetails impleme...
package org.datasearch.adapters.api; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; @Path("/search") public class DataSearchResource { @Path("/{keyword}") @GET @Produces(MediaType.TEXT_PLAIN) public String hello(@PathParam("keyword")String keyword) { if (keyword.equalsIgnoreCase("T...
/* * Copyright 2017 Open Networking Foundation * * 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 la...
// Copyright 2014 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
package com.qxz.learn.mapping; import com.qxz.learn.configuration.MyConfiguration; import com.qxz.learn.type.MyJdbcType; import com.qxz.learn.type.MyTypeHandler; import java.util.List; import java.util.Set; /** * @Description : * @Author :zhouxqh * @Date : Create on 2018/9/28 */ public class MyResultMapping { ...
/* * 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 ...
/* * 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 com.jerry.springcloud.alibaba.controller; import com.alibaba.csp.sentinel.annotation.SentinelResource; import com.alibaba.csp.sentinel.slots.block.BlockException; import lombok.extern.slf4j.Slf4j; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestP...
package org.ruqa; public class Point { private double x; private double y; public Point(double x, double y) { setPoint(x, y); } public void setPoint(double x, double y) { this.x = x; this.y = y; } public double getX() { return x; } public double getY() { return y; } public dou...
package log.parser.log.parser.blizzard.events.specific; import log.parser.log.parser.blizzard.events.generic.BlizzardEvent; //TODO Check if this is all done correct :) public class SPELL_PERIODIC_DRAIN extends BlizzardEvent { }
package algo.competition; import java.util.ArrayList; import java.util.List; public class LeetOnlineStockSpan { class StockSpanner { private List<Integer> vals = new ArrayList<>(); private List<Integer> counts = new ArrayList<>(); public StockSpanner() { } public int ne...
/******************************************************************************* * Copyright (c) 2020 Eclipse RDF4J contributors. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, an...
package com.tere.modelling.formatter; import java.text.FieldPosition; import java.text.Format; import java.text.ParsePosition; public class TModelFormatter extends Format { @Override public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos) { // TODO Auto-generated method stub retu...
package net.chitters.bukkit.arena.types.ffa; import java.util.HashMap; import java.util.Random; import org.bukkit.ChatColor; import org.bukkit.event.entity.EntityDamageEvent.DamageCause; import org.bukkit.inventory.ItemStack; import net.chitters.bukkit.arena.MainArena; import net.chitters.bukkit.arena.objects.Arena;...
package com.minerarcana.floralchemy; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.apache.commons.lang3.math.NumberUtils; import org.apache.commons.lang3.tuple.Pair; import com.google.common.collect.Maps; import com.minerarcana.floralchemy.api.FloralchemyAPI...
package leviathan143.loottweaker.common.darkmagic; import java.lang.invoke.MethodHandle; import leviathan143.loottweaker.common.lib.LootConditions; import net.minecraft.world.storage.loot.LootEntry; import net.minecraft.world.storage.loot.conditions.LootCondition; public class LootEntryAccessors extends AbstractAcce...