text stringlengths 7 995k |
|---|
package com.seezoon.framework.modules.system.web;
import java.io.Serializable;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validated;
i... |
package org.ei.opensrp.sync;
import android.util.Log;
import org.ei.opensrp.view.ProgressIndicator;
import static org.ei.opensrp.event.Event.SYNC_COMPLETED;
import static org.ei.opensrp.event.Event.SYNC_STARTED;
public class SyncProgressIndicator implements ProgressIndicator {
private static final String TAG =... |
/*
* Service Registry Fleet Manager
* Managed Service Registry cloud.redhat.com API Management API that lets you create new registry instances. Registry is a datastore for standard event schemas and API designs. Service Registry enables developers to manage and share the structure of their data using a REST interface... |
package io.cmp.modules.job.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.cmp.common.utils.Constant;
import io.cmp.common.utils.PageUtils;
import io.cmp.... |
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2001, Eric D. Friedman All Rights Reserved.
// Copyright (c) 2009, Rob Eden All Rights Reserved.
// Copyright (c) 2009, Jeff Randall All Rights Reserved.
//
// This library is free software; you can redistribute it and/or
/... |
import java.util.Scanner;
import java.lang.Math;
public class Main
{
public static void main(String args[]){
Scanner in = new Scanner(System.in);
int n = in.nextInt(), m = in.nextInt();
int a[][]=new int[n][m];
for(int i=0;i<n;i++){
for(int j=0;j<m;j++){
... |
package com.severett.moveyourfeet.assignments;
import org.json.JSONObject;
/**
* Data structure for each building's crew assignment
* @author Severn Everett
*/
public class BuildingAssignment {
private static final String SENIOR_KEY = "senior";
private static final String JUNIOR_KEY = "junior";
p... |
package org.nedervold.visibly_happy;
import javax.swing.BorderFactory;
import nz.sodium.Cell;
import nz.sodium.Stream;
public class TrailerPane extends CodePane {
private final static String TRAILER_SOURCE = "";
public TrailerPane(final Cell<Integer> inputLineNumberCell) {
super(new Stream<>(), TRAILER_SOURCE,... |
/*
* 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... |
package com.fsh.jcartadministrationback.dto.in;
/**
* @author Mr.Blake
* @create 2020-03-09 21:35
*/
public class CustomerSetStatusInDTO {
private Integer customerId;
private Byte status;
public Integer getCustomerId() {
return customerId;
}
public void setCustomerId(Integer customerId... |
/*
* Copyright (c) 1999, 2008, 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 nc.unc.application.data.service;
import nc.unc.application.data.entity.Etudiant;
import nc.unc.application.data.repository.EtudiantRepository;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class EtudiantService {
private final EtudiantRepository etudiantRepository;
... |
package br.com.zup.mercadolivre.finalizarcompra.fechamentoCompra;
import br.com.zup.mercadolivre.finalizarcompra.Compra;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;
import java.util.Map;
@Service
public class Ranking implements EventoCompraSucesso{
@Overrid... |
package org.hisp.dhis.de.action;
/*
* Copyright (c) 2004-2015, University of Oslo
* 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 copy... |
/*
* Copyright (c) 2021 Huawei Device 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 law ... |
package org.modelmapper.internal;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
import org.modelmapper.config.Configuration.AccessLevel;
import org.testng.annotations.Test;
/**
* @author Jonathan Halterman
*/
@Test
public clas... |
/*
* Copyright 2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package com.aircjm.limon.common.filter;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import javax.servlet.ReadListener;
import javax.servlet.ServletInputStream;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServl... |
package edu.cmu.hcii.whyline.qa;
import java.util.Set;
import edu.cmu.hcii.whyline.analysis.*;
import edu.cmu.hcii.whyline.qa.Question.EventID;
/**
* Explains why a particular instruction was executed, focusing on control flow dependencies and their direct data dependencies.
*
* @author Andrew J. Ko
*
*/
publi... |
package io.github.talelin.latticy.model;
import io.github.talelin.latticy.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* @author generator@TaleLin
* @since 2020-11-09
*/
@Data
@EqualsAndHashCode... |
package com.vladmihalcea.hibernate.type.util;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.hibernate.cfg.Environment;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Properties;
import static c... |
/*
* Copyright Sergio Abraham Flores Gutiérrez
* All rights reserved.
*/
package cfd;
/**
*
* @author Sergio Abraham Flores Gutiérrez
*/
public abstract class DSubelementAddenda extends cfd.DElementParent {
protected DSubelementAddendaType meAddendaType;
protected String msNamespace;
protected Stri... |
/*
* MIT License
*
* Copyright (c) 2010 - 2021 The OSHI Project Contributors: https://github.com/oshi/oshi/graphs/contributors
*
* 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... |
package com.montealegreluis.activityfeed;
import static com.montealegreluis.activityfeed.ContextAssertions.*;
import static org.junit.jupiter.api.Assertions.*;
import com.montealegreluis.assertions.IllegalArgumentException;
import java.util.Map;
import org.junit.jupiter.api.Test;
final class ActivityTest {
@Test
... |
/*
* This file is part of OpenMPIS.
*
* Copyright (c) 2019 VincenzoLabs
*
* 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
... |
package com.ruoyi.project.saller.saler.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.saller.saler.mapper.SalerMapper;
import com.ruoyi.project.saller.saler.domain.Saler;
import com.ruoyi.project.sal... |
package com.takipi.integrations.functions.annotations;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
public @interface Param {
public enum ParamType {
Number,
String,
Boolean,
Enum,
Object
}
ParamType type();
String[] literal... |
package com.bruincreates.server.security;
import com.bruincreates.server.model.response.RestResponse;
import com.bruincreates.server.utility.ServletUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.authentication.Authentic... |
/****************************************************************
* 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... |
/*
* This source file is part of the FIUS ICGE project.
* For more information see github.com/FIUS/ICGE2
*
* Copyright (c) 2019 the ICGE project authors.
*
* This software is available under the MIT license.
* SPDX-License-Identifier: MIT
*/
package de.unistuttgart.informatik.fius.icge.example.mario.entity... |
package com.skeqi.htd.config;
import com.skeqi.htd.common.BizException;
import com.skeqi.htd.common.Result;
import com.skeqi.htd.common.ResultCode;
import lombok.extern.slf4j.Slf4j;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.web.bind.annotation... |
package io.renren.modules.sys.controller;
import com.mongodb.gridfs.GridFSDBFile;
import io.renren.common.utils.MongoUtils;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;
import io.renren.common.validator.ValidatorUtils;
import io.renren.common.validator.group.UpdateGroup;
import io.renren.m... |
/*******************************************************************************
* Copyright (c) 2013 BSI Business Systems Integration AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution,... |
// 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.android.gms.internal.ads;
// Referenced classes of package com.google.android.gms.internal.ads:
// asm
final class amk
{
static f... |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
/*-
* #%L
* Container JFR
* %%
* Copyright (C) 2020 Red Hat, Inc.
* %%
* The Universal Permissive License (UPL), Version 1.0
*
* Subject to the condition set forth below, permission is hereby granted to any
* person obtaining a copy of this software, associated documentation and/or data
* (collectively the "S... |
package org.swtk.commons.dict.wordnet.indexbyname.instance.i.z.z; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import java.util.TreeMap; import org.swtk.common.dict.dto.wordnet.IndexNoun; import com.trimc.blogger.commons.utils.GsonUtils; public final class WordnetNounIndexNameInsta... |
package com.volmit.fulcrum.vfx.particle;
import org.bukkit.Location;
import org.bukkit.entity.Player;
import com.volmit.fulcrum.bukkit.ParticleEffect;
import com.volmit.fulcrum.vfx.MotionEffect;
import com.volmit.fulcrum.vfx.ParticleBase;
public class ParticleSpell extends ParticleBase implements MotionEffect
{
pri... |
/*
* Copyright (C) 2015 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... |
/*
* Copyright (C) 2008 ZXing 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 applicable law or agr... |
/*
Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable
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... |
package com.atguigu.gulimall.ums.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 com.atg... |
/*
This Java source file was generated by test-to-java.xsl
and is a derived work from the source document.
The source document contained the following notice:
Copyright (c) 2001-2003 World Wide Web Consortium,
(Massachusetts Institute of Technology, Institut National de
Recherche en Informatique et en Automatique, K... |
package com.amituofo.datatable.impl.excel.parser;
import java.text.DateFormat;
import java.text.ParseException;
import java.util.Date;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.FormulaEvaluator;
import com.amituofo.datatable.DataException;
import com.amituofo.datatable.type.DateFiel... |
package com.boyarsky.dapos.core.genesis;
import com.boyarsky.dapos.core.model.validator.ValidatorEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.ArrayList;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GenesisInitResul... |
/**
* Copyright (C) 2013, 2014 SLUB Dresden & Avantgarde Labs GmbH (<code@dswarm.org>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... |
package com.axhigh.generic.api.common.dao;
import com.axhigh.generic.api.common.Domain;
import com.axhigh.generic.api.common.entity.DbText;
import org.skife.jdbi.v2.DBI;
import org.skife.jdbi.v2.Handle;
import org.skife.jdbi.v2.sqlobject.Bind;
import org.skife.jdbi.v2.sqlobject.SqlQuery;
import org.skife.jdbi.v2.sqlo... |
/*
* 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 (c) 2019, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.naming;
import com.android.tools.r8.NeverClassInline;
import com.android.too... |
/*
* Copyright (C) 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 appl... |
package com.atguigu.gulimall.member.dao;
import com.atguigu.gulimall.member.entity.MemberEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* ??Ա
*
* @author chenshun
* @email sunlightcs@gmail.com
* @date 2020-07-19 14:20:51
*/
@Mapper
public interf... |
/*
* 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... |
//
// Getdown - application installer, patcher and launcher
// Copyright (C) 2004-2014 Three Rings Design, Inc.
// https://raw.github.com/threerings/getdown/master/LICENSE
package com.threerings.getdown.launcher;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.a... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.hedera.services.usage.token;
/*-
*
* Hedera Services API Fees
*
* Copyright (C) 2018 - 2020 Hedera Hashgraph, 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
*... |
// Copyright © 2012-2017 Andy Goryachev <andy@goryachev.com>
package goryachev.common.util;
import goryachev.common.util.log.LogEntry;
public interface ILogWriter
{
public void write(LogEntry en);
} |
//
// Decompiled by Procyon v0.5.36
//
package groovy.util;
public class ResourceException extends Exception
{
public ResourceException() {
}
public ResourceException(final String message) {
super(message);
}
public ResourceException(final String message, final Throwable cause)... |
// Targeted by JavaCPP version 1.5.1-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.caffe;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
import static org.bytedeco.openblas.global.openblas.*;
import or... |
package cn.edu.scu.jiangpeyton.keyshoot.filter;
import org.apache.commons.lang3.StringUtils;
import soot.util.ArraySet;
import java.util.*;
public class Entropy {
private String s;
private Set<String> stringSet = new ArraySet<>();
public Entropy(String s) {
this.s = s;
}
public Entropy... |
package org.kyojo.schemaorg.m3n3.core.impl;
import java.util.ArrayList;
import java.util.List;
import org.kyojo.schemaorg.SimpleJsonBuilder;
import org.kyojo.schemaorg.m3n3.core.Clazz.Person;
import org.kyojo.schemaorg.m3n3.core.Container;
import org.kyojo.schemaorg.m3n3.core.Container.Name;
import org.seasar.doma.T... |
/*
* Copyright 2020 Jeremy KUHN
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package com.baeldung.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.core.env.Environment;
import org... |
package com.example.component_type_name_ref;
import arez.annotations.ArezComponent;
import arez.annotations.ComponentTypeNameRef;
@ArezComponent( allowEmpty = true )
public abstract class MultiComponentTypeNameRefModel
{
@ComponentTypeNameRef
abstract String getTypeName();
@ComponentTypeNameRef
abstract Stri... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.management.sql.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.management.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... |
package com.bookstore.entity;
import java.io.Serializable;
import java.util.Objects;
import javax.persistence.Column;
import javax.persistence.Embeddable;
@Embeddable
public class AuthorId implements Serializable {
private static final long serialVersionUID = 1L;
@Column(name = "name")
private String na... |
package com.liujinshui.gulimall.ware.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liujinshui.common.utils.PageUtils;
import com.liujinshui.gulimall.ware.entity.UndoLogEntity;
import java.util.Map;
/**
*
*
* @author liujinshui
* @email it@liujinshui.com
* @date 2021-11-19 22:1... |
package org.openolly.config;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.openolly.Sensor;
import org.openolly.reporting.Report;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.JsonMappingException;
... |
/*
* 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 com.knowledge_network.knowledge_network.service.impl;
import com.knowledge_network.knowledge_network.dao.TagDAO;
import com.knowledge_network.knowledge_network.entity.Tag;
import com.knowledge_network.knowledge_network.service.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import or... |
package org.apereo.cas.configuration.model.support.pm;
import org.apereo.cas.configuration.model.SpringResourceProperties;
import org.apereo.cas.configuration.support.RequiresModule;
import com.fasterxml.jackson.annotation.JsonFilter;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
... |
/*
* 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 de.mcmdev.hostprofiles.common.loader;
public class LoadingException extends Exception {
public LoadingException(String message) {
super(message);
}
} |
/*
* Licensed to the University of California, Berkeley 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 no... |
package com.hankcs.hanlp.corpus.tag;
import junit.framework.TestCase;
public class NatureTest extends TestCase {
public void testFromString() throws Exception {
Nature one = Nature.create("新词性1");
Nature two = Nature.create("新词性2");
assertEquals(one, Nature.fromString("新词性1"));
as... |
/*
* ====================================================================
* 【个人网站】:http://www.2b2b92b.com
* 【网站源码】:http://git.oschina.net/zhoubang85/zb
* 【技术论坛】:http://www.2b2b92b.cn
* 【开源中国】:https://gitee.com/zhoubang85
*
* 【支付-微信_支付宝_银联】技术QQ群:470414533
* 【联系QQ】:842324724
* 【联系Email】:842324724@qq.com
* =====... |
/**
* Copyright 2019 ForgeRock AS.
*
* 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, ... |
import co.meihouwang.firstTry.Solution011;
import org.junit.Assert;
import org.junit.Test;
/**
* Created by wangbin7cmcm.com on 17/5/17.
*/
public class MyTest011 {
@Test
public void testArea(){
Solution011 solution011 = new Solution011();
//int[] abc = {1,2,3,4,5};
int[] arr1 = {0,2}... |
// Binary Tree Zigzag Level Order Traversal
// 广度优先遍历,用一个bool记录是从左到右还是从右到左,每一层结束就翻转一下。
// 迭代版,时间复杂度O(n),空间复杂度O(n)
public class Solution {
public List<List<Integer>> zigzagLevelOrder(TreeNode root) {
List<List<Integer>> result = new ArrayList<>();
Queue<TreeNode> current = new LinkedList<>();
... |
package findajob.hrms.api.controllers;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.s... |
/*
* Copyright 2019 ThoughtWorks, 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.yandex.ydb.table.result.impl;
import com.yandex.ydb.ValueProtos;
import com.yandex.ydb.table.result.ValueReader;
/**
* @author Sergey Polovko
*/
final class ProtoDictValueReader extends AbstractValueReader {
private final ValueProtos.Type type;
private final AbstractValueReader keyReader;
... |
package com.codepath.apps.restclienttemplate.fragments;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import an... |
package com.example.silence.franlink.fragment;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInfl... |
package pw.cdmi.om.protocol.cim.core;
import javax.cim.UnsignedInteger32;
public class CIM_ResourcePoolConfigurationService extends CIM_Service {
public UnsignedInteger32 CreateResourcePool(String ElementName, CIM_LogicalDevice[] HostResources, String ResourceType, CIM_ResourcePool pool, CIM_ConcreteJob job){
ret... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distribute... |
package section_07;
import java.util.Arrays;
import static net.mindview.util.Print.print;
/**
* @Author ZhangGJ
* @Date 2019/09/30
*/
public class CopyingArrays {
public static void main(String[] args) {
int[] i = new int[7];
int[] j = new int[10];
Arrays.fill(i, 47);
Arrays.fi... |
/*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) 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
*
* Unles... |
/*
* 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 tool;
import data.MM;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import tool.cfg.MailBoxSetup;
import tool.cfg.MessageBufferSetup;
import javax.mail.*;
import javax.mail.internet.MimeMessage;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.i... |
/**
* Copyright 2000-present Liferay, 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 a... |
/*
* SPDX-FileCopyrightText: 2020 DB Station&Service AG <bahnhoflive-opensource@deutschebahn.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
package de.deutschebahn.bahnhoflive.backend.db.fasta2;
import android.text.TextUtils;
import com.android.volley.NetworkResponse;
import com.android.volley.ParseError;
impor... |
package com.zyd.blog.framework.object;
import java.util.List;
/**
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @website https://www.zhyd.me
* @version 1.0
* @date 2018/4/16 16:26
* @since 1.0
*/
public interface AbstractService<T, PK> {
T insert(T entity);
default void insertList(List<T> en... |
package com.github.bric3.spring.autowire;
import org.springframework.beans.factory.annotation.Qualifier;
@Qualifier("excludedBean")
public class BeanExcluded extends ParentBean {} |
package com.alipay.api.response;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: koubei.craftsman.data.work.modify response.
*
* @author auto create
* @since 1.0, 2021-12-21 22:24:10
*/
public class KoubeiCraftsmanDataWorkModifyResponse extends AlipayResponse {
private static final long serialVersion... |
/*
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... |
/*
* @lc app=leetcode.cn id=143 lang=java
*
* [143] 重排链表
*/
// @lc code=start
/**
* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNode next;
* ListNode() {}
* ListNode(int val) { this.val = val; }
* ListNode(int val, ListNode next) { this.val = val; this.n... |
/*
* Copyright © 2021 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
/*
* Copyright (c) 2011, salesforce.com, inc.
* All rights reserved.
* Redistribution and use of this software 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... |
/*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.