text
stringlengths
7
995k
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
/* * Copyright 2017 HugeGraph Authors * * 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, Ve...
/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.resources.commerce.catalog.storefront; import com.mozu.api.ApiContext; import org.joda.time.DateTime; import java.util.List;...
/* Generated by camel build tools - do NOT edit this file! */ package org.apache.camel.component.twitter.search; import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.spi.GeneratedPropertyConfigurer; import org.apache.camel.spi.PropertyConfigurerGetter; import org.apache.camel.util.CaseI...
/* * 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 app...
package guru.nidi.mum; import android.app.Application; import guru.nidi.android.ApplicationContextHolder; import guru.nidi.android.log.RemoteLoggingCrashHandler; /** * */ public class MobileUsageMeter extends Application { @Override public void onCreate() { super.onCreate(); ApplicationCont...
/* * Copyright 2019 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 a...
package net.starype.quiz.api.answer; import net.starype.quiz.api.util.MathUtils; public class NormalLossFunction implements LossFunction { @Override public double evaluate(double error) { return MathUtils.clamp01(1 / Math.exp(3 * Math.pow(error, 2))); } }
// Copyright 2013 Square, Inc. package org.assertj.android.api.widget; import android.widget.ProgressBar; /** * Assertions for {@link ProgressBar} instances. * <p> * This class is final. To extend use {@link AbstractProgressBarAssert}. */ public final class ProgressBarAssert extends AbstractProgressBarAssert<...
package oasis.names.tc.legalxml_courtfiling.schema.xsd.juvenilecase_4; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import gov.niem.niem.domains.jxdm._4.StatuteType; import gov.ni...
package com.shuyu.apprecycler.chat.data.factory; import com.shuyu.apprecycler.chat.data.model.ChatBaseModel; import java.util.List; import io.reactivex.Observable; /** * 本地数据库接口 * Created by guoshuyu on 2017/9/11. */ public interface ILocalChatDBManager { void saveChatMessage(final ChatBaseModel baseModel)...
/* * Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and us...
package com.drakklord.gradle.metric.core.contributor.model; import com.drakklord.gradle.metric.core.contributor.GradleMetricEntry; import com.intellij.openapi.project.Project; import java.util.HashMap; /** * Namespace that holds metric types which is specific for a metric contributor. * Created by DrakkLord on 201...
package andycpp; public class Calculator { public int add(int x, int y) { return x+y; } public int substract(int x, int y) { return x-y; } // public int multiply(int x, int y) // { // return x*y; // } // public int divide(int x, int y) // { // return x/y; // } // public int square(int...
package org.jpo.export; /** * * @author Richard Eigenmann */ public interface PicasaUploaderDoneInterface { /** * indicates that the upload is complete */ void uploadDone(); }
/* * 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 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.idp.saml.sp; import org.elasticsearch.Versio...
package excepciones; public class PosicionOcupada extends Throwable { /** * */ private static final long serialVersionUID = 1L; public PosicionOcupada (String msg){ super(msg); } }
package enderpower.projectiles; import net.minecraft.client.renderer.entity.Render; import net.minecraft.entity.Entity; import net.minecraft.util.ResourceLocation; public class RenderProjectiles extends Render{ @Override public void doRender(Entity entity, double d1,double d2, double d3, float f1,float f2) { } ...
package com.occamlab.te.parsers; import static org.junit.Assert.*; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.net.URL; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException;...
package io.javaoperatorsdk.operator.sample.simple; import io.fabric8.kubernetes.client.CustomResource; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Kind; import io.fabric8.kubernetes.model.annotation.Version; @Group("sample.javaoperatorsdk.io") @Version("v1") @Kin...
package metal.sude.permissions; /* Bukkit */ import org.bukkit.command.CommandSender; import org.bukkit.command.ConsoleCommandSender; import org.bukkit.entity.Player; /** * Represents a working permissions driver * @author MetalMeerkat */ public abstract class PermissionDriver{ /** * Initializes the permissi...
package com.fun.project.admin.monitor.service; import com.fun.project.admin.monitor.entity.OperLog; import java.util.List; /** * 操作日志 * * @author DJun * @date 2019/9/10 14:49 */ public interface IOperLogService { /** * 新增操作日志 * * @param operLog 操作日志对象 */ void insertOperlog(OperLog ...
/* * MIT License * * Copyright (c) 2022 Ursin Filli * * 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, modi...
/* * Copyright 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package com.commercetools.api.models.common; import java.time.*; import java.util.*; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; import org.apache.common...
package com.sinotopia.fundamental.codegenerator.basis.render; import com.sinotopia.fundamental.codegenerator.basis.data.Field; public class RelatedEnumFieldMethodRender implements FieldMethodRender { @Override public String render(Field field) { return field.processRelatedEnumMethods(); } }
package com.app.rohit.popularmovies.constant; public class Enums { public enum SERVICE_STATUS { NONE, STARTED, FINISHED_WITH_PROBLEMS, FINISHED } public enum SERVICE_DATA_STATUS { NONE, ERROR, DATA_NULL_OR_EMPTY, DATA_FULL } public e...
package it.unibz.inf.ontop.model.term.impl; /* * #%L * ontop-obdalib-core * %% * Copyright (C) 2009 - 2014 Free University of Bozen-Bolzano * %% * 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 Li...
/* * 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 net.minecraft.server; import java.util.Iterator; import java.util.List; import javax.annotation.Nullable; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; // CraftBukkit start import org.bukkit.event.entity.EntityExplodeEvent; import org.bukkit.event.entity.EntityRegainHealth...
// Copyright 2000-2019 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.editor.textarea; import com.intellij.openapi.Disposable; import com.intellij.openapi.editor.*; import com.intellij.openapi.editor.event.CaretListener...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v4/enums/ad_customizer_placeholder_field.proto package com.google.ads.googleads.v4.enums; /** * <pre> * Values for Ad Customizer placeholder fields. * </pre> * * Protobuf type {@code google.ads.googleads.v4.enums.AdCustom...
package br.indie.fiscal4j.nfe310.transformers; import br.indie.fiscal4j.nfe310.classes.NFNotaMotivoDesoneracaoICMS; import org.simpleframework.xml.transform.Transform; public class NFNotaMotivoDesoneracaoICMSTransformer implements Transform<NFNotaMotivoDesoneracaoICMS> { @Override public NFNotaMotivoDesonera...
/* * Copyright 2006-2014 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 app...
/* * Copyright (c) 2006-, IPD Boehm, Universitaet Karlsruhe (TH) / KIT, by Guido Sautter * 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...
package com.serenegiant.media; /* * libcommon * utility/helper classes for myself * * Copyright (c) 2014-2021 saki t_saki@serenegiant.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...
module rs.etf.stud.botfights.extend.java { requires transitive rs.etf.stud.botfights.extend; requires java.management; exports rs.etf.stud.botfights.extend.java; }
package ij.plugin.filter; import ij.*; import ij.process.*; import ij.gui.*; import ij.io.*; import ij.plugin.TextReader; import ij.plugin.frame.Recorder; import ij.util.Tools; import java.awt.*; import java.util.*; import java.awt.event.*; import java.io.*; /** This plugin convolves images using user user defined ker...
package com.bumptech.glide.supportapp.stackoverflow._35096552_set_tag; import android.app.Application; import com.bumptech.glide.request.target.ViewTarget; import com.bumptech.glide.supportapp.R; // TODO in manifest: <application android:name="....App" ...> public class App extends Application { @Override public vo...
/* This file was generated by SableCC (http://www.sablecc.org/). */ package wolf.node; import wolf.analysis.*; @SuppressWarnings("nls") public final class ABackslashEscapeChar extends PEscapeChar { private TEscapeBackslash _escapeBackslash_; public ABackslashEscapeChar() { // Constructor } ...
package slogo.model.commands; import slogo.model.turtle.UserVariableHandler; import java.util.ArrayList; import java.util.List; public class Repeat implements Command<Object> { private List<String> groupedCodes; private int repeatSize=0; private boolean isItExecutable; private UserVariableHandler handler; ...
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
package net.famzangl.minecraft.minebot.build.commands; import net.famzangl.minecraft.minebot.ai.AIHelper; import net.famzangl.minecraft.minebot.ai.command.AIChatController; import net.famzangl.minecraft.minebot.ai.command.AICommand; import net.famzangl.minecraft.minebot.ai.command.AICommandInvocation; import net.famza...
/* * Copyright 2015 The gRPC Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * (c) Copyright 2015 Micro Focus or one of its affiliates. * * Licensed under the MIT License (the "License"); you may not use this file * except in compliance with the License. * * The only warranties for products and services of Micro Focus and its affiliates * and licensors ("Micro Focus") are as may be se...
package org.deviceconnect.android.deviceplugin.heartrate.ble; import android.bluetooth.BluetoothDevice; import android.content.Context; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import java.util.List...
/* * Copyright (C) 2019. Ilya Pavlovskii * * 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) 2006-2019 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE400_Resource_Exhaustion__sleep_max_value_04.java Label Definition File: CWE400_Resource_Exhaustion__sleep.label.xml Template File: sources-sinks-04.tmpl.java */ /* * @description * CWE: 400 Resource Exhaustion * BadSource: max_value Set count to a hardcoded value of Inte...
package com.java2nb.novel.mapper; import com.java2nb.novel.entity.UserBookshelf; import org.apache.ibatis.annotations.*; import org.apache.ibatis.type.JdbcType; import org.mybatis.dynamic.sql.BasicColumn; import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; import org.mybatis.dynamic.sql.delete.render.DeleteState...
/* * 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 u...
/** * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending */ package io.deephaven.api.agg; import io.deephaven.api.ColumnName; import io.deephaven.annotations.SimpleStyle; import org.immutables.value.Value.Check; import org.immutables.value.Value.Immutable; import org.immutables.value.Value.Parameter; im...
package utils; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /*** * <p><b>CSVReader</b> aims to read configurations from the csv result generated by SPLOT solver. </p...
/* * Copyright (c) 2017, Robin <robin.weymans@gmail.com> * All rights reserved. * * 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 retain the above copyright notice, this ...
// Copyright 2018 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
package org.ovirt.engine.core.bll.scheduling.queries; import javax.inject.Inject; import org.ovirt.engine.core.bll.QueriesCommandBase; import org.ovirt.engine.core.common.queries.IdQueryParameters; import org.ovirt.engine.core.dao.scheduling.AffinityGroupDao; public class GetAffinityGroupsByVmIdQuery extends Queries...
/* * Copyright (C) 2016 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 agre...
/** * 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...
package com.ucla_ieee.app.util; import android.text.TextUtils; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.google.gson.JsonSyntaxException; import org.apache.http.HttpEntity; import java.io.BufferedReader; import java.io.IOException; import java.i...
package com.wdh.system.api.domain; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Size; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.wdh.common.core.annotation.Excel; import com.wdh.common.core.annotation.E...
/* * ResourceResolver.java * * Created on December 29, 2006, 7:35 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package org.xmlresolver; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.w3c.dom.Document; import org.w3c.dom.Element; ...
/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockito.internal.stubbing; import static org.mockito.internal.exceptions.Reporter.notAMockPassedToWhenMethod; import static org.mockito.internal.exceptions.Reporter.nullPassedToWhenMethod...
/* * Copyright 2020 ukuz90 * * 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 w...
package com.puresoltechnologies.javafx.charts.tree; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Stack; import com.puresoltechnologies.javafx.charts.preferences.ChartsProperties; import com.puresoltechnologies.javafx.extensions.fonts.FontDefinition; import com.pure...
package com.lou.springboot.controller; import com.lou.springboot.entity.User; import org.springframework.util.StringUtils; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import ...
/* * Copyright 2010-2021 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...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
package com.butter.model.ticketmaster; import java.util.List; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @Getter @Setter @NoArgsConstructor @JsonInclude(JsonInclude.Include.NO...
/* * 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 com.yapp.ios1.error.exception.user; import com.yapp.ios1.error.exception.ErrorCode; import com.yapp.ios1.error.exception.InvalidValueException; /** * created by ayoung 2021/04/15 */ public class PasswordNotMatchException extends InvalidValueException { public PasswordNotMatchException() { super...
package ru.stqa.pft.litecart.app; import org.openqa.selenium.WebDriver; import ru.stqa.pft.litecart.pages.CheckoutPage; import ru.stqa.pft.litecart.pages.MainPage; import ru.stqa.pft.litecart.pages.ProductPage; public class ClientApplication{ private WebDriver driver; private MainPage mainPage; private Product...
package com.dengit.phrippple.injection.component; import com.dengit.phrippple.injection.module.APPModule; import dagger.Component; /** * Created by dengit on 15/12/9. */ @Component( modules = APPModule.class ) public interface APPComponent { }
package by.zagart.android.penumbra.network.requests; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import by.zagart.android.penumbra.constants.ExceptionConstants; import by.zagart.android.penumbra.interfaces.IHttpClient; import by.zaga...
package org.batfish.representation.palo_alto; import java.io.Serializable; import javax.annotation.Nonnull; import javax.annotation.Nullable; public class ServiceOrServiceGroupReference implements Serializable, Comparable<ServiceOrServiceGroupReference> { private final String _name; public ServiceOrServiceG...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.jsite.modules.gen.entity; import com.jsite.modules.sys.entity.Dict; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.an...
/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.resources.commerce.orders; import com.mozu.api.ApiContext; import java.util.List; import java.util.ArrayList; import com.moz...
package ru.ifmo.rain.naumov.implementor; import info.kgeorgiy.java.advanced.implementor.JarImpler; import info.kgeorgiy.java.advanced.implementor.ImplerException; import java.io.File; import java.io.Writer; import java.io.IOException; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.Files; ...
/** * Package for calculate task. * * @author Dmitry Mironov (xantor3@gmail.com) * @version $Id$ * @since 0.1 */ package ru.job4j.calculate;
package com.alipay.api.response; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.open.app.silan.apigraytwo.query response. * * @author auto create * @since 1.0, 2019-01-07 20:51:15 */ public class AlipayOpenAppSilanApigraytwoQueryResponse extends AlipayResponse { private static final long seri...
/* * 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.example.orders; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class OrdersApplicationTests { @Test void contextLoads() { } }
package ru.job4j.loop; import org.junit.Test; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertThat; public class CounterTest { @Test public void whenSumEvenNumbersFromOneToTenThenThirty() { int rsl = Counter.sumByEven(1, 10); int expected = 30; assertThat...
/******************************************************************************* * Copyright 2019 Observational Health Data Sciences and Informatics * * 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...
/** * Copyright Microsoft 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 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...
package dominando.android.hellotoolbarstandalone; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public Applicatio...
/* * Copyright © 2017 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 agreed t...
/* * (c) Copyright 2017 Palantir Technologies 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 ...
package org.m88i.cloud.ce; import io.cloudevents.CloudEvent; import java.net.InetAddress; import java.net.URI; import java.net.UnknownHostException; public final class Source { private Source() { } public static final boolean isFromLocal(CloudEvent event) { return event.getSource().equals(getL...
package com.ferasinka.prospringproject.ch4; import org.springframework.beans.factory.DisposableBean; import org.springframework.beans.factory.InitializingBean; import org.springframework.context.support.GenericXmlApplicationContext; import java.io.File; public class DestructiveBeanWithInterface implements Initializi...
package Model.Unit; import Model.Item.GenericItem; import Model.Player.Player; import Model.Unit.UnitAction.IAction; import java.util.ArrayList; import java.util.HashSet; /** * Интерфейс Unit'ов. Следует использовать его вместо GenericUnit везде, где это возможно. */ public interface IUnit { /** * Метод...
package edu.neu.leetcode.day14_Sort_1; import java.util.Map; import java.util.HashMap; import java.util.List; import java.util.ArrayList; public class LC451_Sort_Characters_By_Frequency { /* Thinking - bucket sort (freq as index) Example: s = ababcadd r = aaabbddc map(char->freq) a ...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 // 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: 2017.0...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package android.support.v7.appcompat; public final class R { public static final class anim { public static final int abc_fad...
package com.sanbeg.sdk.stripedecoration; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.view.View; import androidx.recyclerview.widget.RecyclerView; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import stati...
package com.project.convertedCode.includes.vendor.phpunit.phpunit.src.Framework; import com.runtimeconverter.runtime.RuntimeStack; import com.runtimeconverter.runtime.interfaces.ContextConstants; import com.runtimeconverter.runtime.includes.RuntimeIncludable; import com.runtimeconverter.runtime.includes.IncludeEventEx...
package com.github.rmtmckenzie.qrmobilevision; import com.google.mlkit.vision.barcode.BarcodeScannerOptions; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public enum BarcodeFormats { ALL_FORMATS(com.google.mlkit.vision.barcode.common.Barcode.FORMAT_ALL_FORM...
package io.polyglotted.common.util; import com.google.common.base.Joiner; import com.google.common.base.Splitter; import io.polyglotted.common.model.Pair; import static io.polyglotted.common.model.Pair.pair; import static io.polyglotted.common.util.CollUtil.firstOf; import static io.polyglotted.common.util.NullUtil.n...
/* * Copyright 2018 sukawasatoru * * 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...