text stringlengths 7 995k |
|---|
// Targeted by JavaCPP version 1.5.2: DO NOT EDIT THIS FILE
package org.bytedeco.systems.windows;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.systems.global.windows.*;
@Properties(inherit = org.bytedeco.systems.presets.windows.class)
public... |
/* 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.vizhen.androidoffice;
public final class R {
public static final class attr {
}
public static final class dimen {... |
package br.objective.jira.rest;
import com.atlassian.jira.component.ComponentAccessor;
import com.atlassian.jira.project.AssigneeTypes;
import com.atlassian.jira.project.Project;
import com.atlassian.jira.user.ApplicationUser;
public class ProjectCreationWrapper {
static Project createBasicProject(ProjectData data,... |
package de.butterworks.awscommons.dynamo;
import com.amazonaws.services.dynamodbv2.document.Item;
import java.util.Map;
public interface DynamoConverter<T> {
Item toDynamo(final T item);
T fromDynamo(final Map<String, Object> item);
} |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package com.teambition.talk.ui.span;
import android.content.Intent;
import android.text.TextPaint;
import android.text.style.ClickableSpan;
import android.view.View;
import com.teambition.talk.ui.activity.WebContainerActivity;
/**
* Created by zeatual on 15/2/27.
*/
public class AutoLinkSpan extends ClickableSpan ... |
/*
* 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
*
* or in ... |
/*
* 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 knn;
import java.awt.Color;
import java.awt.Graphics;
import java.util.ArrayList;
import java.util.Random;
import javax.swing.... |
package com.platform.drivers;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class OstPayloadBuilder {
private static final String TAG = "OstPayloadBuilder";
public static final String DATA_DEFINATION = "data_defination";
public static final Str... |
/*
* Copyright The Cryostat Authors
*
* The Universal Permissive License (UPL), Version 1.0
*
* Subject to the condition set forth below, permission is hereby granted to any
* person obtaining a copy of this software, associated documentation and/or data
* (collectively the "Software"), free of charge and under ... |
package woniu.cn.libcamera.camera.filter.base;
import android.opengl.GLES20;
import woniu.cn.libcamera.camera.filter.base.gpuimage.GPUImageFilter;
import woniu.cn.libcamera.camera.filter.helper.MagicParams;
import woniu.cn.libcamera.camera.filter.helper.OpenGlUtils;
public class MagicLookupFilter extends GPUImageFil... |
/******************************************************************************
* This research was sponsored by the U.S. Army Research Laboratory and the
* U.K. Ministry of Defence under the Biennial Program Plane 2013 (BPP13),
* Project 6, Task 3: Collaborative Intelligence Analysis.
* The U.S. and U.K. Governmen... |
import java.util.Scanner;
public class PalindromeWords {
public static void main(String[] args) {
// With this program , we will find out if a word is a palindrome or not.
Scanner input = new Scanner(System.in);
System.out.println("Please enter the word you want to know whether it is palindrome or not : ");
... |
package eu.theeconomystupid.gui.effects;
import java.awt.AlphaComposite;
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.awt.image.WritableRaster;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import... |
/*
* Copyright 2013 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 applica... |
/*
* Copyright 2018-2022 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.linkedin.databus.container.netty;
/*
*
* Copyright 2013 LinkedIn Corp. 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/lice... |
/**********************************************************************
Copyright (c) 2008 Andy Jefferson and others. 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://... |
package org.wildfly.swarm.topology.consul.runtime;
import com.orbitz.consul.Consul;
import com.orbitz.consul.HealthClient;
import org.jboss.msc.inject.Injector;
import org.jboss.msc.service.Service;
import org.jboss.msc.service.ServiceName;
import org.jboss.msc.service.StartContext;
import org.jboss.msc.service.StartE... |
package net.ejrbuss.data2;
public class Pair<A, B> {
public static <A, B> Pair<A, B> of(A left, B right) {
return new Pair<>(left, right);
}
private final A left;
private final B right;
private Pair(A left, B right) {
this.left = left;
this.right = right;
}
publi... |
package com.example.innf.volleydemo.model.impl;
import com.example.innf.volleydemo.presenter.impl.OnQueryPhoneNumberListener;
/**
* Author: Inno Fang
* Time: 2016/12/23 22:42
* Description:
*/
public interface IQueryPhoneNumberModel {
void loadPhoneNumberInfo(String phoneNumber, OnQueryPhoneNumberListener li... |
package com.mgireesh;
public class App {
public static void main(String[] args) {
Solution sol = new Solution();
System.out.println(sol.isUgly(0));
System.out.println(sol.isUgly(6));
System.out.println(sol.isUgly(8));
System.out.println(sol.isUgly(14));
System.out.println(sol.isUgly(214797179));
}
} |
/*
*
* SecureCodeBox (SCB)
* Copyright 2015-2018 iteratec 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 req... |
package com.yusuf.bentenmod.core.init;
import com.yusuf.bentenmod.Main;
import net.minecraft.util.RegistryKey;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.registry.Registry;
import net.minecraft.world.DimensionType;
public class DimensionInit {
public static final RegistryKey<DimensionType... |
package com.mongo.entity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class Coordinates {
private double latitude;
private double longitude;
} |
/**
* 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.boot.web.controller.system;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.DeleteMapping;
import... |
package org.batfish.common.util;
import com.fasterxml.jackson.databind.JsonNode;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import org.batfish.common.BatfishException;
/**
* Captures one "row" of the result when a JsonPath query is evaluated. Each row has ... |
/*
* Copyright 1999-2021 Alibaba Group Holding Ltd.
*
* 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 applica... |
package es.codeurjc.catalog.controllers;
import es.codeurjc.catalog.dtos.requests.EmployeeRequestDto;
import es.codeurjc.catalog.dtos.responses.EmployeeResponseDto;
import es.codeurjc.catalog.services.CatalogService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import... |
/*
* 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 br.mfs.service;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import br.mfs.model.ItemCompra;
import br.mfs.repository.ItemCompraRepository;
@Service
public class ItemCompraServiceImpl implement... |
/*
* Copyright 2014 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 applicabl... |
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("dh")
@Implements("SoundEffect3")
public class SoundEffect3 {
@ObfuscatedName("m")
@Export("minimisedCoefficients")
static fl... |
/*
* Tencent is pleased to support the open source community by making
* MMKV available.
*
* Copyright (C) 2018 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use
* this file except in compliance with the License. You may obtai... |
package daggerok.functional;
import daggerok.extensions.CaptureSystemOutput;
import daggerok.extensions.CaptureSystemOutput.OutputCapture;
import daggerok.functional.AnotherResourceHandling.MyResource;
import lombok.SneakyThrows;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import java... |
package com.rup.ureckon;
import android.content.Intent;
import android.media.MediaPlayer;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.VideoView;
import android.view.MenuItem;
import andr... |
/*
* Licensed to the Technische Universität Darmstadt under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The Technische Universität Darmstadt
* licenses this file to you under the Apache License, Versio... |
/*
* Copyright (C) 2003, 2004 Joe Walnes.
* Copyright (C) 2006, 2007, 2011 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
* Created on 25. ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE319_Cleartext_Tx_Sensitive_Info__connect_tcp_driverManager_51a.java
Label Definition File: CWE319_Cleartext_Tx_Sensitive_Info.label.xml
Template File: sources-sinks-51a.tmpl.java
*/
/*
* @description
* CWE: 319 Cleartext Transmission of Sensitive Information
* BadSour... |
/*
* 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... |
package org.ovirt.engine.ui.webadmin.section.main.view.popup.tag;
import org.ovirt.engine.ui.common.editor.UiCommonEditorDriver;
import org.ovirt.engine.ui.common.view.popup.AbstractModelBoundPopupView;
import org.ovirt.engine.ui.common.widget.dialog.SimpleDialogPanel;
import org.ovirt.engine.ui.common.widget.editor.g... |
/*
* 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 exceptions;
/**
*
* @author House
*/
public class NumeroControlRepetidoException extends Exception{
public NumeroContro... |
package com.view;
import com.controller.PlayerAction;
import com.model.card.RumourCard;
import java.util.List;
import java.util.Scanner;
/**
* The type Command line view.
*
* Gives all the methods related to the command line view.
*/
public class CommandLineView implements PassiveView, ActiveView {
/**
... |
package com.nitya.accounter.web.server.countries;
import com.nitya.accounter.web.client.util.DayAndMonthUtil;
import com.nitya.accounter.web.server.util.AbstractCountryPreferences;
public class Croatia extends AbstractCountryPreferences {
@Override
public String[] getStates() {
String[] states = new String[] { "... |
package org.nutz.zdoc.impl.html;
import static org.junit.Assert.assertEquals;
import org.junit.Before;
import org.junit.Test;
import org.nutz.am.AmFactory;
import org.nutz.zdoc.BaseParserTest;
import org.nutz.zdoc.Rendering;
import org.nutz.zdoc.ZDocNode;
import org.nutz.zdoc.impl.MdParser;
public class MarkdownNode... |
/*
* Copyright 2013 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 applica... |
/**
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... |
/*
* Copyright (c) 2010-2018 Osman Shoukry
*
* 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 objectUtils;
import java.util.*;
public class Product extends ArrayList<Product> {
/**
*
*/
private static final long serialVersionUID = 1L;
protected String name;
protected Double price;
protected String description;
protected String img;
public Product() {
super();
}
public Product(String ... |
package com.hsiao.springboot.async;
import com.hsiao.springboot.async.dao.AsyncExecutorTask;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit... |
/**
* 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 android.support.v4.provider;
import android.content.Context;
import android.net.Uri;
class SingleDocumentFile extends DocumentFile {
private Context mContext;
private Uri mUri;
SingleDocumentFile(DocumentFile documentFile, Context context, Uri uri) {
super(documentFile);
this.mCon... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v7/services/account_budget_proposal_service.proto
package com.google.ads.googleads.v7.services;
public interface GetAccountBudgetProposalRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.goo... |
package space.gatt.JavacordCommander;
import com.google.common.base.Splitter;
import de.btobastian.javacord.DiscordAPI;
import de.btobastian.javacord.entities.Server;
import de.btobastian.javacord.entities.User;
import de.btobastian.javacord.entities.message.Message;
import de.btobastian.javacord.entities.permissions.... |
package xyz.msws.nope.modules.trust;
import java.util.UUID;
/**
* TrustRating represents a measurement of a specific aspect of a player,
* whether that be gametime, mob kills, player kills, etc.
*
* @author imodm
*
*/
public interface TrustRating {
/**
* Should return a number between 0-1.
*/
public doub... |
package com.xc.luckysheet.mysql.impl;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.xc.luckysheet.JfGridConfigModel;
import com.xc.luckysheet.db.IRecordSelectHandle;
import com.xc.luckysheet.util.JfGridFileUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.st... |
package cn.edu.zjnu.acm.judge.core;
import java.io.Closeable;
import java.io.IOException;
/**
* @author zhanhb
*/
public interface Executor extends Closeable {
int _O_RDONLY = 0;
int _O_WRONLY = 1;
int _O_RDWR = 2;
int _O_TEMPORARY = 0x0040;
int _O_CREAT = 0x0100;
/* Create the file if it d... |
package com.bennsandoval.config;
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;
/**
* Created by Mackbook on 7/25/15.
*/
public class WebInitializer extends AbstractAnnotationConfigDispatcherServletInitializer {
@Override
protected Class<?>[] getRootCon... |
/*
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: ... |
/*
* Copyright (c) 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 2000-2010 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 wannabit.io.cosmostaion.activities;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView... |
/*
* Copyright 2020 jrosclient project
*
* Website: https://github.com/lambdaprime/jrosclient
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/license... |
package cpm.web.utils.session;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
@AllArgsConstructor
@NoArgsConstructor
@Data
public class IdentificationBean implements Serializable {
private Long id;
private String sessionId;
} |
/*
* 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 B.V. under one or more contributor
* license agreements. See the NOTICE file distr... |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Licensed under the Zeebe Community License 1.1. You may not use this file
* ... |
/*
* Copyright 2016 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 Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.watcher.common.http;
import org.el... |
package com.fishercoder.common.utils;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.SOURCE)
public @interface Notes {
String todo() default "";
String problemReview() default "";
String issue() default "";
String context() default ""... |
package com.lqr.wechat.model.message;
import android.os.Parcel;
import android.text.TextUtils;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.UnsupportedEncodingException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import io.rong.common.ParcelUtils;
import io.rong.iml... |
package com.yiwen.baseactivity;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class SecondActivity extends BaseActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... |
/*
* Copyright 2013 Global Biodiversity Information Facility (GBIF)
* 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 copyTaxon of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by ... |
package dto;
import java.io.Serializable;
public class ListeningDto implements Serializable {
/**
*
*/
private static final long serialVersionUID = -2761990023414004874L;
/**
* LISTENING_ID
*/
private Long listeningId;
/**
* LESSON_COURSE_ID
*/
private Long lessonCourseId;
/**
* LISTENING_TYP... |
package org.openapitools.api;
import java.util.List;
import java.time.OffsetDateTime;
import org.openapitools.model.User;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.s... |
package com.lmy.samples;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(A... |
/*
* Copyright (c) 2020 Arye182
*
* 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 la... |
package hudson.plugins.checkstyle;
import java.io.IOException;
import java.util.Collections;
import java.util.List;
import org.apache.commons.lang.StringUtils;
import org.apache.maven.project.MavenProject;
import org.codehaus.plexus.component.configurator.ComponentConfigurationException;
import org.kohsuke.stapler.Da... |
import javafx.scene.control.*;
import javax.crypto.SealedObject;
import java.lang.*;
import java.io.*;
import java.net.*;
import java.util.Scanner;
import java.math.BigInteger;
class Client {
private SecureConnection secCon = null;
Socket s = null;
ObjectOutputStream oos = null;
ObjectInputStream ois ... |
/**
* Taken from https://dev.bukkit.org/projects/villager-trade-api
*/
package com.gmail.val59000mc.villagerapi;
import org.bukkit.inventory.ItemStack;
public final class VillagerTrade
{
private ItemStack primaryItem;
private ItemStack secondaryItem;
private ItemStack rewardItem;
public Village... |
package top.yertinmc.regioncore;
import top.yertinmc.regioncore.io.ChunkData;
import top.yertinmc.regioncore.io.RegionData;
import java.io.*;
/**
* A loaded region data.
*
* @param <W> The type of <code>World</code>
*/
@SuppressWarnings("unused")
public class LoadedRegionData<W> {
private final WorldRegionD... |
// RobotBuilder Version: 2.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks... |
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python.inspections;
import com.intellij.testFramework.LightProjectDescriptor;
import com.jetbrains.python.fixtures.PyInspectionTestCase;
import com.jetbrain... |
/*
* ====================================================================
* Hotspot compile command annotations
* ====================================================================
* Copyright (C) 2014 Julien Nicoulaud <julien.nicoulaud@gmail.com>
* ===============================================================... |
package com.github.mschroeder.github.jasgl.levelmap.camera;
import com.github.mschroeder.github.jasgl.GameLoop;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.geom.Point2D;
/**
* The camera controls the view port.
* @author Markus Schröder
*/
public abstract class Camera {
protect... |
/*
* Copyright (c) 2017.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* tfast - initial API an... |
package net.chrisrichardson.ftgo.orderservice.sagas.cancelorder;
import io.eventuate.tram.commands.consumer.CommandWithDestination;
import io.eventuate.tram.sagas.orchestration.SagaDefinition;
import io.eventuate.tram.sagas.simpledsl.SimpleSaga;
import net.chrisrichardson.ftgo.accountservice.api.AccountingServiceChann... |
package org.samsklepav.projectone.fileManager;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Environment;
import android.view.View;
import android.widget.*;
import org.samsklepav.projectone.R;
import org.samsklepav.projectone.fileManager.FileType.Files;
/**... |
package com;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import static org.junit.jupiter.api.Assertions.*;
class SupermarketReportTest {
@Test
void reportAggregatesAmount() {
Bill bill = new Bill("Someone");
bill.setPrice(12.5);
Bill anotherBill = new Bill("Another... |
/*
* Copyright 2015-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://aws.amazon.com/apache2.0
*
* or in the "licen... |
/**
* Copyright 2013 Netflix, 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... |
/*
* 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 ma... |
package com.microsoft.azure.mobile.ingestion.models;
import android.support.annotation.VisibleForTesting;
import com.microsoft.azure.mobile.ingestion.models.json.JSONUtils;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONStringer;
import java.util.UUID;
import static com.microsoft.a... |
/*
* Copyright (c) 2019 Baidu, 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 by app... |
package org.infinispan.cli.commands;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import org.aesh.command.CommandDefinition;
import org.aesh.command.CommandException;
import org.aesh.command.CommandResult;
import org.aesh.command.completer.CompleterInvocat... |
package code.ponfee.commons.collect;
import java.util.Arrays;
import org.apache.commons.lang3.ArrayUtils;
/**
* The class use in byte array as hash map key
*
* For HashMap key
*
* @author Ponfee
* @see org.springframework.data.redis.connection.util.ByteArrayWrapper
*/
public final class ByteArrayWrapper imp... |
package fr.ippon.tatami.service;
import fr.ippon.tatami.config.Constants;
import fr.ippon.tatami.domain.User;
import fr.ippon.tatami.repository.*;
import fr.ippon.tatami.security.AuthenticationService;
import fr.ippon.tatami.service.util.DomainUtil;
import fr.ippon.tatami.service.util.GravatarUtil;
import fr.ippon.tat... |
package com.example.ponteapp;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
public class activity_sobre extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setCon... |
/*
* Copyright (c) 2022 Huawei Technologies Co.,Ltd.
*
* openGauss is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS... |
package com.ketai.gmall.sms.controller;
import java.util.Arrays;
import java.util.Map;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;
import com.atguigu.core.bean.Resp;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.