text stringlengths 7 995k |
|---|
package com.tibiawiki.process;
import com.tibiawiki.domain.enums.InfoboxTemplate;
import com.tibiawiki.domain.factories.ArticleFactory;
import com.tibiawiki.domain.factories.JsonFactory;
import com.tibiawiki.domain.repositories.ArticleRepository;
import org.json.JSONObject;
import org.junit.jupiter.api.BeforeEach;
imp... |
/*
* Copyright (c) 2019-2021 GeyserMC. http://geysermc.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy,... |
/*
* Copyright 2015 Open Networking Laboratory
*
* 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... |
/*
* 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 hiren.com.listify;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.ListView;
import com.raizlabs.andr... |
package me.imdanix.caves.util;
import me.imdanix.caves.compatibility.VMaterial;
import org.bukkit.Color;
import org.bukkit.Material;
import org.bukkit.inventory.EquipmentSlot;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.LeatherArmorMeta;
import java.util.ArrayList;
import java.util.Arrays;... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.application.container;
import ai.vespa.modelintegration.evaluator.OnnxEvaluator;
import com.yahoo.application.Application;
import com.yahoo.application.Networking;
import com.yahoo.application.con... |
package no.kantega.id.dk;
import no.kantega.id.api.Gender;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.Collection;
@RunWith(Parameterized.class)
public class Female1800DanishIdNumberTest extends AbstractDan... |
package CodeForces;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
* Created by sahil on 18/10/17.
*/
public class SoliderBanana {
public static void main(String[] arg){
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
... |
package com.newrelic.jfr.tosummary;
import static com.newrelic.jfr.tosummary.PerThreadObjectAllocationInNewTLABSummarizer.JFR_OBJECT_ALLOCATION_IN_NEW_TLAB_ALLOCATION;
import static com.newrelic.jfr.tosummary.PerThreadObjectAllocationInNewTLABSummarizer.THREAD_NAME;
import static com.newrelic.jfr.tosummary.PerThreadOb... |
package com.unknowablebits.sewipro.buffer.impl;
import java.nio.ByteBuffer;
/**
* A Lazy Loading Byte Buffer Record
*/
public class Record {
private static final Object OBJECT_MISSING = new Object();
private ByteBuffer buffer;
private Object value;
public Record(ByteBuffer buffer) {
this.buffer = buffer;
... |
/*
* Copyright (c) 2016 Uber Technologies, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, me... |
package com.cehome.easysync.objects.config;
public class EsConfig {
private MysqlSource mysqlSource;
private Es es;
private EsMapping esMapping;
private Rebuild rebuild;
private Repair repair;
public MysqlSource getMysqlSource() {
return mysqlSource;
}
public void setMysqlSour... |
package org.togglz.googleclouddatastore.repository;
import com.google.cloud.datastore.Datastore;
import com.google.cloud.datastore.Entity;
import com.google.cloud.datastore.Key;
import com.google.cloud.datastore.KeyFactory;
import com.google.cloud.datastore.Value;
import com.google.common.base.Preconditions;
import co... |
/*
* 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... |
/*
* 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 java_basics.aula25;
public class TesteCarro25 {
public static void main(String[] args) {
Carro van = new Carro();
van.marca = "Fiat";
van.modelo = "Ducato";
van.numPassageiros = 10;
van.capCombustivel = 100;
van.consumoCombustível = 0.2;
Carro fusc... |
package org.jgroups.blocks;
import java.io.Closeable;
import java.io.IOException;
public interface Connection extends Closeable {
public boolean isOpen();
public boolean isExpired(long milis);
public void close() throws IOException;
} |
package com.jcohy.sample.java.juc;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicReference;
import java.util.concurrent.atomic.AtomicStampedReference;
/**
* Copyright : 2017- www.jcohy.com Created by jcohy on 21:38 2019/4/17 Email:
* jia_chao23@126.com ClassName: ABADemo Description... |
/*
* Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
// -- This file was mechanically generated: Do not edit! -- //
package java.nio;
import java.io.FileD... |
package de.loc.graphics;
import com.badlogic.ashley.core.Component;
import com.badlogic.gdx.math.Vector3;
public class ParticleComponent implements Component {
public final String particlePath;
public Vector3 particlePosition;
public ParticleComponent(String particlePath, Vector3 particlePosition) {
... |
/*
* Copyright 1999-2018 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 com.java.study.algorithm.zuo.emiddle.class07;
public class Code05_ConvertEveryKNodesInList{
} |
/*
* Copyright (c) 2008-2022, 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 ... |
package com.yongjian.gdufszhushou.Adapter;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.yongjian.gdufszhushou.Model.Course;
import com.yongjian.gdufszhushou.R;
import org.jsoup.select.Evaluator;
... |
package peacefulotter.engine.utils;
public class Time
{
private static final long SECOND = (long) Math.pow( 10, 9 );
public static double getNanoTime() { return System.nanoTime() / (double) SECOND; }
} |
package klasyOrazMetody;
/**
* Created by Piotr Dzwiniel.
*
* Odcinek 8_1
* "Wprowadzenie do klas"
*
* Odcinek 8_2
* "Wprowadzenie do metod"
*
* Odcinek 8_3
* "Przeciazanie konstruktorow i metod"
*/
public class FabrykaProstokatow {
public static void main(String[] args) {
Prostokat prostokatNu... |
package com.alibaba.datax.plugin.reader.kudureader;
import com.alibaba.datax.common.spi.ErrorCode;
public enum KuduReaderErrorCode implements ErrorCode {
REQUIRED_VALUE("KuduReader-00", "您缺失了必须填写的参数值."),
ILLEGAL_VALUE("KuduReader-01", "您配置的值不合法."),
UNEXCEPT_EXCEPTION("UNEXCEPT_EXCEPTION","未知异常");;
p... |
package com.planet_ink.coffee_mud.Abilities.Common;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.Common.CraftingSkill.CraftParms;
import com.planet_ink.coffee_mud.Abilities.Com... |
package com.xiaoliang.framework;
import java.io.Serializable;
public class URL implements Serializable {
private String hostname;
private Integer port;
public URL(String hostname, Integer port) {
this.hostname = hostname;
this.port = port;
}
public String getHostname() {
... |
/**
* 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 ... |
/*
* Copyright (C) 2021 TD.Miracle(584290367@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.a... |
package com.myblog.Dao;
import com.myblog.Pojo.Blog;
import com.myblog.Pojo.User;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
public class UserDaoImpl implements UserDao {
@Override
public void writeblog(Blog blog) {
Connection conn = null;
PreparedStatement ps = nul... |
// Generated by OABuilder
package test.xice.tsac.model.oa;
import java.sql.*;
import com.viaoa.object.*;
import com.viaoa.hub.*;
import com.viaoa.util.*;
import com.viaoa.annotation.*;
import com.viaoa.util.OADateTime;
import test.xice.tsac.model.oa.filter.*;
import test.xice.tsac.model.oa.propertypath.*;
@OAClass... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.ml.action;
import org.apache.logging.log4j.Lo... |
package com.kickstarter.services;
import android.support.annotation.NonNull;
/**
* An exception class wrapping a {@link retrofit2.Response}.
*/
public class ResponseException extends RuntimeException {
private final retrofit2.Response response;
public ResponseException(final @NonNull retrofit2.Response respons... |
/*
* Copyright (c) 2004-2022, University of Oslo
* 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 cond... |
/*
* ART
*
* Copyright 2019-2022 ART
*
* 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... |
/*
* Marketing API
* Marketing API
*
* OpenAPI spec version: 1.3
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.tencent.ads.model;
import com.google.gson.Gson;
import com.go... |
package com.ivankocijan.magicviews.views;
import com.ivankocijan.magicviews.R;
import com.ivankocijan.magicviews.interfaces.MagicView;
import com.ivankocijan.magicviews.utils.FontUtils;
import com.ivankocijan.magicviews.utils.AttrsUtils;
import android.content.Context;
import android.support.v7.widget.AppCompatMultiA... |
/*
* 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.jd.touchib;
/**
* 普通经理
* Created by weip on 2019/2/28.
*/
public class OrdinaryManager extends Manager{
public OrdinaryManager() {
super(Manager.ORDINARY_MANAGER);
}
@Override
protected void response(Staff staff) {
System.out.println("OrdinaryManager");
System.... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.instrumentation.vaadin;
import com.google.auto.value.AutoValue;
import io.opentelemetry.instrumentation.api.tracer.SpanNames;
@AutoValue
public abstract class VaadinServiceRequest {
public stati... |
package im.actor.messenger.app.fragment.group;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.widget.Toast;
import im.actor.messenger.R;
import im.actor.messenger.app.Intents;
import im.actor.messenger.app.fragment.contacts.BaseContactFragment;
import ... |
/* ChangeLog:
7.16.2002 - code Clean up.
*/
package org.beShare.gui.prefPanels;
import java.awt.*;
/**
* Interface for responding to changes in the preferences.
*/
public interface JavaSharePrefListener {
// General Preferences
public void autoAwayTimerChange(int time, int selectedIndex); // -1 represents disabl... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2010, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... |
package com.fasterxml.jackson.core.io;
/**
* Eisel-Lemire ParseFloat Algorithm for Java (https://arxiv.org/abs/2101.11408)
*
* This implement follows this link:
* https://nigeltao.github.io/blog/2020/eisel-lemire.html
*/
public final class EiselLemire {
// powers of 10 which are exactly representable with IEE... |
/*
* Copyright 2002-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 ap... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
package dbtest;
import org.mybatis.guice.XMLMyBatisModule;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.inject.Binder;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.zzstack.paas.underlying.dbclient.ActiveStandbyDBSrcPool;
import dbtest.service.BaseDataAcc... |
/*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package examples.spring.mybatis.config;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.cors.CorsConfiguration;
import org.springframework.web.cors.UrlBase... |
package ru.codewars.chall;
public class Hello {
public String sayHello(String[] name, String city, String state) {
//code here
Hello h = new Hello();
String t = "";
for (String s : name)
t += s + " ";
return "Hello," + " " + t.substring(0, t.length() - 1) + "!" +... |
package hr.fer.oprpp1.hw04.db;
/**
* This interface represents a filter used for filtering {@link StudentRecord}.
*
* @author Petra
*
*/
@FunctionalInterface
public interface IFilter {
/**
* Checks if the filter accepts the given student record.
*
* @param record a student record
* @return <code>true<... |
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
package com.twilio.rest.api.v2010.account.usage.record;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.an... |
package com.tools.core.comparator;
import com.tools.core.comparator.VersionComparator;
import org.junit.Assert;
import org.junit.Test;
/**
* 版本比较单元测试
*
* @author looly
*
*/
public class VersionComparatorTest {
@Test
public void versionComparatorTest1() {
int compare = VersionComparator.INSTANCE.compare("1.2... |
package com.wufan.myshop.plus.business.configure;
import com.wufan.myshop.plus.business.service.UserDetailsServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.AuthenticationManager;
import org.... |
/*
* (c) Copyright 2018 Palantir Technologies 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 ... |
/*
* Check Point 2.16
*/
package chapter02.check_point;
/**
*
* @author emaph
*/
public class CheckPoint02_16 {
// 2.16.1 Can different types of numeric values be used together in a computation?
// Yes.
// 2.16.2 What does an explicit casting from a double to an int do with the fractional part
//... |
package com.portal.z.common.domain.service;
import java.io.IOException;
import java.nio.file.FileSystem;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.... |
package org.hl7.fhir.r4.model.codesystems;
/*
Copyright (c) 2011+, HL7, Inc.
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 copyr... |
/*
* SoapUI, Copyright (C) 2004-2016 SmartBear Software
*
* Licensed under the EUPL, Version 1.1 or - as soon as they will be approved by the European Commission - subsequen
* versions of the EUPL (the "Licence");
* You may not use this work except in compliance with the Licence.
* You may obtain a copy of the Li... |
package tachyon.hadoop;
import org.apache.hadoop.fs.Path;
import org.junit.Assert;
import org.junit.Test;
import java.net.URI;
public final class UtilsTest {
@Test
public void testGetPathWithoutSchema() {
final Path path = new Path("/foo/bar/baz");
final String output = Utils.getPathWithoutScheme(path)... |
// Modifications copyright (C) 2017, Baidu.com, Inc.
// Copyright 2017 The Apache Software Foundation
// 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. ... |
package io.openlineage.spark.agent.transformers;
import io.openlineage.spark.agent.OpenLineageSparkListener;
import java.io.ByteArrayInputStream;
import java.lang.instrument.ClassFileTransformer;
import java.lang.instrument.IllegalClassFormatException;
import java.security.ProtectionDomain;
import javassist.ClassPool;... |
/*
* Copyright 2013-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 ap... |
package mltk.predictor;
import mltk.core.Instance;
/**
* Interface for classifiers that predicts the class probabilities.
*
* @author Yin Lou
*
*/
public interface ProbabilisticClassifier extends Classifier {
/**
* Returns the class probabilities.
*
* @param instance the instance to predict.
* @retu... |
package com.spon.utils.util;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.SimpleDateFormat;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
... |
/*
* Copyright (c) 1997, 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
/*
* Copyright Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags and
* the COPYRIGHT.txt file distributed with this work.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
package org.xiyou.leetcode.leetcode;
import java.util.Arrays;
/**
* @author xiyouyan
* @date 2020-06-24 14:27
* @description
*/
public class MyMinOrMaxPriorityQueue {
private Integer[] arr;
//当前容量
private int size;
//容量
private int capacity;
private boolean min;
//设置最大容量是100
p... |
package cn.hutool.http.server;
import cn.hutool.core.lang.Console;
import cn.hutool.core.net.multipart.UploadFile;
import cn.hutool.http.ContentType;
import cn.hutool.http.HttpUtil;
public class SimpleServerTest {
public static void main(String[] args) {
HttpUtil.createServer(8888)
// 设置默认根目录,
.setRoot("d... |
/*******************************************************************************
* Copyright 2016 Jalian Systems Pvt. 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:... |
/*
* The MIT License
*
* Copyright 2013 gburdell.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify... |
package org.jboss.resteasy.client.jaxrs.engines;
import java.io.ByteArrayOutputStream;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.nio.ByteBuffer;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;
import j... |
/*
* The MIT License
*
* Copyright 2016 Focused Ultrasound Foundation.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... |
package com.tumblr.jumblr.types;
public class Trail {
private BlogInTrail blog;
private IdInTrail post;
private String content_raw, content;
private boolean is_current_item, is_root_item;
public BlogInTrail getBlog() {
return blog;
}
public IdInTrail getPost() {
return... |
/*
* Copyright 2012 Ericsson AB
*
* 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... |
/*****************************************************************
* 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
* ... |
package org.jetbrains.plugins.scala.project;
import com.intellij.util.xmlb.annotations.AbstractCollection;
import com.intellij.util.xmlb.annotations.Tag;
import java.util.Arrays;
/**
* @author Pavel Fatin
*/
public class ScalaLibraryPropertiesState {
// We have to rely on the Java's enumeration for serialization... |
/*
* Copyright (C) 2012 United States Government as represented by the Administrator of the
* National Aeronautics and Space Administration.
* All Rights Reserved.
*/
package gov.nasa.worldwind.util;
import javax.xml.XMLConstants;
import javax.xml.namespace.NamespaceContext;
import java.util.*;
/**
* BasicNamesp... |
package com.ice.studenttogether.controller;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.Properties;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
public class PhotoPathUtil {
private static fina... |
package com.stephenfong.servercertificateverification;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
... |
package org.javainaction.interval;
import java.util.*;
/**
* For ‘K’ employees, we are given a list of intervals representing the working hours of each employee.
* Our goal is to find out if there is a free interval that is common to all employees.
* You can assume that each list of employee working hours is sorte... |
/*
* Copyright 2020 ICE project
*
* Website: https://github.com/lambdaprime/ICE
*
* 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 com.salama.service.auth;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import MetoXML.Util.DataClassFinder;
import com.salama.service.auth.base.LoginEntryPoint;
import com.salama.service.auth.base.LoginUserService;
import com.salama.... |
package com.example.android.errorlevel;
import android.util.Log;
/**
* This class is used to error level log messages
*/
public class LogUtils {
private static final String LOG_TAG = "Error-Level";
public static final void e(String message) {
Log.e(LOG_TAG, message);
}
} |
package me.ordepdev.consumer;
enum Size {
SMALL, MEDIUM, LARGE
} |
/*
* Copyright (c) Jim Coles (jameskcoles@gmail.com) 2018 through present.
*
* Licensed under the following license agreement:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Also see the LICENSE file in the repository root directory.
*/
package org.jkcsoft.space.lang.ast;
/**
* Tells the Space runtime ... |
/*
* Copyright 2000-2009 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... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*
* Copyright (C) 2020 Bandyer S.r.l. All Rights Reserved.
* See LICENSE.txt for licensing information
*/
package com.bandyer.demo_android_sdk.exceptions;
import android.util.Log;
import androidx.annotation.NonNull;
import com.bandyer.android_sdk.exceptions.BandyerUnhandledExceptionBroadcastReceiver;
import com... |
/*
* 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.atguigu.gulimall.cart.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer;
import org.springframework.data.redis.serializer.RedisSerializer;
import org.sp... |
/*
* 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 gui;
import burp.IBurpExtenderCallbacks;
import javax.swing.*;
public class UIMain extends JTabbedPane {
private IBurpExtenderCallbacks callbacks;
private UIHowTo howTo;
private UIAbout about;
public UIMain(IBurpExtenderCallbacks callbacks) {
this.callbacks = callbacks;
in... |
/*
* Copyright 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.foodapp;
import android.os.Bundle;
import com.facebook.react.ReactActivity;
import com.facebook.react.ReactActivityDelegate;
import com.facebook.react.ReactRootView;
import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
import expo.modules.splashscreen.singletons.SplashScreen;
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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.