text stringlengths 7 1.01M |
|---|
/*
* Copyright (c) 2014, Cloudera and Intel, Inc. All Rights Reserved.
*
* Cloudera, 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/lic... |
package cn.clownmask.modules.sys.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* 系统页面视图
*
* @author Mark hanchaoqun@hotmail.com
*/
@Controller
public class SysPageControl... |
package com.csec.goat.controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletRequest;
import jav... |
package com.neerajsingh.popularmovies2;
import android.app.Activity;
import android.content.ContentValues;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.support.design.widget.CollapsingToolbarLayout;
import and... |
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright 2018 Meituan Dianping. 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 a... |
/*
* Copyright 2018-present Facebook, 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... |
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.adapters.connectors.governanceactions.remediation;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.odpi.openmetadata.adapters.connectors.governanceactions.ffdc.GovernanceActi... |
package org.broad.igv.sam;
import org.broad.igv.Globals;
import org.broad.igv.feature.Strand;
import org.broad.igv.track.WindowFunction;
import java.awt.*;
import java.util.*;
import java.util.List;
/**
* Class for experimenting with 10X linked reads.
*/
public class LinkedAlignment implements Alignment {
f... |
package cn.edu.ruc.iir.pard.sql.tree;
/**
* pard
*
* @author guodong
*/
public abstract class SelectItem
extends Node
{
protected SelectItem(Location location)
{
super(location);
}
@Override
public <R, C> R accept(AstVisitor<R, C> visitor, C context)
{
return visito... |
package cc3002.pokemon.fire;
import cc3002.pokemon.Abilities.IAbilities;
import cc3002.pokemon.Trainer.Trainer;
import java.util.List;
/**
* Class that represents a fire type phase 1 Pokémon.
*
* @author Diego Sandoval Leiva
*/
public class Phase1FP extends AbstractFirePokemon implements IFirePokemon{
/**
... |
/*
* Copyright 2017-2021 EPAM Systems, Inc. (https://www.epam.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 requ... |
/*
* Copyright 2021 Comcast Cable Communications Management, 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... |
package designpattern.factory;
/**
* 工厂方法模式
* 定义:定义了一个创建对象的接口,但由子类决定要实例化的类是哪一个。工厂方法让类把实例化推迟到子类。
* <p>
* 抽象工厂模式
* 定义:提供一个接口,用于创建相关或依赖对象的家族,而不需要明确指定具体类。
* <p>
* 原则:依赖抽象,不要依赖具体类。
* 作用:可以将对象的创建封装起来,以便于得到更松耦合、更有弹性的设计。
* <p>
* 要点
* 1、所有的工厂都是用来封装对象的创建
* 2、简单工厂,虽然不是真正的设计模式,但仍不失为一个简单的方法,可以将客户程序从具体类解耦
* 3、工厂方法使用继承:... |
package marcel.IncubatorManagerFx.views;
import java.net.URL;
import java.util.Optional;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Alert;
import javafx.scene.control.Button;
import javafx.scene.co... |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.psi;
import com.intellij.lang.Language;
import com.intellij.lang.LanguageUtil;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.fil... |
package io.dwak.kotlindaggerdatabinding;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
... |
/*
* 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.usak.animeflvultimosagregados;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest()... |
package me.ci.Conquest.KingdomManagment.WHScript.EventsAPI;
import me.ci.Conquest.KingdomManagment.WHScript.WraithavenScript;
import me.ci.Conquest.KingdomManagment.WHScript.ActionMg.ActionLineFormat;
import me.ci.Conquest.KingdomManagment.WHScript.WraithavenScript.Action;
import me.ci.Conquest.KingdomManagment.W... |
/*******************************************************************************
* Copyright 2017 Mieras Made
*
* 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/... |
package vanilla.world.gen.structure;
import com.google.common.collect.Lists;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import net.minecraft.block.BlockEndPortalFrame;
import net.minecraft.block.BlockSilverfish;
import net.minecraft.block.BlockStoneBrick;
import net.minecraft.block.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 may ... |
import java.util.List;
class Foo {
{
Object o;
int size = o instanceof List<?> ? ((List<?>) o).size() : <caret>
}
} |
/*
* Copyright (c) Jan 11, 2017 Systematic Testing Ltd. (www.systematictesting.com) to Present..
* All rights reserved.
*/
package com.systematictesting.automation.core.keywords.impl;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.openqa.selenium.By;
import org.openqa.selenium.WebEl... |
import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
int n = Integer.parseInt(br.readLine());
Po... |
package org.wso2.carbon.apimgt.rest.api.store.dto;
import java.util.ArrayList;
import java.util.List;
import org.wso2.carbon.apimgt.rest.api.store.dto.TokenDTO;
import io.swagger.annotations.*;
import com.fasterxml.jackson.annotation.*;
import javax.validation.constraints.NotNull;
@ApiModel(description = "")
pu... |
package jp.hisano.wasm.easybind.experiment;
import java.util.Arrays;
import java.util.Collection;
import com.google.common.io.ByteStreams;
import io.github.kawamuray.wasmtime.Engine;
import io.github.kawamuray.wasmtime.Extern;
import io.github.kawamuray.wasmtime.Func;
import io.github.kawamuray.wasmtime.Instance;
im... |
/**
* The MIT License
* Copyright © 2018 Nordic Institute for Interoperability Solutions (NIIS)
*
* 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 ... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* java mavlink generator tool. It should not be modified by hand.
*/
// MESSAGE REMOTE_LOG_DATA_BLOCK PACKING
package com.MAVLink.ardupilotmega;
import com.MAVLink.MAVLinkPacket;
import com.MAVLink.Messages.MAVLinkMessage;
im... |
/*******************************************************************************
* Copyright (C) 2009-2020 Human Media Interaction, University of Twente, the Netherlands
*
* This file is part of the Articulated Social Agents Platform BML realizer (ASAPRealizer).
*
* ASAPRealizer is free software: you can redistrib... |
package proxy.exceptions;
/**
* Wrapper Exception
*
* @author tjenkins
*/
public class ParseException extends HttpException {
public ParseException(String msg, int status, String reason, String response) {
super(msg, status, reason, response);
}
@Override
public String getMessage() {
... |
/**
* Copyright 2018 小虾66开源 http://www.baidu.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>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by app... |
/*
* Copyright (C) 2012-2020 Zach Melamed
*
* Latest version available online at https://github.com/zach-m/jonix
* Contact me at zach@tectonica.co.il
*
* 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 ... |
package com.brianway.learning.java.multithread.singleton.example3;
/**
* Created by Brian on 2016/4/16.
*/
/**
* p277
* 使用enum枚举数据类型实现单例模式
* 完善
*/
public class Run3_singleton5 {
public static void main(String[] args) {
Thread5 t1 = new Thread5();
Thread5 t2 = new Thread5();
Thread5 t... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
// License: Apache 2.0. See LICENSE file in root directory.
//
package android.irsa;
abstract class IrsaEventInterface
{
public interface IrsaEventCallback
{
public void onEventInfo(IrsaEventType eventType, int what, int arg1, int arg2, Object obj);
}
}
|
package com.asyf.bms.modules.act.service.creator;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
public class SimpleRuntimeActivityDefinitionEntity implements RuntimeActivityDef... |
package model.commands;
import model.turtle.Turtle;
/**
* @author richardtseng
*
*/
public class YCoordinate extends Command{
public double execute(Turtle t) {
return t.getHome().getY() - t.getYCor();
}
@Override
public int getNumParam() {
return 0;
}
}
|
/*
* Copyright (C) 2022 Dremio
*
* 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 cz.zcu.kiv.martinm.internetbankingclient.parser;
import cz.zcu.kiv.martinm.internetbankingclient.domain.User;
/**
* Parse User from JSON
*/
public class UserJSONParser extends JSONParser<User> {
}
|
package com.sun.corba.se.PortableActivationIDL.RepositoryPackage;
/**
* com/sun/corba/se/PortableActivationIDL/RepositoryPackage/ServerDef.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from ../../../../src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Friday, March... |
/*
* Copyright Microsoft Corporation
*
* 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... |
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
/**
* Copyright information and license terms for this software can be
* found in the file LICENSE.TXT included with the distribution.
*/
package org.epics.vtype.json;
import java.util.List;
import javax.json.JsonObject;
import org.epics.util.array.ListNumber;
import org.epics.util.number.UByte;
import org.epics.ut... |
/*
Copyright (C) 2013-2020 Expedia Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... |
package com.jiang.shanwe.dao.mybatisImpl;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;
import org.mybatis.spring.support.SqlSess... |
package io.github.krasnoludkolo.game;
import io.github.krasnoludkolo.game.api.*;
import io.github.krasnoludkolo.infrastructure.ActionError;
import io.github.krasnoludkolo.points.PointConfiguration;
import io.github.krasnoludkolo.points.PointFacade;
import io.github.krasnoludkolo.user.UserCheckers;
import io.github.kra... |
package alemiz.stargateaddons;
import alemiz.stargateaddons.staff.Staff;
import alemiz.stargateaddons.staffchat.StaffChat;
import com.google.common.io.ByteStreams;
import io.github.waterfallmc.waterfall.QueryResult;
import io.github.waterfallmc.waterfall.event.ProxyQueryEvent;
import net.md_5.bungee.api.ChatColor;
imp... |
/*
* Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not us... |
package com.BackPackerXl.blog.vomodel;
/**
* Author by:Backpackersxl
* Date: 2021/5/15/015
* Time: 11:32
**/
public class BlogComment {
private String title;
private String total;
public BlogComment(String title, String total) {
this.title = title;
this.total = total;
}
publi... |
// // Copyright (c) FIRST and other WPILib contributors.
// // Open Source Software; you can modify and/or share it under the terms of
// // the WPILib BSD license file in the root directory of this project.
// package frc.robot.commands;
// import edu.wpi.first.networktables.NetworkTableEntry;
// import edu.wpi.firs... |
package com.google.api.services.sheets.v4.model;
import com.google.api.client.json.GenericJson;
import com.google.api.client.util.Data;
import com.google.api.client.util.GenericData;
import com.google.api.client.util.Key;
import java.util.List;
public final class Spreadsheet extends GenericJson {
@Key
private L... |
package com.delsart.bookdownload.ui.fragment;
import android.os.Handler;
import com.delsart.bookdownload.service.BaseService;
import com.delsart.bookdownload.service.JingJiaoCangShuService;
public class JingJiaoCangShuFragment extends BaseFragment {
@Override
protected BaseService getService(Handler handler... |
/*
* 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 2020 The RoboZonky 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 law or ... |
package org.hl7.fhir.dstu2016may.model.codesystems;
/*
Copyright (c) 2011+, HL7, 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 reta... |
package main;
import java.util.Arrays;
class DynamicProblemSolver {
static int tripleStep(int n) {
if (n < 0) return 0;
if (n == 0) return 1;
return tripleStep(n-1) + tripleStep(n-2) + tripleStep(n-3);
}
static int tripleStepMemo(int n) {
int[] memo = new int[n+1];
... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... |
/*
* Copyright 2004-2015 the Seasar Foundation and the Others.
*
* 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 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
package yhao.micro.web.surety.remote.erp.org;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import yhao.infra.apilist.validate.IdForm;
import yhao.micro.service.surety.erp.org.apilist.form.... |
package org.battlecode.bc18.bots.noobbot;
import bc.MapLocation;
import org.battlecode.bc18.ProductionManager;
import org.battlecode.bc18.api.AFactory;
import org.battlecode.bc18.api.AUnit;
import org.battlecode.bc18.api.MyRobot;
import org.battlecode.bc18.api.MyUnit;
import org.battlecode.bc18.util.Utils;
import bc.... |
package com.lagopusempire.teleconfirmlite.commands;
import com.google.common.collect.ImmutableMap;
import com.lagopusempire.teleconfirmlite.Permissions;
import com.lagopusempire.teleconfirmlite.RequestDetails;
import com.lagopusempire.teleconfirmlite.TeleConfirmLite;
import com.lagopusempire.teleconfirmlite.mess... |
/*
* Copyright 2021-2022 Alibaba Group Holding 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 require... |
/*
* Copyright 2017 OICR
*
* 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... |
// Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... |
package com.hitomi.tilibrary.view.image;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.PointF;
import android.graphics.RectF;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.GestureDetector;
impor... |
package com.magiccube.blockchain;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication
@EnableSched... |
/*
* XML Type: float
* Namespace: http://schemas.xmlsoap.org/soap/encoding/
* Java type: org.xmlsoap.schemas.soap.encoding.Float
*
* Automatically generated - do not modify.
*/
package org.xmlsoap.schemas.soap.encoding;
/**
* An XML float(@http://schemas.xmlsoap.org/soap/encoding/).
*
* This is... |
package org.innovateuk.ifs.bitbucket.plugin.hook;
import com.atlassian.bitbucket.content.ContentService;
import com.atlassian.bitbucket.content.ContentTreeCallback;
import com.atlassian.bitbucket.hook.repository.RepositoryMergeRequestCheck;
import com.atlassian.bitbucket.hook.repository.RepositoryMergeRequestCheckCont... |
package com.apache.dubbo.sample.basic;
public class ComplexProviderImpl implements ComplexProvider {
@Override
public void invokeWithEmptyReq() {
System.out.println("invokeWithEmptyReq");
}
@Override
public void invokeWithSingleString(String req) {
System.out.println("invokeWithEmp... |
// Tags: JDK1.2
// Uses: ServerThread
/*
Copyright (C) 2003 C. Brian Jones
Copyright (C) 2005 Mark J. Wielaard
This file is part of Mauve.
Mauve is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2,... |
/*
* The MIT License
*
* Copyright 2017 Pivotal Software, Inc..
*
* 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... |
package br.ufpa.smartufpa.models.overpass;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Tags {
@SerializedName("name")
@Expose
private String name;
@SerializedName("short_name")
@Expose
private String shortName;
@SerializedN... |
package com.amazonaws.services.kinesis.producer.util;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface KplTraceLog ... |
/*
* 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... |
/**
* 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
* distribut... |
package mffs.render.model;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
@SideOnly(Side.CLIENT)
public class ModelTriangle extends ModelBase {
public static final ModelTriangle INSTNACE = ne... |
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.computesystemcontroller;
import java.net.URI;
import java.util.List;
import com.emc.storageos.Controller;
import com.emc.storageos.blockorchestrationcontroller.VolumeDescriptor;
import com.emc.storageos.computesystemcontroll... |
package com.shj.javalib.designMode.jinShi.structure.decorator.huajiePractice;
import com.shj.javalib.designMode.jinShi.entity.Bag;
/**
* @author SHJ
* @date 2021/1/28
* email:1214495199@qq.com
* Description:
*/
public class BagDecorator_Prac implements Bag {
private Bag bag;
public BagDecor... |
/**
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith... |
package com.hamusuke.jece.invoker.client;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.gui.screen.CreditsScreen;
import net.minecraft.client.gui.screen.Screen;
@Environment(EnvType.CLIENT)
public interface CreditsScreenInvoker {
CreditsScreen setParentScreen(Sc... |
package manager;
import annotations.UserInput;
import context.InjectByType;
import context.Singleton;
import convertors.Convertor;
import convertors.ConvertorFactory;
import lombok.Setter;
import lombok.SneakyThrows;
import model.CustomClass;
import rules.Rule;
import rules.Rules;
import java.io.InputStream;
import j... |
package org.weibei.bouncycastle.pqc.crypto.ntru;
public class NTRUParameters
{
public static final int TERNARY_POLYNOMIAL_TYPE_SIMPLE = 0;
public static final int TERNARY_POLYNOMIAL_TYPE_PRODUCT = 1;
}
|
/* Copyright (c) 2011 Danish Maritime Authority.
*
* 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... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.v7.recyclerview;
public final class R {
public static final class attr {
public static int fastScro... |
/*
* Copyright 2021 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 ... |
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.gama.passagens.project.model;
import javax.persistence.Column;
import org.hibernate.annotations.Type;
public class Oferta {
@Type(type = "json")
@Column(columnDefinition = "json")
private String properties;
}
|
package ca.bc.gov.educ.api.soam.service;
import ca.bc.gov.educ.api.soam.codetable.CodeTableUtils;
import ca.bc.gov.educ.api.soam.exception.InvalidParameterException;
import ca.bc.gov.educ.api.soam.exception.SoamRuntimeException;
import ca.bc.gov.educ.api.soam.model.SoamServicesCard;
import ca.bc.gov.educ.api.soam.mode... |
/*
* Copyright 2002-2021 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 eu.fbk.fm.smt.services;
import eu.fbk.fm.alignments.DBpediaResource;
import eu.fbk.fm.alignments.persistence.sparql.Endpoint;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.inject.Named;
import javax.inject.S... |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.lzhpo.charts.controller;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletRequest;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfr... |
package fr.univ.nantes;
import static com.googlecode.objectify.ObjectifyService.ofy;
import java.util.ArrayList;
import java.util.List;
import com.googlecode.objectify.Key;
import fr.univ.nantes.model.Message;
import fr.univ.nantes.model.MessageReceivers;
import fr.univ.nantes.model.MessageTags;
import fr.univ.nant... |
package com.wwdablu.soumya.sendgridandroid;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.