text
stringlengths
7
1.01M
/** * Creator : wangtaishan * Date : 2018/8/9 * Title : 5. Longest Palindromic Substring * Description : * * Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. * * Example 1: * * Input: "babad" * Output: "bab" * Note: "aba" is also a valid ans...
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. 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, and is available a...
/* * 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 org.junit.Assert.fail; import ...
package pvlinh.demo.mvcmodelapplicationbasic2; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import java.util.Observable; import java.util.Observer; public class MainActivity extends AppCompatActivity implements Observer,View.OnClic...
package amusement.park; import amusement.park.model.Guest; import amusement.park.model.buildings.ATM; import amusement.park.model.buildings.BasicBuilding; import amusement.park.model.buildings.Path; import amusement.park.model.buildings.games.FirstGame; import amusement.park.model.buildings.games.SecondGame; import am...
package servlet; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSe...
/* * Copyright © 2018-2019, 2021 Apple Inc. and the ServiceTalk project 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 * * U...
package cn.shopee.beetl.tags.form; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import cn.shopee.beetl.tags.BodyTag; import cn.shopee.beetl.tags.annotation.BeetlTagName; import cn.shopee.beetl.tags.exception.BeetlTagException; import org.springframework.context.annotation.Scope; import o...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.tasks.actions; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.project...
/* * 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 es.pcv.core.sound; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Semaphore; import es.pcv.game.configuration.Config; import javazoom.jl.player.Player; public class SoundPlayer extends Thread { ...
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package org.zstack.compute.vm; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.transaction.annotation.Transactional; import org.zstack.core.asyncbatch.While; import org.zstack.core.cascade.AbstractAsyncCascadeExtension; import org.zstack.core.cascade.CascadeAction; import org....
/* *Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * *WSO2 Inc. licenses this file to you under the Apache License, *Version 2.0 (the "License"); you may not use this file except *in compliance with the License. *You may obtain a copy of the License at * *http://www.apache.org/licenses/LI...
package me.bscal.advancedplayer.client.debug; import com.google.common.base.Strings; import me.bscal.advancedplayer.AdvancedPlayer; import me.bscal.advancedplayer.client.AdvancedPlayerClient; import me.bscal.advancedplayer.common.ecs.components.Temperature; import me.bscal.advancedplayer.common.ecs.systems.Temperature...
// -------------------------------------------------------------------------------------------------- // Copyright (c) 2016 Microsoft Corporation // // 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 ...
package com.sleepyzzz.photo_selector.http.okhttp.request; import com.sleepyzzz.photo_selector.http.okhttp.OkHttpUtils; import com.sleepyzzz.photo_selector.http.okhttp.callback.Callback; import java.io.IOException; import java.util.concurrent.TimeUnit; import okhttp3.Call; import okhttp3.OkHttpClient; import okhttp3...
package creational.builder; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; /** * Created by rek on 21.06.17. */ public class Meal { private List<Item> items = new ArrayList<>(); public void addItem(Item item) { items.add(item); } public BigDecimal getCost(...
package com.savorgames.cache; public class TopicCache { }
package com.github.kkspeed; 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 void add...
package com.capitalone.dashboard.model; import org.joda.time.DateTime; import org.junit.Before; import org.junit.Test; import java.util.Date; import static org.junit.Assert.*; public class GitRepoTests { private GitRepoTestAdapter gitRepo1; private GitRepoTestAdapter gitRepo2; private GitRepoTestAdapter gitRepo...
/** * Copyright 2021 Shulie Technology, Co.Ltd * Email: shulie@shulie.io * 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 requi...
/* * Copyright 2015 Open Networking Laboratory * * 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 (C) 2012 DataStax 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 applicab...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.lieve.online.shiro; import com.lieve.online.base.entity.UserInfo; import com.lieve.online.base.service.UserInfoService; import org.apache.shiro.authc.*; import org.apache.shiro.authz.AuthorizationInfo; import org.apache.shiro.authz.SimpleAuthorizationInfo; import org.apache.shiro.realm.AuthorizingRealm; im...
package com.janeirodigital.sai.core.agents; import com.janeirodigital.mockwebserver.RequestMatchingFixtureDispatcher; import com.janeirodigital.sai.authentication.AuthorizedSession; import com.janeirodigital.sai.core.exceptions.SaiException; import com.janeirodigital.sai.core.http.HttpClientFactory; import com.janeiro...
package com.ruoyi.admin.platform.tool; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVar...
/** * * 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"); ...
package com.caverock.skia4j; public class SkRect { private float left; private float top; private float right; private float bottom; public SkRect(float left, float top, float right, float bottom) { this.left = left; this.top = top; this.right = right; this.bottom = bottom; ...
package healthyHeaven; public class Main { public static void main(String[] args) { Restaurant restaurant = new Restaurant("Casa Domingo"); // Initialize the entities Vegetable tomato = new Vegetable("Tomato", 20); Vegetable cucumber = new Vegetable("Cucumber", 15); Salad salad = ...
package com.javarush.test.level13.lesson02.task06; /* Баг в initializeIdAndName 1. Подумать, что в программе неправильно. 2. Вынести реализацию метода initializeIdAndName в класс User. 3. initializeIdAndName в классе User должен возвращать тип User. 4. Поправить программу, чтобы компилировалась и работала. */ public ...
package com.fastaccess.cheaphlight.ui.widgets.recyclerview.layout_manager; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.StaggeredGridLayoutManager; import android.util.AttributeSet; /** * Created by Kosh on 17 May 2016, 10:02 PM */ public class Stag...
/* * Copyright 2014 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright (c) 2013-2018, Bingo.Chen (finesoft@gmail.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 required by appl...
package test.cifar10; import cupdnn.Network; import cupdnn.active.ReluActivationFunc; import cupdnn.layer.*; import cupdnn.loss.MSELoss; import cupdnn.optimizer.SGDOptimizer; import cupdnn.util.DigitImage; import java.util.List; public class Cifar10Network { Network network; SGDOptimizer optimizer; private void b...
/* 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...
/* * Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved. * http://www.jaspersoft.com. * * Unless you have purchased a commercial license agreement from Jaspersoft, * the following license terms apply: * * This program is free software: you can redistribute it and/or modify * it under the terms...
/* * 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 ma...
/* * Copyright 2000-2015 JetBrains s.r.o. * * 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 agre...
/* * * * Copyright 2010-2016 OrientDB LTD (info(-at-)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-2...
/* * MIT License * * Copyright (c) 2019 Glare * * 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, me...
package com.rubin.rpan.common.util; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.data.redis.core.BoundSetOperations; import org.springframework.data.redis.core.HashOperations; import org.springframework.data.red...
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
package cn.ulyer.generator.core; import lombok.Data; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import java.util.List; import java.util.Map; /** * @author ulyer * @date 2021.12.13 * 生成参数 */ @Data public class GeneratorParams { @NotNull(message = "生成模块必选") ...
/* * Copyright 2017 Guillaume Bailleul. * * 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 ag...
/* * Configurate * Copyright (C) zml and Configurate contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
package io.tus.java.client; import org.junit.After; import org.junit.Before; import org.mockserver.client.MockServerClient; import org.mockserver.socket.PortFactory; import java.net.URL; import static org.mockserver.integration.ClientAndServer.startClientAndServer; /** * This class provides a MockServer. */ publi...
/* * Copyright 2017-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * 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 elite.gils.country; /** * Continent: (Name) * Country: (Name) */ public enum AQ { //List of State/Province names (Use 2 Letter/Number Combination codes) /** * Name: */ AA("Example"), /** * Name: */ AB("Example"), /** * Name: */ AC("Exampl...
package com.mercy.rtplibrary.view; import android.content.Context; import android.content.res.TypedArray; import android.graphics.SurfaceTexture; import android.os.Build; import androidx.annotation.RequiresApi; import android.util.AttributeSet; import android.view.Surface; import com.mercy.encoder.utils.gl.GlUtil; im...
package ca.uhn.fhir.jpa.provider.r4; /* * #%L * HAPI FHIR JPA Server * %% * Copyright (C) 2014 - 2018 University Health Network * %% * 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 * ...
package com.simibubi.create.foundation.gui.widgets; import com.google.common.collect.ImmutableList; import com.simibubi.create.foundation.gui.AllGuiTextures; import net.minecraft.client.util.math.MatrixStack; import net.minecraft.text.Text; public class Indicator extends AbstractSimiWidget { public enum State { ...
package com.simibubi.create.foundation.tileEntity.behaviour.linked; import java.util.function.Function; import java.util.function.IntConsumer; import java.util.function.IntSupplier; import org.apache.commons.lang3.tuple.Pair; import com.simibubi.create.Create; import com.simibubi.create.content.logistics.IRedstoneLi...
/* This file is part of the iText (R) project. Copyright (c) 1998-2022 iText Group NV Authors: iText Software. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation ...
// 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.codeInsight.daemon.impl.actions; import com.intellij.application.options.editor.AutoImportOptionsConfigurable; import com.intellij.application.options.editor...
package com.bq.corbel.lib.ws.api.error; import static org.fest.assertions.api.Assertions.assertThat; import java.net.URISyntaxException; import javax.ws.rs.NotFoundException; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import org.junit.Before; import org.junit.Test; import com.bq.corbel.li...
/* * 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 ...
package malte0811.controlengineering.util.typereg; import com.google.common.base.Preconditions; import malte0811.controlengineering.util.mycodec.MyCodec; import net.minecraft.resources.ResourceLocation; public abstract class TypedRegistryEntry<StateType, InstanceType extends TypedInstance<StateType, ?>> { private...
package com.alibaba.alink.operator.common.evaluation; import org.apache.flink.api.common.functions.MapFunction; import org.apache.flink.api.java.tuple.Tuple2; import org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.type.TypeReference; import org.apache.flink.types.Row; import org.apache.flink.util.Precondit...
/******************************************************************************* * Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ...
/* * 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 2015 Nokia Solutions and Networks * Licensed under the Apache License, Version 2.0, * see license.txt file for details. */ package org.rf.ide.core.testdata.text.read.recognizer; import java.util.ArrayList; import java.util.List; import org.rf.ide.core.testdata.text.read.recognizer.header.KeywordsTa...
/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright 2020 RtBrick Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
package com.ssword.command.utils; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; public class DateUtils { // java8的新类,线程安全 private static DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); // 获取当前时间 public static String now() { return dtf....
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.conacry.snowone.domain.entity.identifier; public interface DeliveryOrderIdGenerator { DeliveryOrderIdentifier generate(); }
/** * This module provides support for creating server spans for Jetty Handlers. * * <p>It is possible to write web application running on <a * href="https://www.eclipse.org/jetty/">Eclipse Jetty</a> without actually writing any servlets. * Instead one can use <a * href="https://www.eclipse.org/jetty/documentatio...
package org.meteogroup.pointcompression; public class Point { private int lat; private int lon; public Point(int lat, int lon) { this.lat = lat; this.lon = lon; } public int getLat() { return lat; } public void setLat(int lat) { this.lat = lat; } public int getLon() { return ...
/* This file was generated by SableCC (http://www.sablecc.org/). */ package node; import java.util.*; import analysis.*; @SuppressWarnings("nls") public final class AFieldMember extends PMember { private final LinkedList<TEol> _eols_ = new LinkedList<TEol>(); private TVar _var_; private TFieldName _field...
/* * 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 View; import Control.ControleUsuario; import Model.Usuario; import java.sql.SQLException; import java.util.logging.Level; impo...
package com.gitee.passerr.leetcode.problem.lcci.page1; /** * 插入。给定两个32位的整数N与M,以及表示比特位置的i与j。编写一种方法,将M插入N,使得M从N的第j位开始,到第i位结束。假定从j位到i位足以容纳M,也即若M = 10 011,那么j和i之间至少可容纳5个位。例如,不可能出现j = 3和i = 2的情况,因为第3位和第2位之间放不下M。 * <p> * 示例1: * 输入:N = 10000000000, M = 10011, i = 2, j = 6 * 输出:N = 10001001100 * <p> * 示例2: * 输入: N = 0...
package io.quarkus.bootstrap.classloading; import java.io.ByteArrayInputStream; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.InvocationTargetException; import java.net.URL; import java.security.ProtectionDomain; import java.util.ArrayList; import java.util....
package com.suda.jzapp.ui.activity.user; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.provider.MediaStore; import android.view.View; ...
package com.example.coolweather.activity; public class A { }
package edu.stanford.nlp.sempre; import com.google.common.base.Joiner; import com.google.common.collect.Sets; import fig.basic.*; import java.util.*; /** * A FeatureExtractor specifies a mapping from derivations to feature vectors. * * [Using features] * - Specify the feature domains in the featureDomains opti...
package com.neuronrobotics.bowlerstudio; import java.awt.Desktop; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.Ou...
package org.reactfx.collection; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javafx.collections.ListChangeListener.Change; import javafx.collections.ObservableList; import org.reactfx.util.Lists; public interface QuasiListChange<E> extends ListModificationSequence<E> { ...
package com.mldong.common.base; import com.mldong.common.annotation.PhoneValidator; import io.swagger.annotations.ApiModelProperty; public class PhoneParam { @ApiModelProperty(value = "手机号码", required = true) @PhoneValidator private String mobilePhone; public String getMobilePhone() { return ...
package com.ruoyi.hunger.service; import com.ruoyi.hunger.domain.ElAddress; import com.baomidou.mybatisplus.extension.service.IService; /** * 地址Service接口 * * @author gourddoll * @date 2020-09-21 */ public interface IElAddressService extends IService<ElAddress> { }
/* * Copyright 2002-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.lkl.androidannotationdemo.runtime.db; import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; public class TableCreator { public static String createTableSql(String className) throws ClassNotFoundException { Class<?> cl = Class...
/* * 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 jclouds, Inc. (jclouds) under one or more * contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. jclouds licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use ...
package com.atguigu.gmall.pms.config; import io.swagger.annotations.Api; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.builders.ApiInfoBuilder; import springfox.documentation.builders.PathSelectors; import springfox.docum...
/* * Copyright (C) 2020 ActiveJ 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
package ru.project.quiz.controller.quiz; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.security.SecurityRequirement; import io.swagger.v3.oas.annotations.tags.Tag; import lombok.AllArgsConstructor; import org.springframework.http.HttpStatus; import org.springframework.http.Respon...
/* Software License Agreement (BSD License) * * Copyright (c) 2010-2011, Rustici Software, LLC * 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 ...
package io.swagger.api; import java.io.File; import io.swagger.model.ModelApiResponse; import io.swagger.model.Pet; import io.swagger.api.PetApiService; import javax.ws.rs.*; import javax.ws.rs.core.Context; import javax.ws.rs.core.Response; import javax.ws.rs.core.SecurityContext; import javax.enterprise.context.Req...
/** * Copyright 2015-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 ...
//package com.youzu.clan.base.widget; // //import android.content.Context; //import android.graphics.Rect; //import android.graphics.drawable.Drawable; //import android.util.AttributeSet; //import android.view.MotionEvent; //import android.view.View; //import android.view.inputmethod.InputMethodManager; //import androi...
package com.bilibili.threadcomponent.future.sample; public class RealData implements Data { private String content; public RealData(int count, char c) { char[] buffer = new char[count]; for (int i = 0; i < count; i++) { slowly(); buffer[i] = c; } conten...
package org.bouncycastle.pqc.jcajce.provider.test; import java.security.KeyPairGenerator; import java.security.spec.AlgorithmParameterSpec; import javax.crypto.Cipher; import org.bouncycastle.pqc.jcajce.spec.ECCKeyGenParameterSpec; public class McEliecePointchevalCipherTest extends AsymmetricHybridCipherTest { ...
/* * 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 not ...
public class TestShell { public static void main(String[] args) { FileSystem BlockTest = new FileSystem(); FileManager FS = new FileManager(BlockTest); Shell Bash = new Shell(FS, null); Bash.start(); } }
/** * Company * Copyright (C) 2014-2017 All Rights Reserved. */ package com.bootcwenao.bigdataserver.hbase.service.impl; import com.bootcwenao.bigdataserver.hbase.domain.pojo.UserInfo; import com.bootcwenao.bigdataserver.hbase.mapper.HbaseAccountInfoMapper; import com.bootcwenao.bigdataserver.hbase.service.HbaseAcc...
package com.cong.pojo.vo; /** * 用于展示商品评价数量的VO */ public class CommentLevelCountsVO { public Integer totalCounts; public Integer goodCounts; public Integer normalCounts; public Integer badCounts; public Integer getTotalCounts() { return totalCounts; } public void setTotalCounts(...