text
stringlengths
7
1.01M
/* * PandaDoc Public API * PandaDoc Public API documentation * * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package com.pandadoc.client.models; import java.util.Objects; import java.util...
/* * Copyright (c) 1995, 2008, Oracle and/or its affiliates. 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 * no...
/* * Copyright (c) 2011-2015 EPFL DATA Laboratory * Copyright (c) 2014-2015 The Squall Collaboration (see NOTICE) * * 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...
/** * Copyright 2016 Netflix, 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 i...
package tech.wetech.mybatis.util; import org.apache.ibatis.binding.BindingException; import tech.wetech.mybatis.builder.EntityMapperBuilder; import tech.wetech.mybatis.builder.EntityMapping; import tech.wetech.mybatis.domain.Property; import java.beans.Introspector; import java.lang.annotation.Annotation; import java...
package ru.job4j.strategypattern; public class Triangle implements Shape { @Override public String pic() { StringBuilder triangle = new StringBuilder(); triangle.append(" * \n"); triangle.append(" *** \n"); triangle.append("*****"); return triangle.toString(); } }...
/** * Copyright (C) 2006-2018 Talend Inc. - www.talend.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
package br.com.zupacademy.armando.mercadolivre.core.notifiers; public interface NotifyByEmail { default void sendNotification(String messageFrom, String subject, String messageBody, String destinyEmail) {} }
/* * Copyright (c) 2022, 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...
/* * Copyright 2014-2018 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...
// 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 data_struct.in_class.d09_11; // **************************************************************** // Dates.java // Determine whether a 2nd-millenium date entered by the user is valid // **************************************************************** import java.util.Scanner;; public class Dates { public st...
package practice.license; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * 969. 煎饼排序 * * <pre> * 给你一个整数数组 arr ,请使用 煎饼翻转 完成对数组的排序。 * * 一次煎饼翻转的执行过程如下: * * 选择一个整数 k ,1 <= k <= arr.length * 反转子数组 arr[0...k-1](下标从 0 开始) * 例如,arr = [3,2,1,4] ,选择 k = 3 进行一次煎饼翻转,反转子数组 [3,2,1] ,得到 ar...
/* * The MIT License (MIT) * * Copyright (c) 2016. Diorite (by Bartłomiej Mazur (aka GotoFinal)) * * 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 withou...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v3/services/feed_item_target_service.proto package com.google.ads.googleads.v3.services; public interface FeedItemTargetOperationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googleads.v3.servi...
/* * Copyright (C) 2021 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 2012 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 (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package io.github.mmm.crypto.asymmetric.access.ec.bc; import java.nio.charset.StandardCharsets; import java.security.PrivateKey; import java.security.PublicKey; import java.util.Arrays; imp...
/* Licensed to Diennea S.r.l. under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Diennea S.r.l. licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except ...
package com.jakespringer.lostexhaust.data; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import com.jakespringer.lostexhaust.LeServic...
/* * Copyright 2017-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package de.piegames.blockmap; import static org.junit.Assert.*; import java.io.File; import java.io.IOException; import java.net.URI; import java.nio.file.Paths; import java.util.LinkedList; import java.util.Queue; import org.joml.Vector2i; import org.joml.Vector2ic; import org.junit.Rule; import org.junit.Test; imp...
package io.keyko.nevermined.cli; import io.keyko.nevermined.NeverminedCLI; import io.keyko.nevermined.cli.models.CommandResult; import io.keyko.nevermined.cli.models.exceptions.CLIException; import io.keyko.nevermined.exceptions.DIDFormatException; import io.keyko.nevermined.models.DDO; import io.keyko.nevermined.mode...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
package com.autogram.controller; import com.autogram.model.entity.*; import com.autogram.model.orm.repository.*; import com.autogram.model.orm.specification.comment.CommentByPostIdSpecification; import com.autogram.model.orm.specification.image.ImageByPostIdSpecification; import com.autogram.model.orm.specification.li...
// Copyright 2017 JanusGraph Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
package com.cvte.cameraview.internal; import androidx.exifinterface.media.ExifInterface; import com.cvte.cameraview.internal.ExifHelper; import org.junit.Test; import static junit.framework.Assert.assertNotNull; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static ...
/* * Copyright 2013-2018 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...
/** * 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.zjmzxfzhl.modules.demo.controller; import com.zjmzxfzhl.common.core.Result; import com.zjmzxfzhl.common.core.base.BaseController; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestCont...
/** * Unit Test of the Medication Class. * * Java Runtime Environment (JRE) version used: 11.0.7 * Java Development Kit (JDK) version used: 11.0.7 * * Styling guide: Google Java Style Guide * (https://google.github.io/styleguide/javaguide.html) and * Code Conventions for the Java Programming Language (O...
/* * Copyright (c) 2021 JumpIfZero <https://github.com/JumpIfZero> */ package net.runelite.client.plugins.localloottracker; import net.runelite.client.config.Config; import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigItem; @ConfigGroup(LocalLootTrackerPlugin.CONFIG_GROUP) public ...
/* * Copyright 2000-2009 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 projetRT; import java.io.IOException; import java.net.URISyntaxException; import java.util.Scanner; public class ClassePrincipale { // Initialisation capture clavier de ce que tappe l'utilisateur static Scanner clavier = new Scanner(System.in); public static void main(final String[] args) ...
/* * 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 org.terracotta.demo.web.rest.errors; import java.io.Serializable; /** * View Model for sending a parameterized error message. */ public class ParameterizedErrorVM implements Serializable { private static final long serialVersionUID = 1L; private final String message; private final String[] para...
/** * These algorithms were implemented with the goal to experiment with them and many of them were implemented from scratch from my memory (implementing what I could still remember from class). * This file is by no means complete / tested / safe to use. * * Seriously: Using this code is really dangerous. * ...
/* * Copyright 2017-2020 original 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 applicable law or agr...
package edu.buffalo.cse.ir.wikiindexer.tokenizer.test; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; @RunWith(Suite.class) @SuiteClasses({TokenStreamTest.class, AccentRuleTest.class, ApostropheRuleTest.class, CapitalizationRuleTest.class, DateRuleTest....
/** * MIT License * * Copyright (c) 2018 yadong.zhang * * 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, mo...
package pres.lnk.springframework; import org.springframework.aop.support.AopUtils; import org.springframework.core.annotation.AnnotationUtils; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.util.ReflectionUtils; import org.springframework.util.StringUtils; import org.springframe...
package com.baeldung.disabledatasource.application; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; @SpringBootApplication(exclude=DataSourceAutoConfiguration.class) ...
package g1001_1100.s1015_smallest_integer_divisible_by_k; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; import org.junit.jupiter.api.Test; class SolutionTest { @Test void smallestRepunitDivByK() { assertThat(new Solution().smallestRepunitDivByK(...
/* * Copyright 2022 The gRPC Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
package cn.itlemon.leetcode.stack; import java.util.Stack; /** * No.42 接雨水 https://leetcode-cn.com/problems/trapping-rain-water/ * * @author itlemon <lemon_jiang@aliyun.com> * Created on 2021-06-19 */ public class No42TrappingRainWater { /** * 单调栈:O(n) * * @param height 高度数组 * @return 雨水...
package com.liyafeng.algorithm.leetcode.array; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * @author pop */ public class LeetCode_78_Subsets_Medium { /** * Given a set of distinct integers, nums, return all possible subsets (the power set). * Note: The solution set...
package com.itech75.acp.entities; import java.io.Serializable; public class LoginResponse implements Serializable{ /** * */ private static final long serialVersionUID = -6250128888631437324L; private boolean result; public boolean isResult() { return result; } public void setResult...
/* * Session.java * * Copyright (C) 2016, Tozny, LLC. * All Rights Reserved. * * Released under the Apache license. See the file "LICENSE" * for more information. */ package com.tozny.mobiledemo; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.UUID; /** * Bean that represents a sessi...
// *************************************************************************************************************************** // * 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 regardi...
package com.github.sh; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.reactive.function.c...
/** * Copyright 2009-2017 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 * * Unle...
/* * Janssen Project software is available under the Apache License (2004). See http://www.apache.org/licenses/ for full text. * * Copyright (c) 2020, Janssen Project */ package io.jans.as.server.model.session; import java.util.GregorianCalendar; import java.util.TimeZone; import javax.inject.Named; import io.j...
package cn.te0.flutter.helper; import freemarker.ext.beans.BeansWrapper; import freemarker.template.Configuration; import freemarker.template.DefaultObjectWrapper; import freemarker.template.Template; import freemarker.template.TemplateExceptionHandler; import freemarker.template.TemplateHashModel; import freemarker....
/* * Copyright 2006 The Closure Compiler 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...
package no.nav.pensjon.selvbetjeningopptjening.opptjening; import no.nav.pensjon.selvbetjeningopptjening.common.domain.Person; import no.nav.pensjon.selvbetjeningopptjening.consumer.opptjeningsgrunnlag.OpptjeningsgrunnlagConsumer; import no.nav.pensjon.selvbetjeningopptjening.consumer.pensjonsbeholdning.Pensjonsbehold...
package cn.ma.cei.model; import cn.ma.cei.model.base.xElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import java.util.List; @XmlRootElement(name = "procedures") public class xCustomProcedures extends xElement { @XmlElement(name = "function") public List...
/* * 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.tomorrowhi.thdemo.util.GreenDaoUtils; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import com.blankj.utilcode.util.LogUtils; import com.tomorrowhi.thdemo.dao.DaoMaster; import org.greenrobot.greendao.database.Database; /** * Created by zhaotaotao on 2016/11/12. * 自定义...
/* * $RCSfile: Box.java,v $ * * Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistribution of source code must retain the above copyrig...
package org.multiverse.stms.gamma.transactionalobjects.txnlong; import org.junit.Before; import org.junit.Test; import org.multiverse.api.exceptions.SpeculativeConfigurationError; import org.multiverse.stms.gamma.GammaStm; import org.multiverse.stms.gamma.transactionalobjects.GammaTxnLong; import org.multiverse.stms.g...
package org.nearbyshops.enduserappnew.ImageSliderShop; import android.os.Bundle; import android.util.Log; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentPagerAdapter; import org.nearbyshops.enduserappnew.Model.ModelImages.ItemImage; import org....
package com.sksamuel.scrimage.color; import java.util.Objects; /** * Hue/Saturation/Lightness * <p> * The hue component should be between0.0and360.0 * The saturation component should be between0.0and1.0 * The lightness component should be between0.0and1.0 * The alpha component should be between0.0and1.0 */ pub...
/* * 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 ...
/** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; } * } */ class Solution { public boolean isBalanced(TreeNode root) { return helper(root); } public boolean helper(TreeNode root) {...
package com.harsha.cloudcomputing.courseservice.service; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import java.util.stream.Collectors; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDB...
package io.github.ititus.nbtviewer; import net.minecraftforge.fml.IExtensionPoint; import net.minecraftforge.fml.ModLoadingContext; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fmllegacy.network.FMLNetworkConstants; @Mod(NbtViewer.MOD_ID) public class NbtViewer { public static final String...
/* * Copyright 2000-2010 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 2009-2020 by Justin T. Sampson * * 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 ...
/* * Copyright (c) 2017, 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/li...
/* * Copyright 2018 ConsenSys AG. * * 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 wr...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.redex.examples.proguardexample; public interface Greek { int doubleWombat(); }
package aleksander73.math.linear_algebra; public class Quaternion { private final float w; private final float x; private final float y; private final float z; public Quaternion(float w, float x, float y, float z) { this.w = w; this.x = x; this.y = y; this.z = z; ...
package org.robolectric.shadows; import static org.robolectric.util.reflector.Reflector.reflector; import android.Manifest; import android.annotation.CallbackExecutor; import android.annotation.RequiresPermission; import android.annotation.SystemApi; import android.os.Build.VERSION_CODES; import android.telephony.Sub...
/** * 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 © 2016-2019 Andy Goryachev <andy@goryachev.com> package goryachev.fx; import goryachev.common.util.CKit; import goryachev.common.util.D; import goryachev.common.util.Log; import javafx.application.Application; import javafx.scene.Node; import javafx.scene.Scene; import javafx.scene.effect.ColorAdju...
/* * Copyright (C) 2010-2019, Danilo Pianini and contributors listed in the main project's alchemist/build.gradle file. * * This file is part of Alchemist, and is distributed under the terms of the * GNU General Public License, with a linking exception, * as described in the file LICENSE in the Alchemist distribut...
/* * Copyright 2002-2017 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 ap...
/*- * ---license-start * eu-digital-green-certificates / dgca-revocation-distribution-service * --- * Copyright (C) 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 Licens...
package com.vaadin.fluent.ui; import java.util.Collection; import com.vaadin.data.provider.DataProvider; import com.vaadin.fluent.api.FluentNativeSelect; import com.vaadin.ui.NativeSelect; public class FNativeSelect<T> extends NativeSelect<T> implements FluentNativeSelect<FNativeSelect<T>, ...
package graphedit.gui.table; import graphedit.app.ApplicationMode; import graphedit.app.MainFrame; import graphedit.command.AddAttributeCommand; import graphedit.command.ChangeAttributeDataTypeCommand; import graphedit.command.ChangeAttributeOwnerCommand; import graphedit.command.ChangeAttributeTypeCommand; import gra...
/* * JFLAP - Formal Languages and Automata Package * * * Susan H. Rodger * Computer Science Department * Duke University * August 27, 2009 * Copyright (c) 2002-2009 * All rights reserved. * JFLAP is open source software. Please see the LICENSE for terms. * */ package edu.duke.cs.jflap.gui.action; import jav...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.google.android.gms.wallet; public final class R { public static final class attr { public static final int adSize = 0x7f010...
package pasa.cbentley.jpasc.pcore.rpc.model; import java.io.Serializable; import java.util.List; import pasa.cbentley.jpasc.pcore.ctx.ObjectPCore; import pasa.cbentley.jpasc.pcore.ctx.PCoreCtx; public class NodeStatus extends ObjectPCore implements Serializable { public NodeStatus(PCoreCtx pc) { super(pc);...
/* * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
package com.silverpine.uu.core; import androidx.annotation.Nullable; import com.silverpine.uu.logging.UULog; /** * Useful set of methods for manipulating Floats * */ @SuppressWarnings("unused") public class UUFloat { /** * Safely parses a string into a float * * @param s the string to parse ...
/* * Copyright 2015 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 ...
/* * Copyright 2002-2018 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...
// for any region that has exactly two external edges as PATH where the two edges are connected // within the region: // a) all remaining cells in region must be connected // b) all articulation points of rank 2 must connect their subregions import grid.graph.GridGraph; import grid.logic.LogicStatus; import grid.logic...
package sample; import java.util.ArrayDeque; import java.util.Deque; public class Sample2 { private String sample; public Sample2(String sample) { this.sample = sample; } public static void main(String[] args) { final Deque res = new ArrayDeque(); System.out.println(res); ...
/* * Copyright 2015-2018 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 ap...
package com.hedera.services.sigs.utils; /*- * ‌ * Hedera Services Node * ​ * Copyright (C) 2018 - 2020 Hedera Hashgraph, 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 * * ...
/** */ package org.afplib.afplib.impl; import org.afplib.afplib.AfplibPackage; import org.afplib.afplib.ECF; import org.afplib.base.impl.SFImpl; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.impl.ENotificationImpl; /** * <!-- begin-user-doc ...
package com.visa.ncg.canteen.domain; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; public class AccountTest { @Test public void newAccountHasZeroBalance() throws Exception { assertThat(new Account().balance()) .isZero(); } }
/* * 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 (c) Facebook, Inc. and its affiliates. * * <p>This source code is licensed under the MIT license found in the LICENSE file in the root * directory of this source tree. */ package com.facebook.react.devsupport; import android.os.Bundle; import android.preference.PreferenceActivity; import com.faceb...
package com.google.api.ads.dfp.jaxws.v201602; import java.util.List; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.ws.RequestWrapper; import javax.xml.ws.ResponseWrapper; /** * * ...
package com.ke.css.cimp.fwb.fwb12; /* ----------------------------------------------------------------------------- * Rule_SENDER_OFFICE_FUNC_DESIGNATOR.java * ----------------------------------------------------------------------------- * * Producer : com.parse2.aparse.Parser 2.5 * Produced : Tue Mar 06 10:36:09 ...
/* * Copyright 2017-2020 EPAM Systems, Inc. (https://www.epam.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
package org.jcodec.common; import java.util.concurrent.Callable; /** * This class is part of JCodec ( www.jcodec.org ) This software is distributed * under FreeBSD License * * @author The JCodec project * */ public interface PriorityCallable<T> extends Callable<T> { int getPriority(); }
package com.nhl.link.rest.it.noadapter; import static com.nhl.link.rest.unit.matcher.LRMatchers.okAndHasData; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThat; import java.io.IOException; import javax.ws.rs.WebApplicationException; import javax.ws.rs.client.Entity; import javax....