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... |
// This is a generated file. Not intended for manual editing.
package software.amazon.smithy.intellij.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface SmithyMap extends SmithyAggregateShape, SmithyElement {
@Nullable
SmithyDocumentation getDocum... |
/*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.example.coolweather.gson;
import com.google.gson.annotations.SerializedName;
/**
* Created by 张奥运 on 2017/1/21.
*/
public class Now {
@SerializedName("tmp")
public String temperature;
@SerializedName("cond")
public More more;
public class More {
@SerializedName("txt")
... |
package fullcontact.contacts.api.requests.contacts;
import fullcontact.contacts.api.requests.APIRequest;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
public class SearchContactsRequest extends APIRequest {
@Getter @Setter public String searchQuery;
@Getter @Setter public String searchCu... |
// Copyright (C) 2015 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
package gt.research.mht;
import gt.research.crypto.Crypto_Utils;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.io.StringWriter;
import java.io.Writer;
import java.security.cert.CertificateFactory;
import java.s... |
//---------------------------------------------------------------------------------------------------------------------
// Copyright (C) 2015-2020, Joseph M. G. Tsai
// under the terms of the Apache License, Version 2.0 (ALv2),
// found at http://www.apache.org/licenses/LICENSE-2.0
//-----------------------------------... |
package application;
import java.net.Socket;
import java.util.ArrayList;
import java.util.HashMap;
class Model {
private ArrayList<Socket> clients = new ArrayList<>();
private HashMap<Socket, String> hm = new HashMap<>();
private ArrayList<String> nicknames = new ArrayList<>();
public HashMap<Socket, String> Ge... |
package com.shawnclake.morgencore.core.component.interactables;
import com.shawnclake.morgencore.core.component.events.EventsService;
import com.shawnclake.morgencore.core.component.messages.Message;
import com.shawnclake.morgencore.core.component.messages.StringMessage;
import com.shawnclake.morgencore.core.component... |
package com.planmill.api.datahelper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* Created by konstantin.petrukhnov@planmill.com on 2017-06-15.
*/
@SpringBootApplication
public class AppConfig {
public static void main(String[] args... |
package com.whatakitty.jmore.framework.bootstrap.event;
import org.springframework.boot.SpringApplication;
import org.springframework.core.env.ConfigurableEnvironment;
public class JMoreEnvironmentPreparedEvent extends JMoreApplicationEvent {
private final ConfigurableEnvironment environment;
/**
* Cre... |
package org.apache.archiva.proxy.common;
/*
* 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 Lic... |
package accufiresystems.rangemaster;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.Box;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JSpinner;
import javax.swing.... |
package com.sd.lib.animator.listener;
import android.animation.Animator;
import android.view.View;
public class ResetListener extends FLifecycleAnimatorListener
{
public ResetListener(Lifecycle lifecycle)
{
super(lifecycle);
}
public ResetListener(Lifecycle lifecycle, View target)
{
... |
/*
* Copyright 2021-2022 Aklivity Inc.
*
* Aklivity 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.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
/*
* Copyright 2021 EPAM Systems.
*
* 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 applicable law or agreed t... |
package com.example.subastaya.apimodels;
import com.google.gson.annotations.Expose;
public class Shipping {
@Expose
private Boolean free_shipping;
@Expose
private String mode;
public Boolean getFree_shipping() {
return free_shipping;
}
public void setFree_shipping(Boolean free_shipping) {
this.free_shipping = free... |
/*
* 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.kazale.pontointeligente.api.repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;
import com.kazale.pontointeligente.api.entities.Empresa;
public interface EmpresaRepository extends JpaRepository<Empresa, Long> {
@Tr... |
/**
* Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.pricer.swaption;
import static com.opengamma.strata.market.curve.interpolator.CurveInterpolators.LINEAR;
import static com.opengamma.strata.pricer.swapt... |
package stashpullrequestbuilder.stashpullrequestbuilder;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import hudson.model.Result;
import stashpullrequestbuilder.stashpullrequestbuilder.stash.StashApiClient;
import stashpullrequestbuilder.stashpullrequestbuilder.stash.StashPullRequestComment;
import stash... |
/**
* 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 the Lic... |
package roombooking;
import checkin.*;
import com.jfoenix.controls.JFXButton;
import com.jfoenix.controls.JFXTextField;
import hotel.Reservation;
import hotel.Room;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import j... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package androidx.coordinatorlayout;
public final class R {
private R() {}
public static final class attr {
private att... |
/*
* 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>.
*/
package org.hibernate.engine.jdbc.dialect.spi;
import java.sql.DatabaseMetaData;
i... |
package org.iq80.leveldb.slice;
import org.iq80.leveldb.util.VariableLengthQuantity;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.CharBuffer;
import java.nio.charset.*;
import java.util.IdentityHashMap;
import java.util.Map;
import static java.util.Objects.requireNonNull;
/**
* @author
*... |
package org.optaplanner.openshift.employeerostering.shared.skill;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
impo... |
package bionet;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.text.ParseException;
import java.util.*;
import jxl.Cell;
import jxl.CellType;
import jxl.Sheet;
import jxl.Workbook;
import jxl.read.biff.BiffException;
class ConnectomeTables
{
public ArrayList<Connec... |
package jdialogdemo;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class JDialogDemo {
JLabel jlab;
JButton jbtnShow;
JButton jbtnReset;
// These buttons are contained within the dialog.
JButton jbtnUp;
JButton jbtnDown;
JDialog jdlg;
JDialogDemo() {
//... |
/*
* 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 ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE477_Obsolete_Functions__URLEncoder_encode_Servlet_02.java
Label Definition File: CWE477_Obsolete_Functions.label.xml
Template File: point-flaw-02.tmpl.java
*/
/*
* @description
* CWE: 477 Use of Obsolete Functions
* Sinks: URLEncoder_encode_Servlet
* GoodSink: Use of ... |
/* All Contributors (C) 2020 */
package io.github.dreamylost.tooffer;
/**
* HZ偶尔会拿些专业问题来忽悠那些非计算机专业的同学。今天测试组开完会后,他又发话了: 在古老的一维模式识别中,常常需要计算连续子向量的最大和,当向量全为正数的时候,问题很好解决。
* 但是,如果向量中包含负数,是否应该包含某个负数,并期望旁边的正数会弥补它呢? 例如:{6,-3,-2,7,-15,1,2,2},连续子向量的最大和为8(从第0个开始,到第3个为止)。
* 给一个数组,返回它的最大连续子序列的和,你会不会被他忽悠住?(子向量的长度至少是1)
*/
public ... |
package kr.co.popone.fitts.feature.coupon;
import com.orhanobut.logger.Logger;
import io.reactivex.functions.Action;
final class CouponPointInputUserInfoActivity$confirmModifyUserInfo$1 implements Action {
final /* synthetic */ CouponPointInputUserInfoActivity this$0;
CouponPointInputUserInfoActivity$confirm... |
/*
* Copyright 2015 Octavian Hasna
*
* 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... |
/*
* Copyright © 2018 Apple Inc. and the ServiceTalk project 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 requi... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2020 DBeaver Corp and 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/LICE... |
package com.izayoi.storage.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.izayoi.storage.entity.Storage;
@Repository
public interface StorageRepository extends JpaRepository<Storage, Long> {
Storage findByCommodityCode(String c... |
package iu.maue.ffm.framework.filter;
import com.auth0.jwt.JWT;
import com.auth0.jwt.algorithms.Algorithm;
import com.fasterxml.jackson.databind.ObjectMapper;
import iu.maue.ffm.framework.config.SecurityConfig;
import iu.maue.ffm.entity.User;
import iu.maue.ffm.framework.exception.ExceptionEnum;
import iu.maue.ffm.fra... |
/*
* Copyright (c) 2008-2021, 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 ... |
/*
* Copyright 2022 Jon Caulfield
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package mk.ukim.finki.enrolledcourses.service;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.stereotype.S... |
/* -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- //------100-columns-wide------>|*/
// for license please see accompanying LICENSE.txt file (available also at http://www.xmlpull.org/)
package eventlist;
import java.io.*;
import org.xmlpull.v1.*;
public class EventList {
public static void main... |
/**
* generated by Xtext 2.15.0
*/
package org.xtext.example.mydsl;
import org.xtext.example.mydsl.AbstractMyDslRuntimeModule;
/**
* Use this class to register components to be used at runtime / without the Equinox extension registry.
*/
@SuppressWarnings("all")
public class MyDslRuntimeModule extends AbstractMyD... |
package com.jsen.joker.boot.loader.joker;
import com.jsen.joker.boot.loader.cloader.JokerClassLoader;
import com.jsen.joker.boot.loader.joker.help.LibLister;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.net.URL;
import java.util.concurrent.ExecutionException;
/**
* <p>
... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
... |
package org.infinispan.commons.dataconversion;
import static org.infinispan.commons.dataconversion.MediaType.APPLICATION_OBJECT;
import static org.infinispan.commons.dataconversion.MediaType.APPLICATION_OCTET_STREAM;
import static org.infinispan.commons.dataconversion.MediaType.APPLICATION_UNKNOWN;
import static org.i... |
package seedu.recipe.storage.recipe.ingredient;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import seedu.recipe.commons.exceptions.IllegalValueException;
import seedu.recipe.model.recipe.ingredient.Fruit;
import seedu.recipe.model.recipe.ingredient.Quantity;... |
package treegraph;
import java.util.ArrayList;
import java.util.List;
/**
*
* @description LeetCode 199, level: Medium
*
* https://leetcode.com/problems/binary-tree-right-side-view/
*
*/
public class BinaryTreeRightSideView {
public static void traverse(TreeNode node, int level, List<Integer> result)... |
package com.didispace.scca.rest.constant;
import java.util.HashMap;
import java.util.Map;
/**
* Created by Anoyi on 2018/8/1.
* <p>
* Blog: https://anoyi.com/
* Github: https://github.com/ChineseSilence
*/
public enum UserRoleEnum {
ADMIN(1, "ADMIN"),
DEVELOPER(2, "DEVELOPER");
private Integer key;... |
package com.shang.util;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.concurrent.ConcurrentHashMap;
/**
* 功能描述:删除文件
* @author NICK
*
*/
public class CvsUtil {
public static void main(String[] args) {
//
File fil... |
package com.example.javaproject.services;
import com.example.javaproject.data.RoleRepository;
import com.example.javaproject.models.Role;
import com.example.javaproject.models.RoleName;
import com.example.javaproject.models.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 单条数据传入
*
* @author auto create
* @since 1.0, 2018-01-08 16:13:10
*/
public class ZhimaMerchantSingleDataUploadModel extends AlipayObject {
private static final long serialVersionUID = 11541... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
/*
*
* 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"); y... |
package org.exaspace.kafkawait;
import org.apache.kafka.clients.consumer.ConsumerRecord;
/**
*
* A function to extract an ID from a Kafka ConsumerRecord.
*
* @param <K> Key type for the Kafka ConsumerRecord
* @param <V> Value type for the Kafka ConsumerRecord
* @param <T> Type of the ID to be extracted from the... |
package net.sourceforge.kolmafia.textui.parsetree;
import java.io.PrintStream;
import java.util.Iterator;
import java.util.List;
import net.sourceforge.kolmafia.KoLmafia;
import net.sourceforge.kolmafia.textui.AshRuntime;
import net.sourceforge.kolmafia.textui.DataTypes;
import net.sourceforge.kolmafia.textui.Parser;
... |
package com.ceiba.usuario.adaptador.repositorio;
import com.ceiba.infraestructura.jdbc.CustomNamedParameterJdbcTemplate;
import com.ceiba.infraestructura.jdbc.sqlstatement.SqlStatement;
import com.ceiba.usuario.modelo.entidad.Usuario;
import com.ceiba.usuario.puerto.repositorio.RepositorioUsuario;
import org.springfra... |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2013 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... |
package id.my.arwin.uangku;
/**
* Created by winardiaris on 1/8/16.
*/
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http... |
package com.commercetools.importapi.client;
import static io.vrap.rmf.base.client.utils.ClientUtils.blockingWait;
import java.net.URI;
import java.time.Duration;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.stream.Collectors;
import com.commerceto... |
/*
* 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 ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright (C) 2019 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 com.huaweicloud.sdk.sdrs.v1.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
import java.util.function.Consumer;
/** 保护实例变更规格请求体 */
public class ResizeProtectedInstanceRequestBody {
@JsonInclude(JsonInclude.Includ... |
/*
* Copyright (C) 2004-2016 L2J Server
*
* This file is part of L2J Server.
*
* L2J Server 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) any la... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE81_XSS_Error_Message__Servlet_database_04.java
Label Definition File: CWE81_XSS_Error_Message__Servlet.label.xml
Template File: sources-sink-04.tmpl.java
*/
/*
* @description
* CWE: 81 Cross Site Scripting (XSS) in Error Message
* BadSource: database Read data from a dat... |
package orufeo.iasion.bo;
import java.util.List;
import orufeo.iasion.data.objects.storage.Wallet;
public interface WalletBo {
Wallet create(Wallet wallet);
Wallet get(String guid);
List<Wallet> get();
void update(Wallet wallet);
void update(Wallet wallet, String transactionId);
void delete(String g... |
/*
* Copyright (C) 2017. Gowtham Parimelazhagan.
*
* 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.grady.server.service;
import com.grady.server.dto.ChapterDto;
import com.grady.server.dto.ChapterPageDto;
/**
* @Author Grady
* @Date 2020/5/24 14:05
* @Version 1.0
*/
public interface IChapterService {
void list(ChapterPageDto chapterPageDto);
void save(ChapterDto chapterDto);
void de... |
/**
* Copyright (c) 2014 All Rights Reserved by the SDL Group.
*
* 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) 2017 European Commission
# Licensed under the EUPL, Version 1.2 or – as soon they will be
# approved by the European Commission - subsequent 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 ... |
package org.openecomp.sdc.be.model;
import javax.annotation.Generated;
import org.junit.Assert;
import org.junit.Test;
import org.openecomp.sdc.be.datatypes.components.ComponentMetadataDataDefinition;
public class ComponentMetadataDefinitionTest {
private ComponentMetadataDefinition createTestSubject() {
return... |
package com.aminography.choosephotohelper.sample;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.assertEquals;
/**
* Instrumented test, whi... |
package semantic.detail;
public class Variable
{
private String type, identifier;
public Variable(String type, String identifier)
{
this.type = type;
this.identifier = identifier;
}
public String getType()
{
return type;
}
public String getIdentifier... |
package com.mercadopago.android.px.internal.features.paymentresult;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import com.mercadopago.android.px.internal.view.ActionDispatcher;
import com.mercadopago.android.px.internal.view.Receipt;
import com.mercadop... |
package com.github.niqdev.openwebnet.message;
import org.junit.Ignore;
import org.junit.Test;
import static com.github.niqdev.openwebnet.ThrowableCaptor.captureThrowable;
import static com.github.niqdev.openwebnet.message.Who.*;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.... |
/**
* Copyright 2015 University of Leeds
*
* 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... |
/*
* Waltz - Enterprise Architecture
* Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project
* See README.md for more information
*
* 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 ... |
/*
* Copyright 1998-2012 Linux.org.ru
* 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... |
package org.apache.poi.java.awt;
import java.beans.ConstructorProperties;
/**
* This is just an example how a class from java.awt can
* be included in the shaded code so that it can be used
* on Android where some of these are missing.
*
* Taken from JDK 1.8.0_121_x64 on Windows
*/
public class Color {
/**... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2013, Red Hat Inc. or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors. All third-party contributions are
* distributed under license by Red Hat Inc.
*
* T... |
/*
* 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... |
/*
* Copyright 2011 Google Inc.
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
package module934packageJava0;
import java.lang.Integer;
public class Foo28 {
Integer int0;
public void foo0() {
new module934packageJava0.Foo27().foo5();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public void foo4() {
fo... |
package betterquesting.api2.client.gui.themes.presets;
import betterquesting.api2.client.gui.misc.GuiRectangle;
import betterquesting.api2.client.gui.resources.textures.IGuiTexture;
import betterquesting.api2.client.gui.resources.textures.SimpleTexture;
import betterquesting.api2.client.gui.themes.IThemeRegistry;
impo... |
package launchingGame;
import javafx.event.EventHandler;
import javafx.scene.input.MouseEvent;
import playing.MainPlayer;
import social.Icon;
import social.User;
public class GameIcon extends Icon {
public GameIcon(String gameName, String description, String reference, String color, String imagePath,
... |
/*
* 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 n... |
/*
* 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.github.yizzuide.milkomeda.comet.core;
import com.github.yizzuide.milkomeda.util.HttpServletUtil;
import lombok.extern.slf4j.Slf4j;
import org.apache.catalina.connector.ClientAbortException;
import org.apache.commons.lang3.StringUtils;
import org.springframework.web.util.WebUtils;
import javax.servlet.Read... |
package org.apache.geronimo.samples.daytrader;
import javax.xml.bind.annotation.XmlRegistry;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the org.apache.geronimo.samples.daytrader package.
* <p>An ObjectFactory allows you to programatic... |
package jaz;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Image;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Objects;
import java.util.OptionalInt;
impor... |
/*
* Licensed to ObjectStyle LLC under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ObjectStyle LLC licenses
* this file to you under the Apache License, Version 2.0 (the
* "License"); you may not u... |
/*
* JBoss, the OpenSource J2EE webOS
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.drools.examples.sudoku.swing;
import javax.swing.event.EventListenerList;
public abstract class AbstractSudokuGridModel
{
private EventListenerList listenerList = new EventListenerLis... |
package controller.model;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
public class PlayList {
//*******************************Class fields***********************... |
package no.nav.folketrygdloven.beregningsgrunnlag.fordel;
import java.math.BigDecimal;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Map;
import no.nav.folketrygdloven.beregningsgrunnlag.regelmodell.AktivitetStatus;
import no.nav.folketrygdloven.beregningsgrunnlag.regelmodell.resultat.Beregn... |
/*
* 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 ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package co.edu.uniandes.visualanalyticsfc.dto;
import java.util.List;
/**
*
* @author Deisy
*/
public class VariableFilterMeasureD... |
package tech.iosd.yfhr;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.suppor... |
package com.semaifour.facesix.domain;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
public class Tree {
private String status;
private String message;
private Link[] links;
private Node[]... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.