text
stringlengths
7
1.01M
/* * Copyright (C) 2018 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...
/* * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * OpenAPI spec version: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.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 agreed to in writing, software * distributed ...
package com.alibaba.easyexcel.test.temp; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.Ignore; import org.junit.Test; import com.alibaba.easyexcel.test.demo.fill.FillData; import com.alibaba.easyexcel.test.temp.fill.FillData2; import com.alibaba.e...
/* * Copyright (C) 2016 Cognifide Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
package models; import play.data.validation.Constraints; import javax.persistence.*; @Entity public class User { @Id @Constraints.Email public String email; public String name; }
/* * 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 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/** * Copyright 2005-2013 Dozer 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 a...
package org.fmgroup.mediator.language; import org.antlr.v4.runtime.ParserRuleContext; import org.fmgroup.mediator.language.generated.MediatorLangParser; import org.fmgroup.mediator.language.term.StructTerm; import org.fmgroup.mediator.language.term.Term; public class Meta implements RawElement{ private RawElemen...
package com.hedera.mirror.importer.parser.record; /*- * ‌ * Hedera Mirror Node * ​ * Copyright (C) 2019 - 2022 Hedera Hashgraph, 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...
package net.gini.android.vision.tracking; import android.support.annotation.NonNull; import java.util.Collections; import java.util.Map; /** * Created by Alpar Szotyori on 27.02.2020. * * Copyright (c) 2020 Gini GmbH. */ /** * A tracking event. * * @param <T> an event enum value (for ex. an {@link AnalysisSc...
/* * 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.bewitchment.common.entity.util; import com.google.common.collect.Sets; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityAgeable; import net.minecraft.entity.IEntityLivingData; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.EntityAISit; import net.mi...
package br.com.cams7.siscom.jpa.domain.entity; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.NamedQuery; import javax.persistence.OneToMany; import javax.persistence.Table; import javax.validation.constraints.Si...
package org.yazhen.dynamodb.extract.utils.file; import java.io.IOException; public class LocalResultFileWriterFactory { public static LocalResultFileWriter getDefaultResultFileWriter(final String fileKey) throws IOException { return new DefaultLocalResultFileWriterImpl(fileKey); } }
/* * 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 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
package com.ocp.auth.provider; import com.ocp.auth.provider.token.MobileAuthenticationToken; import com.ocp.auth.service.factory.UserDetailServiceFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.security.auth...
package edu.upc.fib.meetnrun.asynctasks; import android.os.AsyncTask; import android.util.Log; import org.json.JSONException; import org.json.JSONObject; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.Scanner; import edu.upc.fib.meetnrun.asynctasks.callbacks...
package fr.lithie.matchup.controllers; import javax.swing.JFrame; import fr.lithie.matchup.entities.User; import fr.lithie.matchup.views.ItemDetailsView; public class ItemDetailsController extends BaseController { public ItemDetailsController(JFrame frame) { super.frame = frame; super.view = new ItemDetailsVie...
package benchmark; import benchmark.entity.Fortune; import benchmark.entity.World; import benchmark.repository.DbRepository; import com.github.mustachejava.DefaultMustacheFactory; import com.github.mustachejava.Mustache; import io.micronaut.http.annotation.Controller; import io.micronaut.http.annotation.Get; import io...
package cn.smile.smilemall.ware.vo; import lombok.Data; /** * <p></p> * * @author smile * @date 2021-03-03 */ @Data public class LockStockResult { private Long skuId; private Integer num; private Boolean locked; }
package controller; import java.io.IOException; import java.net.URL; import java.util.ResourceBundle; import javafx.event.Event; import javafx.event.EventHandler; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.fxml.Initializable; import javafx.scene.control.CheckBox; import javafx.scene.control...
package org.modelmapper.functional.circular; import static org.testng.Assert.*; import org.modelmapper.AbstractTest; import org.modelmapper.ConfigurationException; import org.modelmapper.PropertyMap; import org.testng.annotations.Test; /** * Tests the handling of circular references. * * @author Jona...
/* * Copyright (c) 2013 Menny Even-Danan * * 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 agree...
package com.grandstream.cast.util; import android.util.Log; import android.util.SparseArray; import java.nio.ByteBuffer; import java.util.Date; /** * Digital Audio Access Protocol (DAAP) * http://www.gyfgafguf.dk/raspbian/daapdocs.txt * @author Jason Lin * */ public class Daap { private static final String T...
/* * Copyright 2019 Red Hat, 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 app...
/* * 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, Yahoo Inc. * Licensed under the Apache License, Version 2.0 * See LICENSE file in project root for terms. */ package com.yahoo.elide.annotation; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.TYPE; import static java.l...
package se.proxus.rori.screens.mods; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiScreen; import org.lwjgl.input.Keyboard; import se.proxus.rori.mods.ModManager; import se.proxus.rori.screens.mods.slots.SlotMod; public class ScreenModManager extends GuiScreen { private SlotMod gui...
/* * Copyright 2016 Needham Software 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 applicable law or a...
package com.iscb.RatLab.Security; import com.iscb.RatLab.Entity.UserEntity; import com.iscb.RatLab.Repository.UserRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetails...
package com.huaweicloud.sdk.ces.v1.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import java.util.function.Consumer; import java.util.Objects; ...
package io.github.forezp.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.CorsRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import org.springframework....
package net.minecraft.util.datafix.fixes; import com.mojang.datafixers.DSL; import com.mojang.datafixers.DataFix; import com.mojang.datafixers.OpticFinder; import com.mojang.datafixers.TypeRewriteRule; import com.mojang.datafixers.schemas.Schema; import com.mojang.datafixers.types.Type; import java.util.Arrays; import...
/** * 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 (c) 2016 Network New Technologies Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
package io.github.oliviercailloux.y2018.jbiblio.j_biblio.services; import static java.util.Objects.requireNonNull; import javax.enterprise.context.RequestScoped; import javax.persistence.EntityManagerFactory; import javax.persistence.PersistenceUnit; import javax.persistence.criteria.CriteriaQuery; import javax.persi...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.appservice.implementation; import com.azure.core.annotation.ExpectedResponses; import com.azure.core.annotation.Get; import com....
package ejercicios; /** * * @author Robot * */ public class Pag109Ej4_5EncontrarPalabrasLargasEntreArgs { public static void main(String[] args) { getPalabrasIncorrectas(args); } /** * Obtener las palabras * * @param palabras */ public static void getPalabrasIncorrectas(Strin...
package edu.bridge.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Controller中方法接收多个JSON对象 * * @author Wangyang Liu * @date 2018/08/27 */ @Target(ElementType.PARAMETER) @Retention(Re...
package es.upm.miw.iwvg_devops.code; import java.util.ArrayList; import java.util.List; public class DecimalCollection { private List<Double> collection; public DecimalCollection() { this.collection = new ArrayList<>(); } public void add(double value) { this.collection.add(value); ...
/** * Copyright (c) 2016, 2021, 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...
/* * 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 collectionspro.iterator; import java.util.Iterator; import java.util.NoSuchElementException; /** * Класс MatrixIterator. * Реализация итератора 2D матрицы. * @author Oleg Bech (oleg071984@gmail.com). * @since 27.10.2018. * @version 1.0. */ public class MatrixIterator implements Iterator<Integer> { ...
/* * Copyright 2013-2019 Erudika. https://erudika.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 appli...
package net.kaunghtetlin.sfc.adapters; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import net.kaunghtetlin.sfc.R; import net.kaunghtetlin.sfc.data.vo.NewsVO; import net.kaunghtetlin.sfc.dele...
package com.cmsk.wxplatform.common.utils; import com.alibaba.fastjson.JSON; public class Json { /** * 对象序列化为JSON字符串 * * @param object * @return */ public static String toJsonString(Object object) { return JSON.toJSONString(object); } public static <T> T fromJson(Stri...
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * 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.a...
package br.indie.fiscal4j.mdfe3.classes.nota; import br.indie.fiscal4j.mdfe3.classes.def.MDFTipoUnidadeCarga; import org.simpleframework.xml.Element; import org.simpleframework.xml.ElementList; import java.util.List; /** * Created by Eldevan Nery Junior on 06/11/17. */ public class MDFInfoInformacoesDFeTipoUnidade...
package kr.co.popone.fitts.viewmodel.store.browser; import io.reactivex.functions.BiConsumer; final class StoreBrowserViewModel$getTotalVariantOptions$1<T1, T2> implements BiConsumer<Integer, Throwable> { final /* synthetic */ StoreBrowserViewModel this$0; StoreBrowserViewModel$getTotalVariantOptions$...
package shapes; import java.awt.*; public class Ellipse extends Shape { public Ellipse(int x, int y, int width, int height, Color c, int id,boolean isFill) { super(x, y, width, height, c, id); this.isFill = isFill; } public void draw(Graphics g){ g.setColor(color); if(isF...
/** * Copyright @ 2015 Quan Nguyen * * 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...
/* * Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.pricer.impl.tree; import static org.testng.Assert.assertTrue; import org.testng.annotations.Test; import com.opengamma.strata.collect.DoubleArrayMath; ...
/* * Copyright 2012-2018 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 org.openstack4j.model.gbp; import org.openstack4j.common.Buildable; import org.openstack4j.model.ModelEntity; import org.openstack4j.model.gbp.builder.PolicyActionUpdateBuilder; /** * Policy Action Model Entity * * @author vinod borole */ public interface PolicyActionUpdate extends ModelEntity, Buildable...
/* * Copyright 2016-2021 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.revature.controller; import javax.servlet.http.HttpServletRequest; public class HomeController { public static String home(HttpServletRequest req) { return "resources/html/home.html"; } }
package net.tlalka.java.hackerrank.datastructures; import java.util.Iterator; public class BalancedSearchTree<Key extends Comparable<Key>, Value> implements Iterable<Value> { private static final boolean RED = true; private static final boolean BLACK = false; private Node root; private int size; ...
package com.revature.videoGameLand.daos; import com.revature.videoGameLand.connection.DatabaseConnection; import com.revature.videoGameLand.models.Dept; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util....
package io.dfinery.ecommerce; import android.content.res.Configuration; import android.content.Intent; import android.os.Bundle; import com.facebook.react.ReactActivity; import com.facebook.react.ReactActivityDelegate; import com.facebook.react.ReactRootView; import com.igaworks.v2.core.AdBrixRm; import com.swmansion...
package ua.kata.controllers; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation....
/** * 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...
package xyz.codemode.vocabularyselector.gui.models; import javax.swing.*; public class FontSizeComboBoxModel extends DefaultComboBoxModel<Integer> { private int[] sizes = {12,13,14,15,16,18,20,22,24,26,28,32,36,40,44,48,54,60,66,72,80,88,96}; @Override public Integer getElementAt(int index) { ret...
package com.builtbroken.atomic.map.data; import com.builtbroken.atomic.api.map.IDataMapSource; import com.builtbroken.atomic.lib.transform.IPosWorld; import net.minecraft.world.World; import java.util.function.Consumer; /** * Used to store data for thread * * @see <a href="https://github.com/BuiltBrokenModding/Vo...
/* * Copyright (C) @2021 Webank Group Holding Limited * <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 ...
/* * Copyright 2019 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 "license" ...
package com.github.chen0040.magento.services; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.alibaba.fastjson.JSON; import com.github.chen0040.magento.MagentoClient; import com.github.chen0040.magento.models.store.StoreConfig; import com.github.chen0040.magento.models.stor...
package distance.total; import java.io.IOException; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Reducer; public class FlightTotalDistanceReduce extends Reducer<Text, IntWritable, Text, IntWritable> { public void reduce(Text key, Iterable<IntWritable> ...
package com.azzie.memories; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.text.TextUtils; import android.util.Log; import android.widget.Toast; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import java.lang.refle...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.containerinstance.v2017_12_01_preview.implementat...
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
package org.talend.hadoop.distribution.dynamic.template; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang3.ClassUtils; import org.osgi...
/* * 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 2016 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 ru.stesting.jtraining.addressbook.model; import com.google.common.collect.ForwardingSet; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; /** * Created by DBorisov on 21.05.2016. */ public class Groups extends ForwardingSet<GroupData> { pr...
/* Copyright (c) 2014, 2015 Qualcomm Technologies Inc All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: Redistributions of source code must retain the...
package com.ruoyi.common.xss; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse...
/* * Copyright 2011-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 ap...
package com.termersetzung.termersetzung.service.interfaces; import java.util.List; import com.termersetzung.termersetzung.model.entities.Task; /** * TaskService */ public interface TaskService { public List<Task> getAllTasksByTestId(int id); public List<Task> saveTasks(List<Task> tasks); }
/* * 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.mengchat.chat.kit.group.manage; import android.view.Menu; import android.view.MenuItem; import android.widget.Toast; import androidx.lifecycle.ViewModelProviders; import com.afollestad.materialdialogs.MaterialDialog; import com.mengchat.chat.R; import com.mengchat.chat.kit.contact.model.UIUserInfo; impor...
package com.github.hollykunge.security.admin.rpc; import com.ace.cache.annotation.Cache; import com.github.hollykunge.security.admin.biz.UserBiz; import com.github.hollykunge.security.admin.entity.User; import com.github.hollykunge.security.admin.rpc.service.PermissionService; import com.github.hollykunge.security.api...
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * 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.camurphy.wallpapers.mario.actor; import com.camurphy.wallpapers.mario.IObserver; public abstract class ActorState implements IObserver { protected Actor mActor; public void onEnter(Actor actor) { mActor = actor; } public void onExit(Actor actor) { } public void updateElapse...
/* * Copyright 2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright © 2021 Apple Inc. and the ServiceTalk project 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 requi...
package com.bizzan.bitrade.exception; /** * @author GS * @date 2018年01月18日 */ public class InformationExpiredException extends Exception { public InformationExpiredException(String msg) { super(msg); } }
/* * Copyright 2019-2021 The Polypheny 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...
/* * Copyright 2020, Verizon Media. * Licensed under the terms of the Apache 2.0 license. * Please see LICENSE file in the project root for terms. */ package com.yahoo.oak; import com.yahoo.oak.common.OakCommonBuildersFactory; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.ju...
/* * This file is part of libbluray * Copyright (C) 2010 William Hahne * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) a...
/* * Copyright 2010-2014 Ning, Inc. * Copyright 2014 The Billing Project, LLC * * Ning 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/lice...
package org.drip.analytics.daycount; /* * -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /*! * Copyright (C) 2017 Lakshmi Krishnamurthy * Copyright (C) 2016 Lakshmi Krishnamurthy * Copyright (C) 2015 Lakshmi Krishnamurthy * Copyright (C) 2014 Lakshmi Krishnamurthy * Copyright (C...
package com.my.column.controller.rest; import com.my.column.common.Constants; import com.my.column.common.ServiceResultEnum; import com.my.column.entity.UserEntity; import com.my.column.service.UserService; import com.my.column.util.MD5Util; import com.my.column.util.Result; import com.my.column.util.ResultGenerator; ...
/* * 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 com.provectus.oddplatform.dto; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Set; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; @EqualsAndHashCode(callSuper = true) @Data @NoArgsConstructor public class DataConsumerAttributes extends DataEntityA...
/* * #%L * BigDataViewer core classes with minimal dependencies * %% * Copyright (C) 2012 - 2015 BigDataViewer authors * %% * 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 m...
package org.springframework.web; import java.util.Set; import java.util.concurrent.atomic.AtomicBoolean; import javax.servlet.ServletContainerInitializer; import javax.servlet.ServletContext; import javax.servlet.ServletException; import org.springframework.context.ConfigurableApplicationContext; import org.springfr...