text stringlengths 7 995k |
|---|
/*
*
* Copyright 2017-2018 549477611@qq.com(xiaoyu)
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free Software Foundation.
*
* This program is distr... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
/**
* This package provides Rx interfaces for interacting with Azure Cosmos DB.
*/
package com.azure.data.cosmos; |
package com.sctt.cinema.api.business.controller.rest;
import com.sctt.cinema.api.business.entity.jpa.Movie;
import com.sctt.cinema.api.business.entity.jpa.User;
import com.sctt.cinema.api.business.service.jpa.MovieService;
import com.sctt.cinema.api.business.service.jpa.UserService;
import com.sctt.cinema.api.common.B... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
package com.hedera.cli.models;
import static org.junit.jupiter.api.Assertions.assertEquals;
import com.hedera.hashgraph.sdk.account.AccountId;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.junit.jupiter.MockitoExtension;
@ExtendWith(MockitoExtension.class)
... |
package com.fronted;
import android.app.Application;
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.... |
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
/*
* 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 licen... |
/*
* Copyright 2014 - 2021 Blazebit.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package org.apache.helix.rest.server;
/*
* 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 Licens... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.bing.newssearch.models;
import com.fasterxml.jackson.annotation.J... |
package com.mypurecloud.sdk.v2.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.mypurecloud.sdk.v2.model.StatisticalResponse;
import io.swagger.annotations.ApiModel;
... |
/**
* 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.itheima.b_api;
import org.hibernate.cfg.Configuration;
import org.junit.Test;
import com.itheima.a_hello.User;
//详解Configuration对象
public class Configuration_test {
@Test
//Configuration 用户加载配置文件
public void fun1(){
//1.1 调用configure() 方法=> 加载src下名为hibernate.cfg.xml
Configuration conf = new Config... |
package jp.oops.clazz.restday.servlet;
import java.io.BufferedReader;
import java.io.File;
import java.io.StringReader;
import jp.oops.clazz.restday.Const;
import jp.oops.clazz.restday.dao.ValidatorImpl;
import jp.oops.clazz.restday.factory.BeanFactoryEx;
import jp.oops.clazz.test.util.MockConUtil;
import jp.oops.cla... |
/*
* Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.engine.api.authn;
import pl.edu.icm.unity.engine.api.endpoint.BindingAuthn;
import pl.edu.icm.unity.engine.api.utils.StringConfigurable;
/**
* Retrieves credential,... |
package com.sequenceiq.cloudbreak.core.cluster;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.stream.Collectors;
import javax.inject.Inject;
import org.slf4j.Logger;
impor... |
/*
* Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.luo.redisware.util;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
/**
* @author xiangnan
* date 2018/4/22
*/
public class RediswareUtil {
public static GenericObjectPoolConfig defaultPoolConfig() {
GenericObjectPoolConfig defaultPoolConfig = new GenericObjectPoolConfig();
... |
package biodiv.dataset;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
... |
package org.veupathdb.service.eda.generated.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.List;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"histogram... |
package com.shazam.fork.system;
import com.android.ddmlib.AdbCommandRejectedException;
import com.android.ddmlib.IDevice;
import com.android.ddmlib.NullOutputReceiver;
import com.android.ddmlib.ShellCommandUnresponsiveException;
import com.android.ddmlib.TimeoutException;
import com.shazam.fork.Configuration;
import c... |
/*
* Units of Measurement Reference Implementation
* Copyright (c) 2005-2017, Jean-Marie Dautelle, Werner Keil, V2COM.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistribut... |
package com.example.evaluation_system.base.model;
public class FinishedTestQuestionDetailVo {
private Integer testQuestionid;
private Boolean result;
private String studentanswer;
Question question;
public Integer getTestQuestionid() {
return testQuestionid;
}
public void setTe... |
package physics;
import java.awt.Point;
import java.awt.Rectangle;
public class Collision {
public static boolean pBlock(Point p, Rectangle b) {
return b.contains(p);
}
} |
package chapter4.demo446;
public abstract class Action {
public static final int EAT = 1;
public static final int SLEEP = 5;
public static final int WORK = 7;
public void command(int cmd) {
switch (cmd) {
case EAT:
this.eat();
break;
case... |
package handy.rssarchive.html;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import handy.common.GMSEC.Log;
import handy.common.GMSEC.Log.LogLevel;
import handy.rssarchive.file.FileUtil;
public class ImageTagCleaner {
public static String imageTagCleaner(String html, String directory) {
Pattern ... |
/*
* Copyright (c) 2012, WSO2 Inc. (http://www.wso2.org) 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
*
* ... |
/*
* Copyright (C) 2018 Nafundi
*
* 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 w... |
package com.example.restlogging.logging;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class RequestLoggingFilterConfig {
@Bean
public HttpRequestResponseLoggingFilter filter() {
return new HttpRequestResponseLog... |
/*
* Copyright 2017-2018 David Karnok
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package org.jeecg.modules.issohadmin.company.entity;
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annot... |
/*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/*
* Copyright DataStax, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... |
package wniemiec.api.nshopping.domain;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Objects;
/**
* Responsible for representing a city.
*/
@Entity
public class City implements Serializable {
//-------------------------------------------------------------------------
// Attrib... |
package stream.flarebot.flarebot.commands.music;
import com.arsenarsen.lavaplayerbridge.player.Player;
import net.dv8tion.jda.core.entities.Member;
import net.dv8tion.jda.core.entities.Message;
import net.dv8tion.jda.core.entities.TextChannel;
import net.dv8tion.jda.core.entities.User;
import stream.flarebot.flarebot.... |
/**
* Copyright (C) 2016 Newland Group Holding Limited
*
* 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 appli... |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... |
/*
* Copyright 2014 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.birt.common.service;
import java.util.List;
import java.util.Map;
import com.birt.common.domain.DictDO;
import com.birt.system.domain.UserDO;
/**
* 字典表
*
* @author chglee
* @email 1992lcg@163.com
* @date 2017-09-29 18:28:07
*/
public interface DictService {
DictDO get(Long id);
List<DictDO> ... |
package wx.mq.local.consume;
import wx.mq.local.LocalMessageQueue;
import wx.mq.common.message.status.SelectMappedBufferResult;
import wx.mq.local.LocalMessageQueueConfig;
import wx.mq.common.partition.fs.MappedPartition;
import wx.mq.common.partition.fs.MappedPartitionQueue;
import java.io.File;
import java.nio.Byte... |
package util;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Date;
import org.apache.commons.codec.binary.Hex;
import play.Logger;
public class AppUtil {
public static final String UTF_8 = "UTF-8";
private static M... |
/*
* 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 m... |
/**
* Leetcode - max_increase_to_keep_city_skyline
*/
package com.ciaoshen.leetcode.max_increase_to_keep_city_skyline;
import java.util.*;
import com.ciaoshen.leetcode.myUtils.*;
class Solution2 implements Solution {
public int maxIncreaseKeepingSkyline(int[][] grid) {
return 2;
}
} |
/*
* Copyright 2010-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/**
* Copyright 2015 Smart Society Services B.V.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
package org.opensmartgridplatform.ada... |
package au.com.dius.presentation;
import au.com.dius.business.BowlingGame;
import au.com.dius.business.DependencyManager;
import au.com.dius.data.ScoresModel;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* <b>GamePresenterTest</b>
*
* Tests GamePresenter test
*/
public class GamePresent... |
package com.ru.usty.elevator;
import com.ru.usty.elevator.visualization.TestSuite;
public class ElevatorMainProgram {
public static void main(String[] args) {
try {
TestSuite.startVisualization();
/***EXPERIMENT HERE BUT THIS WILL BE CHANGED DURING GRADING***/
Thread.sleep(1000);
TestSuite.runTest... |
package graph;
import java.util.HashMap;
import java.util.HashSet;
public interface Graph {
/* Creates a vertex with the given number. */
public void addVertex(int num);
/* Creates an edge from the first vertex to the second. */
public void addEdge(int from, int to);
/* Return the graph's... |
package com.xbw.spring.boot.junit4.category;
import org.junit.Test;
import org.junit.experimental.categories.Category;
@Category({CategoryA.class, CategoryB.class})
public class CategoryBTests {
@Test
public void c() {
}
} |
package com.chaoip.ipproxy.util;
import org.apache.commons.io.IOUtils;
import javax.servlet.ReadListener;
import javax.servlet.ServletInputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
impo... |
package com.micoli.backend.services;
import java.util.Collection;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.Pat... |
package com.wwxyh.gulimall.product.service.impl;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.w... |
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.xmlui.aspect.administrative.authorization;
import java.sql.SQLException;
import... |
package model.pojo;
/**
* Questa classe modella il concetto di "tipo di una prenotazione" all'interno sistema
*
* @author De Caro Antonio
* @version 0.1
*/
public enum TipoPrenotazione {
/**
* Questo costante, se associata ad una prenotazione, indica che la prenotazione è stata effettuata sull'intera au... |
/**
* Copyright 1999-2015 dangdang.com.
* <p>
* 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... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE113_HTTP_Response_Splitting__Property_addCookieServlet_54c.java
Label Definition File: CWE113_HTTP_Response_Splitting.label.xml
Template File: sources-sinks-54c.tmpl.java
*/
/*
* @description
* CWE: 113 HTTP Response Splitting
* BadSource: Property Read data from a sy... |
package com.niit.interioshoppers.dao;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.anno... |
package top.futurenotfound.amanita.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;
import top.futurenotfound.amanita.domain.UserAdmin;
import top.futurenotfound.amanita.mapper.UserAdminMapper;
impor... |
/*
* Copyright 2000-2001,2004 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 requir... |
package com.vasa.android.stardroid.activities;
import com.vasa.android.gms.common.GoogleApiAvailability;
import com.vasa.android.stardroid.inject.PerActivity;
import dagger.Module;
import dagger.Provides;
/**
* Dagger module
* Created by johntaylor on 3/29/16.
*/
@Module
public class DynamicStarMapModule extends ... |
/*
* 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.odk.kitaaman.android.instances;
import java.util.ArrayList;
import java.util.List;
public final class TestInstancesRepository implements InstancesRepository {
List<Instance> instances;
public TestInstancesRepository(List<Instance> instances) {
this.instances = new ArrayList<>(instances);
... |
package com.google.android.gms.internal.ads;
/* compiled from: com.google.android.gms:play-services-ads@@19.4.0 */
public final class zzjp extends Exception {
} |
package org.narrative.network.customizations.narrative.niches.elections.services;
import org.narrative.network.customizations.narrative.elections.Election;
import org.narrative.network.customizations.narrative.elections.ElectionType;
import org.narrative.network.customizations.narrative.elections.services.CreateElecti... |
/*
* 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 applica... |
package com.hyphenate.easeui.ui;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import com.hyphenate.EMConnectionListener;
import com.hyphenate.EMConversationListener;
import com.hyphenate.EMError;
import com.hyphenate.chat.EMChatMan... |
package org.knowm.xchange.bitmarket.service.polling;
import static org.fest.assertions.api.Assertions.assertThat;
import static org.powermock.api.mockito.PowerMockito.mock;
import java.io.IOException;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.k... |
/* Copyright 2002-2020 CS GROUP
* Licensed to CS GROUP (CS) 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"); yo... |
/**
* Copyright 2015 Yamato
*
* 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 w... |
package demo.action;
import org.json.JSONArray;
import org.json.JSONObject;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.context.SecurityContext;
import org.springframework.security.core.context.SecurityCont... |
/*
* Copyright (c) 2019 Uber Technologies, 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 l... |
package net.minecraft.client.renderer.entity;
import com.mojang.blaze3d.matrix.MatrixStack;
import net.minecraft.entity.monster.ZombieEntity;
import net.minecraft.util.ResourceLocation;
public class HuskRenderer extends ZombieRenderer
{
private static final ResourceLocation HUSK_ZOMBIE_TEXTURES = new ResourceLoca... |
/*
* 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 ... |
/*
* This class is distributed as part of the Botania Mod.
* Get the Source Code in github:
* https://github.com/Vazkii/Botania
*
* Botania is Open Source and distributed under the
* Botania License: http://botaniamod.net/license.php
*/
package vazkii.botania.mixin;
import net.minecraft.client.renderer.entity.E... |
package github3;
import java.util.Scanner;
import java.util.Arrays;
public class nineteen {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int n;
System.out.println("Enter list:");
n = input.nextInt();
int[] nums = new int[n];
for (int i = 0; i < n; i++)... |
package website.skylorbeck.minecraft.ghostmod.client;
import net.minecraft.client.render.entity.CreeperEntityRenderer;
import net.minecraft.client.render.entity.EntityRendererFactory;
import net.minecraft.client.render.entity.MobEntityRenderer;
import net.minecraft.client.render.entity.feature.CreeperChargeFeatureRend... |
package org.basex.http.rest;
import org.junit.jupiter.api.*;
/**
* This class tests the server-based REST API.
*
* @author BaseX Team 2005-20, BSD License
* @author Christian Gruen
*/
public final class ServerRESTTest extends RESTTest {
/**
* Start server.
* @throws Exception exception
*/
@BeforeAll... |
/*
* Copyright © 2014-2020 Vladlen V. Larionov and others as noted.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
/*
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* 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... |
/*
* 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.smart.web.core.config;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.co... |
package com.socialine.Socialine.controller;
import com.socialine.Socialine.utils.EmailSender;
import com.socialine.Socialine.dto.EmailRequest;
import com.socialine.Socialine.dto.LoginRequest;
import com.socialine.Socialine.dto.PasswordResetRequest;
import com.socialine.Socialine.dto.RegisterRequest;
import com.sociali... |
package br.com.neolog.welcomekit.models;
import com.google.common.base.MoreObjects;
public class CartItemHolder
{
private int productCode;
private int quantity;
public CartItemHolder()
{
}
public CartItemHolder(
final int productCode,
final int quantity )
{
this.... |
package com.validators;
import com.model.Employee;
import org.springframework.validation.Errors;
import org.springframework.validation.ValidationUtils;
import org.springframework.validation.Validator;
public class EmployeeFormValidator implements Validator {
//which objects can be validated by this validator
... |
package ghost.framework.data.core;
import ghost.framework.module.module.ModuleTypes;
import ghost.framework.module.annotations.IPackageInfo;
import ghost.framework.module.language.annotations.Global;
import ghost.framework.module.language.annotations.Local;
/**
* @Author: 郭树灿{guoshucan-pc}
* @link: 手机:13715848993, ... |
package com.jeecg.p3.scratchcards.dao;
import com.jeecg.p3.scratchcards.entity.WxActScratchcardsRelation;
import org.apache.ibatis.annotations.Param;
import org.jeecgframework.p3.core.utils.common.PageQuery;
import org.jeecgframework.p3.core.utils.common.PageQueryWrapper;
import org.jeecgframework.p3.core.utils.persis... |
/*
* 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.denizenscript.denizen.objects.properties.material;
import com.denizenscript.denizen.objects.MaterialTag;
import com.denizenscript.denizencore.objects.Mechanism;
import com.denizenscript.denizencore.objects.ObjectTag;
import com.denizenscript.denizencore.objects.core.ElementTag;
import com.denizenscript.den... |
package org.basex.query.util;
import static org.basex.query.QueryError.*;
import org.basex.query.*;
import org.basex.query.util.collation.BaseXCollationOptions.Strength;
import org.junit.*;
/**
* XQuery collation tests.
*
* @author BaseX Team 2005-15, BSD License
* @author Christian Gruen
*/
public final class ... |
package com.chen.playerdemo.bean.tools;
/**
* 手机号码归属地查询
* Created by chenbin
* 2019-7-17
**/
public class MobileData {
/**
* msg : success
* result : {"city":"厦门市","cityCode":"0592","mobileNumber":"1595936","operator":"移动神州行卡","province":"福建","zipCode":"361000"}
* retCode : 200
*/
pri... |
package network.discov.component.vanish;
import network.discov.core.spigot.model.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class VanishCommand extends Command {
public VanishCommand() {
super("vanish", "Hide yourself from other players", "core.command.vanis... |
package com.luoboduner.moo.tool.ui.frame;
import com.luoboduner.moo.tool.ui.form.func.HttpResultForm;
import com.luoboduner.moo.tool.util.ComponentUtil;
import javax.swing.*;
import java.awt.*;
/**
* <pre>
* Http请求响应结果展示frame
* </pre>
*
* @author <a href="https://github.com/rememberber">Zhou Bo</a>
* @since 20... |
package jp.mixi.practice.layout.advanced;
import android.os.Bundle;
import android.preference.PreferenceActivity;
public class PreferencePracticeActivity extends PreferenceActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// TODO:pr... |
package com.gjq.demo.commom;
import android.content.Context;
import android.database.Cursor;
import android.database.MergeCursor;
import android.net.Uri;
import android.provider.MediaStore;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.content.AsyncTas... |
package com.oc.hawk.project.port.driven.persistence.po;
import com.oc.hawk.common.hibernate.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.time.LocalDateTime;
@Getter
@Setter
@Table(name = "project_shared")
@Entity
public class Pro... |
package com.api.service;
import com.api.enums.CronEnum;
import com.api.service.jobs.DemoJob;
import com.api.service.jobs.execution.JobRunner;
import com.api.service.jobs.ProgressJob;
import com.util.web.JsonResponse;
import lombok.RequiredArgsConstructor;
import org.jobrunr.jobs.JobId;
import org.jobrunr.jobs.context.... |
package processing.data;
// This code has been modified heavily to more closely match the rest of the
// Processing API. In the spirit of the rest of the project, where we try to
// keep the API as simple as possible, we have erred on the side of being
// conservative in choosing which functions to include, since we h... |
package us.ihmc.atlas.initialSetup;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import us.ihmc.avatar.initialSetup.DRCRobotInitialSetup;
import us.ihmc.commons.PrintTools;
import us.ihmc.euclid.transform.RigidBodyTransform;
import us.ihmc.euclid.tuple3D.Vector3D;
import us.ihm... |
/*
* Copyright 2012 DTO Labs, Inc. (http://dtolabs.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 app... |
package run.rook.gopigo.gopigo3.io;
public class MotorStatus {
private boolean lowVoltage;
private boolean overloaded;
private byte power;
private int encoder;
private int degreesPerSecond;
public boolean isLowVoltage() {
return lowVoltage;
}
public void setLowVoltage(boolean lowVoltage) {
this.lowVoltag... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.