text stringlengths 7 995k |
|---|
/*
* Copyright (c) 2008-2021, 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 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package lab3;
public class Main {
public static void main(String[] args) {
stack_demonstration();
// queue_demonstation();
// End of program
System.out.println("\nThe program has finished working.");
}
static void stack_demonstration() {
Stack s = new Stack(5);
String[] notifications = new String[] ... |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
/*
* Copyright 2012 JBoss by Red Hat.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
package openiss.ws.rest;
import com.sun.jna.NativeLibrary;
import openiss.Kinect;
import openiss.utils.OpenISSConfig;
import openiss.utils.OpenISSImageDriver;
import openiss.utils.PATCH;
import openiss.ws.soap.endpoint.ServicePublisher;
import javax.activation.MimetypesFileTypeMap;
import javax.imageio.ImageIO;
impor... |
package dev.nadeldrucker.jvvo.Models;
import com.google.gson.annotations.SerializedName;
import lombok.*;
import java.util.Date;
import java.util.List;
@ToString
@AllArgsConstructor
public class LinesResponse {
@NonNull @SerializedName("Lines") @Getter @Setter private List<Line> lines;
@NonNull @SerializedNa... |
package ca.ualberta.CMPUT3012019T02.alexandria.fragment.library;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearL... |
/*
*
* Copyright (c) 2000-2005 Standard Performance Evaluation Corporation (SPEC) All
* rights reserved. Copyright (c) 1996-2005 IBM Corporation, Inc. All rights
* reserved.
*
*/
package spec.jbb;
import java.util.*;
import java.io.PrintStream;
import spec.jbb.infra.Util.TransactionLogBuffer;
import spec.jbb.i... |
/*
* File: VectorThresholdHellingerDistanceLearner.java
* Authors: Justin Basilico
* Company: Sandia National Laboratories
* Project: Cognitive Foundry
*
* Copyright November 25, 2009, Sandia Corporation.
* Under the terms of Contract DE-AC04-94AL85000, there i... |
package com.vip.saturn.job.console.domain;
/**
* @author hebelala
*/
public enum JobType {
JAVA_JOB, SHELL_JOB, PASSIVE_JAVA_JOB, PASSIVE_SHELL_JOB, MSG_JOB, VSHELL, UNKNOWN_JOB;
public static final JobType getJobType(String jobType) {
try {
return valueOf(jobType);
} catch (Exception e) {
return UNKNO... |
package io.github.srhojo.utils.webclientbuilder;
import java.io.FileInputStream;
import java.security.KeyStore;
import javax.net.ssl.KeyManagerFactory;
import javax.net.ssl.TrustManagerFactory;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springframework.http.cli... |
/*
* 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... |
/*
* 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.may.rabbitmq.topic.helloworld;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
public class Producer {
public static void main(String[] args) throws Exception {
// 创建链接工厂
ConnectionFactory connectionFactory = new ... |
/**
* 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 m... |
package net.galvin.hadoop.comm.utils;
/**
* Created by Administrator on 2017/8/24.
*/
public class Constant {
public final static String HDFS_URL="hdfs://master.hadoop.net:9000";
} |
package cn.android_mobile.core.event;
import java.util.ArrayList;
import cn.android_mobile.toolkit.Lg;
public class BasicEventDispatcher {
public interface IBasicListener {
void handleEvent(BasicEvent event);
}
private static ArrayList<EventItem> array = new ArrayList<EventItem>();
public static void addEven... |
/*
* 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.github.zhenwei.core.crypto.engines;
import com.github.zhenwei.core.crypto.BlockCipher;
import com.github.zhenwei.core.crypto.CipherParameters;
import com.github.zhenwei.core.crypto.DataLengthException;
import com.github.zhenwei.core.crypto.OutputLengthException;
import com.github.zhenwei.core.crypto.params... |
package net.serenitybdd.cucumber.integration;
import io.cucumber.junit.CucumberOptions;
import net.serenitybdd.cucumber.CucumberWithSerenity;
import org.junit.runner.RunWith;
/**
* Created by john on 23/07/2014.
*/
@RunWith(CucumberWithSerenity.class)
@CucumberOptions(features="src/test/resources/features/calculato... |
package mslinks.data;
/*-
* #%L
* https://github.com/vatbub/mslinks
* %%
* Copyright (C) 2015 - 2020 Dmitrii Shamrikov, Frederik Kammel
* %%
* 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 Licens... |
/*
* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
// -- This file was mechanically generated: Do not edit! -- //
package java.nio;
class ByteBufferAsC... |
/*
* 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 examples.controls.floatcontrol;
import net.happybrackets.core.HBAction;
import net.happybrackets.core.control.DynamicControl;
import net.happybrackets.core.control.FloatControl;
import net.happybrackets.core.control.TriggerControl;
import net.happybrackets.device.HB;
import java.lang.invoke.MethodHandles;
/*... |
package test;
import dto.Tutoriales;
import java.util.ArrayList;
import java.util.List;
import mybatis.SessionFactory;
import mybatis.mapper.TutorialesMapper;
import org.apache.ibatis.exceptions.PersistenceException;
import org.apache.ibatis.session.SqlSession;
public class TutorialesDel {
public static void mai... |
/*
* Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package net.kodar.restaurantapi.business.transformer.param.ingredient;
import org.springframework.stereotype.Component;
import net.kodar.restaurantapi.business.transformer.param.ParamTransformer;
import net.kodar.restaurantapi.data.entities.Ingredient;
import net.kodar.restaurantapi.presentation.param.IngredientParam... |
/*
GanttProject is an opensource project management tool.
Copyright (C) 2003-2011 GanttProject Team
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 3
of the License, or (at your option... |
package org.apache.commons.digester3.annotations.atom;
import static org.apache.commons.digester3.binder.DigesterLoader.newLoader;
import java.io.IOException;
import java.util.Date;
import org.apache.commons.beanutils.ConvertUtils;
import org.apache.commons.beanutils.converters.DateConverter;
import org.apache.commo... |
package foreignExchange;
public class ExchangeType {
double w; // intput money in won
int type; // foreign currency type
double exResult; // exchange result
double d; // dollar converted from won
double r; // remains = (exchange result) - (dollar converted from won)
double c; // changes in won
double e; // euro... |
/*
* Copyright 2016-2021 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 2017 The Nomulus 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 a... |
package nustorage.model;
import static java.util.Objects.requireNonNull;
import static nustorage.commons.util.CollectionUtil.requireAllNonNull;
import java.nio.file.Path;
import java.util.function.Predicate;
import java.util.logging.Logger;
import javafx.collections.ObservableList;
import javafx.collections.transfo... |
//
// ========================================================================
// Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
package icu.jogeen.stopcoding;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import icu.jogeen.stopcoding.ui.SettingDialog;
public class StopCodingSettingAction extends AnAction {
@Override
public void actionPerformed(AnActionEvent e) {
Set... |
package com.slimgears.rxrepo.expressions;
import com.google.common.reflect.TypeToken;
import com.slimgears.rxrepo.expressions.internal.ComparableUnaryOperationExpression;
import com.slimgears.rxrepo.expressions.internal.NumericUnaryOperationExpression;
import java.util.Collection;
public interface Aggregator<S, T, R... |
/*******************************************************************************
* Copyright 2014 United States Government as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... |
/*
* Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.codeInsight;
import com.intellij.testFramework.TestDataPath;
import org.jet... |
/*
* (C) 2001 by Argonne National Laboratory
* See COPYRIGHT in top-level directory.
*/
/*
* @author Anthony Chan
*/
package base.topology;
import java.awt.Graphics2D;
import java.awt.Color;
import java.awt.Point;
import java.awt.Stroke;
import java.awt.BasicStroke;
import java.util.Arrays;
import base... |
/*
* Copyright 2002-2004 Jeremias Maerki.
*
* 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... |
package es.uned.nlp.rbu;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import com.csvreader.CsvWrit... |
package net.minecraft.client.model;
import net.minecraft.entity.Entity;
import net.minecraft.util.MathHelper;
public class ModelZombie extends ModelBiped
{
public ModelZombie()
{
this(0.0F, false);
}
protected ModelZombie(float modelSize, float p_i1167_2_, int textureWidthIn, int textureHeigh... |
/*
* Copyright 2020 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 com.epam.jdi.light.ui.html.common;
import com.epam.jdi.light.ui.html.asserts.TextAreaAssert;
import java.util.List;
public interface TextArea extends TextField {
void setLines(String... lines);
List<String> getLines();
int rows();
int cols();
int minlength();
int maxlength();
Stri... |
// This is a generated file. Not intended for manual editing.
package me.serce.devkt.solidity.lang.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import org.jetbrains.kotlin.com.intellij.psi.PsiElement;
import org.jetbrains.kotlin.com.intellij.psi.PsiElement;
public interface SolConstructorDefinition... |
package xyz.mydev.jackson.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import xyz.mydev.jackson.relationship.one2one_bid.User;
/**
* @author zhao
* @date 2018/09/08 15:20
* @description
*/
public interface UserRepository extends JpaRepository<User, Long> {
} |
/*
* 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... |
/*
* 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 Servicos;
/**
*
* @author Jonathan
*/
public class ArquivoService {
} |
/*
* Copyright (C) 2014 The Guava 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 agre... |
package com.termux.shared.models.errors;
import androidx.annotation.NonNull;
import com.termux.shared.logger.Logger;
import com.termux.shared.markdown.MarkdownUtils;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Error implements Serializab... |
package org.firstinspires.ftc.teamcode;
import android.graphics.Bitmap;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.util.RobotLog;
import com.qualcomm.robotcore.util.ThreadPool;
import com.vuforia.Frame;
import org.firstinspires.ftc.robotcore.external.ClassFactory;
import or... |
package com.csigroup.entity;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import java... |
/*
* Copyright (c) 2012, Isaiah van der Elst (isaiah.v@comcast.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright no... |
public class EmployeeDetailsShow {
private int id;
private String Fname;
private String Lname;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getFname() {
return Fname;
}
public void setFname(String fname) {
Fname = fname;
}
public String getLname() {
r... |
/*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package org.gluu.casa.plugins.authnmethod.service.otp;
/**
* @author jgomer
*/
public interface IOTPAlgorithm {
byte[] generateSecretKey();
String generateSecretKeyUri(byte[] secretKey, String displayName);
String getExternalUid(byte[] secretKey, String code);
} |
/**
* Copyright (c) 2019. Qubole 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 writing... |
package org.opentaps.base.entities;
/*
* Copyright (c) Open Source Strategies, Inc.
*
* Opentaps is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your opt... |
/*
* 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 t... |
/**
* Copyright 2009-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
package com.dcs;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.ti... |
// Install the Java helper library from twilio.com/docs/java/install
import org.joda.time.LocalDate;
import com.twilio.Twilio;
import com.twilio.base.ResourceSet;
import com.twilio.rest.api.v2010.account.Notification;
public class Example {
// Find your Account Sid and Token at twilio.com/user/account
public stat... |
/*
* (C) Copyright 2017 Shuangyan Liu
* Shuangyan.Liu@open.ac.uk
* Knowledge Media Institute
* The Open University, United Kingdom
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*... |
// Copyright 2018 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package ru.job4j.loop;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* Тест, проверяющий формирование шахматной доски в псевдографике.
*
* @author Andrey Vasiliev (admsocs@yandex.ru).
* @version $Id$
* @since 0.1
*/
public class BoardTest {
/*... |
package com.lanjiessh.baselibs.utils;
import android.graphics.drawable.Drawable;
import android.view.View;
import android.widget.TextView;
/**
* View tools
*
* Created by Vin on 2015/12/31.
*/
public class ViewUtil {
/**
*
* @param view
* @param <V>
* @return
*/
public static <V... |
package core.utils;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import au.com.bytecode.opencsv.CSVWriter;
import core.nipr.LicenseInternal;
import core.nipr.LineOfAuthorityInternal;
public class NIPRCSVUtils {
public static boolean wr... |
package org.hattrickscoreboard.background.tasks.tables;
import android.content.Context;
import org.hattrickscoreboard.background.process.BookmarksProcess;
import org.hattrickscoreboard.background.providers.IParams;
import org.hattrickscoreboard.background.providers.IRequest;
import org.hattrickscoreboard.database.Hat... |
package com.flipkart.databuilderframework.cmplxscenariotest.data;
import com.flipkart.databuilderframework.model.Data;
public class DataB5 extends Data{
public DataB5() {
super("B5");
}
} |
/*
* Copyright 2010-2013 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... |
package net.minecraft.client.model;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.passive.EntitySheep;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class ModelSheep1 exten... |
/*
* Copyright 2006 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 appl... |
/*
* Copyright (c) 2011-2020, baomidou (jobob@qq.com).
* <p>
* 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
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required... |
package org.springframework.http.server.reactive;
import java.nio.file.Path;
import io.netty.buffer.ByteBuf;
import io.netty.handler.codec.http.HttpResponseStatus;
import io.netty.handler.codec.http.cookie.Cookie;
import io.netty.handler.codec.http.cookie.DefaultCookie;
import org.reactivestreams.Publisher;
import re... |
package cn.testin.analysis;
import java.util.ArrayList;
import java.util.EnumMap;
import java.util.List;
import java.util.Map;
public class gm
{
public static final Map<fs, Object> a = new EnumMap(fs.class);
static
{
ArrayList localArrayList = new ArrayList();
localArrayList.add(fo.a);
a.put(fs.d... |
/*
* Copyright 2018-2020 The Code Department.
*
* 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 ... |
//
//
// import org.junit.Test;
// import org.junit.runner.RunWith;
// import org.mockito.InjectMocks;
// import org.mockito.Mock;
// import org.mockito.Mockito;
// import org.mockito.Spy;
// import org.mockito.junit.MockitoJUnitRunner;
//
//import com.qa.persistence.dao.Dao;
//import com.qa.persistence.domain.Customer... |
/*
* Copyright 2010-2018 Boxfuse GmbH
*
* 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 ... |
/* file: Input.java */
/*******************************************************************************
* Copyright 2014-2017 Intel 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... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v7/common/offline_user_data.proto
package com.google.ads.googleads.v7.common;
/**
* <pre>
* User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job
* type.
* </pre>
*
* Protobuf type {@code google.ads.go... |
/*
* Copyright 2017-2019 The OpenTracing 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 ... |
/*
* Copyright (C) 2011 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.globsframework.gui.splits.icons;
import java.awt.*;
public class RectIcon extends BorderColorIcon {
private int width;
private int height;
public RectIcon(int width, int height) {
this.width = width;
this.height = height;
}
public void paintIcon(Component component, Graphics graphics,... |
/*
* Copyright contributors to Hyperledger Besu.
*
* 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 2020 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 applic... |
package io.cattle.platform.allocator.constraint;
import io.cattle.platform.allocator.constraint.AffinityConstraintDefinition.AffinityOps;
import io.cattle.platform.allocator.service.AllocationCandidate;
import io.cattle.platform.allocator.service.AllocationHelper;
public class ContainerLabelAffinityConstraint impleme... |
package org.nutz.dao.test.normal;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import org.junit.Test;
import org.nutz.dao.DaoException;
import org.nutz.dao.Sqls;
import org.nutz.dao.sql.Sql;
import org.nutz.dao.test.DaoCase;
import org.nutz.dao.test.meta.Base;
import org.nutz.dao.... |
package com.example.auction.item.impl;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.lightbend.lagom.javadsl.persistence.AggregateEvent;
import com.lightbend.lagom.javadsl.persistence.AggregateEventShards;
import com.lightbend.lagom.javadsl.persistence.AggregateEventTag;
import com.lightbend.lagom.ja... |
/*
* 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... |
/*
* Copyright (c) 2019, 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.org/li... |
package jade.proto;
import jade.core.*;
import jade.core.behaviours.*;
import jade.lang.acl.*;
/**
* This behaviour is designed to be used together with the Single-Session responder protocol classes.
* More in details it is aimed at dealing with protocol initiation messages and dispatching them to
* responders. Th... |
package com.mercadopago.resources.datastructures.preference;
/**
* Mercado Pago MercadoPago
* Preference Tax class
*/
public class Tax {
private TaxType type = null;
public enum TaxType {
IVA,
INC
}
private Float value = null;
public TaxType getType() {
return type;
... |
/*
* BatchFileTokenMarker.java - Batch file token marker
* Copyright (C) 1998, 1999 Slava Pestov
*
* You may use and modify this package for any purpose. Redistribution is
* permitted, in both source and binary form, provided that this notice
* remains intact in all source distributions of this package.
*/
pack... |
package com.oleh.chui.service;
import com.oleh.chui.model.entity.Person;
import com.oleh.chui.model.entity.Product;
import com.oleh.chui.model.entity.ProductForParsing;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;
im... |
package org.cloudburstmc.protocol.bedrock.codec.v313.serializer;
import io.netty.buffer.ByteBuf;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import org.cloudburstmc.protocol.bedrock.codec.BedrockCodecHelper;
import org.cloudburstmc.protocol.bedrock.codec.BedrockPacketSerializer;
import org.cloudburstmc... |
package org.apache.jdbm;
import java.io.Serializable;
public class Serialization2Bean implements Serializable {
// =========================== Constants ===============================
private static final long serialVersionUID = 2757814409580877461L;
// =========================== Attributes ==========... |
package elite.math.angle;
/**
*
* @author CFerg (Elite)
*/
public class Degree {
double degree;
/**
*
*/
public Degree(){
this.degree = (1/360);
}
/**
*
* @param a
*/
public Degree(ArcMinute a){
this.degree = (a.minute*60);
}
/... |
package gumdrop.web.http;
public class HttpResponse {
private final HttpResponseHeader header;
private byte[] bytes;
public HttpResponse(HttpResponseHeader header) {
this.header = header;
}
public HttpResponseHeader getHeader() {
return header;
}
public byte[] getBytes() {
return bytes;
... |
package net.gotev.xmppservice.database;
/**
* @author Aleksandar Gotev
*/
public interface DatabaseTable {
String getCreateSql();
String getDropSql();
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.