text
stringlengths
7
1.01M
/* * 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...
/* * openTCS copyright information: * Copyright (c) 2005-2011 ifak e.V. * Copyright (c) 2012 Fraunhofer IML * * This program is free software and subject to the MIT license. (For details, * see the licensing information (LICENSE.txt) you should have received with * this copy of the software.) */ package org.ope...
/** * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * * The Apereo Foundation licenses this file to you under the Educational * Community License, Version 2.0 (the ...
package com.djekgrif.alternativeradio.common.events; /** * Created by djek-grif on 6/8/17. */ public class UpdateConfigurationDataEvent { }
package org.jeffpiazza.derby; import jssc.*; import org.jeffpiazza.derby.devices.TimerDevice; import org.jeffpiazza.derby.gui.TimerGui; import javax.swing.*; import org.jeffpiazza.derby.devices.AllDeviceTypes; import org.jeffpiazza.derby.devices.NewBoldDevice; import org.jeffpiazza.derby.devices.SimulatedDevice; impo...
package bomberone.model.world; import bomberone.controllers.match.event.WorldEventListener; import bomberone.model.bomber.BomberImpl; import bomberone.model.factory.GameObjectFactory; import bomberone.model.world.collection.GameObjectCollection; /** * The world of gameplay. * */ public interface World { /** ...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
/** * 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 rip.bolt.nerve.privateserver; import java.util.Optional; import javax.inject.Inject; import com.sk89q.minecraft.util.commands.Command; import com.sk89q.minecraft.util.commands.CommandContext; import com.velocitypowered.api.command.CommandSource; import com.velocitypowered.api.proxy.Player; import com.velocit...
package com.phoegel.factorymethod.example; import java.util.Scanner; public class Main { public static void main(String[] args) { // 客户端输入一个类型 System.out.println("请输入记录类型:\nround:圆形镜子\tsquare:方形镜子"); Scanner sc = new Scanner(System.in); String type = sc.nextLine(); Mirror m...
package cn.edu.ncut.hikvision_graduation; import android.Manifest; import android.content.DialogInterface; import android.content.pm.PackageManager; import android.os.Bundle; import android.os.Environment; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import android.support.v...
package com.flyco.animation.Attention; import android.view.View; import android.view.animation.CycleInterpolator; import com.nineoldandroids.animation.ObjectAnimator; import com.flyco.animation.BaseAnimatorSet; public class ShakeHorizontal extends BaseAnimatorSet { public ShakeHorizontal() { duration = ...
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE package org.bytedeco.systems.windows; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.systems.global.windows.*; @Properties(inher...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE129_Improper_Validation_of_Array_Index__console_readLine_array_read_check_max_61a.java Label Definition File: CWE129_Improper_Validation_of_Array_Index.label.xml Template File: sources-sinks-61a.tmpl.java */ /* * @description * CWE: 129 Improper Validation of Array Ind...
package eval.tmp; import illinoisParser.AutoDecoder; import illinoisParser.FineChartItem; import illinoisParser.Grammar; import illinoisParser.Sentence; import illinoisParser.Tree; import illinoisParser.models.BaselineModel; import java.io.File; import java.io.FileNotFoundException; import java.io.PrintWriter; import...
/* * Copyright 2017 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 app...
/* * 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...
/* * This file is part of the CS372Assignment6Exercise5 project. * * Author: Omid Jafari - omidjafari.com * Copyright (c) 2018 * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import java.io.*; public class RedBlackTreeChecker { ...
package org.vertexium.accumulo.iterator; import org.apache.accumulo.core.data.Key; import org.apache.accumulo.core.data.Value; import org.apache.accumulo.core.iterators.IteratorEnvironment; import org.apache.accumulo.core.iterators.SortedKeyValueIterator; import org.apache.hadoop.io.Text; import org.vertexium.accumulo...
package com.medicine.dto.user.signup; import lombok.Getter; import lombok.NoArgsConstructor; import javax.validation.constraints.*; import java.util.Date; @NoArgsConstructor @Getter public class SignUpInput { @Email @NotNull @Size(max = 45) private String email; @NotBlank @Size(min=8, max =...
package com.icfcc.cache; import java.util.Collection; /** * A manager for a set of {@link Cache}s. * * @author Costin Leau * @since 3.1 */ public interface CacheManager { /** * Return the cache associated with the given name. * @param name cache identifier (must not be {@code null}) * @retur...
package net.meisen.general.sbconfigurator.config; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.LinkedHashMap; i...
/* * Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.pricer.capfloor; import com.opengamma.strata.basics.currency.Payment; import com.opengamma.strata.market.sensitivity.PointSensitivities; import com.openg...
package com.vector.onetodo; import android.widget.AbsListView; public interface ProjectsScrollHolder { void adjustScroll(int scrollHeight); void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount, int pagePosition); }
/** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ package com.twilio.rest.preview.trustedComms.business; import com.twilio.base.Fetcher; import com.twilio.exception.ApiConnectionException; import com.twilio.exception.ApiException; import com.twilio.exc...
import java.io.PrintWriter; import java.io.RandomAccessFile; public class ClassProperty { //============================================= Properties private String name; private String type; private String scope; private boolean getter; private String getterScope; private boolean setter; private String sette...
/* * 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 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 bio.knowledge.server.model; import java.util.ArrayList; import java.util.List; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import io.swagger.annotations.ApiModelProperty; /** * ServerConceptWithDetailsBeaconEntry */ @javax.annotation.Generated(value = "io.swagger.codegen...
/* * Copyright (c) 2021 AcadiaSoft, Inc. * * 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, modify, merge, pu...
/* * Copyright 2014 The MITRE Corporation * * 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 ...
package com.security.user.model; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; import lombok.Data; import java.io.Serializable; import java.util...
package com.project.messagesend; import net.nurigo.java_sdk.api.Message; import net.nurigo.java_sdk.exceptions.CoolsmsException; import org.json.simple.JSONObject; import java.util.HashMap; /** * @class ExampleSend * @brief This sample code demonstrate how to send sms through CoolSMS Rest API PHP */ public class...
package simpleircserver.talker; /* * * IrcTalker * is part of Simple Irc Server * * * Copyright (С) 2012, 2015, Nikolay Kirdin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License Version 3. * * This program is distributed in...
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_8566 { }
package com.ccb.sorted.compare.merge; /** * 分而治之 * 二路归并排序, 递归二分,依次排序 */ public class MergeSort { private static boolean isUp = true; /** * 归并排序——升序 * @param arr 要排序的数组 */ public static void sortUp(int[] arr){ isUp = true; mergeSort(arr, 0, arr.length - 1); } /** ...
package sk.filo.plantdiary.service.so; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Getter; import lombok.Setter; import lombok.ToString; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Size; @Schema(name = "Auth") @Getter @Setter @ToString(exclude = {"password"}...
/* * Copyright 1999-2012 Alibaba Group. * * 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...
package com.innogrid.gedge.coreedge.model; import com.google.api.client.util.Key; import lombok.Data; import java.io.Serializable; /** * Created by kkm on 15. 4. 24. */ @Data public class NodeUsageinfo implements Serializable { private static final long serialVersionUID = 1779366790605206372L; @Key private...
/** * 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 demo_enjoy; import demo_enjoy.dso.AuthProcessorImpl; import org.noear.solon.annotation.Bean; import org.noear.solon.annotation.Configuration; import org.noear.solon.auth.AuthUtil; /** * @author noear 2021/6/12 created */ @Configuration public class Config { @Bean public void authAdapter(){ A...
package com.jakewharton.rxbinding2.support.v17.leanback.widget; import android.app.Activity; import android.os.Bundle; import android.support.v17.leanback.widget.SearchBar; import android.support.v17.leanback.widget.SearchEditText; import android.support.v17.leanback.widget.SearchOrbView; import com.jakewharton.rxbind...
import java.util.Stack; public class leetcode_232 { class MyQueue { private Stack<Integer> one; private Stack<Integer> two; /** Initialize your data structure here. */ public MyQueue() { one=new Stack<>(); two=new Stack<>(); } /** Push elemen...
package guru.springframework.domain; import lombok.Data; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; /** * Created by jesussarco on 06/09/2020 */ @Data @Entity public class Vendor { @Id @GeneratedValue(stra...
package com.zhcs.dao; import java.util.List; import java.util.Map; import com.zhcs.entity.DriverEntity; //***************************************************************************** /** * <p>Title:DriverDao</p> * <p>Description: 司机管理</p> * <p>Copyright: Copyright (c) 2017</p> * <p>Company: 深圳市智慧城市管家信息科技有限公司 </...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 行业信息 * * @author auto create * @since 1.0, 2020-07-06 10:08:06 */ public class AmpeCategoryInfo extends AlipayObject { private static final long serialVersionUID = 381516999836...
// 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.java.psi; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.ex.PathManagerEx; import com.intellij.openapi.u...
package is2011.reproductor.vista; import java.awt.*; import java.awt.event.*; import java.util.*; import is2011.app.controlador.IAppController; import is2011.biblioteca.contenedores.CancionContainer; import is2011.biblioteca.search.*; import is2011.reproductor.modelo.ListaReproduccion.ModoReproduccionEnum; im...
// This is a generated file. Not intended for manual editing. package com.vyperplugin.psi.impl; import com.intellij.extapi.psi.ASTWrapperPsiElement; import com.intellij.lang.ASTNode; import com.intellij.psi.PsiElementVisitor; import com.vyperplugin.psi.VyperExpression; import com.vyperplugin.psi.VyperVisitor; import o...
package com.study.utils.bus; import org.apache.commons.io.FileUtils; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import javax.servlet.http.HttpServletResponse; import java.io.File; i...
/* * Copyright (c) 2008-2020, 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 cn.edu.gdut.zaoying.Option.series.pie.markPoint.label.normal.textStyle; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interfa...
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE package org.bytedeco.arrow_dataset; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import org.bytedeco.arrow.*; import static org.bytedeco.arrow.global.arrow....
package net.bytebuddy.implementation; import net.bytebuddy.description.field.FieldDescription; import net.bytebuddy.description.method.MethodDescription; import net.bytebuddy.description.type.TypeDescription; import net.bytebuddy.description.type.TypeList; import net.bytebuddy.dynamic.scaffold.InstrumentedType; 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 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 appli...
package moe.banana.mmio.misc; import android.databinding.DataBindingUtil; import android.databinding.ViewDataBinding; import android.support.v7.widget.RecyclerView; import android.view.View; import moe.banana.mmio.BR; /** * A {@link android.support.v7.widget.RecyclerView.ViewHolder} for Data Binding Library * Help...
package de.tum.in.www1.artemis.programmingexercise; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.doReturn; import java.util.List; import org.eclipse.jgit.lib.ObjectId; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupi...
/* * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). * <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> * https://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless ...
/* Copyright 2018 Telstra Open Source * * 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...
package com.jsoniter.benchmark.with_10_int_fields; import com.jsoniter.benchmark.All; import org.apache.thrift.TException; import org.apache.thrift.TSerializer; import org.apache.thrift.protocol.TCompactProtocol; import org.apache.thrift.protocol.TProtocol; import org.apache.thrift.transport.TIOStreamTransport; import...
/** * Copyright (c) 2014, impossibl.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: * * * Redistributions of source code must retain the above copyright notice, * this list of cond...
package com.lukedeighton.typedadapter.adapter; import java.util.HashMap; import java.util.List; /** * Handles View Type Information for each Row Item */ class ViewTypeManager { public static final int DYNAMIC_COUNT = -1; private HashMap<Class<?>, Integer> mViewTypeMap; private int mUsedViewTypeCount; ...
package com.jimmy.Util; import java.util.*; import java.util.regex.*; /** * ���Ǹ�������ʽӦ���࣬����ƥ����滻�ִ��õ� * @author * @version */ public class RegExUtil { /** * Ҫ���Сд��ƥ��������ʽ * @param pattern ������ʽģʽ * @param str Ҫƥ����ִ� * @return booleanֵ * @since 1.0 */ public static final...
package be.aga.dominionSimulator.cards; import be.aga.dominionSimulator.DomCard; import be.aga.dominionSimulator.enums.DomCardName; import be.aga.dominionSimulator.enums.DomCardType; import java.util.ArrayList; public class Trusty_SteedCard extends DomCard { public Trusty_SteedCard () { super( DomCardName....
package net.minecraft.scoreboard; import java.util.Comparator; public class Score { public static final Comparator<Score> SCORE_COMPARATOR = new Comparator<Score>() { public int compare(Score p_compare_1_, Score p_compare_2_) { if (p_compare_1_.getScorePoints() > p_compare_2_.getScorePoints())...
/* * Copyright: (c) Mayo Foundation for Medical Education and * Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the * triple-shield Mayo logo are trademarks and service marks of MFMER. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/lexevs-remote/LICENSE.txt...
package com.welearn.mapper; import org.springframework.cache.annotation.CacheEvict; import org.springframework.cache.annotation.CachePut; import org.springframework.cache.annotation.Cacheable; import com.welearn.entity.po.common.Area; import com.welearn.entity.qo.common.AreaQueryCondition; import org.apache.ibatis.an...
package org.karthikkumar.dbcm.conn; import javax.sql.DataSource; /** * DataSource based ConnectorFactory. * * @author Karthik Kumar Viswanathan &lt;karthikkumar@gmail.com&gt; * */ public interface DataSourceConnectorFactory extends ConnectorFactory { public DataSource getDataSource(); }
package cz.tomasdvorak.eet.client.utils; import org.junit.Assert; import org.junit.Test; import org.mockito.ArgumentCaptor; import org.mockito.Mockito; import org.slf4j.Logger; import java.io.IOException; import java.io.InputStream; import java.security.KeyStore; import java.security.KeyStoreException; import java.se...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.storage.generated; import com.azure.core.util.Context; /** Samples for ObjectReplicationPoliciesOperation Get. */ public final ...
/* * 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 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 pl.digitalzombielab.dayview; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public...
/* * Copyright (c) 2004-2021, University of Oslo * 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 notice, this * list of cond...
package io.quarkus.hibernate.search.orm.elasticsearch.test.singlepersistenceunit; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import org.hibernate.search.mapper.pojo.mapping.definition.annotation.FullTextField; import org.hibernate.search.mapper.pojo.mapping....
package com.platform.utils; import java.sql.Timestamp; import java.util.Collection; import java.util.Date; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * 名称:StringUtils <br> * 描述:String工具类<br> * * @author admin * @version 1.0 * @since 1.0.0 */ public class StringUti...
package com.GuoGuo.JuicyChat.stetho; import android.content.Context; import com.facebook.stetho.inspector.database.DatabaseFilesProvider; import java.io.File; import java.io.FilenameFilter; import java.util.ArrayList; import java.util.List; /** * Created by jiangecho on 2016/11/23. */ public class RongDatabaseFi...
/* * Copyright (c) 2017 The Hyve and respective contributors. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * See the file LICENSE in the root of this repository. */ package nl.thehyve.podium.validation; import javax.validati...
/** * * 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"); ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE369_Divide_by_Zero__int_database_divide_21.java Label Definition File: CWE369_Divide_by_Zero__int.label.xml Template File: sources-sinks-21.tmpl.java */ /* * @description * CWE: 369 Divide by zero * BadSource: database Read data from a database * GoodSource: A hardco...
// Copyright 2015-present 650 Industries. All rights reserved. package abi29_0_0.host.exp.exponent.modules.api; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.support.annotation.Nullable; import android.support.customtabs.CustomTabsIntent; import abi29_0_0.com.face...
package org.ovirt.engine.ui.webadmin.uicommon; import org.ovirt.engine.core.common.businessentities.DisplayType; import org.ovirt.engine.core.compat.Event; import org.ovirt.engine.core.compat.EventArgs; import org.ovirt.engine.core.compat.EventDefinition; import org.ovirt.engine.core.compat.IEventListener; import org....
package ex; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; public class BasicQueue { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); Queue<Int...
/* * 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.or...
/* * The MIT License * * Copyright (c) 2016 Marcelo "Ataxexe" Guimarães <ataxexe@devnull.tools> * * 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, includ...
package io.pivotal.davos; import java.time.LocalDate; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import lombok.Builder; import lombok.Getter...
package cn.wuxia.common.spring.orm.mongo; import cn.wuxia.common.orm.query.Conditions; import cn.wuxia.common.orm.query.MatchType; import cn.wuxia.common.orm.query.Pages; import cn.wuxia.common.orm.query.Sort.Order; import cn.wuxia.common.util.ListUtil; import cn.wuxia.common.util.StringUtil; import cn.wuxia.common.ut...
package com.raoulvdberge.refinedstorage.apiimpl.network.node.diskdrive; import com.raoulvdberge.refinedstorage.api.storage.AccessType; import com.raoulvdberge.refinedstorage.api.storage.IStorageDisk; import com.raoulvdberge.refinedstorage.api.storage.StorageDiskType; import com.raoulvdberge.refinedstorage.tile.TileDis...
/* * This file is generated by jOOQ. */ package cn.edu.kmust.flst.domain.information_schema.tables.pojos; import java.io.Serializable; import javax.annotation.Generated; import javax.validation.constraints.Size; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", ...
package com.github.overmighty.croissant.command.argument; import com.github.overmighty.croissant.command.CommandExecutor; import com.github.overmighty.croissant.command.TestCommand; import org.bukkit.command.CommandSender; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.params.ParameterizedTest; impo...
package org.appenders.log4j2.elasticsearch.failover; /*- * #%L * log4j2-elasticsearch * %% * Copyright (C) 2020 Rafal Foltynski * %% * 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 * ...
/* * Marketing API Vivo商业开放平台 * Marketing API Vivo商业开放平台 * * Do not edit the class manually. */ package com.hyq0719.mktapi.vivo.bean.acoountService; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.math.BigDecimal; ; ; ; /** * * @author hyq0719 ...
// "Add on demand static import for 'java.util.Arrays'" "true" import java.util.*; import static java.util.Arrays.*; class Foo { void test(String[] foos, String[] bars) { System.out.println(/*foos1*//*foos2*/asList(foos)+":"+/*bars1*//*bars2*/asList(bars)); } void test2(String[] foos, String[] ba...
package org.junit.contrib.tests.theories.runner; import org.junit.Test; import org.junit.contrib.theories.DataPoints; import org.junit.contrib.theories.Theories; import org.junit.contrib.theories.Theory; import org.junit.runner.RunWith; import static org.junit.Assert.*; import static org.junit.Assume.*; import static...
package com.atguigu.gmall.cart.service; import com.alibaba.fastjson.JSON; import com.atguigu.core.bean.Resp; import com.atguigu.gmall.cart.feign.GmallPmsClient; import com.atguigu.gmall.cart.feign.GmallSmsClient; import com.atguigu.gmall.cart.feign.GmallWmsClient; import com.atguigu.gmall.cart.interceptors.LoginInterc...
package mpern.sap.commerce.ccv2.validation.impl; import static mpern.sap.commerce.ccv2.model.Aspect.ADMIN_ASPECT; import java.util.ArrayList; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import mpern.sap.commerce.ccv2.model.Aspect; import mpern.sap.commerce.ccv2.model.Manifest; im...
package com.strakswallet.presenter.activities; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.content.res.Resources; import android.os.Bundle; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.content.ContextCompat; import android.suppo...
/* * 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.yr.common.xss; import com.yr.common.exception.RRException; import org.apache.commons.lang.StringUtils; /** * SQL过滤 */ public class SQLFilter { /** * SQL注入过滤 * @param str 待验证的字符串 */ public static String sqlInject(String str){ if(StringUtils.isBlank(str)){ retu...