text stringlengths 7 995k |
|---|
package cz.educanet.arena.presentation;
import cz.educanet.arena.data.GladiatorDatabase;
import cz.educanet.arena.logic.Arena;
import cz.educanet.arena.logic.Gladiator;
import java.util.Scanner;
public class ArenaCLI {
private Arena logic;
private Scanner sc;
public void init() {
logic = new Ar... |
package com.nway.spring.jdbc.performance;
import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;
@Slf4j
@Aspect
@Component
public class PerformanceMonitor {
... |
package com.xpcagey.config.element;
import java.time.Instant;
public class InstantElement extends BaseElement<Instant> {
public InstantElement(String key, boolean sensitive, Instant value) {
super(key, sensitive, value);
}
@Override public double getAsDouble() { return value.toEpochMilli(); }
... |
/*
* 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.sql.tree;
import org.elasticsearch.test.ESTes... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package src.GUI;
import java.util.*;
import java.io.*;
public class Standin {
public Standin() {
}
public String queryPlayerMC(String message, ArrayList<String> options) {
System.out.println(message);
for(int i = 0; i < options.size(); i++) {
System.out.println(Integer.toSt... |
package com.telRan.model.tests;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.annotations.Test;
public class EditUserDataTests extends TestBase{
@Test
public void changeAvatarTest() throws InterruptedException {
app.getUser().clickOnAvatar();
app.getSession().pau... |
package mods.belgabor.chiselsbytes.client;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;
/**
* Created by Belgabor on 28.02.2016.
*/
public class TickHandler {
private Boolean pressed = false;
@SubscribeEvent
public void cli... |
package com.example.jms.service.article.jms.messagetypes;
import lombok.*;
import org.springframework.stereotype.Component;
/**
* What's important about this POJO is that it is different from the POJO that was used in sending the message. I added
* the published field to this service only to demonstrate how loosely... |
/*
* * Copyright 2018 github.com/ReflxctionDev
*
* 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... |
/*
* Copyright 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.yilian.mall.ui;
import android.Manifest;
import android.app.Dialog;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.provider.ContactsContract;
import android.support.annotation.NonNull;... |
package cn.aofeng.threadpool4j.job;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.concurrent.atomic.AtomicBoolean;
import cn.aofeng.common4j.ILifeCycle;
/**
* 抽象job类。
*
* @author <a href="mailto:aofengblog@163.com">聂勇</a>
*/
pu... |
// Copyright (c) 2020-2022 Yinsen (Tesla) Zhang.
// Use of this source code is governed by the MIT license that can be found in the LICENSE.md file.
package org.aya.core.pat;
import kala.collection.SeqLike;
import kala.collection.immutable.ImmutableSeq;
import org.aya.core.visitor.Substituter.TermSubst;
import org.aya... |
// Generated by DoPaaS for Codegen, refer: http://dts.devops.wl4g.com
/*
* Copyright 2017 ~ 2025 the original author or authors. <wanglsir@gmail.com, 983708408@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 o... |
/*
* Copyright 2018-2021 Prebid.org, 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 ... |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Licensed under the Zeebe Community License 1.1. You may not use this file
* ... |
package com.example.shareonfoot.util;
import android.content.Context;
import com.example.shareonfoot.R;
import com.theartofdev.edmodo.cropper.CropImage;
import com.theartofdev.edmodo.cropper.CropImageView;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import ja... |
package com.winster.glmall.glmallmember.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.winster.common.utils.PageUtils;
import com.winster.glmall.glmallmember.entity.MemberStatisticsInfoEntity;
import java.util.Map;
/**
* 会员统计信息
*
* @author winster
* @email winsterhandsome@gmail.c... |
/*
* Copyright (c) 2005-2018 Substance Kirill Grouchnikov. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice,
* ... |
package com.springinaction.chapter01.hello;
public class GreetingServiceImpl implements GreetingService{
private String greeting;
public GreetingServiceImpl() {}
public GreetingServiceImpl(String greeting) {
this.greeting = greeting;
}
public void sayGreeting() {
System.out.println(greeting);
}
public void ... |
/*
* Copyright The OpenTelemetry Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
/**
* Copyright 2018-2020 stylefeng & fengshuonan (https://gitee.com/stylefeng)
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
... |
package org.hypergraphdb.app.sail.queryConditions;
import org.hypergraphdb.HGHandle;
import org.hypergraphdb.HGLink;
import org.hypergraphdb.HyperGraph;
import org.hypergraphdb.query.HGAtomPredicate;
import org.hypergraphdb.query.HGQueryCondition;
/**
* created Feb 2, 2010 - 4:51:34 PM
*
* @author IanHolsman
* ... |
/*
* Copyright 2012-2018 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 2021 StreamThoughts.
*
* 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, Vers... |
package com.graphql.java.examples.performance.checks;
import com.google.common.base.Charsets;
import com.google.common.collect.ImmutableMap;
import com.google.common.io.Resources;
import com.graphql.java.examples.performance.checks.instrumentation.InstrumentationFactory;
import graphql.GraphQL;
import graphql.executio... |
/*
* Copyright 2000-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... |
/*
* $Id$
*/
/*
Copyright (c) 2000-2010 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
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... |
///////////////////////////////////////////////////////////////////////////
// __ _ _ ________ //
// / / ____ ____ _(_)____/ | / / ____/ //
// / / / __ \/ __ `/ / ___/ |/ / / __ //
// ... |
package com.rokdcc.diss;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import ja... |
/*
* Copyright 2010-2016 Bas Leijdekkers
*
* 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 EX04FinalExam;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Scanner;
public class EX03HeroesOfCodeAndLogicVII {
static class Hero {
String name;
int hitPoints;
int manaPoints;
public Hero(String name, int hitPoints, int manaPoints) {
... |
package com.harpoontech.demo.web.rest.errors;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* DTO for transfering error message with a list of field errors.
*/
public class ErrorDTO implements Serializable {
private static final long serialVersionUID = 1L;
private fina... |
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("ci")
@Implements("ChatLineBuffer")
public class ChatLineBuffer {
@ObfuscatedName("d"... |
package uk.ac.imperial.doc.gpa.probes;
public class CDF
{
private final double[] values;
private final String name;
private final double stepSize;
public double[] getValues ()
{
return values;
}
public CDF (String name, double stepSize, double[] values)
{
this.name = n... |
package com.yeminnaing.sfc.fragments;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.yeminnaing.sfc.R;
import com.yemin... |
/*
* 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 edu.columbia.main.twitter;
import edu.columbia.main.LanguageDataManager;
import edu.columbia.main.Utils;
import edu.columbia.main.configuration.TwitterKeysConfiguration;
import edu.columbia.main.language_id.LanguageDetector;
import org.apache.log4j.Logger;
import twitter4j.Twitter;
import twitter4j.TwitterExce... |
package Modelo
//created on 16-10-2021 at 8:12:54
//class 'TablaTechos'
public class TablaTechos{
// variables for TablaTechos
private int idtabla_techos;
private String codigo_techos;
// setters and getters for TablaTechos
// setter method for 'idtabla_techos'
public void setidtabla_techos(int idtabla_techos){
... |
package EntityLayer.Oduh;
import com.google.gson.annotations.SerializedName;
public class MesireYeri {
private Long id;
private Long bolgeId;
private String bolgeAdi;
private Long isletmeId;
private String isletmeAdi;
private Long seflikId;
private String seflikAdi;
private Long yil;... |
package bobo.algo;
// Union-Find
public class UnionFind {
// rank[i]表示以i为根的集合所表示的树的层数
// 在后续的代码中, 我们并不会维护rank的语意, 也就是rank的值在路径压缩的过程中, 有可能不在是树的层数值
// 这也是我们的rank不叫height或者depth的原因, 他只是作为比较的一个标准
// 关于这个问题,可以参考问答区:http://coding.imooc.com/learn/questiondetail/7287.html
private int[] rank;
private i... |
package com.example.myclient;
import android.os.IBinder;
import android.os.Parcel;
import android.os.RemoteException;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Administrator on 2017/8/21.
*/
public class MyProXy {
public static final int ADD = 0;
public static final int GET = 1;... |
package com.jonandvirginia.hr.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import... |
package org.nakedobjects.metamodel.specloader.internal;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import org.nakedobjects.metamodel.adapter.Instance;
import org.nakedobjects.metamodel.adapter.NakedObject;
import org.nakedobjects.metamodel.authentication.AuthenticationSession;
... |
// Code generated by lark suite oapi sdk gen
package com.larksuite.oapi.service.sheets.v2.model;
import com.google.gson.annotations.SerializedName;
public class BlockInfo {
@SerializedName("blockToken")
private String blockToken;
@SerializedName("blockType")
private String blockType;
public String... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package xyz.guqing.app.bean.entity.front;
import javax.persistence.MappedSuperclass;
/**
* @author :enilu
* @date :Created in 2019/9/4 14:31
*/
@MappedSuperclass
public class BaseMongoEntity {
} |
package com.young.practice.classloaderUtil;
import android.os.Environment;
import android.os.SystemClock;
import android.util.Log;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
i... |
package com.alibaba.json.bvt.serializer;
import java.io.StringWriter;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.JSONSerializer;
import com.alibaba.fastjson.serializer.SerializeWriter;
import com.alibaba.fastjson.serializer.Seria... |
package com.codepath.apps.restclienttemplate;
import android.content.Context;
import com.codepath.oauth.OAuthBaseClient;
import com.github.scribejava.apis.TwitterApi;
import com.github.scribejava.core.builder.api.BaseApi;
import com.loopj.android.http.AsyncHttpResponseHandler;
import com.loopj.android.http.JsonHttpRe... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v8/services/feed_service.proto
package com.google.ads.googleads.v8.services;
/**
* <pre>
* Request message for [FeedService.GetFeed][google.ads.googleads.v8.services.FeedService.GetFeed].
* </pre>
*
* Protobuf type {@code... |
/*
* 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.kyojo.schemaorg.m3n5.core.impl;
import java.util.ArrayList;
import java.util.List;
import org.kyojo.schemaorg.SimpleJsonBuilder;
import org.kyojo.schemaorg.m3n5.core.Container;
import org.kyojo.schemaorg.m3n5.core.DataType.Text;
import org.seasar.doma.Transient;
public class AVAILABLE_ON_DEVICE implemen... |
package com.quizzly.config;
import com.quizzly.security.AuthoritiesConstants;
import org.springframework.context.annotation.Configuration;
import org.springframework.messaging.simp.SimpMessageType;
import org.springframework.security.config.annotation.web.messaging.MessageSecurityMetadataSourceRegistry;
import org.spr... |
/*
* 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 ... |
// FCMOD
package net.minecraft.src;
public class FCItemBlockTorchFiniteBurning extends FCItemBlockTorchBurning
{
static private final float m_fChanceOfGoingOutFromRain = 0.0025F;
static public final int m_iMaxDamage = 32; // Setting this low helps reduce SMP updates
static public final float m_fD... |
package uk.oczadly.karl.csgsi.state.components;
import com.google.gson.*;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import org.junit.Test;
import java.lang.reflect.Type;
import java.util.List;
import static org.junit.Assert.*;
public class EnumValueTest {
... |
/*
* 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 no.priv.garshol.duke.comparators;
import org.junit.Before;
import org.junit.Test;
import static junit.framework.Assert.assertEquals;
public class WeightedLevenshteinTest {
private WeightedLevenshtein.DefaultWeightEstimator e;
@Before
public void setup() {
e = new WeightedLevenshtein.DefaultWeightE... |
package com.uwork.happymoment.mvp.social.chat.model;
import android.content.Context;
import com.uwork.happymoment.BuildConfig;
import com.uwork.happymoment.api.ApiService;
import com.uwork.happymoment.mvp.social.chat.bean.FriendDetailBean;
import com.uwork.happymoment.mvp.social.chat.contract.IGetFriendDetailContract... |
package com.nutrition.express.download;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.media.AudioManager;
import android.os.Bundle;
import android.os.IBinder;
import android.support.annotation.Nullable;
impo... |
/*L
* Copyright Moxie Informatics.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/calims/LICENSE.txt for details.
*/
/**
*
*/
package gov.nih.nci.calims2.business.administration.unit;
import java.util.List;
import java.util.Map;
import gov.nih.nci.calims2.dao.Generic... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package be.gestatech;
import javax.ejb.LocalBean;
import javax.ejb.Stateless;
/**
* @author martin
*/
@Stateless
@LocalBean
public class NewSessionBean {
public void businessMethod() {
}
// Add business... |
package consulting.pigott.wordpress.model;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
@JsonSerialize(using = EnumSerializer.class)
@JsonDeserialize(using = FormatDeserializer.class)
public enum Format {
STANDARD,
ASIDE,
... |
/*
* Copyright 2019 Web3 Labs 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 to in w... |
/*
* Copyright 2002-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 ap... |
package tech.powerjob.samples.tester;
import tech.powerjob.common.WorkflowContextConstant;
import tech.powerjob.worker.core.processor.ProcessResult;
import tech.powerjob.worker.core.processor.TaskContext;
import tech.powerjob.worker.core.processor.sdk.BasicProcessor;
import org.springframework.stereotype.Component;
i... |
package com.xeiam.xchange.examples.bitso.marketdata;
import com.xeiam.xchange.Exchange;
import com.xeiam.xchange.ExchangeFactory;
import com.xeiam.xchange.bitso.BitsoExchange;
import com.xeiam.xchange.bitso.dto.marketdata.BitsoOrderBook;
import com.xeiam.xchange.bitso.service.polling.BitsoMarketDataServiceRaw;
import ... |
package seedu.address.ui;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.layout.VBox;
import seedu.address.model.card.ExpiringCard;
/**
* An UI component that displays information of a {@code ExpiringCard}.
*/
public class ExpiringCardCard extends CardCard {
@FXML
private V... |
/*
* The MIT License
* Copyright © 2014-2019 Ilkka Seppä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, copy... |
/*
* Copyright (C) 2014 Alfons Wirtz
* website www.freerouting.net
*
* 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 3 of the License, or
* (at your option) a... |
package org.firstinspires.ftc.teamcode;
import android.graphics.Color;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
@Autonomous(name = "Red Beacons Autonomous", group = "OpMode")
public class RedBeaconsAutonomous extends BeaconsAutonomous {
@Override
public boolean shouldShoot() {
retu... |
/*
* 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 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 "license" ... |
/**
* 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) 2014, 2016, 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 ... |
package org.apache.spark.metrics.sink;
private class GraphiteSink implements org.apache.spark.metrics.sink.Sink {
public java.util.Properties property () { throw new RuntimeException(); }
public com.codahale.metrics.MetricRegistry registry () { throw new RuntimeException(); }
// not preceding
public Graphi... |
package it.pwned.telegram.bot.api.method;
import it.pwned.telegram.bot.api.type.ParseMode;
import org.springframework.core.io.Resource;
import org.springframework.http.HttpMethod;
import it.pwned.telegram.bot.api.AbstractApiMethod;
import it.pwned.telegram.bot.api.method.annotation.ApiMethod;
import it.pwned.telegram... |
/*
* This file is part of the DITA Open Toolkit project.
*
* Copyright 2019 Jarno Elovirta
*
* See the accompanying LICENSE file for applicable license.
*/
package org.dita.dost.invoker;
import java.util.ArrayDeque;
import java.util.Arrays;
import java.util.Deque;
public class PluginsArguments extends Argument... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
//$Id: Group.java 7628 2005-07-24 06:55:01Z oneovthafew $
package org.hibernate.te... |
/**
* 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 2015 The Bazel Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... |
package org.basex.io.out;
import java.io.*;
import org.basex.data.*;
import org.basex.io.*;
/**
* This class allows a blockwise output of the database table.
*
* @author BaseX Team 2005-19, BSD License
* @author Christian Gruen
* @author Tim Petrowsky
*/
public final class TableOutput extends OutputStream {
... |
package com.fpliu.newton.ui.list.item;
import android.view.View;
import android.view.ViewGroup;
import com.fpliu.newton.ui.list.R;
import com.fpliu.newton.ui.list.ViewHolder;
/**
* 粗的分割线
*
* @author 792793182@qq.com 2016-06-12.
*/
public class FatDividerItem extends Item<FatDividerItem> {
@Override
publ... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package com.acessment.frondend;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class FrondendApplicationTests {
@Test
void contextLoads() {
}
} |
package notes;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.io.IOException;
import javax.swing.JC... |
package headfirstdesignpatterns.state.v2;
class GumballMachine {
private Output output;
private State soldOutState;
private State noQuarterState;
private State hasQuarterState;
private State soldState;
private State winnerState;
private State state;
private int numberGumballs = 0;
... |
package com.qrcode.camera;
import java.util.regex.Pattern;
import android.content.Context;
import android.graphics.Point;
import android.hardware.Camera;
import android.os.Build;
import android.util.Log;
import android.view.Display;
import android.view.WindowManager;
/**
* 作�?: 陈涛(1076559197@qq.com)
* <p>
* 时间: 2... |
/*
* Copyright 2010-2012 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 "l... |
package com.snails.jsoup;
import com.snails.jsoup.util.XssFilter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import java.... |
import com.sun.org.apache.xpath.internal.SourceTree;
/**
* Created by ENG on 19/02/2022.
*/
public class Test {
public static void main(String[] args) {
SinglyLinkedList<String>list=new SinglyLinkedList<String>();
System.out.println(list.Size());
list.addFirst(" Yousra");
list.ad... |
/*
* Copyright 2002-2019 Drew Noakes and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... |
/*
* Copyright (C) 2012-2020 Zach Melamed
*
* Latest version available online at https://github.com/zach-m/jonix
* Contact me at zach@tectonica.co.il
*
* 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 ... |
package com.nth.DynamicSpringBatchSchedule;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class AppTests {
@Test
void contextLoads() {
}
} |
/*
* Copyright 2004-2010 the Seasar Foundation and the Others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
/*
* Copyright (c) 2014, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: ... |
package com.simibubi.create.foundation.tileEntity.behaviour.linked;
import java.util.function.Function;
import java.util.function.IntConsumer;
import java.util.function.IntSupplier;
import org.apache.commons.lang3.tuple.Pair;
import com.simibubi.create.Create;
import com.simibubi.create.content.logistics.RedstoneLin... |
package fr.insee.pogues.transforms;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.Map;
import javax.annotation.PostConstruct;
import org.ap... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.