text
stringlengths
7
995k
/* * Copyright 2008-2009 MOPAS(Ministry of Public Administration and Security). * * 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 * ...
/* * SPDX-License-Identifier: Apache-2.0 * * Copyright 2016-2021 Gerrit Grunwald. * * 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 ...
package com.sxjs.jd.entities; import java.util.List; /** * Created by Administrator on 2018/7/20 0020. */ public class CartsEntity { /** * msg : 成功 * code : 200 * data : {"proCarts":[{"shopProArray":[{"proId":52,"num":1,"cartId":389,"productAbstract":"简介","skuPrice":234,"proName":"sfga","skuPropertiesName"...
package org.murphy.consumer; import org.springframework.context.support.ClassPathXmlApplicationContext; import org.murphy.service.DataService; public class DubboConsumer { public static void main(String[] args) { ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext( ...
/******************************************************************************* * Copyright (c) 2010 Haifeng Li * * 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...
package com.reason.ide.console; import com.intellij.openapi.project.DumbAware; import com.intellij.openapi.project.Project; import com.intellij.openapi.wm.ToolWindow; import com.intellij.openapi.wm.ToolWindowFactory; import javax.swing.*; import org.jetbrains.annotations.NotNull; abstract class ORToolWindowFactory im...
/* 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...
/** * Copyright (c) Michael Steindorfer <Centrum Wiskunde & Informatica> and Contributors. * All rights reserved. * * This file is licensed under the BSD 2-Clause License, which accompanies this project * and is available under https://opensource.org/licenses/BSD-2-Clause. */ package io.usethesource.criterion.imp...
package key; import ui.UserInterfacing; import java.io.File; public class KeyUtil { public static final int KEY_LEN = 32; private static File getKeyFile() { return UserInterfacing.getKeyFile(); } public static byte[] getKey() { return key.Keygen.fileToKey(getKeyFile()); } ...
// Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). // Licensed under the Apache License, Version 2.0 (see LICENSE). package org.pantsbuild.args4j; import java.io.File; import java.io.IOException; import com.google.common.base.Charsets; import com.google.common.io.Files; import org.kohsuke.args4j.Cm...
package net.kwaz.chicago.hbase.bulkload; import net.kwaz.HadoopUtils; import net.kwaz.chicago.parser.ChicagoRawDataParser; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cl...
package com.casper.financially.repos; import com.casper.financially.domain.Transaction; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; public interface TransactionRepository extends JpaRepository<Transaction, Long> { List<Transaction> findByInstitution(final String instituti...
// This class was generated on Thu, 16 May 2019 09:53:44 PDT by version 0.1.0-dev+8fcb5f of Braintree SDK Generator // OrdersGetRequest.java // @version 0.1.0-dev+8fcb5f // @type request // DO NOT EDIT package com.paypal.orders; import com.paypal.http.*; import java.util.*; import java.util.stream.Collectors; import j...
package org.snomed.snowstorm.core.util; import org.snomed.snowstorm.core.data.domain.ConceptMini; import java.util.function.BinaryOperator; public class StreamUtil { public static final BinaryOperator<ConceptMini> MERGE_FUNCTION = (u, v) -> { throw new IllegalStateException(String.format("Duplicate key %s", u)); ...
/* * 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 ...
/* * Muhammad Faisal Amir * f.miir117@gmail.com * id.amirisback.bandung * Copyright 2017 */ package tebakgambar; /** * * @author Faisal Amir */ public class finish extends javax.swing.JFrame { /** * Creates new form gambar1 */ public finish() { initComponents(); getWin(); ...
package net.silentchaos512.gems.network; import net.minecraft.network.FriendlyByteBuf; import net.silentchaos512.gems.soul.Soul; import java.util.ArrayList; import java.util.Collection; import java.util.List; /** * Used to send soul data (soul gems) to the client. Since the information is based on the world * seed...
package cn.mulanbay.web.filter; import cn.mulanbay.common.util.StringUtil; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.uti...
// Copyright (c) 2002-2014 JavaMOP Team. All Rights Reserved. package javamop.output; import javamop.util.MOPNameSpace; /** * A variable used in the generated code, with an optional package component. */ public class MOPVariable { private final MOPVariable pred; private final String varName; /** ...
/* * BatteryTech * Copyright (c) 2010 Battery Powered Games LLC. * * This code is a component of BatteryTech and is subject to the 'BatteryTech * End User License Agreement'. Among other important provisions, this * license prohibits the distribution of source code to anyone other than * authorized parties. If...
package br.com.romaninicorp.projeto; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class ProjetoFinalApplication { public static void main(String[] args) { SpringApplication.run(ProjetoFinalApplication.class, a...
/** * 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.imooc.ad.vo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.List; @Data @AllArgsConstructor @NoArgsConstructor public class CreativeUnitRequest { private List<CreativeUnitItem> creativeUnitItemList; @Data @AllArgsConstructor @NoA...
import java.util.Calendar; public class SistemaDeTarifacao { public static void main(String [] args){ // Vetores de classes Pre linhasPre[] = new Pre[100]; Pos linhasPos[] = new Pos[100]; Cliente listaClientes[] = new Cliente[100]; // Variaveis auxiliares Leitura ler = new Leitura(); String consulta, at...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* Copyright (C) 2013-2021 TU Dortmund * This file is part of LearnLib, http://www.learnlib.de/. * * 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/...
package com.application.baatna.views; import android.app.ActionBar; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.os.AsyncTask; import android.o...
/** * Copyright (c) 2015-2017, Winter Lau (javayou@gmail.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> * Unless r...
package com.study.boot.job.entity; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; import java.util.Date; /** * @author Xingyu Sun * @date 2020/1/6 10:31 */ @Data @NoArgsConstructor @AllArgsConstructor public class BaseEntity implements Serializa...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
/* * 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 a...
package com.jstarcraft.core.codec.protocolbufferx.converter; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.lang.reflect.Type; import com.jstarcraft.core.codec.protocolbufferx.ProtocolReader; import com.jstarcraft.core.codec.protocolbufferx.ProtocolWriter; import com....
package seedu.modsuni.logic.commands; import static seedu.modsuni.testutil.TypicalModules.getTypicalModuleList; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import seedu.modsuni.logic.CommandHistory; import seedu.modsuni.logic.commands.exceptions.CommandException; import se...
/* * Copyright (c) 2013, 2015 Oracle and/or its affiliates. All rights reserved. This * code is released under a tri EPL/GPL/LGPL license. You can use it, * redistribute it and/or modify it under the terms of the: * * Eclipse Public License version 1.0 * GNU General Public License version 2 * GNU Lesser General ...
package br.com.zupacademy.witer.mercadolivre.produto.imagem; import java.util.List; import java.util.Set; import org.springframework.web.multipart.MultipartFile; public interface Uploader { /** * * @param imagens * @return links para imagens que foram uploadadas */ Set<String> envia(List<MultipartFile> i...
package code401challenges.hashtable; import code401challenges.tree.BinarySearchTree; import org.junit.Test; import java.util.ArrayList; import static org.junit.Assert.*; public class TreeIntersectionTest { @Test public void treeIntersectionTest(){ BinarySearchTree tree1 = new BinarySearchTree(); ...
class Solution { public int XXX(int[] prices) { int sum = 0, maxNum = prices[prices.length - 1]; for (int i = prices.length - 2; i >= 0; i--) { maxNum = Math.max(prices[i], maxNum); sum = Math.max(sum, maxNum - prices[i]); } return sum; } } undefined for ...
/** * Copyright 2005-2016 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version * 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
package no.java.sleepingpill.core.controller; import no.java.sleepingpill.core.ServiceResult; import no.java.sleepingpill.core.exceptions.ServiceResultException; import no.java.sleepingpill.core.picture.Picture; import no.java.sleepingpill.core.picture.PicureService; import spark.Request; import spark.Response; impor...
package com.raven.core.social.spring; /* * Copyright 2012-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/...
/** * Copyright (C) 2013 – 2016 SLUB Dresden & Avantgarde Labs GmbH (<code@dswarm.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/LICEN...
package br.com.kamarugosan.songlist.ui.activity.main.list; import android.content.Context; import android.view.View; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.core.content.ContextCompat; import androidx.recyclerview.widget.RecyclerView; import br.com.kamarugosan.songlist.R; ...
/** * * @license * Copyright Billy Bissic. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at http://www.magnificenteyes.com/magnificent-essentials/license */ package domain; import org.springframework.data.annotation.Id; import org.s...
package be.artisjaap.document.action.datasets; import be.artisjaap.common.utils.LocalDateUtils; import java.time.LocalDateTime; public class BriefInfoDataset { private String briefCode = "CODE"; public String getBriefCode() { return briefCode; } private LocalDateTime nu = LocalDateUtils....
package org.apache.commons.jcs3.engine; /* * 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 Lice...
/* * 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...
package unit; import country.Country; import province.Province; public class Unit { protected Country owner; protected Province location; public Unit(Country owner, Province location) { this.owner = owner; this.location = location; } public Country getOwner() { return own...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE129_Improper_Validation_of_Array_Index__listen_tcp_array_read_check_max_54b.java Label Definition File: CWE129_Improper_Validation_of_Array_Index.label.xml Template File: sources-sinks-54b.tmpl.java */ /* * @description * CWE: 129 Improper Validation of Array Index * ...
package io.noties.markwon.sample.editor; import android.text.Editable; import android.text.Spanned; import androidx.annotation.NonNull; import io.noties.markwon.Markwon; import io.noties.markwon.core.MarkwonTheme; import io.noties.markwon.core.spans.HeadingSpan; import io.noties.markwon.editor.EditHandler; import io...
package com.liangwenchao.androidlib; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.acti...
package ws_tests; import static org.junit.Assert.*; import org.junit.Test; public class RestaurantResourceTests { @Test public void testGetRestaurant() { fail("Not yet implemented"); } @Test public void testSearchRestaurantsByCriteria() { fail("Not yet implemented"); } @Test public void testListRestau...
/* * Copyright 2016-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 org.wikipedia.util; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.support.annotation.NonNull; import android.support.annotation.StringRes; import android.support.annotation.VisibleForTesting; import android.text.TextUtils; import org.apache.commons.lang3...
package net.andreho.resources.impl; import net.andreho.resources.ResourceSourceLocator; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import java.util.Collection; import java.util.LinkedHashSet; import static net.andreho.resources.impl.Utils.endsWithCaseInsensitive; /** * Created...
/* * Copyright 2013-2020 consulo.io * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package com.mozz.htmlnative.css.stylehandler; import android.content.Context; import android.view.View; import com.mozz.htmlnative.dom.DomElement; import com.mozz.htmlnative.exception.AttrApplyException; import com.mozz.htmlnative.view.LayoutParamsCreator; /** * @author Yang Tao, 17/2/22. */ public abstract class...
/** * Copyright (C) 2018-2020 * All rights reserved, Designed By www.yixiang.co */ package co.yixiang.modules.quartz.domain; import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.copier.CopyOptions; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableFiel...
package com.github.code.aqiu202.noise.impl; /** * NoiseProducer执行顺序 */ public enum NoiseOrder { /** * 在添加背景之前执行 */ BEFORE, /** * 在添加背景之后执行 */ AFTER; }
/* * MIT License * * Copyright (c) 2021 MASES s.r.l. * * 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, cop...
/* * Copyright (C) 2009 Jim Sansing * * 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. * * This program is distri...
package com.example.notes_app; import android.os.Bundle; import io.flutter.app.FlutterActivity; import io.flutter.plugins.GeneratedPluginRegistrant; public class MainActivity extends FlutterActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Genera...
package com.twu.biblioteca.models; import com.twu.biblioteca.HelperIO; import com.twu.biblioteca.menus.Menu; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.util.ArrayList; import java.util.List; import java.util.UUID; import static org.hamcrest.CoreMatchers.containsString; import...
package com.hack.nu1lctf; 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() { super(...
// Targeted by JavaCPP version 1.5.8-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.bullet.LinearMath; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.bullet.global.LinearMath.*; // #e...
/* * 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...
/* @copyright: ColdChip */ package ru.ColdChip.HTTPServlet; import java.io.IOException; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.nio.file.Files; import java.io.RandomAccessFile; import ru.ColdChip.ChipSession.SimpleSession; public class Response { publ...
package me.jessyan.mvparms.graduation.app.wechat; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.util.Log; import com.jess.arms.base.BaseFragment; import java.util.ArrayList; /** * 作者: 张少林 on 2017/4/17 0017. * 邮箱:1083065285@qq.com */ public class FragmentHandler e...
package com.example.padelversus.team; import com.example.padelversus.team.display.TeamxDisplay; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.sp...
package line; //import java.util.Stack; // //public class p1 { // public static void main(String[] args) { // Solution s = new Solution(); // //// String inputString = "if (Count of eggs is 4.) {Buy milk.}"; //// String inputString = "Hello, world!"; //// String inputString ="line [plus]"; // String inputString ...
package cn.liaohongdong.common; import cn.liaohongdong.utils.JsonMapper; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.Map; pu...
package net.minecraft.inventory; import net.minecraft.entity.passive.AbstractChestHorse; import net.minecraft.entity.passive.AbstractHorse; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; public class ContainerHorseInventory extends Container { ...
// ============================================================================ // // Copyright (C) 2006-2018 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
package com.king.frame.mvvmframe.di.scope; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import javax.inject.Scope; /** * @author <a href="mailto:jenly1314@gmail.com">Jenly</a> */ @Scope @Retention(RetentionPolicy.RUNTIME) public @interface ApplicationScope { }
/* * Copyright 2017 LinkedIn Corp. Licensed under the BSD 2-Clause License (the "License"). See License in the project root for license information. */ package com.linkedin.kafka.cruisecontrol.detector; import com.codahale.metrics.Gauge; import com.codahale.metrics.MetricRegistry; import com.linkedin.cruisecontrol....
package org.innovateuk.ifs.management.publiccontent.viewmodel.section; import org.innovateuk.ifs.management.publiccontent.viewmodel.AbstractPublicContentGroupViewModel; /** * View model for the how to apply section. */ public class HowToApplyViewModel extends AbstractPublicContentGroupViewModel { }
/* * Copyright 2011-2016 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 "li...
package it.mulders.mcs.search; import org.assertj.core.api.WithAssertions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; class WildcardSearchQueryTest implements WithAssertions { ...
package Engine.src.EngineData.Components; import static java.lang.Double.parseDouble; /** * A component representing score. * @author Hunter Gregory * @author David Liu */ public class ScoreComponent extends Component{ private double myScore; /** * Create a ScoreComponent * @param initialScore...
package com.hubbardgary.londontrails.model; import com.hubbardgary.londontrails.R; import com.hubbardgary.londontrails.model.interfaces.ISection; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.*; public class CapitalRingTest { private CapitalRing _sut; @Before public vo...
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 ...
package teamrtg.passableleaves.asm; import com.google.common.eventbus.EventBus; import net.minecraftforge.fml.common.*; import net.minecraftforge.fml.common.versioning.VersionParser; import net.minecraftforge.fml.common.versioning.VersionRange; import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin; import org.apa...
/** * Copyright (c) 2002-2013 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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 Foundati...
package res.algebratypes; import java.util.*; public abstract class AbstractGradedAlgebra<T> extends AbstractGradedModule<T,T> implements GradedAlgebra<T> { @Override public abstract T unit(); @Override public List<T> distinguished() { return Collections.emptyList(); } }
/* 集成 <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>4.5.12</version> </dependency> 更改类MultipartFormEntity --》MultipartFormEntityNotLimitContentLength 删除图片上传时contentLength 报错 * ===============================================================...
package edu.harvard.iq.dataverse; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; /** * * @author skraffmiller */ public class DatasetVersionDifference { private DatasetVersion newVersion; private DatasetVersion originalVersion; private Lis...
import static org.junit.Assert.assertEquals; import java.util.LinkedList; import org.junit.Test; public class Examples { MtBT mtTester = new MtBT(); DataBT test1 = new DataBT(1, new DataBT(3), new MtBT()); DataBT test2 = new DataBT(1, new DataBT(3), new DataBT(9)); DataBT test3 = new DataBT(3, new DataBT(5, ...
package io.eventuate.javaclient.commonimpl.common.schema; import java.util.ArrayList; import java.util.List; public class AggregateSchemaBuilder { private final ConfigurableEventSchema configurableEventSchema; private final String aggregateType; private List<AggregateSchemaVersion> versions = new ArrayList<>()...
package tech.cube.soundtest.utilities; import java.util.concurrent.ThreadLocalRandom; public class SAK { public static int RANDOM(int min, int max) { return ThreadLocalRandom.current().nextInt(min, max + 1); } }
/* * Hibernate Validator, declare and validate application constraints * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.validator.internal.metadata.provider; import static org.hibernate.validator.int...
package models; public class HostParam { private String mem; public HostParam(String mem){ this.mem = new mem; } public String getMem() { return mem; } public void setMem(String mem) { this.mem = mem; } }
/* * MIT License * * Copyright (c) 2020 MCParkour * * 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...
package tests.compound.qual; import java.lang.annotation.ElementType; import java.lang.annotation.Target; import org.checkerframework.framework.qual.DefaultQualifierInHierarchy; import org.checkerframework.framework.qual.SubtypeOf; import org.checkerframework.framework.qual.TypeQualifier; @TypeQualifier @SubtypeOf({...
package gov.cms.bfd.server.war.stu3.providers; import ca.uhn.fhir.model.primitive.IdDt; import ca.uhn.fhir.rest.annotation.IdParam; import ca.uhn.fhir.rest.annotation.OptionalParam; import ca.uhn.fhir.rest.annotation.Read; import ca.uhn.fhir.rest.annotation.RequiredParam; import ca.uhn.fhir.rest.annotation.Search; imp...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
/* * Copyright 2016-2021 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 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 socialocean.parts; import javax.annotation.PostConstruct; import javax.inject.Inject; import org.eclipse.e4.ui.di.Focus; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; public class Console { private st...
package alexengrig.suai.library.domain; import lombok.Data; import javax.persistence.*; import java.time.Year; import java.util.Set; @Data @Entity public class Book { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String name; private String annotation; private ...
package com.shareholdergame.engine.facade.converter; public interface Converter<S, D> { D convert(S source); }
/* Copyright (c) 2008-2020, Nathan Sweet * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following * conditions are met: * * - Redistributions of source code must retain the above copyright notice, this list of condition...