text
stringlengths
7
1.01M
package com.github.isopov.mongoplanchecker.core; import static org.junit.jupiter.api.Assertions.assertEquals; import org.bson.Document; import org.junit.jupiter.api.Test; class PlanCheckerTest { private final PlanChecker checker = new PlanChecker(); private static final String IDHACK = "{\"queryPlanner\":...
/* * Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The contents of this file are subject to the terms of either the Universal Permissive License * v 1.0 as shown at http://oss.oracle.com/licenses/upl * * or the ...
package com.linkedbear.spring.annotation.f_typefilter; import com.linkedbear.spring.annotation.f_typefilter.config.TypeFilterConfiguration; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import java.util.stream.Stream; public class TypeFilterApplication { public static voi...
/* * Copyright 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 "license" file ...
package com.github.mikephil.charting.renderer; import android.graphics.Canvas; import android.graphics.Paint; import com.github.mikephil.charting.animation.ChartAnimator; import com.github.mikephil.charting.data.CandleData; import com.github.mikephil.charting.data.CandleEntry; import com.github.mikephil.charting.hig...
/* * Copyright 2016 Danish Maritime Authority. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
/* * _______ _____ _____ _____ * |__ __| | __ \ / ____| __ \ * | | __ _ _ __ ___ ___ ___| | | | (___ | |__) | * | |/ _` | '__/ __|/ _ \/ __| | | |\___ \| ___/ * | | (_| | | \__ \ (_) \__ \ |__| |____) | | * |_|\__,_|_| ...
/* * Copyright (c) 2008-2019, Piccolo2D project, http://piccolo2d.org * Copyright (c) 1998-2008, University of Maryland * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided * that the following conditions are met: * * Redistri...
package com.czj.bandwagong; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on an Android devi...
package project.java.tbusdriver.Controller.Fragments; import android.app.Activity; import android.content.Context; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; impor...
/* * nimbus-jose-jwt * * Copyright 2012-2016, Connect2id Ltd. * * 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.project.androidocr; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.ProgressBar; import android.widget.Toast; import androidx.appcompat.app.AppCompatActivity; im...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.fhwa.c2cri.tmdd.emulation.dms.dialogs; import org.fhwa.c2cri.centermodel.emulation.exceptions.EntityEmulationException; im...
/* * ###### * ###### * ############ ####( ###### #####. ###### ############ ############ * ############# #####( ###### #####. ###### ############# ############# * ###### #####( ###### #####. ###### ##### ###### ##### ###### * ###### ###### #####...
package frc.lib.util; public interface CSVWritable { String toCSV(); int getNumFields(); }
package eu.rsulkowski.jdoocsoup.app; import eu.rsulkowski.jdoocsoup.annotation.DataClassBuilder; import lombok.Getter; @Getter abstract class Size { protected String sizeKg; @DataClassBuilder.Ignored protected String sizeMgr; }
package io.aigar.game.models; import org.mini2Dx.gdx.math.Vector2; public class Virus { private int radius; private int mass; private Vector2 position; public int getRadius() { return radius; } public void setRadius(int radius) { this.radius = radius; } public int ge...
/* * 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"); ...
/* * 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 not ...
package com.xuecheng.manage_cms_client; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.context.annotation.ComponentScan; @SpringBootApplication @EntitySc...
package com.les4elefantastiq.comeeting.managers; import android.support.annotation.NonNull; import com.les4elefantastiq.comeeting.dataaccess.CoworkspaceDataAccess; import com.les4elefantastiq.comeeting.models.Coworker; import com.les4elefantastiq.comeeting.models.Coworkspace; import java.util.List; import rx.Observ...
package com.xiaowangzi.yygh.model.hosp; import com.alibaba.fastjson.JSONArray; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.util.StringUtils; import java.util.List; ...
package com.semihbkgr.hibou.server.exception; import com.semihbkgr.hibou.server.exception.response.model.FieldErrorModel; import lombok.NonNull; import org.springframework.http.HttpStatus; public class PersistenceException extends FieldException { PersistenceException(HttpStatus httpStatus) { super(httpS...
@ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault package li.cil.tis3d.common.inventory; import mcp.MethodsReturnNonnullByDefault; import javax.annotation.ParametersAreNonnullByDefault;
package lambdasinaction.chap3; import java.util.*; import static java.util.Comparator.comparing; //Distintas maneras de comparar una lista //terminado con una referencia a metodos public class Sorting { public static void main(String...args){ // 1 List<Apple> inventory = new ArrayList<>(); ...
/* * 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.example.reactnativecalendarlistpicker; import com.facebook.react.ReactActivity; public class MainActivity extends ReactActivity { /** * Returns the name of the main component registered from JavaScript. This is used to schedule * rendering of the component. */ @Override protected String ge...
package com.tactbug.ddd.stock.assist.vo; import lombok.AllArgsConstructor; import lombok.Getter; @Getter @AllArgsConstructor public enum BaseResultEnum implements BaseVo{ OK("00000", "操作成功"), SYSTEM_ERROR("A0001", "系统异常"), JSON_ERROR("A0101", "json解析异常"), NETWORK_ERROR("A0102", "网络异常"), INTERFACE_...
/* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package simulator.utils; /** * * @author abysmli */ public class ErrorLogger { /** * Used for error messages. */ ...
/* * Copyright (c) 2014, Cloudera and Intel, Inc. All Rights Reserved. * * Cloudera, Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"). You may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/lic...
/* * Copyright 2020 Tatsuya Maki * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright 2018-2019 Prebid.org, 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 ...
/** * This file is part of choco-geost, https://github.com/chocoteam/choco-geost * * Copyright (c) 2017, IMT Atlantique. All rights reserved. * * Licensed under the BSD 4-clause license. * See LICENSE file in the project root for full license information. */ package org.chocosolver.solver.constraints.nary.geost;...
package no.stelvio.common.error.logging; import no.stelvio.common.error.SystemUnrecoverableException; /** * LoggingTestDebugException. * * */ public class LoggingTestDebugException extends SystemUnrecoverableException { private static final long serialVersionUID = -7025428216821607999L; /** *...
/** * 严肃声明: * 开源版本请务必保留此注释头信息,若删除gemframe官方保留所有法律责任追究! * 本软件受国家版权局知识产权以及国家计算机软件著作权保护(登记号:2018SR503328) * 不得恶意分享产品源代码、二次转售等,违者必究。 * Copyright (c) 2020 gemframework all rights reserved. * http://www.gemframework.com * 版权所有,侵权必究! */ package com.gemframework.model.po; import lombok.Data; import lombok.EqualsAndHas...
/* * Copyright 2017 StreamSets 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...
/* * 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.appdirect.sdk.appmarket.restrictions.context; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @Data @JsonIgnoreProperties(ignoreUnknown = true) @NoArgsConstructor @AllArgsConstructor public class Subscrip...
package org.globsframework.xml; import org.globsframework.metamodel.Field; import org.globsframework.metamodel.fields.*; import org.globsframework.utils.exceptions.InvalidParameter; import java.text.*; import java.util.Date; import java.util.Locale; public class FieldConverter { private static final DecimalFormat ...
/* * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Pojos; /** * * @author Sevdanur GENC */ public class Cls_Doctors { private int id; private String dr_name; private String dr_surname; private String certificate_no; private String bra...
package io.izzel.mesmerize.api.visitor; public interface ExternalVisitor extends StatsValue<Object> { boolean isVirtual(); }
/** 06.01.2012 18:14 */ package fabric.module.typegen.java; import fabric.module.typegen.AttributeContainer; import fabric.module.typegen.exceptions.FabricTypeGenException; /** * This helper class contains various static methods to create * Java code that checks XML schema restrictions. These functions * were exte...
package cn.aezo.springcloud.configserver; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.config.server.EnableConfigServer; @SpringBootAppli...
/* ---------------------------------------------------------------------------- * Copyright (C) 2021 European Space Agency * European Space Operations Centre * Darmstadt * Germany * --------------------------------------------------------...
package com.fincatto.documentofiscal.nfe310.classes.cadastro; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import org.joda.time.LocalDateTime; import org.junit.Assert; import org.junit.Test; import com.fincatto.documentofiscal.DFUnidadeFederativa; import com.fincatt...
package palisades.lakes.bench.java.sets; import java.util.Collections; /** Static intersection test. * * @author palisades dot lakes at gmail dot com * @since 2017-05-29 * @version 2017-08-27 */ @SuppressWarnings("unchecked") public final class Intersects extends Object { //----------------------------------...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package org.usfirst.frc250.Stronghold2016.commands.auto; import org.usfirst.frc250.Stronghold2016.Robot; import edu.wpi.first.wpilibj.command.Command; /** * */ public class _SetOrientation extends Command { double offset; public _SetOrientation(double offset) { // Use requires() here to declare sub...
package com.anuragkapur.ds.graph; import java.util.ArrayList; import java.util.List; /** * @author: anuragkapur * @since: 09/05/2014 */ public class GraphFactory { /** * 1----->2--------->4 * | > ^ * | / | * | / | * |...
package com.kinotor.tiar.kinotor.parser.catalog.search; import android.os.AsyncTask; import android.util.Log; import com.kinotor.tiar.kinotor.items.ItemSearch; import com.kinotor.tiar.kinotor.items.Statics; import com.kinotor.tiar.kinotor.utils.OnTaskSearchCallback; import org.jsoup.Jsoup; import org.jsoup.nodes.Doc...
package com.cyc.cycjava.cycl; import com.cyc.tool.subl.util.SubLFiles; import com.cyc.tool.subl.jrtl.nativeCode.type.core.SubLObjectFactory; import static com.cyc.tool.subl.jrtl.nativeCode.type.core.SubLObjectFactory.*; import com.cyc.tool.subl.jrtl.nativeCode.subLisp.SubLThread; import com.cyc.tool.subl.jrtl.nativeCo...
package io.etrace.stream.biz.app.event; import lombok.NoArgsConstructor; import java.util.Map; @NoArgsConstructor public abstract class AbstractTransaction extends AbstractEvent { private long duration; public AbstractTransaction(String type, String name, long timestamp, String status, Map<String, String> t...
package com.ncalendar.adapter; import android.content.Context; import android.graphics.Color; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.util.TypedValue; import android.view.Gravity; import android.view.View; import android.view.ViewGroup; import android.wi...
package water; import hex.CreateFrame; import hex.genmodel.easy.RowData; import org.junit.AfterClass; import org.junit.Ignore; import org.junit.Rule; import org.junit.rules.TestRule; import org.junit.runner.Description; import org.junit.runners.model.Statement; import water.fvec.*; import water.parser.BufferedString; ...
// Copyright 2019, California Institute of Technology ("Caltech"). // U.S. Government sponsorship acknowledged. // // 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 so...
class Solution { public int missingNumber(int[] nums) { /*int ans=0; int j=0; Arrays.sort(nums); if(nums[nums.length-1] != nums.length) ans=nums.length; else if(nums[0] != 0) ans=0; else { for(int i=1;i<num...
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
package org.jboss.resteasy.test.resource.param; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.container.test.api.RunAsClient; import org.jboss.arquillian.junit.Arquillian; import org.jboss.resteasy.client.jaxrs.ProxyBuilder; import org.jboss.resteasy.client.jaxrs.Resteasy...
package com.almis.awe.scheduler.listener; import com.almis.awe.config.ServiceConfig; import com.almis.awe.scheduler.bean.event.SchedulerTaskFinishedEvent; import com.almis.awe.scheduler.bean.event.SchedulerTaskStartedEvent; import com.almis.awe.scheduler.bean.task.Task; import com.almis.awe.scheduler.job.scheduled.Sch...
import java.awt.*; import java.util.*; public class Circles { public static final Scanner console = new Scanner(System.in); public static void main (String[] args) { DrawingPanel panel = new DrawingPanel(400, 300); Graphics g = panel.getGraphics(); // tell user how to input dat...
/* * 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 u...
/* * Copyright (c) 2017 Spotify AB. * * 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,...
/* * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package org.radargun.service; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import javax.management.MBeanServerConnection; import javax.management.MalformedObjectNameException; import javax.management.ObjectName; import javax.management.remote.JMXConnector; import javax...
// Targeted by JavaCPP version 1.5-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.tensorflow; import org.bytedeco.tensorflow.Allocator; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.tensorflow.global.tensorflow.*; /** Get the value of t...
package com.doopai.litemall.database.service; import com.doopai.litemall.database.domain.LitemallUserFormid; import com.doopai.litemall.database.dao.LitemallUserFormidMapper; import com.doopai.litemall.database.domain.LitemallUserFormidExample; import org.springframework.stereotype.Service; import javax.annotation.Re...
//============================================================================== // // Copyright (c) 2002- // Authors: // * Andrew Hinton <ug60axh@cs.bham.ac.uk> (University of Birmingham) // //------------------------------------------------------------------------------ // // This file is part of PRISM. // // PRI...
/* * 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...
package com.fenago.kafka.consumer; public class DatabaseException extends RuntimeException { }
/* * The MIT License (MIT) * * Copyright (c) 2011-2021 Broad Institute, Aiden Lab, Rice University, Baylor College of Medicine * * 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...
package ml.puredark.hviewer.http; import ml.puredark.hviewer.HViewerApplication; import ml.puredark.hviewer.ui.fragments.SettingFragment; import ml.puredark.hviewer.utils.SharedPreferencesUtil; public class HProxy { // private static final String PROXY_DEFAULT_SERVER = "https://h-viewer-proxy.herokuapp.com"; ...
/* * JBoss, Home of Professional Open Source. * Copyright 2016 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package ShopList; import database.daos.ListDAO; import database.daos.NotificationDAO; import database.entities.User; import ...
/* * 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...
/* * ARX: Powerful Data Anonymization * Copyright 2012 - 2017 Fabian Prasser, Florian Kohlmayer and 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://w...
/* Copyright 2012 Selenium committers Copyright 2012 Software Freedom Conservancy 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 jackylearning.hessian; import com.caucho.hessian.io.HessianSerializerOutput; import java.io.ByteArrayOutputStream; import java.io.IOException; /** * 使用{@link HessianSerializerOutput}和{@link com.caucho.hessian.io.HessianSerializerInput}进行序列化测试 * @author liumingjian * @date 2018/7/11 **/ public class Hessi...
/* * Copyright 2013 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 applica...
/* * 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...
package com.mero.wyt_register.utils; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.security.MessageDigest; import java.util.ArrayList; import java.util.Locale; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Created by chenlei on 2016/10/15. */ public cl...
package com.profitera.util; import oracle.toplink.queryframework.CursoredStream; /** * This uses a TopLink Object stream in a forward-only manner, * reading it much like an enumeration/iterator. It takes * care of the stream synchronization for you as long as you use * the next() method to get the next object fro...
package classes; // properties of classes are grouping and feature holder public class Main { static int fibonacci(int n) { if (n <= 1) { return n; } else { return fibonacci(n - 1) + fibonacci(n - 2); } } public static void main(String[] args) { Customer customer1 = new Customer(1, "Yasin", "Ozer", ...
/* * OpenRemote, the Home of the Digital Home. * Copyright 2008-2012, OpenRemote Inc. * * See the contributors.txt file in the distribution for a * full listing of individual contributors. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Pub...
/* * Copyright (c) 2020 MarkLogic 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 ...
/* * Copyright (C) 2002-2017 Sebastiano Vigna * * 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...
/*L * Copyright Georgetown University, Washington University. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cab2b/LICENSE.txt for details. */ package edu.wustl.common.querysuite.exceptions; /** * Exception will be thrown if there already exists a child with th...
package ru.job4j.generics; /** * Class RoleStore | Task Solution: Implement Store<T extends Base> [#157] * @author Aleksey Sidorenko (mailto:sidorenko.aleksey@gmail.com) * @since 27.07.2018 */ class RoleStore extends AbstractStore<Role> { /** * Constructor. */ public RoleStore(int size) { ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed 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 * distribu...
/* * 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...
package io.openex.database.specification; import io.openex.database.model.Evaluation; import org.springframework.data.jpa.domain.Specification; public class EvaluationSpecification { public static Specification<Evaluation> fromObjective(String objectiveId) { return (root, query, cb) -> cb.equal(root.get...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.management.redis.implementation; import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft....
package io.spring.cloud.samples.brewery.aggregating; import java.util.concurrent.CompletableFuture; import java.util.concurrent.Executors; import io.spring.cloud.samples.brewery.common.events.Event; import io.spring.cloud.samples.brewery.common.events.EventGateway; import io.spring.cloud.samples.brewery.common.events...
package com.codamasters.screens; import com.codamasters.tween.SpriteAccessor; import aurelienribon.tweenengine.BaseTween; import aurelienribon.tweenengine.Tween; import aurelienribon.tweenengine.TweenCallback; import aurelienribon.tweenengine.TweenManager; import com.badlogic.gdx.Game; import com.badlogic.gdx.Gdx; im...
package io.zdp.node.web.api.validation.model; import io.zdp.api.model.v1.BaseResponseObject; @SuppressWarnings("serial") public class ValidationPingResponse extends BaseResponseObject { private String uuid; private String publicKey; public String getUuid() { return uuid; } public void setUuid(String uuid) ...
//Use parallel Fork/Join Framework package javase8programmer2practice; /** * * @author jwitt98 */ public class ParallelForkJoin { public static void main(String[] args){ System.out.println("Hello World!"); } }
package com.alibaba.oneagent; import static org.assertj.core.api.Assertions.assertThat; import java.lang.instrument.Instrumentation; import org.junit.Rule; import org.junit.Test; import org.springframework.boot.test.rule.OutputCapture; import net.bytebuddy.agent.ByteBuddyAgent; /** * * @author hengyunabc 2020-0...
/* * Copyright 2008-present MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...