text stringlengths 7 995k |
|---|
package ro.msg.learning.shop.dto;
import lombok.*;
import java.io.Serializable;
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Builder
@EqualsAndHashCode
public class ProductCategoryDto implements Serializable {
private Integer id;
private String productCategoryName;
private String productDes... |
package com.congwiny.webpanim.bean;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
public class SimpleUserModel implements Serializable {
@SerializedName("user_id")
protected int userId;
@SerializedName("nickname")
protected String nickname;
@SerializedName("le... |
/*
* Copyright (c) 2021, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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.apac... |
/*
* Copyright 2011-2016 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 "li... |
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.wm;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.project.Project;
import org.jetbrains.annotations.NotNull... |
import com.teletalk.jserver.*;
import com.teletalk.jserver.tcp.*;
import com.teletalk.jserver.tcp.http.*;
public class TestHttpServer
{
public static JServer server = null;
public static void main(String args[])
{
try
{
System.out.println("Creating TestHttpServer! - " + JServer.getVersionString() + "");
... |
package com.rollingstone.service;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import javax.validation.constraints.NotNull;
/*
* demonstrates how service-specific properties can be injected
*/
@ConfigurationProperties(prefix = "user.se... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
// DRUNKWATER TEMPLATE(add description and prototypes)
// Question Title and Description on leetcode.com
// Function Declaration and Function Prototypes on leetcode.com
//97. Interleaving String
//Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2.
//Example 1:
//Input: s1 = "aabcc", s2 = "dbb... |
package com.nestedworld.nestedworld.ui.adapter.array;
import android.content.Context;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.w... |
/**
* Copyright 2012 Netflix, 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 t... |
package samples.powermockito.junit4.agent;
import org.junit.Rule;
import org.junit.Test;
import org.mockito.Mockito;
import org.mockito.exceptions.base.MockitoAssertionError;
import org.mockito.invocation.InvocationOnMock;
import org.mockito.stubbing.Answer;
import org.powermock.core.classloader.annotations.PrepareFor... |
/*
* 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... |
/* java.lang.Throwable -- Root class for all Exceptions and Errors
Copyright (C) 1998, 1999, 2002, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published b... |
/**
* Copyright (c), Data Geekery GmbH, contact@datageekery.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... |
package ru.ivysoft.vds;
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 additio... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/*
* Minecraft Forge
* Copyright (c) 2016.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation version 2.1
* of the License.
*
* This library is distributed in the hope that it will... |
/*
* 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 seedu.recipe.testutil;
import seedu.recipe.model.cooked.CookedRecordBook;
import seedu.recipe.model.cooked.Record;
/**
* A utility class to help with building RecordBook objects.
* Example usage: <br>
* {@code RecordBook ab = new RecordBookBuilder().withRecord("John", "Doe").build();}
*/
public class ... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.apimanagement.v2019_12_01;
import com.fasterxml.... |
package org.xxpay.mgr.permission.service;
import com.alibaba.druid.util.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import org.xxpay.dal.dao.mapper.PmsMenuRoleMapper;
import... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/auth.proto
package com.google.api;
public interface AuthenticationRuleOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.api.AuthenticationRule)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* S... |
/**
* 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... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* 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 com.nedap.archie.archetypevalidator;
public class ArchetypeValidationSettings {
/**
* When specializing cardinality and existence, is it allowed to specificy the exact same as in the parent object?
*/
private boolean strictMultiplicitiesSpecializationValidation = true;
/**
* Whether... |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... |
//
// Copyright (c) 2013 Ford Motor Company
//
package com.smartdevicelink.util;
public class BitConverter {
public static String bytesToHex(byte [] bytes) {
return bytesToHex(bytes, 0, bytes.length);
} // end-method
public static String bytesToHex(byte[] bytes, int offset, int length) {
if (bytes == null) { r... |
// This file is part of CPAchecker,
// a tool for configurable software verification:
// https://cpachecker.sosy-lab.org
//
// SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.cpachecker.util.dependencegraph;
import com.google.commo... |
package unalcol.optimization.operators.real;
import unalcol.random.*;
import unalcol.types.collection.vector.*;
import unalcol.clone.*;
/**
* <p>Title: LinearXOver</p>
* <p>Description:Applies a linear crossover. In this case the alpha is unique
* for each component, it use two alpha, one for the first vector and ... |
package com.kenshine.jaxb.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.xml.bind.annotation.*;
/**
* @author :kenshine
* @date :Created in 2021/12/1 9:43
* @description:学生
* @modified By:
* @version: $
*/
@XmlType(propOrder = {"marks", "firstname", ... |
package leetcode.first;
import leetcode.tool.TreeNode;
/**
* 二叉树的最小深度
* 最小深度是从根节点到最近叶子节点的最短路径上的节点数量。
* 叶子节点是指没有子节点的节点。
*
* @since 2019-12-7 Saturday
*/
public class Code_111_MinDepthOfBT {
static int minDepth(TreeNode root) {
if (root == null) {
return 0;
}
if (root.left ... |
package org.apollo.net.codec.handshake;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.ByteToMessageDecoder;
import org.apollo.net.codec.login.LoginDecoder;
import org.apollo.net.codec.login.LoginEncoder;
import org.apollo.net.codec.update.UpdateDecoder;
im... |
package org.w3c.dom.html;
import org.w3c.dom.Node;
public interface HTMLCollection {
int getLength();
Node item(int paramInt);
Node namedItem(String paramString);
}
/* Location: /mnt/r/ConTenDoViewer.jar!/org/w3c/dom/html/HTMLCollection.class
* Java compiler version: 1 (45.3)
* JD-Core Ve... |
//
// * To help the SortedDictionary order the name-value pairs in the correct way.
//
//C# TO JAVA CONVERTER TODO TASK: The interface type was changed to the closest equivalent Java type, but the methods implemented will need adjustment:
public class ParamComparer implements java.util.Comparator<String>
{
public ... |
/*
* Copyright 2007 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... |
package java8prog1;
public class DistinctStrings {
public static void main(String[] args) {
String s1 = "Bharath";
String s2 = "rath";
String s3 = "Bha" + s2;
System.out.println(s3);
String s4 = "Bha" + "rath";
System.out.println(s1 == s3);
System.out.println(s1 == s4);
System.out.println(s1.equals(s3... |
/*
* MIT License
*
* Copyright 2017-2018 Sabre GLBL Inc.
*
* 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,... |
package com.neuedu.lab.model.mapper;
import com.neuedu.lab.model.po.FeeCat;
import java.util.List;
public interface FeeCatMapper {
public FeeCat getFeeCat(String fee_cat_id);
public void addFeeCat(FeeCat feeCat);
public void deleteFeeCat(String fee_cat_id);
public void updateFeeCat(FeeCat feeCat);
... |
/*
* Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* Copyright 1999-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except ... |
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package io.permazen;
import io.permazen.annotation.PermazenType;
import io.permazen.core.ObjId;
import io.permazen.test.TestSupport;
import org.testng.annotations.Test;
public class ClassLoaderTest extends TestSupport {
/*
This test tickles a ... |
package com.noahcharlton.robogeddon.block;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.utils.GdxRuntimeException;
import com.noahcharlton.robogeddon.Core;
import com.noahcharlton.robogeddon.HasID;
import com.noahcharlton.robogeddon.util.Side;
@Side(Side.CLIENT)
public class BlockGroup ... |
/*
* 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 "License"); you may... |
package dam.gestionhotelera.modelo.Pojos;
// Generated 03-dic-2017 19:50:02 by Hibernate Tools 4.3.1
import java.util.Date;
/**
* ParteTieneOferta generated by hbm2java
*/
public class ParteTieneOferta implements java.io.Serializable {
private Integer idparteTieneOferta;
private Oferta oferta;
pr... |
package games.moegirl.rabbitconstellation.data.provider.base;
import net.minecraft.data.DataGenerator;
import net.minecraftforge.common.data.LanguageProvider;
public abstract class ProviderLanguage extends LanguageProvider {
protected String modid;
public ProviderLanguage(DataGenerator gen, String modidIn, S... |
package uk.ac.cam.ch.wwmm.oscar.chemnamedict.dictionaries;
import static org.junit.Assert.*;
import org.junit.Test;
import uk.ac.cam.ch.wwmm.oscar.chemnamedict.core.IChemNameDict;
import uk.ac.cam.ch.wwmm.oscar.chemnamedict.core.IStdInChIProvider;
public class ChEBIDictionaryTest extends AbstractDictionaryTest {
... |
/*
* The MIT License (MIT) Copyright (c) 2020-2021 artipie.com
* https://github.com/artipie/artipie/LICENSE.txt
*/
package com.artipie;
import com.amihaiemil.eoyaml.Yaml;
import com.amihaiemil.eoyaml.YamlMapping;
import com.amihaiemil.eoyaml.YamlMappingBuilder;
import com.artipie.asto.SubStorage;
import java.io.IOE... |
package com.fsck.k9.activity;
import java.util.ArrayList;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import com.fsck.k9.Account;
import com.fsck.k9.P... |
/*
* Copyright 2017 StreamSets 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... |
/*
* 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-2013 DuyHai DOAN
*
* 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 a... |
/*
* Copyright (c) 2019, 2020 Oracle 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 ... |
/**
* Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
*
* You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
* copy, modify, and distribute this software in source code or binary form for use
* in connection with the web services and APIs provided by Facebook.
*
* As ... |
package com.huaweicloud.sdk.ims.v2.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.huaweicloud.sdk.ims.v2.model.QuickImportImageByFileR... |
package org.ray.api.test;
import org.ray.api.Ray;
import org.ray.api.RayActor;
import org.ray.api.RayObject;
import org.ray.api.TestUtils;
import org.ray.api.exception.RayActorException;
import org.ray.api.exception.RayTaskException;
import org.ray.api.exception.RayWorkerException;
import org.testng.Assert;
import org... |
/*
* ******************************************************************************
* Copyright 2014-2016 Spectra Logic Corporation. 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 i... |
package com.scwang.smartrefresh.layout.internal.pathview;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.View;
/**
* 路径视图
* Created by SCWANG on 2017/5/29.
*/
public class PathsView extends View {
protected PathsDrawable mPathsDrawable = ... |
package de.vogella.rcp.commands.parameterfirst.handler;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.ui.handlers.HandlerUtil;
public class Hello... |
/*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package minim.view.command;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.stream.Collectors;
import org.eclipse.e4.core.di.annotations.Execute;
import minim.view.Output;
import minim.view.UnitList;
public class RollDice {
@Execute
public void execute() {
try {
var raw = UnitList.getna... |
package com.scwen.editor.util;
/**
* Created by scwen on 2019/4/19.
* QQ :811733738
* 作用:
*/
public class EditConstants {
public static final char CHAR_NEW_LINE = '\n';
public static final String STR_NEW_LINE = String.valueOf(CHAR_NEW_LINE);
public static final String ZERO_WIDTH_SPACE_STR = "\u200B";
... |
package com.googlecode.mp4parser.util;
public abstract class Logger {
public static Logger getLogger(Class clz) {
if (System.getProperty("java.vm.name").equalsIgnoreCase("Dalvik")) {
return new AndroidLogger(clz.getSimpleName());
} else {
return new JuliLogger(clz.getSimpl... |
package Java.Algorithms;
import java.util.*;
public class Bracket {
public static void main(String[] args)
{
Scanner sc=new Scanner(System.in);
int flag=0;
System.out.print("Enter the expression :");
String S=sc.next();
Stack<Character> brace=new Stack<Character>()... |
/*
* Copyright (c) 2008-2013, 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 ... |
/*
* 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 under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package com.zhuguangdeyingzi.gulimall.gulimallproduct.dao;
import com.zhuguangdeyingzi.gulimall.gulimallproduct.entity.SkuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* sku信息
*
* @author lijun
* @email 1136790064lijun@gmail.com
* @date 2021... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package xrate;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import java.io.*;
import java.net.MalformedURLException;
import java.net.URL;
/**
* Provide access to basic currency exchange rate services.
*
* @author team-pizza: Ethan Hamer and Laly Xiong
... |
/*
* Copyright 2018 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 app... |
/* SPDX-License-Identifier: Apache-2.0 */
package org.odpi.openmetadata.repositoryservices.events;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.testng.annotations.Test;
import java.util.ArrayList;
import java.util.List;
import static org.testng.Assert.assertTrue;
/**
* Verify the OMRSEventDirecti... |
/*
* Copyright (c) 2009-2018, United States Government, as represented by the Secretary of Health and Human Services.
* 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... |
/*
* 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.timeyaa.flutternordicdfu;
import android.app.Activity;
import no.nordicsemi.android.dfu.DfuBaseService;
public class DfuService extends DfuBaseService {
@Override
protected Class<? extends Activity> getNotificationTarget() {
return NotificationActivity.class;
}
@Override
prot... |
/*******************************************************************************
* Copyright (C) 2018 Joao Sousa
*
* 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, in... |
package com.macphail.adventures.business.persistence.boundary;
import javax.persistence.AttributeConverter;
import javax.persistence.Converter;
import java.time.LocalDate;
@Converter(autoApply = true)
public class LocalDateAttributeConverter implements AttributeConverter<LocalDate, java.sql.Date> {
@Override
... |
/*
* 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... |
/*
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package net.minecraft.util;
import com.google.common.base.Function;
import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
import com.google.common.collect.UnmodifiableIterator;
import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator... |
/*
* 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.yansheng.utils;
import java.io.IOException;
import javax.swing.JOptionPane;
public class OpenIE {
/**
* 以制定的URL打开一个IE浏览器窗口
*
* @param URL
* 要打开的链接
*/
public static void openIEBrowser(String URL) {
/**
* 第一种方式打开IE浏览器
*/
// try {
// ProcessBuilder proc = new ProcessBuild... |
/*
* Copyright 2019 WeBank
*
* 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 defineinterface;
public class Pet implements Birthable{
private String name;
private String birthDate;
public Pet(String name, String birthDate) {
this.name = name;
this.birthDate = birthDate;
}
@Override
public String getBirthDate() {
return this.birthDate;
... |
package Fredrick.Li.Personal.Cloud.Storage.model;
public class CredentialForm {
private String url;
private String username;
private String credentialId;
private String password;
public void setURL(String URL){
this.url = URL;
}
public void setPassword(String password){
th... |
package sqlite.feature.schema.version2;
import android.database.sqlite.SQLiteDatabase;
import com.abubusoft.kripton.android.KriptonLibrary;
import com.abubusoft.kripton.android.Logger;
import com.abubusoft.kripton.android.sqlite.AbstractDataSource;
import com.abubusoft.kripton.android.sqlite.DataSourceOptions;
import ... |
/*
* 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 PracticeLeetCode;
public class _263UglyNumber {
psvm
} |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package net.lawaxi.serverbase.commands;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.arguments.StringArgumentType;
import net.lawaxi.serverbase.utils.config.configs;
import net.lawaxi.serverbase.utils.config.messages;
import net.minecraft.command.CommandSource;
import net.minecraft.server... |
/*
* MIT License
*
* Copyright (c) 2020 Antonino Natale
*
* 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, ... |
package org.company.product.info.web.controller;
import org.company.product.info.TestMatcher;
import org.company.product.info.model.Article;
import org.company.product.info.to.ArticleTo;
import java.util.List;
import static java.time.LocalDate.now;
import static org.company.product.info.web.controller.ProductTestDat... |
package com.transferwise.tasks.test.dao;
import com.transferwise.tasks.TasksProperties;
import com.transferwise.tasks.dao.ITaskDaoDataSerializer;
import com.transferwise.tasks.dao.MySqlTaskTables;
import com.transferwise.tasks.dao.MySqlTaskTypesMapper;
import javax.sql.DataSource;
public class MySqlTestTaskDao extend... |
/*
* Copyright 2012 Jesper Terkelsen.
*
* 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... |
/*
* Copyright 2015 Open mHealth
*
* 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... |
// ============================================================================
//
// Copyright (C) 2006-2019 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 com.yazan98.kego.example.kt.demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class DemoApplication {
public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, arg... |
/*
* Copyright (c) 2022 vitasystems GmbH and Hannover Medical School.
*
* This file is part of project openEHR_SDK
*
* 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... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.