text stringlengths 7 995k |
|---|
package com.github.shimmerjordan.auth.mapper;
import com.github.shimmerjordan.auth.api.module.OauthClientDetails;
import com.github.shimmerjordan.common.core.persistence.CrudMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* Oauth2客户端mapper
*
* @author shimmerjordan
* @date 2021/03/30 16:39
*/
@Mapper
pu... |
package com.freitech.kotetsu.db.specifications;
import java.time.LocalDate;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.stereotype.Component;
import com.freitech.kotetsu.models.information.Information;
@Component
public class InformationSpecification extends SpecificationBas... |
package mage.cards.f;
import mage.abilities.effects.common.DamageControllerEffect;
import mage.abilities.effects.common.DamageTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.FilterPlayer;
import mage.filter.predicate.ObjectSourcePlayer;
import... |
/**
* Copyright 2014 Kakao Corp.
*
* Redistribution and modification in source or binary forms are not permitted without specific prior written permission.
*
* 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 co... |
/*
* Copyright (c) 2017 - 2019, SmartDeviceLink Consortium, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, t... |
package cn.bos.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class PageController {
@RequestMapping("/")
public String showIndex() {
return "i... |
/*
* Copyright 2015 Open Networking Laboratory
*
* 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 la... |
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
package org.bytedeco.mkldnn;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.mkldnn.global.mklml.*;
import static org.bytedeco.mkld... |
// Template Source: BaseEntityReferenceRequest.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ---------------------------... |
package camel_case_v23.dijkstra;
import battlecode.common.Direction;
import battlecode.common.GameActionException;
import battlecode.common.MapLocation;
public interface Dijkstra {
Direction getBestDirection(MapLocation target, Direction blockedDirection) throws GameActionException;
} |
/**
* Copyright (c) WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.mediacompat;
public final class R {
public static final class attr {
public static int font = 0x7f0... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2020-2021 Andres Almiray.
*
* 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
... |
package novamachina.exnihilosequentia.common.tileentity.barrel.mode;
import novamachina.exnihilosequentia.api.ExNihiloRegistries;
import novamachina.exnihilosequentia.common.tileentity.barrel.AbstractBarrelTile;
import novamachina.exnihilosequentia.common.utility.Config;
import novamachina.exnihilosequentia.common.uti... |
/**
* Copyright (c) 2011 - 2018, Coveo Solutions Inc.
*/
package jebeaudet.flywayvalidator;
public enum VersionSeparator
{
PERIOD, UNDERSCORE
} |
/*
* Copyright (C) 2011 asksven
*
* 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.bkhezry.searchablespinner.tools;
import android.content.Context;
import android.os.Build;
public class UITools {
private UITools() {
}
public static int dpToPx(Context context, float dp) {
final float scale = context.getResources().getDisplayMetrics().density;
return Math.round(dp *... |
package com.witkups.carloading.solver;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Value;
@AllArgsConstructor
@Builder
@Value
final class SolverProperties {
private final int solutionPersistenceLimit;
private final int solutionsRetainRatio;
int getSolutionsToRetain() {
... |
package cn.cerc.ui.core;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.HashMap;
import java.util.Map;
public class UrlRecord {
private String site;
private String name;
private String title;
private String target;
private Map<String, String> params = new... |
/*
* Copyright (C) 2018 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) 2006-2019, Speedment, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); You may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Nov 28 19:55:55 GMT 2020
*/
package weka.classifiers.rules;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.Afte... |
/*
* 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 io.eventuate.tram.sagas.testing.commandhandling;
import io.eventuate.tram.commands.common.ChannelMapping;
import io.eventuate.tram.commands.consumer.CommandDispatcher;
import io.eventuate.tram.commands.consumer.CommandHandler;
import io.eventuate.tram.commands.consumer.CommandHandlers;
import io.eventuate.tram... |
/*
* 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 top.geomatics.gazetteer.service.address;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import top.geomatics.gazetteer.model.AddressEditorRow;
import top.geomatics.gazetteer.model.AddressR... |
package structure.adapter.interface_adapter;
import bean.Animal;
/**
* Created by zhuyanan on 17/7/24.
*/
public abstract class AbstractAnimal implements Animal {
@Override
public void hello() {
}
@Override
public void speak() {
}
@Override
public void speak(String sth) {
}... |
/*
* Copyright (C) 2018 Google 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.mypurecloud.sdk.v2.api.request;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.mypurecloud.sdk.v2.ApiException;
import com.mypurecloud.sdk.v2.ApiClient;
import com.mypurecloud.sdk.v2.ApiRequest;
import com.mypurecloud.sdk.v2.ApiRequestBuil... |
/* (c) British Telecommunications plc, 2010, All Rights Reserved */
package com.bt.pi.core.entity;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.mock;
import... |
package net.consensys.eventeum.integration.broadcast;
import net.consensys.eventeum.dto.event.filter.ContractEventFilter;
/**
* A dummy broadcaster that does nothing.
*
* (Used in single instance mode)
*
* @author Craig Williams <craig.williams@consensys.net>
*/
public class DoNothingFilterEventBroadcaster impl... |
package com.merakianalytics.orianna.types.dto.match;
import java.util.Map;
import com.merakianalytics.orianna.types.dto.DataObject;
public class ParticipantTimeline extends DataObject {
private static final long serialVersionUID = -9108740894475294174L;
private Map<String, Double> csDiffPerMinDeltas, goldPer... |
package polynomial;
import java.io.*;
import java.util.Scanner;
public class InputOutput {
private int lines = 0;
private static Polynomial p1;
private static Polynomial p2;
public void readAndWrite(String filename) {
Functions function = new Functions();
try {
FileWriter fileWriter = new FileWriter("D:\\... |
package de.adito.ojcms.beans.util;
import de.adito.ojcms.beans.*;
import de.adito.ojcms.beans.annotations.FieldOrder;
import de.adito.ojcms.beans.exceptions.OJInternalException;
import de.adito.ojcms.beans.exceptions.bean.NoDeclaredBeanTypeException;
import de.adito.ojcms.beans.exceptions.field.BeanFieldCreationExcept... |
package controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import static reactor.bus.... |
package org.apache.cassandra.io.util;
/*
*
* 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 Lic... |
package com.babylonhealth.lit.hl7_java.builders;
import java.time.LocalDate;
import java.time.LocalTime;
import java.time.ZonedDateTime;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;
import java.util... |
package befaster.solutions.CHK;
import java.util.Objects;
public class Product {
private final char sku;
private final int unitPrice;
public Product(char sku, int unitPrice) {
this.sku = sku;
this.unitPrice = unitPrice;
}
public int getUnitPrice() {
return unitPrice;
}
@Override
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 ... |
package modules.system.model;
import org.yserver.core.model.BaseEntity;
import javax.persistence.*;
/**
* Description: User.<br>
* Date: 2016/9/18 14:12<br>
* Author: ysj
*/
@Entity
@Table(name = "sys_user")
public class User extends BaseEntity
{
@Column(name = "USERNAME", nullable = false)
private Strin... |
// Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... |
package com.sundaysunday.theredtie.Entities;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.math.*;
import com.sundaysunday.theredtie.Worlds.World;
public class Entity
{
protected Polygon polygonHi... |
/*
* 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 ModularCourseBuilder;
import java.io.IOException;
import java.sql.SQLException;
import javafx.fxml.FXML;
import javafx.geometr... |
package io.swagger.parser.processors;
import io.swagger.models.Operation;
import io.swagger.models.RefResponse;
import io.swagger.models.Response;
import io.swagger.models.Swagger;
import io.swagger.models.parameters.Parameter;
import io.swagger.models.refs.RefFormat;
import io.swagger.parser.ResolverCache;
import mo... |
/*
* @(#)ListMessagesTag.java 1.5 03/10/30
*
* Copyright 2001-2002 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain... |
package com.mohan.javasample.abstractionconcept;
/**
* Created by s726337 on 06/08/2017.
*/
public class PersonalLoan extends PersonNeedLoan {
void test() {
}
} |
package org.camunda.bpm.cockpit.plugin.acm;
import org.camunda.bpm.cockpit.Cockpit;
import org.camunda.bpm.cockpit.plugin.spi.CockpitPlugin;
import org.camunda.bpm.cockpit.plugin.test.AbstractCockpitPluginTest;
import org.junit.Assert;
import org.junit.Test;
public class ACMPluginTest extends AbstractCockpitPluginTes... |
package Server;
import java.io.IOException;
import java.util.concurrent.Executors;
import java.util.concurrent.ExecutorService;
//import java.io.ObjectInputStream;
//import java.io.ObjectOutputStream;
import java.net.ServerSocket;
import java.net.Socket;
public class Server {
private ServerSocket server = null;
... |
/*
* Copyright 2017-2019 The OpenTracing 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 applicable law or ... |
package pl.slemjet.kata.tapeequilibrium;
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import java.util.stream.Stream;
import stat... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
package top.crossoverjie.cicada.server.annotation;
import java.lang.annotation.*;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CicadaAction {
String value() default "" ;
} |
/*
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 use this f... |
package com.eladmin.modules.system.domain;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.CreationTimestamp;
import javax.persistence.*;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.sql.Timestamp;
impor... |
/*
* Copyright 2019-2020 Zheng Jie
*
* 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.xlc.spartacus.auth.server;
import com.xlc.spartacus.auth.component.JwtTokenEnhancer;
import com.xlc.spartacus.auth.core.properties.OAuth2ClientProperties;
import com.xlc.spartacus.auth.core.properties.SecurityProperties;
import com.xlc.spartacus.auth.service.MyUserDetailsService;
import lombok.AllArgsConst... |
package com.ce495db.db_application.Domain;
public class courseOffering {
private String uoSCode;
private String uoSName;
private String semester;
private int year;
private Integer enrollment;
private Integer maxEnrollment;
public courseOffering(String uoSCode, String uoSName, String semest... |
package xyz.kotlout.kotlout.view;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Toast;
import android.widget.Toolbar;
import andro... |
package com.example.progmobile.startruck.model.dao;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import com.example.progmobile.startruck.model.bean.Vehicle;
public class BDHelper extends SQLiteOpenHelper {
private static final int... |
/*
* Copyright 2018 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... |
// Code generated by Wire protocol buffer compiler, do not edit.
// Source file: /Users/rice/Development/android/wire/./wire-runtime/src/test/proto/google/protobuf/descriptor.proto
package com.google.protobuf;
import com.squareup.wire.ExtendableMessage;
import com.squareup.wire.Extension;
import com.squareup.wire.Prot... |
/*******************************************************************************
* 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 com.luna.post.dto;
/**
* @author luna
* 2021/5/29
*/
public class PostDeatilDTO {
private PostDTO postDTO;
private ShowUserDTO showUserDTO;
public PostDeatilDTO() {}
public PostDeatilDTO(PostDTO postDTO, ShowUserDTO showUserDTO) {
this.postDTO = postDTO;
this.showUser... |
/*
* Copyright (c) 2002-2021 "Neo4j,"
* Neo4j Sweden AB [http://neo4j.com]
*
* This file is part of Neo4j.
*
* 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.... |
package com.ibm.nmon.gui.dnd;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.StringSelection;
import java.awt.datatransfer.Transferable;
import java.text.DecimalFormat;
import javax.swing.JComponent;
import javax.swing.JTable;
import javax.swing.TransferHandler;
import javax.swing.table.Tabl... |
package com.bruincreates.server.security;
import com.bruincreates.server.model.response.RestResponse;
import com.bruincreates.server.utility.ServletUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.security.core.Authentication;
import org.springframework.security.web.authentication.AuthenticationSucc... |
/*
* $Id$
*
* This is open-source software written by ILEX Engineering, Inc., under
* contract to the federal government. You are free to copy and use this
* source code for your own purposes, except that no part of the information
* contained in this file may be claimed to be proprietary.
*
* Except for specific... |
package com.chutneytesting.task.http;
import static com.chutneytesting.task.spi.validation.Validator.getErrorsFrom;
import static com.chutneytesting.task.spi.validation.Validator.of;
import com.chutneytesting.task.spi.Task;
import com.chutneytesting.task.spi.TaskExecutionResult;
import com.chutneytesting.task.spi.inj... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.vmwarecloudsimple.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.a... |
package week5;
/**
*
* @author Rashelle
*/
//import scanner
import java.util.Scanner;
public class Authentication {
// password key for the password
private final static String PASSWORD = "rem" ;
//create another key to store the secret info
private final static String SECRET =
"... |
/*
* Copyright 2017, Backblaze Inc. All Rights Reserved.
* License https://www.backblaze.com/using_b2_code.html
*/
package com.backblaze.b2.json;
import com.backblaze.b2.util.B2DateTimeUtil;
import java.io.IOException;
import java.lang.reflect.Type;
import java.time.Duration;
class B2JsonDurationHandler implemen... |
/*
* Below is the copyright agreement for IMCJava.
*
* Copyright (c) 2010-2016, Laboratório de Sistemas e Tecnologia Subaquática
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* - Red... |
/*
* 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.ovirt.engine.ui.common.widget.tree;
import org.ovirt.engine.ui.common.idhandler.HasElementId;
import com.google.gwt.user.cellview.client.CellTree;
/**
* A {@link CellTree} that supports assigning DOM element IDs to tree nodes through {@link HasElementId} interface.
*/
public class ElementIdCellTree<M e... |
package org.ohdsi.webapi.report;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import org.ohdsi.webapi.report.mapper.*;
import org.ohdsi.webapi.source.Sourc... |
package MergeSort;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
int[] intArray = { 20, 35, -15, 7, 55, 1, -22 };
mergeSort(intArray, 0, intArray.length);
for(int i = 0; i < intArray.length; i++)
{
System.out.println(intArray[i]);
}
}
pub... |
package com.redmadrobot.chronos.gui;
import com.redmadrobot.chronos.Chronos;
import com.redmadrobot.chronos.ChronosOperation;
import android.support.annotation.NonNull;
/**
* A set of methods which is provided by pre-defined GUI classes.
*
* @author maximefimov
* @see com.redmadrobot.chronos.gui.activity.Chron... |
package com.function;
import java.util.*;
import com.microsoft.azure.functions.annotation.*;
import com.microsoft.azure.functions.*;
public class HttpTriggerQueueOutput {
@FunctionName("HttpTriggerQueueOutput")
public HttpResponseMessage run(
@HttpTrigger(name = "req", methods = {HttpMethod.GET, Ht... |
/*
* Copyright 2016 KairosDB Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
package com.example.wujie.zhihu.Fragment;
import android.content.Context;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support... |
package org.constantgatherer.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.support.PropertySou... |
package eu.kaluzinski.controllers;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class IndexController {
@RequestMapping("/")
String index(){
return "index";
}
} |
package cn.xpleaf.commons.rest.es.client;
import cn.xpleaf.commons.rest.es.enums.EsVersion;
import cn.xpleaf.commons.rest.es.filter.AbstractQueryDSLFilter;
import cn.xpleaf.commons.rest.es.filter.BuildInFilter;
import org.apache.http.HttpHost;
import org.elasticsearch.client.RestClient;
import org.elasticsearch.client... |
package rs.math.oop1.z150703.generickiMetodi.z01.sadrzavanje;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Scanner;
public class Generic {
public static <E> boolean contains(Collection<E> c, Object obj) {
if (obj == null) {
for (E element : ... |
package ethos.model.players.packets;
import java.util.Objects;
import ethos.Server;
import ethos.model.content.DiceHandler;
import ethos.model.multiplayer_session.MultiplayerSessionFinalizeType;
import ethos.model.multiplayer_session.MultiplayerSessionStage;
import ethos.model.multiplayer_session.MultiplayerSessionTy... |
package com.nurkiewicz.jdbcrepository;
import org.springframework.util.Assert;
import org.springframework.util.StringUtils;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/**
* @author Tomasz Nurkiewicz
* @since 12/18/12, 10:06 PM
*/
public class TableDescription {
private final S... |
/*
* Copyright 2017
* Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology
* Technische Universität Darmstadt
*
* 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
*
* htt... |
package io.renren.entity;
import java.io.Serializable;
import java.util.Date;
/**
*
*
* @author chenshun
* @email sunlightcs@gmail.com
* @date 2017-03-02 09:56:17
*/
public class ConferenceUserEntity implements Serializable {
private static final long serialVersionUID = 1L;
//
private Integer id;
//
... |
package com.example.feed.info;
public class CommentsInfo {
private int id;
private int postid;
private int uid;
private String name;
private String body;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public int getPostid() {
return postid;
}
public void setPostid(in... |
package org.apache.maven.doxia.module.confluence.parser;
/*
* 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 unde... |
/**
* 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) 2016-2019 蜂鸟开源 All rights reserved.
*
* https://www.hummingbird.io
*
* 版权所有,侵权必究!
*/
package io.hummingbird.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.hummingbird.entity.TokenEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 用户Token
*
* @author Top
... |
package com.bwbjustin.colorblocks.core.init;
import com.bwbjustin.colorblocks.ColorBlocks;
import com.bwbjustin.colorblocks.common.entities.ColorBlockEntity;
import net.minecraft.world.level.block.entity.BlockEntityType;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.Forge... |
/**
* MIT License
* <p>
* Copyright (c) 2017-2019 nuls.io
* <p>
* 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, ... |
/*
* ART
*
* Copyright 2019-2021 ART
*
* 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.fresco.utils;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.NOT_FOUND)
public class StudentNotFoundException extends RuntimeException {
/**
*
*/
private static final long serialVersionUID = 1L;
public StudentN... |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
/**
* Copyright (C) 2015 Alex Vasilkov
* Modifications Copyright (C) 2015 Fred Grott(GrottWorkShop)
*
* 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/... |
/**
* Copyright (c) 2014 ControlsFX
* 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 of conditions ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.