text
stringlengths
7
995k
package diagnosticos; import javax.swing.*; public class Diagnostico { String dni,posibles,dato; private char s='~'; Diagnostico(String dni, String posibles){ this.dni=dni; this.posibles=posibles; this.dato=dni+s+posibles; } Diagnostico(){ this("",""); } Diagnostico(JTextField ...
package hw1; public interface MathVisitor<T> { public abstract T visit(Op op); public abstract T visit(Var var); public abstract T visit(Num num); public abstract T visit(Sym sym); }
package de.memorian.ps4trophaen; import android.annotation.TargetApi; import android.app.Activity; import android.app.AlertDialog; import android.app.SearchManager; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; i...
/******************************************************************************* * Copyright (c) 2013, 2015 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. 1.0...
package pl.java.scalatech.config; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan.Filter; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; @Configuration @ComponentScan(basePacka...
/* * Copyright (C) 2006-2011 by Olivier Chafik (http://ochafik.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to ...
/* Copyright 2016-2020 Bowler Hat 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 in writing, softwar...
/* * Copyright 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * 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 2018 IIT-CNR * * 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/lice...
/* * 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.or...
/* * 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.itextpdf.text.pdf; import com.itextpdf.awt.geom.AffineTransform; import com.itextpdf.text.AccessibleElementId; import com.itextpdf.text.BaseColor; import com.itextpdf.text.Rectangle; import com.itextpdf.text.error_messages.MessageLocalization; import com.itextpdf.text.pdf.interfaces.IAccessibleElement; imp...
/* * 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 1999-2019 Seata.io 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 l...
/* * 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 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 link.inte.controller; import link.inte.controller.*; class IfExHappen { public IfExHappen(){} public static void happen(Exception ex){ System.out.println("发生错误:"); ex.printStackTrack(); } }
package com.biz.hello.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.ResponseBody; @Controller public class HelloController { @Re...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.android_webview.test; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.test.UiThre...
package importacao; import tratamento.TratamentoArquivos; /** * Classe que inicializa o programa. * * @author Anderson Matte * */ public class ImportacaoArquivo { public static void main(String[] args) { //Cria uma nova instância da TratamentoArquivos TratamentoArquivos novoTratamento = new TratamentoArqu...
/* * Copyright (C) 2021 pedroSG94. * * 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 i...
/* ### * IP: GHIDRA * * 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 writin...
/* * 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 ...
/* Alloy Analyzer 4 -- Copyright (c) 2006-2009, Felix Chang * * 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, modif...
/* * 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.gardyanakbar.guardianheadpaindiary.datadrivers; import android.content.Context; import com.gardyanakbar.guardianheadpaindiary.R; import com.gardyanakbar.guardianheadpaindiary.constants.Constants; import com.gardyanakbar.guardianheadpaindiary.constants.PainDataIdentifier; import com.gardyanakbar.guardianhe...
/* * 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...
import java.util.Scanner; public class CylinderTest { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.print("Enter the radius: "); double radius = scanner.nextDouble(); System.out.print("Enter the height: "); double height = scan...
package com.example.temperatureview; import android.content.Context; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import java.util.ArrayList; import java.util.List; public class MainActi...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.network.v2019_11_01.implementation; import retro...
package it.unimi.di.law.warc.io; /* * Copyright (C) 2013-2017 Paolo Boldi, Massimo Santini, and Sebastiano Vigna * * 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.apa...
/* * Copyright (c) 2011 LinkedIn, 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 agree...
package com.algaworks.pedidovenda.model.vo; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; public class DataValor implements Serializable { /** * */ private static final long serialVersionUID = 1L; private Date data; private BigDecimal valor; public Date getData() { ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package org.enricogiurin.codingchallenges.hackerrank.hourrank.hr21; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * Created by enrico on 8/28/17. */ public class WhoGetsTheCatchTest { @Test public void whoGetsTheCatch() throws Exception { int[] position = {500, 500, 900, 2...
/* * 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 io.github.dxx.finders.console.vo; import java.util.List; /** * Service view. * * @author dxx */ public class ServiceView { private int page; private int size; private int count; private List<ServiceInfo> serviceList; public int getPage() { return page; } public vo...
package com.javasm.sys.dao; import com.javasm.sys.entity.OutGoods; import org.apache.ibatis.annotations.Param; import java.util.List; import com.javasm.commons.base.BaseDao; public interface OutGoodsDao extends BaseDao<OutGoods> { }
/* * Copyright (c) 2016-2021 Deephaven Data Labs and Patent Pending */ package io.deephaven.db.v2.sources; import io.deephaven.db.tables.dbarrays.DbArray; import io.deephaven.db.tables.dbarrays.DbArrayBase; import io.deephaven.db.v2.sources.aggregate.AggregateColumnSource; @AbstractColumnSource.IsSerializable(valu...
// 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.ide.actions; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.project.DumbAwareAction; import com.intellij.openapi.util.Sy...
package com.edus.apollo; import org.junit.Test; import java.util.Collections; import java.util.Iterator; import java.util.SortedSet; import java.util.TreeSet; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @...
package com.io.choozo.model.responseModel; import java.util.List; import com.google.gson.annotations.SerializedName; import com.io.choozo.model.dataModel.GetPageListDataModel; @SuppressWarnings("unused") public class GetPageListResponseModel { @SerializedName("data") private List<GetPageListDataModel> mData;...
package com.yangzg.java.mybatis.model; import lombok.*; import org.apache.ibatis.type.Alias; /** * Created by Sam on 2020/1/1. * @author Sam */ @Data @NoArgsConstructor @RequiredArgsConstructor @Alias("user") public class User { @NonNull private int id; @NonNull private String username; private...
/* * 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...
/* * 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 ru.job4j.models; /** * Пакет для описания моделей, хранимых в БД * @author Galanov Sergey * @since 23.10.2018 * @version 1.0 */
/* * Copyright 2017, OpenCensus 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 applicable law or ag...
/** * 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 net.tutorial; public class Math{ //will be used in the multiply method to simulate that //the multiply method is taking too long to execute private void delay(){ try{ Thread.sleep(3000);//3000 msec. or 3 sec. delay } catch(InterruptedException ex) { Thread.currentThread().interrupt(); ...
package com.tonytaotao.rpc.registry.zookeeper; public enum ZkNodeTypeEnum { SERVER("providers"), CLIENT("consumers"); private String value; ZkNodeTypeEnum(String value){ this.value = value; } public String getValue() { return value; } }
package net.yurimednikov.vertxbook.cashx.common.blocking; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import io.vertx.core.Vertx; import io.vertx.junit5.VertxExtension; import io.vertx.junit5.VertxTestContext; import kong.unirest.Unire...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ package com.microsoft.intellij.util; import com.microsoft.intellij.ui.messages.AzureBundle; import org.w3c.dom.Document; import org.w3c.dom.NamedNodeMap; ...
/* * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin */ package org.apache.camel.component.twilio.internal; import java.lang.reflect.Method; import java.util.List; import com.twilio.rest.api.v2010.account.queue.Member; import org.apache.camel.support.component.ApiMethod; import org.apache...
package io.connectedhealth_idaas.eventbuilder.dataobjects.clinical.fhir.r4.common; import java.util.List; public class Relationship { public List<Coding> coding; public List<Coding> getCoding() { return coding; } public void setCoding(List<Coding> coding) { this.coding = coding; ...
/* * Copyright @ 2015 Atlassian Pty Ltd * * 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...
/* * Copyright 2016-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.jakublesko.jwtsecurity; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class SpringSecurityJwtExampleApplicationTests { @...
/* * @Author: cpu_code * @Date: 2020-07-04 19:12:49 * @LastEditTime: 2020-07-04 19:18:31 * @FilePath: \android\MvcApplication\app\java\com\example\myapplication\Question.java * @Gitee: https://gitee.com/cpu_code * @CSDN: https://blog.csdn.net/qq_44226094 */ package com.example.myapplication; public class Quest...
package com.cardano.rest.tests.functional.data_intensive; import com.cardano.rest.tests.functional.BaseTest; import io.qameta.allure.Description; import io.restassured.http.ContentType; import org.testng.annotations.Test; import java.util.concurrent.TimeUnit; import static io.restassured.RestAssured.given; import st...
/** * MIT License * <p> * Copyright (c) 2017-2019 nuls.io * <p> * 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, ...
/* * 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 u...
// // Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.3.0 // Vedere <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> // Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. // Generat...
package com.mercadopago.constants; import java.util.List; /** * Created by acollerone on 8/14/17. */ public class ProcessingModes { public static final String AGGREGATOR = "aggregator"; public static final String GATEWAY = "gateway"; public static final String HYBRID = "gateway,aggregator"; }
package kr.ac.sejong.kmooc.data_engineering.linkedlist; import java.util.ArrayList; import java.util.LinkedList; import kr.ac.sejong.kmooc.data_engineering.linkedlist.impl.MyLinkedList; public class LinkedListExample4 { public static void main(String[] args) { LinkedList<Integer> linkedList = new LinkedList<Inte...
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
package org.jeecgframework.minidao.pagehelper.dialect.nosql; import org.jeecgframework.minidao.pagehelper.dialect.AbstractHelperDialect; import org.jeecgframework.minidao.pojo.MiniDaoPage; import java.lang.annotation.Annotation; import java.text.MessageFormat; import java.util.List; /** * 数据库差异:presto数据库,注意presto 不...
package com.olddriver.ui; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ObjectAnimator; import android.app.Activity; import android.content.Intent; import android.content.res.Resources; import android.graphics.Bitmap; import android.media.MediaPlayer; imp...
package io.renren.modules.sys.service.impl; import org.springframework.stereotype.Service; import java.util.Map; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import io.renren....
/* * Copyright 2015-2020 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...
/** * 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.zdvdev.checkview; import android.animation.ValueAnimator; import android.animation.ValueAnimator.AnimatorUpdateListener; import android.annotation.TargetApi; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android....
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.microsoft.aad.msal4j; import java.net.URI; import java.util.ArrayList; import java.util.Locale; import static com.microsoft.aad.msal4j.TelemetryConstants.EVENT_NAME_PREFIX; class HttpEvent extends Event { ...
package com.appsmith.server.services.ce; import com.appsmith.server.acl.AclPermission; import com.appsmith.server.acl.AppsmithRole; import com.appsmith.server.acl.RoleGraph; import com.appsmith.server.constants.Constraint; import com.appsmith.server.constants.FieldName; import com.appsmith.server.domains.Asset; import...
/* * Bytecode Analysis Framework * Copyright (C) 2003-2005 University of Maryland * * 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 the Free Software Foundation; either * version 2.1 of the License, or (at your...
/* * 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.boydti.fawe.bukkit.adapter.mc1_16_2; import com.boydti.fawe.Fawe; import com.boydti.fawe.FaweCache; import com.boydti.fawe.bukkit.adapter.DelegateLock; import com.boydti.fawe.bukkit.adapter.NMSAdapter; import com.boydti.fawe.config.Settings; import com.boydti.fawe.object.collection.BitArrayUnstretched; imp...
package com.kapil.upload.security; /** * Constants for Spring Security authorities. */ public final class AuthoritiesConstants { public static final String ADMIN = "ROLE_ADMIN"; public static final String USER = "ROLE_USER"; public static final String ANONYMOUS = "ROLE_ANONYMOUS"; private Authori...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2020.11....
package me.chanjar.weixin.third.mini.api; import me.chanjar.weixin.common.error.WxErrorException; import me.chanjar.weixin.cp.api.WxCpService; import me.chanjar.weixin.cp.bean.WxCpUser; import me.chanjar.weixin.third.mini.bean.WxCpPermanentCode; import me.chanjar.weixin.third.mini.bean.auth.CpOpenUserInfo; import m...
package xyz.wongs.weathertop.base.utils.text; import xyz.wongs.weathertop.base.utils.StringUtils; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; /** * @author WCNGS@QQ.COM * @ClassName CharsetKit * @Description 字符集工具类 * @Github <a>https://github.com/rothschil</a> * @date 2020/6/19 17...
package com.atguigu.gulimall.coupon.service; import com.baomidou.mybatisplus.extension.service.IService; import com.atguigu.common.utils.PageUtils; import com.atguigu.gulimall.coupon.entity.SkuFullReductionEntity; import java.util.Map; /** * 商品满减信息 * * @author BarryTong * @email barrytong98@gmail.com * @date 20...
package com.example.greatbook.widght; import android.content.Context; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.RelativeLayout; import android.widget.TextView; import com.example.greatbook.R; import...
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/** * <h1>MSD (Most-Significant-Digit first radix sort)</h1> * * <li> Partition file into R pieces according to first character (use key indexed counting) * <li> Recursively sort all strings that start with each character (key indexed counts delineate files to sort) * <li> MSD is like a generalisation of QuickSort * <...
public class pointer { public static void main(int n) {int i,j; for (i=0;i<=n;i++) {for(j=0;j<n;j--) {if((i==0)||(i==(n-1))&&(j==0)||(j==(n-1))) {System.out.print("*"); } else {System.out.print(" "); }} System.out.println();...
package com.zqr.study.spring.framework.webmvc; import com.zqr.study.spring.framework.annotation.ZqrRequestParameter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.lang.annotation.Annotation; import java.lang.reflect.Array; import java.lang.reflect.InvocationT...
package com.xm.guli.coupon; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class GulimallCouponApplicationTests { @Test void contextLoads() { } }
// This file is part of the AMPII Project. It is subject to the copyright and license terms in the top-level LICENSE file. package org.ampii.xd.functions; import org.ampii.xd.common.Errors; import org.ampii.xd.common.XDException; import org.ampii.xd.data.*; import org.ampii.xd.data.basetypes.BooleanData; import org.am...
package com.meyoustu.amuse.gous.safe; import java.io.InputStream; import static com.meyoustu.amuse.gous.WholeImpl.WHOLE; import static java.util.Base64.getDecoder; import static java.util.Base64.getEncoder; /** * @author Liangcheng Juves * Created at 2020/05/20 12:23 */ public final class Base64 { private B...
// Copyright 2015-2021 Nkisi 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...
/* * 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...
package p1bar.terminal.win32; import com.sun.jna.Pointer; import p1bar.terminal.Pty; import p1bar.terminal.Size; public class Win32Terminal implements Pty { private static final Pointer consoleOut = Kernel32.INSTANCE.GetStdHandle(Kernel32.STD_OUTPUT_HANDLE); @Override public Size getSize() { fina...
package com.codingame.game; import com.codingame.gameengine.core.AbstractPlayer; import java.awt.*; import java.util.ArrayList; import java.util.Arrays; import java.util.Random; public class Game { private Random rnd; public int currentPlayer = -1; public ArrayList<Snake> snakes = new ArrayList<>(); ...
/* * #%L * Fork of Apache Jakarta POI. * %% * Copyright (C) 2008 - 2016 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use th...
/** * Source code generated by uk.ac.leeds.ccg.andyt.generic.data.us.process.US_JavaCodeGenerator */ package uk.ac.leeds.ccg.data.us.data.indresp; public class US_Wave24_indresp_Record extends US_indresp_Record { protected byte ADCTS; protected byte AEDROF1; protected byte AEDROF2; protected byte AEDROF3; protected b...
package io.ray.serve; import com.google.common.collect.ImmutableMap; import io.ray.api.BaseActorHandle; import io.ray.api.ObjectRef; import io.ray.runtime.metric.Count; import io.ray.runtime.metric.Metrics; import io.ray.serve.generated.RequestMetadata; import io.ray.serve.poll.KeyListener; import io.ray.serve.poll.Ke...
package org.spring.springboot.controller; import org.spring.springboot.domain.User; import org.spring.springboot.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMetho...
/* Copyright 2013 predic8 GmbH, www.vopen.xyz 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 io.sapl.hamcrest; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.MatcherAssert.assertThat; import static org.junit.jupiter.api.Assertions.assertThrows; import java.util.Optional; import java.util.function.Predicate; import org.hamcrest.Stri...