text stringlengths 7 995k |
|---|
package io.swagger.model;
import java.util.Date;
import java.io.Serializable;
import javax.validation.constraints.*;
import javax.validation.Valid;
import io.swagger.annotations.*;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Order implements Serializable {
pri... |
package mbg.test.ib2j2.generated.conditional.dao;
import java.util.List;
import mbg.test.ib2j2.generated.conditional.model.Fieldsonly;
import mbg.test.ib2j2.generated.conditional.model.FieldsonlyExample;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
public class FieldsonlyDAOImpl extends SqlMa... |
package edu.sjsu.cmpe275.web.model.request;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
@NoArgsConstructor
@AllArgsConstructor
@Data
public class CreateOrganizationRequestDto {
@NotNull(message... |
/*-
* ============LICENSE_START=======================================================
* PolicyEngineClient
* ================================================================================
* Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved.
* ==============================================... |
/*
Copyright 2011-2016 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 or agreed t... |
/*
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in com... |
package com.example.administrator.coolweather.gson;
import com.google.gson.annotations.SerializedName;
/**
* Created by Administrator on 2017/6/22.
*/
public class Forecast {
public String date;
@SerializedName("tmp")
public Temperature temperature;
@SerializedName("cond")
public More more;
... |
package com.pi4j.platform.exception;
/*
* #%L
* **********************************************************************
* ORGANIZATION : Pi4J
* PROJECT : Pi4J :: LIBRARY :: Java Library (CORE)
* FILENAME : PlatformInitializeException.java
*
* This file is part of the Pi4J project. More informatio... |
/**
* 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.nordstrom.automation.selenium.plugins;
import java.util.Map;
import com.nordstrom.automation.selenium.SeleniumConfig;
public class OperaPlugin extends RemoteWebDriverPlugin {
public OperaPlugin() {
super(OperaCaps.DRIVER_NAME);
}
/**
* For Selenium 2.53.1, use Opera 40 ... |
/*
*
* Copyright (c) 2017 Otávio Santana and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
* The Eclipse Public License is available at http:/... |
/*
* Copyright 2017 StreamSets 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... |
package org.odk.collect.android.widgets.base;
import org.javarosa.core.model.RangeQuestion;
import org.javarosa.core.model.data.DecimalData;
import org.javarosa.core.model.data.IAnswerData;
import org.javarosa.core.model.data.IntegerData;
import org.junit.Test;
import org.mockito.Mock;
import org.odk.collect.android.w... |
package tl.gp;
import ec.BreedingPipeline;
import ec.EvolutionState;
import ec.Individual;
import ec.gp.*;
import ec.gp.koza.MutationPipeline;
import ec.util.Parameter;
import gphhucarp.decisionprocess.PoolFilter;
import org.apache.commons.lang3.tuple.MutablePair;
import org.apache.commons.lang3.tuple.Pair;
import tl.... |
/*
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* 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 apptest1;
import java.util.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
/**
*
* @author vgcga
*/
pub... |
package com.jahnelgroup.jgbay.search.rsql;
import cz.jirutka.rsql.parser.ast.ComparisonOperator;
import cz.jirutka.rsql.parser.ast.RSQLOperators;
public enum RsqlSearchOperation {
EQUAL(RSQLOperators.EQUAL),
NOT_EQUAL(RSQLOperators.NOT_EQUAL),
GREATER_THAN(RSQLOperators.GREATER_THAN),
GREATER_THAN_... |
package br.com.zevolution.imdb.config.exceptionhandler;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class ErrorDetailsResponse {
private LocalDateTime ... |
package edu.northeastern.cs5200.pokemon;
public class EvoChain {
private String name;
private Integer pokeId;
public EvoChain() {
}
public EvoChain(String name, Integer pokeId) {
this.name = name;
this.pokeId = pokeId;
}
public String getName() {
return name;
... |
/*
* Copyright (c) 2003 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 the above copyright
* notice, this list of ... |
/*
* Copyright (C) 2007 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 2013 The Apache Software Foundation.
*
* 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 httpserver.handlers;
import httpserver.HttpHandler;
import httpserver.core.HttpServerExchange;
import java.util.HashMap;
import java.util.Map;
import static httpserver.core.StatusCode.NOT_FOUND;
public class MethodPathRouting implements HttpHandler {
public static MethodPathRouting methodPathRouting() ... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.1... |
/******************************************************************************
* Copyright © 2019, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration. All
* rights reserved.
*
* The Astrobee Control Station platform is licensed under the Apache ... |
/**
* ************************************************************************
* * The contents of this file are subject to the MRPL 1.2
* * (the "License"), being the Mozilla Public License
* * Version 1.1 with a permitted attribution clause; you may not use this
* * file except in compliance with the L... |
/*
* Copyright (c) Dimitar Karamanov 2008-2014. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the source code must retain
* the above copyright notice and the following disclaimer.
*
* This software is provided "AS IS," wit... |
package xai.rest.client;
import java.io.File;
import lsim.library.api.LSimLogger;
/**
* @author Joan-Manuel Marques
*
*/
public class RESTclientMain {
public static void main(String[] args) throws Exception {
LSimLogger.setLoggerAsLocalLogger("Rest_client", "." + File.separator + "logs" + File.separator, true... |
package org.hisp.dhis.system.database;
/*
* Copyright (c) 2004-2018, University of Oslo
* 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 abov... |
/*
* 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... |
/*
* Copyright (c) 2016, Salesforce.com, 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, this list of cond... |
package com.example.lottery.provider;
import java.util.Base64;
import java.util.Date;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts;
im... |
package com.sunny.module.dataclean.rule;
import com.sunny.core.SpringContextHolder;
import com.sunny.core.annotation.RuleClass;
import com.sunny.core.annotation.RuleMethod;
import com.sunny.core.listener.AbstractApplicationListener;
import com.sunny.core.util.UuidUtils;
import com.sunny.module.dataclean.rule.entity.Ru... |
/*
* Copyright (c) 2016-2017, Adam <Adam@sigterm.info>
* Copyright (c) 2018, Tomas Slusny <slusnucky@gmail.com>
* Copyright (c) 2019 Abex
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
... |
package br.com.zup.propostas.validations;
import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.*;
@Target({ElementType.FIELD,ElementType.PARAMETER})
@Constraint(validatedBy = ExistValueValidator.class)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ExistV... |
package com.gabor.hr.service.dto;
import com.gabor.hr.model.BaseModel;
import com.gabor.hr.model.Project;
import com.gabor.model.config.Constants;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.OnDelete;
import org.hibernate.annotations.OnDeleteA... |
/*
* 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 u... |
package boosti.web.api;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.when;
import boosti.domain.Question;
import boosti.service.QuestionService;
import org.hamcrest.Matchers;
import org.junit.jupiter.api.Test;
import org.junit.j... |
package com.bazl.dna.test.client.fallback;
import org.springframework.stereotype.Component;
import com.alibaba.fastjson.JSONObject;
import com.bazl.dna.common.ResponseData;
import com.bazl.dna.test.client.IUserServiceClient;
@Component
public class UserServiceFallback implements IUserServiceClient {
@Override
pub... |
/*
* 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.distributedpipelilne.emailService.domain;
import org.springframework.stereotype.Component;
/*
* this model is input from the Task-scheduler
*/
@Component
public class Input {
private String jobId;
public Input() {
super();
}
private String taskname;
private String[] input;
private String u... |
/*
* ComponentWithComparison.java
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2015-2018 Apple Inc. and the FoundationDB project authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... |
/*
* Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: __bundled/BundledService.proto
package taskmanager;
/**
* Protobuf type {@code taskmanager.DeleteTreeServiceRequest}
*/
public final class DeleteTreeServiceRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_in... |
/*
* 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 Naman Dwivedi
*
* Licensed under the GNU General Public License v3
*
* This 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, or (at your option) a... |
/*
* Copyright 2017 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 a... |
package org.firstinspires.ftc.teamcode.RR.drive;
import com.acmerobotics.dashboard.config.Config;
import com.qualcomm.robotcore.hardware.PIDFCoefficients;
/*
* Constants shared between multiple drive types.
*
* TODO: Tune or adjust the following constants to fit your robot. Note that the non-final
* fields may al... |
import java.util.Random;
import java.util.Scanner;
public class Games {
Scanner scanner;
static int randomNumber;
final int CONST_MIN_HG = 0;
final int CONST_MAX_HG = 100;
static int MIN_HG = 0;
static int MAX_HG = 100;
public static void main(String[] args) {
Games games = new Games();
games.run();
}
... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/language/v1beta2/language_service.proto
package com.google.cloud.language.v1beta2;
/**
* <pre>
* The entity analysis request message.
* </pre>
*
* Protobuf type {@code google.cloud.language.v1beta2.AnalyzeEntitiesRequest}
*/
pub... |
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package io.github.mmm.ui.api.widget.number;
import java.math.BigInteger;
import io.github.mmm.ui.api.factory.UiWidgetFactoryNative;
import io.github.mmm.ui.api.widget.UiNativeWidget;
/**
... |
package com.kazale.pontointeligente.api.repositories;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;
import com.kazale.pontointeligente.api.entities.Empresa;
public interface EmpresaRepository extends JpaRepos... |
/*
* ApplicationInsights-Java
* Copyright (c) Microsoft Corporation
* All rights reserved.
*
* MIT License
* 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, inclu... |
/*
* Copyright 1999-2011 Alibaba 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 applicable la... |
/*
* Copyright 2013 Nicolas Morel
*
* 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... |
// RobotBuilder Version: 2.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks... |
/*
* Copyright (c) 2013 DataTorrent, 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... |
/*
*
* Autopsy Forensic Browser
*
* Copyright 2018-2020 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this testFile except in compliance with the License.
* You may obtain a copy of the License at
*
* ... |
package com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.console.graph;
import com.intellij.codeInsight.hint.HintManager;
import com.intellij.util.messages.MessageBus;
import com.neueda.jetbrains.plugin.graphdb.database.api.query.GraphQueryResult;
import com.neueda.jetbrains.plugin.graphdb.jetbrains.actions.execute.Ex... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: IGDBProtoFile.proto
package proto;
public interface PulseImageResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.PulseImageResult)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .proto.PulseImage... |
/*
* 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 ... |
package no.fint.adapter.event;
import lombok.extern.slf4j.Slf4j;
import no.fint.adapter.FintAdapterEndpoints;
import no.fint.event.model.Event;
import no.fint.event.model.HeaderConstants;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.*;
import org.springframework.stereo... |
package com.mapbox.navigation.ui;
import android.annotation.SuppressLint;
import android.app.Application;
import android.content.Context;
import android.location.Location;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.lifecycle.AndroidViewModel;
import androidx.lifecycle.Liv... |
/*
* 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... |
/*
* 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 ... |
package cn.hutool.core.util;
import org.junit.Assert;
import org.junit.Test;
public class HashUtilTest {
@Test
public void cityHash128Test(){
String s="Google发布的Hash计算算法:CityHash64 与 CityHash128";
final long[] hash = HashUtil.cityHash128(StrUtil.utf8Bytes(s));
Assert.assertEquals(0x5944f1e788a18db0L, hash[0]... |
package com.netflix.priam.volume;
import com.amazonaws.auth.AWSCredentialsProvider;
import com.amazonaws.services.ec2.AmazonEC2;
import com.amazonaws.services.ec2.AmazonEC2Client;
import com.amazonaws.services.ec2.model.AttachmentStatus;
import com.amazonaws.services.ec2.model.DescribeInstancesRequest;
import com.amaz... |
/**
* Hello! {@link
#foo()} text
*/
public class C{
public void foo() {}
} |
package org.dev.toos.constcode.data.xml;
import java.util.ArrayList;
import java.util.List;
import org.dev.toos.constcode.data.VarDao;
import org.dev.toos.constcode.data.xml.define.ConstType;
import org.dev.toos.constcode.data.xml.define.VarType;
import org.dev.toos.constcode.data.xml.metadata.XmlConstBean;
import org.... |
package com.cslg.entity;
import java.util.Date;
/**
* <h3>schoolmall</h3>
* <p></p>
*
* @author:MIKU
* @date : 2020-04-29 21:02
**/
public class HeadLine {
private Long lineId;
private String lineName;
private String lineLink;
private String lineImg;
private Integer priority;
//0可用 1不可用
... |
package org.fortune.commons.web.conf;
import org.fortune.commons.web.export.ExportAttachmentHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* @author: Landy
* @date: 2019/4/16 22:21
* @description:
*/
@Configuration
public class ExportA... |
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// 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 restricti... |
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package functionalj.lens.lenses;
import java.math.BigDecimal;
import java.math.BigInteger;
import functionalj.tuple.Tuple;
import functionalj.tuple.Tuple2;
import nullablej.nullable.Nullable;
public class LongMathOperators implements MathOperators<Long> {
public static MathOperators<Long> instance = new LongMat... |
package com.github.vipulasri.timeline;
import android.app.Fragment;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebSettings;
import android.webkit.WebView;
public class WebViewFragment extends Fra... |
package org.broadinstitute.hellbender.tools.spark.sv.discovery.alignment;
import com.esotericsoftware.kryo.DefaultSerializer;
import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.io.Input;
import com.esotericsoftware.kryo.io.Output;
import htsjdk.samtools.SAMSequenceDictionary;
import org.broadinsti... |
/*
* Copyright 2019 Daniel Gultsch
* 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 wdawson.samples.revoker.configuration;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collections;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.Min;
import org.hibernate.validator.constraints.NotEmpty;
import wdawson.samples.revoker.represent... |
package com.samagra.ancillaryscreens.base;
import android.content.Context;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import com.google.android.material.snackbar.Snackbar;
import com.samagra.ancillaryscreens.di.component.ActivityComponent;
import c... |
/**
* SDK
*
* This library allows to interact with the payment service.
*
* 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 LocalNotification;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Lo... |
/* $This file is distributed under the terms of the license in LICENSE$ */
package edu.cornell.mannlib.vitro.webapp.auth.requestedAction.ontology;
import edu.cornell.mannlib.vitro.webapp.auth.requestedAction.ifaces.OntoRequestedAction;
import edu.cornell.mannlib.vitro.webapp.auth.requestedAction.ifaces.SingleParamete... |
/*
* 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 n... |
package top.nju.iznauy.service.serviceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.nju.iznauy.controller.tools.JwtTokenUtils;
import top.nju.iznauy.dao.StudentDao;
import top.nju.iznauy.entity.UserType;
... |
package com.example.tankerclientreactnative;
import com.wix.detox.Detox;
import com.wix.detox.config.DetoxConfig;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import androidx.test.filters.LargeTest;
import androidx.test.rule.Acti... |
//
// Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802
// Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem.
// Gerado ... |
// Targeted by JavaCPP version 1.5.3-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.openblas.global.openblas_nolapack.*;
import static org.bytedeco.openblas.global.openblas.... |
package com.mgmtp.radio.service.user.favorite;
import com.mgmtp.radio.domain.user.FavoriteSong;
import com.mgmtp.radio.dto.user.FavoriteSongDTO;
import com.mgmtp.radio.mapper.user.FavoriteSongMapper;
import com.mgmtp.radio.respository.user.FavoriteSongRepository;
import com.mgmtp.radio.service.station.SongService;
imp... |
package nl.mvdr.adventofcode.adventofcode2018.day20;
import java.util.stream.Stream;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import nl.mvdr.adventofcode.LinesSolver;
/**
* Solution to the day 20 puzzle of 2018's Advent of Code:
* <a href="https://adventofcode.com/2018/day/20">A Regular Map</a>.
... |
package cn.fivezha.api.mapper;
import cn.fivezha.api.core.mapper.MyMapper;
import cn.fivezha.api.entity.RoleDO;
import org.apache.ibatis.annotations.Param;
/**
* @author Zoctan
* @date 2018/07/15
*/
public interface RoleMapper extends MyMapper<RoleDO> {
/**
* 赋予默认角色给账户
*
* @param accountId 账户Id
* @re... |
package com.mojang.minecraft.level.blocks;
import com.mojang.minecraft.level.Level;
import com.mojang.minecraft.level.liquid.LiquidType;
public final class SandBlock extends Block {
public SandBlock(int var1, int var2) {
super(var1, var2);
}
public final void onPlace(Level level, int x, int y, int z)... |
package com.betterprojectsfaster.talks.openj9memory.web.rest;
import com.betterprojectsfaster.talks.openj9memory.service.ProductService;
import com.betterprojectsfaster.talks.openj9memory.web.rest.errors.BadRequestAlertException;
import com.betterprojectsfaster.talks.openj9memory.service.dto.ProductDTO;
import io.git... |
package br.com.citframework.util;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import br.com.citframework.comparacao.ObjectSimpleComparator;
import br.com.citframework.excecao.CompareException;
public class UtilListas {
/**
* Ordena uma lista de bea... |
package org.kestra.runner.kafka.configs;
import io.micronaut.context.annotation.ConfigurationProperties;
import io.micronaut.core.convert.format.MapFormat;
import lombok.Getter;
import java.util.Map;
@ConfigurationProperties("kestra.kafka.defaults.stream")
@Getter
public class StreamDefaultsConfig {
@MapFormat(t... |
package com.zhaimy.gulimall.coupon.dao;
import com.zhaimy.gulimall.coupon.entity.SeckillPromotionEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 秒杀活动
*
* @author zhaimy
* @email zhaimy_5@163.com
* @date 2020-10-17 23:45:37
*/
@Mapper
public int... |
package com.xkcoding.graylog;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class SpringBootDemoGraylogApplicationTests {
@Test
... |
/*
The MIT License (MIT)
Copyright (c) 2018, Sam Bayless
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, ... |
package org.actioncontroller.exceptions;
import org.actioncontroller.ApiHttpExchange;
import java.io.IOException;
/**
* Indicates that an error happened during the invocation of an action and that
* the user agent should receive the HTTP {@link #statusCode}.
*/
public class HttpActionException extends RuntimeExce... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.