text stringlengths 7 1.01M |
|---|
/*
* Copyright 2012-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... |
/*
* Copyright 2014-2019 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.fbs.rabbitears.contracts.feed;
import com.google.gson.annotations.SerializedName;
import java.util.Date;
import java.util.List;
/**
* Entry Serialization Contract
*/
public class Entry
{
public String title;
public Content content;
public String id;
public Date publ... |
package com.obsez.android.lib.filechooser.internals;
import java.io.File;
import java.text.DecimalFormat;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
/**
* Created by coco on 6/7/15.
*/
public class FileUtil {
public static String getExtension(File file) {
if (fil... |
/*
* 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 xyz.luckin.system.service;
import xyz.luckin.common.core.domain.model.LoginUser;
import xyz.luckin.system.domain.SysUserOnline;
/**
* 在线用户 服务层
*
* @author luckin
*/
public interface ISysUserOnlineService
{
/**
* 通过登录地址查询信息
*
* @param ipaddr 登录地址
* @param user 用户信息
* @return ... |
package game;
import game.util.KeyListener;
import org.lwjgl.glfw.*;
import org.lwjgl.opengl.*;
import static org.lwjgl.glfw.Callbacks.*;
import static org.lwjgl.glfw.GLFW.*;
import static org.lwjgl.opengl.GL11.*;
import static org.lwjgl.system.MemoryUtil.*;
public class GameWindow {
private long window;
pu... |
package com.kennuware.erp.manufacturing.application;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}... |
package com.example.z00c1.passpie_android_app;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
... |
/*
* @(#)ElementType.java 1.8 05/11/17
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package java.lang.annotation;
/**
* A program element type. The constants of this enumerated type
* provide a simple classification of the d... |
package imj;
import static imj.IMJTools.forEachPixelInEachComponent4;
import static java.lang.Long.bitCount;
import static java.lang.Long.toBinaryString;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import imj.IMJTools.PixelProcessor;
import imj.apps.modules.RegionOfI... |
package com.Callback.DammakHayah;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class DammakHayahApplication {
public static void main(String[] args) {
SpringApplication.run(DammakHayahApplication.class, args);... |
package Strategy.context;
import Strategy.search.SearchStrategy;
/**
* Created by navid on 12/15/17.
*/
public class Context {
private SearchStrategy mySearchStrategy;
public void setMySearchStrategy(SearchStrategy strategy) {
this.mySearchStrategy = strategy;
}
public String search() {
... |
package com.pokemongostats.model.filtersinfos;
import android.util.Log;
import com.pokemongostats.controller.utils.TagUtils;
import com.pokemongostats.model.bean.Type;
import org.json.JSONException;
import org.json.JSONObject;
/**
* Created by Zapagon on 05/03/2017.
*/
public class PkmnDescFilterInfo implements M... |
/*
* Copyright 2013 Nicolas Morel
*
* 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 information and license terms for this software can be
* found in the file LICENSE that is included with the distribution
*/
package org.epics.pvdata.property;
/**
* An implementation of TimeStamp.
* @author mrk
*
*/
public class TimeStampFactory implements TimeStamp{
static final long milliSec... |
package com.huaweicloud.sdk.apig.v2.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Collections;
import java.util.HashMap;
import j... |
package com.zhaoming.blog.v1.repository;
import me.wuwenbin.modules.repository.annotation.field.SQL;
import me.wuwenbin.modules.repository.annotation.type.Repository;
import me.wuwenbin.modules.repository.api.open.IBaseCrudRepository;
import me.wuwenbin.modules.repository.api.open.IPageAndSortRepository;
import org.s... |
package p2;
/* Test case for bug 4917 Latest build fails updating TypeHierarchy */
public class A {
}
|
package MongoDBTest;
import com.mongodb.MongoClient;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import org.bson.Document;
import java.util.ArrayList;
import java.util.List;
/**
* @author chengangw
* @date 2/8/2017 4:25 PM
*/
public class InsertMongoDbJDBC {
public stat... |
/*
* Copyright (c) 2017. Krzysztof Szatan <kszatan@gmail.com>
* This file is subject to the license terms in the LICENSE file found in the
* top-level directory of this distribution.
*/
package io.github.kszatan.gocd.b2.publish.handlers.bodies;
public class SourceDestination {
public String source = "";
p... |
package fi.donhut.taskyourandroid;
import android.os.Bundle;
import android.preference.PreferenceActivity;
/**
*
* @author Nhut Do @ 2012
*
*/
public class SettingsActivity extends PreferenceActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//... |
package fr.sii.ogham.sample.test;
import static com.icegreen.greenmail.util.ServerSetupTest.SMTP;
import static fr.sii.ogham.assertion.OghamAssertions.assertThat;
import static org.hamcrest.Matchers.emptyIterable;
import static org.hamcrest.Matchers.hasItems;
import static org.hamcrest.Matchers.is;
import static org.h... |
package com.sfl.nms.api.internal.facade.notification.sms.impl;
import com.sfl.nms.api.internal.facade.test.AbstractFacadeUnitTest;
import com.sfl.nms.core.api.internal.model.common.result.ErrorType;
import com.sfl.nms.core.api.internal.model.common.result.ResultResponseModel;
import com.sfl.nms.core.api.internal.model... |
/*
* Copyright (c) 2013, 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... |
package com.example.tiegan_habittracker;
import java.util.Date;
/**
* Here, in habit, it will create a new habit with a name, a date, a DaysList, a CompletionList and
* a status. It takes in name to set name, integers for year/month/day to set the date and integers
* for the days to set the days in DaysList... |
package io.setl.json.primitive.numbers;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.... |
//
// ========================================================================
// Copyright (c) 1995-2019 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
package com.criminal.gulimall.product.service.impl;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package org.endeavourhealth.transform.emis.custom.transforms;
import org.endeavourhealth.common.fhir.schema.RegistrationType;
import org.endeavourhealth.core.exceptions.TransformException;
import org.endeavourhealth.transform.common.AbstractCsvParser;
import org.endeavourhealth.transform.common.CsvCell;
import org.end... |
/*
* 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 br.com.projeto.ecommerce.pagamento.compra.modelo;
import br.com.projeto.ecommerce.pagamento.compra.GatewayPagamento;
import br.com.projeto.ecommerce.pagamento.compra.StatusCompra;
import br.com.projeto.ecommerce.pagamento.compra.modelo.excessao.CompraNaoEncontradaException;
import br.com.projeto.ecommerce.paga... |
/**
* Copyright 2011-2019 Asakusa Framework Team.
*
* 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 LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.util.tinyexr;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
import static o... |
package com.ctrip.xpipe.redis.console.service;
import com.ctrip.xpipe.redis.console.migration.status.ClusterStatus;
import com.ctrip.xpipe.redis.console.model.ClusterModel;
import com.ctrip.xpipe.redis.console.model.ClusterTbl;
import com.ctrip.xpipe.redis.console.model.consoleportal.ClusterListClusterModel;
import j... |
package com.fszn.common.core.text;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import com.fszn.common.utils.StringUtils;
/**
* 字符集工具类
*
* @author ruoyi
*/
public class CharsetKit
{
/** ISO-8859-1 */
public static final String ISO_8859_1 = "ISO-8859-1";
/** UTF-8 */
... |
/*
* Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package com.red.plus.blue.design_patterns.memento.concrete;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.IntStream;
public class Document {
protected List<String> lines = new ArrayList<>();
protected int cursorPosition;
protected String clipboard;... |
package com.zxing.cameraapplication;
import android.Manifest;
import android.annotation.TargetApi;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.BitmapFactory;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.ActivityCompat;
import andr... |
package com.android.home.threelibs.testing;
import android.view.View;
import android.widget.ImageView;
import androidx.test.espresso.matcher.BoundedMatcher;
import org.hamcrest.Description;
/**
* A Matcher for Espresso that checks if an ImageView has a drawable applied to it.
*/
public class ImageViewHasDrawableMa... |
/*
* Copyright 2020 Global Biodiversity Information Facility (GBIF)
*
* 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 requ... |
/*
* The MIT License
* Copyright © 2014-2021 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... |
package dralchemist.scaling.lamp.model.covid19tp;
import java.util.List;
import lombok.Data;
@Data
public class C19DataList {
List<C19StateData> stateDataList;
}
|
package com.xala3pa.books.gateway;
import com.xala3pa.books.Book;
import java.util.List;
import java.util.Optional;
public interface BookGateway {
Book save(Book book);
Optional<List<Book>> findAll();
Optional<List<Book>> findByAuthor(String author);
Optional<Book> getBookByIsbn(Long isbn);
}
|
package com.github.wxiaoqi.security.generator.entity;
/**
* 列的属性
*
* @author Mr.AG
* @email 463540703@qq.com
* @date 2017年08月25日
*/
public class ColumnEntity {
//列名
private String columnName;
//列名类型
private String dataType;
//列名备注
private String comments;
//属性名称(第一个字母大写),如:user_name... |
/*
* aca-py api
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v0.6.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not... |
package org.spongycastle.crypto.prng.test;
import java.security.SecureRandom;
import org.spongycastle.crypto.digests.SHA1Digest;
import org.spongycastle.crypto.digests.SHA256Digest;
import org.spongycastle.crypto.engines.DESedeEngine;
import org.spongycastle.crypto.macs.HMac;
import org.spongycastle.crypto.prng.Basic... |
package org.batfish.datamodel.transformation;
import static com.google.common.base.Preconditions.checkNotNull;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.Objects;
import javax.annotation.ParametersAreNonnullB... |
package ru.java_for_testers.addressbook.tests;
import org.testng.annotations.Test;
import ru.java_for_testers.addressbook.model.GroupData;
import ru.java_for_testers.addressbook.model.Groups;
import java.sql.*;
public class DbConnectionTest {
@Test
public void testDbConnection() {
Connection conn = null;
... |
package com.example.smarthomes.parallelprocessingservice.parallel;
import com.example.smarthomes.parallelprocessingservice.interpretor.PythonInterpretor;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.AsyncResult;
import org.springframework.stereotype.Component... |
package com.ctrip.xpipe.redis.console.dao;
import com.ctrip.xpipe.redis.console.AbstractConsoleIntegrationTest;
import com.ctrip.xpipe.redis.console.alert.ALERT_TYPE;
import com.ctrip.xpipe.redis.console.model.EventModel;
import com.ctrip.xpipe.redis.console.model.EventTbl;
import com.ctrip.xpipe.redis.console.model.E... |
package com.tsuiraku.hospmanage.model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* <p... |
package aula;
public class Aula_03{
public static void main(String[] args){
int x=20,y=200;
int soma=x+y;
System.out.println(x +" "+y);
}
} |
package org.carlspring.strongbox.controllers.maven;
import org.carlspring.strongbox.artifact.generator.MavenArtifactDeployer;
import org.carlspring.strongbox.controllers.context.IntegrationTest;
import org.carlspring.strongbox.providers.search.MavenIndexerSearchProvider;
import org.carlspring.strongbox.providers.searc... |
//
// Este archivo ha sido generado por la arquitectura JavaTM para la implantación de la referencia de enlace (JAXB) XML v2.2.11
// Visite <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Todas las modificaciones realizadas en este archivo se perderán si se vuelve a compilar el esquema de o... |
package views.agencia;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import javax.swing.*;
import models.*;
import views.funcionario.MemoriaFuncionario;
import views.templates.Alerta;
import views.templates.Botao;
public class FormAgencia extends JPanel {
priva... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.mantledillusion.injection.hura.core.property.uninjectables;
import com.mantledillusion.injection.hura.core.annotation.property.Matches;
import com.mantledillusion.injection.hura.core.annotation.property.Resolve;
public class UninjectableWithUnparsableMatcherProperty {
@Resolve("property.key")
@Matches(... |
package com.devsuperior.learn.entities;
import java.io.Serializable;
import java.time.Instant;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence... |
package com.github.vogulev.jrtb.javarushclient.dto;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.List;
/**
* DTO for getting bot statistics.
*/
@Data
@EqualsAndHashCode
public class StatisticDTO {
private final int activeUserCount;
private final int inactiveUserCount;
private f... |
package com.xigua.xiguaweather.db;
import org.litepal.crud.DataSupport;
/**
* Created by Administrator on 2018/1/3.
*/
public class County extends DataSupport{
private int id;
private String countyName;
private String weatherId;
private int cityId;
public int getId() {
return id;
}... |
package com.refinedmods.refinedstorage.apiimpl.util;
import net.minecraft.SharedConstants;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.NbtIo;
import net.minecraft.world.level.saveddata.SavedData;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.io.File... |
package com.tencent.sms.sms;
/**
* @author yuelimin
* @since JDK 8
*/
public interface SmsService {
/**
* 发送短信
*
* @param mobile
* @param content
* @return
*/
default void send(String mobile, String content) {
}
/**
* 发送短信验证码
*
* @param mobile
* @p... |
package module340packageJava0;
import java.lang.Integer;
public class Foo1 {
Integer int0;
Integer int1;
Integer int2;
Integer int3;
public void foo0() {
new module340packageJava0.Foo0().foo4();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3()... |
package osm5.ns.yang.nfvo.mano.types.rev170208;
import java.util.List;
import javax.annotation.Nullable;
import org.opendaylight.yangtools.yang.binding.DataObject;
import org.opendaylight.yangtools.yang.common.QName;
import osm5.ns.yang.nfvo.mano.types.rev170208.ui.primitive.group.ParameterGroup;
/**
*
* <p>
* T... |
package io.nlopez.drebin.sample;
import java.util.List;
import io.nlopez.drebin.sample.model.Place;
import io.nlopez.drebin.sample.model.User;
import revamp.base.ViewComponent;
public interface MainViewComponent extends ViewComponent {
void fillListWithData(List elements);
void showUserInfo(User user);
void ... |
package com.ihognqiqu.wsp.target.jianshu.entity;
import lombok.Data;
/**
* Created by zhenguo on 12/16/17.
*/
@Data
public class JSArticleEntity {
/**
* id : 4365624
* title : adb shell 命令
* slug : 7af2699d6462
* content : ……adb shell dir 就是列举目录,在Linux中根目录为/而不是Windows上的C盘、D盘。 2.安装apk程序到模拟器... |
/*
* This file is part of rawr-android, licensed under the MIT License (MIT).
*
* Copyright (c) Kenzie Togami <https://octyl.net>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), t... |
/*
* Copyright (C) 2020 Zhang Tingkuo(zhangtingkuo@gmail.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 ... |
package app;
import java.util.ArrayList;
import io.javalin.http.Context;
import io.javalin.http.Handler;
/**
* Temporary HTML as an example page.
*
* Based on the Project Workshop code examples.
* This page currently:
* - Provides a link back to the index page
* - Displays the list of movies fr... |
package com.ganghuan.myRPCVersion6.server;
import com.ganghuan.myRPCVersion6.common.RPCRequest;
import com.ganghuan.myRPCVersion6.common.RPCResponse;
import lombok.AllArgsConstructor;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.lang.reflect.Invocation... |
/*
* Copyright 2015 Anton Straka
*
* 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... |
/**
* 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.github.jolice.task.timer;
import org.bukkit.plugin.Plugin;
import org.bukkit.scheduler.BukkitScheduler;
import org.bukkit.scheduler.BukkitTask;
import org.junit.Test;
import com.github.jolice.task.BukkitTimerFactory;
import io.riguron.system.task.TimerFactory;
import io.riguron.system.task.timer.CountdownT... |
package gui;
import dao.BookmarkDao;
import java.sql.SQLException;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.geometry.Insets;
import javafx.scene.control.*;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import logic.Article;
import logic.Book;
... |
/*
* 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... |
/*
* Array-2 --> zeroFront
*
* Return an array that contains the exact same numbers as the given array, but rearranged so that all
* the zeros are grouped at the start of the array. The order of the non-zero numbers does not matter.
* So {1, 0, 0, 1} becomes {0 ,0, 1, 1}. You may modify and return the gi... |
package org.quickat.web;
import org.quickat.da.UserGroup;
import org.quickat.repository.UserGroupsRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework... |
package com.mall.coupon.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.common.utils.PageUtils;
import com.mall.coupon.entity.HomeSubjectSpuEntity;
import java.util.Map;
/**
* 专题商品
*
* @author chihlinpan
* @email chihlin_pan@outlook.com
* @date 2020-12-24 15:50:33
*/
public... |
package ru.shaplov.spring.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import ru.shaplov.spring.repository.entity.ParentEntity;
import ru.shaplov.spring.service.ParentServiceImpl;
@RestController
@RequestMapping("/parent")
public class Pa... |
/**
* @author liwei
* @date 2019/9/4 4:38 PM
*/
public class Solution2 {
public String addBinary(String a, String b) {
int i = a.length() - 1;
int j = b.length() - 1;
// 保存结果的可变的字符序列对象
StringBuilder res = new StringBuilder();
// 当前和
int curSum;
int carry ... |
package io.kestra.runner.kafka.streams;
import io.kestra.core.exceptions.InternalException;
import io.kestra.core.models.flows.Flow;
import io.kestra.core.runners.Executor;
import io.kestra.core.runners.FlowExecutorInterface;
import io.kestra.core.services.TaskDefaultService;
import io.kestra.core.tasks.flows.Template... |
/*
* 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... |
// RobotBuilder Version: 2.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks... |
/*
* Copyright 2016 Karl Dahlgren
*
* 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.huaweicloud.sdk.functiongraph.v2.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.function.Consumer;
import java.util... |
package org.javacord.api.listener.server;
import org.javacord.api.event.server.ServerChangeRulesChannelEvent;
import org.javacord.api.listener.GloballyAttachableListener;
import org.javacord.api.listener.ObjectAttachableListener;
/**
* This listener listens to server rules channel changes.
*/
@FunctionalInterface
p... |
/*
* 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 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 com.alpha.cainiaoshop.order.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 订单操作历史记录
*
* @author guojun
* @email 470798191@qq.com
* @date 2020-05-26 13:21:22
... |
/*
* Copyright 2017 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 ... |
/*
* Copyright (C) 2017 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 may... |
package basicTestNG;
import org.testng.annotations.Test;
public class NgSample1 {
//junit. - unit testing.
//annotations ?
//TestNG ? - test next generation.
//Benifits of TestNG ? - main , assertion , parallel execution, framework testing
//Usages of TestNG ? - test framework.
//framework -
//TestNg runne... |
/*
* Copyright 2000-2014 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... |
package deformablemesh.simulations;
import deformablemesh.DeformableMesh3DTools;
import deformablemesh.MeshImageStack;
import deformablemesh.externalenergies.ExternalEnergy;
import deformablemesh.externalenergies.SofterStericMesh;
import deformablemesh.externalenergies.VolumeConservation;
import deformablemesh.geometr... |
/*
* 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 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... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool 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 anim {
public static fin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.