text stringlengths 7 1.01M |
|---|
/*******************************************************************************
* Copyright 2011, 2012 Chris Banes.
*
* 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.apac... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.google.api.ads.adwords.jaxws.v201605.cm;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
*
* Errors caused by invalid usage of FeedMappingService... |
package io.eventuate.local.java.kafka.consumer;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.OffsetAndMetadata;
import org.apache.kafka.common.TopicPartition;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Map;
import java.util.concurrent... |
package habr.demo.app;
import org.testcontainers.containers.GenericContainer;
public interface IntegrationTestLocalDependency {
String name();
GenericContainer containerDefinition();
void initializeSystemProperties(GenericContainer it);
}
|
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.blog.login_check2.controller;
import com.blog.login_check2.dao.articlesMapper;
import com.blog.login_check2.dao.commentsMapper;
import com.blog.login_check2.dao.usersMapper;
import com.blog.utils.GetSqlSession;
import com.blog.utils.ObjToMap;
import com.blog.utils.ReadFile;
import org.apache.ibatis.session... |
package net.kothar.compactlist.internal.storage;
public class IntArrayStore extends CompactStore<int[]> {
private static final long serialVersionUID = 775028421757439454L;
public IntArrayStore() {
this(0);
}
public IntArrayStore(long valueOffset) {
super(valueOffset);
}
public IntArrayStore(long valueOff... |
package crazypants.enderio.machines.machine.ihopper;
import java.util.Random;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import com.enderio.core.api.client.gui.IResourceTooltipProvider;
import crazypants.enderio.api.IModObject;
import crazypants.enderio.base.config.config.PersonalConfig;
imp... |
/**
* Copyright (c) 2013-2019 Contributors to the Eclipse Foundation
*
* <p> See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Versio... |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition... |
package leetcode.dp.palindromepartitioningii;
public class TestPPII {
public static void main(String[] args){
}
}
|
/*
* 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.duck.feature.gui.impl;
import com.duck.LuciderParkour;
import com.duck.feature.gui.GUIManager;
import com.duck.feature.gui.NonPagedMenu;
import com.duck.parkour.ParkourCategory;
import com.duck.parkour.ParkourManager;
import com.duck.user.User;
import com.duck.utils.ChatUtils;
import dev.triumphteam.gui.bu... |
/*
* Copyright 2020 RtBrick 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 ... |
/*
*
* * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.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:/... |
/*
* MIT License
*
* Copyright 2021 Myndigheten för digital förvaltning (DIGG)
*/
package se.digg.dgc.service.impl;
import java.io.IOException;
import java.security.SignatureException;
import java.security.cert.CertificateExpiredException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import se.digg.d... |
package de.schauderhaft.degraph.examples;
public class DependsOnArray {
String[] strings = null;
}
|
package org.hisp.dhis.indicator;
/*
* Copyright (c) 2004-2017, 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 ab... |
/*
* 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... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
// 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.dimple.common.exception.user;
/**
* @className: UserPasswordNotMatchException
* @description: user not exist or password are not match
* @author: Dimple
* @date: 10/22/19
*/
public class UserPasswordNotMatchException extends UserException {
public UserPasswordNotMatchException() {
super("... |
/*
* Licensed to Elastic Search and Shay Banon under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Elastic Search licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you m... |
package net.coldice.lycanthropy.registry.items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemGroup;
public class Silver extends Item {
public Silver() {
super(new Settings().maxCount(64).group(ItemGroup.MATERIALS));
}
}
|
package vn.zalopay.jmeter.grpc.client;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import io.grpc.CallOptions;
import io.grpc.Channel;
import io.grpc.ClientCall;
import io.grpc.ClientInterceptor;
import io.grpc.ForwardingClientCall;
import io.grpc.ForwardingClientCallListener;
import io.grpc.Metadata;... |
/*
* Copyright (c) 2017 the original author or authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
package cz.pojd.rpi.spring;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.p... |
/**************************************************************************
Copyright 2019 Vietnamese-German-University
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/lic... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
/*
* ===============================LICENSE_START======================================
* dcae-analytics
* ================================================================================
* Copyright © 2017 AT&T Intellectual Property. All rights reserved.
* =====================================================... |
/*
* Copyright (c) 2011-2020, baomidou (jobob@qq.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
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required... |
package math;
import org.junit.Test;
/**
* 实现 int sqrt(int x) 函数。
*
* 计算并返回 x 的平方根,其中 x 是非负整数。
*
* 由于返回类型是整数,结果只保留整数的部分,小数部分将被舍去。
*
* 示例 1:
*
* 输入: 4
* 输出: 2
* 示例 2:
*
* 输入: 8
* 输出: 2
* 说明: 8 的平方根是 2.82842...,
* 由于返回类型是整数,小数部分将被舍去。
*/
public class Solution69 {
//使用二分查找的方法
public int mySq... |
/*
* Copyright 2020 RtBrick 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 ... |
//
// ========================================================================
// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under
// the terms of the Eclipse Public License 2.0 which is available at
// https://www.eclipse.org/leg... |
package com.elepy.tests;
import com.elepy.annotations.Model;
import com.elepy.annotations.TextArea;
import com.elepy.annotations.View;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Model(name = "Settings", path = "/settings")
@Entity(name = "settings")
@Table(name = "... |
package demo.smart.access.xutlis.views.SlidingLayout.transform;
import android.view.View;
/**
* Created by yarolegovich on 25.03.2017.
*/
public interface RootTransformation {
void transform(float dragProgress, View rootView);
}
|
// --------------------------------------------------------------------------------
// Copyright 2002-2021 Echo Three, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:/... |
package org.jiakesiws.minipika.components.config;
/* ************************************************************************
*
* Copyright (C) 2020 2B键盘 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.
* Y... |
package net.kunmc.lab.followeractionpoint.command.lib.Argument;
import java.util.ArrayList;
import java.util.List;
public class ArgumentsList {
private List<Arguments> list = new ArrayList<>();
public void add(Arguments arguments) {
list.add(arguments);
}
public Arguments getMatchArguments(S... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package io.costax.hibernatetunings.entities.blog;
import javax.persistence.*;
@Entity
@Table(name = "topic_statistics")
public class TopicStatistic {
@Id
private Long id;
@OneToOne(fetch = FetchType.LAZY)
@MapsId
@JoinColumn(name = "topic_id", nullable = false, updatable = false)
private Top... |
package com.bootdo.common.utils;
import com.bootdo.system.domain.UserDO;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;
public class ShiroUtils {
public static Subject getSubjct() {
return SecurityUtils.getSubject();
}
public static UserDO getUser() {... |
package edu.fiuba.algo3.modelo.Parser;
import edu.fiuba.algo3.modelo.JuegoYJugador.Jugador;
import edu.fiuba.algo3.modelo.Objetivos.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Set;
public class ConstructorObjetivos {
HashMap<String, ArrayList<Objetivo>> objetivos;
HashMap<Intege... |
package com.example.imeeting.modules.story.presenter;
import android.util.Log;
import com.example.imeeting.base.presenter.BasePresenter;
import com.example.imeeting.modules.story.contract.SearchStoryActivityContract;
import com.example.imeeting.modules.story.model.StoryResponse;
import java.util.ArrayList;
import ja... |
/**
* Copyright 2020 bejson.com
*/
package com.binggr.glmall.product.vo;
import lombok.Data;
/**
* Auto-generated: 2020-10-13 14:33:26
*
* @author bejson.com (i@bejson.com)
* @website http://www.bejson.com/java2pojo/
*/
@Data
public class Images {
private String imgUrl;
private int defaultImg;
} |
package software.amazon.ssm.maintenancewindowtask;
import software.amazon.cloudformation.proxy.AmazonWebServicesClientProxy;
import software.amazon.cloudformation.proxy.Logger;
import software.amazon.cloudformation.proxy.OperationStatus;
import software.amazon.cloudformation.proxy.ProgressEvent;
import software.amazon... |
/*
* 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 io.deephaven.engine.table.impl.tuplesource.generated;
import io.deephaven.chunk.Chunk;
import io.deephaven.chunk.DoubleChunk;
import io.deephaven.chunk.FloatChunk;
import io.deephaven.chunk.ShortChunk;
import io.deephaven.chunk.WritableChunk;
import io.deephaven.chunk.WritableObjectChunk;
import io.deephaven.c... |
package tracing.backend.scheduler.causal;
import tracing.backend.Target;
import tracing.backend.TraceQueue;
import tracing.backend.scheduler.EvictionService;
import tracing.backend.scheduler.QueueSpliterator;
import tracing.backend.scheduler.Scheduler;
import tracing.backend.trace.EventType;
import tracing.backend.tra... |
/*
* Copyright © 2014 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
/*
* 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.xj.util;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import org.apache.commons.beanutils.BeanUtils;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;
/**
* 分页工具
*/
public class PageData<T> implements Serializable {
private static final lo... |
package uk.gov.hmcts.reform.finrem.caseorchestration.model.noc;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Builder;
import lombok.Data;
import uk.gov.hmcts.reform.bsp.common.model.document.Addressee;
import java.util.Map;
@Data
@Builder(toBuilder = true)
@JsonIgnoreProperties(ignoreU... |
package io.antmedia.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import static org.mockito.Mockito.m... |
package com.sphenon.basics.monitoring;
/****************************************************************************
Copyright 2001-2018 Sphenon 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 Li... |
/* @@author wayneswq */
package seedu.address.model.person;
import static com.google.common.base.Ascii.toUpperCase;
import static java.util.Objects.requireNonNull;
import static seedu.address.commons.util.AppUtil.checkArgument;
/**
* Represents a Person's gender in the docX.
* Guarantees: immutable; is valid as dec... |
package com.cmkj.mall.model.ums;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
public class UmsMemberLevel implements Serializable {
private Long id;
private String name;
private Integer growthPoint;
@ApiModelProperty(value = "是否为默认等级:0->不... |
/*
* Copyright 2004 Clinton Begin
*
* 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 ag... |
package caracteristica1.classes.pessoa;
import caracteristica1.classes.usuario.SuperUsuario;
public class Usuario extends SuperUsuario {
public Usuario(final String login, final String senha) {
super(login, senha);
}
}
|
/*===========================================================================
Copyright (C) 2008-2009 by the Okapi Framework contributors
-----------------------------------------------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except i... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... |
package ucar.unidata.util.test.category;
/**
* A marker to be used with JUnit categories to indicate that a test method or test class takes a long time to run.
* We'll want to avoid running such tests after every commit; instead just run them once-a-night or so.
*
* To enable these tests, set the runSlowTests syst... |
package com.penguins.cloud.stream.thread.share;
/**
* @author 郑冰
* @date 2021/8/30 17:10
* @email mydreambing@126.com
* @since jdk8
**/
public class EvenGenerator extends IntGenerator {
private int curretEvenValue = 0;
@Override
public int next() {
++curretEvenValue;
Thread.yield();... |
/*
* 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) 2019, Adam <Adam@sigterm.info>
* Copyright (c) 2017, Robbie <https://github.com/rbbi>
* Copyright (c) 2018, SomeoneWithAnInternetConnection
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following co... |
/*L
* Copyright Northwestern University.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.io/psc/LICENSE.txt for details.
*/
package edu.northwestern.bioinformatics.studycalendar.web.subject;
import edu.northwestern.bioinformatics.studycalendar.core.Fixtures;
import edu.north... |
package jadx.samples;
import java.util.ArrayList;
import java.util.EnumSet;
import java.util.List;
import java.util.Set;
public class TestEnum extends AbstractTest {
public enum Direction {
NORTH, SOUTH, EAST, WEST
}
public static final String DOG = "DOG";
public enum Animal {
CAT, DOG
}
private static ... |
package moze_intel.projecte.common.loot;
import java.util.HashSet;
import java.util.Set;
import javax.annotation.Nonnull;
import moze_intel.projecte.gameObjs.registries.PEBlocks;
import net.minecraft.advancements.critereon.StatePropertiesPredicate;
import net.minecraft.data.loot.BlockLoot;
import net.minecraft.world.l... |
import java.util.Arrays;
import java.util.List;
import java.util.ArrayList;
import ui.AbstractUI;
public class SimpleMachine {
/**
* Generic entry-point for executing the simple machine.
* @param args command-line arguments, using the following syntax:
* "-i [cli|gui] -a [sm213|y86seq|y86pip... |
package jetbrains.mps.lang.editor.diagram.constraints;
/*Generated by MPS */
import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor;
import jetbrains.mps.smodel.runtime.ConstraintFunction;
import jetbrains.mps.smodel.runtime.ConstraintContext_CanBeChild;
import org.jetbrains.annotations.NotNull;
import or... |
package com.florian.rifts.blocks;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.minecraft.block.Block;
import net.minecraft.block.Material;
public class BurnedSeaLantern extends Block {
public BurnedSeaLantern() {
super(FabricBlockSettings.of(Material.AGGREGATE)
... |
package edu.ucla.library.bucketeer.converters;
/**
* A type of conversion. First pass will be simple, but future expansion could include LOSSY_80PERCENT,
* LOSSY_90PERCENT, etc.
*/
public enum Conversion {
LOSSY, LOSSLESS;
}
|
/*
* Copyright (c) 2017, Andreas Fagschlunger. 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 lis... |
package kensydanielle.dependencyinjection.model;
import kensydanielle.dependencyinjection.interfaces.IAnimal;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
/**
* @author daniok
* @since 16/04/202... |
package com.example.opengles.adapter;
import android.support.annotation.Nullable;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.opengles.R;
import com.example.opengles.mod... |
/*
* Original author: Daniel Jaschob <djaschob .at. uw.edu>
*
* Copyright 2018 University of Washington - Seattle, WA
*
* 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
*
* ... |
package controlers;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Date;
import java.sql.SQLException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.h... |
package org.jboss.resteasy.reactive.server.vertx.test.framework;
import static org.junit.jupiter.api.Assertions.assertTrue;
import io.vertx.core.Vertx;
import io.vertx.core.http.HttpServer;
import io.vertx.ext.web.Route;
import io.vertx.ext.web.Router;
import java.io.Closeable;
import java.io.IOException;
import java... |
package cn.com.spdb.uds.db.bean;
import cn.com.spdb.uds.utils.Symbol;
public class UdsSystemBean {
// 平台
private String platform;
// 系统
private String system;
// private short data_keep_day = 0;
// private short log_keep_day = 0;
// private short record_keep_day = 0;
private int max_run_job = 0;... |
/*
* <summary></summary>
* <author>He Han</author>
* <email>hankcs.cn@gmail.com</email>
* <create-date>2014/11/2 12:41</create-date>
*
* <copyright file="PinyinDictionary.java" company="上海林原信息科技有限公司">
* Copyright (c) 2003-2014, 上海林原信息科技有限公司. All Right Reserved, http://www.linrunsoft.com/
* This source is subjec... |
/*
* Licensed to Elastic Search and Shay Banon under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Elastic Search licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you m... |
/**
* Copyright (c) Dell Inc., or its subsidiaries. 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
*/
package ... |
package com.patreon.resources.shared;
public interface Field {
String getPropertyName();
boolean isDefault();
}
|
package org.mage.test.cards.single.znr;
import mage.abilities.common.BeginningOfCombatTriggeredAbility;
import mage.abilities.effects.common.GainLifeEffect;
import mage.constants.PhaseStep;
import mage.constants.TargetController;
import mage.constants.Zone;
import org.junit.Test;
import org.mage.test.serverside.base.C... |
package com.ulisesbocchio.jasyptspringboot.encryptor;
import com.ulisesbocchio.jasyptspringboot.util.Singleton;
import lombok.extern.slf4j.Slf4j;
import org.jasypt.encryption.StringEncryptor;
import org.jasypt.encryption.pbe.PooledPBEStringEncryptor;
import org.jasypt.encryption.pbe.config.SimpleStringPBEConfig;
impor... |
// Copyright © 2008-2010 Esko Luontola <www.orfjackal.net>
// This software is released under the Apache License 2.0.
// The license text is at http://dimdwarf.sourceforge.net/LICENSE
package net.orfjackal.dimdwarf.tasks;
import net.orfjackal.dimdwarf.context.*;
import javax.annotation.concurrent.*;
import javax.inj... |
package com.asher.snapmailer;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import andr... |
package com.codecool.dungeoncrawl.logic.items;
import com.codecool.dungeoncrawl.logic.Cell;
import com.codecool.dungeoncrawl.logic.Drawable;
public abstract class Item implements Drawable {
private Cell cell;
public Item(Cell cell) {
this.cell = cell;
this.cell.setItem(this);
}
publi... |
package com.github.zulhilmizainuddin.httprequest;
import java.util.HashMap;
import java.util.Map;
final class StreamConverterFactory {
private static final Map<String, Class<? extends StreamConverter>> encodingTypeMap = new HashMap<>();
static {
encodingTypeMap.put("", StringStreamConverter.class);
... |
package com.ruihai.xingka.api.model;
import java.io.Serializable;
import java.util.ArrayList;
/**
* 发布旅拼封装类
* Created by gebixiaozhang on 16/5/21.
*/
public class TravelTogetherInfo implements Serializable{
public String title;//标题
public String beginTime;//行程开始时间
public String endTime;//行程结束时间
pub... |
package module1571_public_tests_unittests.a;
import javax.naming.directory.*;
import javax.net.ssl.*;
import javax.rmi.ssl.*;
/**
* Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
* labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et... |
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.conformance.tests.repository.instances;
import org.odpi.openmetadata.conformance.auditlog.ConformanceSuiteAuditCode;
import org.odpi.openmetadata.conformance.tests.repository.RepositoryConfo... |
package yelpInterview;
public class _BST02Delete {
static class Node{
int value;
Node left,right;
public Node(int value) {
this.value=value;
}
}
public static void main(String a[]){
Node root=insert(null,10);
insert(root,20);
insert(root,30);
insert(root,40);
insert(root,50);
insert(root,5);
... |
/* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.outlook;
import com.wilutions.com.*;
/**
* OlkLabelEvents.
*
*/
@CoInterface(guid="{000672E5-0000-0000-C000-000000000046}")
public interface OlkLabelEvents extends IDispatch {
static boolean __typelib__loaded = __TypeLib.load();
... |
/*
* Copyright (C) 2015 Lyft, 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 com.intellij.tasks.pivotal;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.util.Comparing;
import com.intellij.openapi.util.IconLoader;
import com.intellij.openapi.util.Ref;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.tasks.*;
import com.intellij.tasks.impl... |
package com.sequenceiq.mock.swagger.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Valida... |
/**
* 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... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.