text
stringlengths
7
995k
/** * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; ...
/* * 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 ...
/* EmptyLineSeparator allowNoEmptyLineBetweenFields = (default)false allowMultipleEmptyLines = (default)true allowMultipleEmptyLinesInsideClassMembers = (default)true tokens = (default)PACKAGE_DEF, IMPORT, STATIC_IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, \ STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VA...
package io.github.qwefgh90.handyfinder.springweb.websocket; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @JsonIgnoreProperties({ "receiver" }) public class DocumentContentMessage implements IMessage{ private String pathString; private String highlightTag; private IMessageSender receiver; public S...
/* * The MIT License (MIT) Copyright (c) 2020-2021 artipie.com * https://github.com/artipie/artipie/LICENSE.txt */ package com.artipie.metrics.publish; import com.artipie.ArtipieException; import io.prometheus.client.CollectorRegistry; import io.prometheus.client.Counter; import io.prometheus.client.Gauge; import i...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensorflow/core/protobuf/debug.proto package org.tensorflow.framework; /** * Protobuf type {@code tensorflow.DebuggedSourceFile} */ public final class DebuggedSourceFile extends com.google.protobuf.GeneratedMessageV3 implements // @@pro...
/*Lisas workbook Written By - Aditya Wagholikar*/ import java.io.*; import java.math.*; import java.security.*; import java.text.*; import java.util.*; import java.util.concurrent.*; import java.util.regex.*; public class Solution { // Complete the workbook function below. static int workbook(int n, int ...
package com.buddy.sdk; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import org.json.JSONObject; public final class JsonEnvelope<T> extends JsonEnvelopeBase { public T result; public JsonEnvelope() { } public JsonEnvelope(JsonObject json, T result) { JsonElement e...
package integration; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.is; import org.junit.Test; import utils.pageobjects.PageOne; import utils.pageobjects.PageTwo; public class PageObjectNavigationIntegrationTest extends Abstract...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.updateSettings.impl; import com.intellij.ide.IdeBundle; import com.intellij.ide.plugins.IdeaPluginDescriptor; import com.intellij.ide.plugins.PluginM...
package com.feyzian.mohammad.pets.data; import android.content.ContentProvider; import android.content.ContentValues; import android.database.Cursor; import android.net.Uri; /** * Created by Mohammad on 10/18/2016. * */ public class PetProvider extends ContentProvider { /** Tag for the log messages */ pub...
/* Copyright (C) 2014 Parrot SA 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 following dis...
package io.antmedia.rest; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.UnknownHostException; import java.nio.file.Files; import java.util.ArrayList; import java.util.List; import ...
package edu.ucla.library.iiif.auth.services; import io.vertx.codegen.annotations.ProxyClose; import io.vertx.codegen.annotations.ProxyGen; import io.vertx.codegen.annotations.VertxGen; import io.vertx.core.Future; import io.vertx.core.Vertx; import io.vertx.core.json.JsonObject; import io.vertx.serviceproxy.ServicePro...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.firebase.client.core; import com.firebase.client.*; import com.firebase.client.authentication.NoopCredentialStore; import com.firebase.client....
package models.dao; import models.domain.Frecuency; /** * * @author Pedro Ocando * 2017 */ public interface FrecuencyDao extends AbstractDao<Integer, Frecuency> { Frecuency findByPartner (Integer id_partner); }
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
/*####################################################### * * Maintained by Gregor Santner, 2017- * https://gsantner.net/ * * License of this file: Apache 2.0 (Commercial upon request) * https://www.apache.org/licenses/LICENSE-2.0 * #########################################################*/ package ne...
package com.kimi.marqueeimageviewpager; import android.content.Context; import android.graphics.Bitmap; import android.support.v4.view.PagerAdapter; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import com.nostra13.universalimageloader.core.DisplayImageOptions; import com.n...
package com.alibaba.csp.sentinel.transport.command.codec; /** * Caches default encoders and decoders. * * @author Eric Zhao */ final class DefaultCodecs { public static final Encoder<String> STRING_ENCODER = new StringEncoder(); public static final Decoder<String> STRING_DECODER = new StringDecoder(); ...
package gameengine.controllers; public interface GameController { public void step(); }
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.0...
package leetik.w80211.protocol.wlan.utils; /** * This class aims at realizing all kind of conversions involving Hexa/int/bytes * * @author Bertrand Martel */ public class ByteUtils { /** * Build a byte array to string with a prefix message * * @param message * message to print before byte ar...
/** * Jooby https://jooby.io * Apache License Version 2.0 https://jooby.io/LICENSE.txt * Copyright 2014 Edgar Espina */ package io.jooby.internal.hibernate; import io.jooby.SneakyThrows; import io.jooby.hibernate.UnitOfWork; import org.hibernate.*; import org.hibernate.context.internal.ManagedSessionContext; impor...
package testAnno; import java.lang.annotation.Annotation; import java.lang.reflect.Method; /** * Created by lemon on 2014/12/25. */ public class MyReflection { public static void main(String[] args) throws Exception { MyTest myTest = new MyTest(); Class<MyTest> c = MyTest.class; Meth...
package module14packageJava0; import java.lang.Integer; public class Foo42 { Integer int0; public void foo0() { new module14packageJava0.Foo41().foo4(); } public void foo1() { foo0(); } public void foo2() { foo1(); } public void foo3() { foo2(); } public void foo4() { foo3...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
/******************************************************************************* * Copyright 2019 alladin-IT 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.apach...
/* * Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
package ch.uzh.ifi.hase.soprafs22.constant; public enum DebateState { NOT_STARTED, ONE_USER_FOR, ONE_USER_AGAINST, READY_TO_START, ONGOING_FOR, ONGOING_AGAINST, ENDED; }
/* * 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) 2011, 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.or...
package com.mycompany.readmark.api.commen.service; import com.mycompany.readmark.bean.http.BookSeriesListResponse; import retrofit2.Response; import retrofit2.http.GET; import retrofit2.http.Path; import retrofit2.http.Query; import rx.Observable; /** * Created by Lenovo. */ public interface IBookSeriesService {...
package com.bn.Sample8_4; import android.app.Activity; import android.content.pm.ActivityInfo; import android.os.Bundle; import android.view.KeyEvent; import android.view.Window; import android.view.WindowManager; import android.widget.CompoundButton; import android.widget.LinearLayout; import android.widget.RadioButt...
/* # Licensed Materials - Property of IBM # Copyright IBM Corp. 2015 */ package com.ibm.streamsx.topology.builder; public class BInput extends BJSONObject implements BPort { private final GraphBuilder builder; protected BInput(GraphBuilder builder) { this.builder = builder; } public Graph...
package org.usfirst.frc.team4342.robot; import org.usfirst.frc.team4342.robot.auton.AutonomousRoutine; import org.usfirst.frc.team4342.robot.auton.CrossBaseline; import org.usfirst.frc.team4342.robot.auton.PlaceGear; import org.usfirst.frc.team4342.robot.auton.PlaceGearAndShootFuel; import org.usfirst.frc.team4342.rob...
package hw.hw5; import javax.swing.*; import javax.swing.BorderFactory; import javax.swing.border.Border; import java.awt.*; import javax.swing.JPanel; import javax.swing.JFrame; import javax.swing.BoxLayout; public class BorderTest { public static void main(String[] args) { GUIFrame1 frame = new GUIFrame...
package com.osu.unitrade.fragment; import android.content.res.Configuration; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.constraintlayout.widget.ConstraintLayout; import androidx.fragment.app.Fragment; import androidx.lifecycle.SavedStateHandle; import androidx.recyclerview.widget.Li...
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/** * This code was auto-generated by a tool. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.test.framework.datafactory; import java.util.List; import java.util.ArrayList; import org.apache.http.HttpStatus; import com.mozu.a...
package com.thoughtworks.reactiveatddworkshop.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.reactive.config.WebFluxConfigurer; import springfox.documentation.builders.ApiInfoBuilder; import springfox.documentation...
/* * Copyright (c) Microsoft Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * * @(#)ForwardedServlet.java 1.4 10/04/01 * * * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions *...
/* * Copyright 2000-2017 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...
/* * Copyright 2000-2021 Vaadin 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 applicable law or agreed to...
package com.atguigu.gmall.pms.controller; import java.util.List; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotat...
package com.google.hasan; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void addit...
/* * Copyright (C) 2015 The Flogger 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 a...
package com.bzh.dytt.testing; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.app.AppCompatActivity; import android.view.ViewGroup; import android.widget.FrameLayout; import com.bzh.dytt.R; /** * Used for testing fragments insid...
/* MIT License Copyright(c) 2020 Futurewei Cloud 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, merge...
/* * Copyright (C) 2010 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...
///usr/bin/env jbang "$0" "$@" ; exit $? import java.io.*; import java.net.*; import java.nio.charset.CharacterCodingException; import java.nio.file.*; import java.util.*; import com.sun.net.httpserver.*; import static java.net.HttpURLConnection.HTTP_OK; import static java.net.HttpURLConnection.HTTP_BAD_METHOD; impo...
package br.com.casadocodigo.loja.conf; import br.com.casadocodigo.loja.api.HomeAPI; import br.com.casadocodigo.loja.controllers.HomeController; import br.com.casadocodigo.loja.daos.ProdutoDAO; import br.com.casadocodigo.loja.infra.FileSaver; import br.com.casadocodigo.loja.models.CarrinhoCompras; import com.google.com...
/* * Copyright (C) 2010-2022 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.cases.api; /** * TODO */ public interface CaseEngine { }
/* * 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 de.peeeq.wurstscript.attributes; import com.google.common.collect.ImmutableCollection; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import de.peeeq.wurstscript.WurstOperator; import de.peeeq.wurstscript.ast.*; import de.peeeq.wurstscript.attributes.names.FuncLink; imp...
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2011 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 License at ...
/** * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
package com.bah.ode.model; import com.bah.ode.asn.OdeGeoRegion; import com.bah.ode.asn.OdePosition3D; import com.bah.ode.asn.oss.semi.GeoRegion; import com.bah.ode.asn.oss.semi.GroupID; import com.bah.ode.asn.oss.semi.TimeToLive; import com.bah.ode.util.CodecUtils; import com.bah.ode.util.GeoUtils; public class DotWa...
package dev.fujioka.java.avancado.web.service; import dev.fujioka.java.avancado.web.domain.Product; import dev.fujioka.java.avancado.web.repository.ProductRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Scope; import org.springframework.stereotyp...
// Copyright 2014 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
package ca.uhn.fhir.jpa.term; import ca.uhn.fhir.jpa.entity.TermCodeSystem; import ca.uhn.fhir.jpa.entity.TermCodeSystemVersion; import ca.uhn.fhir.jpa.entity.TermConcept; import ca.uhn.fhir.jpa.entity.TermConceptDesignation; import ca.uhn.fhir.jpa.entity.TermValueSet; import ca.uhn.fhir.jpa.entity.TermValueSetConcept...
package de.ihrigb.fwla.fwlacenter.services.layer; import java.util.Collections; import java.util.List; import java.util.Optional; import java.util.Set; import java.util.stream.Collectors; import org.geojson.FeatureCollection; import org.springframework.stereotype.Component; import de.ihrigb.fwla.fwlacenter.services....
package com.github.aaronshan.functions.card; import com.github.aaronshan.functions.utils.CardUtils; import org.apache.hadoop.hive.ql.exec.Description; import org.apache.hadoop.hive.ql.exec.UDF; import org.apache.hadoop.io.Text; /** * @author ruifeng.shan * date: 2016-07-25 * time: 20:14 */ @Description(name = "id...
package org.bigbluebutton.freeswitch.voice.freeswitch; import java.util.Map; import java.util.concurrent.TimeUnit; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.bigbluebutton.freeswitch.voice.events.ConferenceEventListener; import org.bigbluebutton.freeswitch.voice.events.DeskShareEndedE...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.tab; import android.content.Context; import android.content.SharedPreferences; import android.support.test.filters.Sm...
/* * Copyright (c) 2021, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * 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.apac...
package com.github.CDGDVD.UPGRADES; import net.minecraft.item.Items; import net.minecraft.item.ToolMaterial; import net.minecraft.recipe.Ingredient; public class ToolMaterialDiamond implements ToolMaterial { @Override public int getDurability() { return 1561; } @Override public float getM...
package com.erikson.zuptest.model; import java.io.Serializable; public interface AbstractEntity extends Serializable { Long getId(); }
package com.oney.WebRTCModule; import android.util.Base64; import android.util.Log; import android.util.SparseArray; import androidx.annotation.Nullable; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.Promise; import com.facebook.react.bridge.ReadableMap; import com.facebook.react.bridg...
/** * Copyright (c) 2005-2017 The Apereo Foundation * * Licensed under the Educational Community 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://opensource.org/licenses/ecl2 * * Unless requ...
// -------------------------------------------------------------------------------- // Copyright 2002-2021 Echo Three, LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http:/...
/** * Copyright (C) 2010-2014 Think Big Analytics, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
package io.quarkus.cache.test.runtime; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import java.io.IOException; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; import org.junit.jupiter.api.Test; import org.ju...
package com.example.gateway.security.jwt; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.util.StringUtils; import org.springframework.web.filter.GenericFilterBean; import javax.servlet.FilterChain; import java...
package bayoubot.core; /** * Represents the mode of a GPIO pin. (INPUT or OUTPUT) */ public enum PinMode { INPUT, OUTPUT; }
package de.danoeh.antennapod.core; import android.app.Application; import android.content.Context; import android.content.Intent; /** * Callbacks related to the application in general */ public interface ApplicationCallbacks { /** * Returns a non-null instance of the application class */ Applicat...
package com.bingbingbb.admin.module.article.service.impl; import com.bingbingbb.admin.module.article.service.CommentService; import com.bingbingbb.admin.module.article.entity.BCommentEntity; import com.bingbingbb.common.base.BaseRepository; import org.springframework.stereotype.Service; /** * @ClassName: CommentServ...
/** * */ /** * @author pm286 * */ package org.contentmine.pdf2svg;
/* * Copyright (c) 2018 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.schema.util; import com.evolveum.midpoint.prism.PrismContext; import com.evolveum.midpoint.prism.query.O...
package quark_ffi_signatures_md; public class interfaces_RazFaz_quark_Object__m3_Method extends quark.reflect.Method implements io.datawire.quark.runtime.QObject { public interfaces_RazFaz_quark_Object__m3_Method() { super("quark.void", "m3", new java.util.ArrayList(java.util.Arrays.asList(new Object[]{"qu...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package org.apache.airavata.datalake.metadata.backend.neo4j.curd.operators; import org.apache.airavata.datalake.metadata.backend.Connector; import org.apache.airavata.datalake.metadata.backend.neo4j.model.nodes.Entity; import org.apache.airavata.datalake.metadata.backend.neo4j.model.nodes.Tenant; import org.neo4j.ogm....
package deposit; public interface DepositInterfaceAdvanced extends DepositInterface { public double calcProfit(); }
package org.hva.createit.sensei.ui; import android.bluetooth.BluetoothGattCharacteristic; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.ServiceConnection; import ...
package kr.co.popone.fitts.feature.post.upload.create; import io.reactivex.functions.Function; import kotlin.jvm.internal.Intrinsics; import kr.co.popone.fitts.model.post.PostViewData; import org.jetbrains.annotations.NotNull; final class CreatePostActivity$onCreate$32<T, R> implements Function<T, R> { public sta...
/* * 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.github.easyware.easyapiapp; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; /** * */ @SpringBootTest class EasyApiApplicationTests { @Test void contextLoads() { } }
/* * Copyright 2014-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.autonubil.mxgraph; import java.awt.Color; import java.awt.image.RenderedImage; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java...
package combining.decorator; public interface Quackable { public void quack(); }
/* * 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 ...
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2019 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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...
package com.example.sutd_social.firebase; public class Admin { private static Admin ourInstance = null; private static String id; private Admin() { } public static Admin init(String id) { if (ourInstance == null) { ourInstance = new Admin(); Admin.id = id; ...
/* * Copyright (c) 2019-2021 GeyserMC. http://geysermc.org * * 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,...
package com.mobius.software.mqttsn.parser.tests.util; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufUtil; import com.mobius.software.mqttsn.parser.Parser; import com.mobius.software.mqttsn.parser.packet.api.SNMessage; public class StaticData { public static String messageToHex(SNMessage message) { ...
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
/* * 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...
package jtest; import jtest.OtherClass; public class MyClass { public static void main(String[] args) { // works only with {"say": "<name>"} String name = args[0].split(":")[1].split("\"")[1]; System.out.println(new OtherClass("hello " + name).arg); } }
/** * Copyright 2005-2015 Red Hat, Inc. * * Red Hat 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/LICENSE-2.0 * * Unless r...