text stringlengths 7 1.01M |
|---|
package com.googlecode.luceneappengine;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import java.io.IOException;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
public class LimitedByteArrayWriterTest {
@Rule
public ExpectedException e... |
package com.ellisiumx.elrankup.machine.holder;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.InventoryHolder;
public class MachineMainMenuHolder implements InventoryHolder, MachineMenuHolder {
@Override
public Inventory getInventory() {
return null;
}
}
|
class Test{
public void foo() {
<selection>class A {
}</selection>
new A();
}
}
|
package picocli.examples.module.simple;
import org.junit.jupiter.api.Test;
import picocli.CommandLine;
import java.io.PrintWriter;
import java.io.StringWriter;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class ModularCliTest {
@Test public void testGetMessage() {
CommandLine cmd ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
Copyright 2015 Adamantium
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... |
/*
* Idfy Deposit
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1
* Contact: support@idfy.io
*/
package io.idfy.deposit.models;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.anno... |
package us.kbase.groups.core.fieldvalidation;
/**
* Thrown when a custom field contains an illegal value.
* @author gaprice@lbl.gov
*
*/
public class IllegalFieldValueException extends Exception {
private static final long serialVersionUID = 1L;
public IllegalFieldValueException(String message) { super(messa... |
/*
* Copyright (C) 2017 Buglife, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
/**
* CProdSyn.java 2011/10/19
*/
package com.ycsoft.beans.core.prod;
import java.io.Serializable;
import java.util.Date;
import com.ycsoft.daos.config.POJO;
/**
* CProdSyn -> C_PROD_SYN mapping
*/
@POJO(
tn="C_PROD_SYN",
sn="",
pk="")
public class CProdSyn implements Serializable {
// CProdSyn all pro... |
package co.nyzo.verifier.web;
import co.nyzo.verifier.RunMode;
import co.nyzo.verifier.client.Client;
import co.nyzo.verifier.client.ClientController;
import co.nyzo.verifier.documentation.DocumentationController;
import co.nyzo.verifier.micropay.MicropayController;
import co.nyzo.verifier.util.PreferencesUtil;
import... |
package co.yiiu.module.user.service;
import co.yiiu.module.user.model.OAuth2User;
import co.yiiu.module.user.repository.OAuth2UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
i... |
package com.ruoyi.integral.domain;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruoyi.common.utils.CustomLocalDateTimeDeserializer;
import com.ruoyi.common.utils.CustomLocalDateTimeSerializer;
import io.swagger.annotations.... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright (c) 2016-2018 Vladimir Schneider <vladimir.schneider@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
*
* Unle... |
/*
NavigatorActivity.java
Copyright (C) 2012 Cartography Ltd.
See www.cartotype.com for more information.
*/
package com.cartotype.navigator;
import android.app.Activity;
import android.content.Context;
import android.content.pm.ActivityInfo;
import android.location.LocationManager;
import android.os.Bundle;
import a... |
package com.bluecatcode.common.io;
import javax.annotation.Nullable;
import javax.annotation.WillCloseWhenClosed;
import java.io.Closeable;
import java.io.IOException;
import static com.bluecatcode.common.contract.Checks.check;
import static com.bluecatcode.common.predicates.Predicates.isNotNull;
import static java.l... |
package semexe.freebase;
import semexe.basic.IOUtils;
import semexe.basic.LogInfo;
import semexe.basic.MapUtils;
import semexe.basic.Option;
import semexe.exec.Execution;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Map;
/**
* Input: raw RDF Freebase dump (... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 部署单处理反馈参数
*
* @author auto create
* @since 1.0, 2019-08-14 15:14:01
*/
public class AlipayDataDataserviceDeployorderResultSendModel extends AlipayObject {
private static final ... |
package medo.datastructure.priorityqueue;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeSet;
/**
* 基于 ArrayList 实现二叉堆,使用 HashMap 优化移除 Removal 操作。
*
* @author bryce
*
* @param <E>
*/
public class BinaryHeap<E ... |
package org.wmaop.aop.matcher;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import org.wmaop.aop.interceptor.FlowPosition;
import org.wmaop.aop.interceptor.InterceptPoint;
public class FlowPosition... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * 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 license... |
/*
* Copyright (c) 2008-2015, 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 ... |
/*
* generated by Xtext
*/
package org.scribble.editor.dsl.parser.antlr;
import com.google.inject.Inject;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.scribble.editor.dsl.services.ScribbleDslGrammarAccess;
public class ScribbleDslParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser... |
package co.yixiang.modules.yiyaobao.demo;
import net.sf.json.JsonConfig;
import net.sf.json.processors.JsonValueProcessor;
import java.util.Date;
import java.text.SimpleDateFormat;
/**
* @version 1.0
* @author: Ma Ji
* @since: 2009-11-23
*/
public class JsonDateValueProcessor implements JsonValueProcessor {
... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 使用人脸能力所需要等拓展参数信息
*
* @author auto create
* @since 1.0, 2019-04-16 19:55:28
*/
public class FaceAbilityExtInfo extends AlipayObject {
private static final long serialVersionUID ... |
/*******************************************************************************
* Copyright (c) 2005, 2014 springside.github.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
*******************************************************************************/
package me.j360.dubbo.modules.util.ref... |
/*
* Copyright 2016 SimplifyOps, Inc. (http://simplifyops.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 ... |
/*
* (c) Copyright 2015 Micro Focus or one of its affiliates.
*
* Licensed under the MIT License (the "License"); you may not use this file
* except in compliance with the License.
*
* The only warranties for products and services of Micro Focus and its affiliates
* and licensors ("Micro Focus") are as may be se... |
/*
* Copyright 2011-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 a... |
/**
* 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 ... |
package eu.veldsoft.devol.dummy;
/**
* It is a dummy class. It was created only to bypass compilation error.
*/
public class Container {
public Object getLayout() {
return null;
}
public void add(Component component) {
}
}
|
package ru.matevosyan;
import org.junit.Ignore;
import org.junit.Test;
import java.util.Iterator;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.MatcherAssert.assertThat;
/**
* SynchronizedLinkedListTest to test synchronized DynamicLinkedList.
* @author Matevosyan Vardan
* @version 1.0
* crea... |
/**
* Copyright (c) 2010, Sebastian Sdorra
* 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 list of c... |
// Copyright 2000-2018 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.codeInspection.varScopeCanBeNarrowed;
import com.intellij.codeInsight.AnnotationUtil;
import com.intellij.codeInsight.daemon.GroupNames;
import com.intellij.... |
/*
* Copyright (c) 2017 Georgi Pavlov (georgi.pavlov@isoft-technology.com).
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the MIT license which accompanies
* this distribution, and is available at
* https://github.com/tengia/oauth-2/blob/master/LICENS... |
/*******************************************************************************
* Copyright (c) 2015 OpenDSE
*
* 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, ... |
/**
* ArrayOfConfigSetting.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
*/
package com.avalara.avatax.services.local;
public class ArrayOfConfigSetting implements java.io.Serializable {
private com.avalara.avatax.services.local.Con... |
/**
* The MIT License
* Copyright (c) 2015 Alexander Sova (bird@codeminders.com)
* <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... |
package cn.edu.seu.itbook.designpatterns.factory.pizzaaf;
public class CheesePizza extends Pizza {
PizzaIngredientFactory ingredientFactory;
public CheesePizza(PizzaIngredientFactory ingredientFactory) {
this.ingredientFactory = ingredientFactory;
}
void prepare() {
System.out.println("Preparing " + name);... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.sql.plugin;
import org.apache.logging.log4j.... |
/*
* 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 ... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package android.support.transition;
import android.view.ViewGroup;
// Referenced classes of package android.support.transition:
// ViewGroupUtilsApi18,... |
package com.flagship.startup.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import java.math.BigDecimal;
/**
* @Author: flag ship
* @Date: 2020/4/11 20:19
*/
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ComData {
i... |
package be.ugent.vopro1.adapter;
import be.ugent.vopro1.adapter.result.Result;
import be.ugent.vopro1.adapter.result.types.DBInvalidQueryResult;
import be.ugent.vopro1.adapter.result.types.NoPermissionResult;
import be.ugent.vopro1.adapter.result.types.SuccessResult;
import be.ugent.vopro1.interactor.mocks.MockHeaderA... |
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import java.util.List;
import org.firstinspires... |
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
package com.google.zxing.integration.android;
/**
* Created by martinosecchi on 17/04/16.
*/
public final class IntentResult {
private final String contents;
private final String formatName;
private final byte[] rawBytes;
private final Integer orientation;
private final String errorCorrectionLeve... |
package com.example.sockword;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Context;
import android.content.SharedPreferences;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import a... |
/*******************************************************************************
* Copyright 2012 Ivan Shubin http://mindengine.net
*
* 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
*
* htt... |
package com.jeesuite.common.json;
import java.util.List;
public class JsonUtils {
private static JsonMapper jsonMapper = JsonMapper.getDefault();
public static String toJson(Object object) {
return jsonMapper.toJson(object);
}
/**
* 不含值为null的属性
* @param object
* @return
*/
public static String to... |
public interface Mythical {
default public String identifyMyself() {
return "I am a mythical creature.";
}
}
|
package com.example.edibleflowers;
import android.Manifest;
import android.content.pm.PackageManager;
import android.os.Build;
import android.support.v4.app.ActivityCompat;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.vi... |
package mainAPI.controller;
import javax.servlet.http.HttpServletRequest;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.fasterxml.jackson.databind.util.JSONPObject;
import org.modelmapper.Mode... |
package cf.nirvandil.coursework.rest;
import cf.nirvandil.coursework.model.Group;
import cf.nirvandil.coursework.repo.GroupRepo;
import cf.nirvandil.coursework.rest.dto.GroupDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframe... |
package com.macro.mall.model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
public class SmsFlashPromotion implements Serializable {
private Long id;
private String title;
@ApiModelProperty(value = "开始日期")
private Date startDate;
@ApiModelPr... |
/**
* Copyright (c) 2014 Christian Dreher <uaeef@student.kit.edu>
*
* Released under the MIT license (refer to LICENSE.md)
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE... |
package com.zizhizhan.legacies.pattern.factorymethod;
public class FactoryMethod extends DPApplication {
@Override
public void CreateDocument() {
doc = new MyDocument();
}
@Override
public void Dump() {
System.out.println("FactoryMethod exists");
}
}
|
package me.zhengjie.modules.basic_management.wechat.rest;
import cn.hutool.core.codec.Base64;
import com.alibaba.fastjson.JSON;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import me.zhengjie.aop.log.Log;
import me.zhengjie.modules.basic_management.Archivesmouthsmanagement.service.Arc... |
/*
* Copyright 2013-2018 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.example.rpl.RPL.controller;
import com.example.rpl.RPL.controller.dto.ActivitiesStatResponseDTO;
import com.example.rpl.RPL.controller.dto.SubmissionsStatResponseDTO;
import com.example.rpl.RPL.controller.dto.SubmissionsStatsResponseDTO;
import com.example.rpl.RPL.model.stats.ActivitiesStat;
import com.exa... |
package Minji.sample;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
public class FileReadStream {
public static void main(String[] args) throws IOException, ClassNotFoundException {
// 스트림 형태로 파일에 기록된 객체를 읽어오기
String fpath = "C:/Java/users.dat";
Fil... |
package com.aire.ux.select.css;
import static com.aire.ux.select.css.TokenPatterns.IDENTIFIER;
import static com.aire.ux.select.css.TokenPatterns.NUMBER;
import static com.aire.ux.select.css.TokenPatterns.STRING_FORM_1;
import static com.aire.ux.select.css.TokenPatterns.STRING_FORM_2;
import static com.aire.ux.select.... |
/*
* DeveloperName(): Jignesh Chudasama
* GithubName(): https://github.com/Jignesh-81726
*/
import java.io.*;
import java.util.*;
import java.lang.Math;
public class Solution {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
i... |
package com.n1analytics.paillier;
import java.math.BigDecimal;
import java.math.BigInteger;
public interface EncodingScheme {
/**
* the relative error of an encoded BigDecimal is always smaller than 10^-BIG_DECIMAL_ENCODING_PRECISION
*/
public static final int BIG_DECIMAL_ENCODING_PRECISION = 34;
/**
... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.views.text;
import android.content.res.AssetManager;
import android.graphics.Paint;
import android.grap... |
package im.aop.loggers;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;
/**
* Configuration properties for AOP Loggers.
*
* @author And... |
package com.ty.voogla.ui.activity;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.support.v7.widget.DividerItemDecoration;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.Tex... |
/*-
* #%L
* ImgLib2 data structures using Unsafe.
* %%
* Copyright (C) 2017 - 2021 Howard Hughes Medical Institute.
* %%
* 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... |
package br.edu.ifrn.projetotcc;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class ApplicationTests {
@Test
void contextLoads() {
}
}
|
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright (C) 2010 Trustees of the University of Pennsylvania
*
* 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 ... |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... |
package zapsolutions.zap.lnd;
import com.github.lightningnetwork.lnd.routerrpc.RouterGrpc;
import io.grpc.CallCredentials;
import io.grpc.Channel;
import io.reactivex.rxjava3.core.Observable;
import io.reactivex.rxjava3.core.Single;
public class RemoteLndRouterService implements LndRouterService {
private Route... |
/*
* Copyright 2022 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... |
package lambdasinaction.chap10;
import java.util.*;
import static java.util.stream.Collectors.toSet;
public class OptionalMain {
public String getCarInsuranceName(Optional<Person> person) {
return person.flatMap(Person::getCar)
.flatMap(Car::getInsurance)
.map(I... |
/*
* 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 (c) 2010-2015 Pivotal Software, 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 req... |
/*
* Copyright (c) 2008-2015, 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 xyz.staffjoy.company.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import xyz.staffjoy.common.validation.DayOfWeek;
import xyz.staffjoy.common.validation.Group1;
import xyz.staffjoy.common.validation.Group2;
import xyz.staffjoy.common.validat... |
package com.ruoyi.cms.web.controller;
import com.ruoyi.cms.system.model.po.CmsCat;
import com.ruoyi.cms.system.model.vo.CatCountVo;
import com.ruoyi.cms.system.service.impl.CmsCatServiceImpl;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.do... |
package game.struct;
//typedef void DrawEngineProc(int x, int y, EngineID engine, int image_ormod);
@FunctionalInterface
public interface DrawEngineProc
{
//void accept(int x, int y, EngineID engine, int image_ormod);
void accept(int x, int y, int engine, int image_ormod);
}
|
package com.zoomulus.speakeasy.core.flow;
import com.zoomulus.speakeasy.core.message.Message;
import lombok.Data;
import lombok.experimental.Accessors;
@Data
@Accessors(fluent=true)
public class TestMessageTypeExaminer implements Processor
{
@Accessors(fluent=true, chain=false)
private Node node;
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")... |
package com.gagful.dto;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.gagful.base.BaseEntity;
import com.gagful.util.FileUtil;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Lob;
import javax.validation.constraints.NotBlank;
import java... |
/*
* 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.Checks.*;
import static org.lwj... |
/*
* Copyright 2002-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.eacpay.tools.security;
import android.util.Log;
import com.eacpay.presenter.entities.PaymentRequestWrapper;
import com.eacpay.exceptions.CertificateChainNotFound;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.KeyStore;
impo... |
package problems.algorithm.stack;
import java.util.Deque;
import java.util.LinkedList;
import java.util.Stack;
/**
* 比较含退格的字符串
* @author search
*
*/
public class BackspaceCompare_844 {
/**
* use deque
*
* @param S
* @param T
* @return
*/
public boolean backspaceCompare(String S... |
package org.valkyrienskies.mixin.server.management;
import javax.annotation.Nullable;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.network.Packet;
import net.minecraft.server.management.PlayerList;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Overwrite;
import o... |
package pt.ulisboa.tecnico.socialsoftware.tutor.impexp.domain;
import pt.ulisboa.tecnico.socialsoftware.tutor.image.domain.Image;
import pt.ulisboa.tecnico.socialsoftware.tutor.question.domain.Option;
import pt.ulisboa.tecnico.socialsoftware.tutor.question.domain.Question;
import pt.ulisboa.tecnico.socialsoftware.tuto... |
/*
* Copyright 2012-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 applicable law ... |
/**
* Copyright (C) 2017 Red Hat, 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... |
package de.refactoringbot.refactoring.supportedrefactorings;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.nio.file.InvalidPathException;
import java.util.LinkedList;
import java.util.List;
import com.github.javaparser.JavaParser;
import com.github.javap... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* Copyright 1999-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except ... |
package lt.brilingas.guestregistry.dao.impl.mongo.entity.worker;
import lombok.Getter;
import lombok.Setter;
import lt.brilingas.guestregistry.data.dto.worker.WorkerType;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.time.Instant;
@Getter
@Set... |
/*
* Copyright (c) 2012 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD-3-Clause license that
* can be found in the LICENSE.txt file in the project root.
*/
package org.antlr.v4.runtime.atn;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.IntStream;
import org... |
package mara.mybox.db.data;
import mara.mybox.dev.MyBoxLog;
/**
* @Author Mara
* @CreateDate 2021-10-12
* @License Apache License Version 2.0
*/
public class ExpressionCategory extends BaseData {
public static final int RootID = 1;
public static final String CategorySeparater = " > ";
protected long ... |
package com.ruoyi.project.system.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.DeleteMapping;
i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.