text stringlengths 7 995k |
|---|
/*
* Copyright (c) 2017 Gowtham Parimelazhagan.
*
* 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 ... |
/*
* Minecraft Forge
* Copyright (c) 2016-2019.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation version 2.1
* of the License.
*
* This library is distributed in the hope that it... |
/* Copyright 2002-2018 CS Systèmes d'Information
* Licensed to CS Systèmes d'Information (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Versi... |
package com.google.inject.multibindings;
import com.google.inject.Binder;
import com.google.inject.TypeLiteral;
import com.google.inject.binder.LinkedBindingBuilder;
import com.google.inject.internal.RealMapBinder;
import java.lang.annotation.Annotation;
public class MapBinder<K, V> {
private final RealMapBinder<K... |
package com.ilscipio.scipio.solr;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import javax.transaction.Transaction;
import org.apache.solr.client.solrj.SolrRequest;
import org.apache.solr.client.solrj.impl.HttpSolrClient;
import org.apache.solr.client.solrj.request.SolrPing;
import ... |
package com.pydio.sdk.core.common.callback;
import com.pydio.sdk.core.model.Message;
/**
* Created by pydio on 10/02/2015.
*/
public interface MessageHandler {
void onMessage(Message m);
} |
package com.nanoporeqc.analysis.dto;
import com.nanoporeqc.analysis.domain.QualityStatus;
import com.nanoporeqc.analysis.domain.Type;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.Max;
import javax.validation.constrain... |
package org.apache.apisix.admin.model;
import lombok.Data;
import org.apache.apisix.common.BaseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.Map;
import org.apache.apisix.admin.model.plugin.Plugin;
@Data
public class Consumer extends BaseModel{
... |
package dcraft.cms.thread.proc;
import org.joda.time.DateTime;
import dcraft.db.DatabaseInterface;
import dcraft.db.DatabaseTask;
import dcraft.db.IStoredProc;
import dcraft.db.update.DbRecordRequest;
import dcraft.db.update.UpdateRecordRequest;
import dcraft.lang.op.OperationResult;
import dcraft.struct.ListStruct;
... |
package org.apache.archiva.rest.services;
/*
* 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 Li... |
/**
* Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.hadoop.hive.metastore.api;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.Scheme... |
package com.siondream.ld26;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.physics.box2d.Body;
import com.badlogic.gdx.p... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v7/services/google_ads_service.proto
package com.google.ads.googleads.v7.services;
/**
* <pre>
* Response message for [GoogleAdsService.Search][google.ads.googleads.v7.services.GoogleAdsService.Search].
* </pre>
*
* Proto... |
/*
Foilen Infra Plugin
https://github.com/foilen/foilen-infra-plugin
Copyright (c) 2017-2021 Foilen (https://foilen.com)
The MIT License
http://opensource.org/licenses/MIT
*/
package com.foilen.infra.plugin.v1.model.outputter;
public class ModelException extends RuntimeException {
private s... |
/**
* Copyright (C) 1998-2011 enStratusNetworks LLC
*
* ====================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://w... |
/*
* SOFTWARE USE PERMISSION
*
* By downloading and accessing this software and associated documentation files ("Software") you are granted the
* unrestricted right to deal in the Software, including, without limitation the right to use, copy, modify, publish,
* sublicense and grant such rights to third parties, s... |
package org.uma.jmetal.operator.impl.crossover;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import org.junit.Test;
import org.uma.jmetal.problem.DoubleProblem;
import org.uma.jmetal.problem.impl.AbstractDoubleProblem;
import org.uma.jmetal.solution.D... |
/*
* MIT License
*
* Copyright (c) 2020 Airbyte
*
* 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, ... |
/*
* Copyright (C) 2008 Romain Guy, 2012 Lucas Rocha
*
* 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.ics499.unorater.models;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ics499.unorater.models.enums.RoleName;
import org.hibernate.annotations.NaturalId;
import javax.persistence.*;
import javax.validation.constraints.Email;
import java... |
package com.unity3d.player;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.media.AudioManager;
public class HFPStatus {
/* renamed from: a */
private Context f27a;
/* renamed from: b */
private BroadcastReceiver f28b = null;
... |
package org.intermine.bio.dataconversion;
/*
* Copyright (C) 2002-2020 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/... |
package org.camunda.bpm.example.multiple_versions_parallel;
import java.util.logging.Logger;
import javax.inject.Named;
import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;
/**
* This is an empty service implementation illustrating how to use a plain Java
... |
/*
* Copyright 2019 Basis Technology 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 agr... |
package com.haulmont.sample.petclinic.core;
import static java.util.Arrays.asList;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.lenient;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
impor... |
package org.jeecg.modules.dreamlabs.org.entity;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.sp... |
package eu.easyrpa.examples.database.working_with_transaction;
import eu.easyrpa.examples.database.working_with_transaction.tasks.AddRecordsUsingTransaction;
import eu.ibagroup.easyrpa.engine.annotation.ApModuleEntry;
import eu.ibagroup.easyrpa.engine.apflow.ApModule;
import eu.ibagroup.easyrpa.engine.apflow.TaskOutpu... |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2017, Arnaud Roques
*
* Project Info: http://plantuml.com
*
* This file is part of PlantUML.
... |
/*
* Copyright (C) 2016 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 applicable l... |
/**
* Copyright 2013 Canada Health Infoway, 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 applicab... |
/*
* 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.pon.ents.base.functional.impl;
import javax.annotation.Nullable;
import com.google.common.base.Preconditions;
import com.pon.ents.base.functional.Exchanger;
public class Expecter<T> implements Exchanger<T> {
private static final Object UNSET_MARKER = new Object();
private static final Object GOT... |
/*
* Open Source Software published under the Apache Licence, Version 2.0.
*/
package io.github.vocabhunter.gui.controller;
import io.github.vocabhunter.gui.view.ViewFxml;
import javafx.fxml.FXMLLoader;
import javax.inject.Inject;
import javax.inject.Provider;
public class FilterGridHandler extends BaseFilterHand... |
/*******************************************************************************
* Copyright (c) 2019 by cordalo.ch - 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 rest... |
package mk.ukim.finki.officehours.web.rest.errors;
import mk.ukim.finki.officehours.web.rest.util.HeaderUtil;
import org.springframework.dao.ConcurrencyFailureException;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.MethodArgum... |
import com.google.*;
import com.google.gson.Gson;
import models.*;
import models.dao.*;
import exceptions.*;
import org.sql2o.*;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import spark.ModelAndView;
import spark.template.handlebars.HandlebarsTemplateEngine;
import static spark.Spark.*;
p... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
package com.aplikasi_zomato;
import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;
import c... |
package org.pimslims.crystallization.implementation.integration;
import org.pimslims.crystallization.datastorage.DataStorageFactory;
public class ConstructViewTest extends org.pimslims.crystallization.integration.ConstructViewTest {
public ConstructViewTest(String methodName) {
super(methodName, DataStora... |
package org.tiankafei.springbootdemo.filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import lombok.extern.slf4j.Slf4j;... |
/*------------------------------------------------------------------------------
Copyright (c) CovertJaguar, 2011-2019
http://railcraft.info
This code is the property of CovertJaguar
and may only be used with explicit written
permission unless otherwise specified on the
license page at http://railcraft.info/wiki... |
package section_07.optional;
import java.io.*;
import java.nio.charset.*;
import java.nio.file.*;
import java.util.*;
public class OptionalTest {
public static void main(String[] args) throws IOException {
String contents = new String(Files.readAllBytes(Paths.get("../gutenberg/alice30.txt")),
... |
package org.springframework.security.web.authentication.preauth;
import static org.junit.Assert.*;
import java.util.*;
import org.junit.Test;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.AuthorityUtils;
import org.springframework.security.core.authorit... |
package org.knowm.xchange.quadrigacx.service;
import java.io.IOException;
import java.math.BigDecimal;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.exceptions.ExchangeException;
import org.knowm.xchange.quadrigacx.QuadrigaCxAuthenticated;
import org.knowm.xchange.quadrigacx.dto.account.QuadrigaCxBalance... |
package com.fluxhydravault.restfrontendfx.model;
import java.util.Date;
public class ErrorResponse {
private Date timestamp;
private int status;
private String error;
private String message;
private String path;
public String getFormattedMessage() {
return String.format("%s %d: %s", e... |
package com.mercury.platform.ui.frame.titled;
import com.mercury.platform.shared.FrameVisibleState;
import com.mercury.platform.shared.store.MercuryStoreCore;
import com.mercury.platform.ui.components.fields.font.FontStyle;
import com.mercury.platform.ui.components.fields.font.TextAlignment;
import com.mercury.platfor... |
package samuelfac;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
public class Messages {
private static final String BUNDLE_NAME = "samuelfac.messages"; //$NON-NLS-1$
private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
private Messa... |
package edu.htu.ap.week5.session1.abstraction;
// abstract class : when a class has at least one abstract method - abstract, inheritance
public abstract class A {
// abstract method without the body , unimplemented method
public abstract void sayHello();
public void sayGoodBye() {
System.out.println("Goodbye")... |
/* (c) 2014 LinkedIn Corp. 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 agre... |
/*
* Copyright 2021 ConsenSys AG.
*
* 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 wr... |
/*
* Copyright 2014 Igor Maznitsa (http://www.igormaznitsa.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 requi... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.xiaoqi.pojo.vo;
/**
* 分页查询 视图层对象
* @author : yangfan
* @Date : 2020/7/1
**/
public class PageVo {
/**
* 页数
*/
private Integer page;
/**
* 每页数量
*/
private Integer pageSize;
/**
* 查询字段
*/
private String type;
/**
* 查询条件
*/
private St... |
// Copyright 2018 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
package com.mopub.mobileads;
import com.mopub.common.test.support.SdkTestRunner;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.M... |
package org.elasticsearch.client.experiments.api.query;
import org.elasticsearch.client.experiments.base.FromXContent;
import org.elasticsearch.client.experiments.xcontent.ObjectBuilder;
import org.elasticsearch.client.experiments.xcontent.ObjectBuilderParser;
import org.elasticsearch.common.ParseField;
import org.ela... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.security.operator;
import org.ela... |
//
// This file was generated with the JavaTM Architecture for XML Binding (JAXB) Reference Implementation, v2.2.5-2
// Seehref="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Changes to this file are lost when the source schema is recompiled.
// Generated: 02/04/2014 at 12:22:03 PM CET
//
packa... |
/*
* Copyright 2018 Mark Vainomaa
*
* 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, publish, ... |
package com.browser.task;
import com.browser.service.impl.RequestWalletService;
import com.browser.service.impl.SenatorService;
import com.browser.service.impl.SyncSenatorService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfr... |
package com.hbm.entity.effect;
import java.util.ArrayList;
import com.hbm.interfaces.IConstantRenderer;
import com.hbm.render.amlfrom1710.Vec3;
import net.minecraft.entity.Entity;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.datasync.DataParameter;
import net.minecraft.network.datasync.DataS... |
package xyz.andrewkboyd.homedatahub.actors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.stereotype.Component;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import xyz.andrewkboyd.homedatahub.dao.interfa... |
/*
Copyright (c) 2016 Motorola Mobility, LLC.
All rights reserved.
<p/>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of cond... |
package cn.pdmi.platform.pupuser;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.apache.commons.lang.StringUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootAppli... |
package wtf.nucker.kitpvpplus.listeners;
import com.cryptomorin.xseries.XMaterial;
import de.tr7zw.changeme.nbtapi.NBTItem;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.Playe... |
package com.colobu.zkrecipe.discovery;
import org.codehaus.jackson.map.annotate.JsonRootName;
/**
* In a real application, the Service payload will most likely be more detailed
* than this. But, this gives a good example.
*/
@JsonRootName("details")
public class InstanceDetails {
private String description;
... |
package com.google.api.ads.dfp.jaxws.v201308;
import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
*
* P... |
package net.froemling.bsremote;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.Ran... |
package cn.gson.oasys.service;
import cn.gson.oasys.mappers.NoticeListPOMapper;
import cn.gson.oasys.model.entity.notice.NoticesList;
import cn.gson.oasys.modelV2.po.NoticeListPO;
import cn.gson.oasys.modelV2.po.NoticeListPOExample;
import cn.gson.oasys.modelV2.po.NoticeUserRelationPOExample;
import cn.gson.oasys.serv... |
package com.ruoyi.system.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.system.domain.SysDictData;
/**
* 字典表 数据层
*
* @author ever
*/
public interface SysDictDataMapper
{
/**
* 根据条件分页查询字典数据
*
* @param dictData 字典数据信息
* @return 字典数据集合信息
*/
... |
/**
* 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 ... |
/**
* The Class AutomationSystem
* This is a class that contains testing
* @author Emine Sultan Savran
* @since 2021-03-10
*/
public class AutomationSystem{
public static void main( String args[] ){
testing();
}
public static void testing(){
System.out.println("\n--------------------TESTING--------------------... |
/*
* Copyright 2016-2018 shardingsphere.io.
* <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 l... |
package com.sap.mango.jiraintegration.solman.entities.fileinfo;
import com.sap.mango.jiraintegration.solman.entities.solmanparams.SolmanParamsAO;
import net.java.ao.Entity;
import net.java.ao.Preload;
import net.java.ao.schema.StringLength;
import java.util.Date;
/**
* Entity, that stores all information, needed to... |
package me.ionar.salhack.gui.hud.components;
import com.mojang.realmsclient.gui.ChatFormatting;
import me.ionar.salhack.gui.hud.HudComponentItem;
import me.ionar.salhack.managers.ModuleManager;
import me.ionar.salhack.managers.TickRateManager;
import me.ionar.salhack.module.ui.HudModule;
import me.ionar.salhack.util.c... |
package com.example.order;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class OrderApplicationTests {
@Test
void contextLoads() {
}
} |
package ch.hslu.oop.sw09;
/**
* Write a description of class Plumbum here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Plumbum extends Element {
// instance variables - replace the example below with your own
private final double siedepunktKelvin;
private final dou... |
package com.vitaviva.multipletheme.util;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.support.annotation.ColorInt;
import android.support.design.widget.CollapsingToolbarLayout;
import android.supp... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*******************************************************************************
* Copyright (c) 2013-2018 Contributors to the Eclipse Foundation
*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
* All rights reserved. This program and the accompan... |
package org.apache.poi.sl.draw.binding;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
@XmlType(
name = "ST_TextShapeType",
namespace = "http://schemas.openxmlformats.org/drawingml/2006/main"
)
@XmlEnum
public enum STTextShapeTy... |
package event;
public class StockUpEquipment extends GameEvent {
public int x;
public int y;
public StockUpEquipment(int x, int y) {
this.x = x;
this.y = y;
}
} |
package com.agile.spirit.beans;
import org.hippoecm.hst.content.beans.Node;
import org.hippoecm.hst.content.beans.standard.HippoGalleryImageSetBean;
import org.hippoecm.hst.content.beans.standard.HippoHtml;
@Node(jcrType = "happyhippos:moviedocument")
public class MovieDocument extends BaseDocument {
public String... |
package net.petafuel.styx.api.filter.authentication.control;
import net.petafuel.styx.api.exception.StyxException;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
class AccessTokenFilterUnitTest {
@Test
void testCheckToken() {
AccessTokenFilter accessTokenFilter = new Acce... |
/*
* Copyright (c) 2011-2014, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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... |
package ca.jotto.model;
import ca.jotto.model.listeners.JottoEventMap;
/**
* Represents the structure of a jotto game.
*/
public final class Jotto {
/**
* The default maximum number of guesses for a {@link JMatch}.
*/
static public final int MAXIMUM_GUESS = 10;
private final JDictionary _dic... |
package org.hswebframework.web.workflow.web.response;
import lombok.Data;
import org.activiti.engine.runtime.ProcessInstance;
import org.hswebframework.web.commons.bean.Bean;
/**
* @author zhouhao
* @since 3.0.0-RC
*/
@Data
public class ProcessInfo implements Bean {
private static final long serialVersionUID ... |
package seedu.address.logic.commands.contactcommands;
import static java.util.Objects.requireNonNull;
import static seedu.address.logic.parser.CliSyntax.PREFIX_EMAIL;
import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME;
import static seedu.address.logic.parser.CliSyntax.PREFIX_PHONE;
import static seedu.add... |
package com.github.dan4ik95dv.famousartists.di.scope.fragment;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import javax.inject.Scope;
/**
* Created by Daniil Celikin on 21.04.2016.
* https://github.com/dan4ik95dv/famousartists
*/
@Scope
@Retention(RetentionPolicy.RUNTIME)
p... |
package com.revature.recurringWord;
import junit.framework.TestCase;
import org.junit.Assert;
import org.junit.Test;
public class SolutionTest extends TestCase {
Solution sut = new Solution();
@Test
public void testRecurringWord1() {
String str = "5003196532" + "8932857241" + "1886684186" + "2095... |
package practice.springsecurity.domain.entity;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import javax.persistence.Column;
import javax.persis... |
package rocks.nolanperry.matches.fragments;
import android.animation.AnimatorSet;
import android.animation.AnimatorSet.Builder;
import android.animation.ObjectAnimator;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.Gravity;
import android.view.L... |
package com.ruanyun.chezhiyi.commonlib.hxchat.ui;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import com.hyphenate.easeui.widget.EaseSidebar;
import com.ruanyun.chezhiyi.commonlib.... |
/*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* Copyright (c) 2010-2012 Sonatype, Inc. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/lic... |
package kwasilewski.marketplace.helper;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
impo... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.zookeeper;
import com.yahoo.vespa.curator.mock.MockCurator;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.ass... |
package com.antsoft.ant.uidesigner;
import java.awt.*;
import java.awt.event.*;
import java.beans.*;
import javax.swing.*;
public class PropertyText extends JTextField implements ActionListener,FocusListener{
private PropertyEditor editor;
private String type;
public PropertyText(PropertyEditor newEditor,Stri... |
package com.company.project.service;
import com.company.project.entity.EyeEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import java.util.Map;
/**
* <p>
* 眼科信息表 服务类
* </p>
*
* @author wyf
* @since 2021-06-06
*/
public interface IEyeService extends IService<EyeEntity... |
package com.cellninja.notif2watch;
import android.Manifest;
import android.app.Activity;
import android.app.Application;
import android.app.NotificationManager;
import android.content.ActivityNotFoundException;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
imp... |
package com.loserico.nio;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.channels.ServerSocketChannel;
import java.nio.channels.SocketChannel;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* A Java NIO ServerSocketChannel is a channel that can li... |
package com.competition.web.controller.monitor;
import com.competition.common.core.domain.AjaxResult;
import com.competition.common.utils.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisCallback;
import org.springframework.data.redis.core.Redi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.