text
stringlengths
7
995k
package com.sdl.dxa.modules.ish.services; import com.sdl.dxa.common.ClaimValues; import com.sdl.dxa.tridion.modelservice.ModelServiceClient; import com.sdl.dxa.tridion.modelservice.ModelServiceClientConfiguration; import com.tridion.ambientdata.claimstore.ClaimStore; import com.tridion.ambientdata.web.WebContext; impo...
package com.glovoapp.effortlessfaker; import static java.util.Collections.emptyList; import static java.util.Collections.singleton; import static java.util.Objects.requireNonNull; import static java.util.stream.Collectors.toList; import static java.util.stream.Stream.concat; import static lombok.AccessLevel.PRIVATE; ...
/* * 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 distributed under t...
/* * 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 mooc.vandy.java4android.shapes.logic; import org.junit.Test; import io.magnum.autograder.junit.Rubric; import static org.junit.Assert.assertEquals; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class UnitTests { @Rubric( value = "testRectangleA...
/* * This file is part of OpenTSDB. * Copyright (C) 2021 Yahoo. * * 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 re...
package com.mauriciotogneri.shoppinglist.tasks.product; import android.content.Context; import com.mauriciotogneri.shoppinglist.database.ProductDao; import com.mauriciotogneri.shoppinglist.model.Product; import java.util.List; public class UpdateProducts { private final Context context; public UpdateProduc...
/* The following code was generated by JFlex 1.6.1 */ package org.compi2.codigo3d.parser; import java_cup.runtime.Symbol; //Scanner para generar C3D /** * This class is a scanner generated by * <a href="http://www.jflex.de/">JFlex</a> 1.6.1 * from the specification file <tt>src/org/compi2/codigo3d/parser/lexico...
package com.mmnaseri.utils.samples.spring.data.jpa.model; import javax.persistence.Entity; import javax.persistence.Id; /** * @author Milad Naseri (milad.naseri@cdk.com) * @since 1.0 (6/29/16, 4:03 PM) */ @Entity public class User { @Id private String id; private String username; private String em...
package com.taotao.cloud.java.javaee.s2.c5_redis.web.java.controller; import com.taotao.cloud.java.javaee.s2.c5_redis.web.java.bean.AjaxMessage; import com.taotao.cloud.java.javaee.s2.c5_redis.web.java.bean.TableData; import com.taotao.cloud.java.javaee.s2.c5_redis.web.java.pojo.Menu; import com.taotao.cloud.java.java...
/* * 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 ...
/* * 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...
package com.cym.controller; import java.nio.charset.Charset; import java.util.List; import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Inject; import org.noear.solon.annotation.Mapping; import org.noear.solon.core.handle.ModelAndView; import com.cym.config.ProjectConfig; import com.cym.m...
//package ghost.framework.app.core; // //import ghost.framework.app.context.IApplicationProxyContent; //import ghost.framework.core.proxy.cglib.CglibProxyFactoryContainer; // ///** // * @Author: 郭树灿{guo-w541} // * @link: 手机:13715848993, QQ 27048384 // * @Description:应用代理内容类 // * @Date: 8:35 2019/11/24 // */ //abstract ...
/* * Copyright 2017 - 2020 Roman Borris (pcfreak9000), Paul Hagedorn (Panzer1119) * * 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/...
package org.pjay.patterns.singleton; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; /** * @author vijayk */ public class DbSingleton { private static volatile DbSingleton dbSingleton = null; private static volatile Connection connection = null; private DbSingle...
package com.plushnode.atlacore.protection; import java.util.HashMap; import java.util.Map; public class ProtectionFactory { private Map<String, MethodCreator> creators = new HashMap<>(); public ProtectionFactory() { } public void registerProtectMethod(String method, MethodCreator creator) { ...
/*================================================================================ Copyright (c) 2012 Steve Jin. 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 re...
package mage.cards.h; import java.util.UUID; import mage.MageInt; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.effects.common.continuous.GainAbilityAllEffect; import mage.abilities.keyword.ProvokeAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardTy...
package de.vinado.wicket.participate.ui.resetPassword; import de.vinado.wicket.participate.ui.pages.BasePage; import org.apache.wicket.markup.html.link.BookmarkablePageLink; import org.apache.wicket.request.mapper.parameter.PageParameters; /** * @author Vincent Nadoll (vincent.nadoll@gmail.com) */ public class Rese...
package com.bx.erp.model; public class VipConsumeHistoryField extends BaseModelField { protected String FIELD_NAME_tradeID; public String getFIELD_NAME_tradeID() { return "tradeID"; } protected String FIELD_NAME_datetime; public String getFIELD_NAME_datetime() { return "datetime"; } }
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su conteni...
package com.zengdw.oauth2.server; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @description: * @author: zengd * @date: 2020/10/30 14:08 */ @SpringBootApplication public class Oauth2ServerApplication { public static void main(Stri...
/* * Copyright 2015 AndroidPlot.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 by applicabl...
package com.maxi.mvvm.app; import android.content.Context; import com.maxi.mvvm.R; import com.maxi.mvvm.base.BaseApplication; import com.scwang.smartrefresh.layout.SmartRefreshLayout; import com.scwang.smartrefresh.layout.api.DefaultRefreshFooterCreator; import com.scwang.smartrefresh.layout.api.DefaultRefreshHeaderC...
package com.example.project.TextView; import com.example.ch05project.R; import android.app.Activity; import android.os.Bundle; public class IgnoreTextViewActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.ig...
/** * Copyright 2009-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
package org.apache.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; public final class login_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static final JspFactory _jspxFactory = JspFactory.getDefaultFacto...
package com.yourrents.data.jooq; /*- * #%L * Your Rents Data JOOQ * %% * Copyright (C) 2019 - 2021 Your Rents 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...
package com.capitalone.dashboard.logging; import com.capitalone.dashboard.ApiSettings; import com.capitalone.dashboard.model.AuditRequestLog; import com.capitalone.dashboard.repository.AuditRequestLogRepository; import com.mongodb.util.JSON; import org.apache.commons.io.output.TeeOutputStream; import org.apache.common...
package com.example.jerry.smartbike; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { ...
package fakekube.io.model; import fakekube.io.model.IoK8sApiCoreV1LocalObjectReference; import io.swagger.annotations.ApiModel; import java.util.ArrayList; import java.util.List; import javax.validation.constraints.*; import javax.validation.Valid; import io.swagger.annotations.ApiModelProperty; import javax.xml.bind...
package io.ayou.lake.remoting.netty.server; import io.ayou.lake.protocol.RpcRequest; import io.ayou.lake.protocol.RpcResponse; import io.ayou.lake.remoting.netty.handler.RPCDecoder; import io.ayou.lake.remoting.netty.handler.RPCEncoder; import io.netty.channel.ChannelInitializer; import io.netty.channel.socket.SocketC...
/* * 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) 2006-2016 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
package uk.gov.ida.shared.dropwizard.jade; import de.neuland.jade4j.model.JadeModel; import io.dropwizard.views.View; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static java.text.MessageFormat.format; import static org.assertj.core.api.Assertions.assertThat; class JadeModelFact...
/* * 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...
// Modifications copyright (C) 2017, Baidu.com, Inc. // Copyright 2017 The Apache Software Foundation // 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. ...
/* * 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...
/* * Copyright (C) 2008 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 2022 Starwhale, 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 by applica...
package com.aspsine.multithreaddownload.demo.ui.activity; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import com.aspsine.multithreaddownload.demo.R; public class MainActivity extends AppCompatActivity implements View.OnClickList...
package unit.com.bitdubai.fermat_api.layer.all_definition.resources_structure.Resource; import com.bitdubai.fermat_api.layer.all_definition.resources_structure.Language; import com.bitdubai.fermat_api.layer.all_definition.resources_structure.Resource; import junit.framework.TestCase; /* import org.junit.Test; import...
package com.distrimind.bouncycastle.tls.crypto; import java.math.BigInteger; /** * Carrier class for SRP-6 group parameters. */ public class SRP6Group { private BigInteger N, g; /** * Base constructor. * * @param N the N value. * @param g the g value. */ public SRP6Group(BigInt...
package expression.parser; import java.util.function.Function; /** * @author Georgiy Korneev (kgeorgiy@kgeorgiy.info) */ public interface Either<L, R> { <NR> Either<L, NR> flatMapRight(final Function<? super R, ? extends Either<L, NR>> f); boolean isLeft(); L getLeft(); R getRight(); static <...
package com.phonepay.phonepaysdk.exception; public class NetworkException extends RuntimeException { }
/* * 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 2021 Shulie Technology, Co.Ltd * Email: shulie@shulie.io * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
package com.example.hjf.nightmode; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on an Andro...
package co.team.usern.service; import java.util.List; public interface UsernService { // 전체조회 public List<UsernVO> userNList(UsernVO vo); // 단건조회 + 상세보기 public UsernVO getUserh(int board_no); // 게시물 검색 public List<UsernVO> searchUserN(UserNSearch vo); // 검색기능? 미정 public UsernVO getUserN(UsernVO vo); // ...
/** * Copyright (c) 2016-2019 蜂鸟开源 All rights reserved. * * https://www.hummingbird.io * * 版权所有,侵权必究! */ package io.hummingbird.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import io.hummingbird.dao.UserDa...
package cs451.Packet; import cs451.Host; import java.io.*; import java.nio.ByteBuffer; import java.util.Objects; /** * Serialization inspired from https://stackoverflow.com/questions/2836646/java-serializable-object-to-byte-array */ public abstract class Packet { private byte[] byteArray = null; private lo...
package com.rest.features; import javax.ws.rs.core.Feature; import javax.ws.rs.core.FeatureContext; import javax.ws.rs.ext.Provider; import org.glassfish.jersey.media.multipart.MultiPartFeature; @Provider public class MultipartFeature implements Feature { @Override public boolean configure(FeatureContext context)...
/** * 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) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.security.models; import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.fasterx...
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2017, Arnaud Roques * * Project Info: http://plantuml.com * * This file is part of PlantUML. ...
package com.bilinskiosika.organizer.domain.model; public class JwtRequest { private String username; private String password; //need default constructor for JSON Parsing public JwtRequest() { } public JwtRequest(String username, String password) { this.setUsername(username); ...
package com.jfcheng.json.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Created by jfcheng on 3/3/16. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interfac...
/** * Copyright 2010-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
/**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a ...
// Copyright 2019 The Bazel 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 appl...
/* * Copyright 2010-2020 Australian Signals Directorate * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2020 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the...
/* * Copyright 2021 DataCanvas * * 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...
/* * 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...
/* * Copyright 2014 Red Hat, Inc. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * * The Eclipse Public License is available at * http://www.eclipse.o...
package com.weygo.weygophone.pages.tabs.home.widget; import android.content.Context; import android.util.AttributeSet; import com.weygo.weygophone.R; import com.weygo.weygophone.pages.common.widget.WGCommonHorizontalListView; /** * Created by muma on 2017/6/4. */ public class WGHomeTopicsView extends WGCommonHori...
/* * 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 kr.spring.batch.chapter13.domain; import lombok.Getter; import lombok.Setter; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; import javax.persistence.*; import java.io.Serializable; /** * kr.spring.batch.chapter13.domain.Product * * @author 배성혁 sunghyouk.ba...
package net.coding.ide.service; import net.coding.ide.entity.ConfigEntity; public interface ConfigService { String getName(String key); ConfigEntity getByKey(String key); void setName(String key, String name); String getValue(String key); String getValue(String key, String defaultValue); ...
package net.insomniakitten.pylon.logging; import javax.annotation.Nonnull; import javax.annotation.Nullable; import javax.annotation.processing.Messager; import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.AnnotationValue; import javax.lang.model.element.Element; import java.util.function...
package com.wordnik.swagger.sample.resource; import com.wordnik.swagger.annotations.Api; import com.wordnik.swagger.annotations.ApiOperation; import com.wordnik.swagger.annotations.ApiParam; import com.wordnik.swagger.annotations.ApiResponse; import com.wordnik.swagger.annotations.ApiResponses; import com.wordnik.swag...
package org.apereo.cas.adaptors.x509.authentication; import org.apereo.cas.util.LoggingUtils; import org.apereo.cas.util.crypto.CertUtils; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.apache.commons.lang3.StringUtils; import javax.servle...
/* * Copyright (c) 2018, Adam <Adam@sigterm.info> * 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 * li...
/* * 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 ca.mcgill.sis.dmas.autograd.oprs; import org.nd4j.linalg.api.ndarray.INDArray; import org.nd4j.linalg.factory.Nd4j; import org.nd4j.linalg.indexing.conditions.GreaterThanOrEqual; import com.fasterxml.jackson.annotation.JsonIgnore; import ca.mcgill.sis.dmas.autograd.Graph; import ca.mcgill.sis.dmas.autograd.T...
package charlotte.tools; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; public class CsvFileReader implements AutoCloseable { public static String charset = StringTools.CHARSET_SJIS; pub...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.psi; import com.intellij.extapi.psi.StubBasedPsiElementBase; import com.intellij.injected.editor.VirtualFileWindow; import com.intellij.lang.Language; impor...
/* * Copyright (c) 2016 * Raoul Rubien */ package at.tugraz.iti.particleplatform.protocol.heatcommand; import at.tugraz.iti.SimulationTestUtils; import org.junit.BeforeClass; import java.io.IOException; /** * Created by Raoul Rubien on 16.07.16. */ public class HeatWiresCommandTest_2x2 extends HeatWiresCommand...
/** * Copyright (c) 2008-2020 Bird Dog Games, Inc. * * This file is part of Ardor3D. * * Ardor3D is free software: you can redistribute it and/or modify it * under the terms of its license which may be found in the accompanying * LICENSE file or at <https://git.io/fjRmv>. */ package com.ardor3d.util.export; ...
/* * Copyright 2015 - 2017 Anton Tananaev (anton@traccar.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/LICENSE-2.0 * * Unless required b...
/* 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...
/* Copyright (c) 2014 LinkedIn 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...
/** * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com * * The software in this package is published under the terms of the CPAL v1.0 * license, a copy of which has been included with this distribution in the * LICENSE.md file. */ package be.viaa.modules; import be.viaa.modules.utils.Ftp...
package com.caiiiac.gulimall.ware.service.impl; import com.caiiiac.common.utils.R; import com.caiiiac.gulimall.ware.feign.ProductFeignService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; import java.util.Map; import com.baomidou....
/** * Copyright © 2020 ForgeRock AS (obst@forgerock.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 by app...
package com.example.self.normalpractice.suanfa.week01; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * @description: 三数之和 * @author: hanxiaobo * @create: 2021-04-06 12:46 */ public class ThreeNumCount { /** * 给你一个包含 n 个整数的数组 nums,判断 nums 中是否存在三个元素 a,b,c , * 使得 a + ...
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
/** * Copyright (c) 2009-2016, Data Geekery GmbH (http://www.datageekery.com) * 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/license...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/****************************************************************************** * This file is part of WorkTracker, Copyright (c) 2015 Till Helge Helwig. * * * * WorkTracker is distributed under the MIT License, so feel free to do * ...
/* * 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...
/* * 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) 1997, 2020 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
package com.ost.services; import com.google.gson.JsonObject; import com.ost.lib.OSTRequestClient; import java.io.IOException; import java.util.Map; public class RecoveryOwners extends OSTAPIService { private static String servicePrefix = "/users"; private static String serviceSuffix = "/recovery-owners"; ...
package example.repo; import example.model.Customer1109; import java.util.List; import org.springframework.data.repository.CrudRepository; public interface Customer1109Repository extends CrudRepository<Customer1109, Long> { List<Customer1109> findByLastName(String lastName); }
package net.minecraft.network.play.server; import java.io.IOException; import net.minecraft.network.INetHandler; import net.minecraft.network.Packet; import net.minecraft.network.PacketBuffer; import net.minecraft.network.play.INetHandlerPlayClient; public class S3APacketTabComplete implements Packet { private St...
/** * This package contains classes implementing features, that are specific PostgreSQL database. * <p> * If the application is being ported to another database management system these classes should * be revised. However, using Java Persistence API for majority of database operations, the amount of these * modifi...
/* * Copyright (C) 2016 Francisco José Montiel Navarro. * * 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...