text stringlengths 7 995k |
|---|
package net.minecraft.client.renderer.texture;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import com.mojang.blaze3d.systems.RenderSystem;
import com.mojang.realmsclient.RealmsMainScreen;
import java.io.IOException;
import java.util.Iterator;
import java.util.Map;
import java.util.Set... |
package com.chuan.service;
public interface GirlService {
String sayBye();
} |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/talent/v4beta1/profile_service.proto
package com.google.cloud.talent.v4beta1;
public final class ProfileServiceProto {
private ProfileServiceProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistr... |
// Licensed to Cloudera, Inc. under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Cloudera, Inc. licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this f... |
package com.warehouse.ui.configure;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.lifecycle.ViewModelProvider;
import com.g... |
package org.ognl.test.objects;
/**
*
*/
public class Two {
public String getMessage(String mes)
{
return "[" + mes + "]";
}
public boolean hasChildren(String name)
{
return name.length() > 2;
}
} |
package android.support.v7.widget;
import android.content.Context;
import android.support.v7.appcompat.R.attr;
import android.support.v7.internal.view.menu.MenuItemImpl;
import android.support.v7.internal.view.menu.SubMenuBuilder;
import android.support.v7.internal.view.menu.s;
import android.view.MenuItem;
import and... |
//-----------------------------------------------------------------------------
//Ape_2_Bte_Cpyv_1
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
//Package Definition
//-------------------------------------... |
package com.atguigu.gulimall.member.dao;
import com.atguigu.gulimall.member.entity.MemberEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 会员
*
* @author wuchao
* @email 15801630979@163.com
* @date 2020-08-23 19:59:27
*/
@Mapper
public interface ... |
package com.lig.libby.controller.adapter.userui;
import com.lig.libby.controller.adapter.userui.dto.TaskPublicDto;
import com.lig.libby.controller.adapter.userui.mapper.read.TaskPublicUiApiReadMapper;
import com.lig.libby.controller.adapter.userui.mapper.save.TaskPublicUiApiSaveMapper;
import com.lig.libby.controller.... |
package br.com.luciano.npj.service;
import java.time.LocalDateTime;
import javax.persistence.PersistenceException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import br.com.luciano.npj.... |
package org.sagebionetworks.bridge;
import static com.google.common.base.Preconditions.checkNotNull;
import static org.sagebionetworks.bridge.AuthEvaluatorField.APP_ID;
import static org.sagebionetworks.bridge.AuthEvaluatorField.ORG_ID;
import static org.sagebionetworks.bridge.AuthEvaluatorField.OWNER_ID;
import stati... |
package com.platform.tool.util;
import java.sql.Types;
import java.util.Date;
import oracle.jdbc.driver.OracleTypes;
import oracle.jdbc.oracore.OracleType;
/**
* @Description:
* @Author: 传智播客 java学院 传智宋江
* @Company: http://java.itcast.cn
* @CreateDate: 2015年1月10日
*/
public class ConvertUtil {
/*
* 数据库表规范,... |
package cn.edu.bupt.pdptw;
import cn.edu.bupt.pdptw.algorithm.split.algo.SDPDP;
import cn.edu.bupt.pdptw.configuration.Configuration;
import cn.edu.bupt.pdptw.configuration.FileUtil;
import cn.edu.bupt.pdptw.configuration.exception.InvalidFileFormatException;
import cn.edu.bupt.pdptw.model.Solution;
import org.json.si... |
package com.lwk.familycontact.project.chat.adapter;
import android.content.Context;
import com.hyphenate.chat.EMMessage;
import com.lib.rcvadapter.holder.RcvHolder;
import com.lwk.familycontact.R;
import com.lwk.familycontact.project.chat.presenter.HxChatPresenter;
import com.lwk.familycontact.project.chat.utils.HxMs... |
/*
* 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 ... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL") (col... |
/*******************************************************************************
* Copyright (c) 2000, 2015 IBM Corporation and others.
* 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, an... |
/*
* 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.acarballeira.proba10; |
/*
* 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 lu.jpingus.minecraft.cellar;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public abstract class AbstractPlayerCommand implements CommandExecutor {
Player getPlayer(CommandSender commandSender) {
... |
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... |
/*
* 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... |
package guru.springframework.sfgpetclinic.services.map;
import guru.springframework.sfgpetclinic.model.Vet;
import guru.springframework.sfgpetclinic.services.VetService;
import org.springframework.stereotype.Service;
import java.util.Set;
/**
* Created by Joel Gayle on 24 Jan, 2020
*/
@Service
public class VetServ... |
package org.sputnikdev.bluetooth.manager.impl;
import java.util.concurrent.CompletableFuture;
import java.util.function.Function;
import java.util.function.Predicate;
class DeferredCompletableFuture<G, T> extends CompletableFuture<T> {
private final Predicate<G> predicate;
private final Function<G, T> functi... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: SltGecsCustomizeJoinPart.java
package com.ucap.gecs.component.customizepage;
import com.ucap.gecs.base.ecc.EccClass;
import com.ucap.gecs.base.gl... |
/* ###
* 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... |
package cn.wildfire.chat.kit.utils;
import android.text.TextUtils;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import androidx.annotation.NonNull;
import okhttp3.Call;
import okhttp3.Callback;
import okhttp3.OkHttpClient;
import okhttp3.Request;
impor... |
/*******************************************************************************
* 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... |
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.util.Random;
public class Rocket
{ //Coordinates
private double x;
private double y;
//velocity of the sprite
private double dx = 0;
private double dy = 0;
//Radius of the circular rocket
private double radius;
//How long ... |
package com.berthms.backend.service.VesselDetsService;
import java.util.Optional;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
public interface VesselDetsFilterableCrudService<T> extends VesselDetsCrudService<T> {
} |
/*
* Created on Dec 14, 2005
*
* Copyright 2005-2010 Ignis Software Tools Ltd. All rights reserved.
*/
package tests.jsystem.framework.fixture;
import jsystem.framework.fixture.RootFixture;
import junit.framework.SystemTestCase;
/**
* @author guy.arieli
*
*/
public class FixtureFailTearDownTest extends SystemT... |
/*
* energy-ade-citygml4j - Energy ADE module for citygml4j
* https://github.com/citygml4j/energy-ade-citygml4j
*
* energy-ade-citygml4j is part of the citygml4j project
*
* Copyright 2013-2019 Claus Nagel <claus.nagel@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not... |
package org.swisspush.gateleen.expansion;
import org.swisspush.gateleen.AbstractTest;
import org.swisspush.gateleen.TestUtils;
import com.jayway.awaitility.Duration;
import io.restassured.response.Response;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.unit.Async;
import... |
package elucent.rootsclassic.ritual;
import java.util.ArrayList;
import elucent.rootsclassic.RegistryManager;
import elucent.rootsclassic.Roots;
import elucent.rootsclassic.Util;
import elucent.rootsclassic.block.altar.TileEntityAltar;
import elucent.rootsclassic.block.brazier.TileEntityBrazier;
import elucent.rootscl... |
package com.j6crypto.engine;
import com.binance.api.client.BinanceApiClientFactory;
import com.binance.api.client.BinanceApiRestClient;
import com.binance.api.client.domain.OrderStatus;
import com.binance.api.client.domain.account.NewOrderResponse;
import com.j6crypto.engine.entity.ClientExchange;
import com.j6crypto.... |
/*
* 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 it.polito.dp2.NFFG.sol3.service.neo4j;
import java.net.*;
import javax.ws.rs.client.*;
import javax.ws.rs.core.*;
import it.polito.dp2.NFFG.sol3.service.exceptions.*;
/**
* Access to NEO4JXML service
*
* @author Martino Mensio
*
*/
public class Neo4JXMLClient {
private static ObjectFactory factory =... |
/*
* 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 io.github.helvalius.fortune.teller;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springf... |
package net.smackem.ylang.runtime;
import java.util.List;
import java.util.Objects;
import java.util.function.Function;
public class FunctionVal extends Value {
private final Function<List<Value>, Value> invocation;
private final String name;
private final int parameterCount;
public FunctionVal(Stri... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
package com.central.common.model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author zlt
* 角色
*/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_role")
public class SysRole extends SuperEntity {
private static final long serialVe... |
package cmps252.HW4_2.UnitTesting;
import static org.junit.jupiter.api.Assertions.*;
import java.io.FileNotFoundException;
import java.util.List;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import cmps252.HW4_2.... |
package japicmp.model;
/**
* Implemented by all elements that have a bridge modifier.
*/
public interface JApiHasBridgeModifier {
/**
* Returns the bridge modifier. The ACC_BRIDGE property is
* added by the compiler for bridge methods.
*
* @return the bridge modifier
*/
JApiModifier<BridgeModifier> getBr... |
/*
* 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 Medallia, 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 ... |
/**
* cc-dbp-dataset
*
* Copyright (c) 2017 IBM
*
* The author 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/LICENSE-2.0
*
* ... |
package cc.mrbird.febs.heart.service.impl;
import cc.mrbird.febs.common.domain.QueryRequest;
import cc.mrbird.febs.common.utils.SortUtil;
import cc.mrbird.febs.heart.entity.HeartBCheckthree;
import cc.mrbird.febs.heart.dao.HeartBCheckthreeMapper;
import cc.mrbird.febs.heart.service.IHeartBCheckthreeService;
import com... |
package com.ayang818.honor.datacollection.mapper;
import com.ayang818.honor.datacollection.model.TotalHonor;
import com.ayang818.honor.datacollection.model.TotalHonorExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
public interface TotalHonorMappe... |
package org.hl7.davinci.priorauth;
import java.util.Collections;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.hl7.davinci.priorauth.Database.Table;
import org.hl7.davinci.priorauth.Endpoint.RequestType;
import org.hl7.fhir.instance.model.api.IBaseResource;
import ... |
package com.zetcode;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
public class FileChannelEx {
public static void main(String[] args) throws IOException {
var fileName = "src/resources/thermopylae.txt";
try (Rando... |
/*
* Copyright 2010-2021 Australian Signals Directorate
*
* 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 a... |
/*
* Copyright 2018-2022 adorsys GmbH & Co KG
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version. This progra... |
package io.cucumber.junit;
import io.cucumber.core.event.CucumberStep;
import io.cucumber.core.exception.CucumberException;
import io.cucumber.core.feature.CucumberPickle;
import io.cucumber.core.runner.Runner;
import io.cucumber.core.runtime.RunnerSupplier;
import org.junit.runner.Description;
import org.junit.runner... |
/*
* Copyright 2016-2021 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... |
/*
* Copyright (c) 2018, 2019 Oracle and/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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
package edu.cmu.pslc.learnsphere.transform.RPivot;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import org.jdom.Element;
import edu.cmu.pslc.datashop.workflows.AbstractComponent;
import edu.cmu.pslc.statisticalCorrectnessModeling.utils.IOUtil;
public class RPivotMain extends AbstractCompo... |
package com.walmartlabs.concord.runtime.v2.runner;
/*-
* *****
* Concord
* -----
* Copyright (C) 2017 - 2020 Walmart 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
*
*... |
package com.ibagroup.workfusion.rpa.core.robots;
import java.util.Base64;
import org.apache.commons.lang3.exception.ExceptionUtils;
import org.openqa.selenium.OutputType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.workfusion.rpa.driver.Driver;
import com.workfusion.rpa.helpers.utils.ApiUtils;
... |
/*
* Copyright 2008-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.cts.training.controller;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.cfg.Configuration;
import com.cts.training.model.User;
public class UserController {
public static void main(String[] args) {
C... |
/*
* Copyright 2015 Red Hat, Inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.o... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/*
* 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
* "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 may ... |
/*
* Copyright 2009-2014 PrimeTek.
*
* 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... |
/*
* 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.tangerine.android.generator;
import com.tangerine.ecannotations.PayEntryGenerator;
import com.tangerine.eccore.EcShopping.wechat.templates.WXPayEntryTemplate;
@PayEntryGenerator(
packageName = "com.tangerine.android",
payEntryTemplate = WXPayEntryTemplate.class
)
public interface WeChatPa... |
// ============================================================================
//
// Copyright (C) 2006-2018 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
package se.chalmers.bokforing.service;
import java.util.List;
import se.chalmers.bokforing.model.AccessKey;
import se.chalmers.bokforing.model.AccessKeyType;
import se.chalmers.bokforing.model.UserAccount;
/**
*
* @author Dženan
*/
public interface AccessKeyService {
List<AccessKey> findByUserAccount(UserAcco... |
/**
* Copyright © 2016-2017 PT VIO Intelligence 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 appl... |
package com.github.erictao2.aegis.api.advice.processor;
import com.github.erictao2.aegis.api.annotation.DefendTimeout;
import com.github.erictao2.aegis.core.advice.processor.AegisAdviceProcessor;
/**
* @author TJX
* @Title: ReqTimeoutProcessor
* @date 2018/7/3017:24
*/
public interface ReqTimeoutProcessor extends... |
/*
* Copyright 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 applica... |
// ============================================================================
//
// Copyright (C) 2006-2016 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
/*
* Copyright (c) 2019. University of Applied Sciences and Arts Northwestern Switzerland FHNW.
* All rights reserved.
*/
package ch.fhnw.digibp.classroom.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springfra... |
package com.atguigu.gmall.pms.dao;
import com.atguigu.gmall.pms.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 属性&属性分组关联
*
* @author greatagainj
* @email @
* @date 2020-03-13 19:10:01
*/
@Mapper
public interface Att... |
package org.jivesoftware.whack;
/**
*
* @author Matt Tucker
*/
public class PacketReader {
} |
package com.example.reflection.entity;
/**
* @Author: lyh
* @Date: 2021/06/24 18:08
* @Description:
*/
public class Student {
private String name;
private int age;
//私有的有参构造方法
private Student(String name) {
System.out.println("name的值为:" + name);
System.out.println("private...Studen... |
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/*
* Copyright (c) 1997 - 2016
* Actelion Pharmaceuticals Ltd.
* Gewerbestrasse 16
* CH-4123 Allschwil, Switzerland
*
* 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 sour... |
package org.osjava;
import org.apache.commons.lang.ObjectUtils;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Modifier;
import java.... |
/**
* Autogenerated by Frugal Compiler (3.14.10)
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*
* @generated
*/
package include_vendor.java;
import com.workiva.frugal.FContext;
import com.workiva.frugal.exception.TApplicationExceptionType;
import com.workiva.frugal.middleware.InvocationHand... |
package org.jivesoftware.openfire.plugin.monitoring;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.jivesoftware.openfire.plugin.MonitoringPlugin;
import org.jivesoftware.openfire.archive.ArchivedMessage;
import org.jivesoftware.openfire.archive.Conversation;
import org.jiv... |
package com.dotmarketing.startup.runonce;
import java.sql.SQLException;
import com.dotmarketing.common.db.DotConnect;
import com.dotmarketing.db.DbConnectionFactory;
import com.dotmarketing.exception.DotDataException;
import com.dotmarketing.exception.DotRuntimeException;
import com.dotmarketing.startup.StartupTask;
... |
/*
* 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... |
class Solution {
public int flipgame(int[] fronts, int[] backs) {
Set<Integer> same = new HashSet<>();
int n = fronts.length;
for(int i = 0; i < n; ++i) {
if (fronts[i] == backs[i]) same.add(fronts[i]);
}
int ans = Integer.MAX_VALUE;
for(int front : fronts... |
/*
* 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.firstinspires.ftc.teamcode.opmodes.autos;
import com.acmerobotics.roadrunner.geometry.Pose2d;
import com.acmerobotics.roadrunner.geometry.Vector2d;
import com.arcrobotics.ftclib.command.CommandOpMode;
import com.arcrobotics.ftclib.command.InstantCommand;
import com.arcrobotics.ftclib.command.ParallelComman... |
package net.minecraft.item;
import com.google.common.collect.Multimap;
import java.util.Set;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.SharedMonsterAttributes;
... |
/***
* @Author: 码上talk|RC/3189482282@qq.com
* @Date: 2021-11-01 17:49:04
* @LastEditTime: 2021-11-05 14:37:40
* @LastEditors: 码上talk|RC
* @Description:
* @FilePath: /tacomall-api/api/ma/src/main/java/store/tacomall/apima/service/SaleFormService.java
*/
package store.tacomall.apima.service;
import java.util.Lis... |
/**
* Copyright (c) 2016-2019 人人开源 All rights reserved.
*
* https://www.renren.io
*
* 版权所有,侵权必究!
*/
package io.recruit.modules.sys.service;
import io.recruit.modules.sys.entity.SysUserEntity;
import io.recruit.modules.sys.entity.SysUserTokenEntity;
import java.util.Set;
/**
* shiro相关接口
*
* @author Mark sun... |
// Copyright 2019, Oracle Corporation and/or its affiliates. All rights reserved.
// Licensed under the Universal Permissive License v 1.0 as shown at
// http://oss.oracle.com/licenses/upl.
package oracle.kubernetes.weblogic.domain.model;
import static oracle.kubernetes.utils.SystemClockTestSupport.isDuringTest;
imp... |
package demo.exceptions;
public class CustomException extends RuntimeException {
/**
* Unique ID for Serialized object
*/
private static final long serialVersionUID = 4657491283614755649L;
public CustomException(String msg) {
super(msg);
}
public CustomException(String msg, Throwable t) {
super(msg, t)... |
/*
* Copyright 2020-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... |
/*
* Copyright © 2014 - 2018 Leipzig University (Database Research 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
*
* Unles... |
package com.vrachieru.cnp4j.exception;
import static java.lang.String.format;
public class InvalidFormatException extends Cnp4jException {
private static final String EXCEPTION_MESSAGE = "The %s field value is %s.";
public InvalidFormatException() {
super();
}
public InvalidFormatException(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.