text
stringlengths
7
1.01M
package com.fasterxml.jackson.databind.deser.jdk; import java.math.BigInteger; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Locale; import java.util.TimeZone; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml....
package com.ruoyi.system.service; import java.util.List; import java.util.Set; import com.ruoyi.common.core.domain.TreeSelect; import com.ruoyi.common.core.domain.entity.SysMenu; import com.ruoyi.system.domain.vo.RouterVo; /** * 菜单 业务层 * * @author zhulm7 */ public interface ISysMenuService { /** * 根据用户查...
/** * Description: * Created By xxm */ public class Solution { public TreeNode insertIntoBST(TreeNode root, int val) { // 找到空的节点插入val if (root == null) return new TreeNode(val); // 如果val大于root的值, 则在右子树中寻找合适位置 if (val > root.val) { root.right = insertIntoBST(root.right...
/** * @author AnkitMittal, JavaMadeSoEasy.com * Copyright (c), AnkitMittal . All Contents are copyrighted and must not be * reproduced in any form. * This class provides custom implementation of HashMap(without using java api's)- * which allows us to store data in key-value pair form. * insertion order of key-value pai...
/* * 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 cn.threefishes.cloudrepository.dao; import cn.threefishes.cloudrepository.entity.WeixinUser; import cn.threefishes.cloudrepository.entity.WeixinUserExample; import java.util.List; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.session.RowBounds; public interface WeixinUserMapper { lo...
/* * 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 (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...
package mil.nga.giat.geowave.core.cli.api; /** * The default operation prevents implementors from having to implement the * 'prepare' function, if they don't want to. */ public class DefaultOperation implements Operation { public boolean prepare( OperationParams params ) { return true; } }
package net.leanix.api; import net.leanix.api.common.ApiClient; import net.leanix.api.common.ApiException; import net.leanix.api.common.Configuration; import net.leanix.api.common.Pair; import net.leanix.api.models.TodoData; import net.leanix.api.models.TodoListResponse; import net.leanix.api.models.TodoResponse; imp...
package org.adempiere.ad.validationRule.impl; import static org.assertj.core.api.Assertions.assertThat; import java.util.Set; import org.adempiere.ad.validationRule.AbstractJavaValidationRule; import org.adempiere.ad.validationRule.IValidationContext; import org.adempiere.ad.validationRule.IValidationRule; import or...
package com.learn.thread; import com.sun.jndi.ldap.pool.Pool; import java.time.Duration; import java.time.Instant; import java.util.ArrayList; import java.util.List; import java.util.concurrent.*; import java.util.stream.LongStream; /** * description: * * @author klaus * @date 2020/7/8 */ public class ExecutorS...
/* * Copyright 2013-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package pl.mmorpg.prototype.clientservercommon; public enum EquipmentPosition { NONE, HEAD, RIGHT_HAND, LEFT_HAND, CHEST, FEET }
package uk.co.compendiumdev.examples.firsttests; import uk.co.compendiumdev.examples.domain.actors.TodoMVCUser; import uk.co.compendiumdev.examples.pojo.TodoMVCPojoPage; import uk.co.compendiumdev.selenium.support.webdriver.ExecutionDriver; import uk.co.compendiumdev.todomvc.site.TodoMVCSite; import org.junit.jupiter....
package exp.libs.db.redis.bean; import exp.libs.db.redis.RedisClient; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * <PRE> * Redis对象基类. * </PRE> * <br/><B>PROJECT : </B> exp-libs * <br/><B>SUPPORT : </B> <a href="https://exp-blog.com" target="_blank">https://exp-blog.com</a> * @version 2022-03...
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui; import com.intellij.ide.ui.VirtualFileAppearanceListener; import com.intellij.openapi.application.ApplicationManager; import com.intell...
/** * Copyright (c) 2015-2018, CJ Hare 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 * a...
package ru.job4j.tracker.actions; import ru.job4j.tracker.interfaces.Input; import ru.job4j.tracker.StartUI; import ru.job4j.tracker.interfaces.ITracker; import java.util.function.Consumer; public class ExitProgramm extends BaseAction { private StartUI stop; public ExitProgramm(int key, String name, StartUI ...
package uk.gov.hmcts.reform.iacasepaymentsapi.domain.entities.payment; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.junit.Assert.assertEquals; import java.util.Arrays; import java.util.Date; import java.util.List; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter...
/* * 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 Pravega 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 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 m...
package me.zhengjie.modules.finance.service.dto; import lombok.Data; import me.zhengjie.modules.basic_management.Archivesmouthsmanagement.service.dto.ArchiveDto; import me.zhengjie.modules.basic_management.Archivesmouthsmanagement.service.dto.ArchiveTreeDto; import java.io.Serializable; import java.util.List; @Data ...
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2020 ImageJ developers. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of s...
package skill.handler.subtract; import com.amazon.speech.ui.SimpleCard; import io.klerch.alexa.state.handler.AWSDynamoStateHandler; import io.klerch.alexa.state.handler.AlexaStateHandler; import io.klerch.alexa.state.utils.AlexaStateException; import io.klerch.alexa.tellask.model.AlexaInput; import io.klerch.alexa.tel...
/* * Copyright 1999-2015 dangdang.com. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/** * Licensed to jclouds, Inc. (jclouds) under one or more * contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. jclouds licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use ...
/* * 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 * d...
package com.github.stigmata.birthmarks.is; import org.objectweb.asm.ClassVisitor; import org.objectweb.asm.Opcodes; import com.github.stigmata.Birthmark; import com.github.stigmata.BirthmarkContext; import com.github.stigmata.BirthmarkElement; import com.github.stigmata.birthmarks.BirthmarkExtractVisitor; import com....
package mekanism.common.content.teleporter; import it.unimi.dsi.fastutil.objects.ObjectOpenHashSet; import java.util.Set; import java.util.UUID; import javax.annotation.Nullable; import mekanism.api.Coord4D; import mekanism.api.NBTConstants; import mekanism.api.text.EnumColor; import mekanism.common.lib.frequency.Freq...
/* * Copyright (c) 2021 Huawei Device Co., 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 a...
package cn.zxJava.service; import cn.zxJava.domain.TbUser; import cn.zxJava.entity.Result; /** * 拓薪教育 -- 腾讯课程认证机构 * 樱木老师 */ public interface UserService { String sendCode(String phone) throws Exception; Result regist(TbUser tbUser, String code); }
/* * 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...
/* * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package cn.kerison.sample; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void addi...
package net.gvsun.gsquestionpool.domain; import javax.persistence.*; import java.io.Serializable; import java.util.Date; import java.util.Set; /** * The persistent class for the t_assignment database table. * */ @Entity @Table(name="t_assignment") @NamedQuery(name="TAssignment.findAll", query="SELECT t FROM TAss...
package com.androidadvance.topsnackbar; import androidx.interpolator.view.animation.FastOutSlowInInterpolator; import android.view.animation.Animation; import android.view.animation.DecelerateInterpolator; import android.view.animation.Interpolator; import android.view.animation.LinearInterpolator; /** * Created by...
/** * Copyright © 2016-2021 The Thingsboard 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 applicab...
package com.icss.snacks.controller; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.icss.snacks.entity.User; imp...
// This file is part of CPAchecker, // a tool for configurable software verification: // https://cpachecker.sosy-lab.org // // SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org> // // SPDX-License-Identifier: Apache-2.0 package org.sosy_lab.cpachecker.cfa.parser.eclipse.c; import static com.googl...
/* LCM type definition class file * This file was automatically generated by lcm-gen * DO NOT MODIFY BY HAND!!!! */ package armlab.lcm.msgs; import java.io.*; import java.util.*; import lcm.lcm.*; public final class cartesian_value_quantity implements lcm.lcm.LCMEncodable { public double x; public doubl...
/* * Copyright (c) 2008-2019, 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 ...
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
package pl.edu.agh.geotime.service.query; import java.util.List; import java.util.stream.Collectors; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.data.jpa.domain.Specifications; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Tran...
package com.thesis.inesc.CloudStorage; import com.google.common.base.Charsets; import com.google.common.io.ByteSource; import com.google.common.io.Files; import com.thesis.inesc.Exceptions.NoSuchFileFoundException; import com.thesis.inesc.Utilities.FilesUtilities; import com.thesis.inesc.Utilities.HashFunction; import...
/******************************************************************************* * Copyright (c) 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
package com.hkm.slider.Transformers; import android.os.Build; import android.support.v4.view.ViewCompat; import android.view.View; import com.hkm.slider.Tricks.ViewPagerEx; public class FlipPageViewTransformer extends BaseTransformer { @Override protected void onTransform(View view, float position) { ...
package main.testeeal.ee.src.controller; import Bean.Student; public class MyModelClas { public Student getStudent() { Student student = new Student(); student.setAge(15); student.setName("Nike"); //... return student; } }
/* * This file is part of jsFlow. * * Copyright (c) 2009 DE-CIX Management GmbH <http://www.de-cix.net> - All rights * reserved. * * Author: Thomas King <thomas.king@de-cix.net> * * This software is licensed under the Apache License, version 2.0. A copy of * the license agreement is included in this distribu...
/* * Copyright Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.systemtest.topic; import io.strimzi.api.kafka.model.KafkaTopic; import io.strimzi.operator.common.model.Labels; import io.strimzi.systemtest.BaseST; import io.st...
/* * Copyright (C) 2018 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...
package com.github.zhenwei.provider.jce.provider; import com.github.zhenwei.provider.jcajce.PKIXCertRevocationChecker; import com.github.zhenwei.provider.jcajce.PKIXCertRevocationCheckerParameters; import java.security.cert.CertPathValidatorException; import java.security.cert.Certificate; import java.security.cert.PK...
package org.smartregister.eusm.contract; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import org.json.JSONObject; import org.smartregister.domain.Event; import org.smartregister.eusm.domain.StructureDetail; import org.smartregister.view.contract.BaseRegisterContract; public interface Task...
/*============================================================================= * The MIT License (MIT) * * Copyright (c) 2022 Che-Hung Lin * * 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 Sof...
/** * Copyright (C) 2015 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
// "Change type of 'p' to 'Point' and remove cast" "true" class Test { class Point {int x, y;} int test(boolean b) { Object p = new Point(); return b ? 0 : ((Po<caret>int)p).x; } }
package de.axxepta.oxygen.core; /** * @author Max on 01.09.2015. */ public interface SubjectInterface { //methods to register and unregister observers void register(ObserverInterface obj); //void unregister(ObserverInterface obj); //method to notify observers of change void notifyObservers(); ...
package com.stylefeng.guns.common.persistence.dao; import com.stylefeng.guns.common.persistence.model.Irrb.IrrBase; import com.baomidou.mybatisplus.mapper.BaseMapper; /** * <p> * 灌区基本信息 Mapper 接口 * </p> * * @author hnsl * @since 2017-10-20 */ public interface IrrBaseMapper extends BaseMapper<IrrBase> { }
/* * 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) 2010, 2017, 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 2015 Pawan Dubey pawandubey@outlook.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 app...
package com.alipay.api.request; import com.alipay.api.domain.AlipayEbppCommunityIsvCreateModel; import java.util.Map; import com.alipay.api.AlipayRequest; import com.alipay.api.internal.util.AlipayHashMap; import com.alipay.api.response.AlipayEbppCommunityIsvCreateResponse; import com.alipay.api.AlipayObject;...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
/* * Copyright 2021 TiDB 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 required by applicable law or ...
/** * Copyright 2005-2014 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version * 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
package com.iotake.suller.sullerj.binder.value; import java.lang.reflect.Field; public class NumberValueConverterFactory extends AbstractValueConverterFactory { public static class NumberValueConverter extends AbstractSingleSlotValueConverter { public NumberValueConverter(Class<?> targetType, Class<?> d...
/* * 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...
/* * #%L * SciJava Common shared library for SciJava software. * %% * Copyright (C) 2009 - 2020 SciJava developers. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must...
package io.cucumber.core.runner; import io.cucumber.core.backend.StepDefinition; import io.cucumber.core.eventbus.EventBus; import io.cucumber.core.feature.TestFeatureParser; import io.cucumber.core.gherkin.Feature; import io.cucumber.core.gherkin.Step; import io.cucumber.core.runtime.TimeServiceEventBus; import io.cu...
package apimodels; import com.fasterxml.jackson.annotation.*; import io.ebean.Finder; import io.ebean.Model; import java.util.List; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import javax.validation.*; import jav...
package com.snowcattle.game.service.net.http.handler.async; import com.snowcattle.game.bootstrap.manager.LocalMananger; import com.snowcattle.game.common.config.GameServerConfig; import com.snowcattle.game.common.constant.ServiceName; import com.snowcattle.game.service.IService; import com.snowcattle.game.service.conf...
package com.asuka.common.config; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.PropertyAccessor; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.cache.annotation.EnableCaching; import org.springframework.context.annotation.Bean; import or...
package org.scec.vtk.commons.opensha.surfaces; import java.util.ArrayList; import org.scec.vtk.commons.opensha.faults.AbstractFaultSection; import vtk.vtkActor; /** * Inner class designed to allow pick behaviors to discern instances of FaultSection objects. * Wrapping a Shape3D in this way ensures future compatib...
import java.util.Comparator; import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("qr") @Implements("UserComparator2") public class UserComparator2 implements Comparator { @ObfuscatedNam...
package net.minecraft.util.datafix.fixes; import com.mojang.datafixers.DSL; import com.mojang.datafixers.DataFix; import com.mojang.datafixers.TypeRewriteRule; import com.mojang.datafixers.schemas.Schema; import com.mojang.datafixers.types.Type; import com.mojang.datafixers.util.Pair; import java.util.Map; import java...
package com.wook.realworld.exception; public class UsernameAlreadyExistsException extends RealWorldRuntimeException { private static final String MESSAGE = "이미 등록 된 이름이 있습니다."; public UsernameAlreadyExistsException() { super(MESSAGE); } public UsernameAlreadyExistsException(final Throwable cause) { ...
package com.ulisesbocchio.jasyptspringboot.environment; import com.ulisesbocchio.jasyptspringboot.configuration.StringEncryptorConfiguration; import com.ulisesbocchio.jasyptspringboot.encryptor.LazyStringEncryptor; import org.jasypt.encryption.StringEncryptor; import org.jasypt.properties.PropertyValueEncryptionUtils;...
package org.opencds.cqf.tooling.terminology.distributable; import org.hl7.fhir.r4.model.CodeableConcept; import org.hl7.fhir.r4.model.Coding; import org.hl7.fhir.r4.model.ContactDetail; import org.hl7.fhir.r4.model.ContactPoint; import org.hl7.fhir.r4.model.Extension; import org.hl7.fhir.r4.model.ValueSet; import org...
package dao; import models.Departments; import models.Users; import java.util.List; public interface UsersDao { //create void addUser(Users user); void addDeptToUser( Users user,Departments department); //read //update List<Users> getAll(); List<Departments> getAllDepartmentsUsers(int...
/* * Copyright 2013-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...
/** * 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.network.v2019_06_01.implementation; import com.m...
/* * @(#)ProcFormalParameter.java 2.1 2003/10/07 * * Copyright (C) 1999, 2003 D.A. Watt and D.F. Brown * Dept. of Computing Science, University of Glasgow, Glasgow G12 8QQ Scotland * and School of Computer and Math Sciences, The Robert Gordon University, * St. Andrew Street, Aberdeen AB25 1...
package org.jyg.gameserver.example.ygserver; import org.jyg.gameserver.db.BaseDBEntity; import org.jyg.gameserver.db.anno.DBTable; import org.jyg.gameserver.db.anno.DBTableFieldIgnore; @DBTable(tableName = "player") public class PlayerDB extends BaseDBEntity { private long id; private String name; priv...
package pkg; sealed interface TestSealedInterfaces { } sealed class PermittedSubClassC implements TestSealedInterfaces { } non-sealed class PermittedSubClassD extends PermittedSubClassC { } non-sealed class PermittedSubClassE implements TestSealedInterfaces { } sealed interface PermittedSubInterfaceA extends T...
/* * Copyright 2013-2022 Step Function I/O, LLC * * Licensed to Green Energy Corp (www.greenenergycorp.com) and Step Function I/O * LLC (https://stepfunc.io) under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information * regarding copyright ownersh...
package com.funi.muyq.demo.study.pattern.factory.abstractFactory; /** * @Author: [muyuanqiang] * @CreateDate: [2018/6/5 09:32] */ public class HisenseHouseholdAppliancesFactory implements HouseholdAppliancesFactory { public TV createTV() { return new HisenseTV(); } public Fridge createFridge() ...
package org.owasp.oag.hooks.session; import org.owasp.oag.session.Session; import org.owasp.oag.session.UserModel; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.http.server.reactive.ServerHttpResponse; import org.springf...
package com.example.rohangupta.bottom_navigation_sample.fragments; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.example.rohangupta.bottom_navigation_sample.R; public class NewsFragment extend...
package org.osmdroid.samplefragments.events; import android.graphics.Color; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.LinearLayout; import android.widget.Toast; import org.osmdroid.R; impor...
package jsky.app.ot.gemini.nfiraos; import edu.gemini.shared.util.immutable.Option; import edu.gemini.shared.util.immutable.Some; import edu.gemini.shared.util.immutable.None; import edu.gemini.skycalc.Angle; import edu.gemini.skycalc.Offset; import edu.gemini.spModel.gemini.nfiraos.NfiraosOiwfs; import edu.gemini.spM...
// Copyright 2017 The Closure Rules 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 require...
package com.websystique.springsecurity.configuration; import com.websystique.springsecurity.service.RoleToUserProfileConverter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.MessageSource; import org.springframework.context.annotation.Bean; import org.springframework...
package manager; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; public class HelperBase { WebDriver wd; public HelperBase(WebDriver wd) { this.wd = wd; } public boolean isElementPresent(By locator) { return wd.findEl...
package org.ovirt.engine.ui.uicommonweb.models.profiles; import java.util.Collection; import org.ovirt.engine.core.common.businessentities.VM; import org.ovirt.engine.core.common.businessentities.comparators.LexoNumericNameableComparator; import org.ovirt.engine.core.common.businessentities.network.VnicProfileView; i...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // Copyright (c) 2017 Citrix ShareFile. All rights...
package wechat.builder; import me.chanjar.weixin.mp.api.WxMpService; import me.chanjar.weixin.mp.bean.message.WxMpXmlMessage; import me.chanjar.weixin.mp.bean.message.WxMpXmlOutMessage; import me.chanjar.weixin.mp.bean.message.WxMpXmlOutTextMessage; /** * @author Binary Wang(https://github.com/binarywang) */ public...
package ca.uhn.fhir.parser; /* * #%L * HAPI FHIR - Core Library * %% * Copyright (C) 2014 - 2017 University Health Network * %% * 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 org.xmlactions.pager.actions.mapping; import static org.junit.Assert.assertEquals; import java.util.HashMap; import java.util.Map; import org.json.JSONObject; import org.junit.Before; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.support.Cl...