text
stringlengths
7
995k
/* * Copyright (c) 2008-2018, Hazelcast, 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 ...
package org.omg.IOP; /** * org/omg/IOP/TaggedProfile.java . * Generated by the IDL-to-Java compiler (portable), version "3.2" * from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u221/13320/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl * Thursday, July 4, 2019 4:41:47 AM PDT */ public final class ...
package com.xiaoleilu.hutool.setting.profile; import java.io.Serializable; import java.nio.charset.Charset; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import com.xiaoleilu.hutool.setting.Setting; import com.xiaoleilu.hutool.util.StrUtil; /** * Profile可以让我们定义一系列的配置信息,然后指定其激活条件。<br> * 此类中我们...
package cn.ac.dicp.group1809.utilities.uniprot_reader.xml.model.complexType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import java.util.ArrayList; import java.util.List; /** * <xs:complexType name="reactionType"> * <xs:annotation> * <xs:documentation>Describes a ch...
package com.contoso.account; import java.util.HashSet; import java.util.Set; import com.contoso.address.Address; import com.contoso.creditcard.CreditCard; import com.contoso.data.BaseEntity; public class Account extends BaseEntity { private static final long serialVersionUID = 1922986383754575666L; private Long...
/* * 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 M10Robot.cardModifiers; import M10Robot.M10RobotMod; import basemod.abstracts.AbstractCardModifier; import basemod.helpers.CardModifierManager; import com.evacipated.cardcrawl.mod.stslib.fields.cards.AbstractCard.RefundFields; import com.megacrit.cardcrawl.cards.AbstractCard; public class TempRefundModifier e...
package com.dpstudio.module.security.vo; import com.alibaba.fastjson.annotation.JSONField; import com.dpstudio.module.security.model.SecurityAdmin; /** * @Author: 徐建鹏. * @Date: 2020/10/15. * @Time: 4:11 下午. * @Description: */ public class SecurityAdminDetailVO { @JSONField(name = SecurityAdmin.FIELDS.REAL_N...
/** * Copyright 2012 Nikita Koksharov * * 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...
// 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.java.codeInspection; import com.intellij.JavaTestUtil; import com.intellij.codeInsight.daemon.quickFix.ActionHint; import com.intellij.codeInsight.daemon.qui...
package com.simple.bz.dao; import com.simple.bz.model.GatewayStatusModel; import org.springframework.data.jpa.repository.JpaRepository; public interface GatewayStatusRepository extends JpaRepository<GatewayStatusModel, Long> { public GatewayStatusModel findOneByLocationTopic(String topic); }
/* * Copyright 2015-2018 The OpenZipkin 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 applicable law or a...
package org.missionassetfund.apps.android.adapters; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.TreeMap; import org.missionassetfund.apps.android.R; import org.missionassetfund.apps.an...
package com.frewen.designpattern.bridge.archtecture; /** * 这个是实现化的具体角色的抽象声明部分 */ public interface AbsImplementor { /** * 实现抽象部分的具体方法 */ void operateMethod1(); /** * 实现抽象部分的具体方法 */ void operateMethod2(); }
/** * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.cassandra.thrift; /* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distribut...
package com.github.diogoko.applet; import org.apache.commons.io.IOUtils; import java.io.IOException; import java.net.*; import java.util.ArrayList; import java.util.List; import java.util.regex.Pattern; public class AppletClassLoader extends URLClassLoader { public AppletClassLoader(String codeBase, String code,...
/* * 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 Composicao; public class TesterComposicao { public static void main(String[] args) { Servicos ic1 = new Servicos("Service","ERROR 11111"); ImpressoraNova c1 = new ImpressoraNova(ic1); Servicos ic2 = new Servicos("Placa Logica","fff2222"); ImpressoraAntiga c2 = new ImpressoraAntiga(ic2); System.o...
/* * Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
package org.apache.maven.it; /* * 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, Versio...
package life.genny.qwanda.message; import java.util.Arrays; import com.google.gson.annotations.Expose; public class QCmdViewMessage extends QCmdMessage { private static final String CMD_TYPE = "CMD_VIEW"; @Expose private Object root; @Expose private Object contextRoot; @Expose private String view_type; ...
package org.egov.edcr.feature; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.apache.log4j.Logger; import org.egov.common.entity.edcr.Block; import org.egov.common.entity.edcr.FireTenderMovement; import org.egov.common.entity.edcr.Measurement; import org.egov.common.entity.ed...
package br.com.gotn.pousada.view.web.command; import br.com.gotn.pousada.dominio.EntidadeDominio; import br.com.gotn.pousada.dominio.Resultado; public interface ICommand { public Resultado executar(EntidadeDominio entidade); }
/***************************************************************** * 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 * ...
package in.e23.eusauthy; import in.e23.eusauthy.cmd.Cmd2FA; import in.e23.eusauthy.cmd.CmdAuthy; import in.e23.eusauthy.lisenter.AuthyListener; import in.e23.eusauthy.sql.DataInterface; import in.e23.eusauthy.sql.SQLite; import io.izzel.taboolib.loader.Plugin; import io.izzel.taboolib.module.dependency.Dependency; imp...
/** * Copyright (c) 2010 David Benson, Gaudenz Alder */ package com.mxgraph.io.graphml; import org.w3c.dom.Document; import org.w3c.dom.Element; /** * This class represents the properties of a JGraph edge. */ public class mxGraphMlShapeEdge { private String text = ""; private String style = ""; private Strin...
package be.ugent.systemdesign.group16.infrastructure; import java.util.ArrayList; import java.util.List; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.OneToMany; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @Entity @Setter @Getter @NoArgsConst...
/* * Copyright 2013 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 i...
package history.model; import java.util.Observable; import java.util.SortedSet; import java.util.TreeSet; public class EventList extends Observable { SortedSet<HistoryEvent> events = new TreeSet<HistoryEvent>(); public void addEvent(String name, String year, String location) { getEvents().add(new Hi...
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2004, 2005, 2006, 2007, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Version ...
package com.zcurd.account.model; import com.jfinal.plugin.activerecord.Db; import com.zcurd.account.model.base.BaseSysLoginLog; /** * 登陆日志 */ @SuppressWarnings("serial") public class SysLoginLog extends BaseSysLoginLog<SysLoginLog> { public static final SysLoginLog dao = new SysLoginLog().dao(); /** * 查询量 *...
package com.mentor.nucleus.bp.model.compare.providers.custom; //===================================================================== // //File: $RCSfile: NewBaseAttributeComparable.java,v $ //Version: $Revision: 1.2 $ //Modified: $Date: 2013/01/17 03:35:46 $ // //(c) Copyright 2013-2014 by Mentor Graphics Corp...
/* * 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 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech) * Copyright 2018 SmartBear Software * * 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://...
/* * 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 com.buttongames.butterflyserver.http.handlers.impl; import com.buttongames.butterflydao.hibernate.dao.impl.ButterflyUserDao; import com.buttongames.butterflydao.hibernate.dao.impl.CardDao; import com.buttongames.butterflydao.hibernate.dao.impl.ddr16.ProfileDao; import com.buttongames.butterflymodel.model.Suppo...
package lg.com.thirdlibstraining.activity_pic; import android.widget.BaseAdapter; import lg.com.thirdlibstraining.activity_cache.BaseCacheActivity; import lg.com.thirdlibstraining.adapter.NewsPicassoAdapter; public class PicassoAty extends BaseCacheActivity { @Override protected BaseAdapter getAdapter() { ...
package cn.aethli.gttss.domain; import java.io.Serializable; import java.util.Date; public class OpeningReport implements Serializable { /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column openingreport.topicId * * @mbg.generated Sun Apr ...
/* * 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.blackweather.android.adapters; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import android.support.v4.app.FragmentTransaction; import android.view.ViewGroup; import com.blackweather.android.HomeFragment; im...
package cn.edu.seu.itcompany.neteasy; import java.util.LinkedList; import java.util.Scanner; /**https://www.nowcoder.com/questionTerminal/5f2186b48691435388ceccc1269e212a * @Author personajian * @Date 2017/8/11 22:14 */ public class ExpressionEvaluation { public static void main(String[] args) { Scann...
/* * acme4j - Java ACME client * * Copyright (C) 2016 Richard "Shred" Körber * http://acme4j.shredzone.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * This program is distributed in the hope that it will be useful,...
/* * Copyright (c) 2016, 2018, 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 (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql.core; import java.io.IOException; public class PGBindException extends IOException { private IOException _ioe; public PGBindException(IOException ioe) { ...
package com.ydzncd.androidtest.IO; import android.util.Log; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import java.util.Arrays; /** * Created by Administrator on 2017/8/3. */ public class TcpConnection { public interface TCPCallback { ...
/* * 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...
/* * Copyright 2012 Soichiro Kashima * * 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.library.permission.callbcak; import android.app.Activity; public interface CheckStatusCallBack { /** * 状态OK * * @param activity 状态可用的回调 */ void onStatusOk(Activity activity); /** * 状态错误 */ void onStatusError(); }
package com.pg85.otg.customobject.resource; import java.nio.file.Path; import java.util.Random; import com.pg85.otg.customobject.CustomObjectManager; import com.pg85.otg.customobject.config.CustomObjectResourcesManager; import com.pg85.otg.customobject.structures.CustomStructureCache; import com.pg85.otg.interfaces.I...
package com.reactiveJavaProject.sec11Sinks; import com.reactiveJavaProject.courseUtil.Util; import reactor.core.publisher.Mono; import reactor.core.publisher.Sinks; public class Lec01SinkOne { public static void main(String[] args) { /* We have 6 possible methods: 1. emitEmpty(EmitFailur...
package com.elepy.uploads; import com.elepy.exceptions.ElepyConfigException; import com.elepy.exceptions.ElepyException; import org.apache.tika.Tika; import java.io.File; import java.io.IOException; import java.nio.file.*; import java.util.List; import java.util.Optional; import java.util.regex.Matcher; import java.u...
package org.jzl.android.recyclerview.util.datablock; import java.util.List; public interface DataSource<T> extends List<T> { void move(int fromPosition, int toPosition); void dirty(); }
package com.cooey.android.vitals.adapters; import android.arch.lifecycle.Observer; import android.widget.LinearLayout; import com.cooey.android.vitals.Vital; import com.cooey.android.vitals.adapters.VitalWidgetRecyclerAdapter.VitalWidgetItemViewHolder; import kotlin.Metadata; import kotlin.jvm.internal.Ref.ObjectRef; ...
package br.com.techsow.sherlock.model.entities; /** * @author Breno * */ public class Unanswered { private int id_unanswered; private int id_usuario; private String mensagem; private byte[] audio; public Unanswered(int id_unanswered, int id_usuario, String mensagem, byte[] audio) { this.id_unanswered...
package com.gentics.mesh.core.endpoint.admin.consistency.check; import static com.gentics.mesh.core.data.relationship.GraphRelationships.HAS_USER; import static com.gentics.mesh.core.rest.admin.consistency.InconsistencySeverity.HIGH; import static com.gentics.mesh.core.rest.admin.consistency.InconsistencySeverity.MEDI...
/** * Name: Best Time to Buy and Sell Stock with Transaction Fee * Number: 714 * Tag: DP * Main Points: I define hold[i] as the maximum profit that I could obtain when I hold a stock on day i. How can I hold a stock on day i ? (1) Before day i, I am already holding a stock and I do nothing on day i. Th...
package com.atguigu.gmall.sms.vo; import lombok.Data; import java.math.BigDecimal; import java.util.List; /** * @author Only when I saw the eyes from mirror, I realized that's me. */ @Data public class SkuSaleVo { private Long skuId; /** * 积分营销相关字段 SkuBoundsEntity */ private BigDecimal growBounds; privat...
// AUTOGENERATED CODE. DO NOT MODIFY DIRECTLY! Instead, please modify the dag/DAGXxY.ftl file. // See the README in the module's src/template directory for details. package com.linkedin.dagli.dag; import java.util.Collection; import java.util.Collections; import com.linkedin.dagli.annotation.equality.IgnoredByValue...
/* * UltraCart Rest API V2 * UltraCart REST API Version 2 * * OpenAPI spec version: 2.0.0 * Contact: support@ultracart.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package com.ultra...
package com.google.api.services.sheets.v4.model; import com.google.api.client.json.GenericJson; import com.google.api.client.util.GenericData; import com.google.api.client.util.Key; public final class TreemapChartSpec extends GenericJson { @Key private ChartData colorData; @Key private TreemapChartColorSc...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.netapp.implementation; import com.azure.core.management.Region; import com.azure.core.util.Context; import com.azure.resourceman...
/* * Copyright 2014-2018 Real Logic 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 agree...
import norswap.autumn.AutumnTestFixture; import norswap.autumn.Grammar; import norswap.autumn.Grammar.rule; import norswap.autumn.ParseResult; import norswap.autumn.positions.LineMapString; import norswap.sigh.SemanticAnalysis; import norswap.sigh.SighGrammar; import norswap.sigh.ast.SighNode; import norswap.sigh.inter...
package ru.ilnyrdiplom.bestedu.service.service; public interface EmailService { void sendVerifyMessage(String email, String validationCode); }
package dw.xmlrpc.utest; import static org.junit.Assert.assertNotNull; import dw.xmlrpc.MediaChange; public class Test_MediaChange { @org.junit.Test public void toStringShouldntThrowNullRef(){ MediaChange change = new MediaChange(null, null, null, null, null, null); assertNotNull(change.toString()); } }
package shoppingmall.alipay; import java.util.List; public class APayDayBill implements Comparable<APayDayBill> { private List<APayDayBillItem> items = null; private int total_trade_count; private Currency total_trade_amount = Currency.ZERO; private Currency total_trade_pref_amount = Currency.ZERO; private i...
package com.example.leetcodedemo.string.easy; /** * 给你一个有效的 IPv4 地址 address,返回这个 IP 地址的无效化版本。 * * 所谓无效化 IP 地址,其实就是用 "[.]" 代替了每个 "."。 * *   * * 示例 1: * * 输入:address = "1.1.1.1" * 输出:"1[.]1[.]1[.]1" * 示例 2: * * 输入:address = "255.100.50.0" * 输出:"255[.]100[.]50[.]0" *   * * 提示: * * 给出的 address 是一个有效的 IPv...
package openfoodfacts.github.scrachx.openfood.category.mapper; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.inject.Inject; import openfoodfacts.github.scrachx.openfood.category.model.Category; import openfoodfacts.github.scrachx.openfood.category.network.CategoryRespo...
/* * Copyright 2019 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...
/* * 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 org.mockserver.model; import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; /** * @author jamesdbloom */ public class HttpObjectCallback extends Action<HttpObjectCallback> { private int hashCode; private String clientId; private Boolean responseCallback; private Type...
/* * This file is generated by jOOQ. */ package generated.cf.async.guice.tables.daos; import generated.cf.async.guice.tables.Somethingwithoutjson; import generated.cf.async.guice.tables.records.SomethingwithoutjsonRecord; import io.github.jklingsporn.vertx.jooq.shared.async.AbstractAsyncVertxDAO; import java.util...
package servlets; import utils.DBUtil; import utils.Util; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; impor...
// 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.ide.actions.searcheverywhere; import com.intellij.codeWithMe.ClientId; import com.intellij.ide.actions.BigPopupUI; import com.intellij.ide.actions.searchever...
package org.chronopolis.replicate.batch.callback; import org.chronopolis.rest.models.Bag; import org.jetbrains.annotations.NotNull; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import retrofit2.Call; import retrofit2.Callback; import retrofit2.Response; import java.io.IOException; /** * Reusable callbac...
package com.sha.microservice3gateway.service; import com.google.gson.JsonElement; import com.sha.microservice3gateway.request.ITransactionServiceRequest; import com.sha.microservice3gateway.util.RetrofitUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service;...
import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.util.Arrays; import java.util.Scanner; public class chief { public static final double PI = 3.141592653589793; public static void main(String[] args)throws IOException { // Open the input file Scanner br=ne...
package me.coley.nimbus.compiler; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.JavaFile; import com.squareup.javapoet.MethodSpec; import com.squareup.javapoet.ParameterSpec; import com.squareup.javapoet.TypeName; import com.squareup.javapoet.TypeSpec; import com.squareup.javapoet.TypeSpec.Build...
/* * Copyright (C) 2017 Black Duck Software Inc. * http://www.blackducksoftware.com/ * All rights reserved. * * This software is the confidential and proprietary information of * Black Duck Software ("Confidential Information"). You shall not * disclose such Confidential Information and shall use it only in * a...
/* * 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) 2012, United States Government, as represented by the Secretary of Health and Human Services. * 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 o...
package com.example.hp.myapplication; import android.annotation.SuppressLint; import android.app.ActionBar; import android.content.Intent; import android.support.design.widget.NavigationView; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.Acti...
/* * Copyright 2014-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 2000-2019 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...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * Copyright (C) 2013 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...
package com.ilargia.games.egdx.logicbricks.component.game; import com.ilargia.games.entitas.api.IComponent; import com.ilargia.games.entitas.Component; @Component(pools = {"Game"}) public class Asset implements IComponent { public String name; public Asset(String name) { this.name = name; } }
package com.monolith.example; import org.springframework.context.annotation.Configuration; import org.springframework.data.mongodb.config.EnableMongoAuditing; import org.springframework.data.mongodb.repository.config.EnableMongoRepositories; @Configuration @EnableMongoRepositories @EnableMongoAuditing public class Mo...
/* * Copyright 2014 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 applica...
package game.agricola2p; public class Cow extends Element { public Cow(Board board) { super(board); } @Override public String getType() { return "COW"; } }
package com.sen.itoken.web.admin.service; import com.sen.itoken.web.admin.fallback.RedisServiceFallback; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bi...
package es.upm.etsisi.cf4j.recommender.knn.userSimilarityMetric; import es.upm.etsisi.cf4j.data.DataModel; import es.upm.etsisi.cf4j.data.MockDataSet; import es.upm.etsisi.cf4j.data.User; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; //import static jdk.nashorn.internal.objects.Global.Inf...
package com.teambartender3.filters.FilterableCamera.Filters; import android.content.Context; import android.graphics.Bitmap; import android.opengl.GLES20; import android.opengl.GLUtils; import android.util.Size; import com.teambartender3.filters.FilterableCamera.FCameraGLUtils; import java.nio.FloatBuffer; /** * C...
/** * Copyright 2012-2020 The Feign 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 applicable law or agree...
package org.zbus.rpc; import java.util.Arrays; import java.util.Random; import org.zbus.mq.Broker; import org.zbus.mq.BrokerConfig; import org.zbus.mq.SingleBroker; import org.zbus.rpc.RpcConfig; import org.zbus.rpc.RpcProxy; import org.zbus.rpc.biz.Interface; import org.zbus.rpc.biz.MyEnum; import org.zbus.rpc.biz.U...
/* * Copyright 2015 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 appli...
package me.kevinwalker.utils.io; import java.io.File; import java.io.InputStream; import java.io.RandomAccessFile; import java.math.BigDecimal; import java.net.HttpURLConnection; import java.net.URL; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.List; public cl...
package com.qintess.clinicaVeterinaria.entidades; import java.time.LocalDate; import java.time.LocalTime; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToOn...
/* * Copyright 2012-2017 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.github.kklisura.cdt.protocol.types.accessibility; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 Kenan Klisura * %% * 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 ...