text
stringlengths
7
995k
package org.apache.airavata.helix.impl.task.parsing.models; import com.google.gson.Gson; import org.apache.airavata.helix.task.api.TaskParamType; import java.util.ArrayList; import java.util.List; public class ParsingTaskInputs implements TaskParamType { private List<ParsingTaskInput> inputs = new ArrayList<>()...
package org.apereo.cas.web.flow.authentication; import org.apereo.cas.authentication.AuthenticationException; import org.apereo.cas.services.UnauthorizedServiceForPrincipalException; import org.apereo.cas.web.flow.CasWebflowConstants; import org.apereo.cas.web.support.WebUtils; import lombok.Getter; import lombok.Req...
/* * Copyright (c) 2005, 2017, 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 ...
/*- * * * Copyright 2015 Skymind,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 * * * * ...
/* * 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.ruoyi.project.vocstore.controller; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.ruoyi.framework.web.controller.BaseController; import com.ruoyi.framework.web.domain.AjaxResult; import com.ruoyi.project.vocstore.domain.dto.InsertVocStoreRequestDto; import com.ruoyi.project....
package fr.ippon.kafka.streams.domains.twitter; import lombok.*; @Getter @Setter @Builder @AllArgsConstructor @NoArgsConstructor public class TwitterUserMessage { private String name; private String message; }
package org.python.exceptions; public class StopIteration extends org.python.exceptions.Exception { org.python.Object value; public StopIteration() { super(""); } public StopIteration(org.python.Object value) { super(); this.value = value; } public StopIteration(org.p...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE369_Divide_by_Zero__float_PropertiesFile_modulo_53a.java Label Definition File: CWE369_Divide_by_Zero__float.label.xml Template File: sources-sinks-53a.tmpl.java */ /* * @description * CWE: 369 Divide by zero * BadSource: PropertiesFile Read data from a .properties fi...
package HBDMIPS; import java.util.HashMap; import Assembler.Assembler; import Assembler.Instruction; import java.util.Map; /** * This class represents <b>Instruction Fetch<b> Stage. * @author HDB */ public class IF { private String filePath; private HashMap<Integer, Instruction> ins_mem; private Ha...
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.commands; import edu.wpi.first.wpilibj2.command.InstantCommand; import frc.robot.subsystems.ExampleSu...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
package examples; /* * #%L * ********************************************************************** * ORGANIZATION : Pi4J * PROJECT : Pi4J :: Java Examples * FILENAME : SpiExample.java * * This file is part of the Pi4J project. More information about * this project can be found here: http://www....
/* * Copyright 2013, 2014 Megion Research & Development GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
// Copyright 2015 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 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 writing...
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.models.Groups; import ru.stqa.pft.addressbook.models.groupData; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; p...
package com.keytalk.nextgen5.view.util; /* * Class : AppConstants * Description : UI constants * * Created by : KeyTalk IT Security BV on 2017 * All rights reserved @ keytalk.com */ public final class AppConstants { public static final int SPLASH_DELAY_FIRST_RUN = 2000; public static final String IMP...
/* * Copyright 2006-2021 Prowide * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
package Modelo.dao.generico; import java.io.Serializable; import java.util.List; /** * Interfaz genérica dedicada a los métodos CRUD de la base de datos */ public interface DAOGenerico <T extends Serializable, K extends Serializable> { void create(T entidad); T read(K pk); void update(T entidad); vo...
package android.support.design.internal; import android.content.Context; import android.support.annotation.RestrictTo; import android.support.p003v7.view.menu.MenuBuilder; import android.support.p003v7.view.menu.MenuItemImpl; import android.support.p003v7.view.menu.SubMenuBuilder; import android.view.SubMenu; @Restri...
/** * * Copyright (C) 2010 Cloud Conscious, LLC. <info@cloudconscious.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 L...
package org.wickedsource.budgeteer.persistence.contract; import lombok.AllArgsConstructor; import lombok.Data; import java.io.Serializable; @Data @AllArgsConstructor public class ContractStatisticBean implements Serializable { private int year; /** * budgets are in cents */ private Double pr...
/* Copyright 2015-2020 Peter-Josef Meisch (pj.meisch@sothawo.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 ...
package org.dubhe.data.course.domain.vo; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.time.LocalDateTime; /** * @Author : Gouzhong * @Blog : www.gouzhong1223.com * @Description : * @Date : create by QingSong in 2021-12-05 21:53 * @Emai...
package com.bsoft.template.task; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Component; /** * 定时任务 * @author artolia */ @Slf4j @Component public class Task { }
/* * 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 ...
// Original author: Robert Harder, rharder@usa.net. This code has been released into the public domain. package executah; import java.awt.datatransfer.DataFlavor; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.PrintStream; import java.io.Reader; import executah.FileDro...
package com.fnr.model; import java.time.LocalDateTime; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.UniqueConstraint; @Entity @...
package com.baeldung.reactive.webflux.functional; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class EmployeeSpringFunctionalApplication { public static void main(String[] args) { SpringApplication.ru...
package net.thucydides.core.steps; import com.google.common.collect.Lists; import net.thucydides.core.csv.CSVTestDataSource; import net.thucydides.core.csv.TestDataSource; import net.thucydides.core.guice.Injectors; import net.thucydides.core.model.DataTable; import net.thucydides.core.util.EnvironmentVariables; impo...
/* * 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 2019-2020 OpenFeign Contributors * * 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 datadog.trace.instrumentation.opentracing31; import datadog.trace.api.interceptor.MutableSpan; import datadog.trace.bootstrap.instrumentation.api.AgentSpan; import datadog.trace.bootstrap.instrumentation.api.UTF8BytesString; import datadog.trace.instrumentation.opentracing.LogHandler; import io.opentracing.Spa...
/* * File: NameSurferGraph.java * --------------------------- * This class represents the canvas on which the graph of * names is drawn. This class is responsible for updating * (redrawing) the graphs whenever the list of entries changes or the window is resized. */ import acm.graphics.*; import java.awt.event.*...
/* * Copyright 2020 Marc Nuri * * 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...
package cz.cvut.fit.ruiansearch; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class RuianSearchApplication { public static void main(String[] args) { SpringApplication.run(RuianSearchApplication.class, args); ...
/* * Copyright (c) 2011-2018 Nexmo Inc * * 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, publ...
package seedu.address.model.person; /** * Represents the priority level of a Flashcard in the flashcard folder. */ public enum Priority { LOW("low"), MEDIUM("medium"), HIGH("high"); private final String priority; private Priority(String priority) { this.priority = priority; } ...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.core.ml.inference.trainedmodel.tree...
package org.broadinstitute.ddp.studybuilder.task; import java.nio.file.Path; import java.util.List; import com.typesafe.config.Config; import org.broadinstitute.ddp.db.dto.Auth0TenantDto; import org.broadinstitute.ddp.db.dto.ClientDto; import org.broadinstitute.ddp.db.dto.StudyDto; import org.broadinstitute.ddp.study...
/* * Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech) * Copyright 2018 SmartBear Software * * 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 2002-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...
package com.atguigu.gmall.sms.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * 优惠券与产品关联 * * @author zhaojunjie * @email Z13368409157@163.com * @date 2021-12-21 20:53:39...
/** * 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 br.com.feedev.jdevtreinamento.jdevtreinamentospringboot.model; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "pessoa") public cl...
/* * Copyright 2015 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
/* * 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...
package restdocs.tool.export.postman.exporter; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class Header { private String key; private String value; public String getKey() { return key; } public void setKey(String key) { this.key...
// // ======================================================================== // Copyright (c) 1995-2020 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
package com.facebook.imagepipeline.decoder; import com.facebook.imagepipeline.image.EncodedImage; public class DecodeException extends RuntimeException { private final EncodedImage mEncodedImage; public DecodeException(String str, EncodedImage encodedImage) { super(str); this.mEncodedImage = ...
/** * Copyright (c) 2015-2017, Chill Zhuang 庄骞 (smallchill@163.com). * <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 * <p> * Un...
/* * 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.vmware.vim25; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for VirtualEthernetCard complex type. * * <p>The following schema fragment specifi...
package net.minecraft.client.renderer.texture; import com.google.common.collect.Lists; import java.awt.image.BufferedImage; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.concurrent.Callable; import net.minecraft.client.resources.data.AnimationFrame; import net.minecraft...
package com.plabro.unstructured.model; /** * For keeping all the unstructured data. * * @author gaurav */ public class Unstructured { private String value; public Unstructured() { } public Unstructured(String value) { this.value = value; } public String getValue() { return value; } public void set...
/* * The MIT License (MIT) * * Copyright (c) 2013 Alexandre Normand * * 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 *...
// This file is part of CPAchecker, // a tool for configurable software verification: // https://cpachecker.sosy-lab.org // // SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org> // // SPDX-License-Identifier: Apache-2.0 /** * The ARGReplayCPA traverses an old ARG-ReachedSet. * The info from the ...
/* ==================================================================== 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 Y...
/* * Copyright (c) 2015, Mazen Kotb <email@mazenmc.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND...
package io.ningyu.common.captcha; import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.OutputStream; public class SpecCaptcha extends Captcha { public SpecCaptcha() { } public SpecCaptcha(int width, int height) { this.wi...
/* * Copyright 2019 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) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.relay.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.faster...
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
/** * Copyright 2013 Canada Health Infoway, 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...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.github.t1.powerannotations.scanner; import java.io.IOException; import java.io.InputStream; import java.util.Optional; import org.jboss.jandex.Index; import org.jboss.jandex.IndexReader; import com.github.t1.powerannotations.common.PowerAnnotations; public class IndexBuilder { public static Index lo...
/* * 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 ...
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.itemupdate; /** * Base class for Bitstream actions * * */ public abstra...
/* * Copyright (C) 2006-2020 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 applicabl...
/* * Copyright 2015-2021 Emmanuel Keller / QWAZR * <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 * <p> * Unless required by app...
package com.company; /** * Created by Manash on 6/29/2016. */ public class UF { private int[] id; private int count; public UF(int N){ count = N; id = new int[N]; for (int i = 0; i < N; i++) id[i] = i; } public int count() {return count;} public boolean connected(in...
package com.cts.training.dao; import java.util.List; import com.cts.training.bean.StockExchange; public interface StockExchangeDAO { // public boolean saveStockExchange(StockExchange stockExchange); // // public boolean updateStockExchange(StockExchange stockExchange); public boolean saveOrUpdateStockExchange(...
package datart.core.entity.poi.format; import lombok.Data; @Data public class ScientificNotationFormat extends PoiNumFormat { public static final String type = "scientificNotation"; @Override public String getFormat() { return this.getDecimalPlaces() + "E+0"; } }
/* * Copyright 2020 * Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology * 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 * * htt...
/* * Copyright 2002-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright 2017-present Open Networking 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 appli...
package lab4.gui; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.util.Observable; import java.util.Observer; import javax.swing.JPanel; import lab4.data.GameGrid; import sun.reflect.generics.reflectiveObjects.NotImplementedException; /** * A panel providing a graphical view...
package com.redhat.service.smartevents.processor.actions.sendtobridge; import javax.inject.Inject; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import com.redhat.service.smartevents.infra.exceptions.definitions.user.BridgeLifecycleException; import com.redhat.service.smartevents.infra....
package dojo.move_method; public class Account { private final AccountType type; private int daysOverdrawn; public Account(AccountType type) { super(); this.type = type; } public int getDaysOverdrawn() { return daysOverdrawn; } public void setDaysOverdrawn(int daysOverdrawn) { this.daysOverdrawn ...
package hu.bence.jatek; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.List; import org.junit.Test; import hu.bence.jatek.model.kerdes.AnswerText; import hu.bence.jatek.model.kerdes.Categories; import hu.bence.jatek.model.kerdes.CorrectAnswer; import hu.bence.jatek.model.kerdes.Quest...
/* * 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.specflare.algohut.leetcode.trees; public class TreeNode { public int val; public TreeNode left; public TreeNode right; public TreeNode() {} public TreeNode(int val) { this.val = val; } public TreeNode(int val, TreeNode left, TreeNode right) { this.val = val; this.lef...
package com.model; public class InetLogVo{ private int inet_seq; private String user_id; private String pc_ip; private String cnnc_url; private String pc_uuid; private String hostname; private String state; private String reg_dt; @Override public String toString() { return "InetLogVo [inet_seq=" + i...
package org.apache.dubbo.samples.rest.impl; import org.apache.dubbo.samples.rest.api.User; import org.apache.dubbo.samples.rest.api.UserService; import com.alibaba.dubbo.config.annotation.Service; import java.util.concurrent.atomic.AtomicLong; @Service public class UserServiceImpl implements UserService { priva...
/* * Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech) * Copyright 2018 SmartBear Software * * 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:/...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the “License”). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package net.kernal.spiderman.kit; import java.sql.Connection; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import java.util.UUID; import javax.sql.DataSource; public class JdbcUtils { private Jdb...
package org.knowm.xchange.kuna.dto; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.math.BigDecimal; /** * Ticker of crypto currency. Instances of this type are immutable, constructed with a dedicated * Builder implementation. * * @author Dat Bui */ @JsonDeserialize(builder = KunaTi...
/* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package ai.classifai.TestCases.SegTestCases; import ai.classifai.TestCases.BaseTest; import ai.classifai.pages.V1.SegmentationPage; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeClass; import org.testng.annotations.BeforeMethod; public class SegBaseTest extends BaseTest { protecte...
/* * 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 2014-2016 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, s...
package ibkozin.pft.addressbook.tests; import ibkozin.pft.addressbook.model.ContactData; import org.testng.Assert; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import java.util.Comparator; import java.util.List; public class ContactModificationTests extends TestBase{ @BeforeMe...
package nl.weeaboo.styledtext.gdx; import javax.annotation.Nullable; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator; import com.badlogic.gdx.utils.Disposable; import nl.weeaboo.styledtext.TextStyle; import nl.weeaboo.styledtext.layout.UnderlineMet...
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package org.uniprot.api.support.data.taxonomy.controller; import static org.hamcrest.Matchers.contains; import static org.hamcrest.Matchers.containsInAnyOrder; import static org.hamcrest.Matchers.containsString; import static org.hamcrest.Matchers.emptyOrNullString; import static org.hamcrest.Matchers.is; import stati...
package article; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @author lucky */ @SpringBootApplication public class ArticleApplication { public static void main(String[] args) { SpringApplication.run(ArticleApplication.class...
/** * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under ...