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")... |
package net.minestom.server.entity;
import net.minestom.server.item.attribute.AttributeSlot;
import org.jetbrains.annotations.NotNull;
public enum EquipmentSlot {
MAIN_HAND,
OFF_HAND,
BOOTS,
LEGGINGS,
CHESTPLATE,
HELMET;
public boolean isHand() {
return this == MAIN_HAND || this =... |
/*
* 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... |
package de.danoeh.antennapod.core.storage;
import android.app.backup.BackupManager;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.support.annotation.NonNull;
import android.util.Log;
import org.shred... |
package com.itextpdf.tool.xml.examples.css.letter_spacing.cell;
import com.itextpdf.tool.xml.examples.SampleTest;
public class Letter_spacing_cell01 extends SampleTest {
protected String getTestName() {
return "letter_spacing_cell01";
}
} |
package fg.exercise.repositories;
import fg.exercise.models.entities.Temperature;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.time.LocalDate;
import java.time.Loca... |
/*
* 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 vn.bhxh.bhxhmail.mailstore;
import vn.bhxh.bhxhmail.message.extractors.PreviewResult.PreviewType;
public enum DatabasePreviewType {
NONE("none", PreviewType.NONE),
TEXT("text", PreviewType.TEXT),
ENCRYPTED("encrypted", PreviewType.ENCRYPTED),
ERROR("error", PreviewType.ERROR);
private ... |
package pak;
public class IMC {
double peso;
double altura;
public double obtemIMC(){
double imc = this.peso / this.altura*this.altura;
return imc;
}
public double comparaIMC(double x){
return 0;
}
} |
/**
* 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.vimukti.accounter.core;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.hibernate.Session;
import com.vim... |
package net.bambooslips.demo.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
/**
* Created by Administrator on 2017/4/21.
*/
@ResponseStatus(value= HttpStatus.NOT_FOUND, reason="Post Not Found.")
public class TeamResponsiblePersonNotFoundExceptio... |
/*
*
* Copyright (c) 2020 Stefan Spiska (Vitasystems GmbH) and Hannover Medical School
* This file is part of Project EHRbase
*
* 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
*
* htt... |
/*
* 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 file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-646
// 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: 2017.11... |
package it.tredi.ecm.dao.repository;
import org.springframework.data.repository.CrudRepository;
import it.tredi.ecm.dao.entity.DatiAccreditamentoDiff;
public interface DatiAccreditamentoDiffRepository extends CrudRepository<DatiAccreditamentoDiff, Long> {
} |
/*
* Copyright 2003-2016 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... |
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.rest.model.hateoas;
import org.dspace.app.rest.model.HarvesterMetadataRest;
imp... |
package owltools.sim2;
import static org.junit.Assert.*;
import java.io.IOException;
import java.util.HashSet;
import java.util.Set;
import org.apache.commons.math3.stat.descriptive.SummaryStatistics;
import org.junit.Ignore;
import org.junit.Test;
import org.obolibrary.oboformat.parser.OBOFormatParserException;
imp... |
package atcoder.beginner_100_199.beginner_157;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Random;
import java.util.StringTokenizer;
public final class C {
public static void main(String[] args) {
final FastScanner... |
/**
* Say that a "clump" in an array is a series of 2 or more adjacent elements of the same value.
* Return the number of clumps in the given array.
* ex:
* countClumps([1, 2, 2, 3, 4, 4]) → 2
* countClumps([1, 1, 2, 1, 1]) → 2
* countClumps([1, 1, 1, 1, 1]) → 1
*/
public int countClumps(int[] nums) {
in... |
/*
* This file is part of Nucleus, licensed under the MIT License (MIT). See the LICENSE.txt file
* at the root of this project for more details.
*/
package io.github.nucleuspowered.nucleus.modules.spawn.config;
import io.github.nucleuspowered.nucleus.internal.qsml.NucleusConfigAdapter;
public class SpawnConfigAda... |
import java.util.Scanner;
public class DesafioCalculoDeViajem {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String[] lista = new String[2];
lista = scan.nextLine().split(" ");
int tempoTotal = Integer.parseInt(lista[0]);
int distanciaT... |
package com.inger.market.exception;
/**
* Created by Inno Fang on 2018/4/28.
*/
public class StorageFileNotFoundException extends StorageException {
public StorageFileNotFoundException(Integer status, String message) {
super(status, message);
}
public StorageFileNotFoundException(Integer status,... |
package binarysearch;
public class ListPartitioningWithInequalityRelation {
public int solve(int[] nums) {
int[] minL = new int[nums.length];
minL[nums.length - 1] = nums[nums.length - 1];
for (int i = nums.length - 2; i >= 0; i--) minL[i] = Math.min(minL[i + 1], nums[i]);
int max =... |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.atalk.impl.neomedia.device.util;
import android.graphics.ImageFormat;
import android.hardware.Camera;
import android.text.TextUtils;
import android.view.Surface;
... |
package org.monet.core.crypto;
/**
* Interface for generating keys.
*/
public interface KeyGenerator {
/**
* Creates a random key pair.
*
* @return The key pair.
*/
KeyPair generateKeyPair();
/**
* Derives a public key from a private key.
*
* @param privateKey the private key.
* @return The publ... |
package com.example.app.intentservicetest;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
/**
* Created by jiangzehui on 18/2/27.
*/
public class MyReceiver extends BroadcastReceiver {
CallBack callBack;
public MyReceiver(CallBack back) {
... |
package iavanish.minesweeper.CommonClasses;
import iavanish.minesweeper.PlayGame.Score;
import java.util.*;
import android.database.sqlite.SQLiteDatabase;
import android.app.Activity;
import android.content.Context;
import android.database.Cursor;
/**
* All the DataBase read operations take place over here
*/
... |
package io.github.yxr1024.chinesechess.user.thirdparty.github.api.responses;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
@Data
public class GitHubUser {
private Long id;
private String login;
private String email;
@JSONField(name="avatar_url")
private String avatarUrl;
} |
package de.denkformat.employee;
import de.denkformat.employee.domain.EmployeeRepository;
import de.denkformat.employee.domain.User;
import org.junit.Test;
import org.junit.runner.*;
import static org.junit.Assert.*;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org... |
package com.cleveroad.cyclemenusample;
interface OnItemCycleMenuStateChangedListener {
void onOpen(int position);
void onClose(int position);
} |
package org.batfish.question.testroutepolicies;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkState;
import static org.batfish.datamodel.LineAction.DENY;
import static org.batfish.datamodel.LineAction.PERMIT;
import static org.batfish.datamode... |
package no.nav.modiapersonoversikt.rest;
import kotlin.Pair;
import no.nav.modiapersonoversikt.infrastructure.tilgangskontroll.Policies;
import no.nav.modiapersonoversikt.infrastructure.tilgangskontroll.Tilgangskontroll;
import no.nav.modiapersonoversikt.infrastructure.naudit.AuditIdentifier;
import no.nav.modiaperson... |
package com.bai.account.dao.mapper;
import com.bai.account.dao.provider.RecordSqlProvider;
import com.bai.account.model.persistence.Record;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Many;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;... |
package py.com.sodep.mobileforms.api.dtos;
import java.util.List;
import py.com.sodep.mf.exchange.objects.device.MFDevice;
/**
* Extends the {@link UserDTO} concept with the devices that the user has on a
* given application
*
* @author danicricco
*
*/
public class UserDTODevices extends UserDTO {
/**
* ... |
package com.material.components.activity.menu;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.Toolbar;
import androi... |
package org.jtrim2.collections;
import java.util.List;
import java.util.ListIterator;
/**
* Defines a list whose elements can be referenced independently. These
* {@link RefList.ElementRef element references} remain valid even
* after the list was modified.
* <P>
* The references can be used for various purposes... |
package module241packageJava0;
import java.lang.Integer;
public class Foo423 {
Integer int0;
public void foo0() {
new module241packageJava0.Foo422().foo5();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public void foo4() {
... |
package com.palyrobotics.frc2017.behavior.routines.drive;
import com.palyrobotics.frc2017.behavior.Routine;
import com.palyrobotics.frc2017.config.Commands;
import com.palyrobotics.frc2017.subsystems.Drive;
import com.palyrobotics.frc2017.util.Subsystem;
public class EncoderTurnAngleRoutine extends Routine {
priva... |
/*
* Copyright 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
// ARRAYS:
// used to store list of items
// "new" keyword is used because they are refence type
int[] arrayNum = new int[5];
arrayNum[0] = 2;
arrayNum[1] = 4;
arrayNum[2] = 6;
arrayNum[3] = 8;
//to print all array you have to convert them to strings, otherwise prints
address index:
... |
package top.mowang.shop.coupon.dao;
import top.mowang.shop.coupon.entity.CouponHistoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 优惠券领取历史记录
*
* @author Xuan Li
* @email mowangblog@qq.com
* @date 2021-11-07 13:45:01
*/
@Mapper
public interfa... |
package edu.uci.ics.crawler4j.util;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.function.Function;
import java.util.stream.Collectors;
import com.linkedin.urls.Url;
import com.linkedin.urls.detection.UrlDetector;
import com.linkedin.urls.detection.UrlDetectorOptions;
i... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.auto.test;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger;
import com.google.common.base.Predicate;
import com.google.common.base.Predicates;
import com.google.common.collect.Sets;
... |
/**
* Copyright (c) 2016, The National Archives <pronom@nationalarchives.gsi.gov.uk>
* 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... |
package com.msr.msrshop.product.service.impl;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.msr.... |
/*
* 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 io.mateu.erp.model.product.hotel;
import com.vaadin.data.provider.QuerySortOrder;
import io.mateu.erp.model.authentication.ERPUser;
import io.mateu.erp.model.partners.Agency;
import io.mateu.erp.model.product.hotel.contracting.HotelContract;
import io.mateu.mdd.core.MDD;
import io.mateu.mdd.core.annotations.Ac... |
package galaxyspace.systems.SolarSystem.moons.ganymede.dimension.sky;
import org.lwjgl.opengl.GL11;
import asmodeuscore.core.astronomy.sky.SkyProviderBaseOld;
import galaxyspace.GalaxySpace;
import micdoodle8.mods.galacticraft.api.vector.Vector3;
import net.minecraft.client.renderer.BufferBuilder;
import net.minecraf... |
import java.util.Iterator;
import java.util.Stack;
import java.util.Vector;
class Balanced_Paranthesis {
public void problem(String input_string){
Vector<String> output = new Vector<>();
Stack<Character> sta = new Stack<>();
for(int i = 0;i < input_string.length();i++){
for ... |
/*
* 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 ... |
/*
* MCreator note: This file will be REGENERATED on each build.
*/
package net.mcreator.sword.init;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.event.entity.EntityAttr... |
/*
* Copyright (c) 2015 PocketHub
*
* 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 2006 Webmedia Group 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 agree... |
package com.danielme.jakartaee.cdi.producers;
import jakarta.annotation.PostConstruct;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.inject.Produces;
import jakarta.enterprise.inject.spi.InjectionPoint;
import java.io.IOException;
import java.util.Properties;
@ApplicationScoped
publi... |
package jun.projavawebapp.site;
import com.fasterxml.jackson.annotation.JsonIgnore;
import jun.projavawebapp.site.validation.NotBlank;
import javax.validation.Valid;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import jav... |
package net.thevpc.nuts.runtime.standalone.io.printstream;
import net.thevpc.nuts.NutsPrintStream;
import net.thevpc.nuts.NutsPrintStreamAdapter;
import java.io.PrintStream;
public class PrintStreamFromNutsPrintStream extends PrintStream implements NutsPrintStreamAdapter {
private NutsPrintStream base;
publ... |
package io.singularitynet.sdk.registry;
import java.util.Optional;
import org.web3j.tuples.generated.*;
import java.net.URI;
import java.util.List;
import io.singularitynet.sdk.contracts.Registry;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import static io.singularitynet.sdk.common.Utils.*;
/**
* Clas... |
/*
* ============================================================================
* GNU Lesser General Public License
* ============================================================================
*
* BYDAN - Free Java BYDAN library.
* Copyright (C) 2008
*
* This library is free software; you can redistribute it and/... |
/*
* #%L
* de.metas.shipper.gateway.dhl
* %%
* Copyright (C) 2019 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the
* License, or (at your option) ... |
/*
* Copyright 2016-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... |
/*
* Copyright (c) 2002-2016 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
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
package edu.gatech.chai.omoponfhir.smart.model;
import java.util.List;
public class SmartOnFhirAppListContainer {
private List<SmartOnFhirAppEntry> appEntries;
public List<SmartOnFhirAppEntry> getAppEntries() {
return appEntries;
}
public void setAppEntries(List<SmartOnFhirAppEntry> appEntries) {
this.app... |
package br.com.zup.mercado.livre.ecommerce.security;
import br.com.zup.mercado.livre.ecommerce.usuario.UsuarioModel;
import br.com.zup.mercado.livre.ecommerce.usuario.UsuarioRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
impo... |
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
import org.testng.annotation... |
// Copyright 2000-2018 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.intellij.codeInsight.template.postfix.templates.editable;
import com.intellij.codeInsight.daemon.DaemonCodeAnalyzer;
import com.intellij.codeInsight.template.postfix.... |
/*
* Copyright (c) 2008-2016, 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 ... |
/* Generated By:JJTree: Do not edit this line. ASTAssignAdd.java Version 4.3 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=false,TRACK_TOKENS=false,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package lcr.c2bsv.parser;
public
class ASTAssignAdd extends SimpleNode ... |
/*
* Copyright (c) 2020. https://rxmicro.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
/*
* Copyright 2015 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 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 br.com.livroandroid.playermp3.utils;
import android.graphics.Bitmap;
import android.os.Environment;
import android.os.Looper;
import android.util.Log;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStrea... |
package com.tryonnmoney.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.tryonnmoney.model.Cliente;
import com.tryonnmoney.repository.ClienteDAO;
import com.tryonnmoney.service.ClienteService;
@Service
publ... |
package com.github.dreamhead.moco.resource.reader;
import com.github.dreamhead.moco.Request;
import com.google.common.base.Optional;
import org.junit.Test;
import java.nio.charset.Charset;
import static com.github.dreamhead.moco.Moco.text;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.as... |
package com.sip.api.repositories;
import com.sip.api.domains.availableClass.AvailableClass;
import lombok.NonNull;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface AvailableClassRepository extends JpaRepository<AvailableClass, String> {
@Override
@NonNull... |
package com.danny;
import org.junit.jupiter.api.*;
public class GreetingTest {
private Greeting greeting;
@BeforeAll
public static void beforeClass() {
System.out.println("Before - I am only called Once!!!");
}
@BeforeEach
void setUp() {
System.out.println("In Before Each...... |
package Java2;
public class Square extends Rectangle {
public Square(double side){super(side, side);}
} |
package org.wikipedia.suggestededits;
import java.lang.System;
@kotlin.Metadata(mv = {1, 6, 0}, k = 1, d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002\u... |
// ========================================================================
// $Id: HttpRequest.java,v 1.91 2006/11/23 08:56:52 gregwilkins Exp $
// Copyright 1996-2004 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// Licensed under the Apache License, Version... |
package socialite.logic.parser;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import org.junit.jupiter.api.Test;
import socialite.commons.core.Messages;
impor... |
/*
*
* Copyright 2013 Wei-Ming Wu
*
* 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 i... |
package mdl.sinlov.android.websokcet;
import android.text.TextUtils;
import org.apache.http.message.BasicNameValuePair;
import java.net.URI;
import java.util.Collections;
import java.util.List;
/**
* engine of WebSocket
* <pre>
* sinlov
*
* /\__/\
* /` '\
* ≈≈≈ 0 0 ≈≈≈ Hello world!
* \ ... |
/*
Derby - Class org.apache.derby.impl.sql.compile.CreateTableNode
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 y... |
package com.a8plus1.seen.LookTie;
import android.app.Application;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.... |
/**
* 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) 2012-2016 Markus Junginger, greenrobot (http://greenrobot.org)
*
* 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 co.edu.sena.adsi.jpa.entities;
import co.edu.sena.adsi.jpa.entities.Ciudad;
import co.edu.sena.adsi.jpa.entities.Pais;
import javax.annotation.Generated;
import javax.persistence.metamodel.ListAttribute;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
... |
package org.apache.archiva.admin.repository.networkproxy;
/*
* 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 unde... |
package io.github.oliviercailloux.javaee_jpa_resource_local_servlets.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Item {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE)
private in... |
package com.huonix.simplechat.exceptions;
/**
*
* @author Kepler Vital
*
*/
public class ChatLeaveException extends Exception {
private static final long serialVersionUID = 1L;
public ChatLeaveException() {
super();
}
public ChatLeaveException(String message) {
super(message);
}
} |
package de.t7soft.android.t7home.smarthome.api.exceptions;
public class SHTechnicalException extends SHException {
private static final long serialVersionUID = -1258148678822125774L;
public SHTechnicalException() {
}
public SHTechnicalException(String detailMessage, Throwable throwable) {
super(detailMessage,... |
// This is a generated file. Not intended for manual editing.
package org.rust.lang.core.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface RsTupleExpr extends RsExpr {
@NotNull
List<RsExpr> getExprList();
@NotNull
PsiElement getLparen();
... |
/*
* 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 org.ciedayap.pabmm.pd.context;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind... |
class Solution {
public List<List<Integer>> XXX(int[] nums) {
List<List<Integer>> ans = new ArrayList<>();
boolean[] isVisited = new boolean[nums.length];
dfs(0, nums, new ArrayList<>(), isVisited, ans);
return ans;
}
public void dfs(int j, int[] nums, List<Integer> tmp,
... |
/**
* Copyright (C) 2012-2013 Selventa, Inc.
*
* This file is part of the OpenBEL Framework.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... |
/*
* 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 arctic.cards;
/**
*
* @author Joshua
*/
public class PickaxeCard extends Card{
public PickaxeCard(){
searc... |
/*
* Copyright (c) 2009-2021 jMonkeyEngine
* 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 ... |
//
// ExtraUtilities decompiled and fixed by Robotia https://github.com/Robotia
//
package com.rwtema.extrautils.tileentity.transfernodes;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.Creati... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.