text
stringlengths
7
995k
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* * This file is part of ELKI: * Environment for Developing KDD-Applications Supported by Index-Structures * * Copyright (C) 2019 * ELKI Development Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the...
package com.lee.msims.pojo.moodle; import lombok.Data; @Data public class Assessment { private int id; private int assignmentId; private int submissionId; private double score; private String comment; private String date; public Assessment(){} public Assessment(int assignmentId, int ...
/* * CLOUD API * An enterprise-grade Infrastructure is provided as a Service (IaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to perform a variety of management tasks such as spinning up additional servers, adding volumes, ...
package rahnema.tumaj.bid.backend.domains.Category; import lombok.Data; import org.modelmapper.ModelMapper; import rahnema.tumaj.bid.backend.models.Category; @Data public class CategoryInputDTO { private String title; public static Category toModel(CategoryInputDTO category){ ModelMapper mapper = ne...
/* * Copyright (c) 2021 Terminus, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
package fr.epicanard.globalmarketchest.gui.actions; import java.util.function.Consumer; import org.bukkit.entity.Player; import fr.epicanard.globalmarketchest.GlobalMarketChest; import fr.epicanard.globalmarketchest.gui.InventoryGUI; /** * Consumer to leave the inventoryGUI */ public class LeaveShop implements Co...
/* * The MIT License (MIT) * * Copyright (c) 2016 Shengjie Sim Sun * * 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 ...
/* * This file is part of choco-solver, http://choco-solver.org/ * * Copyright (c) 2022, IMT Atlantique. All rights reserved. * * Licensed under the BSD 4-clause license. * * See LICENSE file in the project root for full license information. */ package org.chocosolver.solver.search.strategy.selectors.values.gra...
package mediator; public class ChatRoom implements ChatRoomMediator { @Override public void showMessage(User user, String message) { System.out.println("xxxx-xx-xx" + " [" + user.getName() + "] " + message); } }
package org.shboland.api.convert; public class ConvertException extends RuntimeException { ConvertException(String message) { super(message); } ConvertException(String message, Throwable e) { super(message, e); } }
package com.eintr.NettyChatRoom.client; import com.eintr.NettyChatRoom.message.*; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; import java.util.Scanner; import java.util.logging.Level; import java.util.logging.Logger; public class SimpleChatClientHandler extends...
package com.mediasoft.product.client; import com.mediasoft.product.models.Customer; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Component; @Component public class CustomerHystrixFallbackFactory implements CustomerClient { @Override public ResponseEntity<Customer> get...
package ru.job4j.softreferencecache; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.*; public class TextFileCacheTest { @Test public void whenReadExistingFileThenGetFileText() { var cache = new TextFileCache("./src/test/java/ru/job4j/softreferencecache/"...
/* * Copyright 2011-2022 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...
/* * MIT License * * Copyright (c) 2021 1619kHz * * 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, copy, modify, ...
/* * Copyright 2013-2022 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...
// Openbravo POS is a point of sales application designed for touch screens. // Copyright (C) 2007-2009 Openbravo, S.L. // http://www.openbravo.com/product/pos // // This file is part of Openbravo POS. // // Openbravo POS is free software: you can redistribute it and/or modify // it under the terms of...
package org.flylib.mall.shop.mapper; import org.flylib.mall.shop.entity.Comment; import org.springframework.jdbc.core.RowMapper; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Date; public class CommentMapper implements RowMapper<Comment> { @Override public Comment mapRow(ResultSet...
/* * Copyright (C) 2018 CenturyLink, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
package org.zstack.header.vm; import org.zstack.header.message.NeedJsonSchema; import java.util.Date; /** * Created by frank on 3/4/2016. */ public class VmCanonicalEvents { public static final String VM_LIBVIRT_REPORT_SHUTDOWN = "/vm/libvirtreportshutdown"; public static final String VM_FULL_STATE_CHANGED...
/* Copyright (c) 2021, Stephen Gold All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the followin...
package cn.n0texpecterr0r.timemovie.base.component.fragment; import android.arch.lifecycle.Lifecycle; import android.arch.lifecycle.LifecycleRegistry; import android.os.Bundle; import cn.n0texpecterr0r.timemovie.base.component.mvp.BaseContract; /** * 时光电影的MvpFragment * * @author N0tExpectErr0r * @time 2018/11/2...
package io.jenkins.plugins; import edu.umd.cs.findbugs.annotations.NonNull; import edu.umd.cs.findbugs.annotations.Nullable; import hudson.Extension; import hudson.model.User; import hudson.model.UserProperty; import hudson.model.UserPropertyDescriptor; import lombok.Getter; import net.sf.json.JSONObject; import org.k...
/* * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. * * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. * * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. * * License for BK-JOB蓝鲸智云作业平台: * ----------------------------------------------...
package controllers; import actions.PlayAuthenticatedSecured; import com.avaje.ebean.Ebean; import com.avaje.ebean.Query; import models.Fornecedor; import models.locale.Bairro; import play.Logger; import play.libs.Json; import play.mvc.Controller; import play.mvc.Result; import play.mvc.Security; import validators.Val...
package serenitycore.net.serenitybdd.core.webdriver.driverproviders; import org.openqa.selenium.Capabilities; import java.util.Properties; public class CapabilitiesToPropertiesConverter { public static Properties capabilitiesToProperties(Capabilities capabilities) { Properties properties = new Properties...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.11.04 at 10:30:...
package com.gt.inside.core.entity.function.performance; import java.io.Serializable; import com.baomidou.mybatisplus.enums.IdType; import java.util.Date; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableName; imp...
/* * MIT License * * Copyright (c) 2021 Imanity * * 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, copy, modify, ...
package io.datakitchen.ide.editors.neweditors.container; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.editor.EditorFactory; import com.intellij.openapi.editor.event.DocumentEvent; import com.intellij.openapi.editor.event.DocumentListener; import com.intellij.openapi.project.Project; import co...
/* * 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 mainpackage.Screens; import org.lwjgl.input.Keyboard; import mainpackage.AI; import mainpackage.Collision; import mainpackage.Game; import mainpackage.Player; import mainpackage.PlayerInput; import mainpackage.SpriteClass; import mainpackage.TextureFiles; import mainpackage.UserConfig; import com.badlogic.gd...
package virtuoel.statement.mixin.sync; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Redirect; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.network.packet.s2c.play.ChunkDeltaUpdat...
package cn.com.cjland.careplus.view; import android.content.Context; import android.graphics.Bitmap; import android.util.DisplayMetrics; import java.util.HashMap; import cn.com.cjland.careplus.utils.HttpUtils; /** * This class represents a single Droidflake, with properties representing its * size, rotation, loc...
package caffeinateme; import caffeinateme.steps.Barista; import caffeinateme.steps.Customer; import caffeinateme.steps.ProductCatalog; import io.cucumber.java.DataTableType; import io.cucumber.java.en.And; import io.cucumber.java.en.Given; import io.cucumber.java.en.Then; import io.cucumber.java.en.When; import net.se...
package nl.knokko.customitems.plugin.util; import org.bukkit.inventory.ItemStack; import nl.knokko.core.plugin.item.ItemHelper; import nl.knokko.customitems.item.CIMaterial; import nl.knokko.customitems.plugin.CustomItemsPlugin; import nl.knokko.customitems.plugin.set.item.CustomItem; public class ItemUtils { publ...
package seedu.plannermd.testutil; import seedu.plannermd.model.PlannerMd; import seedu.plannermd.model.doctor.Doctor; import seedu.plannermd.model.patient.Patient; /** * A utility class to help with building PlannerMd objects. * Example usage: <br> * {@code PlannerMd ab = new PlannerMdBuilder().withPatient("Jo...
/* * Copyright 2021 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...
package com.bettercloud.kadmin.api.kafka; import java.util.Collection; /** * Created by davidesposito on 7/20/16. */ public interface MessageHandlerRegistry { void register(MessageHandler handler); boolean remove(MessageHandler handler); Collection<MessageHandler> getHandlers(); }
/* * 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 tests.eu.qualimaster.storm; import org.slf4j.LoggerFactory; /** * Represents the first version of the algorithm. * * @author Holger Eichelberger */ public class Alg1 implements IAlg { @Override public void process(IAlgInput input, IAlgOutput output) { output.setValue(input.getValue() * 2...
/* * Copyright 2018 Patrik Karlström. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
package com.github.alexeylapin.oca.g03_using_operators_and_desicion_constructs.t04_switch; import org.junit.jupiter.api.Test; public class SwitchTest00 { @Test void acceptsBytePrimitive() { byte v = 1; switch (v) { } } @Test void acceptsByteWrapper() { Byte v = 1;...
package com.hdq.gulimall.member.service.impl; import org.springframework.stereotype.Service; import java.util.Map; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.hdq....
package Utilizer; import java.io.*; public class Student implements Serializable { private static final long serialVersionUID = 1L; transient public static Student student = new Student(); public static Student getInstance() { return student; } String student_number; //학번 String name; //이름 String...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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 ...
/* * 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...
package com.kylantraynor.civilizations.economy; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.regex.Matcher; import java.util.regex....
package xyz.vopen.oss.services.auth.consumer; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * AuthConsumerBootstrap * * @author <a href="mailto:iskp.me@gmail.com">Elve.Xu</a> * @version ${project.version} - 2019-01-11. */ @SpringBootAp...
package ar.com.bia.entity; import org.bson.types.ObjectId; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.data.mongodb.core.mapping.Field; import java.security.Principal; import java.util.List; import java.util.Map; @Document(c...
/* * Copyright © 2019 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Copyright (c) 2002-2020 Gargoyle Software 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 ...
/** * generated by Xtext 2.24.0 */ package uclid.xtext.uclid; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; /** * <!-- begin-user-doc --> * The <b>Package</b> for the model. * It contains accessors for...
/** * Autogenerated by Avro * * DO NOT EDIT DIRECTLY */ package influent.idl; @SuppressWarnings("all") /** * A single search result is some annotated subgraph */ @org.apache.avro.specific.AvroGenerated public class FL_PatternSearchResult extends org.apache.avro.specific.SpecificRecordBase implements org.apache.a...
package com.github.seaframework.core.util; import lombok.extern.slf4j.Slf4j; import java.io.File; /** * disk util * * @author spy * @version 1.0 2019-08-13 * @since 1.0 */ @Slf4j public final class DiskUtil { /** * get total space of file path * * @param path * @return */ pub...
package proxy; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; /** * Created by huangjinchao on 19-11-11. */ public class HelloServiceProxy implements InvocationHandler { private Object target; public Object bind(Object target){ this.tar...
package com.starbucks.admin.web.controller; public class UserController { }
package com.example.demo.templateSummary; import com.example.demo.entity.Person; import com.lowagie.text.Document; import com.lowagie.text.Table; import com.lowagie.text.pdf.PdfWriter; import org.springframework.web.servlet.view.document.AbstractPdfView; import javax.servlet.http.HttpServletRequest; import javax.serv...
/*- * * * Copyright 2015 Skymind,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 * * * * ...
package com.baidu.cn.vm.version; /** * Created by yujiangtao on 16/5/10. */ public interface DialogInterface { void download(); void install(); void cancel(Type type); enum Type{ DEF_CANCEL,UPDATE_CANCEL,INSTALL_CANCEL } }
package xyz.applebox.jersey.util; import java.time.format.DateTimeFormatter; public final class DateTimeUtils { public static final DateTimeFormatter DATE_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd"); public static final DateTimeFormatter DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd ...
package Exercise01; /* * @author Khush Bhalodiya (20CS007) * (Approximate π) π can be computed using the following formula: * π = 4 × (1- 1/3 + 1/5 - 1/7 +1/9 - 1/11 + ⋯) * * Write a program that displays the result of π = 4 × (1- 1/3 + 1/5 - 1/7 +1/9 - 1/11) * * and 4 × (1- 1/3 + 1/5 - 1/7 +1/9 - 1/11 ...
/* * Copyright 2015-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...
package za.org.grassroot.webapp.controller.rest.authentication; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; import org.apache.commons.validator.routines.EmailValidator; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframewo...
package org.prebid.server.auction; import com.iab.openrtb.request.BidRequest; import com.iab.openrtb.request.Device; import com.iab.openrtb.request.Geo; import com.iab.openrtb.request.Imp; import com.iab.openrtb.request.Regs; import com.iab.openrtb.request.Site; import com.iab.openrtb.request.User; import io.vertx.cor...
package com.datx02_18_35.model; /** * Created by robin on 2018-04-09. */ public class Config { public static final double CATEGORY_UNLOCK_THRESHOLD_RATIO = 0.7; public static final String ASSET_PATH_MODEL = "modelAssets"; public static final String ASSET_PATH_CATEGORIES = ASSET_PATH_MODEL + "/_category...
package com.yxud.framework; 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 execute on an A...
package org.minbox.framework.api.boot.admin.common.exception; import lombok.Getter; import lombok.NoArgsConstructor; import org.minbox.framework.api.boot.admin.common.enums.ResponseCode; /** * 自定义业务逻辑异常 * * @author 恒宇少年 */ @NoArgsConstructor public class LogicException extends RuntimeException { /** * 系统...
/* * Copyright (c) 2011-2022, baomidou (jobob@qq.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...
/* * 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 ...
package com.example; import com.github.tomakehurst.wiremock.junit.WireMockClassRule; import org.junit.ClassRule; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframewo...
/* 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 de.robv.android.xposed; import android.annotation.SuppressLint; import android.content.Context; import android.content.SharedPreferences; import android.os.StrictMode; import android.preference.PreferenceManager; import android.util.Log; import com.android.internal.util.XmlUtils; import org.xmlpull.v1.XmlPul...
package org.im97mori.ble.characteristic.u2a8d; import java.nio.ByteBuffer; import java.nio.ByteOrder; import org.im97mori.ble.ByteArrayInterface; import androidx.annotation.NonNull; /** * Heart Rate Max (Characteristics UUID: 0x2A8D) */ public class HeartRateMax implements ByteArrayInterface { /** * Hea...
/* ==================================================================== 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 Y...
// SPDX-FileCopyrightText: 2022 Paul Schaub <vanitasvitae@fsfe.org> // // SPDX-License-Identifier: Apache-2.0 package sop.util; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import...
/* * @(#)FloatingPaletteHandler.java 1.1 2006-06-11 * * Copyright (c) 1996-2007 by the original authors of JHotDraw * and all its contributors. * All rights reserved. * * The copyright of this software is owned by the authors and * contributors of the JHotDraw project ("the copyright holders"). * You may...
import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("nb") public class class380 implements class379 { @ObfuscatedName("n") Map field4196; @ObfuscatedName(...
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This product is licensed to you under the Apache License, Version 2.0 (the "License"). * You may not use this product except in compliance with the License. * * This product may include a number ...
package de.yadrone.base.navdata; import java.util.EventListener; public interface WatchdogListener extends EventListener { public void received(int watchdog); }
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.sql.expression.function; import org.elasticse...
package com.mongodb.reactor.client.sample.java.springboot; import com.mongodb.reactivestreams.client.MongoClient; import com.mongodb.reactivestreams.client.MongoCollection; import org.bson.types.ObjectId; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test...
package com.sendtomoon.eroica2.allergo.impl; import java.io.IOException; import java.io.InputStream; import java.util.List; import org.apache.commons.codec.binary.Base64; import org.apache.commons.io.IOUtils; import org.springframework.core.io.ClassPathResource; import org.springframework.util.ClassUtils; import com...
package com.example; import com.amazonaws.services.lambda.runtime.Context; import com.amazonaws.services.lambda.runtime.LambdaLogger; import com.amazonaws.services.lambda.runtime.events.DynamodbEvent; public class App { public void handleRequest(final DynamodbEvent event, final Context context) { LambdaL...
package org.hyperfit.hyperresource.serializer.handlebars; import java.io.IOException; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.util.*; import com.github.jknack.handlebars.Context; import org.hyperfit.hyperresource.serializer.HyperResourceSerializer; import org.hyperfit.hyperresourc...
package com.cn.lp.domain; import com.alibaba.csp.sentinel.annotation.SentinelResource; import com.cn.lp.Func1; import com.cn.lp.GrpcServiceSupport; import com.cn.lp.common.rpc.TestGrpc; import com.cn.lp.common.rpc.model.HelloReplyMO; import com.cn.lp.common.rpc.model.HelloRequestMO; import io.grpc.stub.StreamObserver;...
package cn.ruleengine.client.param; import lombok.Data; import java.util.List; /** * 〈一句话功能简述〉<br> * 〈〉 * * @author 丁乾文 * @create 2020/12/9 * @since 1.0.0 */ @Data public class BatchParam { /** * 指定一个线程处理多少规则 */ private Integer threadSegNumber = 100; /** * 执行超时时间,-1永不超时 */ ...
package itx.examples.springboot.di.services; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class SuperService implements PrintService, DataService { private static final Logger LOG = LoggerFactory.getLogger(SuperService.class); @Override public String getData() { return "SUPER"...
package ru.stqa.pft.addressbook.tests; import org.testng.Assert; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.GroupData; import ru.stqa.pft.addressbook.model.Groups; import java.util.Set; import static org.hamcrest.CoreMatchers.equalTo; import s...
/* * 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 * * https:/...
package mage.cards.w; import java.util.UUID; import mage.MageInt; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.effects.common.continuous.PlayWithHandRevealedEffect; import mage.abilities.keyword.FlyingAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.C...
package com.penchal.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class StudentDetails { @Id @GeneratedValue(strategy=GenerationType.AUTO) private int studentId; private String studentName; ...
/* * 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...
// automatically generated by the FlatBuffers compiler, do not modify package solarxr_protocol.data_feed; import java.nio.*; import java.lang.*; import java.util.*; import com.google.flatbuffers.*; /** * Requests for the other party to send `data_feeds`. * For example, GUI requests for position data to be sent fro...
/* * 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 snake_ladder; /** * * @author Ahmed Ehab */ import java.io.File; import javafx.scene.control.Button; import javafx.scene.layout.Pane; import javafx.scene.text.Font; import javafx.scene.text.FontPosture; import javafx.scene.text.FontWeight; import javafx.scene.Scene; import javafx.scene.image.Image; import j...
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002-2010 Oracle. All rights reserved. * * $Id: LogOverwriteException.java,v 1.4 2010/01/04 15:50:45 cwl Exp $ */ package com.sleepycat.je.rep; import com.sleepycat.je.OperationFailureException; /** * Thrown when one or more log fil...
package com.codepath.instagram; import android.os.Bundle; import android.widget.ImageView; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; import com.bumptech.glide.Glide; import com.codepath.instagram.model.Post; import com.parse.ParseUser; public class DetailsActivity extends AppC...
package model.agent.execution; import java.util.GregorianCalendar; import java.util.List; import java.util.Vector; import data.agents.AgentCollectionStorage; import data.agents.AgentStorage; import main.SOSServer; import main.Settings; import model.agent.Agent; import model.agent.AgentViewable; import model.agent.co...