text stringlengths 7 1.01M |
|---|
/*
* Copyright 2012-2013 Niall Gallagher
*
* 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 ag... |
package com.javarush.task.task18.task1822;
/*
Поиск данных внутри файла
*/
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
public class Solution {
public static void main(String[] args) throws IOException {
// 1. Считать с конс... |
import java.util.Scanner;
public class solution2{
static Scanner scanner = new Scanner(System.in);
public static void main(String[] args) {
//Запишите сюда первый ход в формате "строка-столбец"
String firstAction = "";
System.out.println(firstAction);
System.out.flush();
... |
package mobileservices.tasks;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
public interface SuccessContinuation<TResult, TContinuationResult> {
@NonNull
Task<TContinuationResult> then(@Nullable TResult var1) throws Exception;
}
|
package com.kushki.enums;
public enum KushkiPeriodicitySubscriptionType {
DAILY("daily"),
WEEKLY("weekly"),
BIWEEKLY("biweekly"),
MONTLY("monthly"),
QUATTERLY("quarterly"),
HALFYEARLY("halfYearly"),
YEARLY("yearly"),
CUSTOM("custom");
private String name;
@Override
public ... |
package com.eumji.jackson.test;
import com.eumji.jackson.model.DateModel;
import com.eumji.jackson.model.MapInfo;
import com.eumji.jackson.model.UserInfo;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.Test;
import java.io.IOException... |
package de.spricom.dessert.resolve;
/*-
* #%L
* Dessert Dependency Assertion Library for Java
* %%
* Copyright (C) 2017 - 2022 Hans Jörg Heßmann
* %%
* 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 t... |
package br.com.strn.ec.database.dao.client;
import br.com.strn.ec.database.dao.GenericDAO;
import br.com.strn.ec.database.entities.client.TabLang;
import org.hibernate.Session;
import javax.inject.Inject;
public class TabLangDAO extends GenericDAO<TabLang> {
/**
* @deprecated CDI eyes only
*/
prot... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 信用受理评估接口(订单维度准入&可用额度咨询)
*
* @author auto create
* @since 1.0, 2019-07-26 13:56:22
*/
public class ZhimaCreditPeUserOrderConsultModel extends AlipayObject {
private static final... |
package org.infinispan.server.security;
import static org.wildfly.security.http.HttpConstants.SECURITY_IDENTITY;
import java.security.Provider;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;
import java.util.concurrent.Executor;
import javax.security.auth.Subject;
import... |
package ReduceSize;
import com.intellij.codeInspection.LocalQuickFix;
import com.intellij.codeInspection.ProblemDescriptor;
import com.intellij.openapi.project.Project;
import com.intellij.psi.*;
import com.intellij.psi.codeStyle.JavaCodeStyleManager;
import com.intellij.psi.impl.source.codeStyle.IndentHelper;
import ... |
/*
* Copyright (c) 2020 Temporal Technologies, Inc. All Rights Reserved
*
* Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Modifications copyright (C) 2017 Uber Technologies, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
* use this fi... |
/*
* Copyright 2017 nsnikhil
*
* 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.github.pl4gue.mvp.presenter;
import android.Manifest;
import android.app.Dialog;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.AsyncTask;
import android.support.annotation.NonNull;
import android.widget.LinearLayout;
import com.gi... |
package io.github.draggonfantasy.muselang.core;
public class Pause extends MusicUnit
{
private int duration;
public Pause(int duration)
{
this.duration = duration;
}
public int getDuration()
{
return duration;
}
}
|
package com.tvd12.ezyfox.binding.reader;
import java.math.BigInteger;
import com.tvd12.ezyfox.binding.EzyReader;
import com.tvd12.ezyfox.binding.EzyUnmarshaller;
public final class EzyBigIntegerReader implements EzyReader<Object, BigInteger> {
private static final EzyBigIntegerReader INSTANCE = new EzyBigIntegerRe... |
package us.etsii.fvt.services;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.spr... |
package views.management;
import java.awt.*;
import javax.swing.*;
import constants.GUI;
import controllers.management.ManagementController;
public class ManagementView extends JFrame {
private final ManagementController controller;
ProjectManagementView pmv;
CloudManagementView cmv;
public Managem... |
package no.cantara.stingray.security.authentication;
import java.util.Optional;
public interface StingrayAuthenticationResult {
/**
* Whether the authentication attempt succeeded.
*
* @return true if the authentication attempt succeeded, false otherwise.
*/
boolean isValid();
/**
... |
/*
* Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software;Designed and Developed mainly by many Chinese
* opensource volunteers. you can redistribute it and/or modify it under the
* terms ... |
// 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 1999-2015 dangdang.com.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... |
/**
ResultChangedListener
* -- documented
*
* Interface that tells other classes that they should contain a resultChanged method
*
*/
package oj.processor.events;
public interface ResultChangedListenerOJ {
public void resultChanged(ResultChangedEventOJ evt);
}
|
package io.dindinw.raft.api;
/**
* The protocol
*/
public class Raft {
enum RaftStatus {
Follower,
Candidate,
Leader
}
}
|
package fr.aven.bot.modules.database;
import fr.aven.bot.Constants;
import fr.aven.bot.Main;
import fr.aven.bot.entity.Ban;
import fr.aven.bot.entity.Kick;
import fr.aven.bot.entity.Mute;
import fr.aven.bot.entity.Warn;
import fr.aven.bot.modules.jda.JDAManager;
import fr.aven.bot.modules.music.GuildMusicManager;
impo... |
package com.android.qzy.library.refreshview.container;
import android.content.Context;
import android.graphics.drawable.AnimationDrawable;
import android.support.v4.content.ContextCompat;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
impo... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package cd4017be.rs_ctr.circuit.editor;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;
import cd4017be.rscpl.compile.Context;
import cd4017be.rscpl.compile.Dep;
import cd4017be.rscpl.compile.NodeCompiler;
/**
*
* @author cd4017be
*/
public class GetFieldN... |
/*
* 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... |
/**
* $URL$
* $Id$
*
* Copyright (c) 2009 The Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ECL-... |
/**
* Copyright(c) 2022 Tom Seidel, Remus Software
*
* 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 ... |
package uk.gov.hmcts.ccd.domain.service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import uk.gov.hmcts.ccd.data.jurisdiction.JurisdictionEntity;
import uk.gov.hmcts.ccd.data.jurisdiction.Jurisdi... |
/**
* Copyright 2009-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
package ru.job4j.trainee.part003.collection;
public class Task {
private String number;
private String description;
public Task(String number, String description) {
this.number = number;
this.description = description;
}
public String getNumber() {
return number;
}
}
|
/**
* Interfaces and implementations of lookup classes to locate and/or instantiate JTA {@link javax.transaction.TransactionManager}s.
*/
package org.infinispan.transaction.lookup;
|
/*
* 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 u... |
package org.platformlayer.client.cli.commands;
import java.io.PrintWriter;
import org.kohsuke.args4j.Argument;
import org.platformlayer.PlatformLayerClient;
import org.platformlayer.PlatformLayerClientException;
import org.platformlayer.client.cli.model.ItemPath;
import org.platformlayer.core.model.PlatformLayerKey;
... |
/*
* Latke - 一款以 JSON 为主的 Java Web 框架
* Copyright (c) 2009-present, b3log.org
*
* Latke is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
* http://license.coscl.org.cn/MulanPSL2
* THIS SOFTWA... |
package iudx.resource.server.apiserver.handlers;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.apache.http.HttpStatus;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import io.vertx.core.Handler;
import io.vertx.cor... |
package com.aitoraznar.beeping;
import android.app.IntentService;
import android.content.Intent;
import android.content.Context;
import android.location.Location;
import android.os.Bundle;
import android.util.Log;
import com.beeping.AndroidBeepingCore.BeepEventListener;
import com.beeping.AndroidBeepingCore.BeepingCo... |
package com.ryabokon.search.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelec... |
package com.tzj.garvel.core.parser.api.ast.semver;
import com.tzj.garvel.core.parser.api.visitor.semver.SemverASTVisitor;
public interface SemverAST {
void accept(SemverASTVisitor visitor);
}
|
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... |
package ros.integrate.pkt.psi;
import com.intellij.extapi.psi.PsiFileBase;
import com.intellij.psi.FileViewProvider;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiNameIdentifierOwner;
import com.intellij.psi.PsiQualifiedNamedElement;
import com.intellij.psi.util.PsiTreeUtil;
import com.intellij.util.I... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2016-2017. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
/*
* Copyright 2014 NAVER 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 by applicable law or agreed to ... |
/*
* PExpVisitor.java
* ---------------------------------
* Copyright (c) 2017
* RESOLVE Software Research Group
* School of Computing
* Clemson University
* All rights reserved.
* ---------------------------------
* This file is subject to the terms and conditions defined in
* file 'LICENSE.txt', which is pa... |
package fr.beapp.logger.appender;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import org.junit.Assert;
import org.junit.Test;
public class AppenderTest {
private static class DummyAppender extends Appender {
public DummyAppender(int level) {
super(level);... |
/* Copyright 2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
package net.minecraft.world.level.levelgen.feature;
import java.util.Locale;
import net.minecraft.core.Registry;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.world.level.levelgen.structure.BuriedTreasurePieces;
import net.minecraft.world.level.levelgen.struc... |
package com.dslplatform.json.generated.types.Ip;
import com.dslplatform.json.generated.ocd.javaasserts.IpAsserts;
import com.dslplatform.json.generated.ocd.test.TypeFactory;
import com.dslplatform.json.generated.types.StaticJson;
import java.io.IOException;
public class NullableArrayOfOneIpsDefaultValueTurtle {
... |
package com.lvmoney.frame.route.gateway.ro;/**
* 描述:
* 包名:com.lvmoney.k8s.gateway.ro
* 版本信息: 版本1.0
* 日期:2019/8/8
* Copyright XXXXXX科技有限公司
*/
import lombok.Data;
import java.io.Serializable;
/**
* @describe:
* @author: lvmoney/XXXXXX科技有限公司
* @version:v1.0 2019/8/8 17:38
*/
@Data
public class ShiroFilterRo ... |
package module1210_generated.a;
import java.rmi.*;
import java.nio.file.*;
import java.sql.*;
/**
* Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
* labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. ... |
// Copyright 2018-2021 Polyaxon, 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 agre... |
/*
* 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 ... |
// 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.google.gson.internal;
import java.util.AbstractSet;
import java.util.Iterator;
// Referenced classes of package com.google.gson.internal:
// ... |
/*
* 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... |
package multithread.threadlocal.demo;
/**
* @author SletZh
* @Date 2020-04-13-13:42
*/
public class TestLockMethod {
public static void main(String[] args) {
TestLockMethod m=new TestLockMethod();
new Thread(m::method1).start();
new Thread(m::method1).start();
new Thread(TestLock... |
package org.robolectric.shadows;
import android.accessibilityservice.AccessibilityService;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.shadows.ShadowService;
import java.util.ArrayList;
import java.util.List;
/**
* Shadow of AccessibilitySe... |
package com.shopstick.core.entity;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persiste... |
package com.bravedroid.dataaccess.fetching.network.http.http_url_connection;
import org.junit.Before;
import org.junit.Test;
import java.io.InputStream;
import static org.junit.Assert.assertNotNull;
public class GitHubRequestHelperTest {
private GitHubRequestHelper SUT;
@Before
public void setUp() {
... |
/*
* 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 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... |
/*
*
* ******************************************************************************
* Copyright 2019 Korea University & Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... |
package mocks.proxy.subjectnoimplementproxyinterface;
public interface ProxyInterface {
int[] getTextIDs();
String getText(int id);
}
|
package com.huanchengfly.tieba.post.adapters;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.text.SpannableStringBuilder;
import android.text.Spanned;
import android.text.TextUtils;
import android.util.DisplayMetrics;
import android.util.Log;
import android.v... |
package com.rstit.di.base;
import android.support.annotation.NonNull;
import javax.inject.Singleton;
import com.rstit.di.names.EmailValidatorName;
import com.rstit.di.names.NonEmptyValidatorName;
import com.rstit.di.names.PasswordValidatorName;
import com.rstit.validation.EmailValidator;
import com.rstit.validatio... |
/*
* Copyright 2016-2018 shardingsphere.io.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
package com.itxiaox.android.xutils.ui;
import android.content.Context;
import android.os.Build;
import android.util.DisplayMetrics;
import android.view.WindowManager;
import java.util.Objects;
/**
* update by xiao on 2018/7/18
*/
public class DensityUtils {
private static float density;
private static int... |
/*
* 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 2011, 2012 Chris Banes.
*
* 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... |
package com.google.common.collect;
import static com.google.common.base.Preconditions.checkNotNull;
import com.google.common.collect.Synchronized.SynchronizedCollection;
import com.google.common.collect.Synchronized.SynchronizedSet;
import com.google.common.testing.SerializableTester;
import java.io.Serializable;
i... |
package io.takari.bpm.commands;
import io.takari.bpm.misc.CoverageIgnore;
public class ActivityFinalizerCommand implements Command {
private static final long serialVersionUID = 1L;
private final String definitionId;
private final String elementId;
public ActivityFinalizerCommand(String definitionI... |
/*
* 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 2021 Whilein
*
* 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... |
/*
* Copyright 2009-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
*
* Unles... |
package joshua.decoder;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Paths;
/**
* @author orluke
*
*/
public class ArgsParser {
private String configFile = null;
/**
* Parse the arguments passed from the command line when the JoshuaDecoder ... |
/*
* 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... |
/*
* Copyright 2010-2021 Australian Signals Directorate
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package cn.lxb.blog.web;
import cn.lxb.blog.entity.Blog;
import cn.lxb.blog.entity.Comment;
import cn.lxb.blog.constant.BlogConstant;
import cn.lxb.blog.service.BlogIndexService;
import cn.lxb.blog.service.BlogService;
import cn.lxb.blog.service.BloggerService;
import cn.lxb.blog.service.CommentService;
import cn.lxb.... |
package com.tinytongtong.androidstudy.java.multithread;
/**
* @Description: 查看一个普通的Java程序包含哪些线程
* @Author tinytongtong
* @Date 2020/8/25 6:16 PM
* @Version
*/
public class MultiThreadTest {
public static void main(String[] args) {
}
}
|
package ru.job4j.chess.src.main.java.ru.job4j.chess.exceptions;
public class ImpossibleMoveException extends RuntimeException {
public ImpossibleMoveException(String message) {
super(message);
}
}
|
/*
* Copyright (C) 2015 hops.io.
*
* 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 org.web3j.contracts.eip721.generated;
import java.math.BigInteger;
import java.util.Arrays;
import org.web3j.abi.TypeReference;
import org.web3j.abi.datatypes.Function;
import org.web3j.abi.datatypes.Type;
import org.web3j.abi.datatypes.Utf8String;
import org.web3j.crypto.Credentials;
import org.web3j.protocol... |
import java.awt.*;
import java.awt.event.*;
class AWTCounter {
public static void main(String args[]) {
Frame f = new Frame("AWT Counter");
Label l1 = new Label("Counter");
Button b = new Button("Count");
TextField tf = new TextField(String.valueOf(0));
tf.setEditable(false);
f.add(l1);
f.add(tf);
f.a... |
/**
* Copyright (C) 2013-2017 Expedia 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 agr... |
package com.gazoomobile.mfw.platform.service;
import com.gazoomobile.mfw.platform.domain.Connector;
public abstract interface ConnectorService
{
public abstract Connector createConnector(Connector paramConnector);
} |
package com.huifer.rmi.rpc.client;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
/**
* <p>Title : MyTCPTransport </p>
* <p>Description : </p>
*
* @author huifer
* @date 2019-06-11
*/
public class MyTCPTransport {
private String host... |
/*
* 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 ma... |
package io.github.tehstoneman.betterstorage.common.capabilities;
import io.github.tehstoneman.betterstorage.api.ICrateStorage;
import io.github.tehstoneman.betterstorage.common.world.storage.CrateStorage;
import io.github.tehstoneman.betterstorage.util.BetterStorageResource;
import net.minecraft.nbt.CompoundNBT;
impor... |
/*
* $Id: Property.java,v 1.13 2005/09/18 10:39:52 fortuna Exp $ [Apr 5, 2004]
*
* Copyright (c) 2004, Ben Fortuna
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* o Redistribution... |
package com.daraz;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.edge.EdgeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import io.github.bonigarcia.wdm.WebDriverManager;
public class Practice {
public stat... |
/*
* 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 abstracts;
import entities.Game;
public interface GameService {
public void add(Game game);
public void delete(Game game);
public void update(Game game);
}
|
package br.ufc.mdcc.mpos.net.discovery;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.concurrent.Semaphore;
/**
* TODO: Inicialmente simula na memoria (MOCK), mas na frente vai ser em cima do
* sqlite...
*
* @author Philipp
*/
public final class DiscoveryServiceDAO... |
/*
* Copyright 2017 L4 Digital LLC. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.oes.server.system.controller;
import cn.hutool.core.util.StrUtil;
import com.oes.common.core.entity.R;
import com.oes.common.core.entity.router.VueRouter;
import com.oes.common.core.entity.system.Menu;
import com.oes.server.system.annotation.ControllerEndpoint;
import com.oes.server.system.service.IMenuSer... |
/****************************************************************
* 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... |
package com.github.binarywang.wxpay.bean.marketing;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.common.util.json.WxGsonBuilder;
import java.util.List;
/**
* 条件查询代金券批次列表结果对象
*
* @author thinsstar
*/
@NoArgsConstructor
@Data
publi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.