text stringlengths 7 995k |
|---|
/**
* Copyright (c) 2012, md_5. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list of conditions and the fo... |
/**
* A min priority queue implementation using a binary heap.
* This implementation tracks each element inside the binary
* heap with a hashtable for quick removals.
*
* @author William Fiset, william.alexandre.fiset@gmail.com
**/
package com.williamfiset.datastructures.priorityqueue;
import java.util.ArrayList... |
package frc.robot.subsystems;
import edu.wpi.first.math.MathUtil;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.PS4Controller;
import edu.wpi.first.wpilibj.XboxController;
import edu.wpi.first.wpilibj.GenericHID.RumbleType;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wp... |
package webhook.teamcity.payload.format;
import java.util.Map;
import jetbrains.buildServer.messages.Status;
import jetbrains.buildServer.serverSide.SBuild;
import jetbrains.buildServer.serverSide.SFinishedBuild;
import jetbrains.buildServer.serverSide.SQueuedBuild;
import webhook.teamcity.executor.WebHookResponsibil... |
package com.filebreaker.experiments;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframew... |
package com.epam.BankingApplication.exceptions;
import java.util.Date;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframewor... |
// Copyright (c) 2002 Dustin Sallings <dustin@spy.net>
package net.spy.cache;
import java.lang.ref.SoftReference;
import java.util.Collections;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Test the LRU cache implementation
*/
public class LRUTest extends T... |
/*
* Copyright (C) 2019 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... |
/*
* Copyright 2010-2012 JetBrains s.r.o.
*
* 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... |
package io.left.rightmesh.aa.api;
import io.left.rightmesh.libdtn.common.data.Bundle;
import io.left.rightmesh.libdtn.common.data.BundleId;
import io.reactivex.Single;
import java.util.Set;
/**
* ApplicationAgentApi exposes the public API that the application layer can use to interact
* with the LibDTN library.
*... |
/*
* MIT License
*
* Copyright (c) 2021-2022 yangrunkang
*
* Author: yangrunkang
* Email: yangrunkang53@gmail.com
*
* 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 restricti... |
package org.wildfly.extras.creaper.commands.messaging;
import java.io.IOException;
import org.wildfly.extras.creaper.commands.foundation.offline.xml.GroovyXmlTransform;
import org.wildfly.extras.creaper.commands.foundation.offline.xml.Subtree;
import org.wildfly.extras.creaper.core.CommandFailedException;
import org.w... |
package com.bryandragon.langdb.load.sources;
import com.bryandragon.langdb.common.util.LexString;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.File;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
im... |
package org.jenkinsci.plugins.pipeline.modeldefinition.ast;
import net.sf.json.JSONObject;
import org.apache.commons.lang.StringEscapeUtils;
import org.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator;
import javax.annotation.Nonnull;
import java.io.IOException;
import java.util.ArrayList;
import j... |
package com.crush.example;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Android de... |
package net.cogzmc.punishments.command;
import net.cogzmc.core.Core;
import net.cogzmc.core.modular.command.ModuleCommand;
import net.cogzmc.core.player.COfflinePlayer;
import net.cogzmc.core.player.CPlayer;
import java.util.List;
import java.util.UUID;
abstract class TargetedCommand extends ModuleCommand {
prot... |
package org.zstack.storage.ceph.backup;
import org.springframework.beans.factory.annotation.Autowired;
import org.zstack.core.CoreGlobalProperty;
import org.zstack.core.ansible.AnsibleGlobalProperty;
import org.zstack.core.ansible.AnsibleRunner;
import org.zstack.core.ansible.SshFileMd5Checker;
import org.zstack.core.... |
package com.li.excel.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.apache.poi.ss.usermodel.HorizontalAlignment;
/**
*
* @Title: ExcelField.java
* @Package com.li.excel.annota... |
/*
Copyright 2022 The Kubernetes 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 in writing, softwar... |
package com.anzaiyun.shoppingmall.coupon.dao;
import com.anzaiyun.shoppingmall.coupon.entity.HomeSubjectEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 首页专题表【jd首页下面很多专题,每个专题链接新的页面,展示专题商品信息】
*
* @author anzaiyun
* @email anzaiyun@gmail.com
* @dat... |
package me.ANONIMUS.proxy.protocol.packet.impl.server.play;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import me.ANONIMUS.proxy.protocol.Protocol;
import me.ANONIMUS.proxy.protocol.data.Difficulty;
import me.ANONIMUS.proxy.protocol.data.Dimension;
import me.ANONIMUS.proxy.... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.query;
import com.yahoo.prelude.query.textualrepresentation.Discloser;
/**
* An immutable and'ing of a collection of sub-expressions. It does not
* extend AndItem to avo... |
/* The following code was generated by JFlex 1.4.1 on 11/4/16 11:29 PM */
/*
* 11/04/2016
*
* IniTokenMaker.java - Scanner for .ini files.
*
* This library is distributed under a modified BSD license. See the included
* RSyntaxTextArea.License.txt file for details.
*/
package org.fife.ui.rsyntaxtextarea.modes;... |
/**
* Copyright (C) 2016 Marc Adolf, Arnd Plumhoff (http://www.pubflow.uni-kiel.de/)
*
* 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-... |
/* See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* Esri 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
*
... |
package pethersilva.com.calculator_clean_architecture_pattern_sample.domain.interactors.base;
public interface Interactor {
void execute();
} |
package org.pushingpixels.radiance.demo.component.svg.filetypes.transcoded;
import java.awt.*;
import java.awt.geom.*;
import java.awt.image.BufferedImage;
import java.io.*;
import java.lang.ref.WeakReference;
import java.util.Base64;
import java.util.Stack;
import javax.imageio.ImageIO;
import javax.swing.SwingUtilit... |
/*
* Copyright 2012 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 in w... |
/**
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.core.security.impl;
import java.util.Collection;
import com.opengamma.core.security.Security;
import com.opengamma.core.security.SecuritySource;
import com.o... |
/*
* Copyright (C) 2014 salesforce.com, 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 ... |
/*
* 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... |
/*
* Copyright 2013-2018 (c) MuleSoft, 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 co.aa8y.leetcode;
import static co.aa8y.leetcode.testutils.FileUtil.read;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
public class MinimumWindowSubstringTest {
private MinimumWindowSubstring solution = new MinimumWindowSubstring();
@Test
public void ... |
package com.srimobile;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript.
* This is used to schedule rendering of the component.
*/
@Override
protected String getMainComponentNa... |
/**
*
*/
package seleniumBasics;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
/**
* @author manish
*
*/
public class GoogleSearchTest {
... |
package com.eatthepath.jeospatial;
import static org.junit.Assert.*;
import org.junit.Test;
public class HaversineDistanceFunctionTest {
@Test
public void testGetDistance() {
final HaversineDistanceFunction distanceFunction =
new HaversineDistanceFunction();
final SimpleGeos... |
package eu.datex.v220;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for Cause complex type.
*
* <p>The follo... |
/*
* 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.alley.alley;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Android devi... |
/**
* 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.coolweather.app.activity;
import com.coolweather.app.R;
import com.coolweather.app.service.AutoUpdateService;
import com.coolweather.app.util.HttpCallbackListener;
import com.coolweather.app.util.HttpUtil;
import com.coolweather.app.util.Utility;
import android.app.Activity;
import android.content.Intent;... |
/*
* 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... |
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import java.util.function.Supplier;
import java.util.stream.Stream;
public class Imm... |
package com.intellij.codeInspection.dataFlow;
import com.intellij.codeInsight.Nullability;
import com.intellij.codeInspection.InspectionsBundle;
import com.intellij.psi.*;
import com.intellij.psi.tree.IElementType;
import com.intellij.psi.util.PsiTypesUtil;
import com.intellij.psi.util.PsiUtil;
import com.intellij.psi... |
/*
* Copyright (c) 1996, 2019, 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 io.ray.runtime.gcs;
import com.google.common.base.Preconditions;
import io.ray.api.id.ActorId;
import io.ray.api.id.PlacementGroupId;
import io.ray.api.id.UniqueId;
import java.util.List;
/** `GlobalStateAccessor` is used for accessing information from GCS. */
public class GlobalStateAccessor {
// NOTE(ling... |
package py.com.sodep.mf.form.model.prototype;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(Include.NON_NULL)
public class MFSignat... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v10/services/merchant_center_link_service.proto
package com.google.ads.googleads.v10.services;
/**
* <pre>
* Request message for [MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v10.services.MerchantCen... |
package ch.bag.screening.web.api.answer;
import ch.bag.screening.web.api.profile.UserProfileDto;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CompletedUserAnswerDt... |
package com.nightrider.notes;
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 ApplicationTest() {
su... |
package module472packageJava0;
import java.lang.Integer;
public class Foo14 {
Integer int0;
Integer int1;
Integer int2;
Integer int3;
public void foo0() {
new module472packageJava0.Foo13().foo5();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3... |
// Copyright 2016 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... |
package example.domain.resources;
import com.google.common.collect.ImmutableMap;
import org.json.simple.JSONValue;
import javax.ws.rs.core.CacheControl;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import javax.ws.rs.core.UriInfo;
import java.lang.annotation.Annotation;
import java.net.U... |
package org.devgateway.ocds.web.rest.controller.flags;
import io.swagger.annotations.ApiOperation;
import org.bson.Document;
import org.devgateway.ocds.persistence.mongo.flags.FlagsConstants;
import org.devgateway.ocds.web.rest.controller.request.YearFilterPagingRequest;
import org.springframework.cache.annotation.Cac... |
package com.endroidteam.projebulteni.json;
/**
* Created by NuhKoca on 24.04.2016.
*/
public class Config {
public static final String DATA_URL = "http://projebulteni.com/feed/getProject.php?ProjectID=";
//JSON TAGS
public static final String TAG_TITLE = "ProjectTitle";
public static final String TA... |
package com.pharmaincapp;
import android.os.Bundle;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript. This is used to schedule
* rendering of the component.
*/
@Override
protected String g... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.sql.implementation;
import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.Delete;
import com.azure.core.a... |
package io.httpdoc.jestful.client;
import io.httpdoc.core.exception.HttpdocRuntimeException;
import io.httpdoc.core.fragment.ClassFragment;
import io.httpdoc.core.fragment.MethodFragment;
import io.httpdoc.core.generation.OperationGenerateContext;
import io.httpdoc.core.modeler.Modeler;
import io.httpdoc.core.modeler.... |
package com.alipay.api.response;
import java.util.Date;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.fund.coupon.operation.query response.
*
* @author auto create
* @since 1.0, 2021-12-20 15:25:26
*/
public class AlipayFundCouponOperationQueryR... |
package com.strava.segmentexplorerdemo;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.Arra... |
package ch.m3ts.tracker.visualization;
import java.util.TimerTask;
public class DebugHandlerRefreshTimerTask extends TimerTask {
private final MatchVisualizeHandler matchVisualizeHandler;
public DebugHandlerRefreshTimerTask(MatchVisualizeHandler matchVisualizeHandler) {
this.matchVisualizeHandler = m... |
package se.doverfelt.thegame.world;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.physics.box2d.BodyDef;
import se.doverfelt.thegame.server.ServerWorld;
/**
* Created by Edvin Bergstrom on 2016-09-30.
* Beskrivning
*/
public class Flag extends Tile{
public Flag(float x, float y, float width, float h... |
/*
* This file is part of Dynamic Surroundings, licensed under the MIT License (MIT).
*
* Copyright (c) OreCruncher
*
* 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 restrictio... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-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: 2014.01.06 at 03:51... |
/*
* 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) 2017, MegaEase
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
import java.util.Random;
import java.util.Scanner;
public class TestandoComandos {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Random rr = new Random();
int rounds = sc.nextInt();
int results[] = new int[rounds];
String l1 = "Pretty Boy";
St... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.ai.formrecognizer.administration;
import com.azure.ai.formrecognizer.administration.models.AccountProperties;
import com.azure.ai.formrecognizer.administration.models.BuildModelOptions;
import com.azure.a... |
package com.planet_ink.coffee_mud.Abilities.Prayers;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.... |
/**
* 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.v2018_05_01;
import java.util.Collection... |
package com.example.springmvchw.config;
import java.util.ArrayList;
import java.util.List;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.MediaType;
import org... |
package com.iandtop.service.impl;
import com.iandtop.dao.*;
import com.iandtop.model.CompanyModel;
import com.iandtop.model.DeptModelVO;
import com.iandtop.model.StaffModel;
import com.iandtop.model.statuscodeconstant.StatusCodeConstants;
import com.iandtop.model.sync.SyncDeptModel;
import com.iandtop.model.system.Rol... |
/**
* 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... |
/*
* 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 com.br.proposta.modelo;
import com.br.proposta.status.StatusSolicitacao;
import com.br.proposta.validation.NotExists;
public class NovaPropostaResponse {
private StatusSolicitacao resultadoSolicitacao;
public NovaPropostaResponse() { }
public NovaPropostaResponse(StatusSolicitacao resultadoSoli... |
package com.melardev.spring.securejpacrud.services;
import com.melardev.spring.securejpacrud.entities.User;
import com.melardev.spring.securejpacrud.repositories.UsersRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org... |
package com.paypal.core.rest;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import com.paypal.core.APICallPreHandler;
import com.paypal.core... |
package org.robolectric.integrationtests.axt;
import static androidx.test.espresso.Espresso.onIdle;
import static com.google.common.truth.Truth.assertThat;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.Looper;
import androidx.test.espresso.IdlingRegistry;
import androidx.test.espresso.... |
/**
* DO NOT EDIT THIS FILE.
*
* This source code was autogenerated from source code within the `app/src/gms` directory
* and is not intended for modifications. If any edits should be made, please do so in the
* corresponding file under the `app/src/gms` directory.
*/
// Copyright 2020 Google LLC
//
// Licensed u... |
package com.scriptsbundle.adforest.Blog.adapter;
import android.content.Context;
import android.graphics.Color;
import androidx.recyclerview.widget.RecyclerView;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.A... |
/*
* Copyright (c) 1997, 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 Softwa... |
package fr.delthas.skype;
import java.io.IOException;
/**
* An IO exception listener for the Skype interface.
*/
@FunctionalInterface
public interface ErrorListener {
/**
* Called whenever an error happens in the Skype interface.
* <p>
* Note: This method will immediately be called, and in the sa... |
package com.yoavfranco.wikigame.utils;
import android.support.annotation.Nullable;
import android.util.Log;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.Serializable;
import java.util.Date;
/**
* Created by yoav on 07/03/17.
*/
public class Challenge implements Serializable {
pr... |
package br.com.kosawalabs.apprecommendation.presentation.login;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.KeyEvent;
impor... |
package com.tifa.framework.web.mapper;
import com.tifa.framework.web.pojo.Category;
import com.tifa.framework.web.pojo.Property;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @author ... |
package com.example.arogin.popularmovies;
import android.net.Uri;
/**
* Created by arogin on 3/16/17.
*/
class Trailer {
private String mName;
private String mKey;
private static String YOUTUBE_PREFIX = "http://www.youtube.com/watch";
private static String YOUTUBE_ID_PARAM = "v";
public Traile... |
package yimei.jss.ruleevaluation;
import ec.EvolutionState;
import ec.Fitness;
import ec.util.Parameter;
import org.apache.commons.math3.analysis.function.Abs;
import yimei.jss.jobshop.SchedulingSet;
import yimei.jss.rule.AbstractRule;
import yimei.jss.simulation.DynamicSimulation;
import yimei.jss.simulation.Simulati... |
package avelon.se.yumi;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.text.Layout;
import android.text.StaticLayout;
import android.text.TextPaint;
import android.view.View;
import java.text.DateFormat;
import java.text.Simpl... |
// http://codingbat.com/prob/p126332
public Map<String, String> pairs(String[] strings) {
Map<String, String> firstAndLastCharacter = new HashMap<String, String>();
for (String string : strings) {
String firstCharacter = Character.toString(string.charAt(0));
String lastCharacter = Character.toString(string... |
/*
* Copyright 2015-2017 Spotify AB
* Copyright 2016-2018 The Last Pickle 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
*
* ... |
package vest.doctor;
import java.lang.annotation.Annotation;
import java.util.List;
/**
* Used internally for wrapping and altering the behaviors of a {@link DoctorProvider}.
*/
public abstract class DoctorProviderWrapper<T> implements DoctorProvider<T> {
protected final DoctorProvider<T> delegate;
public... |
package me.gensh.helloustb.http;
import java.io.IOException;
/**
* Created by gensh on 2017/10/12.
*/
public class PendingException extends IOException {
public PendingException(String message) {
super(message);
}
} |
package com.joiller.gulimall.product.service;
import com.joiller.gulimall.product.entity.PmsSkuSaleAttrValue;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* sku销售属性&值 服务类
* </p>
*
* @author jianghuilai
* @since 2021-02-22
*/
public interface IPmsSkuSaleAttrValueService extends IService... |
package br.com.zupacademy.desafiomercadolivre.domain.produto.opiniao;
import br.com.zupacademy.desafiomercadolivre.domain.produto.Produto;
import br.com.zupacademy.desafiomercadolivre.domain.usuario.Usuario;
import br.com.zupacademy.desafiomercadolivre.errors.handlers.APIErrorHandler;
import org.springframework.http.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, 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 Softwa... |
/*
* Copyright (C) 2017 MUKTADIR
* 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://muktadir.com/license/apache-v2
*
* Unless required by applicable law or agreed to in wri... |
package monty.services;
import java.util.Collection;
import java.util.Collections;
import java.util.Map;
import java.util.TreeMap;
import org.springframework.stereotype.Service;
import monty.entities.Door;
import monty.entities.Door.Prize;
import monty.entities.Game;
import monty.entities.Game.State;
@Service
publi... |
package edu.fatecsjc.lp2.domain.services;
import edu.fatecsjc.lp2.domain.repositorios.IRepositorio;
public abstract class DomainService <T> {
private IRepositorio<T> repositorio;
public DomainService(IRepositorio <T> repositorio)
{
this.repositorio = repositorio;
}
public void alterar(T m... |
package model;
import java.sql.Date;
public class Withdrawl {
private int withdrawl_ID;
private int amount;
private Date dateOfWithdrawl;
public Withdrawl() {
}
public Withdrawl(int withdrawl_ID, int amount, Date dateOfWithdrawl) {
super();
this.withdrawl_ID = withdrawl_ID;
this.amount = amount;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.