text
stringlengths
7
1.01M
/* * 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.time.admin.service.impl; import com.time.admin.dao.MenuDAO; import com.time.admin.model.dto.QueryParam; import com.time.admin.service.MenuService; import com.time.common.core.model.domain.MenuDO; import com.time.common.core.model.dto.Page; import org.springframework.beans.factory.annotation.Autowired; imp...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.chaptersubject.dao; import com.thinkgem.jeesite.common.persistence.CrudDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; import com.thinkgem...
package com.fishercoder.solutions; public class _2125 { public static class Solution1 { public int numberOfBeams(String[] bank) { int ans = 0; for (int i = 0; i < bank.length; ) { String currRow = bank[i]; if (currRow.indexOf('1') == -1) { ...
package laurencewarne.secondspace.common.system; import java.util.Optional; import com.artemis.ComponentMapper; import com.artemis.annotations.All; import com.artemis.systems.IteratingSystem; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.physics.box2d.Body; import laurencewarne.secondspace.common.col...
/** * 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...
/* * 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. */ package com.qinliming.core.ann; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annot...
package com.alibaba.dubbo.demo.adaptive; /** * Copyright 2018/7/7 lcfarm All Rights Reserved * 请添加类/接口的说明: * * @Package: com.njq.nongfadai.samples.loader.adaptive * @author: Jerrik * @date: 2018/7/7 0:13 */ import com.alibaba.dubbo.common.extension.ExtensionLoader; public class Validation$Adpativ...
package com.mie.dao; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import com.mie.model.Storage; import com.mie.util.DbUtil; /* * This class accesses the database to populate and return a list filled...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: conformance.proto package com.google.javascript.jscomp; /** * Protobuf type {@code jscomp.Requirement} * * <pre> * A specification of code requirements * </pre> */ public final class Requirement extends com.google.protobuf.GeneratedMess...
package org.gene.search.consumer; import io.quarkus.vertx.ConsumeEvent; import io.smallrye.reactive.messaging.kafka.KafkaRecord; import lombok.extern.slf4j.Slf4j; import org.eclipse.microprofile.reactive.messaging.Channel; import org.eclipse.microprofile.reactive.messaging.Emitter; import org.eclipse.microprofile.reac...
package driver; import java.io.File; import java.io.PrintStream; import java.util.ArrayList; import java.util.Locale; import fileIO.ByteFile; import fileIO.FileFormat; import fileIO.ReadWrite; import shared.Parse; import shared.Parser; import shared.PreParser; import shared.ReadStats; import shared.Shared; import sha...
/* * Copyright 2017 * Ubiquitous Knowledge Processing (UKP) Lab * Technische Universität Darmstadt * * 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/lice...
/* * Copyright 2005 The Apache Software Foundation. * * 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 cc.mrbird.febs.scm.service; import cc.mrbird.febs.scm.entity.ScmBSendorder; import cc.mrbird.febs.scm.entity.ViewSupplyplan; import com.baomidou.mybatisplus.extension.service.IService; import java.util.List; import com.baomidou.mybatisplus.core.metadata.IPage; import cc.mrbird.febs.common.domain.QueryRequest;...
/** * Copyright 2008 Marvin Herman Froeder * 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 ag...
package com.limpoxe.fairy.util; import android.content.Context; import android.os.Build; import android.util.Base64; import android.util.Log; import java.io.File; import java.io.FileOutputStream; import java.lang.reflect.Method; import dalvik.system.DexFile; import static android.os.Build.VERSION.SDK_INT; /** * C...
/* * Copyright (C) 2006-2013 Bitronix Software (http://www.bitronix.be) * * 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 cn.lastwhisper.jvm.tmp.stack.java1; /** * @author shkstart * @create 2020 下午 10:25 */ public class OperandStackTest { // 一、操作数栈 public void testAddOperation() { //byte、short、char、boolean:都以int型来保存 byte i = 15; int j = 8; int k = i + j; // int m = 800; ...
package com.gentics.mesh.etc.config; import java.io.File; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyDescription; import com.gentics.mesh.doc.GenerateDocumentation; import com.gentics.mesh.etc.config.env...
package edu.ucsc.cs; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import java.util.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import or...
package de.weightlifting.app.archive; import android.os.Bundle; import android.util.Log; import de.weightlifting.app.ArchiveFragment; import de.weightlifting.app.WeightliftingApp; import de.weightlifting.app.buli.Table; import de.weightlifting.app.buli.TableFragment; import de.weightlifting.app.helper.API; import de....
package group.xuxiake.common.zookeeper; import lombok.Data; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** * Author by xuxiake, Date on 2020/3/13 16:41. * PS: Not easy to write code, please indicate. * Description:保存服务器列表 */ @Data publi...
/* * Copyright 2017 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 com.atlassian.clover.idea.config; import com.atlassian.clover.CloverLicenseInfo; import com.atlassian.clover.cfg.instr.java.LambdaInstrumentation; import com.atlassian.clover.idea.config.regexp.Regexp; import com.atlassian.clover.util.collections.Pair; import org.jetbrains.annotations.Nullable; import javax.s...
/* * Copyright 2020 Google 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * 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 ...
/* * 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 se.lth.cs.docforia.memstore; /* * Copyright 2016 Marcus Klang * * 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 re...
// Copyright (c) 2010 Jessica Lundberg and Andreas Lundberg /** * Author: Jessica Anderson * Created: March 3, 2010 * */ package model; /** Takes two objects and pairs them in a data structure. * * @author Jessica Anderson * */ public class Pair<T, S> { private final T first; private fina...
package org.openstack4j.model.identity.v2.builder; import org.openstack4j.common.Buildable.Builder; import org.openstack4j.model.identity.v2.Tenant; /** * A Builder which creates a Identity Tenant * * @author jeremy */ public interface TenantBuilder extends Builder<TenantBuilder, Tenant> { /** * @see Tenant...
package me.Abhigya.core.util.bossbar.version.v1_8_R3; import me.Abhigya.core.util.bossbar.version.oldest.BossBarOldest; import me.Abhigya.core.util.reflection.bukkit.BukkitReflection; import me.Abhigya.core.util.server.Version; import net.minecraft.server.v1_8_R3.*; import org.bukkit.Location; import org.bukkit.entity...
/* * Copyright (C) 2015 Sony Mobile Communications 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 applicab...
package net.commotionwireless.olsrinfo.datatypes; /** * A gateway that <tt>olsrd</tt> is aware of. * * Written as part of the Commotion Wireless project * * @author Hans-Christoph Steiner <hans@eds.org> * @see <a href="https://code.commotionwireless.net/projects/commotion/wiki/OLSR_Configuration_and_Management...
package com.digevil.gatewayscg; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.gateway.route.RouteLocator; import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder; import org.springframework.con...
package controlers; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet("/aproposdenous") public class ServletApro...
/* * * * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.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/...
/* * Copyright 2014-2020 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 ru.stqa.pft.addressbook.appmanager; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; public class NavigationHelper extends BaseHelper { public NavigationHelper(WebDriver wd) { super(wd); } public void groupPage() { if (isElementPresent(By.tagName("h1")) && wd.f...
package com.github.diegopacheco.sandbox.java.consistent.hash; public interface HashFunction { public Integer hash(Object key); }
package edu.prahlad.java.course3.interfaceMethods.defaultMethods.diamondProblem; public interface InterfaceA { default void printSomething(){ System.out.println("I am inside A interface"); } }
// Copyright 2017 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
/* * Copyright 2013 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 ...
import java.util.Scanner; import java.util.stream.IntStream; public class Solution { public static void main(String[] args) { try (final Scanner scanner = new Scanner(System.in)) { final int t = scanner.nextInt(); IntStream.rangeClosed(1, t).mapToLong(testNum -> { fi...
/* * Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved. * http://www.jaspersoft.com. * * Unless you have purchased a commercial license agreement from Jaspersoft, * the following license terms apply: * * This program is free software: you can redistribute it and/or modify * it under the terms...
// -------------------------------------------------------------------------------- // Copyright 2002-2022 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:/...
package Tables; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import DAO.UserDAO; import Database.Const; import Database.DBConnection; import JavaBean.Product; import JavaBean.User; import Screens.TableViewItems.Scree...
/* * MIT License * * Copyright (c) 2020 Max Weis * * 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 2007 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
package com.whiterabbit.simplemtaapp; import android.app.Activity; import android.app.ListActivity; import android.app.LoaderManager; import android.app.ProgressDialog; import android.content.Context; import android.content.CursorLoader; import android.content.Intent; import android.content.Loader; import android.data...
/* * Copyright (C) 2020-2022 Objectos Software LTDA. * * 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 com.google.api.graphql.rejoiner; import com.google.auto.value.AutoValue; import graphql.schema.DataFetcher; import graphql.schema.GraphQLFieldDefinition; /** A GraphQL field definition with it's data fetcher. */ @AutoValue public abstract class FieldDefinition<T> { abstract String parentTypeName(); abstr...
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.cms20190101.models; import com.aliyun.tea.*; public class EnableEventRulesResponse extends TeaModel { @NameInMap("Success") @Validation(required = true) public Boolean success; @NameInMap("Code") @Validation(required = true...
/* * Copyright 2014 The Apache Software Foundation. * * 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...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * You may obtain a copy of the License at * * http://www.apache....
/* * Copyright sablintolya@gmail.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 applicable law or agree...
/* Copyright 2017 Intel 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 agreed to in writing, so...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
/* * Copyright (C) 2017-2019 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.denizenscript.denizen.nms.interfaces; import org.bukkit.Location; import org.bukkit.inventory.ItemStack; public interface CustomEntityHelper { FakeArrow spawnFakeArrow(Location location); ItemProjectile spawnItemProjectile(Location location, ItemStack itemStack); FakePlayer spawn...
package org.bouncycastle.cert.test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.io.UnsupportedEncodingException; import java.math.BigInteger; import j...
package org.ovirt.engine.ui.webadmin.section.main.presenter.tab.host; import org.ovirt.engine.core.common.businessentities.VDS; import org.ovirt.engine.core.common.businessentities.gluster.GlusterBrickEntity; import org.ovirt.engine.ui.common.presenter.AbstractSubTabPresenter; import org.ovirt.engine.ui.common.uicommo...
package psymbolic.runtime.machine.buffer; import psymbolic.runtime.Event; import psymbolic.runtime.scheduler.Scheduler; import psymbolic.runtime.machine.Machine; import psymbolic.runtime.Message; import psymbolic.valuesummary.Guard; import psymbolic.valuesummary.PrimitiveVS; import psymbolic.valuesummary.UnionVS; imp...
/* * 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...
/* * 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 required by a...
/* * Below is the copyright agreement for IMCJava. * * Copyright (c) 2010-2018, Laboratório de Sistemas e Tecnologia Subaquática * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * - R...
/* * Copyright 2020 RtBrick 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 ...
/* * * Citrus - A object-oriented, interpreted language that is designed to simplify * the creation of dynamic, immediate feedback graphical desktop applications. * * Copyright (c) 2005 Andrew Jensen Ko * All rights reserved. * * This program is free software; you can redistribute it and/or * modify it unde...
/* Derby - Class org.apache.derbyTesting.functionTests.tests.jdbcapi.StatementJdbc30Test 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 th...
package game_player.view; import java.util.ResourceBundle; import javafx.scene.canvas.Canvas; import javafx.scene.canvas.GraphicsContext; import javafx.scene.control.ScrollPane; import javafx.scene.control.ScrollPane.ScrollBarPolicy; import javafx.scene.image.Image; import javafx.scene.layout.Pane; public class Game...
/* * 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 2010 JBoss 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 de.azrael.listeners; import java.awt.Color; import java.net.SocketTimeoutException; import java.util.ArrayList; import java.util.Arrays; import java.util.EnumSet; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.api.services.sheets.v4.model.ValueRa...
package fr.ph1lou.werewolfapi.events.game.day_cycle; import org.bukkit.event.Event; import org.bukkit.event.HandlerList; import org.jetbrains.annotations.NotNull; public class DayEvent extends Event { private final int number; private static final HandlerList HANDLERS_LIST = new HandlerList(); public Da...
/** * package: ghost.framework.web.mvc.context.bind.annotation * * @Author: 郭树灿{gsc-e590} * @link: 手机:13715848993, QQ 27048384 * @Description:mvc内容绑定注释包 * @Date: 2020/5/27:23:29 */ package ghost.framework.web.mvc.context.bind.annotation;
package test; import java.util.*; public class ConstructorWithSeveralParams { public ConstructorWithSeveralParams(Integer integer, int intBasic, ArrayList<String> collection) { } }
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE package org.bytedeco.cuda.cudart; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.cuda.global.cudart.*; /** * Specifies an acces...
package org.intermine.bio.ontology; /* * Copyright (C) 2002-2019 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...
package apoc.expr.composite; import java.util.ArrayList; import java.util.List; public abstract class BinaryExpr extends Expr { // attribute for binary expr public List<Expr> children; public Expr left() { return children.get(0); } public Expr right() { return children.get(1); } public BinaryExpr(...
package streamAPI; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.Optional; public class MinimalEvenNumber { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new In...
package org.nd4j.autodiff.samediff.ops; import org.nd4j.autodiff.samediff.SDVariable; import org.nd4j.autodiff.samediff.SameDiff; /** * SameDiff general neural network operations<br> * Accessible via {@link SameDiff#math()}<br> * See also {@link SDCNN} (accessible via {@link SameDiff#cnn()} for convolutional neura...
/* Copyright (c) 2000-2006 hamcrest.org */ package org.hamcrest; import junit.framework.TestCase; import org.junit.Assert; public abstract class AbstractMatcherTest extends TestCase { /** * Create an instance of the Matcher so some generic safety-net tests can be run on it. */ protected abstract Matcher<...
package com.seleniumtests.reporter.info; import com.seleniumtests.customexception.CustomSeleniumTestsException; import com.seleniumtests.util.StringUtility; public class HyperlinkInfo extends Info { protected String link; public HyperlinkInfo(String info, String link) { super(info); this.link = li...
/* * 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...
/* Copyright 2001,2003 The Apache Software Foundation 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 android.support.v4.media.routing; public abstract interface MediaRouterJellybean$Callback { public abstract void onRouteAdded(Object paramObject); public abstract void onRouteChanged(Object paramObject); public abstract void onRouteGrouped(Object paramObject1, Object paramObject2, int paramInt); pub...
/* * Copyright 2012-2020 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 com.vividsolutions.jts.operation.predicate; import java.util.*; import com.vividsolutions.jts.algorithm.*; import com.vividsolutions.jts.geom.*; /** * Tests if any line segments in two sets of CoordinateSequences intersect. * Optimized for small geometry size. * Short-circuited to return as soon a...
package myclasses.demos.ds.stack.queue; public class QueueFromStackApp { public static void main(String[] args) { QueueFromStack queue = new QueueFromStack(5); queue.enQueue(1); queue.enQueue(2); queue.enQueue(3); queue.enQueue(4); queue.enQueue(5); queue.displayQueue(); queue.deQueue(); queue.deQu...
/* * Copyright (c) 2017, Adam <Adam@sigterm.info> * 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, this * li...
package com.libutil.test.str; import com.libutil.StrUtil; import com.libutil.test.Log; public class IsNumericTest { public static void main(String args[]) { isIntegerTest(); isFloatTest(); isNumericTest(); isNaNTest(); isNumberTest(); } private static void isIntegerTest() { String str ...
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
/* * Copyright 2014 The FIX.io Project * * The FIX.io Project 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 * * Unles...
package eu.thesystems.cloud.global.info; /* * Created by derrop on 25.10.2019 */ import com.google.gson.JsonObject; import eu.thesystems.cloud.global.network.NetworkAddress; import lombok.Getter; import java.util.Collection; @Getter public class ProxyInfo extends ProcessInfo { public ProxyInfo(String group, St...
/** * Copyright (C) 2016-2019 Expedia, 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 ag...
/* * Copyright 2002-2020 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 ro.ao.benchmark.ui.main.benchmark.app_tests; import androidx.test.core.app.ActivityScenario; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import ro.ao.benchmark.ui.main.MainActivity; import static org.junit.Assert.*; @R...
package ca.pfv.spmf.patterns.cluster; import java.util.List; import ca.pfv.spmf.algorithms.clustering.dbscan.AlgoDBSCAN; import ca.pfv.spmf.algorithms.clustering.distanceFunctions.DistanceFunction; import ca.pfv.spmf.algorithms.clustering.kmeans.AlgoBisectingKMeans; import ca.pfv.spmf.algorithms.clustering.kmeans.Alg...
package kr.neolab.sdk.pen.bluetooth; import android.annotation.TargetApi; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCallback; import android.bluetooth.BluetoothGattCharacteristic; import android.blu...
/******************************************************************************* * 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 r...