text stringlengths 7 995k |
|---|
package com.report.common.dal.query.entity.dto;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* 模板实体类
* @author lishun... |
/*
* Copyright (c) 2020 Oracle and/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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... |
package mygame;
import com.jme3.math.Transform;
import mygame.weapon.Weapon;
public class WeaponDefs {
public class WeaponAssets {
public Class<? extends Weapon> clazz;
public String name;
public Transform[] ik;
public String model;
public String crosshairText;
}
} |
/**
* Copyright 2010-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
/* $Id: ActionAddEnumerationLiteral.java 19907 2012-12-30 13:06:01Z closettop_nightlybuild $
*****************************************************************************
* Copyright (c) 2009-2012 Contributors - see below
* All rights reserved. This program and the accompanying materials
* are made available under ... |
package fun.play.zeromq;
import java.util.Random;
import org.zeromq.ZMQ;
public class PubServer {
public static void main (String[] args) throws Exception {
// Prepare our context and publisher
ZMQ.Context context = ZMQ.context(1);
ZMQ.Socket publisher = context.socket(ZMQ.PUB);
pu... |
package main.java.com.mmall.concurrency.example.atomic;
import main.java.com.mmall.concurrency.annoations.ThreadSafe;
import lombok.extern.slf4j.Slf4j;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;... |
package com.stefan.ypinmall.coupon.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.stefan.common.utils.PageUtils;
import com.stefan.ypinmall.coupon.entity.CouponSpuRelationEntity;
import java.util.Map;
/**
* 优惠券与产品关联
*
* @author Stefan_Yang
* @email stefanyang520@gmail.com
* @dat... |
/**
* Copyright (C) 2018-2020 Expedia, 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 ag... |
package nl.kolkos.cryptoManager.services;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Comparator;
import java.util.Date;
import java.util.List;
import java.util.stream.Collectors;
import javax.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.s... |
/**
* Auto-configuration for Spring Cloud GCP Trace module related to Sleuth and Stackdriver integration.
*/
package org.springframework.cloud.gcp.autoconfigure.trace.sleuth; |
/*
* #%L
* BroadleafCommerce Framework
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* 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/licens... |
package dev.patika.model;
import java.util.List;
import java.util.Objects;
import javax.persistence.*;
import java.util.ArrayList;
@Entity
public class Course {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
private String name;
private String courseCode;
private int ... |
package com.symulakr.dinstar.smsserver.controllers;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMappi... |
package edu.wpi.grip.generated.opencv_imgproc.enumeration;
import org.bytedeco.javacpp.opencv_imgproc;
public enum GrabCutClassesEnum {
/** an obvious background pixels */
GC_BGD(opencv_imgproc.GC_BGD), /** an obvious foreground (object) pixel */
GC_FGD(opencv_imgproc.GC_FGD), /** a possible background p... |
package com.epam.spring.web.mvc.rentcarservice.persistence.model;
import lombok.Builder;
import lombok.Data;
@Data
@Builder
public class Car {
private String brand;
private String model;
private String carClass;
private String price;
private String carNumber;
private boolean isAvailable = true... |
/*
* @test /nodynamiccopyright/
* @bug 4865660
* @summary implement "metadata" (attribute interfaces and program annotations)
* @author gafter
*
* @compile/fail/ref=Z13.out -XDrawDiagnostics Z13.java
*/
@interface An {
int a() throws NullPointerException;
} |
/*
* Copyright © 2015-2016
*
* This file is part of Spoofax for IntelliJ.
*
* 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
*
* Unl... |
/*
* 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 2006-2019 ICEsoft Technologies Canada Corp.
*
* 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.leodelmiro.proposal.cards;
import com.leodelmiro.proposal.block.CardBlockRequest;
import com.leodelmiro.proposal.block.CardBlockResponse;
import com.leodelmiro.proposal.travelnotice.TravelNoticesApiRequest;
import com.leodelmiro.proposal.travelnotice.TravelNoticesApiResponse;
import com.leodelmiro.proposal... |
package com.acme.architecture.testing.archunit.util;
import com.acme.architecture.testing.constant.ArchUnitNameConstant;
public final class ArchUnitNameUtil {
private ArchUnitNameUtil() {
throw new IllegalStateException("ArchUnitNameUtil");
}
public static String generateNameFromNameImplementation(String para... |
///*|-----------------------------------------------------------------------------
// *| This source code is provided under the Apache 2.0 license --
// *| and is provided AS IS with no warranty or guarantee of fit for purpose. --
// *| See the project's LICENSE.md for details. ... |
/**
* <p>Coyright (R) 2014 我是大牛股份有限公司。<p>
*/
package com.woshidaniu.authz.pac4j.property;
public class ShiroPac4jOAuthOkClientProperties extends ShiroPac4jOAuthClientProperties {
/**
* Public key (required as well as application key by API on ok.ru)
*/
private String publicKey;
public String getPublicKey() ... |
/*
* 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 in.rahulja.algo.constants;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import lombok.experimental.UtilityClass;
@UtilityClass
public class SearchTestConstants {
public static final List<Integer> UNSORTED_LIST_INTEGERS = Collections.unmodifiableList(
Arrays.asList(2, ... |
package edu.ucla.cs.check;
import edu.ucla.cs.utils.FileUtils;
public class FlatAggregateScores {
public static void main(String[] args) {
String csvPath = "/media/troy/Disk2/Boa/unreliable_score.csv";
String s = FileUtils.readFileToString(csvPath);
for(String line : s.split(System.lineSeparator())) {
if(!l... |
/*
* Copyright 2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package org.gradle.test.performance.mediummonolithicjavaproject.p57;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test1155 {
Production1155 objectUnderTest = new Production1155();
@Test
public void testProperty0() {
String value = "value";
objectUnderTest.s... |
package org.jboss.resteasy.test.warning.resource;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.core.Response;
import javax.ws.rs.Produces;
/**
* Created by rsearls on 9/5/17.
*/
@Path("test")
public class TestResource1 {
@GET
@Path("x")
@Produces("text/plain")
public Response met... |
package com.sk89q.worldedit.bukkit.adapter.impl.fawe.v1_17_R1_2.nbt;
import com.sk89q.jnbt.CompoundTag;
import com.sk89q.jnbt.LazyCompoundTag;
import com.sk89q.jnbt.ListTag;
import com.sk89q.jnbt.StringTag;
import com.sk89q.jnbt.Tag;
import com.sk89q.worldedit.bukkit.WorldEditPlugin;
import com.sk89q.worldedit.util.nb... |
package p;
import java.util.Arrays;
import java.util.List;
class A {
List l= null;
void add(String s) {
l.add(s);
}
void addAll(String[] ss) {
l.addAll(Arrays.asList(ss));
}
String[] get() {
return (String[])l.toArray(new String[l.size()]);
}
} |
package ru.job4j.musicvenue.persistence.dao;
import ru.job4j.musicvenue.domains.MusicType;
public interface MusicTypeDao extends GenericDao<MusicType> {
} |
package de.seven.fate.message.dto;
import org.junit.Test;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import static org.junit.Assert.assertTrue;
/**
* Created by Mario on 08.10.2016.
*/
public class MessagesDTOTest {
MessagesDTO ... |
package demo.java.v1c09.FileChooserTest;
import java.awt.*;
import java.awt.event.*;
import java.beans.*;
import java.io.*;
import javax.swing.*;
import javax.swing.filechooser.*;
import javax.swing.filechooser.FileFilter;
/**
* @version 1.23 2007-06-12
* @author Cay Horstmann
*/
public class FileChooserTest
{
p... |
/*
* 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 app... |
package com.aliyun.ros.cdk.dts;
/**
* Properties for defining a `ALIYUN::DTS::SubscriptionInstance`.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.53.0 (build c071d26)", date = "2022-02-11T01:44:07.302Z")
@software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.dts.$Module.class, fqn = "@alicloud/ros-cdk-dts.S... |
/**
* 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... |
/**
* Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.hadoop.hive.metastore.api;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;... |
/*
* Sonargraph Integration Access
* Copyright (C) 2016-2021 hello2morrow GmbH
* mailto: support AT hello2morrow DOT com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://ww... |
/*
Adobe AEM Brightcove Connector
Copyright (C) 2018 Coresecure Inc.
Authors: Alessandro Bonfatti
Yan Kisen
Pablo Kropilnicki
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published ... |
/*
* (c) Copyright Christian P. Fries, Germany. All rights reserved. Contact: email@christianfries.com.
*
* Created on 07.08.2014
*/
package net.finmath.marketdata.model.curves;
import java.time.LocalDate;
import java.time.Month;
import org.junit.Assert;
import org.junit.Test;
import net.finmath.marketdata.mode... |
/**
* Copyright (c) Istituto Nazionale di Fisica Nucleare (INFN). 2016-2019
*
* 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
*
* Unl... |
package org.kie.demo.taskassignment.util;
import java.util.List;
import org.jbpm.services.task.events.DefaultTaskEventListener;
import org.kie.api.task.TaskEvent;
import org.kie.api.task.model.Task;
import org.kie.api.task.model.User;
import org.kie.demo.taskassignment.planner.domain.Group;
import org.kie.demo.taskas... |
package module2241_public.a;
import java.util.logging.*;
import java.util.zip.*;
import javax.annotation.processing.*;
/**
* Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
* labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo ... |
package com.firstgenix.rest;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframewor... |
package com.tuling.tulingmall.common.constant;
/**
* @author :杨过
* @date :Created in 2020/2/17
* @version: V1.0
* @slogan: 天下风云出我辈,一入代码岁月催
* @description:
**/
public interface RedisKeyPrefixConst {
/**
* 产品详情内容缓存前缀
*/
String PRODUCT_DETAIL_CACHE = "product:detail:cache:";
/**
* 产品库存缓存... |
/**
* MIT License
* Copyright (c) 2018 haihua.liu
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, me... |
/* file: TrainingMethod.java */
/*******************************************************************************
* Copyright 2014 Intel 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 Licens... |
/*-
* #%L
* Elastic APM Java agent
* %%
* Copyright (C) 2018 Elastic and contributors
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... |
package com.atguigu.gulimall.ums.dao;
import com.atguigu.gulimall.ums.entity.MemberLoginLogEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 会员登录记录
*
* @author leifengyang
* @email lfy@atguigu.com
* @date 2019-08-01 20:38:09
*/
@Mapper
public int... |
/*
* Copyright 2016-2021 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... |
/*
* ====================================================================
* 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
... |
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package com.nilhcem.devoxxfr.core.moshi;
import com.squareup.moshi.FromJson;
import com.squareup.moshi.ToJson;
import org.threeten.bp.LocalDateTime;
import org.threeten.bp.format.DateTimeFormatter;
import java.util.Locale;
import javax.inject.Inject;
import javax.inject.Singleton;
@Singleton
public class LocalDate... |
/*
* Copyright 2014-2020 JKOOL, 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... |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... |
package com.demo.helloworld.entity;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
@Entity
@Table(name = "t_book")
public class BookJpa {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@Column(length = 100)
private String name;
@Column(... |
/*
* Copyright (c) 2011 Kevin Sawicki <kevinsawicki@gmail.com>
*
* 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 kcn.calculation;
/* Purpose of this class is to enable building of calculation object in the abstract
* , and to allow the testing of such calculations without critical exceptions being
* thrown.
* Implementation is not meant for humans, but is to allow manifold testing by
* learning agents; thus, the methods ... |
package com.twu.biblioteca.command.menu;
import com.twu.biblioteca.DTO.BookDTO;
import com.twu.biblioteca.model.Library;
import com.twu.biblioteca.model.Role;
import com.twu.biblioteca.model.Users.User;
import com.twu.biblioteca.view.BookView;
import org.junit.Test;
import org.mockito.Mockito;
import java.util.ArrayL... |
package org.tsd.avwx.api.taf;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
public class TranslatedTaf {
@JsonProperty(value = "Forecast")
private List<TranslatedForecast> forecasts;
@JsonProperty(value = "Max-Temp")
private String maxTemp;
@JsonProperty(value = ... |
package org.bana.wechat.mini.media;
public enum UploadType {
图片("image"),语音("voice"),视频("video"),缩略图("thumb");
private String type;
private UploadType(String type) {
this.type = type;
}
public String getType() {
return type;
}
public static UploadType getInstance(String type){
for (UploadType upload... |
/*
* Copyright (c) 2005, 2015, 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 biz.paluch.logging.gelf.standalone;
import java.util.HashMap;
import java.util.Map;
import biz.paluch.logging.gelf.intern.ErrorReporter;
import biz.paluch.logging.gelf.intern.GelfSenderConfiguration;
/**
* Default Gelf sender configuration for standalone use.
*
* @author <a href="mailto:mpaluch@paluch.bi... |
package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.mobile.public.menu.get response.
*
* @author auto create
* @since 1.0, 2016-01-05 22:34:31
*/
public class AlipayMobilePublicMenuGetResponse extends AlipayResponse {
... |
/*
* Copyright 2011-2017 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 "lice... |
package eu.aero2x.andromedab;
import android.content.Context;
import android.util.Log;
import com.android.internal.http.multipart.MultipartEntity;
import com.android.internal.http.multipart.Part;
import com.android.volley.AuthFailureError;
import com.android.volley.DefaultRetryPolicy;
import com.android.volley.Reques... |
package com.miguebarrera.consorciotransportesandalucia.activitys;
import android.Manifest;
import android.app.Activity;
import android.app.SearchManager;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.support.design.widg... |
/*
* Copyright (c) Facebook, Inc. and its 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.redex.test.proguard;
public class Omega {
public class Alpha {
void red() {}
void green0() {}
... |
package com.coolweather.android.service;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.IBinder;
import android.os.SystemClock;
import android.preference.PreferenceManager;
import... |
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 license... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.askey.firefly.zwave.control.service;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.IBinder;
import com.askey.firefly.zwave.control.MainActivity;
impo... |
package org.broadinstitute.hellbender.tools.walkers.mutect;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.collect.ImmutableMap;
import com.google.common.primitives.Doubles;
import htsjdk.variant.variantcontext.Allele;
import htsjdk.variant.variantcontext.VariantContext;
import htsjdk... |
package com.houarizegai.datastructures.linkedlist;
public class LinkedList<T> {
private Node<T> head;
public LinkedList() {
}
public int size() {
Node currentNode = head;
if(currentNode == null)
return 0;
int size = 1;
while(currentNode.getNext() != null) ... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2012 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// 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: 2018.07.30 at 11:50:... |
/*
* 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... |
/*
* Copyright 2005-2014 The Kuali Foundation
*
* 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.opensource.org/licenses/ecl1.php
*
* Unless required by... |
package org.hl7.fhir.dstu3.model.codesystems;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above co... |
package com.github.sejoslaw.vanillamagic2.common.tileentities.machines.modules.farms;
import com.github.sejoslaw.vanillamagic2.common.tileentities.machines.IVMTileMachine;
import com.github.sejoslaw.vanillamagic2.common.utils.WorldUtils;
import net.minecraft.entity.Entity;
import net.minecraft.entity.item.ItemEntity;
... |
package hu.tamaskojedzinszky.android.materialsearch.sample;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.Snackbar;
import android.support.v4.app.Fragment;
import android.supp... |
/**
* Description: provide the system setting paths
*
* @ Author Create/Modi Note
* Xiaofeng Xie Nov 02, 2006
* Xiaofeng Xie Aug 21, 2008 MAOS M01.00.00
*
* @version M01.00.00
*/
package maosKernel.infoIO.setting;
import Global.define.*;
import Global.methods.*;
import Global.system.io.*;
... |
/*
* 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.ruoyi.system.mapper.baseInfo.DormRoomMapper;
import org.springframework.stereotype.Repository;
import com.ruoyi.system.domain.MiScampus;
import java.util.List;
/**
* 学生信息 数据层
*
* @author dg
*/
@Repository
public interface MisScampusMapper
{
/**
* 查询校区信息集合
*
* @param scampus 校区信息
... |
package seedu.address.logic.commands;
import static java.util.Objects.requireNonNull;
import static seedu.address.logic.parser.CliSyntax.PREFIX_ADDRESS;
import static seedu.address.logic.parser.CliSyntax.PREFIX_EMAIL;
import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME;
import static seedu.address.logic.par... |
/*
* Copyright 2016-2021 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 artisynth.demos.tutorial;
import java.awt.Color;
import java.io.IOException;
import javax.swing.JSeparator;
import maspack.matrix.*;
import maspack.render.RenderProps;
import maspack.render.Renderer;
import maspack.render.Renderer.LineStyle;
import maspack.widgets.LabeledComponentBase;
import artisynth.core.... |
package terrails.xnetgases.helper;
import mcjty.rftoolsbase.api.xnet.channels.IChannelType;
import net.minecraftforge.common.ForgeConfigSpec;
public abstract class ChannelModule implements IChannelType {
public void setupConfig(final ForgeConfigSpec.Builder builder) { }
} |
/*
* Copyright 2012-2016 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... |
/*******************************************************************************
* Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... |
// ========================================================================
// Copyright 2008-2009 NEXCOM Systems
// ------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Lice... |
// ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... |
package com.github.ikhoury.rstreamer.config.poller;
public class BatchPollerConfigBuilder {
private String host = "localhost";
private int port = 6379;
private int pollTimeoutInSeconds = 5;
private BatchPollerConfigBuilder() {
}
public static BatchPollerConfigBuilder defaultBatchPollerConfi... |
package nl.miwgroningen.se6.gardengnomes.Igadi.dto;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
/**
* @author Tjerk Nagel
* doel:
*/
public class GardenDTO {
private Integer gardenId;
@NotNull
@NotEmpty
... |
/* jcifs msrpc client library in Java
* Copyright (C) 2006 "Michael B. Allen" <jcifs at samba dot org>
* "Eric Glass" <jcifs at samba dot org>
*
* 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... |
package ru.job4j.search;
import org.junit.Test;
import java.util.List;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* @version $Id$
* @since 0.1
*/
public class PhoneDictionaryTest {
@Test
public void whenFindByName() {
PhoneDictionary phones = new PhoneDict... |
/*
* This class takes a corpus with system resolved toponyms and generates a KML file visualizable in Google Earth.
*/
package opennlp.fieldspring.tr.app;
import opennlp.fieldspring.tr.text.*;
import opennlp.fieldspring.tr.text.io.*;
import opennlp.fieldspring.tr.util.*;
import java.io.*;
public class WriteCorpusT... |
/*
* 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")... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.