text
stringlengths
7
1.01M
package kaptainwutax.seedcrackerX.profile; import kaptainwutax.seedcrackerX.finder.Finder; import java.util.List; import java.util.Map; import java.util.Queue; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.stream.Collectors; public class FinderConf...
/* * [y] hybris Platform * * Copyright (c) 2000-2015 hybris AG * All rights reserved. * * This software is the confidential and proprietary information of hybris * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the terms of the * li...
/* * Copyright 2002-2020 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 com.jonbore.util; import java.io.File; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; import java.util.Map; /** * @author bo.zhou1 * @date 2018/1/5. */ public class JarRunUtil {...
/* * Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package mhfc.net.common.ai.entity.monsters.barroth; import mhfc.net.common.ai.general.AIUtils; import mhfc.net.common.ai.general.SelectionUtils; import mhfc.net.common.ai.general.actions.DamagingAction; import mhfc.net.common.ai.general.provider.adapters.AnimationAdapter; import mhfc.net.common.ai.general.provid...
/** * Copyright © 2016-2020 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...
/* * Copyright 2003-2016 MarkLogic Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
package org.modelmapper.projection.example2; public class OrderDTO { private String street; String city; public String getStreet() { return street; } public void setStreet(String street) { this.street = street; } public String getCity() { return city; } public void s...
package de.metas.distribution.ddorder.material_dispo; import static de.metas.document.engine.IDocument.ACTION_Complete; import static de.metas.document.engine.IDocument.STATUS_Completed; import java.util.Collection; import java.util.Date; import ch.qos.logback.classic.Level; import org.compiere.util.TimeUtil; import...
package by.grodno.krivosheev.transformation; import by.grodno.krivosheev.transformation.controllers.ExceptionHandlerController; import by.grodno.krivosheev.transformation.controllers.TransformationController; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import or...
package com.example.nightlife.nightlife.model; public class User { String email,name,phone; public User() { } public User(String email, String name, String phone) { this.email = email; this.name = name; this.phone = phone; } public String getEmail() { retur...
package clocks; import actions.Collision; import game.Snake; public class GameClock extends Thread{ public static boolean running = true; public void run(){ while(running){ try { sleep(200); Snake.move(); Snake.waitToMove = fals...
/* ************************************************************************************ * Copyright (C) 2001-2011 encuestame: system online surveys Copyright (C) 2011 * encuestame Development Team. * Licensed under the Apache Software License version 2.0 * You may obtain a copy of the License at http://www.apache....
package org.prosolo.services.notifications.eventprocessing; import org.apache.log4j.Logger; import org.prosolo.common.domainmodel.assessment.AssessmentType; import org.prosolo.common.domainmodel.credential.BlindAssessmentMode; import org.prosolo.common.domainmodel.user.notifications.ResourceType; import org.prosolo.co...
package com.easytoolsoft.easyreport.membership.domain.example; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * @author Tom Deng * @date 2017-03-25 */ public class EventExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCr...
/* * Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
/* * Copyright 2009 Ronnie Kolehmainen * * 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 agr...
package com.udojava.evalex; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.Iterator; import org.junit.Test; public class TestBooleans { private void assertToken(String surface, Expression.TokenType type, Express...
package com.jiju.services.ratelimiter.interfaces; @FunctionalInterface public interface IdGenerator<T> { String generateId(T rulePattern); }
/* * #%L * BroadleafCommerce Framework * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * 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/licens...
/* * The MIT License * * Copyright 2018 user. * * 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, me...
package rectangledbmi.com.pat; import android.app.Activity; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.Fragment; import android.support.v4.view.GravityCompat; import android.su...
/* * Copyright (c) 2016, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package io.materialize.replication; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; import static org.junit.Assume.assumeThat; impo...
package com.scottlogic.deg.generator.walker.reductive; import com.google.inject.Inject; import com.google.inject.name.Named; import com.scottlogic.deg.common.profile.ProfileFields; import com.scottlogic.deg.generator.decisiontree.ConstraintNode; import com.scottlogic.deg.generator.decisiontree.DecisionTree; import com...
/* * 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...
package daily._08_23.beverages; public class Wine extends Beverage { String region; String sort; public Wine(String brand, boolean isSweet, boolean hasAlcohol, String region, String sort) { super(brand, isSweet, hasAlcohol); this.region = region; this.sort = sort; } }
/* * 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...
/* * Copyright (c) 2020 VMware Inc. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 * * 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/L...
package com.android.sgzcommon.view.scrollviewpager; import android.content.Context; import android.os.Handler; import android.os.Message; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.animation.Interpolator; import android.widget.Scroller; import java.lang.ref.WeakReference; i...
/* * Copyright [2013-2021], Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
package ru.bellintegrator.service.country; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import ru.bellintegrator.dao.country.CountryDAO; import ru.bellintegrator.dto.CountryDTO; import ru.b...
/* * Copyright (C) 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 ap...
/* * Licensed to Crate under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. Crate licenses this file * to you under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compl...
package reflection; import java.lang.reflect.Field; public class ReflectionHelper { public static Object createInstance(String className) { try { return Class.forName(className).getConstructor().newInstance(); } catch (Exception e) { e.printStackTrace(); } r...
package uk.gov.hmcts.reform.hmc.client.futurehearing; import com.fasterxml.jackson.databind.JsonNode; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.an...
package jwc.debug_pro.wxmenu.btn; import lombok.Setter; public class ClickTypeBtn extends BaseBtnWithType { @Setter private String key; protected ClickTypeBtn(String name, String key) { super(name, BtnType.TYPE_CLICK); this.key = key; } }
package pinacolada.cards.fool.colorless; import com.badlogic.gdx.graphics.Color; import com.megacrit.cardcrawl.characters.AbstractPlayer; import com.megacrit.cardcrawl.monsters.AbstractMonster; import com.megacrit.cardcrawl.vfx.combat.ViolentAttackEffect; import pinacolada.cards.base.PCLCardData; import pinacolada.car...
/* * 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 org.javabahia.cassandra.tweet.repository; import org.easycassandra.persistence.cassandra.ClusterInformation; import org.easycassandra.persistence.cassandra.EasyCassandraManager; import org.easycassandra.persistence.cassandra.Persistence; import org.javabahia.cassandra.tweet.model.Tweet; public enum CassandraM...
/* * Copyright 2002-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 net.rubyeye.xmemcached.test.unittest; import java.net.InetSocketAddress; import java.util.ArrayList; import java.util.List; import java.util.Map; import net.rubyeye.xmemcached.CASOperation; import net.rubyeye.xmemcached.GetsResponse; import net.rubyeye.xmemcached.MemcachedClientBuilder; import net.r...
/* * 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) 2015 Open Software Solutions GmbH. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 * which accompanies this distribution, and is availab...
package be.webtechie.pi4jgpio.weather.data; import com.fasterxml.jackson.annotation.JsonProperty; public class WeatherDescription { @JsonProperty("id") public long id; @JsonProperty("main") public String main; @JsonProperty("description") public String description; @JsonProperty("icon")...
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.lee.cameratest; import android.app.Application; import uk.co.chrisjenx.calligraphy.CalligraphyConfig; /** * Created by lihe6 on 2016/8/11. */ public class App extends Application { @Override public void onCreate() { super.onCreate(); CalligraphyConfig.initDefault(new Calligraphy...
/* * Copyright (c) 2018 Cloudera, Inc. All Rights Reserved. * * Portions Copyright (c) Copyright 2013-2018 Amazon.com, Inc. or its * affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o...
package com.sproutigy.commons.async.collections; import java.io.Closeable; import java.util.Iterator; public interface CloseableIterator<T> extends Iterator<T>, AutoCloseable, Closeable { }
/* * Copyright 2019-2029 geekidea(https://github.com/geekidea) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package com.yazan98.books.server.service.base; /** * Copyright (C) 2019 Slash IO * Licensed under the Apache License, Version 2.0 * <p> * Created By : Yazan Tarifi * Date : 8/24/2019 * Time : 9:27 AM */ import com.yazan98.books.server.data.BaseModel; import com.yazan98.books.server.exception.InvalidValueExcept...
package com.ritualsoftheold.foreman; import com.ritualsoftheold.terra.core.chunk.ChunkLArray; import com.ritualsoftheold.terra.core.materials.Registry; import com.ritualsoftheold.terra.core.materials.TerraModule; import com.ritualsoftheold.terra.core.materials.TerraObject; import com.ritualsoftheold.terra.server.world...
package com.github.jikoo.planarwrappers.world; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.data.BlockData; import org.bukkit.util.Vector; import org.jetbrains.annotations.N...
package uk.gov.hmcts.reform.iacasedocumentsapi.domain.handlers.presubmit; import static java.util.Arrays.asList; import static java.util.Objects.requireNonNull; import static uk.gov.hmcts.reform.iacasedocumentsapi.domain.entities.AsylumCaseDefinition.HEARING_DOCUMENTS; import org.springframework.beans.factory.annotat...
/* * Copyright (c) 2010 World Wide Web Consortium, * * (Massachusetts Institute of Technology, European Research Consortium for * Informatics and Mathematics, Keio University). All Rights Reserved. This * work is distributed under the W3C(r) Software License [1] in the hope that * it will be useful, but WITHOUT A...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.citesnap.android.app.main; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; import com.citesnap.android.app.R; import com.citesna...
package io.github.rreeggkk.jari; import io.github.rreeggkk.jari.client.creativetabs.CustomCreativeTab; import io.github.rreeggkk.jari.common.block.BlockRecipeRegistry; import io.github.rreeggkk.jari.common.block.BlockRegistry; import io.github.rreeggkk.jari.common.command.MetalLumpCommand; import io.github.rreeggkk.ja...
package mage.cards.g; import mage.MageInt; import mage.abilities.keyword.ReachAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.SubType; import java.util.UUID; /** * @author TheElk801 */ public final class GnottvoldRecluse extends CardImpl { ...
package com.codace.circularrevealeffect; import android.content.Intent; import android.support.design.widget.FloatingActionButton; import android.support.v4.app.ActivityOptionsCompat; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; pub...
/* * MIT License * * Copyright (c) 2021 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...
package ru.stqa.pft.addressbook.generators; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonParseException; import java.io.File; import java.lang.reflect.Type; public class FileDeserializer implements JsonDeseri...
package com.minichn; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication @MapperScan("com.minichn.repository") public class UserApplication { public static void main(String[]...
package com.fiek.adminportal.domain; import lombok.Data; import javax.persistence.*; @Data @Entity public class ShippingAddress { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String shippingAddressName; private String shippingAddressStreet; private String shi...
package com.dev.app.lambda; @FunctionalInterface public interface MiNombre { String miNombre(); }
// // This file was archive by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // 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: 2018.01.09 ...
package coolweather.isaiah.com.coolweather; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layo...
/* * Copyright 2017 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 appli...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: POGOProtos.Rpc.proto package POGOProtos.Rpc; public interface RemoveFriendProtoOrBuilder extends // @@protoc_insertion_point(interface_extends:POGOProtos.Rpc.RemoveFriendProto) com.google.protobuf.MessageOrBuilder { /** * <code>strin...
package models; import play.Logger; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStreamReader; import java.util.HashSet; import java.util.Iterator; import java.util.Vector; /** * Created by shirirave on 20/12/2017. * * - Class to store the data-dictionary in memory. * [ Thi...
package com.me.boom; import java.text.DateFormat; import java.util.Date; import java.util.Locale; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.sp...
package org.apereo.cas.web.report; import org.apache.commons.lang3.BooleanUtils; import org.apereo.cas.configuration.CasConfigurationProperties; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.actuate.endpoint.AutoConfigurationReportEndpoint; import org.springframework.bo...
package com.yy.myapplication; import android.content.Context; import androidx.test.ext.junit.runners.AndroidJUnit4; import androidx.test.platform.app.InstrumentationRegistry; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on an...
package mb.pie.runtime; import mb.pie.api.ExecutorLogger; import mb.pie.api.Layer; import mb.pie.api.Logger; import mb.pie.api.PieChildBuilder; import mb.pie.api.TaskDefs; import mb.pie.api.stamp.OutputStamper; import mb.pie.api.stamp.ResourceStamper; import mb.pie.runtime.taskdefs.CompositeTaskDefs; import mb.resourc...
/* * Copyright 2017 nwillc@gmail.com * * Permission to use, copy, modify, and/or distribute this software for any purpose with or without * fee is hereby granted, provided that the above copyright notice and this permission notice appear * in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLA...
package com.pearadmin.common.plugin.system.domain; import com.pearadmin.common.web.base.BaseDomain; import lombok.Data; /** * Describe: 字典值领域模型 * Author: 就 眠 仪 式 * CreateTime: 2019/10/23 * */ @Data public class SysBaseDict extends BaseDomain { /** * id 编号 * */ private String dataId; /** ...
package com.redhat.uxl.datalayer.repository; import com.redhat.uxl.dataobjects.domain.ScormValue; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; /** * The interface Scorm value repository. */ public interface ScormValueRepository extends BaseJpaRepository<ScormValue, Long> { ...
// This file is generated. package com.mapbox.mapboxsdk.plugins.annotation; /** * Interface definition for a callback to be invoked when a line has been long clicked. */ public interface OnLineLongClickListener extends OnAnnotationLongClickListener<Line> { }
package br.com.wakim.weekcalendarview.listener; import br.com.wakim.weekcalendarview.model.Event; import hirondelle.date4j.DateTime; public interface OnDateClickListener { public void onDateClicked(DateTime date); public void onDateClicked(DateTime date, Event event); }
package UserInsatance; import InstanceObjects.GameInstance; import java.util.LinkedList; public class Userlistoperations { LinkedList<UserInfo> users=new LinkedList<>(); int totalslots; GameInstance GI; public Userlistoperations(int totalslots,GameInstance GI) { this.totalslots=totalslots...
package io.kubernetes.client.informer.cache; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.locks.ReentrantLock; import java.util.function.Function; /** * Cache is ...
package crawler.service; import crawler.mapping.yomou.syosetu.com.NovelSource; /** * 小説の章を管理する. */ public interface NovelChapterManager { /** * 全ての小説の章を設定する. * * @param novelSource * 小説の情報 */ void saveAllNovelChapter(NovelSource novelSource); }
package game.actor; public class ActorDamage { public Type type = Type.Physic; public SrcType srcType = SrcType.CommonAttack; public int atk = 1; public int ratio = 1000; public int fatal = 0; public ActorInBattle attacker; public enum Type { Physic, Magic } public enum...
package com.mcxiaoke.next.ui.widget; /* * Copyright (C) 2006 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/LIC...
/** * Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U <br> * This file is part of FI-WARE project. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. * </p> * <p> * You may obtain a copy of the License at:<br> *...
package tech.wetech.admin.model.entity; import lombok.Data; import javax.persistence.Id; import javax.persistence.Table; import java.util.Date; @Table(name = "program_baseinfo") @Data public class ProgramBaseInfo { /** * 编号 */ @Id private Long id; /** * 项目名 */ private String p...
/* * Copyright 2016-2018 Universitat Politècnica de València * Copyright 2016-2018 Università della Calabria * Copyright 2016-2018 Prodevelop, SL * Copyright 2016-2018 Technische Universiteit Eindhoven * Copyright 2016-2018 Fundación de la Comunidad Valenciana para la * Investigación, Promoción y Estudios Comerci...
package com.haoxt.agent; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
/* * 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 requ...
package org.firstinspires.ftc.teamcode.Subsystemv2.auton; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import org.firstinspires.ftc.teamcode.Subsystemv2.subsys.Constants; import org.firstinspires.ftc.teamcode.Subsystemv2.subsys.Robot; /** * Date: 2/14/20 * Author: Jacob Marinas * Autonomous templa...
package kotlin.reflect.jvm.internal.impl.storage; import kotlin.jvm.functions.Function0; /* compiled from: storage.kt */ public interface NullableLazyValue<T> extends Function0<T> { }
package com.egnyte.fbplugins.deprecated3rdpartyrules.model.definition; import java.util.List; import lombok.AllArgsConstructor; import lombok.Value; import org.apache.commons.lang.StringUtils; import com.google.common.collect.Lists; @Value @AllArgsConstructor public class MethodParametersList implements MethodPara...
package com.klaytn.caver.generated; import com.klaytn.caver.Caver; import com.klaytn.caver.crpyto.KlayCredentials; import com.klaytn.caver.tx.SmartContract; import com.klaytn.caver.tx.manager.TransactionManager; import java.util.Arrays; import org.web3j.abi.TypeReference; import org.web3j.abi.datatypes.Address; import...
/* * This file is subject to the terms and conditions outlined in the file 'LICENSE' (hint: it's MIT); this file is located in the root directory near the README.md which you should also read. * * This file is part of the 'Adama' project which is a programming language and document store for board games; however, it...
/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetBeans. The ...
package com.epigram.android.data.arch.utils; import android.content.Context; import android.util.DisplayMetrics; import androidx.recyclerview.widget.LinearSmoothScroller; public class FastScroller extends LinearSmoothScroller { @Override protected float calculateSpeedPerPixel(DisplayMetrics displayMetrics) {...
package fr.esiea.Ranaivo_Remy.Game; import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; import fr.esiea.Ranaivo_Remy.Game.Components.Alphabet; import fr.esiea.Ranaivo_Remy.Game.Components.MutualBag; import fr.esiea.Ranaivo_Remy.Game.Components.Player; import fr.esiea.Ranaivo_Rem...
package github.yuhongye.jvm.parser; @FunctionalInterface public interface ReadConstant<T, R> { R read(T t) throws Exception; }
package randoop.operation; import randoop.ExceptionalExecution; import randoop.ExecutionOutcome; import randoop.NormalExecution; import randoop.types.ClassOrInterfaceType; import randoop.types.ReferenceType; import randoop.types.Substitution; import randoop.types.Type; import randoop.types.TypeTuple; /** * Represent...
package com.stormadvance.storm_example; import java.util.HashMap; import java.util.Map; import java.util.Random; import org.apache.storm.spout.SpoutOutputCollector; import org.apache.storm.task.TopologyContext; import org.apache.storm.topology.OutputFieldsDeclarer; import org.apache.storm.topology.base.BaseR...