text stringlengths 7 995k |
|---|
package khushahal.action;
import java.sql.*;
import java.util.ArrayList;
import khushahal.Player;
public class ShowAllPlayerAction {
ArrayList<Player> list=new ArrayList<Player>();
public ArrayList<Player> getList() {
return list;
}
public void setList(ArrayList<Player> list) {
this.lis... |
package com.wyh.me.leetcode.easy;
/**
* Title: MaximumSubarray.java<br>
* Description:
*
* Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.
*
* Example:
*
* Input: [-2,1,-3,4,-1,2,1,-5,4],
* Output: 6
* Explanation: [4,-1... |
/*
* 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) 2012, Harald Kuhr
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of condition... |
package com.fibelatti.countries.data.remote.impl;
import com.fibelatti.countries.data.models.Country;
import com.fibelatti.countries.data.remote.CountryRepositoryRemote;
import java.util.List;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava.RxJavaCallAdapterFactory;
import retrofit2.converter.gson.GsonCon... |
/*
* This file is part of the DITA Open Toolkit project.
*
* Copyright 2007 IBM Corporation
*
* See the accompanying LICENSE file for applicable license.
*/
package org.dita.dost.reader;
import org.dita.dost.exception.DITAOTException;
import org.dita.dost.util.URLUtils;
import org.dita.dost.util.XMLUtils;
impor... |
/*
* Copyright 2015 Ritesh Kapoor
*
* 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 t... |
/*
* 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 study.daydayup.wolf.business.account.auth.agent.controller;
import com.wf.captcha.utils.CaptchaUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
*... |
////////////////////////////////////////////////////////////////////////////////
//
// Created by MJesser on 10.10.2017.
//
// Copyright (c) 2006 - 2017 FORCAM GmbH. All rights reserved.
////////////////////////////////////////////////////////////////////////////////
package com.forcam.na.ffwebservices.model.qualitydet... |
package org.codehaus.jackson.map.module;
import java.io.IOException;
import java.lang.reflect.Type;
import org.codehaus.jackson.*;
import org.codehaus.jackson.map.*;
import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.codehaus.jackson.map.type.CollectionLikeType;
import org.codehaus.jackson.map.type.Ma... |
package com.open.capacity.security.advice;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.http.converter.HttpMessageNotReadableException;
import org.springframework.security.access.AccessDeniedException;
import org.springframework.web.bin... |
package tech.pdai.springboot.mysql8.jpa.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;
import tech.pdai.springboot.mysql8.jpa.entity.BaseEntity;
import java.io.Seri... |
/*
* The MIT License
*
* Copyright (c) 2012, Lubing Zhang.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
package tr.com.seruvent.udemy.currencyconversion.proxy;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import tr.com.seruvent.udemy.currencyconversion.model.CurrencyConversion;
@FeignClien... |
/*
* This file was automatically generated by EvoSuite
* Fri Aug 03 04:30:21 GMT 2018
*/
package org.mozilla.javascript;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameter... |
/*
* Copyright 2012-2013 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 org.gotti.wurmunlimited.mods.creatures.AndvarisHall;
import com.wurmonline.server.bodys.BodyTemplate;
import com.wurmonline.server.bodys.Wound;
import com.wurmonline.server.combat.ArmourTypes;
import com.wurmonline.server.creatures.CreatureTypes;
import com.wurmonline.server.items.ItemList;
import com.wurmonli... |
package jp.co.worksap.workspace.cli;
import java.io.File;
import java.net.URI;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import lombok.Getter;
import lombok.Setter;
import org.kohsuke.args4j.Option;
import com.google.common.base.Optional;
public class CliOption {
private static final ... |
/*
* package ml.kalanblowSystemManagement;
*
* import java.time.LocalDate; import java.time.LocalDateTime; import
* java.time.ZoneId; import java.util.Arrays; import java.util.HashSet; import
* java.util.Set;
*
* import org.springframework.boot.CommandLineRunner; import
* org.springframework.context.annotatio... |
package com.lh.nailweb.vo.page;
import com.lh.nailweb.vo.BasePage;
import com.lh.nailweb.vo.sys.user.UserVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* @auther: loneyfall
* @date: 2019/9/2
* @description: 用户分页类
*/
@ApiModel(value = "用户分页类", description = "用户分页类")... |
package com.scwang.refreshlayout.fragment.example;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.Toolbar;
import android.view.Layou... |
/*
* Copyright (C) 2010-2021 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.repo.sqlbase.filtering;
import javax.xml.namespace.QName;
import com.querydsl.core.types.Predicate... |
package galaxyspace.core;
import galaxyspace.GalaxySpace;
import galaxyspace.core.configs.GSConfigCore;
import galaxyspace.core.prefab.items.ItemAxeGS;
import galaxyspace.core.prefab.items.ItemFluidCanisterGS;
import galaxyspace.core.prefab.items.ItemHoeGS;
import galaxyspace.core.prefab.items.ItemPickaxeGS;
import ga... |
/*
* Copyright 2014 - 2018 Anton Tananaev (anton@traccar.org)
*
* 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 b... |
/**
* This is a generated file. DO NOT EDIT ANY CODE HERE, YOUR CHANGES WILL BE LOST.
*/
package br.com.senior.platform.cms.pojos;
/**
* Tipo da função a ser aplicada na projeção
*/
public enum FunctionType {
/**
* Média
*/
AVG,
/**
* Contar
*/
COUNT,
/**
* Máximo
... |
/*
* MIT License
*
* Copyright (c) 2021 zodac.me
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... |
package it.marcosautto.parthenopeddit.model;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import java.util.ArrayList;
public class Board {
private int id;
private String name;
private String type;
private ArrayList<Post> posts;
private int posts_num;
... |
/***
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2011 INRIA, France Telecom
* 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. Redistribution... |
package ch.heigvd.statique.commandsTest;
import ch.heigvd.statique.Statique;
import java.io.File;
import org.junit.jupiter.api.Test;
import picocli.CommandLine;
import java.util.concurrent.Callable;
import static org.junit.jupiter.api.Assertions.*;
/**
* Class representing the version command,
* allows you to ... |
/*
* MIT License
*
* Copyright (c) 2018 Jason Houk
*
* 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... |
package pt.ulisboa.tecnico.cnv.scaling.loadbalancer;
import java.util.LinkedHashMap;
import java.util.Map;
/** Keeps the most recently received Requests and Costs obtained from the MSS. */
public class UserRequestsCosts {
private static final int DELTA = 20;
private final Map<UserRequest, Double> cache;
publi... |
/*
* Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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
... |
/**
* Copyright (c) 2011, The University of Southampton and the individual contributors.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain ... |
package com.example.gungdeaditya.samplesqliteapps.helper;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import com.example.gungdeaditya.sampl... |
/*
* ExtendRulePlugin.java 1.0 $Revision: 243 $
*
* Copyright (C) 2006 Mashaal Memon
*
* Last modified by $Author: rfarahbod $ on $Date: 2011-03-29 02:05:21 +0200 (Di, 29 Mrz 2011) $.
*
* Licensed under the Academic Free License version 3.0
* http://www.opensource.org/licenses/afl-3.0.php
* http://w... |
package org.apereo.cas.support.oauth.validator.authorization;
import org.apereo.cas.authentication.principal.WebApplicationServiceFactory;
import org.apereo.cas.services.RegisteredServiceAccessStrategyAuditableEnforcer;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.support.oauth.OAuth20Constant... |
package com.example.android.pets;
import android.app.LoaderManager;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.CursorLoader;
import android.content.Intent;
import android.content.Loader;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;... |
package mage.cards.c;
import java.util.UUID;
import mage.abilities.Ability;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.condition.common.EnchantedCreatureSubtypeCondition;
import mage.abilities.decorator.ConditionalContinuousEffect;
import mage.abilities.effects.common.AttachEffect;
import ... |
package com.alipay.api.response;
import java.util.List;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
import com.alipay.api.domain.PointTransInfo;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: antfortune.equity.instpoint.trans.query response.
*
* ... |
/**
* Copyright (c) 2008, SnakeYAML
*
* 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 org.pettyfox.examples.service.account.doamin.account.repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.pettyfox.examples.service.account.doamin.account.po.Account;
/**
* @author Petty Fox.m
* @date 2019-12-31
*/
public interface AccountMapper extends BaseMapper<Account> {
} |
package com.qatestlab.pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.support.events.EventFiringWebDriver;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.testn... |
package org.desarrolladorslp.technovation.controller;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.UUID;
import java.util.stream.Collectors;
import javax.annotation.PostConstruct;
import org.desarrolladorslp.technovation.dto.BatchDTO;
import org.desarrolladorslp.techn... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package io.vpv.saml.me... |
package com.nolanlawson.keepscore.util;
import java.util.List;
import android.text.TextUtils;
import com.nolanlawson.keepscore.util.CollectionUtil.Function;
/**
* Write CSV-style files, as defined by http://en.wikipedia.org/wiki/Comma-separated_values
* @author nolan
*
*/
public class CSVUtil {
private sta... |
package com.google.android.exoplayer2.source.hls;
import java.io.IOException;
public final class SampleQueueMappingException extends IOException {
public SampleQueueMappingException(String str) {
super("Unable to bind a sample queue to TrackGroup with mime type " + str + ".");
}
} |
package com.zbutwialypiernik.flixage.util;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import java.util.regex.Pattern;
public class RegexTest {
@Test
public void test_UUID_regex() {
Pattern pattern = Pattern.compile(CommonRegex.UUID);
Assertions.assertTrue(pa... |
package com.codepath.apps.restclienttemplate.timeunits;
import org.ocpsoft.prettytime.Duration;
import org.ocpsoft.prettytime.TimeFormat;
import org.ocpsoft.prettytime.TimeUnit;
/**
* Created by teddywyly on 5/24/15.
*/
public class Second implements TimeUnit, TimeFormat {
@Override
public long getMaxQuant... |
/*
*
* Dominik Dagiel 03.2018
*
*/
package org.ddag.fun;
import java.util.Optional;
import java.util.regex.Pattern;
public class Fumeric {
private enum Operation { Plus, Minus, Multiply, Divide, Modulo }
public static Number zero() { return 0; }
public static Number sum(Number n1, Number n2) { return opN... |
/*-
* Copyright (C) 2011, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This file was distributed by Oracle as part of a version of Oracle NoSQL
* Database made available at:
*
* http://www.oracle.com/technetwork/database/database-technologies/nosqldb/downloads/index.html
*
* Please see the LICENS... |
package com.draco18s.artifacts.components;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.List;
import java.util.Random;
import com.google.common.collect.Multimap;
import com.draco18s.artifacts.api.interfaces.IArtifactComponent;
import com.draco18s.... |
package com.dubboclub.dk.web.controller;
import org.junit.Test;
import org.springframework.http.MediaType;
import org.springframework.test.web.servlet.MvcResult;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;
import static org.springframework.test.web.servlet.result.MockMvcResul... |
package org.mitre.synthea.modules;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import org.mitre.synthea.engine.Module;
import org.mitre.synthea.helpers.Attributes;
import org.mitre.synthea.helpers.Attributes.Inventory;
import org.mitre.synthea.helpers.Config;
import org.mitre.synthea.helpers... |
/*
* 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 chickenlib.sensor;
import chickenlib.util.CknData;
public abstract class CknGyro extends CknSensor<CknGyro.DataType>{
public enum DataType {
HEADING;
}
public CknGyro(){
super(3);
}
public abstract CknData<Double> getRawXHeading();
public abstract CknData<Double> ge... |
package com.intel.inde.mp.domain.pipeline;
import com.intel.inde.mp.domain.Frame;
import com.intel.inde.mp.domain.ICommandHandler;
import com.intel.inde.mp.domain.IInput;
class SkipOutputFormatChangeCommandHandler
implements ICommandHandler
{
private IInput encoder;
public SkipOutputFormatChangeComm... |
/*
* Copyright 2020 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
/*
* Copyright 2012-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... |
/*
* Copyright 2014, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions a... |
/****************************************************************************
* Copyright 2017-2020, Optimizely, Inc. and contributors *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* you m... |
/*
* Copyright 2007 skynamics AG
*
* 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 ... |
package xyz.ressor.service.proxy;
import java.lang.reflect.Constructor;
import java.util.Comparator;
import static java.lang.reflect.Modifier.*;
public class ConstructorComparator implements Comparator<Constructor> {
private static final Comparator<Constructor> INSTANCE = new ConstructorComparator().reversed();
... |
/**
* Copyright (c) 2009-2013, Lukas Eder, lukas.eder@gmail.com
* All rights reserved.
*
* This software is licensed to you under the Apache License, Version 2.0
* (the "License"); You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source and ... |
/**
* 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.bukkit.material;
import org.bukkit.Material;
import org.bukkit.block.BlockFace;
/**
* Material data for the piston base block
*/
public class PistonBaseMaterial extends MaterialData implements Directional, Redstone {
/**
* @deprecated Magic value
*/
@Deprecated
public PistonBaseMaterial(final int... |
package com.example.g5project.entity.relation;
import io.swagger.annotations.ApiModel;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;
/**
* @author Hu Zirui
* @version 1.0.0
* @ClassName SupervisorSchedule.java
* @Description TODO
* @createTime 2022年03月04日 09:11:00
*/
@Api... |
package com.example.xudong.myapplication;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.animation.AnimationUtils;
import android.widget.ImageSwitcher;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.... |
package com.qwest.xmlschema;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for AddressCommunity complex type.
*
* <p>... |
package com.k2.schemas.process.d1;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* <p>Java class for DataField complex type.
* ... |
package com.example.nguye.myapplication;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.... |
/*
*
* @file TestReadFromFile2.java
* @brief Tests for reading MathML from files into ASTNodes.
*
* @author Akiya Jouraku (Java conversion)
* @author Sarah Keating
*
* $Id: TestReadFromFile2.java 10124 2009-08-28 12:04:51Z sarahkeating $
* $HeadURL: https://sbml.svn.sourceforge.net/svnroot/sbml/trunk/l... |
package co.edu.icesi.nextfruit.util;
/**
* This static class converts color values from one color space to another.
* @author JuanD
*/
public class ColorConverter {
private static final double EPSILON = 216/24389;
private static final double KAPPA = 24389/27;
/**
* Converts from RGB color space to equivalent... |
package com.zundrel.currency.common.inventory;
import java.util.UUID;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.util.NonNullList;
im... |
/*
* 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 2002-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 ap... |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.ymy.camera;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.ImageFormat;
import android.graphics.Matrix;
import android.graphics.Rect;
import android... |
package org.bian.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.Valid;
/**
* UnderwritingWithIdAndRoot
*/
public class UnderwritingWithI... |
/**
* 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 chapter_02;
import java.util.Scanner;
/**
* Exercise 2.3
*
* (Convert Feet Into Meters) Write a program that reads a number in feet,
* converts it to meters, and displays the result. One foot is 0.305 meter.
*
* @Book Introduction to JAVA Programming, 11 Ed. By Daniel Liang
* @Date February 2022
* @au... |
/*
* 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.ray.study.smaple.springcloud.tracing.sleuthzipkin.controller;
import com.ray.study.smaple.springcloud.tracing.sleuthzipkin.client.SleuthHelloClient;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
impo... |
package net.minecraft.loot;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import net.minecraft.enchantment.Enchantments;
import net.minecraft.item.Items;
import net.minecraft.loot.functions.EnchantRandomly;
import net.minecraft.loot.functions.SetCount;
import net.minecraft.loot.functions.Se... |
/*
Copyright 1995-2015 Esri
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... |
package org.dotwebstack.framework.service.openapi.helper;
import static org.dotwebstack.framework.service.openapi.helper.CoreRequestHelper.addEvaluatedDwsParameters;
import static org.dotwebstack.framework.service.openapi.helper.CoreRequestHelper.validateParameterExistence;
import static org.dotwebstack.framework.serv... |
package com.hit.basmath.learn.others;
import com.hit.common.TreeNode;
/**
* 114. Flatten Binary Tree to Linked List
* <p>
* <p>
* Given a binary tree, flatten it to a linked list in-place.
* <p>
* For example, given the following tree:
* <p>
* 1
* / \
* 2 5
* / \ \
* 3 4 6
* <p>
* The flattened ... |
package com.grochowski.testapp;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void... |
package com.vero.activityfirst;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... |
/**
* <pre>
* Copyright: Copyright(C) 2011-2012, ketayao.com
* Date: 2013年7月29日
* Author: <a href="mailto:ketayao@gmail.com">ketayao</a>
*
* </pre>
**/
package com.ketayao.fensy.exception;
import java.util.List;
import com.ketayao.fensy.mvc.view.View;
/**
*
* @author <a href="mailto:ketayao@gmail.c... |
/*
* Copyright (c) 2004 David Flanagan. All rights reserved.
* This code is from the book Java Examples in a Nutshell, 3nd Edition.
* It is provided AS-IS, WITHOUT ANY WARRANTY either expressed or implied.
* You may study, use, and modify it for any non-commercial purpose,
* including teaching and use in open-sou... |
/**
* 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 ... |
/*
* Copyright (C) 2018 The Sylph 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 ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package net.purnama.gui.library;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileSystemView;
/**
*
* @author pu... |
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
import static org.junit.jupiter.api.Assertions.*;
class MinimumTest {
// Test fixture
private List<String> list;
// Pre-test setup met... |
/*
* Copyright 2018 The Kythe Authors. 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 by ap... |
/*
* Copyright 2017 IBM Corp. 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 by applicable law o... |
/*
* Copyright 2013-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) 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
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.