text stringlengths 7 1.01M |
|---|
package ai.sangmado.urbanboot.urban.iptable.management.controller;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;
import java.time.LocalDateTime;
import ja... |
/**
* The MIT License
* Copyright (c) 2014 Ilkka Seppä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, copy, ... |
/*
* MIT License
*
* Copyright (c) 2022 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.alfa.cell.push.sdk;
import com.alfa.cell.push.sdk.models.Delivery;
import com.alfa.cell.push.sdk.models.Register;
import com.alfa.cell.push.sdk.models.User;
import com.alfa.cell.push.sdk.models.delivery.DeliveryResult;
import com.alfa.cell.push.sdk.models.register.RegisterResult;
import com.alfa.cell.push.... |
package async.net.impl;
import static org.mockito.Mockito.doThrow;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import java.io.Closeable;
import java.io.IOException;
import org.junit.Before;
import org.junit.Test;
import async.net.callback.ExceptionCallback;
public class IOUtil... |
//
// ========================================================================
// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License v. 2.0 which is available at
// https://www.eclipse.org/... |
/*
* Copyright 2016 Chris Millar
*
* 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 Shakti.HibernateApp;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot... |
package ch.tyratox.security.eemail.design;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.JLabel;
import javax.swing.SwingConstants;
import ch.tyratox.security.eemail.EEMail_About;
public class EEMail_AboutLabel extends JLabel{
/**
*
*/
private static final long se... |
/*
Copyright (c) 2022, Hervé Girod
All rights reserved.
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 fo... |
/*
* Copyright 2015-2020 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 com.in28minutes.rest.webservices.restfulwebservices.todo;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface TodoJpaRepository extends JpaRepository<Todo, Long>{
List<Todo> findByUsername(String ... |
package org.deeplearning4j.models.embeddings.loader;
import org.nd4j.shade.jackson.databind.DeserializationFeature;
import org.nd4j.shade.jackson.databind.MapperFeature;
import org.nd4j.shade.jackson.databind.ObjectMapper;
import org.nd4j.shade.jackson.databind.SerializationFeature;
import lombok.Data;
import org.apac... |
/*
*******************************************************************************
* Copyright (C) 2007, International Business Machines Corporation and *
* others. All Rights Reserved. *
*************************************************************************... |
package com.snackhole.simplesorcery.sorcery.spells;
import net.minecraft.entity.player.EntityPlayerMP;
public class dispel implements ISpell {
@Override
public void cast(int level, EntityPlayerMP player, boolean entityDetected, int entityID) {
player.clearActivePotions();
}
}
|
/*
* Licensed to ObjectStyle LLC under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ObjectStyle LLC licenses
* this file to you under the Apache License, Version 2.0 (the
* "License"); you may not u... |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2001-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.... |
package jet.opengl.demos.intel.avsm;
/**
* Created by mazhen'gui on 2017/10/9.
*/
final class FrameStats {
float VolumetricShadowTime;
float SolidGeometryTime;
float ParticlesTime;
float TotalTime;
void reset(){
VolumetricShadowTime = 0;
SolidGeometryTime = 0;
ParticlesT... |
/*
* 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 ... |
/* file: Input.java */
/*******************************************************************************
* Copyright 2014-2020 Intel Corporation
*
* 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.discovery;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
@SpringBootApplication
@EnableEurekaServer
public class DiscoveryApplication {
public static vo... |
/*
* 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.bitdubai.fermat_ccp_plugin.layer.request.crypto_payment.developer.bitdubai.version_1.database;
import com.bitdubai.fermat_api.layer.all_definition.developer.DeveloperDatabase;
import com.bitdubai.fermat_api.layer.all_definition.developer.DeveloperDatabaseTable;
import com.bitdubai.fermat_api.layer.all_defi... |
/*********************************************************************************
* *
* The MIT License (MIT) *
* ... |
package kim.aries.gulimall.order.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 支付信息表
*
* @author aries
* @email aries_test@qq.com
* @dat... |
package net.minecraft.enchantment;
import java.util.ArrayList;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.StatCollector;
public abstract class Enchantment
{
public static f... |
/**
* Created by IntelliJ IDEA
*
* @author robin
* @create 2019/1/30 01:53
*/
package com.SegmentTree;
/**
* Created by robin on 2019/1/30.
*/
public class SegmentTree<E> {
public E[] tree;
public E[] data;
private Merger<E> merger;
public SegmentTree(E[] arr, Merger<E> merger){
this... |
package com.planet_ink.coffee_mud.core.collections;
import java.io.Serializable;
import java.util.Collection;
import java.util.Comparator;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Map;
import java.util.NavigableMap;
import java.util.NavigableSet;
i... |
/*
* Copyright 2015 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.ctrip.framework.apollo.biz.repository;
import com.ctrip.framework.apollo.biz.AbstractIntegrationTest;
import com.ctrip.framework.apollo.common.entity.AppNamespace;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import static org.junit.Assert.assertEquals;
import stat... |
/*
* Copyright (c) [2016-2018] [University of Minnesota]
*
* 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, m... |
package com.wut.model.scalar;
public class EmailData extends ScalarData {
private String data;
public EmailData(String string) {
this.data = string;
}
@Override
public String toRawString() {
return data;
}
@Override
public void fromRawString(String str) {
data = str;
}
}
|
package dev.voidframework.template.freemarker.method;
import com.typesafe.config.Config;
import freemarker.template.SimpleNumber;
import freemarker.template.SimpleScalar;
import freemarker.template.TemplateBooleanModel;
import freemarker.template.TemplateMethodModelEx;
import freemarker.template.TemplateModel;
import ... |
//statement
byte[] a = new byte[] {1, 2, 3}; |
package io.opensphere.myplaces.controllers;
import java.awt.Component;
import java.util.Collections;
import java.util.List;
import io.opensphere.core.Toolbox;
import io.opensphere.core.control.action.ContextMenuProvider;
import io.opensphere.core.util.collections.New;
import io.opensphere.mantle.data.Categor... |
/*
* 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 lk.ijse.pos.controller;
import com.sun.javafx.scene.control.skin.TableViewSkinBase;
import lk.ijse.pos.business.BOFactory;
imp... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.security.transport.netty4;
import org.elastic... |
package org.apache.http.impl.client.cache;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import org.apache.http.Header;
import org.apache.http.HeaderElement;
import org.apache.http.HttpEntity;
import org.apache.http.HttpEntityEnclosingRequest;
import org.apache.http.HttpHeaders;
import... |
package pro.ghosh.sudipto.personInterface;
public interface Person {
/**
* Display Method
*/
void display();
/**
* Registration Method
*/
void register();
}
|
/*
* 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... |
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright (C) 2012 Red Hat, Inc. (jcasey@redhat.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 b... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
import io.opentelemetry.api.GlobalOpenTelemetry;
import io.opentelemetry.api.trace.Span;
import io.opentelemetry.api.trace.SpanKind;
import io.opentelemetry.context.Context;
import io.opentelemetry.context.ContextKey;
import io.opente... |
package com.github.hiwepy.httpclient.handler.response;
import java.io.IOException;
import java.io.InputStream;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.StatusLine;
import org.apache.http.client.ClientProtocolException;
... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.graphics.drawable.animated;
public final class R {
public static final class attr {
public static f... |
package org.folio.circulation.services;
import static java.util.concurrent.CompletableFuture.completedFuture;
import static org.folio.circulation.domain.representations.StoredFeeFineAction.StoredFeeFineActionBuilder;
import static org.folio.circulation.services.feefine.FeeRefundProcessor.createLostItemFeeRefundProcess... |
package ch.eth.jcd.badgers.vfs.test.compression;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.Random;
import org.apache.log4j.Logger;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import ch.eth.jcd.... |
package com.randomappsinc.berniesanderssoundboard.Activities;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.widget.ListView;
import com.randomappsinc.berniesanderssoundboard.Adapters.SourcesAdapter;
import com.randomappsinc.berniesanderssoundboard.R;
import butterkni... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... |
/**
*
*/
package com.msi.tough.monitor;
import java.util.ArrayList;
import java.util.List;
import java.util.TimeZone;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import com.msi.tough.core.Appctx;
import com.msi.tough.servlet.StandardContextListener;
//import com.msi.tough.monitor... |
package com.controlefinanca;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript.
* This is used to schedule rendering of the component.
*/
@Override
protected String getMainCompo... |
/*
* 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) 2017 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.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 agreed to in writing, software
* dis... |
public class Main {
public static void main(String[] args) {
Student student = new Student("lol", 17, new Group("123", "B"));
Group group = student.getGroup();
System.out.println(group);
group.setGroup("234");
group.setSubgroup("A");
System.out.println(student.getGrou... |
/*******************************************************************************
* Copyright by Dr. Bianca Hoffmann, Ruman Gerst, Dr. Zoltán Cseresnyés and Prof. Dr. Marc Thilo Figge
*
* Research Group Applied Systems Biology - Head: Prof. Dr. Marc Thilo Figge
* https://www.leibniz-hki.de/en/applied-systems-bi... |
/*
* Copyright (C) 2013 4th Line GmbH, Switzerland
*
* The contents of this file are subject to the terms of either the GNU
* Lesser General Public License Version 2 or later ("LGPL") or the
* Common Development and Distribution License Version 1 or later
* ("CDDL") (collectively, the "License"). You may not use ... |
/*-
* #%L
* anchor-plugin-io
* %%
* Copyright (C) 2010 - 2020 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche
* %%
* 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 wit... |
package com.example.careshipapp.gui.activities;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import an... |
/*
* Copyright 2016 MovingBlocks
*
* 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... |
// Copyright 2018 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... |
package net.whg.graph;
import java.util.UUID;
/**
* Represents a connection showing how data should move from one node to another
* node within a graph. The connection is represented as moving from an output
* argument of node A to an input argument of node B.
*/
public class Connection {
private final Node n... |
package io.swagger.api;
import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import... |
package Abstract_class.Abs_01;
public abstract class Abs_01_1 {
public abstract void eat();
public void sleep() {
System.out.println("sleep");
}
public final int i ;
public Abs_01_1(int i) {
super();
this.i = i;
}
}
|
/*
* Copyright 2016 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 ... |
package com.luomor.coco.mp.common.utils;
import java.security.MessageDigest;
import java.util.Objects;
/**
* MD5加密工具类
*/
public class MD5Util {
private static final String DEFAULT_MD_5_SALT = "fjdsl321312kf349832&*^*903294[JNLIUIK]%fsdjfkl";//加盐md5盐值
/**
* 获得字符串的md5值
*
* @return md5加密后的字符串
... |
/*
* Copyright 2000-2010 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... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2020 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... |
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/* Copyright 2018 The TensorFlow Authors. 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 applicable law or a... |
/*
* (C) Copyright 2015-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package net.minecraft.world.level.chunk;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import com.mojang.datafixers.util.Either;
import it.unimi.dsi.fastutil.ints.IntArrayList;
import it.unimi.dsi.fastutil.ints.IntList;
import java.util.Collections;
import java.util.EnumSet;
i... |
package com.example.testtask;
|
package net.thevpc.nuts.runtime.core.format.text;
import net.thevpc.nuts.runtime.core.format.text.renderer.StyleRenderer;
import java.io.IOException;
import net.thevpc.nuts.NutsSession;
public interface FormattedPrintStreamRenderer {
StyleRenderer createStyleRenderer(AnsiEscapeCommand format, RenderedRawStream ... |
package ufersa.sd.leituraEscritaReentrantLock;
public class Leitor implements Runnable {
private Informacao informacao;
private String nome;
public Leitor(String nome, Informacao informacao) {
this.nome = nome;
this.informacao = informacao;
}
@Override
public void run() {
try {
for (int i = 0; i < ... |
/*
* (C) Copyright 2018 Nuxeo (http://nuxeo.com/) and others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... |
package me.carda.awesome_notifications.notifications.models;
import android.content.Context;
import java.util.HashMap;
import java.util.Map;
import androidx.annotation.Nullable;
import me.carda.awesome_notifications.Definitions;
import me.carda.awesome_notifications.notifications.enumerators.DefaultRingtoneType;
imp... |
package nz.sodium;
/**
* A handle for a listener that was registered with {@link Cell#listen(Handler)} or {@link Stream#listen(Handler)}.
*/
public class Listener {
public Listener() {}
/**
* Deregister the listener that was registered so it will no longer be called back,
* allowing associated res... |
package de.consol.cloudnative;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.MatcherAssert.assertThat;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org... |
package ie.gmit.sw.request;
/**
* An enum that defines the various types of requests.
*/
public enum RequestType {
Lookup,
Add,
Remove
}
|
package ru.job4j.tracker;
import java.sql.Timestamp;
/**.
* Класс заявки
*/
public class Item {
/**.
* Уникальный идентификатор заявки
*/
private String id;
/**.
* Название заявки
*/
private String name;
/**.
* Описание заявки
*/
private String desc;
/**.
... |
/*
* 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")... |
package org.asciidoc.intellij.inspections;
public class AsciiDocDescriptionExistsInspectionTest extends AsciiDocQuickFixTestBase {
@Override
public void setUp() throws Exception {
super.setUp();
//noinspection unchecked
myFixture.enableInspections(AsciiDocDescriptionExistsInspection.class);
}
pub... |
package com.cts.springdatamvc.controller;
import java.util.LinkedHashMap;
import java.util.Map;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.sp... |
/*
Copyright 2014-2016 Intel Corporation
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, s... |
package com.example.base_station_game;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
import com.google.... |
/*
* 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.github.whymesay.toy.monarch.transport;
import com.github.whymesay.toy.monarch.common.domain.RpcRequest;
import com.github.whymesay.toy.monarch.common.domain.RpcResponse;
import java.util.concurrent.Future;
/**
* The interface Client.
*
* @author whymesay
* @date 2020 /10/3 15:57
*/
public interface ... |
package com.fasterxml.jackson.core.read;
import java.io.*;
import com.fasterxml.jackson.core.*;
import com.fasterxml.jackson.core.exc.StreamReadException;
import com.fasterxml.jackson.core.json.JsonFactory;
import com.fasterxml.jackson.core.json.JsonReadFeature;
/**
* Unit tests for verifying that support for (non-... |
/*
* The MIT License
*
* Copyright 2010 Sony Ericsson Mobile Communications. All rights reserved.
* Copyright 2012 Sony Mobile Communications AB. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "... |
/*
* 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.github.kklisura.cdt.protocol.types.page;
/*-
* #%L
* cdt-java-client
* %%
* Copyright (C) 2018 - 2020 Kenan Klisura
* %%
* 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
*
... |
/*
* Copyright (c) 2008-2016, 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 com.zhiliao.coupon.controller;
import java.util.Arrays;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.R... |
/*
* Copyright 2014 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 score;
/**
* MA42 Android用Java文法 Lesson2 Ex2
*
* 学生の英数国の成績情報を表すクラス。
*
* @author Shinzo SAITO
*/
public class TestScore {
/**
* 名前。
*/
private String _name;
/**
* 英語の点数。
*/
private int _english;
/**
* 数学の点数。
*/
private int _math;
/**
* 国語の点数。
*/
private int _japan... |
package org.hetida.designer.backend.dto;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
@Data
public class BaseItemDTO extends ParentDTO {
private List<IODTO> inputs = new ArrayList<>();
private List<IODTO> outputs = new ArrayList<>();
private List<WiringDTO> wirings = new Array... |
package net.petrikainulainen.spring.social.signinmvc;
/**
* @author Petri Kainulainen
*/
public class WebTestConstants {
public static final String FORM_FIELD_EMAIL = "email";
public static final String FORM_FIELD_FIRST_NAME = "firstName";
public static final String FORM_FIELD_LAST_NAME = "lastName";
... |
package com.baoying.enginex.executor.common.mapper;
import java.util.List;
public abstract interface BaseMapper<IdEntity> {
/**
* @Description: 根据对象删除数据
* @param entity 对象
* @return 是否删除成功
*/
int deleteByExample(IdEntity entity);
/**
* @Description: 根据对象主键ID删除数据
* @param id 对象id编号
* @return 是否删除成功
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.