text
stringlengths
7
1.01M
package com.study.service; import com.github.pagehelper.PageInfo; import com.study.model.Resources; import java.util.List; import java.util.Map; /** * Created by yangqj on 2017/4/25. */ public interface ResourcesService extends IService<Resources> { PageInfo<Resources> selectByPage(Resources resources, int sta...
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
package au.com.windyroad.servicegateway; import java.io.IOException; import java.nio.charset.Charset; import org.springframework.http.HttpRequest; import org.springframework.http.client.ClientHttpRequestExecution; import org.springframework.http.client.ClientHttpRequestInterceptor; import org.springframework.http.cli...
/* * Copyright (c) 2017 - 2018 - Frank Hossfeld * * 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 o...
package com.tm.kafka.connect.aws.lambda.converter; import com.google.gson.Gson; import org.apache.kafka.connect.sink.SinkRecord; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class DefaultPayloadConverter implements SinkRecordToPayloadConverter { private Logger log = LoggerFactory.getLogger(Defaul...
package ch.crearex.json.schema; import ch.crearex.json.JsonPath; public class JsonSchemaValidationException extends JsonSchemaException { private static final long serialVersionUID = -4708210958867467008L; public JsonSchemaValidationException(JsonPath path, String message) { super(message); setPath(path); } ...
package primitivo.mutable; /** * Mutable wrapper of a {@code float} value. * Provides a mutable alternative to {@link Float}. * <p> * By design, this class is not a subtype of * {@link MutableObject MutableObject&lt;Float&gt;}, * but it may be converted into this type * using {@link MutableObject#of(MutableFloa...
package net.codetojoy.services; import org.springframework.data.jpa.repository.JpaRepository; import net.codetojoy.models.Answer; public interface AnswerRepository extends JpaRepository<Answer, Long> { }
package com.github.johrstrom.config.gui; import com.github.johrstrom.collector.BaseCollectorConfig; import com.github.johrstrom.collector.BaseCollectorConfig.JMeterCollectorType; import com.github.johrstrom.collector.gui.AbstractCollectorTable; import com.github.johrstrom.collector.gui.Flatten; import org.apache.jorph...
package com.google.android.gms.internal.ads; import android.os.RemoteException; /* compiled from: com.google.android.gms:play-services-ads-lite@@19.4.0 */ public final class zzanv extends zzyr { private final Object lock = new Object(); private volatile zzyt zzdle; public final void play() throws RemoteE...
/************************************************************************** * Copyright 2017-2018 NextCash, LLC * * Contributors : * * Curtis Ellis <curtis@nextcash.tech> * * Distributed u...
/** * MIT License * <p> * Copyright (c) 2017-2019 nuls.io * <p> * 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, ...
/* * 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...
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...
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.opentypes; import org.odpi.openmetadata.repositoryservices.archiveutilities.OMRSArchiveBuilder; import org.odpi.openmetadata.repositoryservices.archiveutilities.OMRSArchiveHelper; import or...
package io.quarkus.hibernate.reactive.panache.deployment; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import javax.persistence.NamedQueries; import javax.persistence.NamedQuery; import org.jboss.jandex.AnnotationInstance; import org.jboss.jan...
package be.mygod.chimpanzeerunner.action.view; import be.mygod.chimpanzeerunner.test.TestManager; import be.mygod.chimpanzeerunner.view.View; public class Click extends ViewAction { Click(TestManager manager, View view) { super(manager, view); } @Override public boolean perform() { ge...
/* ==================================================================== 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...
package com.github.badoualy.telegram.tl.api.request; import com.github.badoualy.telegram.tl.TLContext; import com.github.badoualy.telegram.tl.api.account.TLPasswordSettings; import com.github.badoualy.telegram.tl.core.TLBytes; import com.github.badoualy.telegram.tl.core.TLMethod; import com.github.badoualy.telegram.tl...
/* * 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...
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed...
/** */ package com.example.example.with.mixed.impl; import com.example.example.with.mixed.MixedPackage; import com.example.example.with.mixed.Pair; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.impl.ENotificationImpl; /** * <!-- begin-user-do...
/* * 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...
package com.codepath.apps.restclienttemplate; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import androidx.swiperefreshlayout.widget.SwipeRefreshLayout; import android.co...
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package org.mockserver.matchers; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectWriter; import com.google.common.base.Joiner; import org.apache.commons.lang3.StringUtils; import org.mockserver.codec.ExpandedParameterDe...
package de.codeshelf.consoleui.prompt.renderer; import de.codeshelf.consoleui.elements.ConfirmChoice; import de.codeshelf.consoleui.elements.InputValue; import de.codeshelf.consoleui.elements.items.ConsoleUIItemIF; import de.codeshelf.consoleui.elements.items.impl.CheckboxItem; import de.codeshelf.consoleui.elements.i...
package com.lcg.rabbitlatest.basic; import lombok.extern.slf4j.Slf4j; import org.springframework.amqp.core.*; import org.springframework.amqp.rabbit.annotation.RabbitListener; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.c...
package no.nav.finnkandidatapi.permittert; import no.nav.finnkandidatapi.metrikker.PermittertArbeidssokerEndretEllerOpprettet; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import...
package io.flutter.plugins.flutterexifrotation; import android.Manifest; import android.app.Activity; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Matrix; import android.media.ExifInterface; import android.provider.MediaStore; ...
/******************************************************************************* * Copyright 2012 University of Southern California * * 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 * ...
/* * Copyright 2008-present MongoDB, 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...
package com.github.mygreen.sqlmapper.core.query.auto; import static org.assertj.core.api.Assertions.*; import java.time.LocalDate; import java.util.List; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.beans.fac...
package io.renren.modules.us.util; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import java.util.Calendar; @Component public class UsCardNumberUtil { @Value("${us.card.idCard}") private String idCard; @Value("${us.card.idCardPr...
package com.greenhouse.android.Networking; import com.greenhouse.android.Wrappers.Device; import com.greenhouse.android.Wrappers.User; import java.util.List; import retrofit2.Call; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; import retrofit2.http.POST; import retrofit2.http....
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 ...
package com.me.harris.androidanimations._25_pull_to_refresh; import android.content.Context; import android.util.AttributeSet; import in.srain.cube.views.ptr.PtrFrameLayout; /** *仿京东下拉刷新 * Created by shenminjie on 2016/12/6. */ public class JdRefreshLayout extends PtrFrameLayout { /** * headerView ...
import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("fj") @Implements("MilliClock") public class MilliClock extends Clock { @ObfuscatedName...
/* * The BodgeIt Store and its related class files. * * The BodgeIt Store is a vulnerable web application suitable for pen testing * * Copyright 2011 psiinon@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
package app.daos; import static app.db.tables.CardsPlans.CARDS_PLANS; import java.util.Optional; import org.jooq.DSLContext; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; import app.db...
/* * Copyright (c) 2008-2021, 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 ...
/** * 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...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2022.02.02 ...
/* For step-by-step instructions on connecting your Android application to this backend module, see "App Engine Java Endpoints Module" template documentation at https://github.com/GoogleCloudPlatform/gradle-appengine-templates/tree/master/HelloEndpoints */ package com.sanjnan.vitarak.server.backend.endpoints;...
/* * Copyright 2018-2020 adorsys GmbH & Co KG * * 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) 2016, 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....
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su...
/* * Copyright 2019-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...
/******************************************************************************* * Copyright 2016 Gabriela D. A. Guardia * * 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 * htt...
package study.ywork.spring.example.bean; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframe...
/* * Waltz - Enterprise Architecture * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project * See README.md for more information * * 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 ...
/* * The MIT License (MIT) * Copyright (c) 2018 Microsoft Corporation * * 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 * t...
package application; import com.sun.xml.internal.bind.v2.model.core.ID; import javafx.application.Application; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.geometry.Insets; import javafx.geom...
/* * * 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"); ...
// 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.openapi.updateSettings.impl.pluginsAdvertisement; import com.intellij.ide.IdeBundle; import com.intellij.ide.plugins.IdeaPluginDescriptor; import com.intelli...
/* * Copyright (c) 2004-2021, University of Oslo * 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 cond...
/* * Estructuras de datos * Autor: Jose Luis Gutierrez Espinosa */ package Heaps; /** * * @author jlgut */ public class MinHeap <T extends Comparable <T>> implements HeapADT{ private NodoHeap<T>[] heap; private int cont; public MinHeap(){ // heap = (NodoHeap<T>[])(new Object[10]); ...
package com.example.hr.domain; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.TYPE) @Retention(RetentionPolicy.SOURCE) public @interface DomainEvent { }
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package com.jesen.event_talk; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.ViewGroup; public class MyViewGroup extends ViewGroup { public MyViewGroup(Context context) { super(context); } public MyViewGroup(Context context,...
package officeSystem.employee.manager; import officeSystem.employee.Employee; public abstract class Manager extends Employee { public Manager(String fName, String lName) { super(fName, lName); } }
// 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 ca.uhn.fhir.jpa.dao.r4; /* * #%L * HAPI FHIR JPA Server * %% * Copyright (C) 2014 - 2021 Smile CDR, 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://...
/* * Copyright (C) 2020 Information Management Services, Inc. */ package com.imsweb.naaccrxml.sas; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Set; import org.junit.Assert; import org.junit.Test; import com.imsweb.naaccrxml.TestingUtils; pub...
/** Copyright 2016 IBM Corp. 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 distribu...
package io.crnk.operations; import io.crnk.core.engine.http.HttpMethod; import io.crnk.core.engine.http.HttpStatus; import io.crnk.core.queryspec.QuerySpec; import io.crnk.core.repository.ResourceRepository; import io.crnk.operations.client.OperationsCall; import io.crnk.operations.client.OperationsClient; import io.c...
package com.gqzdev.aop; /** * @ClassName TestBean * @Description * * 此bean 可能是满足业务需要的核心逻辑,例如test 方法中可能会封装着某 * 个核心业务,但是, 如果我们想在test 前后加入日志来跟踪调试,如果直接修改源码并不符合 * 面向对象的设计方法,而且随意改动原有代码也会造成一定的风险,还好接下来的Spring 帮我 * 们做到了这一点。 * * @Author ganquanzhong * @Date2020/8/4 23:12 * @Version **/ public class TestBean { priv...
import java.time.LocalDate; class LongProject extends Project { private static final long serialVersionUID = 2L; private static int minDuration; // in days public LongProject(String name, String description, LocalDate startDate, LocalDate desiredEndDate) { super(name, description, startDate, desi...
/* * Copyright 2002-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package mat.client.audit.service; import com.google.gwt.user.client.rpc.RemoteService; import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; import mat.dto.SearchHistoryDTO; import mat.dto.UserAuditLogDTO; import java.util.List; /** * Client interface for Audit Service. */ @RemoteServiceRe...
package com.idealsee.tools; import com.idealsee.tools.ImageFileLoader.IImageFileLoadFinish; import com.unity3d.player.UnityPlayer; import android.graphics.Bitmap; import android.opengl.GLES20; import android.opengl.GLUtils; import android.util.Log; public class TextureLoader { private static final String TAG = "T...
package org.nulang.core.terms; import java.util.HashMap; import java.util.Map; import org.nulang.core.NuException; import org.nulang.core.TermsVisitor; public class Module extends Term { public String name; public Map<String, Module> dependencies = new HashMap<>(); public Map<String, Lambda> lambdas = new HashM...
package com.polytech.ekwalsharezapi.model; import javax.persistence.*; import java.util.List; @Entity @Table(name = "ledger") public class Ledger { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; @Column private String title; @Column private String description; ...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package android.support.constraint; public final class R { public static final class attr { public static final int barrier...
/* * The MIT License * Copyright © 2018 Phillip Schichtel * * 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,...
package coollime.binarytree.bst.validbst; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import coollime.common.objects.TreeNode; import java.util.Arrays; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; class IsBinary...
/* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
package bla.tm.definitions.site.partners; import bla.tm.steps.partners.Partners_NexusSteps; import net.thucydides.core.annotations.Steps; import org.jbehave.core.annotations.Given; import org.jbehave.core.annotations.Then; public class Partners_NexusDefinition { @Steps Partners_NexusSteps nexusPage; @Gi...
package org.gluu.service.cache; import redis.clients.jedis.HostAndPort; /** * @author yuriyz */ public abstract class AbstractRedisProvider { protected RedisConfiguration redisConfiguration; public AbstractRedisProvider(RedisConfiguration redisConfiguration) { this.redisConfiguration = redisConfiguration; ...
package org.broadinstitute.hellbender.tools.coveragemodel; import org.apache.commons.lang3.StringUtils; import org.apache.commons.math3.util.FastMath; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.broadinstitute.hellbender.utils.Utils; import org.broadinstitute.hellbend...
package com.xunmkj.modules.mnt.domain; import lombok.Data; import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.copier.CopyOptions; import org.hibernate.annotations.CreationTimestamp; import javax.persistence.*; import java.io.Serializable; import java.sql.Timestamp; /** * @author zhanghouying * @date 201...
// 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...
/* * 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 ...
/* * 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.salesmore.yak.integration.fyndiq.service.salesfunnes; import com.salesmore.yak.integration.core.service.BaseRestClientService; import com.salesmore.yak.integration.fyndiq.api.domain.SalesFunnelsService; import com.salesmore.yak.integration.fyndiq.constants.ClientConstants; import com.salesmore.yak.integrat...
package com.earn; 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 addition_isCo...
package edu.prahlad.patterns.creational.factory.pizza; public class PizzaFactory { public static Pizza createPizza(String type){ Pizza p = null; if(type.equals("cheese")){ p = new CheesePizza(); }else if(type.equals("veg")) { p = new VegPizza(); }else if(t...
package ngoy.hyperml.cmp; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; import ngoy.ANgoyTest; import ngoy.core.Component; import ngoy.core.HostBinding; import ngoy.core.NgModule; import ngoy.hyperml.HtmlComponent; public class MixedTest extends ANgoyTest { @Component(selector =...
/* * Copyright (c) 2002-2012 Alibaba Group Holding Limited. * 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/LICENS...
/* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.example.test.activity9; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.widget.Toast; public class act9_MyReceiver extends BroadcastReceiver { @Override ...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
package com.lxteam.industriallevel.common.block.ore; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.SoundType; import net.minecraft.world.level.material.Material; public class DeepslateNickelOre extends Block { public DeepslateNickelOre() { super(Properties.of(Materia...
/* * $Id$ * * SARL is an general-purpose agent programming language. * More details on http://www.sarl.io * * Copyright (C) 2014-2020 the original authors 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 ma...
package com.planet_ink.coffee_mud.Abilities.Properties; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*;...
package mic.poulet.goodsmash.papicolo.model; import java.util.ArrayList; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.GeneratedValue; import javax.persistence.GenerationTyp...
/* * Copyright (c) 1997, 2010, 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 ...
package cl.zpricing.avant.web.administrators; import javax.servlet.http.HttpServletRequest; import org.apache.log4j.Logger; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.mvc.SimpleFormController; import org.springframework.web.servlet.view.RedirectView; import c...
/* * This file was automatically generated by EvoSuite * Sat Dec 19 04:51:18 GMT 2015 */ package com.densebrain.rif.client; import static org.junit.Assert.*; import org.junit.Test; import com.densebrain.rif.client.RIFClassLoader; import org.evosuite.runtime.EvoRunner; import org.evosuite.runtime.EvoRunnerParameter...