text
stringlengths
7
1.01M
package net.haesleinhuepf.clijx.gui; import ij.IJ; import ij.ImageJ; import ij.ImagePlus; import ij.gui.Toolbar; import ij.plugin.tool.PlugInTool; import net.haesleinhuepf.clijx.gui.panel.CLIJxPanel; import net.haesleinhuepf.clijx.gui.stickyfilters.AbstractStickyFilter; import net.haesleinhuepf.clijx.gui.stickyfilters...
package packij; import com.sun.speech.freetts.Voice; import com.sun.speech.freetts.VoiceManager; import javax.swing.*; import javax.swing.border.Border; import java.awt.*; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.util.Arrays; import java.util.Random; import java.util.concurr...
package com.cqust.mapper; import com.cqust.pojo.TItemcollocation; import com.cqust.pojo.TItemcollocationExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface TItemcollocationMapper { int countByExample(TItemcollocationExample example); int deleteByExample(TItemcollocati...
/* * Copyright (c) 2008-2015, Hazelcast, 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 ...
package com.codepath.cpw1instagram; import android.text.Html; import android.text.Spanned; /** * Created by qi_zhu on 2/4/16. */ public class Comment { public int createdTime; public String userName; public String text; public String profileUrl; public Spanned shortLine() { return Html.fromHtml("<fon...
package com.stevotvr.aoc2020; import java.util.List; public class Day09 extends Solution { @Override public Object getPart1Solution() { return getKey(getInput()); } @Override public Object getPart2Solution() { final long[] list = getInput(); final long key = getKey(list);...
// -------------------------------------------------------------------------------- // 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 com.cnec5.it.selfservice.provider.domain; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import javax.persistence.Column; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; import java.util.Date;...
package frame; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ComponentAdapter; import java.awt.event.ComponentEvent; import java.awt.event.MouseEvent; import java.aw...
/* * Copyright (C) 2009 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...
package me.gaigeshen.wechat.mp.user; import lombok.Getter; import me.gaigeshen.wechat.mp.AbstractResponse; /** * 获取标签列表结果 * * @author gaigeshen */ @Getter public class TagListResponse extends AbstractResponse { private Tag[] tags; public static class Tag { private Long id; private String name; p...
package com.teamgannon.trips.solarsysmodelling.accrete; import static java.lang.Math.pow; public class SimStar extends SystemObject { /** * Amount by which individual stars might vary from their base type */ public final static double STELLAR_DEVIATION = 0.05; protected String stellarType = ""...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package com.winster.glmall.glmallcoupon.controller; import java.util.Arrays; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind...
package de.wlsc.management; import static java.util.Locale.GERMANY; import de.wlsc.model.Account; import de.wlsc.model.Customer; import de.wlsc.model.MoneyTransfer; import java.util.Currency; import java.util.UUID; final class AccountTransferCreator { private AccountTransferCreator() { // utility } stati...
package integrationTest; import io.algobox.microservice.impl.grizzly.GrizzlyMicroService; public class GrizzlyMicroServiceIT extends AbstractMicroServiceIT { public GrizzlyMicroServiceIT() { super(GrizzlyMicroService.class); } }
package com.udn.ntpc.od.common.message.util; import com.udn.ntpc.od.common.message.ErrorCodeEnum; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.StringUtils; import org.springframework.context.support.ReloadableResourceBundleMessageSource; import java.uti...
package org.owasp.webgoat; import static org.junit.jupiter.api.DynamicTest.dynamicTest; import java.io.IOException; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.hamcrest.CoreMatchers; import org.junit.Assert; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api...
package ru.testing.web; import controllers.AllureLogger; import controllers.BaseDesktopTest; import io.qameta.allure.Link; import io.qameta.allure.Owner; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import static com.codeborne.selenide.Selenide....
package io.quarkus.qute; import static io.quarkus.qute.Futures.evaluateParams; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionStage; import java.util.s...
/** * Copyright (c) 2014 SQUARESPACE, 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 agr...
/* * Copyright 2013-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...
/* * Copyright 2020 Red Hat, Inc. and/or 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 app...
/* * Copyright (c) 1997, 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 com.instaclustr.sstabletools; import com.google.common.util.concurrent.RateLimiter; import org.apache.cassandra.db.DecoratedKey; import java.util.Collection; /** * Proxy to column family related functions of Cassandra backend. */ public interface ColumnFamilyProxy extends AutoCloseable { /** * Ge...
/** * Copyright 2018-2020 stylefeng & fengshuonan (https://gitee.com/stylefeng) * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 ...
package com.taopao.audio; 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...
package ontology.effects.binary; import core.vgdl.VGDLRegistry; import core.vgdl.VGDLSprite; import core.content.InteractionContent; import core.game.Game; import core.logging.Logger; import core.logging.Message; import ontology.effects.unary.TransformTo; import java.util.ArrayList; /** * Created with IntelliJ IDEA...
package jforgame.server.game.database.config.storage; import java.util.List; import java.util.Map; import java.util.function.Function; import java.util.stream.Collectors; import jforgame.server.db.DbUtils; import jforgame.server.game.database.config.CommonConfigs; import jforgame.server.game.database.config.Reloadabl...
/* * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package com.chenshun.springdata.commonrepositorymethod; import org.springframework.data.jpa.repository.support.JpaEntityInformation; import org.springframework.data.jpa.repository.support.SimpleJpaRepository; import org.springframework.data.repository.NoRepositoryBean; import javax.persistence.EntityManager; i...
/* * Copyright 2018 Michael Jakubec * * 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 g1501_1600.s1600_throne_inheritance; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; import java.util.Arrays; import org.junit.jupiter.api.Test; class ThroneInheritanceTest { @Test void throneInheritance() { // order: king ThroneIn...
/* * Copyright 2019 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 ...
/* * Copyright 2014-2015 the original author or authors. * * 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 3 of the License, or * (at your option) any later version. * * T...
package org.apache.xpath.axes; /* * #%L * Matos * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2010 - 2014 Orange SA * %% * 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 2010 - 2020 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 a...
/* * @(#)AddNewPoolAction.java * * Copyright 2004 by Oracle Corporation, * 500 Oracle Parkway, Redwood Shores, California, 94065, U.S.A. * All rights reserved. * * This software is the confidential and proprietary information * of Oracle Corporation. */ package org.eclipse.persistence.tools.workbench...
/* * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
package de.fu_berlin.inf.ag_se.browser.utils; import de.fu_berlin.inf.ag_se.browser.BrowserUtils; import de.fu_berlin.inf.ag_se.browser.html.IElement; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; public class BrowserUtilsTest { @Test public void...
/** * Given two number, dividend and divisor * Write an algorithm to find remainder if dividend is divided by divisor * * You are not allowed to use % or modulo operator * * Calculate number of left shift * At every left shift divisor is doubled. * * Return the dividend that remained * * Time Complexity: O(l...
package com.metkal.taskit.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.metkal.taskit.dao.TaskDao; import com.metkal.taskit.model.Task; import co...
package com.sfxcode.sapphire.javafx.skin; import com.sfxcode.sapphire.javafx.control.SFXDataListView; import com.sfxcode.sapphire.javafx.control.SFXDualDataListView; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.geometry.Pos; import javafx.scene.control.*; import java...
package parser.visitor; import cc.kave.commons.model.naming.codeelements.IMethodName; import cc.kave.commons.model.ssts.expressions.assignable.ICastExpression; import cc.kave.commons.model.ssts.expressions.assignable.IInvocationExpression; import cc.kave.commons.model.ssts.impl.visitor.AbstractTraversingNodeVisitor; i...
package com.chen.ad; 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 addition_i...
/* * 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"); *...
package com.example.gbelton.flixter; import android.content.Intent; import android.os.Bundle; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.ListView; impo...
/* * Copyright 2018 The Error Prone 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 ...
/* * $Id: KeyExchangeToken.java,v 1.3 2008-02-26 06:33:19 ofung Exp $ */ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version ...
/* * Copyright © 2015 Cask Data, 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 t...
/* * Copyright 2017 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 applica...
/** * Copyright (c) 2013-2020 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...
/* * Copyright 2012-2017 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 2020 ArcSoft Corporation Limited. 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 require...
package org.camunda.bpm.scenario.act; import org.camunda.bpm.scenario.delegate.EventSubscriptionDelegate; /** * @author Martin Schimak <martin.schimak@plexiti.com> */ public interface MessageIntermediateCatchEventAction extends Action<EventSubscriptionDelegate> { /** * Implement this action with custom code t...
/** * Copyright 2018 ADLINK Technology 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 applicable law o...
/* * /* * Informational Notice: * This software was developed under contract funded by the National Library of Medicine, which is part of the National Institutes of Health, * an agency of the Department of Health and Human Services, United States Government. * * The license of this software is an open-source...
package com.tinkerpop.blueprints.impls.orient; import com.tinkerpop.blueprints.Vertex; import java.util.Iterator; public class OrientClassVertexIterable extends OrientElementIterable<Vertex> { private String klass; public OrientClassVertexIterable(OrientBaseGraph graph, Iterable<?> iterable, String klass) { ...
package com.alibaba.druid.pool; import org.elasticsearch.client.Client; import org.elasticsearch.client.transport.TransportClient; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.transport.TransportAddress; import org.elasticsearch.transport.client.PreBuiltTransportClient; import ja...
package com.zm.zmregister; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; @SpringBootApplication @EnableEurekaServer public class ZmRegisterApplication { public stat...
@MethodsReturnNonnullByDefault @ParametersAreNonnullByDefault package dev.socketmods.socketperms.values; import javax.annotation.ParametersAreNonnullByDefault; import mcp.MethodsReturnNonnullByDefault;
/* * * 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"); ...
/* Copyright (C) 2012 by CapCaval.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, modify, merge, publish, distribute,...
/* * Copyright (c) 2011-2020, 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...
/* * Copyright 2006-2008 Sxip Identity Corporation */ package org.openid4java.discovery.html; import junit.framework.TestCase; import org.apache.commons.io.IOUtils; import org.openid4java.discovery.DiscoveryException; import java.io.IOException; /** * @author Sutra Zhou * */ public class CyberNekoDOMHtmlParse...
package com.revengemission.commons.ratelimiter; import java.security.AccessControlException; /** * @author wzhang */ public class RateLimiterException extends AccessControlException { private String ip; public String getIp() { return ip; } public void setIp(String ip) { this.ip = i...
package com.geekq.guns.rest.modular.auth.filter; import com.geekq.guns.core.base.tips.ErrorTip; import com.geekq.guns.core.util.RenderUtil; import com.geekq.guns.rest.common.CurrentUser; import com.geekq.guns.rest.common.exception.BizExceptionEnum; import com.geekq.guns.rest.config.properties.JwtProperties; import com...
/* * Copyright (c) 2013 Jadler contributors * This program is made available under the terms of the MIT License. */ package net.jadler.stubbing.server.jetty; import net.jadler.stubbing.StubResponse; import net.jadler.RequestManager; import org.eclipse.jetty.server.Request; import org.eclipse.jetty.server.handler.Ab...
/** * Copyright 2017 The jetcd 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 agr...
package com.qa.ims.persistence.dao; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; public interface Dao<T> { List<T> readAll(); T read(Long id); T create(T t); T update(T t); int delete(long id); T modelFromResultSet(ResultSet resultSet) throws SQLException; }
package de.crunc.jackson.datatype.vertx.parser; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; import org.junit.Test; import java.io.IOException; import static com.fasterxml.jackson.core.JsonToken.*; import static de.crunc.jackson.datatype.vertx.JsonArrayBuilder.a...
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
package com.echopen.asso.echopen.model.EchoImage; import android.graphics.Bitmap; /** * Created by mehdibenchoufi on 21/10/15. */ public class EchoCharImage extends AbstractEchoImage { private char[] pixelsArray; private Bitmap bitmap; public char[] getPixelsArray() { return pixelsArray; ...
/* * Copyright (c) 2010-2015, b3log.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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.resourcemanager.appservice.implementation; import com.azure.resourcemanager.appservice.AppServiceManager; import com.azure.resourcemanager.appservice.models.AppServiceCertificateKeyVaultBinding; import co...
package tech.quantit.northstar.strategy.api.model; import java.util.List; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import tech.quantit.nor...
package collection; import java.util.HashMap; import java.util.Map; /** * @author ze.liu * @since 2014/6/9 */ public class FinalMap { /** * 因为在hashmap中存储的entry,所以最后是entry改变了,并没有改变map,final不影响 */ static final Map map = new HashMap(); public static void main(String[] args) { ...
package mock.plugin.private_and_static; import com.intellij.openapi.components.PersistentStateComponent; /*expected(PROBLEM) Abstract method com.intellij.openapi.components.PersistentStateComponent.getState() : T is not implemented Concrete class mock.plugin.private_and_static.StaticOverridingNotImplemented inherits...
/** * Copyright (c) 2004-2011 Wang Jinbao(Julian Wong), http://www.ralasafe.com * Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php */ package org.ralasafe.db; import org.ralasafe.EntityExistException; import java.sql.Connection; /** * Update entity operations to database. * *...
package com.revature.dungeonsite.controllers; import com.revature.dungeonsite.exceptions.ResourceNotFoundException; import com.revature.dungeonsite.models.*; import com.revature.dungeonsite.repositories.*; import com.revature.dungeonsite.utils.KeyUtils; import com.revature.dungeonsite.utils.PasswordUtils; import org.s...
package se.kth.ansjobmarcular; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import java.util.Random; public class Bot { /** * The database interface */ protected ActionsStorage db = new FileActionsStorage(); protected static List<Integer> results = new Linke...
package soot.jimple.spark.geom.heapinsE; /*- * #%L * Soot - a J*va Optimization Framework * %% * Copyright (C) 2011 Richard Xiao * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundati...
package com.mtx.androidcommonutil.ui.view; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.RectF; import android.util.AttributeSet; import android.view.View; /** * Created by lishaoming on 17-7-31. */ public class ...
package com.buyout.sale.buyout.controllers; import com.buyout.sale.buyout.models.Product; import com.buyout.sale.buyout.repository.BuyoutUserRepository; import com.buyout.sale.buyout.repository.ProductRepository; import com.buyout.sale.buyout.repository.ProfileRepository; import org.springframework.beans.factory...
/*Generics Intro*/ public class Pairs<X, Y, Z> { X x; Y y; public Pairs(X x, Y y) { this.x = x; this.y = y; } public void getDescription() { System.out.println(x + " and " + y); } }
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
import java.util.ArrayList; import java.util.List; import java.util.Random; import org.opencv.core.*; import org.opencv.calib3d.Calib3d; import org.opencv.highgui.HighGui; import org.opencv.imgcodecs.Imgcodecs; import org.opencv.imgproc.Imgproc; class PerspectiveCorrectionRun { void perspectiveCorrection (String...
/* * Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved. */ package com.maxifier.mxcache.impl.caches.storage.elementlocked; import com.maxifier.mxcache.impl.MutableStatistics; import com.maxifier.mxcache.impl.caches.storage.StorageHolder; import com.maxifier.mxcache.impl.caches.abs.elementlocked.*; im...
/* * Copyright (c) 2017 Jan Berkel <jan.berkel@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 ap...
package DAO; import java.util.List; import java.util.Optional; import models.User; public interface UserService { public User save(User product); public void remove(User product); public Optional<User> find(Long id); public List<User> findAll(); }
/* * $Id$ * * $State$ * * $Log$ * Revision 1.1 2008/04/04 18:21:10 cvs * Added legacy code to repository * * Revision 1.4 2004/08/30 14:50:33 mjmaloney * Javadocs * * Revision 1.3 2002/03/14 21:07:55 mike * Bug fixes. * * Revision 1.2 2001/09/18 00:46:50 mike * Working implementation of DateDelegate ...
/* * Copyright 2012 The Netty Project * * The Netty 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 * * Unless ...
/* * Copyright 2017-present Open Networking Laboratory * * 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 com.hhl.rebound; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.app.Activity; import android.content.Context; import android.graphics.Color; import android.util.TypedValue; import android.view.Gravity; import android.view.View; import android.view.ViewGroup;...
/* * 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 ...
/* * @(#)Layouter.java 5.2 * */ package CH.ifa.draw.contrib; import CH.ifa.draw.util.Storable; import java.io.Serializable; import java.awt.*; /** * A Layouter encapsulates a algorithm to layout * a figure. It is passed on to a figure which delegates the * layout task to the Layouter's layout method. * The L...
package com.zensar.currency.conversion; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class CurrencyConversionServiceApplicationTests { @Test void contextLoads() { } }
package com.stylefeng.guns.api.film.vo; import lombok.Data; import java.io.Serializable; @Data public class InfoRequestVo implements Serializable { private String biography; private ActorRequestVo actors; private ImgVo imgVo; private String filmId; }
package blueprintlabs.zulu; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { supe...
/* * Copyright 2004,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 ap...