text stringlengths 7 995k |
|---|
package com.jazzinjars.fundamentals.patterns.abstractfactory;
public interface KingdomFactory {
Castle createCastle();
Army createArmy();
King createKing();
} |
package run.nya.justaforum.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import run.nya.justaforum.model.bean.User;
import run.nya.justaforum.model.dao.NodeDAO;
import ... |
package org.bluetooth.bledemo;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;
import android.os.Bundle;
import android.os.Handler;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothGatt;... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot.commands;
import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.Constants;
import frc.r... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat, Inc., and others contributors as indicated
* by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishin... |
/*
* Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package com.wkl.gulimall.member.controller;
import java.util.Arrays;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotat... |
/**
* Copyright (c) 2008-2021 Bird Dog Games, Inc.
*
* This file is part of Ardor3D.
*
* Ardor3D is free software: you can redistribute it and/or modify it
* under the terms of its license which may be found in the accompanying
* LICENSE file or at <https://git.io/fjRmv>.
*/
package com.ardor3d.scenegraph.shap... |
/*
*
* Headwind MDM: Open Source Android MDM Software
* https://h-mdm.com
*
* Copyright (C) 2019 Headwind Solutions LLC (http://h-sms.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 Licens... |
/**
* 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 2017 Paul Schaub
*
* 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... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.08.... |
package org.ovirt.engine.api.restapi.resource;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.util.ArrayList;
import java.util.Collections;
import java... |
package com.hillel.entity;
import java.sql.Date;
public class Director extends Person {
public Director(int id, String name, Date born) {
super(id, name, born);
}
} |
package cn.compose.admin.entity;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class OrderInfoExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
private Integer limit;
priv... |
package controllers;
import controllers.*;
import play.api.Environment;
import play.mvc.*;
import play.data.*;
import play.db.ebean.Transactional;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import views.html.*;
import models.users.*;
public class LoginController extends Cont... |
package controllers.notesmanagement;
import com.fasterxml.jackson.databind.JsonNode;
import controllers.BaseController;
import controllers.notesmanagement.validator.NoteRequestValidator;
import org.sunbird.common.models.util.ActorOperations;
import org.sunbird.common.models.util.JsonKey;
import org.sunbird.common.requ... |
/**
* Copyright © 2016-2019 The Thingsboard 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 applicab... |
/*
* Copyright 2015 Network New Technologies 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... |
/************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved.
*
* Use is subject to license terms.
*
* Licensed under the Apache License, Version 2.0 (the "Lic... |
/**
* ExpressBusinessOperation.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.adwords.axis.v201402.express;
/**
* A typed {@link Operation} class that uses an instance of {@link
* ExpressBusiness} as its ope... |
package io.eventdriven.ecommerce.core.subscriptions;
import com.eventstore.dbclient.SubscribeToAllOptions;
import com.eventstore.dbclient.SubscriptionFilter;
record EventStoreDBSubscriptionToAllOptions(
String subscriptionId,
boolean ignoreDeserializationErrors,
SubscribeToAllOptions subscribeToAllOptions
) {
... |
public boolean isPositive(float num) {
return num >= 0;
}
//https://pt.stackoverflow.com/q/124304/101 |
/*
* Copyright [2013-2021], Alibaba Group Holding Limited
*
* 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... |
/**
* 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 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.pjp.opencart.api.bean;
import org.pjp.opencart.api.bean.payment.COD;
import org.pjp.opencart.api.bean.payment.FreeCheckout;
import org.pjp.opencart.api.bean.payment.PPStandard;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Bean to represent payment methods.
* @author developer
*
*/
publ... |
package com.intendia.reactivity.gwttest;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.core.client.Scheduler.ScheduledCommand;
import com.google.gwt.junit.client.GWTTestCase;
import com.intendia.reactivity.client.PlaceRequest;
import junit.framework.TestCase;
public class ReactivityGwtTest extend... |
/*
* Purview Catalog Service REST API Document
* Purview Catalog Service is a fully managed cloud service whose users can discover the data sources they need and understand the data sources they find. At the same time, Data Catalog helps organizations get more value from their existing investments. This swagger defin... |
/**
* personium.io
* Copyright 2014 FUJITSU LIMITED
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package org.jeecf.kong.rpc.protocol;
import java.util.concurrent.TimeUnit;
import javax.net.ssl.SSLEngine;
import org.jeecf.kong.rpc.protocol.properties.ServerSocketProperties;
import org.jeecf.kong.rpc.protocol.serializer.MsgDecoder;
import org.jeecf.kong.rpc.protocol.serializer.MsgEncoder;
import io.netty.bootstr... |
package org.jeecg.modules.business.service;
import org.jeecg.modules.business.entity.WarnPointRule;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @Description: warn_point_rule
* @Author: jeecg-boot
* @Date: 2020-09-21
* @Version: V1.0
*/
public interface IWarnPointRuleService extends IServi... |
package chapter5.section2;
import chapter1.section3.Queue;
import edu.princeton.cs.algs4.StdOut;
import java.util.StringJoiner;
/**
* Created by Rene Argento on 05/02/18.
*/
public class Exercise13_HybridTSTWithR2BranchingAtTheRoot {
@SuppressWarnings("unchecked")
public class HybridTernarySearchTrie<Valu... |
/*******************************************************************************
* Copyright 2017 Seldon Technologies Ltd (http://www.seldon.io/)
*
* 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 Lic... |
package com.google.android.gms.internal.auth;
import android.os.Parcel;
import android.os.RemoteException;
import com.google.android.gms.auth.api.accounttransfer.DeviceMetaData;
import com.google.android.gms.auth.api.accounttransfer.zzl;
import com.google.android.gms.auth.api.accounttransfer.zzt;
import com.google.and... |
package com.macroyao.gmall.coupon.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.macroyao.common.utils.PageUtils;
import com.macroyao.gmall.coupon.entity.CouponSpuRelationEntity;
import java.util.Map;
/**
* 优惠券与产品关联
*
* @author macroyao
* @email 2482118722@qq.com
* @date 2020-05... |
package de.buw.tmdt.plasma.services.sas.shared.api;
import de.buw.tmdt.plasma.services.sas.shared.dto.SchemaAnalysisDataProvisionDTO;
import de.buw.tmdt.plasma.services.sas.shared.dto.StandardDTO;
import de.buw.tmdt.plasma.services.sas.shared.dto.StandardProvisionDTO;
import de.buw.tmdt.plasma.services.sas.shared.dto.... |
package DbTest;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class Examtable4 {
public static void main(String[] args) throws ClassNotFoundException, SQLException {
// 테이블 읽기
//1. Class.forName() 을 이용해서 드라이버... |
package com.codepath.apps.twitterV2.app;
import android.content.Context;
import com.codepath.apps.twitterV2.rest.RestClient;
/*
* This is the Android application itself and is used to configure various settings
* including the image cache in memory and on disk. This also adds a singleton
* for accessing the relev... |
package za.org.samac.harvest.adapter;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
impo... |
/* -*- mode: Java; c-basic-offset: 4; indent-tabs-mode: nil; -*- //------100-columns-wide------>|*/
/*
* Copyright (c) 2002 Extreme! Lab, Indiana University. All rights reserved.
*
* This software is open source. See the bottom of this file for the licence.
*
* $Id: ThrowableRewrapper.java,v 1.5 2003/04/06 00:04:... |
/*
* 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.urgoo.profile.activities;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import com.urgoo.base.ActivityBase;
import com.urgoo.client.R;
import c... |
package ch.rs.filter;
import ch.rs.filter.master.ClosedLoopBlock;
import ch.rs.filter.util.MathFunctions;
public class PT2 extends ClosedLoopBlock {
/**
* temporary variables used during calculations
*/
private double omega, zeta, temporaryY, temporaryX, middleX;
/**
* delay
*/
p... |
/*
* Copyright (C) 2017-2019 Dremio 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
package ca.uhn.fhir.jpa.migrate.taskdef;
/*-
* #%L
* HAPI FHIR JPA Server - Migration
* %%
* Copyright (C) 2014 - 2020 University Health Network
* %%
* 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 t... |
package com.dbumama.market.model;
import com.dbumama.market.model.base.BasePromotionSet;
/**
* Generated by JFinal.
*/
@SuppressWarnings("serial")
public class PromotionSet extends BasePromotionSet<PromotionSet> {
public static final PromotionSet dao = new PromotionSet();
public static final String table = "t_pro... |
package examples.java.receiver.custominstancecheck;
public class Incorrect0 {
private int[] values;
public Incorrect0() {
values = new int[32];
}
public int getValue() {
return 1;
}
} |
/*
* Copyright (c) 2011-2016 Pivotal Software 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
*
* Unles... |
package java8;
import com.sandwich.koan.Koan;
import java.util.*;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import java.util.stream.Stream;
import static com.sandwich.koan.constant.KoanConstants.__;
import static com.sandwich.util.Assert.assertEquals;
public class AboutStreams {
St... |
package jp.mzw.ajaxmutator.detector.dom;
import jp.mzw.ajaxmutator.detector.AbstractDetector;
import jp.mzw.ajaxmutator.mutatable.DOMCloning;
import org.mozilla.javascript.ast.AstNode;
import org.mozilla.javascript.ast.FunctionCall;
import org.mozilla.javascript.ast.PropertyGet;
import java.util.List;
/**
* Detecto... |
package com.example.dictionary.ViewHolders;
import android.view.View;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import com.example.dictionary.R;
public class MeaningsViewHolders extends RecyclerView.ViewHolder {
public TextView textVie... |
/*
* The MIT License
*
* Copyright (c) 2017, CloudBees, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
package demo;
import com.codahale.metrics.ConsoleReporter;
import com.codahale.metrics.Counter;
import com.codahale.metrics.MetricRegistry;
import java.util.LinkedList;
import java.util.Queue;
import java.util.concurrent.TimeUnit;
import static com.codahale.metrics.MetricRegistry.name;
/**
* @author noear 2021/1/2... |
package com.baidu.disconf.web.service.config.dao.impl;
import org.springframework.stereotype.Service;
import com.baidu.disconf.web.service.config.bo.ConfigHistory;
import com.baidu.disconf.web.service.config.dao.ConfigHistoryDao;
import com.baidu.dsp.common.dao.AbstractDao;
/**
* Created by knightliao on 15/12/25.
... |
package com.example.better.better1933.Infrastructure.KMB;
import android.database.Cursor;
import android.database.sqlite.SQLiteCantOpenDatabaseException;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import androidx.annotation.NonNull;
import com.example.better.better1933.GlobalConst;
impor... |
package org.firstinspires.ftc.teamcode.edubot;
import com.qualcomm.hardware.bosch.BNO055IMU;
import com.qualcomm.hardware.bosch.JustLoggingAccelerationIntegrator;
import com.qualcomm.robotcore.hardware.ColorSensor;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
im... |
package bind.rss;
import com.abubusoft.kripton.AbstractMapper;
import com.abubusoft.kripton.annotation.BindMap;
import com.abubusoft.kripton.common.PrimitiveUtils;
import com.abubusoft.kripton.common.UrlUtils;
import com.abubusoft.kripton.xml.EventType;
import com.abubusoft.kripton.xml.XMLParser;
import com.abubusoft.... |
/**
* Copyright (c) 2010 Abbcc Corp.
* No 225,Wen Yi RD, Hang Zhou, Zhe Jiang, China.
* All rights reserved.
*
* "UserSiteManageAction.java is the copyrighted,
* proprietary property of Abbcc Company and its
* subsidiaries and affiliates which retain all right, title and interest
* therein."
*
* Revision His... |
package com.o3dr.services.android.lib.drone.mission.item.complex;
import android.os.Parcel;
import com.o3dr.services.android.lib.coordinate.LatLong;
import com.o3dr.services.android.lib.drone.mission.item.MissionItem;
import com.o3dr.services.android.lib.drone.mission.MissionItemType;
import com.o3dr.services.android... |
package com.ninggc.gp.mapper;
import com.google.gson.reflect.TypeToken;
import com.ninggc.gp.controller.IController;
import com.ninggc.gp.data.CheckUnit;
import com.ninggc.gp.data.Progress;
import com.ninggc.gp.data.Stage;
import com.ninggc.gp.data.UtilPass;
import com.ninggc.gp.mybatis.Factory;
import com.ninggc.gp.s... |
/**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.web.analytics;
import com.opengamma.util.ArgumentChecker;
/**
* Information about an error that occurred in the server.
*/
public final class ErrorInfo {
... |
/** Copyright (c) 2011-2015, SpaceToad and the BuildCraft Team http://www.mod-buildcraft.com
*
* The BuildCraft API is distributed under the terms of the MIT License. Please check the contents of the license, which
* should be located as "LICENSE.API" in the BuildCraft source code distribution. */
package buildcraft... |
package edu.harvard.iq.dataverse.util.json;
import edu.harvard.iq.dataverse.ControlledVocabularyValue;
import edu.harvard.iq.dataverse.DataFile;
import edu.harvard.iq.dataverse.DataFileCategory;
import edu.harvard.iq.dataverse.DataFileTag;
import edu.harvard.iq.dataverse.DataTable;
import edu.harvard.iq.dataverse.Data... |
/*
* Copyright 2013 JavaANPR contributors
* Copyright 2006 Ondrej Martinsky
* Licensed under the Educational Community 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.osedu.org/licenses/ECL-2.0
... |
package com.vladsch.flexmark.ext.autolink;
import com.vladsch.flexmark.core.test.util.RendererSpecTest;
import com.vladsch.flexmark.ext.typographic.TypographicExtension;
import com.vladsch.flexmark.parser.Parser;
import com.vladsch.flexmark.test.util.TestUtils;
import com.vladsch.flexmark.test.util.spec.ResourceLocati... |
package org.synyx.urlaubsverwaltung.absence.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
impor... |
package com.muzammilpeer.gistapplication;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() ... |
package com.nucleus;
import com.nucleus.Backend.BackendFactory;
import com.nucleus.J2SEWindowApplication.PropertySettings;
import com.nucleus.J2SEWindowApplication.WindowType;
import com.nucleus.mmi.Key;
import com.nucleus.mmi.Pointer;
import com.nucleus.mmi.Pointer.PointerAction;
import com.nucleus.mmi.Pointer.Type;
... |
/*
* 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... |
/*
GNU LESSER GENERAL PUBLIC LICENSE
Copyright (C) 2006 The Lobo Project
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 ... |
/**
* 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) 2019 The Turms Project
* https://github.com/turms-im/turms
*
* 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
*
*... |
/*
* Copyright 2004-2010 the Seasar Foundation and the Others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package org.dataalgorithms.chapB10.friendrecommendation.spark;
import org.apache.spark.SparkConf;
import org.apache.spark.deploy.yarn.Client;
import org.apache.spark.deploy.yarn.ClientArguments;
//
import org.apache.hadoop.conf.Configuration;
/**
* Submit a Spark job to YARN from Java code.
*
* @author Mahmoud Par... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * 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 ... |
package tp.acecs2103.testutil;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.function.Executable;
/**
* A set of assertion methods useful for writing tests.
*/
public class Assert {
/**
* Asserts that the {@code executable} throws the {@code expectedType} Exception.
* This is ... |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*
* Copyright 2017 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 app... |
package com.ociweb.oe.foglight.api;
import com.ociweb.iot.maker.FogRuntime;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
/**
* Unit test for simple App.
*/
public class AppTest {
@Test
public void testApp() {
boolean cleanExit = FogRuntime.testConcurrentUntilShutdownRequested(new I2CListen... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.quota.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
import com.azure.c... |
package org.apache.commons.jcs.engine.memory.arc;
/*
* 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 A... |
package com.daydream.demo_admin.service;
import com.daydream.demo_admin.model.SysDept;
import com.daydream.demo_core.service.CrudService;
import java.util.List;
public interface SysDeptService extends CrudService<SysDept> {
/**
* 查找机构树
*
* @return
*/
List<SysDept> findTree();
} |
package twg2.junitassist.checks;
import java.util.Arrays;
import org.junit.Assert;
/** Static methods for checking type, bounds, and other requirements
* @author TeamworkGuy2
* @since 2014-6-3
*/
public final class Check {
/** Throw an array index out of bounds exception if the {@code index} is less
* than {@... |
/*
* Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.webui.common.attrmetadata.ext;
import com.vaadin.ui.Component;
import com.vaadin.ui.Label;
import com.vaadin.ui.VerticalLayout;
import pl.edu.icm.unity.MessageSource... |
package com.dubo.provider.utils;
import org.apache.ibatis.cache.Cache;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import java.util.concurrent.locks.ReadWriteLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;
public class Mybat... |
package android.support.v4.content;
public enum ModernAsyncTask$Status
{
static
{
FINISHED = new Status("FINISHED", 2);
Status[] arrayOfStatus = new Status[3];
arrayOfStatus[0] = PENDING;
arrayOfStatus[1] = RUNNING;
arrayOfStatus[2] = FINISHED;
$VALUES = arrayOfStatus;
}
}
/* Location: ... |
package com.kaufland.sis.persistence.school.subject.subjects;
import com.kaufland.sis.persistence.school.subject.Subject;
import com.kaufland.sis.persistence.school.subject.subjects.exercise.Exercise;
public class ComputerScience extends Subject {
private Exercise excersice;
public ComputerScience(String... |
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runners.MethodSorters;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class RegressionTest38 {
public static boolean debug = false;
@Test
public void test19001() throws Throwable {
if (debug)
System.out.for... |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2017, Arnaud Roques
*
* Project Info: http://plantuml.com
*
* This file is part of PlantUML.
... |
package com.lujiahao.rocketmq.OrderMessage;
import com.alibaba.rocketmq.client.consumer.DefaultMQPushConsumer;
import com.alibaba.rocketmq.client.consumer.listener.ConsumeOrderlyContext;
import com.alibaba.rocketmq.client.consumer.listener.ConsumeOrderlyStatus;
import com.alibaba.rocketmq.client.consumer.listener.Mess... |
/*
* Copyright (c) 2007 - 2008 by Damien Di Fede <ddf@compartmental.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as published
* by the Free Software Foundation; either version 2 of the License, or
* (at your o... |
/*
* Copyright 2020 LINE Corporation
*
* LINE Corporation 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
package nz.co.stuxo.app.util;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.support.annotation.StringRes;
import android.support.v7.app.AlertDialog;
import nz.co.stuxo.androidboilerplate.R;
public final class DialogFactory {
public static Dialog crea... |
package com.puyixiaowo.fblog.exception;
/**
* @author Moses
* @date 2017-09-03
*/
public class BaseControllerException extends RuntimeException {
public BaseControllerException() {
}
public BaseControllerException(String message) {
super(message);
}
} |
package org.apache.catalina.tribes.group;
import java.util.ArrayList;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.apache.catalina.tribes.Channel;
import org.apache.catalina.tribes.ManagedChannel;
import org.apache.catalina.tribes.Member;
import org.apac... |
package dev.sapphic.chromaticfoliage;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import net.minecraft.block.material.MapColor;
import net.minecraft.item.EnumDyeColor;
import net.minecraft.it... |
package dev.slimevr.gui;
import com.jme3.math.FastMath;
import com.jme3.math.Quaternion;
import com.jme3.math.Vector3f;
import dev.slimevr.VRServer;
import dev.slimevr.gui.swing.EJBagNoStretch;
import dev.slimevr.util.ann.VRServerThread;
import dev.slimevr.vr.processor.TransformNode;
import dev.slimevr.vr.processor.sk... |
package com.fasterxml.jackson.dataformat.cbor.failing;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonToken;
import com.fasterxml.jackson.core.exc.StreamReadException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.dataformat.cbor.CBORTestBase;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.