text stringlengths 7 1.01M |
|---|
/*
* Copyright (c) 2018 Cloudera, Inc. All Rights Reserved.
*
* Portions Copyright (c) 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.
* You may o... |
package org.apache.spark.broadcast;
/**
* A broadcast variable. Broadcast variables allow the programmer to keep a read-only variable
* cached on each machine rather than shipping a copy of it with tasks. They can be used, for
* example, to give every node a copy of a large input dataset in an efficient manner. Spar... |
package io.httpdoc.sample;
import io.httpdoc.sample.user.Gender;
import io.httpdoc.sample.user.User;
import org.springframework.stereotype.Controller;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod... |
package com.sdk.huaweisdk;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addi... |
/*
* 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 org.geysermc.floodgate;
import lombok.*;
import org.geysermc.floodgate.util.BedrockData;
import org.geysermc.floodgate.util.EncryptionUtil;
import javax.crypto.BadPaddingException;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException;
import java.security.InvalidKeyExcepti... |
package com.polidea.rxandroidble.exceptions;
public class BleException extends RuntimeException {
public BleException() {
}
public BleException(String str) {
super(str);
}
public BleException(Throwable th) {
super(th);
}
public BleException(String str, Throwable th) {
... |
package no.nav.veilarbvedtaksstotte.domain.arkiv;
import java.time.LocalDateTime;
public class ArkivertVedtak {
public String journalpostId;
public String dokumentInfoId;
public LocalDateTime dato;
}
|
package org.sang.bean;
import java.sql.Timestamp;
public class JobLevel {
private Long id;
private String name;
private String titleLevel;
private Timestamp createDate;
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.ge... |
/**
* @BelongsProject: apiface
* @BelongsPackage: io.github.dayeshing.apiface.core.resolver.impl
* @Author: Daye Shing
* @CreateTime: 2020-08-16 10:20
* @Description: <p> </p>
*/
package io.github.dayeshing.apiface.core.api.resolver;
import com.alibaba.fastjson.JSON;
import io.github.dayeshing.apiface.core.api.... |
/*-
* Copyright (C) 2002, 2017, Oracle and/or its affiliates. All rights reserved.
*
* This file was distributed by Oracle as part of a version of Oracle Berkeley
* DB Java Edition made available at:
*
* http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html
*
* Please ... |
/*
* Copyright 2012-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 requ... |
package org.apache.lucene.index;
/**
* 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, Versi... |
package jahspotify.metadata.search;
/**
* @author Johan Lindquist
*/
public class SearchInfo
{
int num_results;
int limit;
int offset;
String query;
String type;
int page;
public int getLimit()
{
return limit;
}
public void setLimit(final int limit)
{
thi... |
package cn.chenhuamou.im.server.response;
/**
* Created by AMing on 16/1/18.
* Company RongCloud
*/
public class GetUserBanksResponse {
/**
* BankName : string
* BankCodeName : string
* QQ : string
* Email : string
* ID : 0
* UserName : string
* BankCode : string
* Bank... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... |
package org.jmockit.internal.injection;
import org.jmockit.*;
import org.jmockit.internal.expectations.mocking.*;
import org.jmockit.internal.state.*;
import org.jmockit.internal.util.*;
import javax.annotation.*;
import java.lang.annotation.*;
public final class TestedParameters
{
@Nonnull private final TestMeth... |
package com.google.api.ads.dfp.jaxws.v201505;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
*
* An error having to do with {@link BaseRate}.
*
... |
package org.cloudfoundry.promregator.discovery;
import java.time.Clock;
import java.time.Instant;
import java.time.ZoneId;
import org.cloudfoundry.promregator.cfaccessor.CFAccessor;
import org.cloudfoundry.promregator.cfaccessor.CFAccessorMock;
import org.cloudfoundry.promregator.config.PromregatorConfiguration;
impo... |
/*
* (C) Copyright 2006-2011 Nuxeo SA (http://nuxeo.com/) and others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... |
package org.GeoRaptor.io.Export;
import java.io.IOException;
import java.math.BigDecimal;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.charset.CharacterCodingException;
import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;
import java.sql.Clob;
import java.sql.NClob;
impo... |
/*
* Copyright 2018-2019 adorsys GmbH & Co KG
*
* 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 ... |
/*
* 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 org.sakaiproject.nakamura.ldap;
import com.novell.ldap.LDAPConnection;
import com.novell.ldap.LDAPJSSESecureSocketFactory;
import com.novell.ldap.LDAPJSSEStartTLSFactory;
import com.novell.ldap.LDAPSocketFactory;
import org.sakaiproject.nakamura.api.ldap.LdapConnectionManagerConfig;
import org.sakaiproject.na... |
/*
* Copyright 2012 DTO Labs, Inc. (http://dtolabs.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... |
/*
* 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 ... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * 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 license... |
package org.jp.illg.dstar.service.web;
import java.util.Deque;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
im... |
package com.example.firsttest.controller;
import com.example.firsttest.model.SalaryRequest;
import com.example.firsttest.model.SalaryResponse;
import com.example.firsttest.service.FirstService;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bin... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
package com.poojaexample.millets;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} |
package org.epnoi.model.domain.relations;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.epnoi.model.domain.resources.Resource;
/**
* Created by cbadenes on 17/02/16.
*/
@ToString(callSuper = true)
@EqualsAndHashCode(of={"uri"}, callSuper = true)
public class DealsWithFromPart extends DealsWith... |
/*
* Copyright 2013 Samppa Saarela
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
/*
* Copyright (C) 2014 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 com.ruoyi.common.core.domain.model;
/**
* email entity for request body
*
* @author zuoyangding
*/
public class EmailBody {
private String userEmail;
private Long shopId;
private Long couponId;
private String couponPrice;
private String couponCode;
private String couponDesc;
pr... |
// Targeted by JavaCPP version 1.5.5-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.tensorrt.nvinfer;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import org.bytedeco.cuda.cudart.*;
import static org.bytedeco.c... |
/*******************************************************************************
* Copyright (c) 2013, Daniel Murphy
* 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 ... |
package me.jessyan.mvparms.demo.mvp.contract;
import com.jess.arms.mvp.BaseView;
import com.jess.arms.mvp.IModel;
/**
* 通过Template生成对应页面的MVP和Dagger代码,请注意输入框中输入的名字必须相同
* 由于每个项目包结构都不一定相同,所以每生成一个文件需要自己导入import包名,可以在设置中设置自动导入包名
* 请在对应包下按以下顺序生成对应代码,Contract->Model->Presenter->Activity->Module->Component
* 因为生成Activity... |
package fossilsarcheology.server.gen.feature.piece;
import fossilsarcheology.server.block.FABlockRegistry;
import net.minecraft.init.Blocks;
import net.minecraft.world.World;
import java.util.Random;
public class AnuCastlePiece08 {
public static boolean generate_r045(World world, Random rand, int x, int y, int z... |
/*
* Create by BobEve on 17-12-14 上午11:43
* Copyright (c) 2017. All rights reserved.
*
* Last modified 17-12-14 上午11:43
*/
package bob.eve.walle.mvp.cache;
import bob.eve.walle.mvp.entity.Pm25InAQIDetailsEntity;
import io.reactivex.Observable;
import io.rx_cache2.DynamicKey;
import io.rx_cache2.EvictProvider;
im... |
package com.example.demo.models;
import org.springframework.data.repository.CrudRepository;
import javax.transaction.Transactional;
@Transactional
public interface UserDao extends CrudRepository<User, Long> {
public User findByEmail(String email);
}
|
package net.lr.tutorial.karaf.vaadin;
import net.lr.tasklist.model.TaskService;
import org.example.utils.vaadinbridge.ApplicationFactory;
import com.vaadin.Application;
import com.vaadin.Application.SystemMessages;
public class ExampleAppFactory implements ApplicationFactory {
private final TaskService tas... |
/*
* Copyright 2013, Unitils.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 by applicable law or... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package mekanism.common.content.transporter;
import io.netty.buffer.ByteBuf;
import java.util.ArrayList;
import mekanism.common.content.transporter.Finder.MaterialFinder;
import mekanism.common.util.MekanismUtils;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.it... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
/*
* Copyright (c) 2003 The Visigoth Software Society. 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,... |
package com.a6raywa1cher.jsonrestsecurity.jwt.service.impl;
import com.a6raywa1cher.jsonrestsecurity.dao.model.IUser;
import com.a6raywa1cher.jsonrestsecurity.dao.repo.IUserRepository;
import com.a6raywa1cher.jsonrestsecurity.jwt.service.BlockedRefreshTokensService;
import com.google.common.cache.LoadingCache;
import... |
/*****************************************************************************************
*
* Copyright 2014 Gregory Brown. 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 Li... |
package com.google.android.apps.nexuslauncher;
import android.view.View;
import com.android.launcher3.AbstractFloatingView;
import com.android.launcher3.ItemInfo;
import com.android.launcher3.Launcher;
import com.android.launcher3.R;
import com.android.launcher3.graphics.DrawableFactory;
import com.android.launcher3.... |
/**
* Copyright 2009-2017 PrimeTek.
*
* 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 cn.saberking.jvav.apm.common.exception.user;
/**
* 验证码错误异常类
*
* @author apm
*/
public class CaptchaException extends UserException {
private static final long serialVersionUID = 1L;
public CaptchaException() {
super("user.jcaptcha.error", null);
}
}
|
/*
* Copyright 2012-2017 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.lzhlyle.leetcode.self.no493;
import java.util.Arrays;
public class ReversePairs {
private int count = 0;
public int reversePairs(int[] nums) {
if (nums == null || nums.length < 1) return 0;
int length = nums.length;
sort(nums, Arrays.copyOf(nums, length), 0, leng... |
public class Produto {
private String nome;
private int quantidade;
private double valor;
private String fabricante;
//construtor
public Produto(String nome, int quantidade, double valor){
this.nome= nome;
this.quantidade= quantidade;
this.valor= valor;
this... |
/*
* Copyright (C) 2017, Ulrich Wolffgang <ulrich.wolffgang@proleap.io>
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
package io.proleap.cobol.asg.metamodel.procedure.receive;
import io.proleap.cobol.asg.metamo... |
/*
* Copyright 2009 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... |
package com.gm.lyl.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import com.gm.lyl.entity.Category;
/**
* @author Evan
* @date 2019/4
*/
public interface CategoryDAO extends JpaRepository<Category, Integer> {
}
|
package org.codehaus.xfire.service.binding;
import org.codehaus.xfire.MessageContext;
/**
* Runnables sent to Executors will extend this class. This class gives
* access to the MessageContext to provide information in scheduling
* decisions.
* @author Dan Diephouse
*/
public abstract class ServiceRunn... |
package org.spiget.data.webhook.event.author;
import com.google.gson.JsonObject;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.spiget.data.author.Author;
import org.spiget.data.webhook.event.WebhookEvent;
@Data
@EqualsAndHashCode(callSuper = true)
public class NewAuthorEvent extends WebhookEvent {
... |
/*
* 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: ... |
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* 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... |
/*
* 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... |
/*
* 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 sketch.compiler.passes.lowering;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import sketch.compiler.ast.core.FENode;
import sketch.compiler.ast.core.FEReplacer;
import sketch.compiler.ast.core.Function;
import sketch.compiler.... |
package org.flowgrid.model.api;
import org.flowgrid.model.Cell;
import org.flowgrid.model.Command;
import org.flowgrid.model.Shape;
import org.flowgrid.model.CustomOperation;
import org.flowgrid.model.Environment;
import org.flowgrid.model.ActionFactory.Action;
import org.flowgrid.model.Type;
import org.flowgrid.model... |
package com.silabs.thunderboard.demos.ui;
import com.silabs.thunderboard.ble.BleManager;
import com.silabs.thunderboard.ble.ThunderBoardSensorIo;
import com.silabs.thunderboard.ble.model.ThunderBoardDevice;
import com.silabs.thunderboard.common.app.ThunderBoardType;
import com.silabs.thunderboard.common.injection.scop... |
/*
* 文件名:InventoryDAO.java
* 版权:Copyright 2012-2016 YLINK Tech. Co. Ltd. All Rights Reserved.
* 描述: InventoryDAO.java
* 修改人:liyuelong 1610139
* 修改时间:2017年7月12日
* 修改内容:新增
*/
package com.manager.dao;
/**
* TODO添加类描述
* @author liyuelong 1610139
* @version CCAS 2017年7月12日
* @since CCAS
... |
package l.c.u.s;
import l.c.u.dw;
import net.minecraft.network.Packet;
import net.minecraftforge.fml.common.eventhandler.Cancelable;
@Cancelable
public class a extends dw {
public Packet packet;
public static final int fcp;
public static final boolean fcz;
public a(Packet var1) {
this.packet = var1... |
package org.yaoqiang.bpmn.editor.dialog.jsonpanels;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.ArrayList;
import java.util.Enumeratio... |
/*
* 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 ... |
/*
* 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... |
/*
* Copyright (C) 2015 Giuseppe Cardone <ippatsuman@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... |
package com.salesianostriana.dam.controller;
import java.util.Optional;
import javax.servlet.http.HttpServletRequest;
import com.salesianostriana.dam.dto.CreateProductoDTO;
import com.salesianostriana.dam.dto.EditProductoDTO;
import com.salesianostriana.dam.dto.ProductoDTO;
import com.salesianostriana.dam.dto.conver... |
package edu.hipsec.xrdtiffoperations.file.martiff.attributes;
import edu.hipsec.xrdtiffoperations.utilities.bytes.ByteSerializer;
import edu.hipsec.xrdtiffoperations.bytewrappers.SignedIntWrapper;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
public class ResolutionAxis extends ByteSerializer {
///////... |
package com.spike.giantdataanalysis.rdfstore.sparql.ast.ir.update;
import com.spike.giantdataanalysis.rdfstore.sparql.ast.ir.pattern.quad.QuadPattern;
// [43] InsertClause ::= 'INSERT' QuadPattern
public class InsertClause {
public QuadPattern quadPattern;
} |
package com.war3.nova.core.calculator.approval.range;
import org.springframework.beans.factory.annotation.Autowired;
import com.war3.nova.Constants;
import com.war3.nova.annotation.NovaMapper;
import com.war3.nova.core.enumeration.AprvRangeType;
/**
* 根据角色计算
*
* @author Cytus_
* @since 2018年12月27日 下... |
/*
* Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved.
*/
package com.maxifier.mxcache.caches;
/**
* THIS IS GENERATED CLASS! DON'T EDIT IT MANUALLY!
*
* GENERATED FROM P2PCalculatable.template
*
* @author Andrey Yakoushin (andrey.yakoushin@maxifier.com)
* @author Alexander Kochurov (alexan... |
// Copyright 2014 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 (C) 2020 Baidu, Inc. All Rights Reserved.
*/
package com.baidu.brcc.domain.vo;
import lombok.Data;
@Data
public class ProjectReq {
// 工程ID
private Long id;
// 产品Id
private Long productId;
// 工程名称
private String name;
// API密码
private String apiPassword;
// 邮件接... |
package si.matjazcerkvenik.test.javase.threads.sync1;
public class Sender extends Thread {
private boolean isRunning = false;
@Override
public void run() {
try {
while (!(isRunning = Receiver.exch.exchange(isRunning))) {
// wait
}
} catch (InterruptedException e1) {
}
whi... |
/*
* Copyright (C) 2006 Erik Swenson - erik@oreports.com
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
*... |
// 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.codeInsight.problems;
import com.intellij.codeInsight.daemon.impl.*;
import com.intellij.codeInsight.daemon.impl.analysis.HighlightInfoHolder;
import com.in... |
/*
* ******************************************************************************
* Copyright 2014-2019 Spectra Logic Corporation. 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 i... |
/*
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.swing.plaf.basic;
import sun.swing.SwingUtilities2;
import sun.swing.DefaultLookup;
impo... |
/*
* 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 WolfUPS.UserInterface;
import java.sql.*;
import WolfUPS.connection.InitializeConnection;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class App
{
public static void main( String[] args )
{
Connection conn = null;
Statement stmt ... |
/*
* Copyright 2015 Hao Cheng Lee
*
* 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 ... |
package jp.co.canon.rss.logmanager.dto.address;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotNull;
import java.util.List;
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class ReqDeleteAddressDto {
@NotNull... |
package com.stech.meetat.dao;
import java.util.List;
import com.stech.meetat.pojo.EventDetails;
public interface EventDao {
public String addEvent(EventDetails eventDetails);
public List<EventDetails> getEvents(int locationId);
public EventDetails getEvent(int eventId);
public String updateEvent(EventDetails eve... |
/*
* 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 (c) 2011-2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import eu.leads.processor.execute.TableInfo;
import eu.leads.processor.plan.ExecutionPlan;
import eu.leads.processor.plan.SelectExtractor;
import eu.leads.proces... |
package org.v2x.map.lane;
import org.bn.annotations.ASN1BitString;
import org.bn.annotations.ASN1BoxedType;
import org.bn.annotations.constraints.ASN1SizeConstraint;
import org.bn.types.BitString;
/**
* @author zhangyong
*/
@ASN1BoxedType(name = "LaneAttributes_Striping")
public class LaneAttributes_Striping {
... |
/*
* eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency,
* accountability and the service delivery of the government organizations.
*
* Copyright (C) 2017 eGovernments Foundation
*
* The updated version of eGov suite of products as by eGovernments Foundation
* ... |
package com.vladmihalcea.book.hpjp.hibernate.query.plan;
import com.vladmihalcea.book.hpjp.util.AbstractTest;
import com.vladmihalcea.book.hpjp.util.transaction.*;
import org.hibernate.SessionFactory;
import org.hibernate.stat.Statistics;
import org.junit.Test;
import javax.persistence.Entity;
import javax.persistenc... |
/*
* 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.langel.lavcache.util;
import com.langel.lavcache.piece.*;
import com.langel.lavcache.sector.Sector;
import java.lang.reflect.Method;
/**
* @author L-Angel,Rick(lonelyangel.jcw@gmail.com)
* @date 2018/9/26
**/
public class PieceUtils {
public static boolean isPiece(Method m) {
return m.get... |
/*
* Copyright (c) 2020 Oracle 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 applic... |
package com.temporary;
public class CglibTest {
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.