text stringlengths 7 1.01M |
|---|
/*
* Copyright (c) 2017 Michael Krotscheck
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
package com.corbo.musicstreaming.model;
import org.springframework.http.ResponseEntity;
import org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody;
public interface MusicManager {
public ResponseEntity<StreamingResponseBody> buildStream(final String trackId, final String range);
}
|
package com.snaildev;
import com.snaildev.pojo.Book;
import java.lang.reflect.Field;
public class FieldApp {
public static void main(String[] args) {
Book book = new Book(1, "走在人生边上", "散文");
show(book);
}
private static void show(Book book) {
Class cl = book.getClass();
... |
/* Copyright (c) 2001-2011, The HSQL Development Group
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list... |
package com.benaowen.reststub;
import com.benaowen.reststub.persistence.PersonDB;
import com.codahale.metrics.health.HealthCheck;
/**
* Created by benowen on 29/08/2017.
*/
public class RestStubCheck extends HealthCheck {
private final String version;
public RestStubCheck(String version) {
this.ver... |
/**
* Copyright (C) 2012-2019 Philip Helger
* philip[at]helger[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://www.apache.org/licenses/LICENSE-2.0
*
* Unl... |
public class Main1{
public static void main(String[] args){
LinkedList ll=new LinkedList();
for(int i=0;i<10;i++){
ll.add(i);
}
ll.print();
}
}
|
package org.arend.contrib.meta;
import org.arend.contrib.StdExtension;
import org.arend.contrib.context.Context;
import org.arend.contrib.context.ContextHelper;
import org.arend.contrib.context.HidingContext;
import org.arend.contrib.error.TypeError;
import org.arend.contrib.key.FieldKey;
import org.arend.contrib.meta... |
/*
* This file is part of the PSL software.
* Copyright 2011-2015 University of Maryland
* Copyright 2013-2018 The Regents of the University of California
*
* 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... |
package com.github.quadflask.react.navermap;
import com.facebook.react.bridge.ReactContext;
import com.facebook.react.bridge.WritableMap;
public interface EventEmittable {
boolean emitEvent(ReactContext context, int id, String eventName, WritableMap param);
}
|
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright (C) 2014 nohana, Inc.
* Copyright 2017 Zhihu 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 requi... |
package com.revature.servlet;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.exc.MismatchedInputException;
import com.revature.dtos.Credentials;
import com.revature.dtos.ErrorResponse;
import com.revature.dtos.Principal;
import com.revature.exceptions.AuthenticationException;... |
package com.yahoo.labs.samoa.moa.classifiers.core.attributeclassobservers;
/*
* #%L
* SAMOA
* %%
* Copyright (C) 2007 University of Waikato, Hamilton, New Zealand
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... |
package com.solace.demo.sohealthy;
import com.fasterxml.jackson.annotation.JsonInclude;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PatientAlertSchema {
public PatientAlertSchema () {
}
public PatientAlertSchema (
String dateTime,
String alertMessage,
String patientId,
String messageId) {... |
package byps.test.api.remote;
import java.util.List;
import java.util.Map;
import byps.BRemote;
import byps.RemoteException;
import byps.test.api.inl.Actor;
import byps.test.api.inl.Point2D;
/**
*
*/
public interface RemoteInlineInstance extends BRemote {
public void setActor(Actor act) throws RemoteException;... |
package targetDeprecated;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import java.lang.Throwable;
import org.junit.Test;
import org.junit.runner.RunWith;
import steps.DeprecatedSteps;
@RunWith(AndroidJUnit4.class)
public class AFeatureWithoutBackgroundTest {
private final DeprecatedSteps steps_Deprecat... |
/**
*
*/
/**
* Title: package-info
* Description:
* Version:1.0.0
* @author pancm
* @date 2018年1月27日
*/
package com.pancm.netty.client; |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.streamanalytics.models;
import com.azure.core.http.HttpHeaders;
import com.azure.core.http.HttpRequest;
import com.azure.core.ht... |
package org.code.algorithm.datastructe;
/**
* @author dora
* @date 2020/9/16
*/
public class RedBlackTreeNode {
private RedBlackTreeNode left;
private RedBlackTreeNode right;
private RedBlackTreeNode root;
private RedBlackTreeNode parent;
private int color = 0;
/**
* 红黑树五大特性
* 1... |
/*
* Copyright 2017 Crown Copyright
*
* 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... |
package ru.stqa.pft.mantis.tests;
import org.testng.annotations.Test;
import ru.stqa.pft.mantis.appmanager.DbHelper;
import ru.stqa.pft.mantis.appmanager.HttpSession;
import ru.stqa.pft.mantis.model.MailMessage;
import ru.stqa.pft.mantis.model.UserData;
import javax.mail.MessagingException;
import java.io.IOException... |
package net.onebean.server.mngt.vo;
import net.onebean.core.model.BaseModel;
import net.onebean.core.model.InterfaceBaseModel;
import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
/**
* @author 0neBean
* @description server info model
* @date 2019-01-21 18:05:28
*/
public... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.rbittencourt.aws.cost.miner.domain.metric;
import com.rbittencourt.aws.cost.miner.domain.billing.BillingInfos;
import com.rbittencourt.aws.cost.miner.domain.mask.Money;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.core.annotation.Order;
import org.springframewor... |
package com.fingertech.kesforstudent.Rest;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.util.concurrent.TimeUnit;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class ApiClient {
//////////// http://192.168.43.... |
/*
* 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... |
/**
* Copyright 2015 Confluent 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 ... |
/* ************************************************************************
#
# DivConq
#
# http://divconq.com/
#
# Copyright:
# Copyright 2014 eTimeline, LLC. All rights reserved.
#
# License:
# See the license.txt file in the project's top-level directory for details.
#
# Authors:
# * Andy ... |
package org.zstack.compute.vm;
import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.transaction.annotation.Transactional;
import org.zstack.core.component... |
// Github: github.com/RodneyShag
import java.util.Scanner;
import java.util.Arrays;
// Algorithm: Sort the array and compare adjacent pairs
// Greedy algorithm? No
// A greedy algorithm makes "the locally optimal choice at each
// stage with the hope of finding a global optimum" - Wikipedia
public class Solution ... |
package zmaster587.advancedRocketry.stations;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.text.TextComponentString;
import net.minecraftforge.common.DimensionManager;
import net.minecraftforge.common.util.Constants.NBT... |
package com.ning.login.service;
import com.ning.login.entity.User;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.SimpleAuthenticationInfo;
import org.apache.shiro.authz.Authorizat... |
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
package com.distrimind.bcfips.crypto.fips;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.security.SecureRandom;
import com.distrimind.bcfips.crypto.general.FipsRegister;
import com.distrimind.bcfips.crypto.internal.params.AEADParameters;
import com.distrimind.bcfips.... |
package com.appbestsmile.voicelikeme.noisereduction;
/**
* Created by truvil on 10/2/2019.
*/
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/**
* @author rgasser
* @version 1.0
* @created 04.02.17
*/
public class STFT {
/** Size of the FFT window.... |
package org.vertx.java.core.impl;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
/**
* @author <a href="http://tfox.org">Tim Fox</a>
*/
public class LowerCaseKeyMap<T> implements Map<String, T> {
private Map<String, T> delegate = new HashMap<>();
@Override
... |
package chapter36;
import java.util.*;
import javafx.geometry.Pos;
import javafx.scene.control.ComboBox;
import javafx.scene.control.Label;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.GridPane;
public class WorldClockControl extends BorderPane {
// Obtain all available locales and ti... |
package com.surgical.decision3.common.bean.preoperative;
public class Registration
{
String username; // email
String password;
String confirmedPassword;
String firstname;
String lastname;
public String getUsername()
{
return username;
}
public void setUsername(String username)
{
this.username = userna... |
package com.q42.qlassified_example;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} |
package com.onnoa.shop.demo.video.test;
import com.google.common.collect.Maps;
import org.springframework.util.CollectionUtils;
import java.util.HashMap;
import java.util.Map;
/**
* @className: MybatisXmlCreate
* @description:
* @author: onnoA
* @date: 2021/9/23
**/
public class MybatisXmlCreate {
public ... |
package com.example.util;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import android.text.TextUtils;
/**
* 验证数据有效性管理工具类
*
*/
public class ValidateUtil {
/**
* 验证用户姓名且字符长度为1~12也就是2~6个汉字
*
* @param userName
* @return
*/
public static boolean isUserName(String us... |
/* Sobrecarga de Constructores*/
package operaciones;
public class Aritmetica {
//Atributos de la clase
int a;
int b;
// Creacion de un contructor Vacio
public Aritmetica(){ // lo primero que se ejecuta
System.out.println("Ejecutando Constructor");
}
// segundo contructo... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.instrumentation.api.internal;
import static org.assertj.core.api.Assertions.assertThat;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.stream.Stream;
import org.junit.jupiter.api.T... |
package org.jboss.loom.test.jaxb.blaiseMod;
import javax.xml.bind.annotation.XmlSeeAlso;
import org.eclipse.persistence.oxm.annotations.XmlClassExtractor;
@XmlClassExtractor(ContactMethodClassExtractor.class)
@XmlSeeAlso({Address.class, PhoneNumber.class})
public abstract class ContactMethod {
} |
/*
* Copyright (c) 2017. Phasmid Software
*/
package edu.neu.coe.info6205.sort.simple;
import edu.neu.coe.info6205.sort.*;
import edu.neu.coe.info6205.util.*;
import org.junit.Test;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import static org.junit.Assert.assertEquals;
import s... |
/*
* Copyright 2021 Huawei Technologies Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
/*
* 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.packtpub.adfguide.ch11.view.validator;
import java.util.Collection;
import java.util.Collections;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
impo... |
package com.sequenceiq.environment.telemetry.v1.controller;
import java.util.List;
import javax.transaction.Transactional;
import org.springframework.stereotype.Controller;
import com.sequenceiq.authorization.annotation.AuthorizationResource;
import com.sequenceiq.authorization.annotation.CheckPermissionByAccount;
... |
package com.unibuc.seeuaroundapp.entity;
import javax.persistence.*;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;
import java.util.Set;
@Entity
@Table(name = "hangouts")
public class Hangout {
@Id
@GeneratedValue(strategy = GenerationType.IDEN... |
/*******************************************************************************
* 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... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.apimanagement.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.az... |
package com.kaidongyuan.app.basemodule.widget.loadingDialog;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.View;
import com.kaidongyuan.app.basemodule.R;
/**
* @author Yan
* create at 15/8/9... |
package com.example.simple_responsibility.newer.method;
import com.example.simple_responsibility.newer.domain.UserInfo;
import java.util.Map;
public class Method {
public void modifyUserInfo(String username, String address) {
username = "San";
address = "Beijing";
}
public void modifyUs... |
package ie.gmit.dip;
public class Timer { //Class to record running times for each algorithm
private long startTime;
private long endTime;
public void startTimer() {
startTime = System.nanoTime();
} //Record the start time/current time
public void endTimer() {
endTime = System.nan... |
package com.wave.demo;
import com.alibaba.fastjson.JSON;
import com.wave.demo.concurrent.ThreadLocalDemo;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import java.util.HashMap;
import java.util.Map;
/**
*
* Local使用方法,线程都获取local查看是否有值
*/
@Slf4j
public class ThreadLocalDemoTests{
public static void... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2012, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* und... |
/*
* 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 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... |
/*
* The MIT License
*
* Copyright (C) contributors
*
* 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, mod... |
package com.lq.bestproject.example.view.divider;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.view.View;
import androidx.annotation.DrawableRes;
import androidx.core.conten... |
/*
* 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 ... |
/* 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... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Zimbra, Inc.
*
* The contents of this file are subject to the Zimbra Public License
* Version 1.3 ("License"); you may not use this file except in
* compliance with the License. You may o... |
/*Copyright 2021 Cognitive Medical Systems*/
package com.cognitive.nih.niddk.mccapi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.conf... |
package ca.bc.gov.open.coa.configuration;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
@Getter
@Configuration
public class CoaConfig {
@Value("${coa.object-store-app-id}")
private String coaAppId;
@Value("${c... |
package net.sourceforge.jaad.aac.error;
/**
* This class is part of JAAD ( jaadec.sourceforge.net ) that is distributed
* under the Public Domain license. Code changes provided by the JCodec project
* are distributed under FreeBSD license.
*
* @author in-somnia
*/
interface RVLCTables {
//index,leng... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* 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, cop... |
/**
* Package for arrayCollation task.
* @author Wladyslaw Lazin (mailto:wladislaw.lazin@gmail.com)
* @version $Id$
* @since 20.03.19
*/
package ru.job4j.arrayCollation; |
/* Copyright (C) 2000, 2002 Free Software Foundation
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 by
the Free Software Foundation; either version 2, or (at your option)
any later version.
G... |
/*
* Copyright 2002-2012 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 requi... |
/**
*
* 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 org.monash.nimrod.optim.ganesh;
import au.edu.uq.rcc.nimrod.optim.ArrayOfPoints;
import au.edu.uq.rcc.nimrod.optim.OptimPoint;
import org.ganesh.plugin.ExperimentPvt;
import org.ganesh.core.PopulationInitialiser;
import org.ganesh.core.Population;
import org.ganesh.core.Universe;
import org.ganesh.core.ExnGACh... |
/*
* Copyright 2010-2019 Australian Signals Directorate
*
* 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... |
/*
* Copyright 2021 Root101 (jhernandezb96@gmail.com, +53-5-426-8660).
*
* 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
*
* Or read... |
/*
* Copyright 2017 HugeGraph Authors
*
* 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, Ve... |
package org.jeecg.modules.shiro.authc.aop;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.shiro.subject.Subject;
import org.apache.shiro.web.filter.AccessControlFilter;
... |
package com.mememan.resourcecrops.lib.tex;
import com.mememan.resourcecrops.lib.Mods;
public class BYGTex {
public static final String ASPEN_LOG = mod("aspen_log");
public static final String ASPEN_LOG_TOP = mod("aspen_log_top");
public static final String BAOBAB_LOG = mod("baobab_log");
public static final Strin... |
package seedu.address.model.event;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static seedu.address.logic.commands.CommandTestUtil.VALID_DATE_CHRISTMAS;
import static seedu.address.logic.commands.CommandTestUtil.VALID_DESCRI... |
/**
* 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 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... |
/*
* 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 ... |
/*
* 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 2003-2021 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/*
* Copyright 2019 WeBank
* 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, ... |
/*-
* ============LICENSE_START==========================================
* OPENECOMP - DCAE
* ===================================================================
* Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
* ===================================================================
* Licensed... |
/*
Copyright (C) GridGain Systems. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... |
/*
* 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 ... |
/**
* 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) 2013-2014 Massachusetts Institute of Technology
*
* 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 us... |
package com.louch2010.dhaiy4j;
import org.apache.commons.pool2.impl.GenericObjectPool;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
import com.louch2010.dhaiy4j.client.ClientFactory;
import com.louch2010.dhaiy4j.utils.Logger;
/**
* @Description: Dhaiy客户端连接池
* @author: luocihang
* @date: 2016年... |
/*
* Copyright 2002-2004 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... |
/**
* Copyright (C) 2010-2016 eBusiness Information, Excilys Group
* Copyright (C) 2016-2019 the AndroidAnnotations 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://... |
package com.mapp.demo.service;
import com.mapp.demo.entity.BaseUser;
import com.mapp.shiro.provider.UserDetailService;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
/**
* 实现用户信息接口
*/
@Component
publi... |
package sqlite.kotlin.hierarchy;
import com.abubusoft.kripton.android.annotation.BindSqlType;
@BindSqlType
public class Entity {
private long id;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
}
|
package com.younjinjeong.cacheflow.producer.domain;
public class ResponseMessage {
private int code;
private String msg;
public ResponseMessage(int code, String msg) {
this.code = code;
this.msg = msg;
}
public void setCode(int code) {
this.code = code;
}
public i... |
package org.broadinstitute.ddp.util;
import static org.apache.commons.lang.time.DateUtils.MILLIS_PER_SECOND;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.Instant;
import java.time.LocalDate;
im... |
/*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.