text stringlengths 7 995k |
|---|
package com.example.guest.chatdawgz.models;
import org.parceler.Parcel;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@Parcel
public class Chat {
private String id;
Map<String, Boolean> users = new HashMap<>();
public Chat() {}
public void addUse... |
/**
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith... |
package pl.sdacademy.zdjavapol33.java.zaawansowana.lambda;
import pl.sdacademy.zdjavapol33.java.zaawansowana.adnotacje.JavaTopic;
import pl.sdacademy.zdjavapol33.java.zaawansowana.adnotacje.MainClass;
import java.util.function.Predicate;
/**
* @author : Jakub Olszewski [http://github.com/jakub-olszewski]
* @projec... |
/*
* 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.mmall.dao;
import com.mmall.pojo.User;
import org.apache.ibatis.annotations.Param;
public interface UserMapper {
int deleteByPrimaryKey(Integer id);
int insert(User record);
int insertSelective(User record);
User selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(User ... |
package nl.sri.devCloud.service.impl;
import nl.sri.devCloud.entity.VProject;
import nl.sri.devCloud.mapper.VProjectMapper;
import nl.sri.devCloud.service.IVProjectService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* VIEW 服务实现类
* </... |
package com.cursoandroid.sqlite;
import android.app.Activity;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.Toast;
public class MainActivity extends Activity {
... |
package Question02;
public class Student implements IPerson{
private String StudentID;
private int Grade;
public Student(String sstudentID, int grade) {
super();
StudentID = sstudentID;
Grade = grade;
}
@Override
public String displayDetails() {
return "Student = "+ this.StudentID+", Grade ="+this.Gr... |
package com.example;
/**
* @author Lody
*/
public class ReflectException extends RuntimeException {
public ReflectException(String message, Throwable cause) {
super(message, cause);
}
public ReflectException(Throwable cause) {
super(cause);
}
} |
package com.sequenceiq.cloudbreak.cloud.task;
import java.util.List;
import javax.inject.Inject;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;
import com.sequenceiq.cloudbreak.cloud.CloudConnector;
import com.sequenceiq.cloudbreak.cloud.InstanceConnector;
im... |
package com.bozhilov.boocarep.domain.annotations;
import com.bozhilov.boocarep.utils.Constants;
import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.... |
/*
* The MIT License
* Copyright © 2014-2019 Ilkka Seppä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, copy... |
import java.util.*;
/*
* @author -- rajatgoyal715
*/
public class SeparateTheNumbers {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int q = in.nextInt();
label:
for(int a0 = 0; a0 < q; a0++){
String s = in.next();
fo... |
/*
* Copyright 2007 - 2019 Ralf Wisser.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 签署区
*
* @author auto create
* @since 1.0, 2020-05-06 13:44:20
*/
public class SignFieldBean extends AlipayObject {
private static final long serialVersionUID = 1344175943417977998L;
/**
... |
/*
*Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*WSO2 Inc. licenses this file to you under the Apache License,
*Version 2.0 (the "License"); you may not use this file except
*in compliance with the License.
*You may obtain a copy of the License at
*
*http://www.apache.org/licenses/LI... |
package uk.gov.pay.api.service;
import uk.gov.pay.api.auth.Account;
import uk.gov.pay.api.exception.GetChargeException;
import uk.gov.pay.api.exception.GetEventsException;
import uk.gov.pay.api.exception.GetRefundsException;
import uk.gov.pay.api.exception.GetTransactionException;
import uk.gov.pay.api.exception.Searc... |
package org.gbif.pipelines.tasks.interpret;
import java.io.File;
import java.util.Objects;
import java.util.Optional;
import java.util.StringJoiner;
import lombok.Builder;
import lombok.NonNull;
import lombok.extern.slf4j.Slf4j;
import org.gbif.api.model.pipelines.StepRunner;
import org.gbif.common.messaging.api.messa... |
package com.medusa.gruul.sms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.medusa.gruul.sms.model.entity.TSmsProviderEntity;
import java.util.List;
/**
* t_sms_provider表
*
* @author system
*
*/
public interface TSmsProviderEntityMapper extends BaseMapper<TSmsProviderEntity> {
/**... |
package com.maodun.schedule;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
import java.util.Date;
@Configuration
@Slf4j
public class ScheduleDemo {
// @Scheduled(cron = "0/2 * * * * ?")
public void demo() {
log.info("触发调度 : {}", new Date());
}... |
package com.systelab.seed.model.patient;
import com.systelab.seed.model.user.User;
import com.systelab.seed.util.pagination.Page;
public class UsersPage extends Page<User> {
} |
package com.mycrawler.tutuorial.activemq;
public class ActiveMQNotifierFactory implements INotifierFactory {
private static ActiveMQNotifierFactory instance = null;
public static ActiveMQNotifierFactory getInstance() {
if (instance == null) {
synchronized (ActiveMQReceiverFactory.class) {
instance = n... |
package exception;
public class PriceException extends Exception {
public PriceException(String errorMessage) {
super(errorMessage);
}
} |
package com.universl.hp.vehicle_sale_app.helper;
import android.annotation.TargetApi;
import android.content.ContentUris;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.os.Build;
import android.os.Environment;
import android.provider.DocumentsContract;
import and... |
/*-
* ---license-start
* EU Digital Green Certificate Gateway Service / dgc-gateway
* ---
* Copyright (C) 2021 - 2022 T-Systems International GmbH and all other contributors
* ---
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
package br.com.zup.projetopropostacartao.carteiras;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
public class CarteiraRequest {
@NotBlank
@Email
private String email;
@NotNull
private TipoCarteira carteira;
... |
package creationalPatterns.builderPattern.meal;
public interface Packing {
String pack();
} |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v10/services/keyword_plan_service.proto
package com.google.ads.googleads.v10.services;
public interface MutateKeywordPlansResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v10.servi... |
/*
* Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com>
*/
package play.db;
import java.sql.Connection;
import javax.sql.DataSource;
/**
* Database API for managing data sources and connections.
*/
public interface Database {
/**
* The configuration name for this database.
*/
public String get... |
package net.spy.memcached.protocol.ascii;
import net.spy.memcached.ops.APIType;
import net.spy.memcached.ops.GetsOperation;
import java.util.Collection;
import java.util.HashSet;
/**
* Operation for retrieving data.
*/
public class MGetsOperationImpl extends BaseGetOpImpl implements GetsOperation {
private stat... |
package models.entity;
import javax.persistence.*;
import java.util.*;
/**
* Created by Роман on 27.11.2016.
* Contains all the answers from fields from user
*/
@javax.persistence.Entity
public class Response implements Comparable<Response> {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column... |
package org.touchhome.bundle.weather.setting;
import org.touchhome.bundle.api.setting.SettingPluginOptionsBean;
import org.touchhome.bundle.weather.WeatherProvider;
import org.touchhome.bundle.weather.providers.OpenWeatherMapProvider;
public class WeatherProviderSetting implements SettingPluginOptionsBean<WeatherProv... |
package seedu.guilttrip.ui.reminder;
import java.util.List;
import java.util.logging.Logger;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.scene.control.ListCell;
import javafx.scene.control.ListView;
import javafx.scene.layout.Region;
import... |
/* Copyright 2002-2021 CS GROUP
* Licensed to CS GROUP (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
package com.jetbrains.ther.run.debug;
import com.intellij.openapi.fileTypes.FileType;
import com.intellij.openapi.fileTypes.FileTypeManager;
import com.intellij.openapi.project.Project;
import com.intellij.psi.FileViewProvider;
import com.intellij.psi.PsiManager;
import com.intellij.psi.SingleRootFileViewProvider;
imp... |
package com.silent;
import java.util.HashSet;
import java.util.Set;
/**
* Author liutao
* Date 2020/5/6 10:32 下午
* Description:
* Version: 1.0
**/
public class leetcode_733 {
public int[][] floodFill(int[][] image, int sr, int sc, int newColor) {
int chang=image.length;
int kuang=image[0].l... |
/*
* 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.studio4plus.homerplayer.analytics;
import android.content.Context;
import android.util.Log;
import androidx.annotation.NonNull;
import java.util.Map;
public class StatsLogger {
private final static String TAG = "StatsLogger";
public StatsLogger(@NonNull Context ignored) {
}
public voi... |
package org.perfcake.pc4idea.impl.editor.modelwrapper.component;
import org.perfcake.model.Scenario;
import org.perfcake.pc4idea.api.editor.editor.ContextProvider;
import org.perfcake.pc4idea.api.editor.modelwrapper.component.AccessibleModel;
import org.perfcake.pc4idea.api.editor.modelwrapper.component.HasGUIChildren... |
package org.edx.mobile.test.module;
import org.edx.mobile.base.BaseTestCase;
import org.edx.mobile.base.Injector;
import org.edx.mobile.model.VideoModel;
import org.edx.mobile.model.api.ProfileModel;
import org.edx.mobile.model.db.DownloadEntry;
import org.edx.mobile.model.db.DownloadEntry.DownloadedState;
import org.... |
package com.paradigmadigital.from0tocloud.monolithbackend.model;
import org.springframework.data.annotation.Id;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ServiceItem {
@Id
private String id;
private String name;... |
package org.nd4j.autodiff.execution;
import org.nd4j.autodiff.execution.conf.ExecutorConfiguration;
import org.nd4j.autodiff.samediff.SameDiff;
import org.nd4j.autodiff.samediff.SDVariable;
import org.nd4j.linalg.api.ndarray.INDArray;
import java.io.File;
import java.nio.ByteBuffer;
/**
* @author raver119@gmail.com... |
package kaflib.utils;
import java.security.MessageDigest;
import java.util.ArrayList;
/*
* Copyright (c) 2015 Christopher Ritchie
*
* 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 wi... |
package org.intermine.api.results;
/*
* Copyright (C) 2002-2014 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.... |
/*
* Copyright (c) 2015-present, Parse, LLC.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com.par... |
package com.bitdubai.fermat_pip_api.layer.pip_network_service.subapp_resources.exceptions;
import com.bitdubai.fermat_api.FermatException;
/**
* Created by natalia on 2015.07.28..
*/
public class CantGetLanguageFileException extends FermatException {
/**
* This is the constructor that every inherited Ferma... |
package ij;
import ij.util.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.io.File;
import java.applet.Applet;
import java.awt.event.*;
/**
This class installs and updates ImageJ's menus.
@see ImageJ
*/
public class Menus {
public static final char PLUGINS_MENU = 'p';
public static f... |
//,temp,CloudStackPrimaryDataStoreDriverImpl.java,127,143,temp,BaseImageStoreDriverImpl.java,314,339
//,3
public class xxx {
@Override
public List<DatadiskTO> getDataDiskTemplates(DataObject obj) {
List<DatadiskTO> dataDiskDetails = new ArrayList<DatadiskTO>();
if (s_logger.isDebugEnabled()) {
... |
package net.honarnama.sell.fragments;
import com.google.android.gms.analytics.HitBuilders;
import com.google.android.gms.analytics.Tracker;
import net.honarnama.GRPCUtils;
import net.honarnama.base.BuildConfig;
import net.honarnama.base.fragment.HonarnamaBaseFragment;
import net.honarnama.base.utils.NetworkManager;
... |
// $Id: EditingFinishedExtFactory.java,v 1.1 2009/10/09 15:58:40 jim Exp $
package us.temerity.pipeline.core.exts;
import us.temerity.pipeline.*;
import us.temerity.pipeline.event.*;
import java.io.*;
/*------------------------------------------------------------------------------------------*/
/* E D I T I N G ... |
/*
* */
package com.synectiks.process.server.rest.resources.streams.requests;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.auto.value.AutoValue;
import org.graylog.autovalue.WithBean... |
package com.atguigu.gulimall.order.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.order.entity.OrderOperateHistoryEntity;
import java.util.Map;
/**
* 订单操作历史记录
*
* @author huang_2
* @email huang_2@gmail.com
* @date 2020-... |
package th.watsize.filebrowser;
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.FileNameMap;
import ja... |
/**
* Copyright Indra Soluciones Tecnologías de la Información, S.L.U.
* 2013-2019 SPAIN
*
* 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... |
// Copyright 2004-present Facebook. All Rights Reserved.
package com.facebook.debug.tags;
import android.graphics.Color;
import com.facebook.debug.debugoverlay.DebugOverlayTag;
/** Category for debug overlays. */
public class ReactDebugOverlayTags {
public static final DebugOverlayTag PERFORMANCE =
new Debu... |
package com.google.mobilesafe.utils;
import android.app.ActivityManager;
import android.app.ActivityManager.RunningServiceInfo;
import android.app.Service;
import android.content.Context;
import java.util.List;
/**
* ============================================================
* Copyright:Google有限公司版权所有 (c) 2017
*... |
package net.minecraft.command.arguments;
import com.google.gson.JsonParseException;
import com.mojang.brigadier.StringReader;
import com.mojang.brigadier.arguments.ArgumentType;
import com.mojang.brigadier.context.CommandContext;
import com.mojang.brigadier.exceptions.CommandSyntaxException;
import com.mojang.brigadie... |
package ai.yue.library.data.jdbc.client;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.springframework.jdbc.core.namedparam.BeanPropertySqlParameterSource;
import org.springframework.jdbc.core.namedparam.MapSqlParameterSource;
import org.springframework.jdbc.core.namedparam.Named... |
package br.org.jrjosecarlos.notamarvelapi.controller.converters;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.OffsetDateTime;
import java.time.ZoneOffset;
import java.time.format.DateTimeFormatter;
import java.time.format.DateTimeParseException;
import org.s... |
package deltix.qsrv.testsetup;
import deltix.timebase.messages.InstrumentMessage;
/**
*
*/
public class StringMessage extends InstrumentMessage {
public static final String TYPE_NAME = StringMessage.class.getName ();
public String data;
@Override
public String toSt... |
package com.young.mall.service;
import com.young.db.entity.YoungIssue;
import java.util.List;
import java.util.Optional;
/**
* @Description: 问题
* @Author: yqz
* @CreateDate: 2020/11/8 21:43
*/
public interface MallIssueService {
/**
* 分页查询
*
* @param question 关键词
* @param page 分页
... |
package com.github.rosklyar.client.node.domain;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;
@EqualsAndHashCode
@ToString
public class ExtendedNodeInfo {
public final Node node;
public final... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v6/resources/feed.proto
package com.google.ads.googleads.v6.resources;
public interface FeedAttributeOperationOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v6.resources.FeedAttributeO... |
/*
* MIT License
*
* Copyright (c) 2018 Andavin
*
* 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, ... |
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* Copyright (c) 2019 Fraunhofer Institute for Manufacturing Engineering and Automation (IPA).
* Authors: Daniel Schel
*
* 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
*
* h... |
/*
* Copyright 2014-2019 Logo Business Solutions
* (a.k.a. LOGO YAZILIM SAN. VE TIC. A.S)
*
* 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.... |
package search;
import org.junit.Test;
import java.util.List;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
public class PhoneDictionaryTest {
@Test
public void whenFindByName() {
PhoneDictionary phones = new PhoneDictionary();
phones.add(
... |
package com.learn.dev.reactivespring.fluxandmonoplayground;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import reactor.core.publisher.Flux;
import reactor.test.StepVerifier;
import java.time.Duration;
public class FluxAndMonoWithTimeTest {
@Test
void infiniteSequence() throw... |
package org.ovirt.engine.ui.uicommon.models.vms;
import java.util.Collections;
import org.ovirt.engine.core.compat.*;
import org.ovirt.engine.ui.uicompat.*;
import org.ovirt.engine.core.common.businessentities.*;
import org.ovirt.engine.core.common.vdscommands.*;
import org.ovirt.engine.core.common.queries.*;
import or... |
package com.benwunet.msg.section.group.activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.TextView;
import... |
import static org.junit.Assert.assertEquals;
import edu.ucalgary.ensf409.*;
import org.junit.Test;
public class StringProcessorTest{
@Test
public void testAddTogetherMirror(){
String input="Zhifan Li";
StringProcessor processor=new StringProcessor(input);
String result=processor.a... |
package aeadvent.code2021.day12.istvan;
import org.junit.jupiter.api.Test;
import static aeadvent.code2021.day12.istvan.Cave.fromString;
import static org.assertj.core.api.Assertions.assertThat;
public class SingleSmallCaveDoubleVisitPathTest {
private OnlyMultiVisitBigCavePath p = new SingleSmallCaveDoubleVis... |
/*
* Copyright (c) 2021 enpasos GmbH
*
* 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 hr.ngs.templater.example;
import hr.ngs.templater.Configuration;
import hr.ngs.templater.ITemplateDocument;
import java.awt.*;
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.List;
import org.joda.time.LocalDate;
public class ListExample {
@SuppressWarnings... |
/**
* Copyright (C) 2006-2009 Dustin Sallings
* Copyright (C) 2009-2011 Couchbase, Inc.
*
* 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 limitati... |
import org.junit.Test;
import static org.junit.Assert.*;
public class HelloTest {
@Test public void Hello() {
Hello classUnderTest = new Hello();
}
} |
/*
*AVISO LEGAL
© Copyright
*Este programa esta protegido por la ley de derechos de autor.
*La reproduccion o distribucion ilicita de este programa o de cualquiera de
*sus partes esta penado por la ley con severas sanciones civiles y penales,
*y seran objeto de todas las sanciones legales que correspondan.
*Su conteni... |
/*
* -----------------------------------------------------------------------------
* VIPER SOFTWARE SERVICES
* -----------------------------------------------------------------------------
*
* MIT License
*
* Copyright (c) #{classname}.html #{util.YYYY()} Viper Software Services
*
* Perm... |
package archive;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import org.firstinspires.ftc.robotcore.external.ClassFactory;
import org.firstinspires.ftc.robotcore.external.matrices.OpenGLMat... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
// put your code here
int number1 = scanner.nextInt();
int number2 = scanner.nextInt();
int number3 = scanner.nextInt();
int number4 = scanner.n... |
package com.usaa.bank.asset.index.api.domain.asset.shared.library;
import com.usaa.bank.asset.index.api.domain.asset.IComputeAsset;
/**
* Implementing this interface allows the implemented class to be considered as an variation of ISharedLibrary.
*/
public interface ISharedLibrary extends IComputeAsset {
/**
... |
/*
* 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.ml.action;
import org.apache.logging.log4j.Lo... |
package me.academeg.blog.api.utils;
import me.academeg.blog.api.Constants;
import me.academeg.blog.api.common.ApiResult;
import me.academeg.blog.api.common.ApiResultWithData;
import me.academeg.blog.api.common.ArbitraryResult;
import me.academeg.blog.api.common.CollectionResult;
import org.junit.Test;
import org.mocki... |
package com.liveramp.workflow.state;
import java.io.IOException;
import java.util.List;
import com.google.common.collect.Sets;
import org.apache.hadoop.util.Time;
import org.junit.Before;
import org.junit.Test;
import com.liveramp.commons.Accessors;
import com.liveramp.databases.workflow_db.DatabasesImpl;
import com... |
/**
* This class is part of the Programming the Internet of Things project.
*
* It is provided as a simple shell to guide the student and assist with
* implementation for the Programming the Internet of Things exercises,
* and designed to be modified by the student as needed.
*/
package programmingtheiot.gda.s... |
/*
* KIELER - Kiel Integrated Environment for Layout Eclipse RichClient
*
* http://www.informatik.uni-kiel.de/rtsys/kieler/
*
* Copyright 2010 by
* + Christian-Albrechts-University of Kiel
* + Department of Computer Science
* + Real-Time and Embedded Systems Group
*
* This code is provided under the t... |
/*
* 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.qianmi.open.api.request;
import com.qianmi.open.api.tool.util.RequestCheckUtils;
import java.util.Map;
import com.qianmi.open.api.QianmiRequest;
import com.qianmi.open.api.tool.util.QianmiHashMap;
import com.qianmi.open.api.response.RechargeBaseCalcPriceResponse;
import com.qianmi.open.api.ApiRuleExceptio... |
package com.example.simpletodo;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import java.util.List;
//Responsible for displaying data from the model in... |
package edu.stanford.integrator.util;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;
public class Gzip {
public stati... |
/*
* 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 2009-2014 PrimeTek.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package com.melvin.share.view;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import com.melvin.share.R;
/**
* Created b... |
package org.springframework.orm.jpa.hibernate;
import javax.persistence.EntityManager;
import org.hibernate.FlushMode;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.junit.Test;
import org.springframework.aop.framework.ProxyFactory;
import org.springframework.aop.target.SingletonTarget... |
package org.apache.tools.ant.taskdefs;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.taskdefs.launcher.CommandLauncher;
/**
* Task that configures the {@link
* org.apache.tools.ant.taskdefs.launcher.CommandLauncher} to used
* when starting external proces... |
package com.ef.persistence;
import java.util.Collection;
import javax.sql.DataSource;
import org.sql2o.Connection;
import org.sql2o.Query;
import org.sql2o.Sql2o;
import com.ef.domain.BlockedAddress;
public class BlockedAddressRepository {
private Sql2o db;
public BlockedAddressRepository(DataSource dataSource)... |
/*
* MIT License
*
* Copyright (c) ReformCloud-Team
* Copyright (c) contributors
*
* 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 th... |
/*
* 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 n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.