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"); you may... |
/*
* File: AbstractConfusionMatrix.java
* Authors: Justin Basilico
* Company: Sandia National Laboratories
* Project: Cognitive Foundry Learning Core
*
* Copyright January 17, 2011, Sandia Corporation.
* Under the terms of Contract DE-AC04-94AL85000, there is a... |
package edu.fiuba.algo3.modelo.etapa;
import edu.fiuba.algo3.modelo.excepciones.*;
import edu.fiuba.algo3.modelo.carta.Carta;
import edu.fiuba.algo3.modelo.geografia.Pais;
public class SegundaEtapaInicial extends Etapa{
private FaseInicial fase;
private final int fichasIniciales = 3;
public SegundaEtapaI... |
package com.android.launcher3.pageindicators;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
impor... |
package com.tumblr.jumblr.types;
import java.util.Map;
/**
* This class represents a post of type "text"
* @author jc
*/
public class TextPost extends SafePost {
private String title;
private String body;
/**
* Get the title of this post
* @return the title
*/
public String getTitl... |
/*
* 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.dropwizard.jetty.setup;
import io.dropwizard.jetty.MutableServletContextHandler;
import org.eclipse.jetty.http.MimeTypes;
import org.eclipse.jetty.security.SecurityHandler;
import org.eclipse.jetty.server.session.SessionHandler;
import org.eclipse.jetty.servlet.FilterHolder;
import org.eclipse.jetty.servlet... |
package org.rapidpm.vaadin.trainer.modules.mainview.calc;
import com.vaadin.addon.charts.Chart;
import com.vaadin.addon.charts.model.*;
import com.vaadin.ui.*;
import com.vaadin.ui.Label;
import org.rapidpm.frp.model.serial.Pair;
import org.rapidpm.vaadin.trainer.api.property.PropertyService;
import org.rapidpm.vaadin... |
/*
* Copyright (c) 2007, 2019, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except ... |
package quimufu.custom_text_colors.mixin.menu_screens;
import net.minecraft.client.font.TextRenderer;
import net.minecraft.client.gui.screen.world.OptimizeWorldScreen;
import org.apache.logging.log4j.Level;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowe... |
package com.cerner.jwala.common.domain.model.jvm;
import org.junit.Test;
import com.cerner.jwala.common.domain.model.jvm.JvmControlOperation;
import com.cerner.jwala.common.exception.BadRequestException;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class JvmControlO... |
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.commercial.models;
import com.aliyun.tea.*;
public class Policy extends TeaModel {
// 政策id
@NameInMap("policy_id")
@Validation(required = true)
public String policyId;
// 政策名称
@NameInMap("policy_name"... |
package ru.ac.uniyar.testingcourse;
import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.util.LinkedList;
import static org.junit.Assert.*;
import static org.assertj.core.api.Assertions.*;
@RunWith(JUnitParamsRunner.class)
public cl... |
/*
* 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.swingeasy;
/**
* @author Jurgen
*/
public class ETreeTableConfig extends EComponentConfig<ETreeTableConfig> {
protected boolean editable;
public boolean isEditable() {
return editable;
}
public ETreeTableConfig setEditable(boolean editable) {
this.editable = editable;
... |
/*
* AJD4JP
* Copyright (c) 2011-2015 Akira Terasaki
* このファイルは同梱されているLicense.txtに定めた条件に
* 同意できる場合にのみ利用可能です。
*/
package ajd4jp;
import ajd4jp.util.*;
/**
* 曜日を表します。
*/
public enum Week implements OffProvider.Off {
/** 日曜 */
SUNDAY( 0, "Sun", "Sunday", "日" ),
/** 月曜 */
MONDAY( 1, "Mon", "Monday", "月" ),
/... |
package net.renfei.dao.entity;
import java.util.Date;
public class WeiboDO {
private Long id;
private String content;
private Long imgId;
private Date releaseTime;
private Long views;
private Long thumbsUp;
private Long thumbsDown;
public Long getId() {
return id;
}
... |
package at.o2xfs.memory.databind.annotation.win32;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import at.o2xfs.memory.databind.annotation.MemoryAnnotationsInside;
import at.o2xfs.memory.databind.annotation.MemoryDeserialize;
import at.o2xfs.memory.databind.annotation.MemorySeri... |
/*
* 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) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
* w... |
// HTMLParser Library - A java-based parser for HTML
// http://htmlparser.org
// Copyright (C) 2006 Somik Raha
//
// Revision Control Information
//
// $URL: https://htmlparser.svn.sourceforge.net/svnroot/htmlparser/tags/HTMLParserProject-2.1/parser/src/main/java/org/htmlparser/tags/StyleTag.java $
// $Author: derricko... |
package com.example.oss.autoconfigure;
import com.aliyun.oss.ClientConfiguration;
import com.aliyun.oss.OSSClient;
import com.aliyun.oss.common.comm.Protocol;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.beans.factory.Initiali... |
package org.infinispan.commands.write;
import org.infinispan.commands.CommandInvocationId;
import org.infinispan.commands.Visitor;
import org.infinispan.commons.equivalence.Equivalence;
import org.infinispan.configuration.cache.Configuration;
import org.infinispan.container.entries.CacheEntry;
import org.infinispan.co... |
/*
* 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.evelopers.mapviewer.ui;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.ColorMatrix;
import android.graphics.ColorMatrixColorFilter;
import android.graphics.Paint;
i... |
/* DigiDoc4J library
*
* This software is released under either the GNU Library General Public
* License (see LICENSE.LGPL).
*
* Note that the only valid version of the LGPL license as far as this
* project is concerned is the original GNU Library General Public License
* Version 2.1, February 1999
*/
package org.digi... |
package com.esotericsoftware.SpineLatency;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.FloatArray;
import com.badlogic.gdx.utils.Pool;
import com.esotericsoftware.SpineLatency.attachments.Attachment;
import com.esotericsoftware.SpineLatency.attachments.BoundingBoxAttachment;
public class Skelet... |
/*
* Copyright (c) 1997, 2021 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: ... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
package com.atguigu.gmall.pms.service.impl;
import org.springframework.stereotype.Service;
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.atguigu.gmall.common.bean.P... |
/*
* 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.clockbyte.admobadapter.sampleapp.banner;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import... |
package module964packageJava0;
import java.lang.Integer;
public class Foo128 {
Integer int0;
public void foo0() {
new module964packageJava0.Foo127().foo4();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public void foo4() {
... |
package org.hisp.dhis.dataelement;
/*
* Copyright (c) 2004-2015, 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 co... |
package {{packageName}}.config.logging;
import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.AfterThrowing;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annot... |
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotat... |
// 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 guru.springframework.spring5webapp.model;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
@Entity
public class Book {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
private String title;
private String isbn;
private String publisher;
... |
package initializers;
import initializers.schemaBuilders.*;
import models.SchemaDef;
import repository.SchemaDefRepository;
import javax.inject.Inject;
import javax.inject.Singleton;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
@Singleton
class DevelopmentInitializer {
priv... |
/**
* 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.firstinspires.ftc.teamcode.Subsystems.Paths.Depot;
import com.qualcomm.robotcore.hardware.DcMotor;
import org.firstinspires.ftc.robotcore.external.Telemetry;
import org.firstinspires.ftc.teamcode.Control.AutonomousOpMode;
import org.firstinspires.ftc.teamcode.Control.Constants;
import org.firstinspires.ft... |
package cn.yiya.shiji.activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.helper.ItemTouchHelper;
import android.view.Gravity;
import andro... |
package service;
import com.mongodb.BasicDBObject;
import com.mongodb.DBObject;
import org.bson.types.ObjectId;
import org.joda.time.DateTime;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.core.aggregation.Aggregation;
import org.springframework.data.mongodb.core.aggregation.Aggre... |
/*
* 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.pcl.service.schedule;
import java.io.File;
import java.io.SequenceInputStream;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.TimeUnit;
import org.slf4j.Logger;
import org.slf4j.LoggerF... |
// The MIT License (MIT)
// Copyright © 2015 AppsLandia. 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 without limitation the rights
... |
// Targeted by JavaCPP version 1.5.1: DO NOT EDIT THIS FILE
package org.bytedeco.caffe;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
import static org.bytedeco.openblas.global.openblas.*;
import org.bytedec... |
package com.buguagaoshu.community.util;
import java.security.SecureRandom;
import java.util.regex.Pattern;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class BCryptPasswordEncoder implements PasswordEncoder {
private Pattern BCRYPT_PATTERN;
private final Log log... |
package com.contratus.app.security;
import java.util.Collections;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.UserDe... |
package com.super404.communication.chapter5_4;
public class Main {
public static void main(String[] args) {
Thread thread = new Thread(() -> {
System.out.println(Thread.currentThread().getName()+"开始运行");
try {
Thread.sleep(3000L);
} catch (InterruptedExce... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.slm;
import org.apache.logging.lo... |
package com.breadwallet.tools.sqlite;
/**
* BreadWallet
* <p/>
* Created by Mihail Gutan <mihail@breadwallet.com> on 9/25/15.
* Copyright (c) 2016 breadwallet LLC
* <p/>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Sof... |
package com.example.user.simpleui;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
i... |
package org.infinispan.hadoop;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.mapreduce.JobContext;
import org.apache.hadoop.mapreduce.OutputCommitter;
import org.apache.hadoop.mapreduce.OutputFormat;
import org.apache.hadoop.mapreduce.RecordWriter;
import org.apache.hadoop.mapreduce.TaskAttempt... |
package org.jetbrains.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(value = ElementType.METHOD)
@Retention(value = RetentionPolicy.CLASS)
public @interface NonBlocking {} |
package org.sbolstandard.entity.test;
import java.io.IOException;
import java.net.URI;
import java.util.List;
import org.sbolstandard.TestUtil;
import org.sbolstandard.api.SBOLAPI;
import org.sbolstandard.entity.Component;
import org.sbolstandard.entity.Identified;
import org.sbolstandard.entity.Metadata;
import org.... |
package com.humanharvest.organz.controller.administrator;
import static org.junit.Assert.assertEquals;
import javafx.scene.input.KeyCode;
import com.humanharvest.organz.Administrator;
import com.humanharvest.organz.controller.ControllerTest;
import com.humanharvest.organz.state.State;
import com.humanharvest.organz.... |
package com.coolweather.android.gson.mx;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class MWeatherInfo {
public String code;
public String message;
public String redirect;
@SerializedName("value")
public List<SingleCityWeather> valuesList;
} |
import org.bytedeco.javacpp.*;
import org.bytedeco.systems.global.*;
public class TestAVX {
public static void main(String[] args) {
int AVXbit = 0x10000000;
int AVX2bit = 0x20;
boolean hasAVX = false;
boolean hasAVX2 = false;
String platform = Loader.getPlatform();
... |
/*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... |
/*
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
*
* Subject to the condition set forth below, permission is hereby granted to any
* person obtaining a copy of this s... |
package ch.so.agi.gretl.util;
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import java.io.File;
public class FileStylingDefinitionTest {
@Rule
public TemporaryFolder folder = new TemporaryFolder();
@Test
public void checkEncoding_O... |
/*******************************************************************************
* Copyright 2012 Apigee Corporation
*
* 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.... |
/*
* Copyright (c) 2011-2018, Meituan Dianping. All Rights Reserved.
*
* 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... |
/*
*AVISO LEGAL
© Copyright
*Este programa esta protegido por la ley de derechos de autor.
*La reproduccion o distribucion ilicita de este programa o de cualquiera de
*sus partes esta penado por la ley con severas sanciones civiles y penales,
*y seran objeto de todas las sanciones legales que correspondan.
*Su conteni... |
/**
* (c) raptor_MVK, 2014. All rights reserved.
*/
package ru.mvk.iluvatar.dao;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.io.Serializable;
import java.util.List;
public interface Dao<EntityType, PrimaryKeyType extends Serializable> {
@NotNull
PrimaryKeyType... |
package com.ensoftcorp.open.commons.analyzers;
import java.util.Comparator;
import java.util.LinkedList;
import java.util.List;
import com.ensoftcorp.atlas.core.db.graph.Graph;
import com.ensoftcorp.atlas.core.db.graph.Node;
import com.ensoftcorp.atlas.core.query.Q;
import com.ensoftcorp.atlas.core.script.Common;
imp... |
/*
* Copyright 2017-2022 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 Paul Rybitskyi, paul.rybitskyi.work@gmail.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 requir... |
package edu.harvard.seas.pl.abcdatalog.util.graph;
/*-
* #%L
* AbcDatalog
* %%
* Copyright (C) 2016 - 2021 President and Fellows of Harvard College
* %%
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Re... |
package com.pengtao.netty.server;
/**
* create pengtao
**/
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
/**
* <b>标题: </b><br />
* <pre>
* </pre>
*
* @author 毛宇鹏
* @date 创建于 上午9:14 2018/4/25
*/
public class ServerHandler extends SimpleChannelInboundHan... |
/*******************************************************************************
* Copyright 2011, 2012 Chris Banes.
*
* 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.apac... |
package com.lqr.wechat.ui.activity;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.TextView;
import com.lqr.wechat.R;
import com.lqr.wechat.ui.base.BaseActi... |
package io.deephaven.db.v2.tuples.generated;
import io.deephaven.datastructures.util.SmartKey;
import io.deephaven.db.util.BooleanUtils;
import io.deephaven.db.util.tuples.generated.FloatByteByteTuple;
import io.deephaven.db.v2.sources.ColumnSource;
import io.deephaven.db.v2.sources.WritableSource;
import io.deephaven... |
package com.wlp.gulimall.coupon.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 首页轮播广告
*
* @author wlp
* @email wlp@gmail.com
* @date 2021-07-20 17:14:38
*/
@Data
@Ta... |
package com.github.bingoohuang.excel2beans;
import lombok.Cleanup;
import lombok.SneakyThrows;
import lombok.val;
import org.junit.Test;
import static com.google.common.truth.Truth.assertThat;
public class ExcelToBeansUtilsTest {
@Test @SneakyThrows
public void test() {
@Cleanup val wb = PoiUtil.getC... |
package me.retrodaredevil.solarthing.solar;
public final class BatteryUtil {
private BatteryUtil() { throw new UnsupportedOperationException(); }
public static int getNumberOfCells(float batteryVoltage) {
if (batteryVoltage < 18.0) { // 12V
return 6;
} else if (batteryVoltage < 33.0) { // 24V
return 12;
... |
package com.lv.materialanimdemo;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
public class TwoActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(sa... |
package de.uni.freiburg.iig.telematik.swat.patterns.gui;
import java.awt.Component;
import javax.swing.BoxLayout;
import javax.swing.JComboBox;
import javax.swing.JPanel;
import de.uni.freiburg.iig.telematik.swat.patterns.logic.patterns.parameter.Parameter;
public abstract class ParameterValuePanel extends JPanel {... |
// package com.taotao.cloud.uc.biz.service.impl;
//
// import cn.hutool.core.bean.BeanUtil;
// import cn.hutool.core.collection.CollUtil;
// import cn.hutool.core.util.ObjectUtil;
// import com.baomidou.mybatisplus.core.toolkit.Wrappers;
// import com.taotao.cloud.common.exception.BaseException;
// import com.taotao.cl... |
package configuration;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
public class PropertiesLoader {
private Logger logger = LogManager.getLogger(Proper... |
package com.example.cyanlauncher;
import android.app.Activity;
//import android.app.Fragment;
//import android.app.FragmentManager;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.os.Bundle;
public abstract class Sin... |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package com.QYun.Spine;
import com.badlogic.gdx.ApplicationAdapter;
public class Universal extends ApplicationAdapter {
public static byte Range;
private static SuperSpine Runtimes;
public void reload() {
if (Runtimes != null)
Runtimes.reload();
}
@Override
public void cr... |
// **********************************************************************
// This file was generated by a TAF parser!
// TAF version 3.0.0.34 by WSRD Tencent.
// Generated from `/usr/local/resin_system.mqq.com/webapps/communication/taf/upload/noahyang/wmarket.jce'
// ****************************************************... |
/*
* Copyright (c) 2006-2017 DMDirc Developers
*
* 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, mer... |
package org.gbif.checklistbank.neo.printer;
import org.gbif.checklistbank.neo.traverse.StartEndHandler;
/**
*
*/
public interface TreePrinter extends StartEndHandler, AutoCloseable {
/**
* We prefer no exceptions in close()
*/
@Override
void close();
} |
/*
* 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 ro.ase.csie.cts.g1088.dp.decorator;
public abstract class SuperErou {
String nume;
int puncteViata;
public SuperErou(String nume, int puncteViata) {
super();
this.nume = nume;
this.puncteViata = puncteViata;
}
public abstract int getPuncteViata();
public abstract void alearga();
public abstr... |
/**
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
package com.microsoft.dynamics.customerinsights.apiclient.models;
/**
* The instance creation request.
*/
public class InstancesV2PostRequest extends InstanceC... |
/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.contracts.core.extensible;
import org.joda.time.DateTime;
import java.io.Serializable;
import com.fasterxml.jackson.annotati... |
/*
* Copyright (c) 2020 gematik GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
package org.ovirt.engine.ui.webadmin.section.main.view.tab.quota;
import java.util.Comparator;
import javax.inject.Inject;
import org.ovirt.engine.core.common.businessentities.Quota;
import org.ovirt.engine.core.common.businessentities.QuotaStorage;
import org.ovirt.engine.core.common.utils.SizeConverter;
import org... |
package buoy.event;
import buoy.widget.*;
import java.awt.event.*;
/**
* This is an event corresponding to a window ceasing to be the active window.
*
* @author Peter Eastman
*/
public class WindowDeactivatedEvent extends WidgetWindowEvent
{
/**
* Create a WindowDeactivatedEvent.
*
* @param source ... |
package com.linklab.inertia.besic;
/*
* Imports needed by the system to function appropriately
*/
import android.annotation.SuppressLint;
import android.preference.PreferenceActivity;
import android.preference.PreferenceFragment;
import android.preference.PreferenceManager;
import android.preference.EditTextPreferen... |
package com.projectbarbel.histo.persistence.mongo;
import java.util.function.Function;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.projectbarbel.histo.BarbelHistoBuilder;
import org.projectbarbel.histo.BarbelHistoContext;
import org.proj... |
/*
* Copyright 2018 flow.ci
*
* 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 wr... |
/**
* 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 m... |
/*
* Copyright 2017-2022 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 org.baeldung.shell.simple;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.URL;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.springframework.shell.Bootst... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.