text stringlengths 7 995k |
|---|
package cn.marwin.entity;
public class Comment {
// 元数据
private String text;
private String time;
private Integer like;
// 加工信息
private Double score;
public Comment() {}
public Comment(String text, String time, Integer like) {
this.text = text;
this.time = time;
... |
/*
* Copyright (c) 2015, salesforce.com, inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of cond... |
/*
* Copyright 2018 Alfresco, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* 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.aharpour.adventofcode;
import org.junit.Assert;
import org.junit.Test;
public class Day23Question2Test {
@Test
public void givenCase() {
Day23Question2 question = new Day23Question2("pos=<10,12,12>, r=2\n" +
"pos=<12,14,12>, r=2\n" +
"pos=<16,12,12>, r=4\n"... |
package delight.nashornsandbox.internal;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.ref.SoftReference;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Lin... |
/*
* Copyright 2015–2018 Kullo GmbH
*
* This source code is licensed under the 3-clause BSD license. See LICENSE.txt
* in the root directory of this source tree for details.
*/
package net.kullo.android.kulloapi;
import net.kullo.javautils.RuntimeAssertion;
import net.kullo.libkullo.api.Address;
import net.kullo.... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/file_system_master.proto
package alluxio.grpc;
/**
* Protobuf type {@code alluxio.grpc.file.ScheduleAsyncPersistencePOptions}
*/
public final class ScheduleAsyncPersistencePOptions extends
com.google.protobuf.GeneratedMessageV3 impleme... |
package logbook.api;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* {@code APIListenerSpi}が受け入れるAPIのURIを表す注釈です。<br>
* 例えば次の記述は開発と建造時のみに受け入れることを表します。<br>
* <pre><code>
* @API({"/kcsapi/api_req_ko... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.12.... |
/*
* Copyright 2020 IEXEC BLOCKCHAIN TECH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
package test.unit.net.alepuzio.cobol2Java;
import java.util.Properties;
public class PropertiesUtil {
private static final String CONSTANT_PATH = "path";
private static final String CONSTANT_PROGRAM = "programName";
private static final String CONSTANT_FUNCTION = "functionName";
private static Properties prop =... |
package com.guilhermesgb.robospiceretrofit.presenter.network;
import com.google.gson.JsonObject;
import retrofit.http.GET;
import retrofit.http.Path;
public interface WordPressCMSRetrofitInterface {
@GET("/guide_items/page/{page}/?json=1")
JsonObject retrieveGuideItems(@Path("page") Integer page);
} |
// Copyright 2015 The Bazel Authors. 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 appl... |
/*
* Copyright (C) 2018 Red Hat, 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 ... |
package com.android.home.syncadapter;
import android.accounts.AbstractAccountAuthenticator;
import android.accounts.Account;
import android.accounts.AccountAuthenticatorResponse;
import android.accounts.NetworkErrorException;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
im... |
package com.hardik.javase;
/**
* Class A
* @author HARDIK HIRAPARA
*
*/
public class A {
int i, j;
public A(int i, int j) {
this.i = i;
this.j = j;
}
public void showIJ() {
System.out.println(i + " : " + j);
}
} |
/*
* Copyright 2017-2020 Crown Copyright
*
* 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 a... |
package com.alipay.api.domain;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 商户通过该接口进行交易的创建下单
*
* @author auto create
* @since 1.0, 2021-06-04 15:53:14
*/
public class AlipayTradeCreateModel ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache license, Version 2.0
* (the "License"); you may n... |
package jpaoletti.jpm2.core.idtransformer;
/**
*
* @author jpaoletti
*/
public class StrToInt implements IdTransformer<Integer> {
@Override
public Integer transform(String input) {
return Integer.parseInt(input);
}
} |
package com.mykid.platform.web.controller.system;
import com.mykid.platform.common.authentication.ShiroHelper;
import com.mykid.platform.common.controller.BaseController;
import com.mykid.platform.common.entity.PlatformConstant;
import com.mykid.platform.common.utils.DateUtil;
import com.mykid.platform.common.utils.Pl... |
package com.example.harmonyeasteregg.slice;
import com.example.harmonyeasteregg.ResourceTable;
import com.example.harmonyeasteregg.hook.MyUtils;
import ohos.aafwk.ability.AbilitySlice;
import ohos.aafwk.content.Intent;
import ohos.agp.components.Component;
import ohos.agp.components.Text;
public class MainAbilitySlic... |
package io.quarkus.smallrye.jwt.deployment;
import java.util.HashSet;
import java.util.Optional;
import java.util.Set;
import org.eclipse.microprofile.config.Config;
import org.eclipse.microprofile.config.ConfigProvider;
import org.eclipse.microprofile.jwt.Claim;
import org.eclipse.microprofile.jwt.Claims;
import org... |
package com.sun.corba.se.spi.activation;
/**
* com/sun/corba/se/spi/activation/ORBidHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u171/10807/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl
* Wednesday,... |
package com.fasterxml.jackson.databind.jsontype;
import java.util.concurrent.atomic.AtomicReference;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.ObjectMapper.DefaultTyping;
i... |
/*
* Copyright (C) 2011-2015 Markus Junginger, greenrobot (http://greenrobot.de)
*
* This file is part of greenDAO Generator.
*
* greenDAO Generator is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, eith... |
/*
* 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 mx.com.totalplay.nota.sd;
import javax.xml.rpc.holders.StringHolder;
import org.apache.log4j.Logger;
import com.ca.www.UnicenterServicePlus.ServiceDesk.USD_WebServiceSoap;
import com.ca.www.UnicenterServicePlus.ServiceDesk.USD_WebServiceSoapProxy;
import mx.com.totalplay.nota.utils.JSONResult;
public class... |
/* Copyright 2017 Zutubi Pty Ltd
*
* 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... |
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
package com.twilio.rest.taskrouter.v1.workspace.worker;
import com.twilio.base.Fetcher;
import com.twilio.converter.DateConverter;
import com.twilio.exception.ApiConnectionException;
import com.twilio.e... |
/*-
* ========================LICENSE_START=================================
* io.openslice.tmf.api
* %%
* Copyright (C) 2019 openslice.io
* %%
* 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 Lice... |
package aocp.alg.sort;
/**
*
* @author lulu
*
*/
public class BubbleSort {
public static void sort(int [] a){
int len = a.length;
int ub = len-1;
//int j=0;
while(true){
int t = 0;
for(int j=0; j<=ub-1; j++){
if(a[j]>=a[j+1]){
int ti = a[j];
a[j] = a[j+1];
a[j+1] = ti... |
/**
* Copyright (c) 2013-2015, jcabi.com
* 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) Redistributions of source code must retain the above
* copyright notice, this list of condition... |
/**
* DestinationType.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.adwords.axis.v201402.video;
public class DestinationType implements java.io.Serializable {
private java.lang.String _value_;
private ... |
package com.shnupbups.simpleteleporters;
import net.minecraft.util.Identifier;
import net.fabricmc.api.ModInitializer;
import com.shnupbups.simpleteleporters.init.SimpleTeleportersBlockEntities;
import com.shnupbups.simpleteleporters.init.SimpleTeleportersBlocks;
import com.shnupbups.simpleteleporters.init.SimpleTel... |
package com.trade.bot.controller;
import com.trade.bot.model.Bot;
import com.trade.bot.repository.BotRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
@Controller // This means that this class ... |
/**
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
package ch.rasc.eds.starter.config.security;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.securi... |
package org.jgroups.protocols;
import org.jgroups.Address;
import org.jgroups.Event;
import org.jgroups.Global;
import org.jgroups.Header;
import org.jgroups.Message;
import org.jgroups.annotations.Property;
import org.jgroups.stack.IpAddress;
import org.jgroups.stack.Protocol;
import urv.bwcalc.BwData;
import urv.co... |
/*
* 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 controllers.rbac;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.module.SimpleModule;
import com.google.inject.Inject;
import controllers.login.Secured;
import controllers.rbac.annotation.CheckPermission;
import models.rbac.Category;
import models.rbac.Operation;
impo... |
/*
* Copyright (C) 2014 The CyanogenMod Project
* Copyright (C) 2021 The LineageOS Project
* Copyright (C) 2021 SHIFT 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
*
* ht... |
package io.uouo.wechatbot.common;
import io.uouo.wechatbot.client.WechatBotClient;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import java.net.URISyntaxException;
/**
* @author: [青衫] 'QSSS... |
package org.pimslims.servlet.protocol;
import java.io.IOException;
import java.io.InputStream;
import java.util.Collection;
import java.util.Iterator;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.xml.bind.JAXBException... |
/*
* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
package org.antlr.v4.test.runtime.java;
import org.antlr.v4.test.runtime.BaseRuntimeTest;
import org.antlr.v4.test.run... |
package jpaoletti.jpm2.core.test;
import java.io.Serializable;
import java.util.Objects;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.... |
package com.github.ksgfk.dawnfoundation.api.utility;
/**
* @author KSGFK create in 2019/11/10
*/
@FunctionalInterface
public interface BoolFunction1<T> {
boolean invoke(T t);
} |
package com.resende.pontointeligente.api.security.controllers;
import java.util.Optional;
import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.htt... |
/*
* Copyright 2015 Midokura SARL
*
* 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... |
package net.wpm.record.collection;
import java.util.Iterator;
import net.wpm.record.RecordView;
/**
* A iterator reusing a single record view to access all records.
*
* @author Nico Hezel
*/
public final class RecordIterator<B> implements Iterator<B> {
// both records are identical, safes casting
protected f... |
package com.cengalabs.flatui.sample;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.View;
import com.cengalabs.flatui.FlatUI;
import com.cengalabs.flatui.views.FlatButton;
import com.cengalabs.flatui.views.FlatCheckBox;
import com.cengalabs.flatui.views.FlatEditText;
im... |
/*
* Copyright (c) 2017 The LineageOS 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 la... |
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.qinweizhao.component.log.annotation;
import com.qinweizhao.component.log.enums.BusinessType;
import com.qinweizhao.component.log.enums.OperatorType;
import java.lang.annotation.*;
/**
* 自定义操作日志记录注解
*
* @author qinweizhao
*/
@Target({ElementType.PARAMETER, ElementType.METHOD})
@Retention(RetentionPol... |
/**
* Package containing all classes relating to mathematical constructs.
*/
package library.math; |
package ch.citux.datetimepicker;
import android.app.Activity;
import android.app.DatePickerDialog;
import android.app.TimePickerDialog;
import android.os.Bundle;
import android.view.View;
import android.widget.DatePicker;
import android.widget.TextView;
import android.widget.TimePicker;
import java.text.DateFormat;
i... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright 2017 Redsaz <redsaz@gmail.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 applicable l... |
package org.judal.storage.query;
/**
* © Copyright 2016 the original author.
* This file is licensed under the Apache License version 2.0.
* 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 b... |
/**
* 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... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* 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, cop... |
package mastermind;
public abstract class Combination {
protected String code;
@Override
public String toString() {
return this.code;
}
} |
// Submitted 09-01-2012
import java.util.*;
public class CellularPhoneTarif {
public int calculatePrice(int seconds) {
int tax = 5;
int minToPay = (seconds / 60 + 1);
//Even simulating the call, the total cost will be O(N), so, it's ok/
for(int i = 1; i <= minToPay; i++) {
... |
package test.aftergroups.samples;
import org.testng.annotations.AfterGroups;
import org.testng.annotations.Test;
public class AfterGroupsSample {
@Test(groups = "group-1")
public void someTest() {}
@AfterGroups(groups = "group-1")
public void afterGroupMethod() {}
} |
package org.kyojo.schemaorg.m3n5.gson.core.container;
import java.lang.reflect.Field;
import java.lang.reflect.Type;
import java.util.HashMap;
import java.util.Map;
import org.kyojo.gson.JsonDeserializationContext;
import org.kyojo.gson.JsonDeserializer;
import org.kyojo.gson.JsonElement;
import org.kyojo.gson.JsonPa... |
package model;
// TODO: Auto-generated Javadoc
/**
* The Class JavaBeans.
*/
public class JavaBeans {
/** The id contato. */
private String idContato;
/** The nome contato. */
private String nomeContato;
/** The fone contato. */
private String foneContato;
/** The email contato. */
private String ema... |
// Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.ir.code;
import com.android.tools.r8.cf.LoadStoreHelper;
import com.android.... |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.wso2.developerstudio.eclipse.gmf.esb.provider;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EStructuralFeature;
im... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Enterprise Data Management Council
*
* 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... |
import java.util.*;
import java.io.*;
public class ex1 {
public static void main (String[] argv)
{
String[] words = getDictionary ("words");
// Now words[i] has the i-th word in the dictionary.
// Hint: you can call the hashCode() method in String to
// get the hashvalue of a... |
/*******************************************************************************
* Copyright © 2019 by California Community Colleges Chancellor's Office
*
* 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
* o... |
/*
* (c) Copyright Christian P. Fries, Germany. Contact: email@christian-fries.de.
*
* Created on 07.09.2013
*/
package net.finmath.time.daycount;
import java.time.LocalDate;
import java.time.Month;
/**
* Calculates the day count using the US 30/360 adjusted method. The daycount is calculated via
* <code>
* ... |
// ============================================================================
//
// Copyright (C) 2006-2018 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
/*
* Copyright 2018 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... |
package org.jpwh.model.complexschemas.compositekey.mapsid;
import javax.persistence.*;
@Entity
@Table(name = "USERS")
public class User {
@EmbeddedId
protected UserId id;
@ManyToOne
@MapsId("departmentId")
protected Department department;
public User(UserId id) {
this.id = id;
}... |
package com.supos.cloud.provider.mapper;
import com.supos.cloud.core.mybatis.MyMapper;
import com.supos.cloud.provider.model.domain.MdcProductCategory;
import com.supos.cloud.provider.model.dto.ProductCategoryDto;
import com.supos.cloud.provider.model.vo.MdcCategoryVo;
import org.apache.ibatis.annotations.Mapper;
impo... |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2019 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... |
/*
*Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*WSO2 Inc. licenses this file to you under the Apache License,
*Version 2.0 (the "License"); you may not use this file except
*in compliance with the License.
*You may obtain a copy of the License at
*
*http://www.apache.org/licenses... |
// Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.ir.optimize;
import com.android.tools.r8.ir.code.BasicBlock;
import com.andro... |
/*
* (c) Copyright 2019 Palantir Technologies Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
/*
* Copyright 2005 JBoss 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 i... |
package mage.cards.e;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.SacrificeSourceCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DestroyTargetEffect;
import ... |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Copyright 2002-2019 Drew Noakes and contributors
*
* 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 req... |
package org.apereo.cas.configuration;
import org.apereo.cas.configuration.model.core.CasJavaClientProperties;
import org.apereo.cas.configuration.model.core.CasServerProperties;
import org.apereo.cas.configuration.model.core.HostProperties;
import org.apereo.cas.configuration.model.core.audit.AuditProperties;
import o... |
package ajava.util.concurrent.adouglea.design;
/*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/publicdomain/zero/1.0/
* Other contributors include Andrew Wright, Jeffrey Hayes,
* Pat Fisher, Mike Ju... |
/*
* Copyright 2000-2014 Vaadin Ltd.
*
* 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 osgi.enroute.iot.circuit.application;
import java.util.Collection;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Reference;
import org.osgi.service.configurator.annotations.RequireConfigurator;
import osgi.enroute.eventadminserversentevents.capabilitie... |
package com.github.jcustenborder.kafka.connect.json;
import com.github.jcustenborder.kafka.connect.utils.BaseDocumentationTest;
public class DocumentationTest extends BaseDocumentationTest {
} |
/*
* Copyright © 2017 camunda services GmbH (info@camunda.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 ... |
package com.github.wxiaoqi.security.modules.auth.entity;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Table(name = "auth_client")
public class Client {
@Id
private Integer id;
private String code;
private String secret;
pr... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
/*
* Aipo is a groupware program developed by Aimluck,Inc.
* Copyright (C) 2004-2011 Aimluck,Inc.
* http://www.aipo.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either ver... |
/**
* 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.jjkit.drawableview;
import android.graphics.Matrix;
import android.graphics.RectF;
public class SVGViewBox {
public static final int MOS_MEET = 0;
public static final int MOS_SLICE = 1;
public static final int MOS_NONE = 2;
public static void transform(RectF vbRect,RectF eRect, String al... |
package com.guinong.fresh.ui.module.center.fragment;
import android.support.v4.app.Fragment;
import com.guinong.lib_base.base.BaseFragment;
import com.guinong.fresh.R;
/**
* A simple {@link Fragment} subclass.
*/
public class CenterFragment extends BaseFragment {
@Override
protected int getLayoutId() {
... |
/*
* 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 be.kdg.simulator.commands;
/**
* Represents a command that is executed in the simulations.
* Most of the commands are required to create and parse the parameters needed for execution first.
*/
public interface Command {
SimulatorCommandContext createContext(SimulatorCommandContext ctx, String[] values);... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.