text stringlengths 7 1.01M |
|---|
/**
* Copyright (C) 2010-2012 eBusiness Information, Excilys Group
*
* 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 ... |
/*
* 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 2013 Esri
|
| 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... |
/*
* Copyright 2010-2019 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... |
/**
* 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 not us... |
// Copyright 2017 The Nomulus Authors. 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 a... |
package Lev14.Task1409done;
/*
Мосты
1. Создать интерфейс Bridge с методом int getCarsCount().
2. Создать классы WaterBridge и SuspensionBridge, которые реализуют интерфейс Bridge.
3. Метод getCarsCount() должен возвращать любое фиксированное значение типа int.
4. Метод getCarsCount() должен возвращать различные значен... |
/*
* Copyright 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 applic... |
package me.jessyan.mvparms.photomark.mvp.ui.holder;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.support.v4.content.LocalBroadcastManager;
import android.view.View;
import android.widget.ProgressBar;
import ... |
// Copyright 2015 The Bazel Authors. 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 appl... |
package edu.emich.power_cosmic.fog.commands;
import java.util.List;
import java.util.Scanner;
import com.db4o.ObjectContainer;
import com.db4o.query.Predicate;
import edu.emich.power_cosmic.fog.menus.MenuNavigator;
import edu.emich.power_cosmic.fog.schema.FogUser;
import edu.emich.power_cosmic.fog.schema.Post;
publ... |
package com.flink.streaming.web.model.vo;
import com.flink.streaming.web.common.util.DateFormatUtils;
import com.flink.streaming.web.enums.AlarmTypeEnum;
import com.flink.streaming.web.enums.YN;
import com.flink.streaming.web.model.dto.JobConfigDTO;
import lombok.Data;
import org.apache.commons.collections.CollectionU... |
package cn.jiguang.imui.commons;
import android.support.v7.widget.RecyclerView;
import android.view.View;
public abstract class ViewHolder<DATA> extends RecyclerView.ViewHolder {
public abstract void onBind(DATA data);
public ViewHolder(View itemView) {
super(itemView);
}
}
|
// --------------------------------------------------------------------------------
// Copyright 2002-2021 Echo Three, 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:/... |
/*
* $Id: StackTraceScannerTest.java,v 1.6 2016/12/30 20:52:26 oboehm Exp $
*
* Copyright (c) 2014 by Oliver Boehm
*
* 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.ap... |
package com.java110.po.oaWorkflowForm;
import java.io.Serializable;
public class OaWorkflowFormPo implements Serializable {
private String formId;
private String statusCd = "0";
private String formJson;
private String storeId;
private String flowId;
private String version;
private String ... |
package gin.edit;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import gin.edit.modifynode.ReplaceExpression;
import gin.edit.modifynode.SwapExpression;
import org.pmw.tinylog.Logger;
import gin.SourceFile;
import gin.edit.line.CopyLine;
import gin.edit.lin... |
package de.slikey.effectlib.effect;
import de.slikey.effectlib.Effect;
import de.slikey.effectlib.EffectManager;
import de.slikey.effectlib.EffectType;
import de.slikey.effectlib.util.ParticleEffect;
import de.slikey.effectlib.util.VectorUtils;
import org.bukkit.Location;
import org.bukkit.util.Vector;
public class C... |
package org.folio.circulation.infrastructure.serialization;
import static java.util.stream.Collectors.collectingAndThen;
import static org.folio.circulation.support.results.Result.failed;
import static org.folio.circulation.support.results.Result.succeeded;
import static org.folio.circulation.support.ValidationErrorFa... |
package jp.co.worksap.oss.findbugs.findbugs;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import edu.umd.cs.findbugs.BugReporter;
@Ignore("test-driven-detectors4findbugs dependency is removed")
public class UndocumentedSuppressFBWarningsDetectorTest {
private UndocumentedSuppressFBWarni... |
package org.talchain.net.swarm.bzz;
import org.talchain.net.swarm.Chunk;
import java.util.HashMap;
import java.util.Map;
public enum BzzMessageCodes {
/**
* Handshake BZZ message
*/
STATUS(0x00),
/**
* Request to store a {@link Chunk}
*/
STORE_REQUEST(0x01),
/**
* Used... |
/*
* Copyright 2015-2016 Odnoklassniki Ltd, Mail.Ru Group
*
* 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... |
/*
* This file was automatically generated by EvoSuite
* Sun Dec 20 00:35:58 GMT 2015
*/
package net.sf.xbus.protocol.records;
import static org.junit.Assert.*;
import org.junit.Test;
import net.sf.xbus.base.bytearraylist.ByteArrayList;
import net.sf.xbus.base.xbussystem.XBUSSystem;
import net.sf.xbus.protocol.rec... |
/**
* Copyright 2009-2018 PrimeTek.
*
* 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.github.walterfan.sip;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import javax.sip.InvalidArgumentException;
import javax.sip.PeerUnavailableException;
import javax.sip.SipFactory;
import javax.sip.address.Address;
import javax.sip.address.AddressFactory;
... |
/*
* Copyright 2015 Benedikt Ritter
*
* 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 org.needle.bookingdiscount.admin.repository;
import java.util.List;
import org.needle.bookingdiscount.domain.product.Product;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
public interface ProductRepository extends PagingAndSortin... |
/*
* Copyright 2015 The FireNio 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 applicable law or a... |
package software.bernie.geckolib3.renderers.geo;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder;
import net.minecraft.client.renderer.*;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.math.vector.Matrix3f;
import net.minecraft.util.math.vector.Matri... |
package com.atguigu.gulimall.pms.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gulimall.pms.entity.SkuInfoEntity;
import com.atguigu.gulimall.commons.bean.PageVo;
import com.atguigu.gulimall.commons.bean.QueryCondition;
/**
* sku信息
*
* @author zhangwenliu
* @email zwl@at... |
package com.example;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
import javax.validation.constraints.Pattern;
import java.util.List;
@RestController
@Request... |
package edu.thu.ss.spec.util;
public class Pair<T, U> {
public T left;
public U right;
public Pair(T left, U right) {
this.left = left;
this.right = right;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((left == null) ? 0 : left.hashCode());
res... |
/*-
* #%L
* Elastic APM Java agent
* %%
* Copyright (C) 2018 - 2020 Elastic and contributors
* %%
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. ... |
/*
* Copyright 2018-2019 adorsys GmbH & Co KG
*
* 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")... |
package showerbugs.withdinner;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import butterknife.BindView;
import butt... |
/*
* Copyright 2015 Ben Manes. 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 applicab... |
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package expansion;
import java.util.HashSet;
/**
* Expansions for an identifier
*/
public class VariableNameExpansions {
public HashSet<String> type;
public HashSet<String> methodInvocated;
public HashSet<String> comment;
public HashSet<String> enclosingMethod;
public HashSet<String> enclosingClass;
public Ha... |
/*******************************************************************************
* Copyright (c) 2011, 2012 Red Hat, Inc.
* All rights reserved.
* This program is made available under the terms of the
* Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/l... |
/*
* 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.mcallydevelops;
public class IntegerQuery {
private Integer key;
private Operation operation;
public IntegerQuery() {
}
public IntegerQuery(Integer key, Operation operation) {
this.key = key;
this.operation = operation;
}
public Integer getKey() {
re... |
package org.ei.drishti.reporting.controller;
import org.ei.drishti.dto.VillagesDTO;
import org.ei.drishti.reporting.domain.Location;
import org.ei.drishti.reporting.domain.PHC;
import org.ei.drishti.reporting.service.ANMService;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.spring... |
package org.knowm.xchange.deribit.v2;
import static org.assertj.core.api.Assertions.assertThat;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import org.junit.Test;
import org.knowm.xchange.deribit.v2.dto.marketdata.DeribitOrde... |
package cn.orangepoet.omq.broker.repository.impl;
import cn.orangepoet.omq.api.model.OmqMessage;
import cn.orangepoet.omq.broker.cache.RedisHelper;
import cn.orangepoet.omq.broker.repository.MessageRepository;
import com.alibaba.fastjson.JSON;
import com.google.common.base.Preconditions;
import org.apache.commons.lang... |
package ro.pub.cs.systems.practicaltest02;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import android.widget.ViewA... |
// You can reach the problem via this link: https://www.hackerrank.com/challenges/linkedin-practice-bigger-is-greater
import java.io.*;
import java.util.*;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
public final class nextperm {
public static boolean nextPermutation(char[]... |
package com.bockig.checkout;
import java.util.Objects;
class Item implements HasPrice {
private String name;
private Integer unitPrice;
Item(String name, Integer unitPrice) {
this.name = name;
this.unitPrice = unitPrice;
}
@Override
public boolean equals(Object o) {
... |
/*
* 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... |
/*
* (c) the authors Licensed under the Apache License, Version 2.0.
*/
package org.roaringbitmap.buffer;
import org.roaringbitmap.*;
import java.io.*;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.util.Iterator;
/**
* MutableRoaringBitmap, a compressed alternative to the BitSet. It is simi... |
package com.kotakotik.ponderjs;
import com.google.gson.JsonObject;
import com.simibubi.create.foundation.ponder.PonderLocalization;
import com.simibubi.create.foundation.utility.Couple;
import net.minecraft.util.ResourceLocation;
import java.util.List;
import java.util.function.Function;
import java.util.stream.Colle... |
package servlet;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servl... |
// Generated from graphql_java_gen gem with template Tuery.java.erb
package com.contentbig.kgdatalake.graphql.generated;
import com.shopify.graphql.support.Tuery;
/**
*
*/
public class DeletePoderPayloadTuery extends Tuery<DeletePoderPayloadTuery> {
DeletePoderPayloadTuery(StringBuilder _queryBuilder) {
... |
package org.corfudb.universe.group.cluster.vm;
import lombok.Builder;
import lombok.NonNull;
import lombok.extern.slf4j.Slf4j;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.taskdefs.optional.ssh.SSHExec;
import org.apache.tools.ant.taskdefs.optional.ssh.Scp;
import org.corfudb.universe.universe.vm.V... |
/*
* Copyright 2008-2016 MongoDB, 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 agree... |
package com.example.coolweather.db;
import org.litepal.crud.LitePalSupport;
/**
* Created by Administrator on 2018/11/28.
*/
public class Province extends LitePalSupport {
private int id;
private String provinceName;
private int provinceCode;
public int getId() {
return id;
}
p... |
package org.softeg.slartus.forpdanotifyservice.qms;
import android.app.AlarmManager;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.... |
package cn.itcast_07;
import java.util.Comparator;
import java.util.Scanner;
import java.util.TreeSet;
/*
* 键盘录入5个学生信息(姓名,语文成绩,数学成绩,英语成绩),按照总分从高到低输出到控制台
*
* 分析:
* A:定义一个学生类,里面有成员变量:姓名,语文成绩,数学成绩,英语成绩
* B:因为我们最终要按照总分进行排序,说明我们要排序,所以,选择TreeSet集合
* C:两种方式实现,我们选择一种,用比较器实现
* D:键盘录入学生,存储到TreeSet集合
* E:遍历集合... |
package info.u_team.u_team_test.block;
import info.u_team.u_team_core.block.UEntityBlock;
import info.u_team.u_team_test.init.TestCreativeTabs;
import info.u_team.u_team_test.blockentity.BasicEnergyCreatorBlockEntity;
import info.u_team.u_team_test.init.TestBlockEntityTypes;
import net.minecraft.core.BlockPos;
import ... |
package eu.wauz.wauzcore.data;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.craftbukkit.libs.org.apache.commons.lang3.StringUtils;
import org.bukkit.inventory.ItemStack;
import eu.wauz.wauz... |
/*
* 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 Util;
/**
*
* @author pichon
*/
import java.util.ArrayList;
import java.util.List;
public class Punto {
private Float... |
package com.ruoyi.activiti.service.impl;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.ruoyi.activiti.domain.ProcessVO;
import com.ruoyi.activiti.service.ActProcessService;
import com.ruoyi.act... |
package com.kienht.androidcleanarchitectureboilerplate.features.base;
import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.module.AppGlideModule;
/**
* @author kienht
* @since 05/09/2018
*/
@GlideModule
public class ArchGlideModule extends AppGlideModule {
}
|
package com.bob.bobapp.adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import com.bob.bobapp.R;
import com.bob.b... |
/*
* Copyright 2017 NAVER 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 by applicable law or agreed to ... |
package com.lvsrobot.vehicle;
import org.opentcs.data.model.Triple;
public class AgvInfo {
private int precisePosition[];
private int currentPosition[];
private int previousPosition[];
private double vehicle_orientation;
// private int current_position_y;
private int currentPositionID;
priv... |
package com.atguigu.gmall.wms.config;
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import com.baomidou.mybatisplus.extension.plugins.pagination.optimize.JsqlParserCountOptimize;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
... |
// Targeted by JavaCPP version 1.5.4-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.opencv.opencv_dnn;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*... |
import java.util.*;
public class Dijkstra {
// Member variables of this class
private int dist[];
private Set<Integer> settled;
private PriorityQueue<Node> pq;
// Number of vertices
private int V;
List<List<Node> > adj;
// Constructor of this class
public Dijkstra(int V)
{
... |
package com.evertz.devtools.changelog.emitters;
import com.evertz.devtools.changelog.Flags.EmitterFlags;
import com.evertz.devtools.changelog.Types.Changelog;
import com.evertz.devtools.changelog.Types.ChangelogEntry;
import com.evertz.devtools.changelog.Types.ChangelogEntrySet;
import com.google.common.base.Joiner;
... |
/**
* 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.google.common.collect;
import com.google.common.annotations.Beta;
import com.google.common.annotations.GwtIncompatible;
import java.util.Collection;
import java.util.Map;
import java.util.Map.Entry;
import java.util.NoSuchElementException;
import org.checkerframework.checker.nullness.compatqual.NullableDec... |
package com.fc.test.mapper.auto;
import com.fc.test.model.auto.TsysDatas;
import com.fc.test.model.auto.TsysDatasExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TsysDatasMapper {
int countByExample(TsysDatasExample example);
int deleteByExample(TsysDatas... |
package timerx;
import static org.junit.Assert.assertEquals;
import static timerx.Constants.TimeValues.MILLIS_IN_HOUR;
import static timerx.Constants.TimeValues.MILLIS_IN_MINUTE;
import static timerx.Constants.TimeValues.MILLIS_IN_SECOND;
import static timerx.TestHelper.updateFormatIfNeeded;
import org.junit.Test;
p... |
package io.sjcdigital.model;
import java.util.Map;
import static java.util.Map.entry;
public class Constants {
public static final String TYPE = "TYPE";
public static final String SEPARATOR = ",";
public static final String HEADER = String.join( SEPARATOR,
"ANO",
"JANEIRO",
... |
package com.revature.junit;
import static org.junit.Assert.assertEquals;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
public class ArithmeticTest {
Arithmetic a = null;
@Before
public void setUp() {
a = new Arithmetic();
}
@After
public void tearDown() ... |
package org.powlab.jeye.tests.advent;
public class Eg1 {
public static int plus(int int0, int int1) {
return int0 + int1;
}
}
|
/*
* Copyright 2012-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 "licen... |
package net.oschina.app.improve.git.gist.comment;
import net.oschina.app.improve.base.BaseListPresenter;
import net.oschina.app.improve.base.BaseListView;
import net.oschina.app.improve.git.bean.Comment;
/**
* 代码片段评论
* Created by haibin on 2017/5/11.
*/
interface GistCommentContract {
interface Action {
... |
package top.stuck.link.core.utils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import top.stuck.link.core.contants.SystemContant;
import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
/**
* Created on 2020-04-30
*
* @author Octopus
*/
pub... |
/*
* Copyright 2019 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 t... |
package com.sequenceiq.cloudbreak.service.stack.flow;
import javax.ws.rs.client.Client;
import com.sequenceiq.cloudbreak.client.CertificateTrustManager.SavingX509TrustManager;
import com.sequenceiq.cloudbreak.domain.stack.Stack;
import com.sequenceiq.cloudbreak.service.StackContext;
public class NginxPollerObject ex... |
/*
* (C) Copyright 2021 Boni Garcia (https://bonigarcia.github.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 requir... |
package com.jm.marvel.model;
import lombok.Data;
@Data
public class Characters {
private int id;
private String name;
private String description;
private Thumbnail thumbnail;
} |
package net.qiujuer.library.planck.file;
/**
* Use a fixed cache file size for any situation.
*
* @author qiujuer Email: qiujuer@live.cn
* @version 1.0.0
* Create at: 2018/8/27
*/
public class FixedFileSizeGenerator implements FileLengthGenerator {
private final long mMaxPartialSize;
public FixedFileSiz... |
/*
* Copyright (c) 2013 Kurt Aaholst <kaaholst@gmail.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
*
* Unless required by a... |
/*
* Yet Another UserAgent Analyzer
* Copyright (C) 2013-2019 Niels Basjes
*
* 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... |
/*
* This file is part of DeadMau5 Audio Visualizer.
*
* DeadMau5 Audio Visualizer 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 3 of the License.
*
* DeadMau5 Audio Visualizer is distributed ... |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*******************************************************************************
* Copyright (c) 2015-2016, WSO2.Telco Inc. (http://www.wso2telco.com) All Rights Reserved.
*
* WSO2.Telco Inc. licences this file to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in co... |
/*
* Copyright (c) 2020-2021 GeyserMC. http://geysermc.org
*
* 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,... |
package mage.cards.c;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.ReturnToHandTargetEffect;
import mage.abilities.keyword.InfectAbility;
import mage.cards.CardImpl;
import mage.cards.Ca... |
package com.minimal.repository;
import com.minimal.entity.mongo.User;
import org.springframework.data.mongodb.repository.MongoRepository;
/**
* @author linzhiqiang
*/
public interface UserMongoRepository extends MongoRepository<User, String> {
/**
* 通过name查找用户
* @param name
* @return
*/
... |
package com.ttkey.dynamodb.exception;
/**
* Indicates when insertion fails. It might fail due to duplicate primary check or
* in case of dynamo due to conditional expression supplied in the putItem
*/
public class CouldNotInsertException extends DataAccessException {
public CouldNotInsertException(String messa... |
package sh.hella.html.document;
/**
* A {@link Section} representing an HTML element with attributes and children.
*/
@SuppressWarnings("unused")
public class ElementSection extends Section {
private final transient String name;
/**
* Instantiates a new ElementSection.
*
* @param name the... |
/*
* Copyright 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... |
/*
* Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.annotation.processing;
import java.util.Map;
import java.util.Locale;
import javax.lang.... |
package uk.co.znik.graylog.plugins.matomo;
import org.graylog2.plugin.Plugin;
import org.graylog2.plugin.PluginMetaData;
import org.graylog2.plugin.PluginModule;
import java.util.Collection;
import java.util.Collections;
public class MatomoPlugin implements Plugin {
@Override
public PluginMetaData metadata()... |
package ca.bc.gov.open.pssg.rsbc.dps.messaging.starter;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.amqp.core.*;
import org.springframework.amqp.rabbit.config.SimpleRabbitListenerContainerFactory;
import org.springframework.amqp.rabbit.connection.CachingConnectionFactory;
import org.... |
package ru.stqa.pft.mantis.appmanager;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.boot.MetadataSources;
import org.hibernate.boot.registry.StandardServiceRegistry;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
import ru.stqa.pft.mantis.model.UserData;
i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.