text stringlengths 7 995k |
|---|
/*
* Copyright 2014 michael-simons.eu.
*
* 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 org.arquillian.cube.kubernetes.impl.enricher.external;
import java.lang.annotation.Annotation;
import java.lang.reflect.Constructor;
import io.fabric8.kubernetes.clnt.v2_6.Config;
import io.fabric8.kubernetes.clnt.v2_6.DefaultKubernetesClient;
import io.fabric8.kubernetes.clnt.v2_6.KubernetesClient;
import o... |
package com.ru.devit.mediateka.di.actor;
import android.content.Context;
import com.ru.devit.mediateka.MediatekaApp;
import com.ru.devit.mediateka.data.datasource.db.ActorDao;
import com.ru.devit.mediateka.data.datasource.db.CinemaActorJoinDao;
import com.ru.devit.mediateka.data.datasource.network.CinemaApiService;
i... |
/*
* Copyright 2020-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.wkm.productdiscovery;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
@EnableEurekaServer
@SpringBootApplication
public class ProductDiscoveryApplication {
p... |
package org.zstack.header.host;
import org.zstack.header.message.MessageReply;
import java.util.HashMap;
import java.util.Map;
/**
* Created by mingjian.deng on 2019/11/25.
*/
public class ScanVmPortReply extends MessageReply {
Map<String, String> status = new HashMap<>();
private boolean supportScan;
... |
/*
* Copyright 2014 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... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2010, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... |
package fr.javatronic.blog.massive.annotation1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_137 {
} |
package com.navercorp.pinpoint.bootstrap.plugin.request;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public abstract class CookieFilter<C> {
public List<CookieAdaptor> wrap(C[] cookies) {
if (cookies == null) {
return Collections.emptyList();
}
... |
/*
Copyright (c) 2012 Thomas Goossens
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, merge, publish, distribut... |
package unl.cse.labs.lab03;
public class Team {
public final String name;
public final Integer wins;
public final Integer loss;
public Team(String name, Integer wins, Integer loss) {
this.name = name;
this.wins = wins;
this.loss = loss;
}
public String getName() {
return this.name;
}
public Inte... |
package cn.tedu.review;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.stream.IntStream;
public class TestCollection {
public static void main(String[] args) {
Collection<Integer>
integerCollection1 = new ArrayList<>(),
... |
/*-
* #%L
* anchor-plugin-quick
* %%
* Copyright (C) 2010 - 2020 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche
* %%
* 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 ... |
/*******************************************************************************
* Caleydo - Visualization for Molecular Biology - http://caleydo.org
* Copyright (c) The Caleydo Team. All rights reserved.
* Licensed under the new BSD license, available at http://caleydo.org/license
*********************************... |
package io.jjk.jcartstoreback.dto.in;
public class CustomerUpdateProfileInDTO {
private String realName;
private String mobile;
private String email;
public String getRealName() {
return realName;
}
public void setRealName(String realName) {
this.realName = realName;
}
... |
/*
* Copyright (C) 2017 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 applicab... |
package com.alstom.spring.core;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;
public class Person implements InitializingBean , DisposableBean{
private Integer pid;
private String name;
private Address address;
public Integer getPid() {
ret... |
package fixtures.lro;
import com.microsoft.rest.credentials.BasicAuthenticationCredentials;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import fixtures.lro.implementation.AutoRestLongRunningOperationTestServiceImpl;
import fixtures.lro.implementation.ProductInner;
public class LROR... |
package org.alien4cloud.alm.deployment.configuration.flow.modifiers;
import javax.annotation.Resource;
import org.alien4cloud.alm.deployment.configuration.flow.FlowExecutionContext;
import org.alien4cloud.alm.deployment.configuration.flow.ITopologyModifier;
import org.alien4cloud.tosca.model.templates.Topology;
impo... |
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
/*
* Copyright 2019 Miroslav Pokorny (github.com/mP1)
*
* 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 applic... |
/*
* Copyright 2021 HM Revenue & Customs
*
* 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 a... |
/*
*
* * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.com)
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* *
* * http://www.apache.org/... |
package utils;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
public class IOUtils {
private IOUtils(){}
/**
* @param bt 写入的字节数组
* @param location 写入的位置
*/
public static void Downloa... |
package person.me.epitomize.design.sidus;
/*
*only for java1.8
*
*
**/
public class Lam {
public static void main(String[] args) {
System.out.println("Hello Lambda!");
}
} |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gameshop.advance.controller;
import gameshop.advance.config.ConfigurationControllerSingleton;
import gameshop.advance.excepti... |
package WayofTime.alchemicalWizardry.common.spell.simple;
import java.util.Iterator;
import java.util.List;
import java.util.Random;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.AxisAlignedBB;
import net.m... |
/**
* Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U <br>
* This file is part of FI-WARE project.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License.
* </p>
* <p>
* You may obtain a copy of the License at:<br>
*... |
package ch.ethz.semdwhsearch.prototyp1.querygraph;
/**
* An interface which is implemented by all objects which may have a score.
*
* @author Lukas Blunschi
*
*/
public interface HasScore extends HasURI {
/**
* Get score.
*
* @return score. Negativ if not set.
*/
double getScore();
/**
* Set sco... |
package com.liuaho.repository;
import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
import androidx.room.TypeConverter;
import androidx.room.TypeConverters;
import com.luck.picture.lib.entity.LocalMedia;
import jav... |
/*
* Copyright © 2016 Cask Data, 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 t... |
package gearth.services.extensionhandler.extensions;
import gearth.protocol.HMessage;
import gearth.protocol.HPacket;
public abstract class ExtensionListener {
// override whatever you need
protected void manipulatedPacket(HMessage hMessage) {}
protected void flagsRequest() {}
protected void sendMess... |
package com.nityankhanna.androidutils.http;
/**
* Created by Nityan Khanna on Jan 18 2014.
*/
public interface HttpMessage
{
/**
* Checks if the Http message contains headers.
*
* @return Returns true if the Http message contains headers.
*/
boolean containsHeaders();
/**
* Gets the content type of the... |
package com.xuegao.mybatisxmlrefresh;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class MybatisXmlRefreshApplication {
public static void main(String[] args) {
SpringApplication.run(MybatisXmlRefresh... |
package com.lang.web.servlet;
public class userServlet {
} |
/**
*
*/
package e3d.display;
import javax.swing.JPanel;
/**
* @author oskar
*
*/
public class Display3D extends JPanel {
/**
* Create the panel.
*/
public Display3D() {
}
} |
package james.alarmio.utils;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
public class ImageUtils {
public static Bitmap drawableToBitmap(Drawable drawable) {
if (drawable == null)
r... |
package com.workhub.z.servicechat.config;
import java.util.UUID;
/**
*@Description: 随机ID生成
*@Author: 忠
*@date: 2019/5/15
*/
public class RandomId {
public static String getUUID() {
UUID uuid = UUID.randomUUID();
String str = uuid.toString();
String uuidStr = str.replace("-", "");
r... |
package elemental2.core;
import jsinterop.annotations.JsFunction;
import jsinterop.annotations.JsOverlay;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;
import jsinterop.base.Js;
import jsinterop.base.JsConstructorFn;
@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public class Re... |
/*
* Copyright 2017 Netflix, 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... |
package com.supanadit.restsuite.renderer;
import com.supanadit.restsuite.model.BodyRawTypeModel;
import javax.swing.*;
import java.awt.*;
public class RequestBodyRawTypeRenderer extends DefaultListCellRenderer {
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected... |
package com.helospark.spark.builder.handlers;
import static com.helospark.spark.builder.preferences.PluginPreferenceList.DEFAULT_BUILDER_GENERATOR;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import com.helosp... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution License("CDDL") (... |
package com.rekoe.module;
import java.io.File;
import java.io.FileInputStream;
import java.net.URLEncoder;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.shiro.SecurityUtils;
import org.apache... |
// Targeted by JavaCPP version 1.5.2: DO NOT EDIT THIS FILE
package org.bytedeco.tensorflow;
import org.bytedeco.tensorflow.Allocator;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.tensorflow.global.tensorflow.*;
/** Saves input tensors slice... |
/*
* 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... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/
package org.opensear... |
/*
* The Gemma project
*
* Copyright (c) 2006 University of British Columbia
*
* 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
*
... |
package ru.ilnyrdiplom.bestedu.facade.model.enums;
public enum AccessDisciplineStatus {
AWAIT,
ACCEPTED,
REJECTED
} |
/*
* Copyright (C) 2016 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... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.redis.implementation;
import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.Delete;
import com.azure.core... |
package org.linlinjava.litemall.wx.wxController;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.linlinjava.litemall.core.notify.AliyunSmsSender;
import org.linlinjava.litemall.core.notify.SmsResult;
import org.linl... |
package org.panda_lang.reposilite.config;
import java.io.Serializable;
final class ConfigurationDto implements Serializable {
private final String title;
private final String description;
private final String accentColor;
ConfigurationDto(String title, String description, String accentColor) {
... |
package app.config;
import java.util.ArrayList;
import org.springframework.security.authentication.BadCredentialsException;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider;
import o... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package org.squiddev.cctweaks.core.network.modem;
import dan200.computercraft.api.peripheral.IPeripheral;
import net.minecraft.world.World;
import org.squiddev.cctweaks.core.utils.Helpers;
import java.util.*;
/**
* A collection of peripherals that handles id assignment
*/
public abstract class DynamicPeripheralCol... |
package List.App;
import List.Entities.Employees;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import java.util.Scanner;
public class Program {
public static void main(String[] args) {
Locale.setDefault(Locale.US);
Scanner sc = new Scanner(System.in);
System... |
/**
* Copyright (c) 2012 - 2017 by NirvanaXP, LLC. All Rights reserved. Express
* written consent required to use, copy, share, alter, distribute or transmit
* this source code in part or whole through any means physical or electronic.
**/
package com.nirvanaxp.services.jaxrs.packets;
import javax.xml.bind.annotat... |
package cn.lxtkj.gulimall.coupon.service;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.lxtkj.common.utils.PageUtils;
import cn.lxtkj.gulimall.coupon.entity.SeckillPromotionEntity;
import java.util.Map;
/**
* 秒杀活动
*
* @author leixiaotian
* @email 1124378213@qq.com
* @date 2021-08-12 22:3... |
package com.tomergoldst.timekeeperdemo;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.DialogFragment;
impo... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Shopify 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
... |
/* JComponent.java -- Every component in swing inherits from this class.
Copyright (C) 2002, 2004, 2005, 2006, Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.divudi.entity.hr;
import com.divudi.data.hr.PaysheetComponentType;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType... |
package com.ruoyi.framework.config;
import com.baomidou.mybatisplus.annotation.DbType;
import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
import com.baomidou.mybatisplus.extension.plugins.inner.BlockAttackInnerInterceptor;
import com.baomidou.mybatisplus.extension.plugins.inner.OptimisticLockerI... |
package com.scwang.refreshlayout.activity.practice;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.scwa... |
/**
*
*/
package cn.lambdacraft.deathmatch.client.model;
import cn.liutils.api.client.model.IItemModel;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack;
/**
* @author WeAthFolD, 擎兽
*
*/
public ... |
// This is a generated file. Not intended for manual editing.
package nl.hannahsten.texifyidea.psi;
import com.intellij.psi.PsiElement;
public interface BibtexComment extends PsiElement {
} |
package com.eegeo.mapapi.services.tag;
import android.support.annotation.UiThread;
/**
* A listener interface for receiving the results of a Load Tags request
*
* An object implementing this should be passed to the LoadTags() method when you want a callback notification.
*/
public interface OnTagsLoadCompletedLis... |
package generics;
public interface Bar2_interface__int_double extends dart._runtime.base.DartObject_interface, generics.Bar2_interface<java.lang.Integer, java.lang.Double>, generics.Bar2_interface__int_generic<java.lang.Double>, generics.Bar2_interface__generic_double<java.lang.Integer>
{
int bar_Bar2__int_double(in... |
/*******************************************************************************
* Copyright (c) 2014 Opt4J
*
* 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, includi... |
package java.io;
/*
* #%L
* Matos
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2010 - 2014 Orange SA
* %%
* 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.o... |
package com.twist.coolweather.gson;
import com.google.gson.annotations.SerializedName;
/**
* File description
*
* @author twist
* @date 2020/4/16 15 23
* @email twistonidea@gmail.com
*/
public class Suggestion {
/**
* comf : {"type":"comf","brf":"舒适","txt":"白天不太热也不太冷,风力不大,相信您在这样的天气条件下,应会感到比较清爽和舒适。"}
... |
package io.openim.android.demo.ui.search;
import static io.openim.android.ouicontact.utils.Constant.K_USER_ID;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import io.openim.android.demo.R;
import io.openim.android.demo.databinding.ActivitySendVerifyBinding;
import io.openim.android.dem... |
/*
* Copyright (C) 2016 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 io.appium.uiautomator2.handler;
import android.app.Instrumentation;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.util.DisplayMetrics;
import android.view.WindowManager;
import io.appium.uiautomator2.handler.request.SafeRequestHandler;
import io.appium.uia... |
package com.luoxiang.reader.ui.easyadapter;
import android.content.Context;
import android.view.ViewGroup;
import com.luoxiang.reader.R;
import com.luoxiang.reader.bean.BookSource;
import com.luoxiang.reader.view.LetterView;
import com.luoxiang.reader.view.recyclerview.adapter.BaseViewHolder;
import com.luoxiang.read... |
/**
* 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;... |
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package io.permazen;
import io.permazen.core.ListFieldChangeListener;
import io.permazen.core.MapFieldChangeListener;
import io.permazen.core.SetFieldChangeListener;
import io.permazen.core.SimpleFieldChangeListener;
interface AllChangesListener exte... |
/**
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.forex.definition;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertFalse;
import static org.te... |
package com.github.agmcc.swordfish.io;
import com.squareup.javapoet.JavaFile;
import java.io.IOException;
import java.io.Writer;
import javax.annotation.processing.Filer;
import javax.tools.JavaFileObject;
public class JavaFileWriter {
private final Filer filer;
public JavaFileWriter(final Filer filer) {
th... |
/*
* Copyright 2002-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*
* 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 2004-2006 Stefan Reuter
*
* 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 ... |
/*
* oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
*
* Copyright (c) 2014, Gluu
*/
package org.gluu.oxauth.interop;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertNotNull;
import static org.testng.Assert.assertTrue;
im... |
package io.agrest.meta;
import io.agrest.meta.compiler.BeanAnalyzer;
import io.agrest.meta.compiler.PropertyGetter;
import io.agrest.property.PropertyReader;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
/**
* A mutable collection of entity properties tha... |
/**
*
*/
package za.co.sindi.paygate.type;
import java.io.Serializable;
import za.co.sindi.common.utils.PreConditions;
/**
* @author Bienfait Sindi
* @since 19 January 2015
*
*/
public class Month implements Serializable {
/**
*
*/
private static final long serialVersionUID = -3746059271757081350L;
... |
/*
* This file is part of the Yildiz-Engine project, licenced under the MIT License (MIT)
*
* Copyright (c) 2019 Grégory Van den Borre
*
* More infos available: https://engine.yildiz-games.be
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* ... |
/*
* Copyright 2011 RoboViz
*
* 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... |
interface Eatable {
void eat();
}
public class AnonymousInnerClassUsingInterface {
public static void main(String[] args) {
Eatable eatable = new Eatable() {
@Override
public void eat() {
System.out.println("Nice fruits");
}
};
eatable.eat();
}
} |
package com.scenic.wechat.server.bean;
/**
* <p/>
* User: jonnyliu@tcl.com <br/>
* Date: on 2016-09-02 18:57.
*/
public class RemarkUserParameter extends BaseBean {
private String openid;
private String remark;
public RemarkUserParameter(String openid, String remark) {
this.openid = openid;
... |
package com.wotrd.dubbo.depends.web;
import com.wotrd.dubbo.depends.service.IDependService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;
@RestControll... |
package com.sun.source.tree;
import checkers.inference2.reimN.quals.*;
public interface ConditionalExpressionTree extends ExpressionTree {
@PolyPoly ExpressionTree getCondition(@PolyPoly ConditionalExpressionTree this) ;
@PolyPoly ExpressionTree getTrueExpression(@PolyPoly ConditionalExpressionTree this) ;
... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.docproc.jdisc.messagebus;
import com.yahoo.component.provider.ComponentRegistry;
import com.yahoo.concurrent.CopyOnWriteHashMap;
import com.yahoo.container.core.document.ContainerDoc... |
package tk.valoeghese.zoesteria.common.surface;
import java.util.LinkedHashMap;
import tk.valoeghese.zoesteria.api.surface.ISurfaceTemplateConfig;
import tk.valoeghese.zoesteriaconfig.api.ZoesteriaConfig;
import tk.valoeghese.zoesteriaconfig.api.container.Container;
import tk.valoeghese.zoesteriaconfig.api.container.... |
/*
* Copyright (c) 2005-2018 Substance Kirill Grouchnikov. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice,
* ... |
package com.zhc.cloud.system.service;
import com.zhc.cloud.system.common.entity.SysDeptVO;
import com.zhc.cloud.system.domain.mysql.SysDeptPO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhc.cloud.common.result.Result;
import java.util.List;
/**
* <p>
* 部门表 服务类
* </p>
*
* @author zhc
... |
/******************************************************
* Image resize servlet
*
*
* Copyright (C) 2012 by Peter Hedenskog (http://peterhedenskog.com)
*
******************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in... |
/*
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.market.curve.interpolator;
import static com.opengamma.strata.collect.TestHelper.assertSerialization;
import static org.testng.Assert.assertEquals;
impo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.