text stringlengths 7 1.01M |
|---|
package com.zk.distributed_lock;
public class Pay {
public void pay() {
System.out.println(Thread.currentThread().getName() + "支付成功");
}
}
|
package org.z.common.system.vo;
import lombok.Data;
/**
* 字典查询参数实体
* @author z
*/
@Data
public class DictQuery {
/**
* 表名
*/
private String table;
/**
* 存储列
*/
private String code;
/**
* 显示列
*/
private String text;
/**
* 关键字查询
*/
private Str... |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/**
* TerminateInstance.java
*
* This file was auto-generated from WSDL by the Apache Axis2 version: SNAPSHOT Built on : Nov 10,
* 2010 (06:34:21 UTC)
*/
package org.wso2.bps.management.schema;
/**
* TerminateInstance bean class
*/
public class TerminateInstance implements org.apache.axis2.databinding.ADBB... |
// --------------------------------------------------------------------------------
// Copyright 2002-2022 Echo Three, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:/... |
package com.wotapi.extension.repository;
import com.wotapi.extension.model.ClanWarsEvent;
import org.springframework.data.jpa.repository.JpaRepository;
public interface ClanWarsEventRepository extends JpaRepository<ClanWarsEvent, String> {
ClanWarsEvent findByIsActive(Boolean isActive);
}
|
package com.mycompany.domain;
import com.mycompany.structs.Stack;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Tests for unit testing IDDFS-class
*/
public class IDDFSTest {
/**
* Test that when search is given final state it immediately returns true
*/
@Test
public voi... |
/*
* Copyright 2019-2020 Qing
*
* 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.gempukku.swccgo.cards.set8.dark;
import com.gempukku.swccgo.cards.AbstractLostInterrupt;
import com.gempukku.swccgo.cards.GameConditions;
import com.gempukku.swccgo.common.*;
import com.gempukku.swccgo.filters.Filter;
import com.gempukku.swccgo.filters.Filters;
import com.gempukku.swccgo.game.PhysicalCard;... |
/*
* Copyright 2006 Jeremias Maerki in part, and ZXing Authors in part
*
* 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 requi... |
/*
* GridGain Community Edition Licensing
* Copyright 2019 GridGain Systems, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause
* Restriction; you may not use this file except in compliance with the License. You may obtain a
* c... |
/*
* All GTAS code is Copyright 2016, The Department of Homeland Security (DHS), U.S. Customs and Border Protection (CBP).
*
* Please see LICENSE.txt for details.
*/
package gov.gtas.parsers.pnrgov.segment;
import java.util.Date;
import java.util.List;
import gov.gtas.parsers.edifact.Composite;
import gov.gtas.p... |
package org.md2k.studywithema;
import android.app.Application;
import android.content.Context;
import com.beardedhen.androidbootstrap.TypefaceProvider;
import org.md2k.mcerebrum.core.access.MCerebrum;
/*
* Copyright (c) 2016, The University of Memphis, MD2K Center
* - Syed Monowar Hossain <monowar.hossain@gmail.c... |
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
package uk.gov.pay.connector.paymentprocessor.service;
import com.codahale.metrics.MetricRegistry;
import org.mockito.Mock;
import uk.gov.pay.connector.cardtype.dao.CardTypeDao;
import uk.gov.pay.connector.charge.dao.ChargeDao;
import uk.gov.pay.connector.charge.model.CardDetailsEntity;
import uk.gov.pay.connector.cha... |
package com.example.relmes.datageneration.documents;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.time.Instant;
@Document("weather")
public class MongoWeather {
@Id
private String measurementId;
private float temp; // The air ... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Zimbra, Inc.
*
* The contents of this file are subject to the Zimbra Public License
* Version 1.3 ("License"); you may not use this file except in
* compliance with the License.... |
/*
* 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... |
/**
* 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... |
package com.zendesk.maxwell.producer.partitioners;
/**
* Created by kaufmannkr on 1/21/16.
*/
public interface HashFunction {
int hashCode(String s);
}
|
/*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... |
// 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... |
package org.nico.ct.vo.domain;
import java.util.Map;
import org.nico.db.page.DBPage;
public class BaseVo {
protected Map<String, Object> query;
protected DBPage page;
public Map<String, Object> getQuery() {
return query;
}
public void setQuery(Map<String, Object> query) {
this.query = query;
}
publi... |
/**
*
* Copyright 2003-2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
package io.github.yycYYYY.gtmd.handler;
import io.github.yycYYYY.gtmd.interceptor.InterceptorInitializer;
import io.github.yycYYYY.gtmd.model.ProxyInfo;
import io.github.yycYYYY.gtmd.model.RequestInfo;
import io.github.yycYYYY.gtmd.utils.RequestUtil;
import io.netty.bootstrap.Bootstrap;
import io.netty.buffer.ByteBuf... |
/*
* Copyright 2014 Midokura SARL
*
* 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 2000-2009 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... |
/*
* Copyright 2018 JDCLOUD.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 applicable law or agreed to in... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.cdn.implementation;
import com.google.common.base.Function;
import com.google.common.collect.Lists;
import com.... |
package com.me.slone.wan.network;
import com.me.slone.wan.network.interceptor.LogInterceptor;
import com.me.slone.wan.network.request.Request;
import java.util.logging.Level;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava2.RxJava... |
package com.github.unclecatmyself.common.bean;
import com.github.unclecatmyself.bootstrap.handler.DefaultHandler;
/**
* 初始化Netty配置
* Create by UncleCatMySelf in 2018/12/06
*/
public abstract class InitNetty {
/** 通信地址 */
private int webport = 8090;
private int bossThread = 1;
private int workerT... |
package org.gbif.checklistbank.service.mybatis.mapper;
import org.gbif.api.model.checklistbank.NameUsage;
import org.gbif.api.model.checklistbank.ParsedName;
import org.gbif.api.vocabulary.NameType;
import org.gbif.api.vocabulary.NameUsageIssue;
import org.gbif.api.vocabulary.NomenclaturalStatus;
import org.gbif.api.v... |
package commandHandling.commands.publicCommands;
import commandHandling.CommandContext;
import commandHandling.CommandInterface;
import net.dv8tion.jda.api.EmbedBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import services.logging.EmbedHelper;
import java.io.File;
import java.util.List;
import jav... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
/*
* Copyright 2021 EPAM Systems.
*
* 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... |
/*
* Copyright 2011-2016 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... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.mafia.server.model.acts;
import com.mafia.server.bus.events.CycleActivity;
import com.mafia.server.bus.notify.NotifyGame;
... |
package org.ovirt.engine.core.dao;
import static org.junit.Assert.*;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import org.ovirt.engine.core.common.businessentities.tags;
import org.ovirt.engine.core.common.businessentities.tags_user_group_map;
import org.ovirt.engine.core.common.busines... |
/*
* 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 com.rozzer.checks.impl;
import com.rozzer.checks.CheckOrder;
import com.rozzer.checks.SimpleCheck;
import com.rozzer.checks.result.CheckResult;
import com.rozzer.checks.result.SimpleCheckResult;
import com.rozzer.model.ProjectStructure;
import com.rozzer.session.SessionData;
import org.eclipse.egit.github.core... |
package io.basc.framework.netflix.eureka;
import io.basc.framework.logger.Logger;
import io.basc.framework.logger.LoggerFactory;
import java.util.Map;
import com.netflix.appinfo.EurekaInstanceConfig;
import com.netflix.appinfo.InstanceInfo;
import com.netflix.appinfo.LeaseInfo;
/**
* See com.netflix.appinfo.provid... |
package io.github.oliviercailloux.teach_spreadsheets.base;
public enum SubCourseKind {
CM, CMTD, CMTP, TD, TP
}
|
package JUnit;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import java.io.IOException;
import java.net.UnknownHostException;
import org.junit.Test;
import protocol.ProtoHead;
import protocol.Msg.GetPersonalInfoMsg;
import protocol.Msg.GetPersonalInfoMsg.GetPersonalInfoRsp;
impo... |
/*
* Copyright 2000-2008 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... |
/* (C) 2021 DragonSkulle */
package org.dragonskulle.ui;
import java.nio.ByteBuffer;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.dragonskulle.components.IOnAwake;
import org.dragonskulle.input.Actions;
import org.dragonskulle.input.Cursor;
import ... |
/*
* Copyright (c) 2016, 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 Softwa... |
/*
* Copyright (c) 2002-2018 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This product is licensed to you under the Apache License, Version 2.0 (the "License").
* You may not use this product except in compliance with the License.
*
* This product may include a number ... |
// ============================================================================
//
// Copyright (C) 2006-2018 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... |
/*
* Licensed to Crate under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. Crate licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compl... |
package com.example.jt.urlshortener.view;
import android.content.Context;
import android.database.Cursor;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CursorAdapter;
import android.widget.TextView;
import com.example.jt.urlshortener.R;
/**
* Crea... |
/*
* Copyright 2014 - 2021 Blazebit.
*
* 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 include.trap.api.prague;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface PragueRepository extends ElasticsearchRepository<Prague, Long> {
}
|
/*
* Copyright (c) 2014 AsyncHttpClient Project. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at
* http://www.ap... |
/*****************************************************************************
* Source code information
* -----------------------
* Original author Ian Dickinson, HP Labs Bristol
* Author email ian_dickinson@users.sourceforge.net
* Package Jena 2
* Web http://sourceforge.... |
/*
* 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 claudiosoft.bellerofonte;
import java.util.Vector;
import java.io.Serializable;
/////////////////////////// BELOW CAN CHANGE FROM TEST TO TEST ----
import java.io.FileInputStream;
import java.io.File;
import java.io.FileNotFoundException;
// Libraries used
import com.meterware.httpunit.*;
import com.meterware... |
package parser;
import java.io.IOException;
import java.net.URI;
import javax.tools.SimpleJavaFileObject;
/**
* Class used to allow parsing string contents of java files.
*
* @author themis
*/
public class DynamicJavaSourceCodeObject extends SimpleJavaFileObject {
private String sourceCode;
pr... |
/*
Copyright 2007-2010 WebDriver committers
Copyright 2007-2010 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 require... |
package io.katharsis.vertx.examples;
import io.katharsis.vertx.KatharsisHandler;
import io.katharsis.vertx.KatharsisHandlerFactory;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
import io.vertx.core.Handler;
import io.vertx.core.Vertx;
import io.vertx.core.http.H... |
package com.github.iweinzierl.android.utils.collection;
import java.util.ArrayList;
import java.util.Collection;
public class NoDuplicatesList<E> extends ArrayList<E> {
@Override
public boolean add(final E e) {
return !contains(e) && super.add(e);
}
@Override
public void add(final int in... |
package org.opensrp.etl.service;
import javax.transaction.Transactional;
import org.opensrp.etl.entity.MotherEntity;
import org.opensrp.etl.interfaces.RegisterService;
import org.opensrp.etl.repository.MotherRepository;
import org.springframework.beans.factory.annotation.Autowired;
public class MotherService impleme... |
/////////////////////////////////////////////////////////////////////////////
// This file is part of the "Java-DAP" project, a Java implementation
// of the OPeNDAP Data Access Protocol.
//
// Copyright (c) 2010, OPeNDAP, Inc.
// Copyright (c) 2002,2003 OPeNDAP, Inc.
//
// Author: James Gallagher <jgallagher@opendap.o... |
/*
* Copyright (c) 2002-2019 Gargoyle Software 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 ... |
package org.jfrog.build.extractor.clientConfiguration.util;
import org.apache.commons.lang.StringUtils;
import org.jfrog.build.api.Issue;
import java.util.HashSet;
import java.util.Set;
/**
* Utility class for issues tracker operations
*
* @author Shay Yaakov
*/
public class IssuesTrackerUtils {
public stat... |
/*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... |
/*
* Copyright 2015-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 "lice... |
package com.diguage.algorithm.leetcode;
import java.util.Objects;
/**
* = 240. Search a 2D Matrix II
*
* https://leetcode.com/problems/search-a-2d-matrix-ii/[(1) Search a 2D Matrix II - LeetCode]
*
* Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properti... |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package nemaDusko;
public class TestMagicniSesir {
public static void main(String[] args) {
// ako se desi da prilikom pravljenja bilo kog sesira u njemu ne bude Duska,
// ispisujemo poruku o tome i program se zavrsava
try {
// pravimo tri sesira
MagicniSesir plaviSesir = new MagicniSesir("pla... |
// Copyright 2006, 2007, 2008 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... |
package com.langmy.terminal.modules.device.utils;
import java.io.IOException;
import java.net.UnknownHostException;
import java.util.List;
import com.langmy.terminal.common.entity.LedScreen;
import com.langmy.terminal.common.model.BaseModel;
import com.langmy.terminal.common.utils.SpringContextHolder;
import... |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... |
package com.alipay.api.domain;
import java.util.Date;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 群信息
*
* @author auto create
* @since 1.0, 2017-08-15 14:39:54
*/
public class GroupInfo extends AlipayObject {
private static final long serialVersion... |
/*===========================================================================
* Licensed Materials - Property of IBM
* "Restricted Materials of IBM"
*
* IBM SDK, Java(tm) Technology Edition, v8
* (C) Copyright IBM Corp. 1996, 2013. All Rights Reserved
*
* US Government Users Restricted Rights - Use, duplication... |
package assignment;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
public class Testcasefordiv {
calculatorPgm pgm = new calculatorPgm();
@Test
void divtest() {
double result=pgm.mul(200,'/',100);
assertEquals(2.0,result);
}
@Test
void divtest1() {
double result=pgm.... |
package com.spike.bot.core;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.DiffUtil;
import java.util.List;
import no.nordicsemi.android.support.v18.scanner.ScanResult;
public class BeaconDiffCallBack extends DiffUtil.Callback {
private List<ScanResult> mOld... |
/*
* Copyright 2002-2009 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 requi... |
/* 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) 2007 Peter Veentjer
*
* This program is made available under the terms of the MIT License.
*/
package org.codehaus.prometheus.references;
import static org.codehaus.prometheus.concurrenttesting.ConcurrentTestUtil.giveOthersAChance;
import static org.codehaus.prometheus.concurrenttesting.Concurre... |
/*******************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this... |
package kr.hs.entrydsm.enitity.repository;
import kr.hs.entrydsm.enitity.Post;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface RecommendRepository extends CrudRepository<Post, Long> {
List<Post> find... |
package com.reynosh.storelisting.adapters;
import android.content.Context;
import android.net.Uri;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.... |
package com.bossyun.log;
import com.bossyun.log.properties.AuditLogProperties;
import com.bossyun.log.properties.LogDbProperties;
import com.bossyun.log.properties.TraceProperties;
import com.zaxxer.hikari.HikariConfig;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframew... |
package com.beautiful.service.impl;
import com.beautiful.domain.User;
import com.beautiful.service.UserService;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
import javax.annotation.PostConstruct;
import java.util.ArrayList;
import java.util.List;
import java.util.str... |
/*
* Copyright (C) 2017-2018 Dremio Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2021 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/licen... |
package com.mscloudmesh.common.utils;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.http.MediaType;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.Writer;
import java.util.HashMap;
import java.util.Map;
/**
* @author kevin
* @date 2019-11-... |
/**
* Copyright (c) 2013-2019 Nikita Koksharov
*
* 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 com.cqx.stncqxhat.plugin.impl.chat;
import com.cqx.Meta;
import com.cqx.stncqxhat.constant.ServerConst;
import com.cqx.stncqxhat.model.Message;
import com.cqx.stncqxhat.model.User;
import com.cqx.stncqxhat.plugin.AbstractPlugin;
import com.cqx.stncqxhat.plugin.Plugin;
import com.cqx.stncqxhat.service.ChatServi... |
package com.anzanama.modularity.common.part;
import net.minecraft.item.ItemStack;
public interface IPart {
void updatePart(TileEntityBase tile);
boolean isValidPlacement(EnumPlacement placement);
ItemStack getDropStack();
EnumPlacement getPlacement();
void writeToBytes(byte[] bytes, int startIndex... |
/*
* Copyright 2015 The FireNio 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 applicable law or a... |
package com.yuepong.workflow.utils.converter;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import org.activiti.bpmn.model.Process;
i... |
package pl.edu.agh.dsm.front;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.con... |
// Copyright 2000-2020 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.coverage;
import com.intellij.DynamicBundle;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.... |
/*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... |
package com.alipay.api.domain;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 打标结果
*
* @author auto create
* @since 1.0, 2021-12-22 17:28:08
*/
public class NewsConcerned extends AlipayObject ... |
/*
* 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 ... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package com.facebook.common;
public final class R {
private R() {}
public static final class anim {
private anim() {}
... |
/*
* Copyright 2014-2022 Web Firm Framework
*
* 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 o... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.