text stringlengths 7 995k |
|---|
package com.yosriz.rxretrofittoken;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import io.reactivex.Completable;
import io.reactivex.Flowable;
import io.reactivex.Maybe;
import io.reactivex.Observable;
import io.reactivex.Single;
import retrofit2.Call;
import retrofit2.CallAdapter;
import r... |
package de.bsd.plottercontrol;
import gnu.io.NRSerialPort;
import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
/**
* @author hrupp
*/
public class PlotterComm {
private static final long DEFAULT_STEPS_PER_MM = 160; // See plott... |
package com.ownerkaka.testjdk.enumclass;
/**
* Created by akun on 2018/5/11.
* 枚举类的特性:http://www.hollischuang.com/archives/92
* 隐式继承Enum类
*/
public enum EnumTest{
RED, BLUE, GREEN;
} |
package com.netcracker.sc.dto;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class SpendingDTO {
private BigDecimal amount;
private Long groupId;
private Long categoryId;
private Long userId;
} |
package tk.peanut.hydrogen.injection.mixins;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import org.jetbrains.annotations.NotNull;
import org.spongepowered.asm.mixin.Mixin;
import org... |
package com.example.algamoney.api.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authen... |
package ch.epfl.sweng.GyroDraw.home;
import org.junit.Test;
import static ch.epfl.sweng.GyroDraw.home.FriendsRequestState.FRIENDS;
import static ch.epfl.sweng.GyroDraw.home.FriendsRequestState.RECEIVED;
import static ch.epfl.sweng.GyroDraw.home.FriendsRequestState.SENT;
import static org.hamcrest.CoreMatchers.is;
imp... |
/**
* 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.relaxed.samples.security.jwt.model;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.security.core.CredentialsContainer;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security... |
/*
* Copyright Verizon Media
* Licensed under the terms of the Apache 2.0 license. See LICENSE file in project root for terms.
*/
package com.yahoo.smtpnio.async.request;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.nio.charset.StandardCharsets;
import java.util.HashSet;
import jav... |
/*
* Copyright 2005 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 ap... |
/*
* Copyright 2016-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 applica... |
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.rest.repository;
import java.io.IOException;
import java.sql.SQLException;
impo... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.facebook.appevents;
import android.content.Context;
import android.util.Log;
import com.facebook.FacebookSdk;
import com.facebook.LoggingBehav... |
package mk.ukim.finki.officehours.aop.logging;
import io.github.jhipster.config.JHipsterConstants;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.AfterThrowing;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
imp... |
package slimeknights.tconstruct.smeltery.inventory;
import net.minecraft.block.entity.BlockEntity;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.network.PacketByteBuf;
import org.jetbrains.annotations.Nullable;
import slimeknights.mantle.inventory.BaseContainer;
import slimeknights.tconstruc... |
package com.atguigu.gmall.ums;
import com.atguigu.gmall.ums.feign.GmallAliSmsClient;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class GmallUmsApplicationTests {
@Autowired
privat... |
package nullness.generics;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import org.checkerframework.checker.nullness.qual.*;
import org.checkerframework.framework.qual.PolyAll;
// test related to issue 429: https://github.com/typetools/checker-framework/issues/429
class KeyForPolyAll {
//... |
package ch09interfaces.filters;
public class LowPass extends Filter {
double cutoff;
public LowPass(double cutoff) {
this.cutoff = cutoff;
}
public Waveform process(Waveform input) {
return input; // Dummy processing
}
} |
/*
* 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 io.swagger.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class Category {
private Long id = null;
private Str... |
/*
* Copyright (C) 2013 salesforce.com, 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 ... |
package timejts.PKI.repository;
import org.springframework.data.mongodb.repository.MongoRepository;
import timejts.PKI.model.RevokedCertificate;
import java.util.Optional;
public interface RevokedCertificatesRepository extends MongoRepository<RevokedCertificate, String> {
Optional<RevokedCertificate> findById(S... |
/*===========================================================================
* Licensed Materials - Property of IBM
* "Restricted Materials of IBM"
*
* IBM SDK, Java(tm) Technology Edition, v8
* (C) Copyright IBM Corp. 1999, 2005. All Rights Reserved
*
* US Government Users Restricted Rights - Use, duplication... |
package org.jcodec.api;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import org.jcodec.api.specific.AVCMP4Adaptor;
import org.jcodec.api.specific.ContainerAdaptor;
import org.jcodec.common.DemuxerTrackMeta;
import org.jcodec.common.Format;
import org.jcodec.common.JCodecUtil;
import or... |
package net.nocturne.game.player.actions.skills.dungeoneering.rooms.puzzles;
import java.util.*;
import net.nocturne.game.*;
import net.nocturne.game.Hit.HitLook;
import net.nocturne.game.player.Player;
import net.nocturne.game.player.actions.skills.dungeoneering.DungeonConstants;
import net.nocturne.game.player.acti... |
/*
* Copyright © 2016, 2018 IBM Corp. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
package org.moodminds.reactor.adapter;
import org.moodminds.lang.Publishable;
import org.moodminds.util.Subscriber;
import org.reactivestreams.Publisher;
import reactor.core.CorePublisher;
import static java.util.Objects.requireNonNull;
import static org.moodminds.reactor.adapter.ReactorSubscriberAdapter.toReactor;
... |
package ru.job4j.user1;
import org.junit.Test;
import java.util.*;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.*;
public class SortUserTest {
@Test
public void sortTest() {
User1 user1 = new User1("Jan", 40);
User1 user2 = new User1("Tom", 30);
User1 user3 ... |
package ${package}.client;
import org.junit.*;
import com.github.tomakehurst.wiremock.junit.*;
import net.typedrest.EntryEndpoint;
import java.net.URI;
import org.apache.http.entity.ContentType;
public abstract class AbstractEndpointTest {
protected EntryEndpoint entryEndpoint;
protected static final String ... |
package io.proleap.cobol.ast.tandem;
import java.io.File;
import io.proleap.cobol.preprocessor.CobolPreprocessor.CobolSourceFormatEnum;
import io.proleap.cobol.runner.CobolParseTestRunner;
import io.proleap.cobol.runner.impl.CobolParseTestRunnerImpl;
import org.junit.Test;
public class ComputeStatementTest {
@Test... |
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.*;
public class Board extends JPanel
{
public Solver solver;
private final int size;
private final Square[][] boardState;
public Board(int size)
{
setBorder(BorderFactory.createLineB... |
package org.stepic.droid.events.sections;
public class NotCachedSectionEvent {
long sectionId;
public NotCachedSectionEvent(long sectionId) {
this.sectionId = sectionId;
}
public long getSectionId() {
return sectionId;
}
} |
package jp.chang.myclinic.util.dto_logic;
import jp.chang.myclinic.consts.Sex;
import jp.chang.myclinic.util.logic.ErrorMessages;
import jp.chang.myclinic.util.logic.LogicUtil;
public class SexLogic extends LogicUtil {
//private static Logger logger = LoggerFactory.getLogger(SexLogic.class);
private SexLogi... |
package horasdecampo.orm;
import horasdecampo.models.Estudante;
import horasdecampo.models.Mes;
import horasdecampo.models.Registro;
import horasdecampo.models.RevisitaEstudante;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import com.j256.ormlite.dao.GenericRawResults;
import com... |
package com.example.arthika.arthikahft;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Iterator;
import java.util.Locale;
import java.util.Map;
import java.util.NavigableMap;
import java.util.Tre... |
package io.github.kosmx.emotes.fabric;
import com.mojang.blaze3d.platform.InputConstants;
import io.github.kosmx.emotes.arch.executor.AbstractClientMethods;
import io.github.kosmx.emotes.arch.gui.screen.ingame.FastChosseScreen;
import io.github.kosmx.emotes.fabric.network.ClientNetworkInstance;
import io.github.kosmx.... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root.
package com.microsoft.alm.plugin.mocks;
import com.microsoft.alm.plugin.authentication.AuthenticationInfo;
import com.microsoft.alm.plugin.authentication.AuthenticationListener;
import com.microsof... |
/*
* Copyright 2013 - 2019 The Original 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 b... |
/**
* Copyright (c) 2016-2019 NBA All rights reserved.
*
* https://www.renren.io
*
* 版权所有,侵权必究!
*/
package io.renren.modules.sys.service;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.modules.sys.entity.SysUserRoleEntity;
import java.util.List;
/**
* 用户与角色对应关系
*
* @author M... |
package com.midsummer.mynews.model.topic;
import java.util.HashMap;
import java.util.Map;
public class Topic {
private Response response;
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
/**
*
* @return
* The response
*/
public Response getR... |
/**
* @author:MG01867
* @date:2018年6月21日
* @E-mail:359852326@qq.com
* @version:
* @describe 账户模块
*/
package com.sixliu.credit.account; |
/*
* XML Type: RetrieveParsedDataImportFileRequest
* Namespace: http://schemas.microsoft.com/crm/2007/WebServices
* Java type: com.microsoft.schemas.crm._2007.webservices.RetrieveParsedDataImportFileRequest
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.crm._2007.webservices.impl;
... |
/*package org.firstinspires.ftc.teamcode;
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;
import com.qualcomm.robotcore.util.ElapsedTime;
import org.fir... |
package io.swagger.parser;
import io.swagger.v3.oas.models.Components;
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.media.ArraySchema;
import io.swagger.v3.oas.models.media.ObjectSchema;
import io.swagger.v3.oas.models.media.Schema;
import io.swagger.v3.oas.models.PathItem;
import io.swagg... |
/*
* 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 core.framework.module;
import core.framework.http.HTTPMethod;
import core.framework.impl.module.Config;
import core.framework.impl.module.ModuleContext;
import core.framework.impl.module.ShutdownHook;
import core.framework.impl.web.management.KafkaController;
import core.framework.internal.kafka.MessageListene... |
// Copyright 2000-2018 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.siyeh.ig.controlflow;
import com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase;
import com.siyeh.ig.LightJavaInspectionTestCase;
public class U... |
package org.nutz.dao.impl.sql;
import java.util.ArrayList;
import java.util.List;
import org.nutz.lang.Strings;
import org.nutz.lang.util.LinkedIntArray;
/**
* It will record the date like
*
* <pre>
* chain: [str1][...][str2][...][...][str3]
* indexes [1,3,4] // 0 base indexes
* </pre>
*/
class WorkingStac... |
package superstartrek.client.activities.navigation;
import java.util.List;
import superstartrek.client.model.Location;
import superstartrek.client.model.Quadrant;
public interface PathFinder {
/**
* Returns a list of locations one can traverse in the direction from "from" to "to".
* Path will avoid obstacles. ... |
/*
* 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 com.projetofarmacia.dialogs;
/**
*
* @author Ádrian Rabelo
*/
public class dadosAlteradosFalha extends javax.swing.JDialog ... |
/*
* Copyright (c) 2020-2020, Numdata BV, The Netherlands.
* 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
* not... |
/*
* 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 not ... |
/*
* #%L
* ImageJ2 software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2021 ImageJ2 developers.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of... |
package com.example.swj.riceweather.gson;
import com.google.gson.annotations.SerializedName;
/**
* Created by swj on 2017/5/2.
*/
public class Now {
@SerializedName("tmp")
public String temperature;
@SerializedName("cond")
public More more;
public class More {
@SerializedName("txt")... |
/**
* This file is part of Erjang - A JVM-based Erlang VM
*
* Copyright (c) 2010 by Trifork
*
* 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/LIC... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package io.ebean.text;
/**
* Convert a String value into an Object value.
* <p>
* Basic interface to support CSV, JSON and XML processing.
*/
public interface StringParser {
/**
* Convert a String value into an Object value.
*/
Object parse(String value);
} |
package lia.Monitor.modules;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.logging.Level;
import java.util.logging.Logger;
public final cl... |
package com.example.msf.msf.Fragments.Patient.PatientTabs;
import android.content.Context;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.util.Log;
import android.view.LayoutInfla... |
/*
* Copyright (c) 2019, 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 2018-2019 Accenture Technology
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 la... |
package com.burhangok.mavisozluk;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.widget.Toast;
import java.io.BufferedReader;
import java.io.IOException... |
/*
* @(#)HexList.java 1.0 09/09/17
*
* This file has been auto-generated by JNC, the
* Java output format plug-in of pyang.
* Origin: module "tailf-common", revision: "2017-01-26".
*/
package com.airlenet.yang.model.tailfCommon;
import com.tailf.jnc.YangException;
import com.tailf.jnc.YangString;
/**
... |
/*
* Copyright 2001-2014 Stephen Colebourne
*
* 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 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package org.test.exception;
public class HTTP503Exception extends Exception{
public HTTP503Exception(){
super();
}
public HTTP503Exception(String message){
super(message);
}
} |
package fr.jmini.openapi.openapitools.api;
import java.io.File;
import fr.jmini.openapi.openapitools.model.Pet;
import fr.jmini.openapi.openapitools.api.PetApiService;
import javax.ws.rs.*;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.SecurityContext;
import javax.enterpr... |
/*
* Copyright 2017-present Facebook, 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... |
package com.LiangLliu.utils.math.decimal;
public class MathExample {
public static void main(String[] args) {
double input = 1205.6358;
System.out.println("salary : " + input);
double salary = Math.round(input * 100.0) / 100.00;
System.out.println("salary : " + salary);
}
... |
package com.monkeyk.os.domain.oauth;
import com.monkeyk.os.domain.AbstractDomain;
/**
* 15-6-17
* <p/>
* 用于在 grant_type = authorization_code 流程中记录生成的 code信息
*
* @author Shengzhao Li
*/
public class OauthCode extends AbstractDomain {
private static final long serialVersionUID = 7861853986708936572L;
pr... |
/**
* 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.dna.everythingisbad.tile.processing;
import com.dna.everythingisbad.block.machines.BlockDeviceBase;
import com.dna.everythingisbad.tile.TileMachineBase;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.util.EnumFacing;
im... |
/*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2019 Guardsquare NV
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Softwar... |
package ij.plugin.filter;
import ij.*;
import ij.process.*;
import ij.io.*;
/** This plugin saves an image in tiff, gif, jpeg, bmp, png, text or raw format. */
public class Writer implements PlugInFilter {
private String arg;
private ImagePlus imp;
public int setup(String arg, ImagePlus imp) {
this.arg =... |
/*
* Nexd API
* Swagger API description
*
* The version of the OpenAPI document: 1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package app.nexd.android;
import com.google.gson.Gson;
... |
/*
* Copyright 2000-2021 Vaadin 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 applicable law or agreed to... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package org.appsec.securityRAT.domain;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.validation.constraints.NotNull;
import ja... |
package org.apache.hadoop.hive.accumulo;
import java.io.IOException;
import java.util.Map;
import java.util.Properties;
import org.apache.accumulo.core.client.AccumuloException;
import org.apache.accumulo.core.client.AccumuloSecurityException;
import org.apache.accumulo.core.client.Connector;
import org.apache.accumu... |
/*
* Ex04
Faça um algoritmo que leia um valor inteiro digitado
e retorne se este valor é PAR ou ÍMPAR.
*/
package exerciciosoperadorescondicionais;
import java.util.Scanner;
public class Ex04ParImpar {
int numero;
static Scanner ler = new Scanner(System.in);
public static void main(String[] args) ... |
package com.eaw1805.data.constants;
/**
* Constants related to Regions.
*/
public interface RegionConstants {
/**
* The identity for europe.
*/
int EUROPE = 1;
/**
* The identity for caribbean.
*/
int CARIBBEAN = 2;
/**
* The identity for indies.
*/
int INDIES... |
package org.infinispan.server.persistence;
import org.infinispan.server.test.junit4.InfinispanServerRule;
import org.infinispan.server.test.junit4.InfinispanServerRuleBuilder;
import org.infinispan.server.test.core.ServerRunMode;
import org.junit.ClassRule;
import org.junit.runner.RunWith;
import org.junit.runners.Sui... |
/**
* Copyright (c) 2007 The Apereo 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://opensource.org/licenses/ecl2
*
* 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 may ... |
/*
* Copyright 2006-2011 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 ru.apetrov.controller;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;
public class IndexPage extends HttpServlet {
... |
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* 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 ... |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
/*
* Copyright 2019 Huawei Technologies Co.,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 applicable l... |
/*
package patrimonio;
public class SistemaPatrimonio {
public static void main(String[] args) {
//Identificador em memória = Criação do objeto();
//Bem cadeira;
//cadeira = monitor; => nops: dois identificadores para o mesmo objeto
Bem monitor = new Bem();
Bem cadeira = ... |
/*******************************************************************************
* Copyright (C) Philipp Seelos - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Philipp Seelos <seelos@outlook.com>, December 2017
***********... |
package com.atguigu.gmall.pms.service;
import com.atguigu.gmall.pms.vo.SkuInfoVo;
import com.atguigu.gmall.pms.vo.SpuInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gmall.pms.entity.SkuInfoEntity;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;
... |
package com.auth0.android.result;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Map;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.MatcherAssert.assertThat;
impor... |
/**
* Package contains some generic classes useful throughout the SDK not
* necessarily related to one part of it.
*/
package com.vailsys.persephony; |
/*
* 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package mage.cards.t;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.keyword.MorphAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
/**
*
* @author LoneFox
*/
public f... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v0/errors/extension_setting_error.proto
package com.google.ads.googleads.v0.errors;
public interface ExtensionSettingErrorEnumOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v0.errors.E... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... |
package com.ctrip.framework.dal.cluster.client.shard;
import com.ctrip.framework.dal.cluster.client.base.HostSpec;
import com.ctrip.framework.dal.cluster.client.cluster.ReadStrategyEnum;
import com.ctrip.framework.dal.cluster.client.config.DatabaseShardConfigImpl;
import com.ctrip.framework.dal.cluster.client.database... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.