text stringlengths 7 1.01M |
|---|
/*
Copyright (C) 2013-2018 Expedia 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 in wri... |
package org.fmgroup.mediator.plugins.generators.arduino;
import org.fmgroup.mediator.common.UtilCode;
import org.fmgroup.mediator.plugins.scheduler.Scheduler;
import org.fmgroup.mediator.language.Program;
import org.fmgroup.mediator.language.RawElement;
import org.fmgroup.mediator.language.ValidationException;
import ... |
/*
* Copyright 2008-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
*
* Unless required by appl... |
package io.antmedia.test.db;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.io.File;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import io.antmedia.AntMediaApplicationAdapter;
import io.antmed... |
/*
* The MIT License
*
* Copyright 2015 Adam Kowalewski.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy,... |
package graph;
import shortestPath.GraphNeighbors;
import java.util.*;
/**
* <b>Graph</b> is a collection of nodes and directed edges, where each edge connects two nodes. A directed edge
* will point from one node to another node. Each edge and node can store data within the objects and represents
* relationships ... |
package org.bonge.bukkit.r1_16.block.data.dedicated;
import org.bonge.bukkit.r1_16.block.data.IBongeBlockData;
import org.bukkit.block.data.type.TNT;
import org.spongepowered.api.data.Keys;
public interface BongeTNT extends IBongeBlockData, TNT {
@Override
default boolean isUnstable() {
return this.g... |
package org.plugin.cloud.dao;
import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
... |
/*
* 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 com.staxrt.tutorial;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* The type Application.
*
* @author Givantha Kalansuriya
*/
@SpringBootApplication
public class Application {
/**
* The entry point of application.
*
... |
/**
* 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
* distribu... |
package org.bn.compiler.parser.model;
public class AsnConstraint {
public ElementSetSpec addElemSetSpec;
public AsnDefinedValue definedValue;
public ElementSetSpec elemSetSpec;
public boolean isAdditionalElementSpec;
public boolean isColonValue;
public boolean ... |
/*
* Copyright (c) 2016-2021 Deephaven Data Labs and Patent Pending
*/
package io.deephaven.db.plot.datasets.category;
import io.deephaven.base.verify.RequirementFailure;
import io.deephaven.db.plot.AxesImpl;
import io.deephaven.db.plot.TableSnapshotSeries;
import io.deephaven.db.plot.util.ArgumentValidations;
impo... |
//
// このファイルは、JavaTM Architecture for XML Binding(JAXB) Reference Implementation、v2.2.8-b130911.1802によって生成されました
// <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>を参照してください
// ソース・スキーマの再コンパイル時にこのファイルの変更は失われます。
// 生成日: 2015.08.14 時間 10:22:22 PM JST
//
package com.eitax.recall.amazon.xsd;
im... |
/*
* Copyright (C) 2007 Robey Pointer <robey@lag.net>
*
* This file is part of jaramiko.
*
* 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 lim... |
package io.github.dunwu.springboot;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* spring-boot kafka 示例
* <p>
* 此 Controller 作为生产者,接受REST接口传入的消息,并写入到指定 Kafka Topic
* ... |
package com.codepath.apps.restclienttemplate.models;
import androidx.room.Embedded;
import java.util.ArrayList;
import java.util.List;
public class TweetWithUser {
// @Embedded notation flattens the properties of the User object into the object, preserving encapsulation.
@Embedded
User user;
// Pref... |
package com.koch.ambeth.relations.many.lazy.fk.reverse.none;
/*-
* #%L
* jambeth-test
* %%
* Copyright (C) 2017 Koch Softwaredevelopment
* %%
* 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
... |
package com.innopro.android.sample.presentation.view.activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;
import com.innopro.android.sample.presentation.R;
import com.innopro.android.sample.presentation.R... |
package com.hzn.easypulllayoutjava;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.ArrayAdapter;
import android.widget.ListView;
public class MainActivity extends AppCompatActivity {
private ListView lv;
private EasyPullLayoutJ easyPullLayout;
private Top... |
package org.firstinspires.ftc.team7316.util.subsystems;
import com.qualcomm.robotcore.hardware.DcMotor;
import org.firstinspires.ftc.team7316.util.Constants;
import org.firstinspires.ftc.team7316.util.Util;
import org.firstinspires.ftc.team7316.util.commands.Command;
import org.firstinspires.ftc.team7316.util.Hardwar... |
/**
* Contains the Module core classes.
*/
package org.springframework.xd.module.core;
|
package com.mojang.realmsclient.dto;
import com.google.common.collect.Lists;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import java.util.Iterator;
import java.util.List;
import net.minecraftforge.api.distmarker.Dist;
impor... |
/*
* Copyright (c) 2015, 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.... |
/**
* Autogenerated by Frugal Compiler (3.15.0)
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*
* @generated
*/
package variety.java;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
import org.apache.thr... |
package org.onvif.ver20.ptz.wsdl;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.... |
// Template Source: BaseEntityCollectionRequestBuilder.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------... |
/*
*
* * Copyright 2015 OrientDB LTD (info(-at-)orientdb.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... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.9
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... |
/*
* 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... |
/*
* Copyright 2010-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 "l... |
/**
* Copyright 2016 OpenSemantics.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 required by applicable law or a... |
package de.fxnn.geld.transaction.view;
import com.gluonhq.charm.glisten.control.CharmListCell;
import com.gluonhq.charm.glisten.control.CharmListView;
import de.fxnn.geld.transaction.model.TransactionModel;
import java.math.BigDecimal;
import java.time.LocalDate;
import javafx.geometry.Pos;
import javafx.scene.control... |
/**
* 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... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.companyname.commandsenderhc05;
public final class R {
public static final class anim {
public static final int abc_fade_i... |
package org.dataalgorithms.chapB13.client;
import org.apache.spark.SparkConf;
import org.apache.spark.deploy.yarn.Client;
import org.apache.spark.deploy.yarn.ClientArguments;
//
import org.apache.hadoop.conf.Configuration;
//
import org.apache.log4j.Logger;
/**
* This class submits a SparkPi to a YARN from a Java cl... |
package ch.protonmail.vladyslavbond.quizzing.domain;
import ch.protonmail.vladyslavbond.quizzing.datasource.MapperException;
public class MemberMapperException
extends MapperException
{
/**
*
*/
private static final long serialVersionUID = -2116954070837616386L;
public MemberMapperException(... |
package at.joestr.zonemenu.command.subcommand;
import com.sk89q.worldedit.bukkit.BukkitAdapter;
import com.sk89q.worldguard.WorldGuard;
import com.sk89q.worldguard.protection.managers.RegionManager;
import com.sk89q.worldguard.protection.managers.RemovalStrategy;
import java.util.List;
import org.bukkit.entity.Player... |
/*
* IDK Game Server by Steve Winfield
* https://github.com/WinfieldSteve
*/
package org.stevewinfield.suja.idk.communication.room.readers;
import org.stevewinfield.suja.idk.Bootloader;
import org.stevewinfield.suja.idk.communication.IMessageReader;
import org.stevewinfield.suja.idk.communication.MessageReader;
imp... |
package me.lazy_assedninja.what_to_eat.vo;
import androidx.room.Embedded;
import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;
@SuppressWarnings("unused")
@Entity
public class User {
@PrimaryKey
private int id;
private String email;
private String password;
p... |
package part3;
import part3.AlunoDAO;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
public class QueriesExecution {
public static void main(String[] args) {
AlunoDAO alunoDAO = new AlunoDAO();
// =========================== 1 - Consulta =================================... |
package com.rbkmoney.analytics.repository;
import com.rbkmoney.analytics.config.ClickHouseConfig;
import com.rbkmoney.analytics.config.properties.ClickHouseDbProperties;
import com.rbkmoney.clickhouse.initializer.ChInitializer;
import lombok.extern.slf4j.Slf4j;
import org.junit.Before;
import org.junit.ClassRule;
impo... |
/*
* Copyright 2002-2018 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... |
import java.awt.*;
public class UseFileDialog {
public String loadFile
(Frame f, String title, String defDir, String fileType) {
FileDialog fd = new FileDialog(f, title, FileDialog.LOAD);
fd.setFile(fileType);
fd.setDirectory(defDir);
fd.setLocation(50, 50);
... |
package com.taxisurfr.shared.model;
public class RatingInfo extends Info
{
private Long bookingId;
private Long contractorId;
public Long getContractorId()
{
return contractorId;
}
public void setContractorId(Long contractorId)
{
this.contractorId = contractorId;
}
... |
package springbootserverless;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.boot.web.servlet.support.SpringBootServletInitialize... |
package com.richardradics.cleanaa.interactor;
import com.richardradics.cleanaa.repository.CleanRepository;
import com.richardradics.cleanaa.repository.api.OpenWeatherClient;
import com.richardradics.cleanaa.app.CleanDatabase;
import org.androidannotations.annotations.Bean;
import org.androidannotations.annotations.EB... |
// Copyright (c) Philipp Wagner. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
package de.bytefish.pgbulkinsert.integration;
import de.bytefish.pgbulkinsert.PgBulkInsert;
import de.bytefish.pgbulkinsert.mapping.PersonMapping;
import de.bytef... |
package org.apereo.cas.trusted.authentication.storage;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord;
import or... |
import java.io.*;
import java.text.DecimalFormat;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
DecimalFormat df = new DecimalFormat("0.0");
double m[][] = new double[12][12];
Str... |
/**
* Copyright (c) 2017, Gluon Software
* 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 list of con... |
package com.surgenews.surge.Controller;
import com.surgenews.surge.Model.SignUpRequest;
import com.surgenews.surge.Model.SignupResponse;
import com.surgenews.surge.Model.UploadResponse;
import com.surgenews.surge.Utils.WebserviceUtils;
import java.util.HashMap;
import okhttp3.MultipartBody;
import retrofit2.Call;
im... |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... |
package com.meilisearch.integration;
import static org.hamcrest.CoreMatchers.instanceOf;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.*;
import com.meilisearch.integration.classes.AbstractIT;
import com.meilisearch.integration.classes.TestData;
import com.meilise... |
/**
* Copyright 2012-2018 The Feign Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package cn.xxt.recyclerviewexercise.resourcees;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import cn.xxt.recyclerviewexercise.R;
/**
*
* @author zhq
* @time 2017/12/21 下午2:51
*/
public class LevelListActivity extends AppCom... |
package com.sharinglabs.cordova.plugin.gcm;
import android.app.Activity;
import android.app.NotificationManager;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.util.Log;
public class PushHandlerActivity extends Activity... |
package com.github.kbreczko.gitproxy.configurations;
import com.github.kbreczko.gitproxy.configurations.utils.UserMotherObject;
import com.zaxxer.hikari.HikariDataSource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigu... |
package com.google.ads.mediation.ironsource;
import static com.google.ads.mediation.ironsource.IronSourceAdapterUtils.ADAPTER_VERSION_NAME;
import static com.google.ads.mediation.ironsource.IronSourceAdapterUtils.MEDIATION_NAME;
import android.app.Activity;
import android.text.TextUtils;
import android.util.Log;
impo... |
package cn.bootx.notice.param.mail;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* 邮件模板
* @author xxm
* @date 2021/8/5
*/
@Data
@Accessors(chain = true)
@Schema(title = "邮件模板")
public class Ma... |
/*
* 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 net.mediavrog.irr;
import android.content.Context;
import android.content.SharedPreferences;
import net.mediavrog.ruli.SimpleRule;
import static net.mediavrog.ruli.SimpleRule.Comparator.EQ;
public class DidRateRule extends SimpleRule<Boolean> {
private static final String PREF_KEY_DID_RATE = "didRate";... |
/*
* 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.pj.utils;
import lombok.extern.slf4j.Slf4j;
/**
* 日志输出工具类
*/
@Slf4j
public class LogUtil {
/**
* 输出 info 级别日志
*/
public static void info(String str){
log.info(str);
}
}
|
package org.omg.IOP.CodecPackage;
/**
* org/omg/IOP/CodecPackage/TypeMismatchHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u151/9699/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl
* Tuesday, September 5, 2017 7:35... |
package io.github.pureza.warbots.ai.goal;
import io.github.pureza.warbots.entities.Bot;
import io.github.pureza.warbots.navigation.Map;
/**
* A goal the bot may want to achieve
*/
public abstract class Goal {
/**
* The states a Goal can be in
*/
public enum State {
ACTIVE,
COMPLE... |
package com.atguigu.gmall.sms.dao;
import com.atguigu.gmall.sms.entity.SpuLadderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 商品阶梯价格
*
* @author Asuna
* @email 624261289@qq.com
* @date 2020-04-03 16:13:50
*/
@Mapper
public interface SpuLadder... |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other 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 License at
*
* http://www.apach... |
/*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2015 Eric Lafortune @ GuardSquare
*
* 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 F... |
/**
* @Company 青鸟软通
* @Title: WeChatConnection.java
* @Package org.bana.wechat.qy.common
* @author Liu Wenjie
* @date 2015-5-9 下午5:34:56
* @version V1.0
*/
package org.bana.wechat.qy.common;
import java.io.IOException;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import jav... |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*******************************************************************************
*
* Copyright FUJITSU LIMITED 2017
* ... |
package com.shop.dao;
import com.shop.bean.model.ShopDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
public interface ShopDetailMapper extends BaseMapper<ShopDetail> {
Integer getIsDistributionByShopId(Long shopId);
} |
/**
* This file is automatically created by Recurly's OpenAPI generation process and thus any edits you
* make by hand will be lost. If you wish to make a change to this file, please create a Github
* issue explaining the changes you need and we will usher them to the appropriate places.
*/
package com.recurly.v3.e... |
/*
* 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) 2009-2014, Data Geekery GmbH (http://www.datageekery.com)
* All rights reserved.
*
* This work is dual-licensed
* - under the Apache Software License 2.0 (the "ASL")
* - under the jOOQ License and Maintenance Agreement (the "jOOQ License")
* ===================================================... |
/*
* Copyright (C) 2013 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 mock.contract;
import com.intuit.karate.JsonUtils;
import org.junit.AfterClass;
import org.junit.Test;
import static org.junit.Assert.*;
import org.junit.BeforeClass;
import org.springframework.context.ConfigurableApplicationContext;
/**
*
* @author pthomas3
*/
public class ConsumerIntegrationTest {
... |
/*
* 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 edu.virginia.vcgr.genii.client.machine;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedList;
public class MachineFacetUpdater
{
private long _userLoggedInCheckFrequency;
private long _screenSaverActiveCheckFrequency;
private Object _userLoggedInLock = new Object();
privat... |
/*
* Copyright (c) 2008-2018, Hazelcast, 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 ... |
// ============================================================================
//
// Copyright (C) 2006-2021 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 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")... |
package I.precise.thread;
import java.util.concurrent.CountDownLatch;
import ij.process.ImageProcessor;
public class SavePixelValueThread implements Runnable{
private ImageProcessor inProcessor;
private float[][] annotationFloat;
private int val;
private CountDownLatch count;
@Override
public void run() {
... |
package pxf.toolkit.basic.util;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Path;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.function.Function;
/**
* 写操作
*
* @author potatoxf
* @date 2021... |
package org.apache.ofbiz.product.subscription;
import lombok.experimental.FieldNameConstants;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import java.sql.Timestamp;
import org.apache.ofbiz.entity.GenericValue;
import java.util.List;
import java.util.ArrayList;
/**
* Subscription Fulfillm... |
/*
* Copyright (C) 2012 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... |
/*
* Facade hides the complexity of a large system by providing simple interface.
*/
public class ShapesFacade {
private Shape cone;
private Shape cube;
private Shape sphere;
public ShapesFacade() {
cone = new Cone();
cube = new Cube();
sphere = new Sphere();
}
... |
package org.kyojo.schemaorg.m3n5.doma.pending.clazz;
import org.seasar.doma.ExternalDomain;
import org.seasar.doma.jdbc.domain.DomainConverter;
import org.kyojo.schemaorg.m3n5.pending.impl.HEALTH_PLAN_NETWORK;
import org.kyojo.schemaorg.m3n5.pending.Clazz.HealthPlanNetwork;
@ExternalDomain
public class HealthPlanNet... |
/**
* Copyright 2018 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 or agree... |
package com.kxm.kcgl.mapper;
import java.util.List;
import com.kxm.kcgl.domain.Manufactor;
/**
*
* @author kongxm
* @date 2015 2015年7月26日 下午4:31:58
*/
public interface ManufactorMapper {
List<Manufactor> selectSelective(Manufactor bean);
int insert(Manufactor record);
int countBySelective(... |
package io.crnk.meta.provider;
import io.crnk.core.engine.internal.utils.PreconditionUtil;
import io.crnk.core.utils.Optional;
import io.crnk.meta.model.*;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.*;
public abstract class MetaPartitionBase implements MetaPartition {... |
/*
* Copyright 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://www.apache.org/licenses/LICENSE-2.0
*
* This f... |
/*******************************************************************************
* Copyright C 2012, The Pistoia Alliance
*
* 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 restr... |
package my.alkarps.atm.util;
import my.alkarps.atm.model.exception.AtmException;
import my.alkarps.atm.model.operation.Empty;
import java.util.function.Supplier;
/**
* @author alkarps
* create date 28.07.2020 13:44
*/
public class Utils {
public static boolean isNullOrEmpty(Empty empty) {
return empty... |
package org.onvif.ver10.advancedsecurity.wsdl;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.build... |
/*******************************************************************************
* Copyright © 2019 by California Community Colleges Chancellor's Office
*
* 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
* o... |
/*
* Copyright 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.getcapacitor;
public class PluginRequestCodes {
public static final int BROWSER_OPEN_CHROME_TAB = 9001;
public static final int CAMERA_IMAGE_CAPTURE = 9002;
public static final int CAMERA_IMAGE_PICK = 9003;
public static final int GEOLOCATION_REQUEST_PERMISSIONS = 9004;
public static final int CA... |
/**
* The MIT License
* Copyright (c) 2019- Nordic Institute for Interoperability Solutions (NIIS)
* Copyright (c) 2018 Estonian Information System Authority (RIA),
* Nordic Institute for Interoperability Solutions (NIIS), Population Register Centre (VRK)
* Copyright (c) 2015-2017 Estonian Information System Autho... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.