text stringlengths 7 995k |
|---|
/*
* 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 ... |
// This is a generated file. Not intended for manual editing.
package com.bich.idl.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import stati... |
/*
* Copyright 2017 Wultra 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 agreed to in... |
package com.twilio;
import static spark.Spark.get;
import static spark.Spark.post;
import static spark.Spark.staticFileLocation;
import static spark.Spark.afterAfter;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import org.apache.http.HttpStatus;
import java.util.HashMap;
import co... |
package com.applicaster.adobe.login;
import android.app.Activity;
import android.os.SystemClock;
import android.util.Log;
import androidx.annotation.WorkerThread;
import com.applicaster.adobe.login.pluginconfig.mapper.PluginDataMapper;
import com.applicaster.adobe.login.pluginconfig.PluginDataRepository;
import com.... |
package com.xy1m.playground;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppT... |
package org.jeecg.modules.electric.equipment_manage.service.impl;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.electric.equipment_manage.entity.ElecEquipment;
import org.jeecg.modules.electric.equipment_manage.mapper.ElecEquipmentMapper;
import org.jeecg.modules.electric.... |
package io.mincong.elasticsearch;
import java.util.HashMap;
import java.util.Map;
import org.elasticsearch.action.bulk.BulkItemResponse;
import org.elasticsearch.action.bulk.BulkResponse;
import org.elasticsearch.action.get.MultiGetItemResponse;
import org.elasticsearch.action.get.MultiGetRequest;
import org.elasticse... |
package myproject.exception;
import org.springframework.http.HttpStatus;
public class CustomException extends RuntimeException {
private static final long serialVersionUID = 1L;
private final String message;
private final HttpStatus httpStatus;
public CustomException(String message, HttpStatus httpStatus) ... |
package com.tencent.cos.xml.transfer;
import android.annotation.SuppressLint;
import android.content.Context;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.work.NetworkType;
import androidx.work.WorkManager;
import androidx.work.impl.constraint... |
public class Main {
public static void main(String[] args) {
Gen2<Integer> num;
num = new Gen2<Integer>(5);
// Exibe o tipo de dado usado por num
num.showTipos();
// Obt�m o valor de num
int valor = num.getOb();
System.out.println("Valor: " + valor);
}
} |
/*
* Copyright (c) 2002-2021 Gargoyle Software Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
package com.nicaiya.canvaslayout;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
public interface UIElementHost {
public void requestLayout();
public void invalidate();
public void invalidate(int left, int top, int right, int bottom);
... |
package seedu.address.testutil;
import static seedu.address.logic.parser.CliSyntax.PREFIX_COSTPRICE;
import static seedu.address.logic.parser.CliSyntax.PREFIX_COUNT;
import static seedu.address.logic.parser.CliSyntax.PREFIX_ID;
import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME;
import static seedu.address... |
package ru.learnqa.socksshop.conditions;
import lombok.experimental.UtilityClass;
import org.hamcrest.Matcher;
@UtilityClass
public class Conditions {
public StatusCodeCondition statusCode(int code){
return new StatusCodeCondition(code);
}
public BodyFieldCondition bodyField(String jsonPath, Ma... |
/*
* Copyright 2019 Distributed Systems Group
*
* <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>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicabl... |
/*
* Licensed to STRATIO (C) under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. The STRATIO (C) licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file... |
package com.lilithsthrone.game.sex.sexActions;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import com.lilithsthrone.game.sex.SexAreaInterface;
import com.lilithsthrone.game.sex.SexAreaOrifice;
import com.lilithsthrone.game.sex.SexAreaPenetration;
import com.lilithsthrone.game.sex.sexA... |
package com.planet.shop.mbg.mapper;
import com.planet.shop.mbg.model.UmsMemberStatisticsInfo;
import com.planet.shop.mbg.model.UmsMemberStatisticsInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsMemberStatisticsInfoMapper {
int countByExample(UmsMemberStatistic... |
/*
* 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) 2006-2015 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... |
/* Copyright Airship and Contributors */
package com.urbanairship.app;
import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import androidx.annotation.MainThread;
import androidx.annotation.NonNull;
import androidx.annotation... |
package com.example.mybatisplusexample.conf;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.logging.Log;
import org.apache.ibatis.logging.LogFactory;
import org.springframework.util.ReflectionUtils;
import java.lang.reflect.*;
@Slf4j
public class LocalReflectionUtils {
private static final Log logge... |
/*-
* #%L
* Elastic APM Java agent
* %%
* Copyright (C) 2018 - 2020 Elastic and contributors
* %%
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. ... |
package org.egov.bookings.contract;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Difference {
String id;
List<String> fieldsChanged;
List<String> classesAdded;
List<String> c... |
/*
* 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 ru.qa.testingsoft.login.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.NoAlertPresentException;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
import java.io.File;
import java.util.concurrent.TimeUnit;
public class HelperBase {
protected WebD... |
package com.dd.hbase;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class HBaseClient {
private final static Logger logger = LoggerFactory.getLogger(HBaseClient.class);
public static void main(String[] args) {
logger.error("err test2");
logger.warn("warn test");
}
} |
/*
*************************************************************************
* The contents of this file are subject to the Openbravo Public License
* Version 1.1 (the "License"), being the Mozilla Public License
* Version 1.1 with a permitted attribution clause; you may not use this
* file except in... |
/*
* Copyright 2015-2020 The OpenZipkin 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 a... |
package gov.faa.ang.swac.common.random.distributions;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import gov.faa.ang.swac.common.random.util.Num;
/*
* Class: JohnsonSBDist
* Description: Johnson S_Bdistribution
* Environment: Java
* Software: SSJ
* Copyright (C) 2001... |
package ru.job4j.archive.dummy;
public class DummyDic {
public String engToRus(String eng) {
return String.format("%s%s", "Неизвестное слово.", eng);
}
} |
package svenhjol.charm.helper;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.enchantment.Enchantment;
import net.minecraft.world.item.enchantment.EnchantmentHelper;
import net.minecraft.world.item.enchantment.Enchantments;
import java.util.M... |
/**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.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... |
/*
*
* Copyright (c) 2015 University of Massachusetts
*
* 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 it.polimi.ingsw.network.message;
import it.polimi.ingsw.model.ReducedGod;
import java.util.List;
/**
* Message which contains the gods available or the god picked from a user.
*/
public class GodListMessage extends Message {
private static final long serialVersionUID = -1116045089001448271L;
priva... |
package org.ovirt.engine.ui.uicommonweb.models.configure.roles_ui;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import org.ovirt.engine.core.common.action.ActionGroupsToRoleParameter;
import org.ovirt.engine.core.common.action.ActionReturnValue;
import org... |
/*
* 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.gradle.docs.samples.internal.tasks;
import org.asciidoctor.gradle.AsciidoctorTask;
import org.gradle.internal.work.WorkerLeaseService;
import javax.inject.Inject;
public abstract class LockReleasingAsciidoctorTask extends AsciidoctorTask {
@Inject
public abstract WorkerLeaseService getWorkerLease... |
package io.coin.ccbc.kokoa;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonDeserializer;
import java.io.IOException;
public class DecimalAppliedValueDeseria... |
/*
* Copyright 2017-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 required by ap... |
package origen.common;
import xoc.dta.datatypes.MultiSiteLong;
import xoc.dta.resultaccess.datatypes.BitSequence;
import xoc.dta.resultaccess.datatypes.BitSequence.BitOrder;
import xoc.dta.setupaccess.IPattern;
import xoc.dta.setupaccess.IStateCharBuffer;
public class OrigenHelpers {
public static boolean isEven(i... |
package com.youlongnet.lulu.net.request;
import android.content.Context;
import android.util.Log;
import com.android.volley.DefaultRetryPolicy;
import com.android.volley.NetworkResponse;
import com.android.volley.ParseError;
import com.android.volley.Request;
import com.android.volley.Response;
import com.android.vol... |
package collabware.model.internal.ops;
import collabware.api.document.change.Change;
import collabware.api.document.change.ComplexChangeEnded;
import collabware.api.operations.OperationGenerator;
import collabware.api.operations.PrimitiveOperation;
import collabware.model.change.AttributeSet;
import collabware.model.c... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__URLConnection_printf_73b.java
Label Definition File: CWE134_Uncontrolled_Format_String.label.xml
Template File: sources-sinks-73b.tmpl.java
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: URLConnection Read data ... |
/*
* 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 com.example.io.bio.tomcat_netty.http;
public abstract class NServlet {
public void service(NRequest request, NResponse response) throws Exception {
//由service方法来决定,是调用doGet或者调用doPost
if ("GET".equalsIgnoreCase(request.getMethod())) {
doGet(request, response);
} else {
... |
/*
* Copyright (C) 2008 ZXing 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 agr... |
/* Copyright 2002-2017 CS Systèmes d'Information
* Licensed to CS Systèmes d'Information (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Versi... |
package ooga.view.components.gameselection;
import java.util.function.Consumer;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.control.ScrollPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Priority;
import javafx.scene.layout.StackPane;
import javafx.scene.layout.VB... |
package org.contentmine.svg2xml.pdf;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.contentmine.cproject.files.CTree;
import org.conte... |
package tankgame.objects;
import tankgame.BulletHandler;
import tankgame.GameDriver;
import tankgame.resources.ResourceLoader;
import java.awt.*;
import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
/**
*
* @author anthony-pc
* modified by Gerardo OChoa
*/
public... |
/**
*
*/
package com.akh.algorithms;
import com.akh.algorithms.sorting.practice.QuickSorter;
import com.akh.utils.Utils;
/**
* @author Akhash Ramamurthy
*
* Apr 5, 2016 11:41:13 AM
* MergeTwoSortedArrays.java
*/
public class MergeTwoSortedArrays {
public static void main(String[] args){
int[] input_1 = U... |
/*
* The MIT License
*
* Copyright 2015 Anastasiy Tovstik <anastasiy.tovstik@gmail.com>.
*
* 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 limita... |
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE
package org.bytedeco.ale;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.ale.global.ale.*;
/**
Abstract base class for devices... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/*
* Copyright (C) 2015 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... |
/*
* 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 edu.wpi.first.wpilibj.templates.commands;
/**
*
* @author Team 997
*/
public class ReverseTankDrive extends CommandBase {
... |
/*
* Copyright (c) 2017 Data and Web Science Group, University of Mannheim, Germany (http://dws.informatik.uni-mannheim.de/)
*
* 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... |
package plugin.album.adapter;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import plu... |
package v19;
import java.io.IOException;
public class MainClass {
public static void main(String[] args) {
prepareForSimulations();
startSimulations();
}
private static void prepareForSimulations() {
MasterVariables.initializeMasterVariables();
printFileHeaders();
populateProfileWorlds();
printProfi... |
package Lista;
import java.util.logging.Level;
import java.util.logging.Logger;
public class Cinta {
private static final char CR = 13; //Carry-Return
private static final char LF = 10; //Line-Feed
//Declaración de los chars EOF y EOLN
public static final char EOF = 0;
public static fina... |
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
public class TaglibImporter {
private static Map<String, String> inheritedAttributes = new HashMap<Strin... |
package com.bright_side_it.fliesenui.screendefinition.model;
/**
* a cell item is what can be inside a cell: a basic widget, a table widget or a container
*/
public interface CellItem {
String getID();
NodePath getNodePath();
} |
package cn.hippo4j.starter.event;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationListener;
import javax.annotation.Resource;
/**
* Application content post processor.
*
* @author chen.ma
* @... |
/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.contracts.location;
import java.util.List;
import java.util.HashMap;
import java.io.Serializable;
import com.fasterxml.jacks... |
package io.github.filipowm.api;
import io.github.filipowm.api.servlet.ServletApiVersioningContentTypeStrategy;
import io.github.filipowm.api.servlet.ServletApiVersioningPathStrategy;
import java.util.Set;
/**
* Interface used for marking API versioning strategies.
*
* <p><b>IMPORTANT:</b> only ONE versioning stra... |
/*
* Copyright 2011 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 in w... |
/*
* Copyright 2002-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 required by a... |
package io.thestencil.site;
/*-
* #%L
* quarkus-stencil-ide-services
* %%
* Copyright (C) 2021 Copyright 2021 ReSys 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
*
* ... |
package vn.com.tuanminh.frogzan.utils;
import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.audio.Sound;
public class AudioManager {
public static final AudioManager instance = new AudioManager();
private Music playingMusic;
// singleton: prevent instantiation from other classes
private AudioManager() ... |
/*
Copyright (c) 2015, Louis Capitanchik
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 notice, this
list of conditions and the follow... |
package uk.ac.man.cs.eventlite.controllers;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyZeroInteractions;
import static org.mockito.Mockito.when;
import static org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPost... |
/*
* 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 ... |
package fr.openwide.core.export.excel;
/**
* Classe contenant toutes les informations nécessaires sur l'affichage d'une colonne
*/
public class ColumnInformation {
private String headerKey;
private boolean hidden = false;
private int columnWidth = -1;
private int columnMaxWidth = -1;
public ColumnInformati... |
package com.jumkid.oauthcentral;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class OauthCentralApplicationTests {
@Test
public vo... |
package com.google.api.ads.adwords.jaxws.v201406.video;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* Returns the list of targeting groups that meet th... |
/*
* 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 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 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.role;
import com.yahoo.restapi.Path;
import java.net.URI;
import java.util.EnumSet;
import java.util.List;
import java.util.Optional;
import java.util.Set;
/*... |
package com.reactnativenavigation.options;
import android.content.Context;
import com.reactnativenavigation.options.params.Bool;
import com.reactnativenavigation.options.params.NullBool;
import com.reactnativenavigation.options.params.ThemeColour;
import com.reactnativenavigation.options.params.Text;
import com.react... |
/*
* Copyright 2011-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com... |
/*
* Copyright 2017 Moprim
* 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,
* s... |
package com.xabe.binary.protocol.connector;
import com.xabe.binary.protocol.connector.builder.ClientRequestInfo;
import java.util.Optional;
public interface RestConnector {
<T> Optional<T> getSimpleObject(ClientRequestInfo clientRequestInfo);
} |
/*
* Copyright 2011-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... |
/* InvalidAttributeValueException.java -- Thrown by invalid values.
Copyright (C) 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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 Foun... |
/*
* Copyright (c) 2019-2021 Team Galacticraft
*
* 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, modify, mer... |
package yuudaari.soulus.common.item;
import yuudaari.soulus.common.util.ModItem;
public class GearBoneEnder extends ModItem {
public GearBoneEnder () {
super("gear_bone_ender");
glint = true;
setHasDescription();
}
} |
package com.iii.more.tts;
import java.util.HashMap;
/**
* Created by joe on 2017/6/26.
*/
public class TTSCache
{
private static HashMap<String, String> ttsCache = new HashMap<>();
private static boolean ttsHandlerInit = false;
public static synchronized boolean getTTSHandlerInit()
{
r... |
package com.netflix.discovery.util;
import java.util.*;
import com.netflix.appinfo.AmazonInfo;
import com.netflix.appinfo.AmazonInfo.MetaDataKey;
import com.netflix.appinfo.InstanceInfo;
import com.netflix.appinfo.InstanceInfo.ActionType;
import com.netflix.appinfo.InstanceInfo.Builder;
import com.netflix.appinfo.Ins... |
/*
* 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 com.mrbonono63.create.foundation.ponder.content;
import com.simibubi.create.AllBlocks;
import com.mrbonono63.create.content.contraptions.components.actors.HarvesterTileEntity;
import com.mrbonono63.create.content.contraptions.components.structureMovement.bearing.SailBlock;
import com.mrbonono63.create.content.... |
// Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.ir.code;
import com.android.tools.r8.cf.LoadStoreHelper;
import com.android.t... |
package org.folio.marccat.dao.persistence;
import java.io.Serializable;
/**
* @author paulm
* @since 1.0
*/
public class RecordTypeMaterial implements Serializable {
private String recordTypeCode;
private String bibliographicLevel;
private String amicusMaterialTypeCode;
private int bibHeader008;
private ... |
/* ###
* IP: GHIDRA
*
* 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 writin... |
package view.bottom.turtparams;
import javafx.geometry.Pos;
import javafx.scene.Node;
import javafx.scene.control.Label;
import javafx.scene.control.ScrollPane;
import javafx.scene.layout.VBox;
import observables.ObjectObservable;
import view.Defaults;
import view.utilities.BottomDisplay;
import java.util.Observable;
... |
package com.jeffmony.async.http.body;
import com.jeffmony.async.ByteBufferList;
import com.jeffmony.async.DataEmitter;
import com.jeffmony.async.DataSink;
import com.jeffmony.async.Util;
import com.jeffmony.async.callback.CompletedCallback;
import com.jeffmony.async.http.AsyncHttpRequest;
import com.jeffmony.async.par... |
/*******************************************************************************
* Copyright (c) 2020 Northrop Grumman Systems 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 a... |
package domain;
public class Casa extends Inmueble {
private int unPrecio;
public Casa (double unosMetrosCuadrados, int unaCantidadDeAmbientes, Zona zona, Operacion operacion){
super(unosMetrosCuadrados, unaCantidadDeAmbientes, zona, operacion);
}
public int getUnPrecio() { return unPrecio; }
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.