text
stringlengths
7
995k
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/******************************************************************************* * Copyright (c) 2000, 2014 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...
/* * Copyright 2012-2017 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...
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // // Copyright (c) Microsoft Corporation. All...
/** * Copyright 2015 StreamSets Inc. * * Licensed under 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 Lice...
/* * Copyright 2017 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, softw...
package com.cracker.leetcodes.array; /** * This is Leetcode number 344: Reverse String. */ public class ReverseString { public void reverseString(final char[] s) { int slow = 0; int fast = s.length - 1; while (fast - slow >= 1) { char temp = s[slow]; s[slow] = s[f...
package io.deephaven.db.v2.tuples.generated; import io.deephaven.datastructures.util.SmartKey; import io.deephaven.db.tables.utils.DBDateTime; import io.deephaven.db.tables.utils.DBTimeUtils; import io.deephaven.db.util.tuples.generated.DoubleLongShortTuple; import io.deephaven.db.v2.sources.ColumnSource; import io.de...
/* * Copyright 2016 Elizabeth Harper * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
package org.apache.airavata.ide.integration; import org.apache.airavata.api.server.AiravataAPIServer; import org.apache.airavata.credential.store.server.CredentialStoreServer; import org.apache.airavata.db.event.manager.DBEventManagerRunner; import org.apache.airavata.orchestrator.server.OrchestratorServer; import org...
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.javaagent.instrumentation.jms; import static io.opentelemetry.api.trace.SpanKind.CONSUMER; import static io.opentelemetry.api.trace.SpanKind.PRODUCER; import static io.opentelemetry.javaagent.instrumentation....
/* * Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 require...
/* Copyright 2001,2003 The Apache Software Foundation 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...
/* * (c) Copyright 2018 Palantir Technologies 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 ...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/krazy/kcfw">kcfw</a> All rights reserved. */ package com.krazy.kcfw.common.service; import java.util.List; import org.springframework.transaction.annotation.Transactional; import com.krazy.kcfw.common.persistence.TreeDao; import com.krazy.kcfw.common.per...
package com.webcheckers.application; import com.webcheckers.model.Board; import com.webcheckers.model.CheckerGame; import com.webcheckers.model.Move; import java.util.*; /** * A class designed to manage all players and their interactions with players * and the game. Helps to reach the required software design prin...
package br.com.zup.casadocodigo.dto; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import br.com.zup.casadocodigo.model.Country; import br.com.zup.casadocodigo.model.State; import org.junit.jupiter.api.Test; public class StateDetailDtoTest { ...
/* * Copyright 2012-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license"...
/* * Copyright (c) 2018 Cloudera, Inc. All Rights Reserved. * * Portions Copyright (c) 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. * You may o...
package com.pearadmin.common.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.d...
package com.cn.lgf.common.http.base; import com.cn.lgf.common.http.priority.Priority; import com.cn.lgf.common.http.utils.RequestIDHelper; import java.io.InputStream; import java.util.Map; /** * @ProjectName: LgfCommon * @Package: com.cn.lgf.common.http * @ClassName: Request * @Description: Request 请求Request * ...
/* * Copyright 2002-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 2019 Ivan Pekov (MrIvanPlays) * Copyright 2019 contributors * 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 t...
package android.hcartoon.fragment; import android.content.Intent; import android.hcartoon.MyApplication; import android.hcartoon.activity.DetailActivity; import android.hcartoon.activity.R; import android.hcartoon.adapter.RecentAdapter; import android.hcartoon.adapter.ShelfAdapter; import android.hcartoon.bean.RecentB...
package haxby.image.jcodec.common; /** * This class is part of JCodec ( www.jcodec.org ) This software is distributed * under FreeBSD License * * @author The JCodec project * */ public enum TrackType { VIDEO, AUDIO, TEXT, META, OTHER }
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.vr; import android.annotation.TargetApi; import android.app.Activity; import android.app.ActivityManager; import andr...
/** * Copyright 2005-2015 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
/* * 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) 2011-2019 Contributors to the Eclipse Foundation * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 * which is available at https:...
/* * Copyright 2009 The Closure Compiler 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...
/** * Copyright 2010 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package com.ywh.problem.leetcode.easy; /** * 验证完全平方数 * [数学] [二分查找] * * @author ywh * @since 19/11/2019 */ public class LeetCode367 { /** * Time: O(log(n)), Space: O(1) * * @param num * @return */ public boolean isPerfectSquareBinarySearch(int num) { long low = 0, high = ...
package org.cyclops.fluidconverters.modcompat.jei; import com.google.common.collect.Lists; import mezz.jei.api.*; import mezz.jei.api.recipe.IRecipeCategoryRegistration; import org.cyclops.fluidconverters.block.BlockFluidConverter; import org.cyclops.fluidconverters.fluidgroup.FluidGroup; import org.cyclops.fluidconve...
package io.github.resilience4j; import io.reactivex.Observer; import static java.util.Objects.requireNonNull; public abstract class AbstractObserver<T> extends AbstractDisposable implements Observer<T> { private final Observer<? super T> downstreamObserver; public AbstractObserver(Observer<? super T> downs...
package codeforces.practice; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.util.StringTokenizer; public class cf677d3d { public static void main(String[] args) { FastReader fs = new FastReader();...
package mage.cards.p; import mage.abilities.condition.Condition; import mage.abilities.condition.common.PermanentsOnTheBattlefieldCondition; import mage.abilities.decorator.ConditionalOneShotEffect; import mage.abilities.effects.common.UntapTargetEffect; import mage.abilities.effects.common.continuous.GainAbilityTarge...
package com.frobisher.linux.accelerate.pv; import javax.crypto.BadPaddingException; import javax.crypto.Cipher; import javax.crypto.IllegalBlockSizeException; import java.security.InvalidKeyException; /* * author: darcy * date: 2017/11/8 15:59 * description: */ public class EncryptionUtils { /** * 加密字符数组. *...
/** * Java Modular Image Synthesis Toolkit (JMIST) * Copyright (C) 2018 Bradley W. Kimmel * * 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 lim...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser; import android.content.Context; import android.os.AsyncTask; import android.util.Log; import java.io.File; import j...
package org.battelle.clodhopper.distance; /*===================================================================== * * CLODHOPPER CLUSTERING API * * -------------------------------------------------------------------- * * Copyright (C) 2013 Battelle Memorial Institute * http://www.batt...
package mil.nga.geopackage.extension.coverage; import java.io.ByteArrayInputStream; import ar.com.hjg.pngj.ImageInfo; import ar.com.hjg.pngj.ImageLineInt; import ar.com.hjg.pngj.PngReader; import ar.com.hjg.pngj.PngReaderInt; import ar.com.hjg.pngj.PngWriter; import mil.nga.geopackage.GeoPackage; import mil.nga.geopa...
/* Copyright (c) 2008-2018, Nathan Sweet * 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.vyping.masterlibrary.views; import static android.view.View.GONE; import static android.view.View.VISIBLE; import android.app.Activity; import android.app.Dialog; import android.content.Context; import android.view.ContextThemeWrapper; import android.view.View; import android.widget.TextView; import andr...
import java.util.*; /** * Container that holds bowlers * */ public class Party { /** Vector of bowlers in this party */ private Vector myBowlers; /** * Constructor for a Party * * @param bowlers Vector of bowlers that are in this party */ public Party( Vector bowlers ) { myBowlers = new...
package org.apache.fineract.client.services; import org.apache.fineract.client.ApiClient; import org.apache.fineract.client.models.DeleteReportMailingJobsRequest; import org.apache.fineract.client.models.DeleteReportMailingJobsResponse; import org.apache.fineract.client.models.GetReportMailingJobsResponse; import org....
/* * 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 org.mitre.schemastore.porters.schemaImporters; import java.io.File; import java.net.URI; import java.util.ArrayList; import java.util.HashMap; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.mitre.schemastore.client.Repository; import org.mitre.schemastor...
package com.fund.account.service; import java.util.List; import com.fund.account.domain.FundAccountFreezeAndUnfreeze; /** * 【请填写功能名称】Service接口 * * @author ChenMJ * @date 2021-11-30 */ public interface IFundAccountFreezeAndUnfreezeService { /** * 查询【请填写功能名称】 * * @param id 【请填写功能名称】主键 * ...
/* * This file is part of the TinsPHP project published under the Apache License 2.0 * For the full copyright and license information, please have a look at LICENSE in the * root folder or visit the project's website http://tsphp.ch/wiki/display/TINS/License */ /* * This file is based on the file TempVariableHelp...
/* * Copyright (C) 2019 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distribute...
package org.workcraft.plugins.cpog.commands; import org.workcraft.Framework; import org.workcraft.gui.MainWindow; import org.workcraft.gui.Toolbox; import org.workcraft.gui.editor.GraphEditorPanel; import org.workcraft.plugins.cpog.VisualCpog; import org.workcraft.plugins.cpog.gui.AlgebraExportDialog; import org.workc...
package grafioschtrader.instrument; import java.time.LocalDate; import java.time.temporal.ChronoUnit; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.TreeMap; import grafioschtrader.GlobalConstants; import grafioschtrader.dto.ProposedMarginFinanceCost; import grafioschtrader.e...
package AsposeCellsExamples.TechnicalArticles; import com.aspose.cells.Cells; import com.aspose.cells.Workbook; import com.aspose.cells.Worksheet; import AsposeCellsExamples.Utils; public class SetExternalLinksInFormulas { public static void main(String[] args) throws Exception { String dataDir = Utils.getSharedD...
/* Derby - Class org.apache.derby.impl.sql.catalog.RoleClosureIteratorImpl 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 f...
package ui; public class LayerButton { }
package com.example.a402_24.day_03_register; public class Rv_board { private int rv_board_index; private String rv_board_post_date; private String member_id; private String rv_board_title; private String rv_board_content; private String rv_board_location; private String rv_board_picture; ...
package org.siy.shop.user.mapper; import org.siy.common.utils.MyMapper; import org.siy.shop.user.po.Feedback; public interface FeedbackMapper extends MyMapper<Feedback> { }
package com.eloKeyboard.ime; import android.content.Context; import android.content.DialogInterface; import android.os.Build; import android.os.SystemClock; import android.text.TextUtils; import android.view.KeyCharacterMap; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; im...
// The MIT License (MIT) // // Copyright (c) 2013 Dan Ginsburg, Budirijanto Purnomo // // 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...
package com.lambdaschool.getorders.services; import com.lambdaschool.getorders.models.Customer; import com.lambdaschool.getorders.repositories.CustomersRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annota...
package io.github.devbhuwan.raml.codegen; import lombok.Getter; import lombok.Setter; import lombok.SneakyThrows; import org.apache.commons.io.FileUtils; import org.apache.commons.io.filefilter.WildcardFileFilter; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugins.annotations.Mojo; ...
package org.pushingpixels.demo.substance.main.check.svg.filetypes; import java.awt.*; import java.awt.geom.*; import javax.swing.plaf.UIResource; import org.pushingpixels.neon.icon.ResizableIcon; import org.pushingpixels.neon.icon.ResizableIconUIResource; /** * This class has been automatically generated using <a ...
package com.pablosaraiva.web.blog; public class EditBlogPostDto { private String id; private String title; private String summary; private String content; public EditBlogPostDto() { } public EditBlogPostDto(BlogPost post) { this.id = post.getId(); this.title = post.getTit...
package kotlin.coroutines.experimental; import java.util.Collection; import java.util.Iterator; import kotlin.Metadata; import kotlin.SinceKotlin; import kotlin.Unit; import kotlin.sequences.Sequence; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @SinceKotlin(version = "1.1") @R...
package shadersmod.client; import java.util.ArrayList; import net.minecraft.client.gui.GuiSlot; import optifine.Lang; class GuiSlotShaders extends GuiSlot { private ArrayList shaderslist; private int selectedIndex; private long lastClickedCached = 0L; final GuiShaders shadersGui; public GuiSlotSh...
/* * Copyright (c) 2010-2014 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.web.component.wizard.resource.component.capability; import com.evolveum.midpoint.web.component.wiz...
package com.wisecoders.dbschema.dbf.io; import com.wisecoders.dbschema.dbf.schema.DataTypeUtil; import com.wisecoders.dbschema.dbf.schema.Db; import com.wisecoders.dbschema.dbf.schema.Table; import com.linuxense.javadbf.DBFWriter; import java.io.File; import java.io.FileOutputStream; import java.nio.charset.Charset;...
package cs451.Network; import cs451.Host; import java.util.Arrays; import java.util.List; public class URB implements PerfectLinksDelivery { private final int id; private final int nbHosts; private final int[][] delivered; private final URBDelivery urbDelivery; private final PerfectLinks perfect...
/** * 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 seedu.address.logic.parser; import static java.util.Objects.requireNonNull; import java.util.Collection; import java.util.HashSet; import java.util.Set; import seedu.address.commons.core.index.Index; import seedu.address.commons.util.StringUtil; import seedu.address.logic.parser.exceptions.ParseException; im...
public class Main { public static void main(String[] args) { Trainer satoshi = new Trainer(4,4,"佐渡氏"); Gui start = new Gui("パチモン", satoshi); } }
package org.firstinspires.ftc.teamcode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.Servo; public abstract class Victor_Brown_Code extends Linea...
/* * Copyright (c) 2017 Ampool, 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 by applicabl...
/* * Copyright 2007-2019 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://www.apache.org/licenses/LICENSE-2.0 * * o...
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
package io.github.mike10004.containment; import javax.annotation.Nullable; import java.util.List; import java.util.Objects; public interface ContainerInspector { /** * Fetch ports of this container that may be bound to host ports. * @return a list of possibly-bound container ports * @throws Contai...
package pusty.f0cr.attribute; import java.io.DataInputStream; import pusty.f0cr.ClassReader; public class ConstantValueAttribute extends Attribute { protected short constantValue; public ConstantValueAttribute(ClassReader classReader, DataInputStream s, int l) throws Exception { super(classReader, s, l); } ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright 2016-2018 shardingsphere.io. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2014 Dirk Beyer * 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...
package com.hss01248.notifyutil; 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 voi...
package com.sen.netty.lecture.second.example; import io.netty.bootstrap.Bootstrap; import io.netty.channel.ChannelFuture; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.nio.NioSocketChannel; /** * @author sen * @date 2020/6/20 * @description so...
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 DBeaver Corp and others * * 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/LICE...
package com.fabriccommunity.thehallow.world.biome; import net.minecraft.world.gen.feature.Feature; import net.minecraft.world.gen.feature.MineshaftFeature; import net.minecraft.world.gen.feature.MineshaftFeatureConfig; import com.fabriccommunity.thehallow.world.feature.HallowedBiomeFeatures; // TODO public class Hal...
/* * Copyright 2021 ConsenSys 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 or agreed to in wr...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.twu.biblioteca.model.Books; import com.twu.biblioteca.DTO.BookDTO; import com.twu.biblioteca.Exception.LibraryItemProcessingException; import com.twu.biblioteca.model.Copy; import com.twu.biblioteca.model.LibraryItem; import java.util.Set; public class Book extends LibraryItem { private final String ...
package gaurav.java.lab2; import java.util.*; public class Lab2Exe4 { static int[] modifyArray(int[] arr) { // Convert the array into set Set<Integer> set = new HashSet<Integer>(); for (int i = 0; i < arr.length; i++) { set.add(arr[i]); } // convert set into array int[] newArr = new int[set.size()]...
package br.com.fiap.epictask.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.validation.constraints.Max; import javax.validation.constraints.Min; import javax.validation.constraints.NotBlank; import java...
package cn.innovationai.quartz.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.quartz.SchedulerFactoryBean; import javax.sql.DataSource; import java.util.Properties; /** * 定时任务配置 * * @author innovationai...
package net.euskadi.osakidetza.libs.wsclients.k01.v1.security.pacientesws; import javax.xml.ws.WebFault; /** * This class was generated by the JAX-WS RI. * JAX-WS RI 2.2.8 * Generated source version: 2.1 * */ @WebFault(name = "LimiteRegistrosSuperadoFault", targetNamespace = "http://xmlns.osakidetza.com/cdc") ...
package net.glowstone.scoreboard; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import java.util.HashMap; import java.util.Map.Entry; import java.util.Set; import net.glowstone.net.message.play.scoreboard.ScoreboardObjectiveMessage; ...
package com.geektcp.alpha.game.hanoi.panel; import java.awt.Container; import java.awt.Rectangle; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; public class HandleMouse implements MouseListener, MouseMotionListener { private TowerPoint[] pointA,...
/* * Copyright 1999-2018 Alibaba Group Holding Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package com.naharoo.commons.mapstruct; import com.naharoo.commons.mapstruct.mapper.basic.nonfinalfields.Address; import com.naharoo.commons.mapstruct.mapper.basic.nonfinalfields.AddressDto; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.springframework.context.annotation.Compon...
package cn.celess.comment.controller; import cn.celess.comment.CommentBaseTest; import cn.celess.common.entity.Article; import cn.celess.common.entity.Comment; import cn.celess.common.entity.Response; import cn.celess.common.entity.User; import cn.celess.common.entity.dto.CommentReq; import cn.celess.common.entity.vo....
package com.solace.connector.mulesoft.internal.connection; import java.util.HashSet; import java.util.Set; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import javax.annotation.PostConstru...
/* * Copyright 2019-2020 Zheng Jie * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
package com.atguigu.gmall.oms.controller; import com.atguigu.gmall.common.bean.PageParamVo; import com.atguigu.gmall.common.bean.PageResultVo; import com.atguigu.gmall.common.bean.ResponseVo; import com.atguigu.gmall.oms.entity.OrderEntity; import com.atguigu.gmall.oms.service.OrderService; import io.swagger.annotati...