text stringlengths 7 1.01M |
|---|
package com.javarush.test.level13.lesson02.task06;
/* Баг в initializeIdAndName
1. Подумать, что в программе неправильно.
2. Вынести реализацию метода initializeIdAndName в класс User.
3. initializeIdAndName в классе User должен возвращать тип User.
4. Поправить программу, чтобы компилировалась и работала.
*/
public ... |
/*
* Copyright (c) 2006-2011 Christian Plattner. All rights reserved.
* Please refer to the LICENSE.txt for licensing details.
*/
package ch.ethz.ssh2.auth;
import java.io.IOException;
import java.io.InterruptedIOException;
import java.security.SecureRandom;
import java.util.HashSet;
import java.util.Set;
import ja... |
//https://www.hackerrank.com/challenges/taum-and-bday
import java.io.*;
public class Solution {
public static void main(String[] args) throws IOException {
StringBuffer sb = new StringBuffer();
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
//For each tes... |
/*******************************************************************************
* Copyright 2012 Manning Publications Co.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... |
package com.orelogo.relink;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.support.annotation.Nullable;
import android.support.v4.app.Noti... |
package org.zstack.header.network.l2;
import java.util.*;
public class L2NetworkType {
private static Map<String, L2NetworkType> types = Collections.synchronizedMap(new HashMap<String, L2NetworkType>());
private final String typeName;
private boolean exposed = true;
public static boolean hasType(Stri... |
/*
* Copyright 2019 Maksim Zheravin
*
* 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 com.devonfw.module.basic.common.api.query;
/**
* Enum defining available syntaxes for a match pattern in a LIKE-clause. While databases typically require {@link #SQL}
* syntax, human user expect {@link #GLOB} syntax in search forms. Therefore this enum also supports
* {@link #convert(String, LikePatternSynt... |
package com.hashir.test;
public class SampleClass {
public int add(int num1, int num2) {
return num1 + num2;
}
}
|
package app.andrey_voroshkov.chorus_laptimer;
import android.hardware.usb.UsbDeviceConnection;
import android.hardware.usb.UsbManager;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.text.TextUtils;
import android.util.Log;
import com.hoho.andro... |
/*
* Copyright 2017, Oath Inc.
* Licensed under the Apache License, Version 2.0
* See LICENSE file in project root for terms.
*/
package com.yahoo.elide.standalone;
import static com.yahoo.elide.standalone.config.ElideResourceConfig.ELIDE_STANDALONE_SETTINGS_ATTR;
import com.codahale.metrics.servlet.InstrumentedF... |
package yet.ui.util;
import android.os.Build;
import android.os.Bundle;
import android.telephony.TelephonyManager;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Locale;
import yet.util.MyDate;
import yet.util.log.xlog;
... |
package com.evolvus.sandstorm;
/**
*
* @author EVOLVUS\shrimank
*
*/
public class InvalidFileException extends Exception {
/**
*
*/
private static final long serialVersionUID = -2776450355349830013L;
public InvalidFileException() {
super();
}
public InvalidFileException(String message) {
super(me... |
package com.vincent.app.kafka.producer.service;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.vincent.app.kafka.producer.constants.KafkaTopicConstant;
import com.vincent.app.kafka.producer.model.Message;
import lombok.extern.slf4j.Slf4j;
import org.springframework.kafka.core.KafkaTemplate... |
package org.opencds.cqf.cql.elm.execution;
import org.cqframework.cql.elm.execution.ValueSetRef;
import org.cqframework.cql.elm.execution.ValueSetDef;
import org.cqframework.cql.elm.execution.CodeSystemRef;
import org.cqframework.cql.elm.execution.CodeSystemDef;
import org.opencds.cqf.cql.execution.Context;
import org... |
package com.maijia.domain.executor;
import rx.Scheduler;
/**
* Created by XiaoKong on 2017/6/14.
* Desription 操作UI线程
*/
public interface PostExecutionThread {
Scheduler getScheduler();
}
|
package io.deepstream;
import com.google.j2objc.annotations.ObjectiveCName;
import java.util.EnumSet;
/**
* Provides all the different events that may occur. Most are related to errors for finer debugging and logging
*/
public enum Event {
/**
* To indicate a connection has not been authenticated longer t... |
package io.fabric8.launcher.service.openshift.impl;
import io.fabric8.kubernetes.api.Controller;
import io.fabric8.kubernetes.client.KubernetesClientException;
import io.fabric8.openshift.api.model.Project;
import io.fabric8.openshift.client.OpenShiftClient;
/**
* This controller has fixes for starter clusters
*
*... |
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
/*
* Copyright (C) 2016 android@19code.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
package com.github.charlemaznable.core.net.ohclient;
import com.github.charlemaznable.core.net.common.DefaultErrorMappingDisabled;
import com.github.charlemaznable.core.net.common.HttpStatus;
import com.github.charlemaznable.core.net.common.Mapping;
import com.github.charlemaznable.core.net.common.StatusError;
import ... |
/*
* Copyright (c) 2019-2021 GeyserMC. http://geysermc.org
*
* 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,... |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* 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 agre... |
/**
* Copyright (C) 2002-2014 Fabrizio Giustina, the Displaytag team
*
* 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 ... |
package com.lhjz.portal.repository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.testng.AbstractTestNGSpringContextTests;
import org.testng.annotations.Test;
import com.lhjz.portal.Application;
@Spr... |
package test.pl.pawz.zelbet.tests.Shearing;
import org.junit.Test;
import pl.pawz.zelbet.ULS.ShearingBendRods;
import static org.junit.Assert.assertEquals;
public class ShearingP10 {
private double fCk = 30;
private double fYk = 500;
private double b = 0.30f;
private double a1 = 0.05f;
private ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/**
* OLAT - Online Learning and Training<br>
* http://www.olat.org
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unl... |
package DataStructure.tree.binaryTree;
import DataStructure.tree.Tree;
import DataStructure.tree.binaryTree.binaryTreeRealize.BinaryTreeImpl;
/**
* @author liujun
* @date 2020-02-18 18:44
* @description 根据二叉树 创建(二叉树序列化)
* 按层:
* 1、按层遍历二叉树 输出数组
* S形:
* 1、S形遍历二叉树 输出数组
* 按序:
* 1、先序遍历二叉树 输出数组
* 2、中序遍历二叉树 输出数组
*... |
package io.indexr.util;
import java.util.function.Supplier;
// http://stackoverflow.com/a/29141814
public class Lazily {
@FunctionalInterface
public interface Lazy<T> extends Supplier<T> {
Supplier<T> init();
public default T get() {
return init().get();
}
}
publ... |
/**Project name : Melite-Meu (MovieTicketingSystem)
Roll no: 0147-BSCS-2019 (Section C)
Description: THIS CLASS DEALS WITH THE CASH PAYMENT SYSTEM
used classes : Customer, LoginServer, Movie, Hall, InputOutputClass
**/
package PaymentPackage;
import MainPackage.Customer;
import MainPackage.LoginServer;
import Mov... |
/*
* Copyright 2019 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... |
/*
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Licensed 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 ... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.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/license... |
package com.evolveum.midpoint.schrodinger.page.configuration;
import com.codeborne.selenide.Condition;
import com.codeborne.selenide.SelenideElement;
import com.evolveum.midpoint.schrodinger.MidPoint;
import com.evolveum.midpoint.schrodinger.component.common.FeedbackBox;
import com.evolveum.midpoint.schrodinger.page.B... |
package org.pinpoint.bench4q.bookstore.interceptor;
import java.security.ProtectionDomain;
import org.pinpoint.bench4q.sample.PiggyMetricsConstants;
import com.navercorp.pinpoint.bootstrap.instrument.InstrumentClass;
import com.navercorp.pinpoint.bootstrap.instrument.InstrumentException;
import com.navercorp.pinpoin... |
package com.alinz.parkerdan.shareextension;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.Promise;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.bridge.WritableMap;
import com.facebook.re... |
package edu.nwpu.ad.client.vo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
/**
* 尝试在检索系统中通过代码的形式,
* 微服务调用去获取广告投放系统AdPlan的一些信息
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdPlanGetRequest {
private Long userId;
private List... |
package spark;
import java.util.regex.Pattern;
import org.apache.spark.SparkConf;
import org.apache.spark.api.java.StorageLevels;
import org.apache.spark.api.java.function.FlatMapFunction;
import org.apache.spark.api.java.function.Function2;
import org.apache.spark.api.java.function.PairFunction;
import org.apache.sp... |
package com.ways2u.java.processor;
import com.google.auto.service.AutoService;
import com.ways2u.java.annotation.Factory;
import javax.annotation.processing.*;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.*;
import javax.lang.model.type.TypeKind;
import javax.lang.model.type.TypeMirror;
impo... |
/*
* (C) Copyright 2020 Radix DLT Ltd
*
* Radix DLT Ltd licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the
* License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... |
/*
* Copyright 2002-2004 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 appl... |
package htmlcompiler.pojos.httpmock;
import com.sun.net.httpserver.Headers;
import com.sun.net.httpserver.HttpHandler;
import htmlcompiler.services.HttpHandlers;
import java.nio.file.Path;
import java.util.List;
import static htmlcompiler.services.HttpHandlers.*;
import static java.nio.charset.StandardCharsets.UTF_8... |
package org.rhett.admin.shiro;
import org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter;
import org.rhett.admin.model.constant.SysConstant;
import org.rhett.admin.model.enumeration.ResultCode;
import org.rhett.admin.model.result.Result;
import org.springframework.http.HttpStatus;
import org.springframewo... |
/**
* Copyright © 2016-2019 The Thingsboard 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 applicab... |
package fr.formation.ssiinomore.entity;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import org.sprin... |
package com.anysoftkeyboard.quicktextkeys;
import android.support.annotation.NonNull;
import com.anysoftkeyboard.dictionaries.KeyCodesProvider;
import java.util.List;
public interface TagsExtractor {
/**
* Is this extractor actually do anything.
*/
boolean isEnabled();
/**
* Returns a li... |
/*
* 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 2016 Patrick Valsecchi
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.script;
import com.intellij.testFramework.TestDataPath;
import org.jetbrain... |
/*
* Copyright 2021 EPAM Systems.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
package crazypants.enderio.base.recipe.soul;
import com.enderio.core.common.util.NNList;
import crazypants.enderio.base.Log;
import crazypants.enderio.base.recipe.MachineRecipeRegistry;
import crazypants.enderio.util.Prep;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecra... |
/*
* Copyright 2004-2014 ICEsoft Technologies Canada Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
package org.multibit.hd.core.dto;
import com.google.common.base.Optional;
import com.google.common.base.Preconditions;
import com.google.common.util.concurrent.ListenableFuture;
import org.bitcoin.protocols.payments.Protos;
import org.bitcoinj.core.Address;
import org.bitcoinj.core.Coin;
import org.bitcoinj.core.Trans... |
package com.github.drbookings.io;
import java.io.IOException;
import java.nio.file.Path;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import com.github.drbookings.ser.DataStoreCoreSer2;
import com.github.drbookings.ser.MarshallListener;
public class ToXML... |
package AlexGame;
import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import java.io.*;
/**
* Created by Rak Alexey on 5/12/17.
*/
class DemoPanel extends JPanel {
private BufferedImage lea;
private Lightning lightning;
pr... |
package com.acro.hackathon.trekking.POJO.weather;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Sys {
@SerializedName("pod")
@Expose
private String pod;
public String getPod() {
return pod;
}
public void setPod(String pod... |
package part2;
public class HayStackNeedleSearcher implements SubstringFrequencySearcher{
String m_searchSpace;
HayStackNeedleSearcher(String searchSpace) {
m_searchSpace = searchSpace;
}
@Override
public int findFrequency(String subString) {
if(m_searchSpace == null)
return 0;
if(subString == null)
... |
package cn.gson.oasys.modelV2.po;
public class TypePO {
private Long typeId;
private String typeColor;
private String typeModel;
private String typeName;
private Integer sortValue;
public Long getTypeId() {
return typeId;
}
public void setTypeId(Long typeId) {
this... |
/*
* Copyright (c) Facebook, Inc. and 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 applic... |
/**
* Copyright (C) 2011 Inqwell Ltd
*
* You may distribute under the terms of the Artistic License, as specified in
* the README file.
*/
/*
* $Archive: /src/com/inqwell/any/UnListen.java $
* $Author: sanderst $
* $Revision: 1.2 $
* $Date: 2011-04-07 22:18:20 $
*/
package com.inqwell.any;
/**
* Remove a l... |
package com.google.android.gms.internal.ads;
import com.google.android.gms.internal.ads.zzdob.zze;
/* renamed from: com.google.android.gms.internal.ads.zn */
final /* synthetic */ class C9862zn {
/* renamed from: a */
static final /* synthetic */ int[] f23749a = new int[zze.m29910a().length];
static {
... |
/*
* 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")... |
/**
* 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.batch.implementation;
import retrofit2.Retrofit;... |
/* Copyright (c) 2011 Danish Maritime Authority.
*
* 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... |
/*
* 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.didi.hummer.component.list;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.StaggeredGridLayoutManager;
import java.util.Arrays;
/**
* Created by XiaoFeng on 2021/4/19.
*/
public class ListUtil {
public static bo... |
/*
* Copyright 2002-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 applica... |
package com.example.gsyvideoplayer;
import android.Manifest;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
impor... |
/*
* Copyright 2017
* Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
/*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... |
package com.hyz.weather.view;
import com.hyz.weather.reSwing.HJButton;
import com.hyz.weather.reSwing.HJLabel;
import com.hyz.weather.reSwing.HJPanel;
import com.hyz.weather.reSwing.Icons;
import javax.swing.*;
import java.awt.*;
public class RegionPanel extends HJPanel {
private HJLabel location;
private JB... |
package monitor;
/**
* Vertex
*/
public class Vertex {
private String name;
private String uid;
private String type;
private float load;
/**
* Constructor.
* @param name
* @param uid
*/
public Vertex(String name, String uid){
this.name = name;
this.uid = uid;
this.load = 1.0f;
}
/**
* Ge... |
package ca.uhn.fhir.jpa.bulk.imprt.job;
/*-
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2021 Smile CDR, Inc.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... |
package fi.omat.johneagle.filebox.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
import fi.omat.johneagle.filebox.domain.entities.Account;
/**
* Account database table interface for JPA.
*/
public interface AccountRepository extends JpaRepository<Account, Long> {
... |
/**
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* <p>
* Copyright (c) 2019 Miss Amelia Sara (Millie) <me@missameliasara.com>
* Copyright (c) 2019 Penoaks Publishing LLC <development@penoaks.com>
* <p>
* All Rights Reserved.
*/
package ... |
/*
* 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.xmbl.controller.ali;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.alipay.api.AlipayApiException;
import com.alipay.api.AlipayClient;
import com.alipay.api.DefaultAlipayClient;
import com.alipay.api.domain.AlipayFundTransToaccountTransferModel;
import com.alipay.api.d... |
import java.util.*;
public class DS_Presentation {
public static void main(String[] args) {
System.out.println("____________________________________________________");
System.out.println("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^");
System.out.println("Students Prerequisite... |
package com.tecazuay.example.restapi.validations;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import org.springframework.beans.factory.annotation.Autowired;
import com.tecazuay.example.restapi.repositories.UsuarioRepository;
public class CorreoExistConstraitValid... |
/*
* Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... |
/*
* Copyright 2016 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... |
public class star3
{
public static void main(String[]args)
{
for(int i=1;i<=5;i++)
{
for(int j=1;j<=5-i;j++)
{
System.out.print(" ");
}
for(int k=1;k<=i;k++)
{
System.out.print("*");
}
System.out.println();
}
}
}
|
/*
*
* Copyright (c) 2006-2020, Speedment, 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 requi... |
// ***************************************************************************************************************************
// * 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 regardi... |
/*
* Prime Developer Trial
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*... |
/*
* Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package org.apache.fulcrum.intake;
/*
* 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, ... |
// Copyright 2011 Google 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... |
package com.cy4.betterdungeons.core.network.message;
import java.util.function.Supplier;
import com.cy4.betterdungeons.client.screen.UpgradeTreeScreen;
import net.minecraft.client.Minecraft;
import net.minecraft.network.PacketBuffer;
import net.minecraftforge.fml.network.NetworkEvent;
public class SyncTreeMessage {... |
/*
* 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 2022 Noah McLean
*
* Redistribution and use in source and binary forms, with
* or without modification, are permitted provided that the
* following conditions are met:
*
* 1. Redistributions of source code must retain the above
* copyright notice, this list of conditions and the
* following d... |
/*
* 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 mage.cards.g;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
impo... |
package com.epam.jdi.light.ui.html.asserts;
import com.epam.jdi.light.asserts.generic.UIAssert;
import com.epam.jdi.light.common.JDIAction;
import com.epam.jdi.light.ui.html.elements.common.ColorPicker;
import static com.epam.jdi.light.asserts.core.SoftAssert.jdiAssert;
import static org.hamcrest.Matchers.is;
/**
*... |
package com.capitalone.dashboard.builder;
import com.capitalone.dashboard.enums.Clazz;
import com.capitalone.dashboard.enums.HelmStatus;
import com.capitalone.dashboard.model.BaseModel;
import com.capitalone.dashboard.model.Chart;
import com.capitalone.dashboard.model.Release;
import com.capitalone.dashboard.model.Rep... |
package com.example.xyzreader.ui;
import android.app.Fragment;
import android.app.LoaderManager;
import android.content.Intent;
import android.content.Loader;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.Rect;
import android.graphics.Typeface;
i... |
package globalDefinition;
public class HttpDefinition {
public static final String CONTENT_TYPE_JSON = "Content-Type: application/json";
} |
/*
* Copyright (c) 2018, 7u83 <7u83@mail.ru>
* 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 c... |
/*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.