text stringlengths 7 995k |
|---|
package com.github.nijian.jkeel.dsls.expression;
public class Bean {
private int x;
private int y;
public int getX() {
return x;
}
public void setX(int x) {
this.x = x;
}
public int getY() {
return y;
}
public void setY(int y) {
this.y = y;
}
} |
package com.beautifulsoup.driving.dto;
import com.beautifulsoup.driving.common.DrivingConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import javax.validat... |
package ru.example.patterns.factory;
/**
* Class FactoryCar
* Фабрика для автомобилей
*
* @author Kaleganov Alexander
* @since 15 дек. 20
*/
public abstract class FactoryCar {
public Car createCar() {
Car car = getCar();
car.drive();
return car;
}
public abstract Car getCar()... |
/*
* Copyright 2014-2015 See AUTHORS file.
*
* 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 module915packageJava0;
import java.lang.Integer;
public class Foo182 {
Integer int0;
Integer int1;
public void foo0() {
new module915packageJava0.Foo181().foo3();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
} |
package com.spldeolin.allison1875.da.deprecated.core.processor;
import static com.spldeolin.allison1875.da.deprecated.DocAnalyzerConfig.CONFIG;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.module.jsonSchema.JsonSchema;
import com.fasterxml.jackson.module.jsonSchema.JsonSchemaGenera... |
/*
* Copyright 2012 Kevin Gaudin
*
* 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 ca.uhn.fhir.parser;
import ca.uhn.fhir.parser.json.JsonLikeValue.ScalarType;
import ca.uhn.fhir.parser.json.JsonLikeValue.ValueType;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2018 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* yo... |
package yalantis.com.sidemenu.model;
import yalantis.com.sidemenu.interfaces.Resourceble;
/**
* Created by Konstantin on 23.12.2014.
*/
public class SlideMenuItem implements Resourceble {
private String name;
private int imageRes;
private String itemName;
public SlideMenuItem(String name, int image... |
package {{package}};
import java.util.List;
import org.springframework.http.ResponseEntity;
public interface IController<T> {
public ResponseEntity<T> create(T n);
public List<T> getAll();
public List<T> getAllBySomeId(String id);
public T getOne(String id);
public T update(String id, T n);
... |
package rapaio.printer.format;
import org.junit.Before;
import org.junit.Test;
import rapaio.core.*;
import rapaio.core.distributions.*;
import rapaio.data.*;
import rapaio.datasets.*;
import java.io.IOException;
import static org.junit.Assert.*;
/**
* Created by <a href="mailto:padreati@yahoo.com">Aurelian Tutuia... |
package svenhjol.charm.brewing.feature;
import net.minecraft.init.Items;
import net.minecraft.init.PotionTypes;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.Ingredient;
import net.minecraft.potion.PotionHelper;
import net.minecraft.potion.PotionType;
import net.minecraftforge.fml.common.even... |
// 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.video.timeline;
import android.widget.ImageView;
import androidx.annotation.Nullable;
import java.io.File;
public interface ImageLoader {
void load(@Nullable File file, ImageView into);
} |
/*
* Copyright 2015-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright 2015-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... |
/*******************************************************************************
* Copyright (c) 2005, 2015 BEA Systems, Inc.
* 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 avail... |
package jhtpeo.ed10.chapter06.fig0606;
public class RandomIntegers {
} |
/*
* Copyright 2020 original 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 agreed to... |
package com.xm.testmvp.data.datastore;
import javax.inject.Inject;
/**
* created on 2019/1/26.
* author:wangkezhi
* email:45436460@qq.com
* summary:
*/
public class MainCloudDataStore implements IMainDataStore {
@Inject
public MainCloudDataStore() {
}
@Override
public String getString() {
... |
package controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Created by pzh.fan on 2017/1/17.
*/
public interface Controller {
String handleRequest(HttpServletRequest request, HttpServletResponse response);
} |
package mobi.chouette.exchange.netexprofile.exporter.producer;
import mobi.chouette.common.Context;
import mobi.chouette.common.TimeUtil;
import mobi.chouette.exchange.netexprofile.Constant;
import mobi.chouette.exchange.netexprofile.ConversionUtil;
import mobi.chouette.exchange.netexprofile.exporter.ExportableData;
i... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
/*
* This file is part of Cube.
*
* The MIT License (MIT)
*
* Copyright (c) 2020-2022 Cube Team.
*
* 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 with... |
package ring.imp;
import operations.simple.IOperation;
import ring.IRing;
import rules.IValidationRule;
import java.util.LinkedList;
import java.util.List;
/**
* Created by Rakovskyi Dmytro on 17.07.2017.
*/
public class RingBuilder<T> {
private IOperation<T> multOperation;
private IOperation<T> sumOperati... |
/*
* 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 (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
package org.xdef.impl.parsers;
import org.xdef.XDContainer;
import org.xdef.XDParser;
import org.xdef.XDValue;
/** Parser of X-Script "jvalue" type.
* @author Vaclav Trojan
*/
public class XDParseJValue extends XSParseUnion {
private static final String ROOTBASENAME = "jvalue";
public XDParseJValue() {
super()... |
/*
* 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... |
package io.netconfessor;
import java.io.*;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.*;
/**
* A configuration element sub-tree. Makes it possible to create and/or
* manipulate an element tree. The element tree is then to be used to issue
* NETCONF operati... |
/**
* Copyright ${license.git.copyrightYears} 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/LICEN... |
package gov.cms.qpp.conversion.validate;
import static com.google.common.truth.Truth.assertThat;
import static com.google.common.truth.Truth.assertWithMessage;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
import org.junit.jupite... |
package view;
import javafx.scene.control.Button;
public abstract class Clickable<T> {
abstract T getClickable ();
} |
package cruise.pooled.statemachine.test;
import org.junit.Assert;
import org.junit.Test;
public class PooledStateMachine_timedEvent
{
@Test
public void numberOfMessagesInMessageType()
{
// compare the number of messages in MessageType is equal to the number of events in State Machine except timed events an... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
/*
* Copyright 2017 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... |
package com.droidteahouse.oauthkit;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
/**
* Created by sabine on 9/20/16.
*/
public abstract class OAuthLoginActivity extends FragmentActivity
implements OAuthBaseClient.OAuthAccessHand... |
package de.fluchtwege.nflashcards.features;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import de.fluchtwege.nflashcards.features.boundaries.DataSource;
import de.fluchtwege.nflashcards.features.interactors.GetCard;
import de.fluchtwege.n... |
package net.fabricmc.example;
import net.fabricmc.api.ModInitializer;
public class ExampleMod implements ModInitializer {
@Override
public void onInitialize() {
System.out.println("Hello Fabric world!");
System.out.println(System.getProperty("fabric.loom.test.space"));
// Quit now, we dont need to load the ... |
package planner.manager;
import java.io.*;
import java.util.*;
public class IO {
/** Write fixed content to the given file.
* @param fileName
* @param data
* @throws IOException
*/
@SuppressWarnings("rawtypes")
public static void write(String fileName, List data) throws IOException {
PrintWriter out = ne... |
package videoIgre;
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
import java.io.IOException;
import java.nio.charse... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.09.... |
/*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... |
package net.naari3.offershud.config;
import me.shedaniel.autoconfig.ConfigData;
import me.shedaniel.autoconfig.annotation.Config;
import net.naari3.offershud.OffersHUD;
@Config(name = OffersHUD.MODID)
public class ModConfig implements ConfigData {
public boolean enabled = true;
public boolean ignoreNoProfessi... |
/*
* 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.oddjob.arooa.parsing;
import org.oddjob.arooa.*;
import org.oddjob.arooa.deploy.BeanDescriptorHelper;
import org.oddjob.arooa.reflect.ArooaClass;
import org.oddjob.arooa.reflect.PropertyAccessor;
import org.oddjob.arooa.xml.XMLArooaParser;
/**
* Provide support for Cutting and Pasting from any form of pa... |
package org.sazani.collect.android.widgets.utilities;
import androidx.annotation.NonNull;
import org.sazani.collect.android.utilities.FileUtil;
import java.io.File;
public class FileWidgetUtils {
private FileWidgetUtils() {
}
public static String getDestinationPathFromSourcePath(@NonNull String sourc... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.c... |
// Copyright 2011-2016 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 ... |
// 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 2018 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 app... |
// Copyright (c) YugaByte, Inc.
package com.yugabyte.yw.controllers;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
import java.util.stream.Collectors;
import com.google.common.collect.Immutabl... |
package eu.trentorise.game.api.rest;
import static eu.trentorise.game.api.rest.ControllerUtils.decodePathVariable;
import java.net.URLDecoder;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.spr... |
package com.robotoworks.mechanoid.db.generator;
import com.google.common.base.Objects;
import com.google.inject.Inject;
import com.robotoworks.mechanoid.db.generator.SqliteDatabaseSnapshot;
import com.robotoworks.mechanoid.db.generator.SqliteDatabaseStatementGenerator;
import com.robotoworks.mechanoid.db.sqliteModel.C... |
package uk.gov.justice.digital.delius.jwt;
import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
@ApiResponses({
@ApiResponse(code = 200, message = "Happy p... |
/**
*/
package substationStandard.LNNodes.LNGroupR.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import substationStandard.Dataclasses.INC;
import substationStandard.Da... |
/*
* 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... |
/**
* @(#)BeanProperty.java, 10月 11, 2019.
* <p>
*
*/
package io.github.skycloud.fastdao.core.reflection;
import java.lang.annotation.Annotation;
import java.util.List;
/**
* @author yuntian
*/
class BeanProperty {
private String name;
private Class type;
private String getterName;
private S... |
package org.quickstart.spring.boot.netty.action.client.vo.req;
import org.quickstart.spring.boot.netty.action.common.req.BaseRequest;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
* Function:
*
* @author crossoverJie
* Date: 2018/05/21 15:56
* @since JD... |
/*
* 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 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... |
package com.sisllc.mathformulas.ci.ch17.Question17_12;
import java.util.Arrays;
public class FindAllPairsFromArrayToSpecificSum {
public static void printPairSums(int[] array, int sum) {
Arrays.sort(array);
int first = 0;
int last = array.length - 1;
while (first < last) {
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__long_console_readLine_multiply_51b.java
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-51b.tmpl.java
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: console_readLine Read data from the console ... |
/*******************************************************************************
* Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0... |
package com.platypii.baseline.views;
import com.platypii.baseline.Intents;
import com.platypii.baseline.R;
import com.platypii.baseline.Services;
import com.platypii.baseline.cloud.AuthState;
import com.platypii.baseline.jarvis.AutoStop;
import com.platypii.baseline.util.Analytics;
import com.platypii.baseline.util.Co... |
package com.kj.mcesi.block.tileentity;
import java.util.ArrayList;
import com.kj.mcesi.MCESI;
import com.kj.mcesi.block.blocks.KBlockTest;
import com.kj.mcesi.block.container.ContFurnace;
import com.kj.mcesi.craft.MachineCraft;
import com.kj.mcesi.craft.MachineCraftRegistry;
import com.kj.mcesi.proxy.ModBlocks;
impo... |
package models;
import java.util.List;
public interface RecipientMessage {
String getId();
List<String> getRecipientUserIds();
} |
/**
* <a href="http://www.openolat.org">
* OpenOLAT - Online Learning and Training</a><br>
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at the
* <a href="http://www.apache... |
package com.example.weizifen.coolweather;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout;
import android.... |
/*
* Copyright © 2020 Richard de Jong
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
/*
* Copyright 2017-2019 original 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... |
/*
* Copyright (c) 2018 - 2020 - Frank Hossfeld
*
* 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... |
/**
* Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.solutions.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.Collection... |
package com.threatconnect.sdk.parser.result;
import java.util.List;
import com.threatconnect.sdk.model.Item;
import com.threatconnect.sdk.parser.source.DataSource;
public class PageResult<I extends Item> extends Result<I>
{
// holds the data source for the next page to parse
private DataSource nextDataSource;
@... |
package cn.leo.redis.main;
import java.util.Date;
import java.util.List;
import cn.leo.redis.util.JedisUtil;
import cn.leo.redis.util.PropsHelper.PropKeyEnum;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.Pipeline;
public class JedisPoolMain {
public static void main(String[] args) {
String host =... |
package com.ksmart.common.dto;
import lombok.Data;
import lombok.experimental.Accessors;
@Data
@Accessors(chain = true)
public class Condition {
private String name;
private Object value;
private String direction;
} |
package com.gildedrose;
public abstract class ItemUpdater {
protected Item item;
public ItemUpdater(Item item) {
this.item = item;
}
public void age() {
item.sellIn = item.sellIn - 1;
}
protected void decreaseQuality(Item item, int decrement) {
item.quality = Math.ma... |
package com.hbm.items.tool;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.EnumHand;
import net.minecraft.world.World;
public interface IItemAbility {
public void breakExtraBlock(World world, int x, int y, int z, EntityPlayer player, int refX, int refY, int refZ, EnumHand hand);
} |
/*
* Copyright © 2016 Cask Data, 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 t... |
package mage.cards.b;
import java.util.UUID;
import mage.MageInt;
import mage.Mana;
import mage.abilities.Ability;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.costs.common.SacrificeSourceCost;
import mage.abilities.effects.common.continuous.GainAbilityAllEffect;
import mage.abilities.mana.S... |
copyright ibm corporation rights reserved program accompanying materials terms eclipse license accompanies distribution http eclipse org legal epl html contributors ibm corporation initial api implementation org eclipse jdt search org eclipse search text match callback report matches serves bottleneck minimal report ma... |
package com.mtx.common.util.cache;
/**
* 缓存的key集合
*/
public interface CacheKey {
/**
* ConstantFactory中的缓存
*/
String BIZ_DICT_CODE = "biz_dict_code_";
/**
* Properties缓存
*/
String BIZ_PROP_CODE = "biz_prop_code_";
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.messaging.servicebus;
import java.util.UUID;
/**
* Type representing the lock-token.
*/
public interface MessageLockToken {
/**
* Gets the lock token.
*
* @return {@link UUID} repre... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered.org <http://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... |
/*
* Copyright 2015-2018 Jeeva Kandasamy (jkandasa@gmail.com)
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://... |
package me.iwf.photopicker.utils;
import android.content.Context;
import android.database.Cursor;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.Loader;
import java.util.ArrayList;
import java.util.List;
import me... |
package android.example.com.visualizerpreferences;
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... |
package top.misec.task;
import com.google.gson.JsonObject;
import lombok.extern.log4j.Log4j2;
import top.misec.apiquery.ApiList;
import top.misec.utils.HttpUtil;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Random;
import static top.misec.... |
/*
* Copyright 2016 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... |
package org.oagi.score.repo.component.graph;
import org.oagi.score.gateway.http.api.graph.data.Node;
import java.util.List;
public interface GraphContext {
List<Node> findChildren(Node node, boolean excludeUEG);
} |
package com.github.scribejava.core.oauth;
import java.io.IOException;
import java.util.concurrent.Future;
import com.github.scribejava.core.builder.api.DefaultApi20;
import com.github.scribejava.core.extractors.OAuth2AccessTokenJsonExtractor;
import com.github.scribejava.core.httpclient.HttpClient;
import com.github.s... |
/*
* Copyright (C) 2021 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... |
/*
* Copyright DataStax, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... |
/*
* Copyright 2016 Adaptris 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 applicable law or agreed t... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
package com.homework_remind_33552;
import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;
im... |
package com.athaydes.autolayer;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Parser of Auto-Layer descriptors.
*/
public class DescriptorParser {
public AutoL... |
package com.darkhouse.shardwar.Logic.GameEntity.Spells;
import com.darkhouse.shardwar.Logic.GameEntity.GameObject;
import com.darkhouse.shardwar.Logic.GameEntity.Spells.Effects.Effect;
import com.darkhouse.shardwar.Player;
import com.darkhouse.shardwar.ShardWar;
import com.darkhouse.shardwar.Tools.AssetLoader;
import ... |
package pokecube.nbtedit.gui;
import java.awt.Color;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.lwjgl.glfw.GLFW;
import org.lwjgl.opengl.GL11;
import net.minecraft.client.Minecraft;
import net.minecraft.client.audio.SimpleSound;
import net.minecraft.client.gui.Abstrac... |
/*
* 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 ... |
/*
* The MIT License (MIT)
*
* Copyright © 2013-2021 Florian Barras <https://barras.io> (florian@barras.io)
*
* 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, inclu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.