text stringlengths 7 1.01M |
|---|
package com.hnj.locationservice.entities;
public class Location {
private double latitude;
private double longitude;
protected Location(){}
public Location(double latitude, double longitude) {
this.latitude = latitude;
this.longitude = longitude;
}
public double getLatitude()... |
/**
* Alipay.com Inc.
* Copyright (c) 2004-2018 All Rights Reserved.
*/
package com.shinnlove.netty.io.type.pio;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import com.shinnlove.netty.io.type.bio.TimeServerHandler;
/**
* 使用线程池
*
* @author shinnlove.jinsheng
* @version $Id... |
package com.imooc.flink.basic;
import java.util.Locale;
import org.apache.commons.lang3.StringUtils;
import org.apache.flink.api.common.functions.FilterFunction;
import org.apache.flink.api.common.functions.FlatMapFunction;
import org.apache.flink.api.common.functions.MapFunction;
import org.apache.flink.api.java.Exec... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
package com.microsoft.azure.toolkit.intellij.function;
import com.intellij.openapi.project.Project;
import com.microsoft.azure.management.appservice.WebAp... |
package meet_eat.server.service;
import meet_eat.data.entity.Entity;
import meet_eat.data.entity.Reportable;
import meet_eat.data.entity.relation.Report;
import meet_eat.data.entity.user.User;
public class ReportServiceTest extends EntityRelationServiceTest<ReportService, Report, User, Entity<?>, String> {
@Over... |
package hr.fer.oop.task4;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.function.Consumer;
import javax.swing.SwingWorker;
class StringWorker extends SwingWorker<Integer, String> {
private final List<String> slowList;
private final String delimite... |
package com.winster.thirdpartyserver.utils;
import org.apache.commons.lang.StringUtils;
import org.jasypt.encryption.StringEncryptor;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
@Component("desencrypt")
public class MyStringEncryptor implements StringEncryptor {
@Resource
... |
package br.com.mblabs.facebookeasy.app;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.annotation.TargetApi;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.Ap... |
package tk.slicecollections.maxteer.player.role;
import tk.slicecollections.maxteer.Manager;
import tk.slicecollections.maxteer.database.Database;
import tk.slicecollections.maxteer.database.cache.RoleCache;
import tk.slicecollections.maxteer.utils.StringUtils;
import javax.sql.rowset.CachedRowSet;
import java.sql.SQ... |
/*
* Copyright (c) 2012 - 2020 Arvato Systems 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 applicabl... |
/**
* @author Roberto Maia
* @disciplina NExT - Imersão Java
* @Fundamentos if/else e switch/case
* uri1043 Triângulo
*/
import java.util.Scanner;
public class uri1043 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
Double a = input.nextDouble();... |
/**
*
*/
package net.osmand.plus.activities.search;
import java.util.ArrayList;
import java.util.List;
import net.osmand.access.AccessibleToast;
import net.osmand.osm.LatLon;
import net.osmand.plus.NameFinderPoiFilter;
import net.osmand.plus.OsmandApplication;
import net.osmand.plus.PoiFilter;
import net.osmand.pl... |
/*
* Copyright 2014-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.hyq0719.mktapi.oceanengine.bean.ad;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import java.util.List;
@Data
public class AudienceStruct {
@SerializedName("auto_extend_enabled")
private Long autoExtendEnabled = null;
@SerializedName("interest... |
package com.michelin.ns4kafka.repositories;
import com.michelin.ns4kafka.models.AccessControlEntry;
import java.util.Collection;
import java.util.Optional;
public interface AccessControlEntryRepository {
Collection<AccessControlEntry> findAll();
Optional<AccessControlEntry> findByName(String namespace, Strin... |
package smash.app.tweets.importer;
import junit.framework.TestCase;
import smash.data.tweets.pojo.Tweet;
/**
* Created by Yikai Gong on 10/04/17.
*/
public class TweetsImporterTest extends TestCase {
public static final String dummyTweetStr = "{" +
"\"id_str\":\"508093847138619392\"," +
"\"created_at\":\"... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.fresco.vito.core.impl.debug;
import android.graphics.Color;
import android.graphics.Rect;
import com.facebo... |
package com.example.viewtest;
import android.content.ContentResolver;
import android.content.Context;
import android.database.Cursor;
import android.media.*;
import android.net.Uri;
import android.provider.MediaStore;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 申请单进度列表
*
* @author auto create
* @since 1.0, 2018-06-25 14:49:09
*/
public class EcoApplySchedule extends AlipayObject {
private static final long serialVersionUID = 225131976... |
package poo.slide8.ClasseAbstrataInterface;
public interface SegundaInterface {
String nome = "Maria";
}
|
/*
Copyright 2015 Google 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 by applicable law or agreed to in ... |
package com.xiecc.seeWeather.modules.db;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import com.xiecc.seeWeather.modules.domain.City;
import com.xiecc.seeWeather.modules.domain.Province;
import java.util.ArrayList;
import java.util.List;
/**
* Creat... |
/*
* 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 unit.com.bitdubai.fermat_cry_plugin.layer.crypto_vault.developer.bitdubai.version_1.structure.CryptoVaultDatabaseFactory;
import com.bitdubai.fermat_api.layer.osa_android.database_system.Database;
import com.bitdubai.fermat_api.layer.osa_android.database_system.DatabaseFactory;
import com.bitdubai.fermat_api.l... |
package com.wonderful.permissionlibrary.annotation;
import android.app.Activity;
/**
* @Author wonderful
* @Date 2020-9-28
* @Description 上下文获取接口
* @Version 1.0
*/
public interface ActivityInterface {
public Activity getActivity();
}
|
//
// ========================================================================
// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available und... |
/*******************************************************************************
* Copyright 2013-2018 QaProSoft (http://www.qaprosoft.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 ... |
package com.medusa.gruul.account.api.conf;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* @author whh
* @description
* @data: 2019/11/26
*/
@Component
@ConfigurationProperties(prefix = "info")
@Data
public clas... |
/*
* Copyright (c) 2009, GoodData Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of con... |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the... |
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.sdk.internal.v8native.value;
import java.util.ArrayList;
import java.util.List;
import org.chromium.sdk.FunctionScopeExtension;... |
/**
* .java
* 类名:
*
* ver 变更日 变更人 变更内容
* ──────────────────────────────────
* V1.0 2014-8-12 lzy 初始生成
*
* Copyright 2014 浙江科技学院肉制品供应链跟踪与质量溯源系统项目小组
*/
package utils;
import org.springframework.context.ApplicationContext;
import org.springframework.cont... |
package q11191;
public class Greeting
{
public static void main(String[] args)
{
System.out.println("Hello "+args[0]+"!");
}
}
|
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Copyright 2017 Adobe Systems Incorporated
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ htt... |
package com.siiconcatel.taskling.core.blocks.common;
public enum BlockExecutionStatus {
NotDefined(0),
NotStarted(1),
Started(2),
Completed(3),
Failed(4);
private int numVal;
BlockExecutionStatus(int numVal) {
this.numVal = numVal;
}
public int getNumVal() {
retur... |
/*
* Copyright The Stargate 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 agreed to ... |
package com.vladmihalcea.hibernate.type.basic;
import com.vladmihalcea.hibernate.type.AbstractHibernateType;
import com.vladmihalcea.hibernate.type.basic.internal.YearMonthTypeDescriptor;
import com.vladmihalcea.hibernate.type.util.Configuration;
import org.hibernate.type.descriptor.sql.DateTypeDescriptor;
import jav... |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
... |
package nl.maastrichtuniversity.networklibrary.cyneo4j.internal.serviceprovider.sync;
import nl.maastrichtuniversity.networklibrary.cyneo4j.internal.serviceprovider.Neo4jRESTServer;
import nl.maastrichtuniversity.networklibrary.cyneo4j.internal.serviceprovider.general.ReturnCodeResponseHandler;
import nl.maastrichtuni... |
/*
* Copyright RestClientGenerator
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
package com.jpa;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
@SpringBootAppl... |
public class RouletteTester {
public static void main(String[] args) {
RoulettePlayer simulator = new RoulettePlayer();
for (int i = 0; i < 100000; i++) {
simulator.visitCasino(100, 200);
}
System.out.println("Probability of success: " + simulator.getWinProbability() + ... |
/**
* Copyright (c) 2019. Qubole Inc
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing... |
/*
* Copyright (c) 2016 United States Government as represented by the Administrator of the
* National Aeronautics and Space Administration. All Rights Reserved.
*/
package gov.nasa.worldwind;
import androidx.annotation.NonNull;
import gov.nasa.worldwind.geom.Position;
import gov.nasa.worldwind.layer.Layer;
impor... |
package com.semmle.js.extractor;
import com.semmle.js.extractor.trapcache.CachingTrapWriter;
import com.semmle.js.extractor.trapcache.ITrapCache;
import com.semmle.util.data.StringUtil;
import com.semmle.util.exception.Exceptions;
import com.semmle.util.extraction.ExtractorOutputConfig;
import com.semmle.util.files.Fi... |
/**
* Copyright (C) 2012-2020 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 b... |
package com.hys.exam.model;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
public class CvLive implements Serializable {
/**
* boy
*/
private static final long serialVersionUID = 4599448644515104811L;
private Long id;
private String class_no;
private String class_name;
private... |
/*
* Copyright 2019 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 wr... |
/*
* Copyright (c) 2012, 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 Softwa... |
/**
* 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) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.security.option;
import java.util.Map;
import org.joda.beans.Bean;
import org.joda.beans.BeanBuilder;
import org.joda.beans.BeanDefinition;
import o... |
//package edu.gemini.spModel.gemini.bhros.test;
//
//import edu.gemini.spModel.gemini.bhros.BHROSParams;
//import edu.gemini.spModel.gemini.bhros.InstBHROS;
//import edu.gemini.spModel.gemini.bhros.ech.HROSHardwareConstants;
//import edu.gemini.spModel.pio.ParamSet;
//import edu.gemini.spModel.pio.PioFactory;
//import ... |
package nachos.network;
import nachos.machine.*;
import nachos.threads.*;
/**
* A collection of message queues, one for each local port. A
* <tt>PostOffice</tt> interacts directly with the network hardware. Because
* of the network hardware, we are guaranteed that messages will never be
* corrupted, but ... |
package com.evolved.automata.parser.math;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.Vector;
import com.evolved.automata.parser.StringDistribution;
import com.evolved.automata.parser.math.ExpressionFactory.OperatorDefinition;
import com.evolved.automata.parser.ma... |
/*
* 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 com.yveshe.restful;
import javax.servlet.http.HttpServletRequest;
import org.apache.shiro.authc.IncorrectCredentialsException;
import org.apache.shiro.authc.UnknownAccountException;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annot... |
package engine.components;
public abstract class AbstractComponent<T> implements Component<T> {
private final ComponentType type;
public AbstractComponent(ComponentType type) {
this.type = type;
}
@Override
public ComponentType getType() {
return type;
}
@Override
pub... |
/**
* 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 ... |
package resonant.lib.prefab.damage;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.potion.Potion;
import net.minecraft.util.DamageSource;
import resonant.api.armor.IInsulatedArmor;
import resonant.lib.prefab.Custom... |
package org.eclipse.aether.util.repository;
/*
* 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 ... |
////////////////////////////////////////////////////////////////////////////////
// checkstyle: Checks Java source code for adherence to a set of rules.
// Copyright (C) 2001-2018 the original author or authors.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU ... |
// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------------------------------... |
package fr.adrienbrault.idea.symfony2plugin.stubs.indexes;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile;
import com.intellij.psi.PsiRecursiveElementWalkingVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import com.intellij.util.indexing.*;
import com.intellij.util.io.DataExternalizer;
import ... |
package com.jn.langx.test.util.charset;
import com.jn.langx.util.collection.Collects;
import com.jn.langx.util.function.Consumer;
import com.jn.langx.util.io.Charsets;
import org.junit.Test;
public class Utf8Tests {
@Test
public void test() {
String v = "-1=-1";
byte[] bytes = v.getBytes(Chars... |
package uk.gov.dwp.dataworks.provider.standalone;
import org.junit.Assert;
import org.junit.Test;
import uk.gov.dwp.dataworks.dto.DecryptDataKeyResponse;
import uk.gov.dwp.dataworks.dto.GenerateDataKeyResponse;
public class StandaloneDataKeyDecryptionProviderTest {
private final StandaloneCurrentKeyIdProvider cur... |
package edu.cmu.cs.cs214.hw5.framework;
import java.util.ArrayList;
import java.util.List;
import edu.cmu.cs.cs214.hw5.plugin.*;
import twitter4j.*;
/**
* The framework is responsible to write the main method, plugin
* developers can simply write their plugins implementing the
* Plugin interface, then ... |
package aima.test.core.unit.learning.knowledge;
import aima.core.learning.knowledge.KnowledgeLearningProblemFactory;
import aima.core.learning.knowledge.LogicalExample;
import aima.core.learning.knowledge.MinimalConsistentDet;
import org.junit.Assert;
import org.junit.Test;
import java.util.Arrays;
import java.util.H... |
/*
* Copyright 2013-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... |
package com.byteowls.gradle.tasks;
import org.gradle.api.DefaultTask;
import org.gradle.api.internal.tasks.options.OptionValidationException;
import org.gradle.api.tasks.TaskAction;
import org.gradle.api.tasks.options.Option;
import org.jasypt.util.text.BasicTextEncryptor;
import org.jasypt.util.text.StrongTextEncrypt... |
package eu.bcvsolutions.idm.connector.kerio.services;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.identityconnectors.framework.common.exceptions.ConnectorException;
import org.identityconnectors.framework... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2020-2022 The JReleaser 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/LICENS... |
package org.mockserver.model;
import junit.framework.TestCase;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotSame;
import static org.mockserver.model.HttpForward.forward;
/**
* @author jamesdbloom
*/
public class HttpForwardTest {
@Test
public ... |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2010 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 com.defano.jmonet.tools.builder;
import com.defano.jmonet.tools.brushes.ShapeStroke;
import java.awt.*;
/**
* A utility for building strokes, both {@link BasicStroke} and {@link ShapeStroke}.
*/
public class StrokeBuilder {
private StrokeBuilder() {}
/**
* Builds a stroke in which a shape is... |
/**
* Copyright 2010 - 2022 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
import java.io.*;
import javax.servlet.*;
public class MyServlet implements Servlet
{
ServletConfig config = null;
public void init(ServletConfig config)
{
this.config = config;
System.out.println("servlet is initialized");
}
public void service(ServletRequest req, ServletResponse res)
throws IOException,... |
/*
* Copyright 2006-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... |
/**
* Copyright (c) 2016 Lemur Consulting Ltd.
* <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
* <p>
* Unless required by appli... |
/*
* 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.security.support;
import org.elast... |
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any la... |
/**
* DeleteBaseRates.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201502;
/**
* The action used to delete {@link BaseRate} objects.
*/
public class DeleteBaseRates extends com.google.api.ads.df... |
package gui.toolbarButton;
import controller.interfaces.ProductListTabItem;
import de.jensd.fx.glyphs.fontawesome.FontAwesomeIcon;
import gui.components.ToolBarComponent;
import gui.events.ProcessListEvent;
import javafx.application.Platform;
public class ProcessListToolbarButton extends ToolbarButton {
public Pr... |
package cn.shopee.beetl.tags.exception;
public class BeetlTagException extends RuntimeException {
public BeetlTagException() {
}
public BeetlTagException(String msg) {
super(msg);
}
public BeetlTagException(String message, Throwable rootCause) {
super(message, rootCause);
}
... |
// $ANTLR 3.5.2 org/openmodelica/corba/parser/OMCorbaDefinitions.g 2019-09-01 18:17:57
package org.openmodelica.corba.parser;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
@SuppressWarnings("all")
public class OMCorbaDefinitionsLexer extends Lexer {
public sta... |
package pl.alburnus.multitenancy;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class MultiTenancyTutorialApplication {
public static void main(String[] args) {
SpringApplication.run(MultiTenancyTutorialApplica... |
package com.tui.proof.order.service;
import com.tui.proof.notification.NotificationService;
import com.tui.proof.order.Order;
import com.tui.proof.order.mapping.OrderMapper;
import com.tui.proof.order.repository.OrderRepository;
import com.tui.proof.order.request.OrderCreateRequest;
import com.tui.proof.order.request.... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package android.support.v14.preference;
import android.content.Context;
import android.content.res.TypedArray;
import android.support.v4.content.res.Typed... |
package me.sonam.jwt;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot... |
package com.leonelacs.tenki;
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.*;
/**
* Instrumented test, which will execute on an Android dev... |
/*
* Copyright 2016-2017 National Library of Australia
*
* 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 com.optimuscode.ranking.api;
/**
* Created with IntelliJ IDEA.
* User: sujay
* Date: 11/5/13
* Time: 11:24 AM
* To change this template use File | Settings | File Templates.
*/
public class Person {
private String id;
private Ability ability;
private double score;
public Person(final St... |
package com.ewolff.microservice.catalog.cdc;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.client.ServiceInstance;
import org... |
/*******************************************************************************
* 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... |
package com.mmnaseri.utils.tuples.impl;
import com.mmnaseri.utils.tuples.LabeledTuple;
import com.mmnaseri.utils.tuples.Tuple;
import org.testng.annotations.Test;
import java.util.List;
import static java.util.stream.Collectors.toList;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.M... |
package cn.com.warlock.emitter.zk;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import cn.com.warlock.emitter.BaseUniqueIDGenerator;
import cn.com.warlock.emitter.IDGenerator;
import cn.com.warlock.emitter.zk.connection.ZooKeeper... |
package seedu.address.model.pet;
import static java.util.Objects.requireNonNull;
import static seedu.address.commons.util.AppUtil.checkArgument;
import java.util.Objects;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import seedu.address.ui.DisplaySystemType;
import seedu.address... |
/*
* Copyright 2014-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
package com.example.alain.lbstest;
import android.Manifest;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;
import android.... |
/*
* Copyright 2020 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*
* Copyright Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags and
* the COPYRIGHT.txt file distributed with this work.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.