text stringlengths 7 995k |
|---|
/**
* Copyright (C) 2017 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 ap... |
/*
* Copyright (c) 2016, Regents of the University of California
* 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, 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 ... |
package com.study.study7itemprocess.job;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.JobParametersBuilder;
import org.springframework.batch.core.JobParametersInvalidException;
import org.springframework.batch.core.Step;
import org.springframework.batch.core.configuration.annotation... |
package io.onedev.server.plugin.report.markdown;
import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.Callable;
import org.hibernate.validator.constraints.NotEmpty;
import io.onedev.commons.codeassist.InputSuggestion;
import io.onedev.commons.utils.FileUtils;
import io.... |
/**
* personium.io
* Copyright 2014 FUJITSU LIMITED
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package ch.sama.sql.dbo.schema;
public interface ISchemaDiff {
public String getString(ISchemaRenderer renderer);
} |
package com.SIMRacingApps;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.net.ConnectException;
import java.net.Socket;
import java.net.SocketTimeoutException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entr... |
package uncompile.ast;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Optional;
public class SubstitutingAstVisitor extends AstVisitor { // TODO: make this an extensible visitor
private final Map<? extends Expression, Optional<Expression>> substitutions;
private bool... |
package org.psw_isa.psw_isa_backend.service;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import java.util.Li... |
/**
* pims-model org.pimslims.model.experiment ParameterTest.java
*
* @author cm65
* @date 1 Feb 2011
*
* Protein Information Management System
* @version: 3.0
*
* Copyright (c) 2011 cm65 The copyright holder has licenced the STFC to redistribute this software
*/
package org.pimslims.model.... |
package com.zdf.speciflity.functionalInterface;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.function.Consumer;
import java.util.function.Function;
import java.util.function.Predicate;
import java.util.stream.Collectors;
/**
* @Author: zhoudafu
* @Date: 2020/7/11 15... |
/*
* 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... |
package com.microsoft.applicationinsights.smoketest;
import java.util.Comparator;
import java.util.List;
import com.microsoft.applicationinsights.internal.schemav2.*;
import org.junit.Test;
import static org.junit.Assert.*;
@UseAgent("logging")
public class TraceLogBackTest extends AiSmokeTest {
@Test
@Tar... |
// Template Source: BaseEntityRequest.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------... |
// Java program to illustrate Client side
// Implementation using DatagramSocket
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.util.Scanner;
public class UDPCalculatorClient {
public static void main(String args[]) throws IOEx... |
/*
* Copyright 2010-2013 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... |
/**
* 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) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it is app... |
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.core;
/**
* Class with constants and matching strings, for DSpace types. These num... |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
import static org.lwj... |
/* sbt -- Simple Build Tool
* Copyright 2008, 2009, 2010 Mark Harrah
*/
package xsbti;
/** Intended as a lightweight carrier for scala.Option. */
public abstract class Maybe<t>
{
// private pending Scala bug #3642
protected Maybe() {}
public static <s> Maybe<s> just(final s v)
{
return new Maybe<s>() {
pu... |
package com.github.jgzl.infra.codegen.service.impl;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.util.StrUtil;
import com.baomidou.dynamic.datasource.toolkit.DynamicDataSourceContextHolder;
import com.baomidou.mybatisplus.core.meta... |
/*
* 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
* d... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.yl.imageselector.view;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.MotionEvent;
import... |
package com.legocms.data.act.sys;
import com.legocms.core.exception.BusinessException;
import com.legocms.core.vo.sys.SysPermissionCode;
import com.legocms.data.act.DeleteAction;
import com.legocms.data.dao.sys.ISysOrganizationDao;
import com.legocms.data.entities.sys.SysOrganization;
public class DeleteSysOrganizati... |
package com.hades.example.designpatterns.strategy._1_use_Inheritance;
/**
* 绿头鸭
*/
public class MallardDuck extends Duck {
@Override
public void display() {
System.out.println("绿头");
}
} |
package com.breadwallet.tools.sqlite;
/**
* BreadWallet
* <p/>
* Created by Mihail Gutan on 9/25/15.
* Copyright (c) 2016 breadwallet llc <mihail@breadwallet.com>
* <p/>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Sof... |
/**
* Node class used for implementing the BST.
*
* DO NOT MODIFY THIS FILE!!
*
* @author CS 1332 TAs
* @version 1.0
*/
public class BSTNode<T extends Comparable<? super T>> {
private T data;
private BSTNode<T> left;
private BSTNode<T> right;
/**
* Constructs a BSTNode with the given data.... |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*
* Copyright 2017 Dennis Vriend
*
* 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... |
package com.miotech.kun.datadiscovery.testing.mockdata;
import com.miotech.kun.datadiscovery.model.enums.GlossaryRole;
import com.miotech.kun.datadiscovery.model.enums.SecurityModule;
import com.miotech.kun.security.SecurityContextHolder;
import com.miotech.kun.security.facade.rpc.RoleOnSpecifiedModuleResp;
import com... |
package com.eu.habbo.messages.outgoing.guides;
import com.eu.habbo.messages.ServerMessage;
import com.eu.habbo.messages.outgoing.MessageComposer;
import com.eu.habbo.messages.outgoing.Outgoing;
public class GuideSessionPartnerIsPlayingComposer extends MessageComposer
{
public final boolean isPlaying;
public ... |
/**
* Copyright 卫志强 QQ:598748873@qq.com Inc. All rights reserved.
*/
package com.skyeye.eve.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.a... |
/**
* Expression binaire avec donc deux opérandes droit et gauche et un opérateur
* binaire.
*
* @author Xavier Crégut
* @version $Revision$
* @composed 1 "" "operateur" OperateurBinaire
* @has 1 - "gauche" Expression
* @has 1 - "droite" Expression
*/
public class ExpressionBinaire implements Expressi... |
/*
* Copyright (C) 2017-2018 Dremio 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 l... |
package com.roncoo.education.system.service.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
import com.roncoo.education.system.common.bean.qo.MsgQO;
import com.roncoo.e... |
package org.beetl.core.nativecall;
import java.util.List;
import org.beetl.core.BasicTestCase;
import org.beetl.core.Configuration;
import org.beetl.core.GroupTemplate;
import org.beetl.core.Template;
import org.beetl.core.User;
import org.beetl.core.nativecall.obj.Request;
import org.beetl.core.resource.StringTempla... |
package com.testsigma.addons.checkbox.with_attributes.web;
import com.testsigma.sdk.ApplicationType;
import com.testsigma.sdk.Result;
import com.testsigma.sdk.annotation.Action;
import com.testsigma.sdk.annotation.TestData;
import lombok.Data;
import org.openqa.selenium.NoSuchElementException;
@Data
@Action(actionTex... |
package org.gjgr.arithmetic.classic.base.tree.quadtree;
import java.awt.Shape;
import java.awt.geom.Rectangle2D;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
/**
* Created by gwd on 2016/8/13.
*/
public class QuadTree {
public static class QuadTreeNode {
... |
package org.apereo.cas.trusted.authentication.storage;
import org.apereo.cas.audit.spi.config.CasCoreAuditConfiguration;
import org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord;
import org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustStorage;
import org.apereo.cas.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 not ... |
package org.iproduct.webflux.model;
import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.time.LocalDateTime;
@Document("articles")
@Data
@NoArgsConstructor
@RequiredArgsConstructor
@AllArgsConstructor
public class Article {
@Id... |
/*
* Copyright 2007-2012 Amazon Technologies, Inc. or its affiliates.
* Amazon, Amazon.com and Carbonado are trademarks or registered trademarks
* of Amazon Technologies, Inc. or its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e... |
/*
* Copyright 2000-2014 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 mage.game.command.emblems;
import mage.abilities.Ability;
import mage.abilities.common.BeginningOfCombatTriggeredAbility;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.continuous.AddCardTypeTargetEffect;
import mage.abilities.effects.common.continuous.SetPowerToughnessTargetEffect;... |
/*
* Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package goodman.com.sun.jmx.mbeanserver;
// JMX import
import goodman.javax.management.ObjectName;
im... |
package com.skcraft.plume.util.playerdata;
import com.skcraft.plume.common.UserId;
import lombok.extern.java.Log;
import net.minecraft.nbt.CompressedStreamTools;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.server.MinecraftServer;
import net.minecraft.world.storage.SaveHandler;
import java.io.Buffere... |
package fastFood;
import java.util.HashMap;
class Order {
private static final HashMap<String, Integer> ORDERS_COUNT = new HashMap<String, Integer>();
private final Channel CHANNEL;
private int globalOrderId;
private int channelOrderId;
Order (Channel channel) {
this.CHANNEL = ch... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2009, 2010 Zimbra, Inc.
*
* The contents of this file are subject to the Zimbra Public License
* Version 1.3 ("License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the Lice... |
/**
* Copyright (c) 2013-2019 Nikita Koksharov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
package com.govnomarket.market;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class MarketApplication {
public static void main(String[] args) {
SpringApplication.run(MarketApplication.class, args);
}
} |
/*
* Copyright (C) 2020 即时通讯网(52im.net) & Jack Jiang.
* The MobileIMSDK_TCP (MobileIMSDK v5.x TCP版) Project.
* All rights reserved.
*
* > Github地址:https://github.com/JackJiang2011/MobileIMSDK
* > 文档地址: http://www.52im.net/forum-89-1.html
* > 技术社区: http://www.52im.net/
* > 技术交流群:320837163 (http://www.52im.n... |
package com.ecommerce.order.about;
public class AboutRepresentation {
private String buildNumber;
private String buildTime;
private String deployTime;
private String gitRevision;
private String gitBranch;
private String environment;
public AboutRepresentation(String buildNumber, String bu... |
package jaskell.sql;
import jaskell.script.Directive;
import jaskell.script.Parameter;
import java.util.List;
public class Alias implements Directive {
Query _query;
private Name _name;
public Alias(String name){
this._name = new Name(name);
}
@Override
public String script() {
... |
package business;
public class Sale {
private String id;
private Salesman salesman;
private double total;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Salesman getSalesman() {
return salesman;
}
public voi... |
/**
* 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 seedu.address.model.person;
import seedu.address.commons.exceptions.IllegalValueException;
/**
* Represents a Person's phone number in the address book.
* Guarantees: immutable; is valid as declared in {@link #isValidPhone(String)}
*/
public class Phone {
public static final String MESSAGE_PHONE_CONS... |
package math;
/**
* The ArithmeticOperations provides simple arithmetic operations that serve as
* hands-on practice on Unit Testing.
*
* @author agkortzis
* @version 1.0
* @since 2020-04-06
*/
public class ArithmeticOperations {
/**
* Performs the basic arithmetic operation of division.
*
* @param num... |
/*
* Adito
*
* Copyright (C) 2003-2006 3SP LTD. All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any lat... |
package org.tensorflow.lite.examples.detection;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author david
*/
public class cancion {
private String nombre;
private String artista;
private int duracion;
... |
package org.odk.collect.android.regression;
import android.Manifest;
import androidx.test.rule.GrantPermissionRule;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.RuleChain;
import org.junit.runner.RunWith;
import org.odk.collect.android.R;
import org.... |
package com.template.states.schema;
import com.google.common.collect.ImmutableList;
import com.template.states.token.Token;
import net.corda.core.contracts.Amount;
import net.corda.core.contracts.Issued;
import net.corda.core.schemas.MappedSchema;
import net.corda.core.schemas.PersistentState;
import javax.persisten... |
package org.broadinstitute.hellbender.engine;
import org.broadinstitute.hellbender.engine.filters.ReadFilter;
import org.broadinstitute.hellbender.utils.SimpleInterval;
/**
* An IntervalWalker is a tool that processes a single interval at a time, with the ability to query
* optional overlapping sources of reads, re... |
/*
* Copyright 2011-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... |
package wallSprint;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.loader.api.FabricLoader;
import javax.annotation.Nullable;
public class ClientInit implements ClientModInitializer {
public static ModConfigData config = null;
@Override
public void onInitializeClient() {
if(F... |
/*
* #%L
* ACS AEM Commons Bundle
* %%
* Copyright (C) 2019 Adobe
* %%
* 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 seedu.address.storage;
import java.io.IOException;
import java.nio.file.Path;
import java.util.Optional;
import seedu.address.commons.exceptions.DataConversionException;
import seedu.address.model.ReadOnlyUserPrefs;
import seedu.address.model.UserPrefs;
/**
* Represents a storage for {@link seedu.address.mo... |
package top.docstorm.documentstormcpu;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Import;
import org.springframework... |
//
// 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: 2015.05.11 at 04:55... |
/*
* 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.ilm;
import org.apache.http.entity.ContentTy... |
package utils;
import java.io.*;
public class JavaRunCommand {
public static void main(String args[]) throws InterruptedException {
String s = null;
try {
System.out.println("STARTING VI");
ProcessBuilder processBuilder = new ProcessBuilder("nano", "test.txt");
... |
package net.minecraft.enchantment;
import net.minecraft.inventory.EntityEquipmentSlot;
public class EnchantmentSweepingEdge extends Enchantment
{
public EnchantmentSweepingEdge(Enchantment.Rarity p_i47366_1_, EntityEquipmentSlot... p_i47366_2_)
{
super(p_i47366_1_, EnumEnchantmentType.WEAPON, p_i47366... |
package org.julioju.lbstrawmap;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.annotation.Generated;
@Generated(value = "JHipster", comments = "Generated by JHipster 7.3.1")
@Retention(Retent... |
package io.hyperfoil.core.steps;
import io.hyperfoil.api.http.HttpResponseHandlers;
import io.hyperfoil.api.http.StatusHandler;
public final class HttpRequestStepUtil {
public static HttpResponseHandlers handlers(HttpRequestStep step) {
return step.handler;
}
public static StatusHandler[] statusHandle... |
package io.mykit.wechat.mp.beans.json.oauth;
import io.mykit.wechat.mp.beans.json.base.BaseJsonBean;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.util.Map;
/**
* @Author: liuyazhuang
* @Date: 2018/7/25 15:25
* @Description: 刷新A... |
package es.upm.fi.dia.oeg.map4rdf.share.aemet;
import java.util.ArrayList;
import es.upm.fi.dia.oeg.map4rdf.share.GeoResource;
import es.upm.fi.dia.oeg.map4rdf.share.Geometry;
/**
*
* @author Daniel Garijo
*
*/
public class AemetResource extends GeoResource {
private static final long serialVersionUID = -25... |
/*
* SendinBlue API
* SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/org... |
/*
* Copyright (C) 2017 HaiYang Li
*
* 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... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
package com.adisekar;
public class QueueADT {
private int[] arr;
private int frontPtr;
private int rearPtr;
private int size;
// Insertion is done at rear end and deletion is done at front end
public QueueADT(int size) {
this.arr = new int[size + 1];
this.frontPtr = 0;
... |
package com.lingnet.vocs.action.sewage;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
... |
package edu.uw.easysrl.syntax.tagger;
import com.google.common.base.Preconditions;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import java.util.s... |
package com.finanzas_backend_spring.auth.model;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Objects;
import com.finanzas_backend_spring.user_system.models.User;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.auth... |
package com.easyweather.app.model;
public class City {
private int id;
private String cityName;
private String cityCode;
private int provinceId;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getCityName() {
return cityName;
}
public void setCityNam... |
/*
* 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 not ... |
/*
* Copyright (c) 2002-2018 Gargoyle Software 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 ... |
// HTMLParser Library $Name: v1_6_20060319 $ - A java-based parser for HTML
// http://sourceforge.org/projects/htmlparser
// Copyright (C) 2004 Somik Raha
//
// Revision Control Information
//
// $Source: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/visitorsTests/NodeVisitorTest.java,v $
// $Author: derricko... |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... |
package club.codecloud.demo.common.constant;
import java.io.Serializable;
/**
* @author: ulei
* @date: 2019-05-29
*/
public interface BaseCodeEnum {
/**
* 获取code码
*
* @return
*/
int getCode();
} |
package org.im97mori.ble.service.ess.peripheral;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCharacteristic;
import android.bluetooth.BluetoothGattDescriptor;
import android.bluetooth.BluetoothGattService;
import android.os.Build;
import org.im97mori.ble.characteristic.u2a7a.HeatInde... |
/*
* Copyright (C) 2012 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... |
/*
* 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 (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.cosmosdb.v2015_04_08.implementation;
import com.... |
package com.sequenceiq.cloudbreak.cloud.model;
import java.util.Objects;
import java.util.Set;
public class GatewayRecommendation {
private final Set<String> hostGroups;
public GatewayRecommendation(Set<String> hostGroups) {
this.hostGroups = Set.copyOf(hostGroups);
}
public Set<String> get... |
package ringo.model.exception;
public class IDFormatException extends Exception
{
/**
*
*/
private static final long serialVersionUID = 1L;
/* message = message reçu du client
*/
public IDFormatException (String message)
{
this.message = message ;
}
public String g... |
/*
* Copyright © 2021 By Geeks Empire.
*
* Created by Elias Fazel
* Last modified 4/12/21 8:50 AM
*
* Licensed Under MIT License.
* https://opensource.org/licenses/MIT
*/
package net.geeksempire.ready.keep.notes.Utils.UI.Views.ZoomingImageView;
import android.animation.Animator;
import android.animation.ValueA... |
package org.broadinstitute.hellbender.tools.walkers.varianteval.stratifications;
import htsjdk.variant.variantcontext.VariantContext;
import org.broadinstitute.hellbender.engine.FeatureContext;
import org.broadinstitute.hellbender.engine.ReadsContext;
import org.broadinstitute.hellbender.engine.ReferenceContext;
impo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.