text stringlengths 7 1.01M |
|---|
package uk.gov.digital.ho.proving.income.audit.statistics;
import lombok.Builder;
import lombok.Data;
import java.time.LocalDate;
@Data
@Builder
// Accessors not fluent because SuperCsv relies on setters following the "getX" format.
public class PassRateStatistics {
private final LocalDate fromDate;
private ... |
/*
* 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 ... |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Nov 30 04:01:09 GMT 2020
*/
package weka.classifiers.rules;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.Afte... |
/*
* Copyright 2010 akquinet
* 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 writi... |
package de.nordakademie.informaticup.pandemicfighter.gameengine.factories;
import com.google.gson.JsonObject;
import de.nordakademie.informaticup.pandemicfighter.gameengine.ValueUtility;
import de.nordakademie.informaticup.pandemicfighter.gameengine.elements.Pathogen;
import org.junit.Before;
import org.junit.Test;
i... |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.idea.svn.checkout;
import com.intellij.openapi.application.ModalityState;
import com.intellij.openapi.application.ReadAction;
import com.intellij.openapi.co... |
package jas.spawner.modern.spawner.creature.handler.parsing.settings;
import jas.spawner.modern.spawner.creature.handler.parsing.TypeValuePair;
import jas.spawner.modern.spawner.creature.handler.parsing.keys.Key;
import java.util.ArrayList;
import java.util.EnumSet;
import java.util.HashMap;
/**
* For Optional Sett... |
package com.weshare.wesharespring.jdbi.mapper;
import com.weshare.wesharespring.entity.Response.EmailResponse;
import org.skife.jdbi.v2.StatementContext;
import org.skife.jdbi.v2.tweak.ResultSetMapper;
import javax.validation.constraints.NotNull;
import java.sql.ResultSet;
import java.sql.SQLException;
public class ... |
package br.com.objectos.css.type;
import br.com.objectos.code.annotations.Generated;
@Generated("br.com.objectos.css.boot.CssBoot")
public interface ClearValue extends Value {} |
/*
* 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 ... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
// $Id$
package org.hibernate.test.annotations.id.entities;
public enum Planet {... |
/*
* Copyright 2017 HugeGraph Authors
*
* 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, Ve... |
/*
*
* * ******************************************************************************
* * * Copyright (c) 2015-2019 Skymind, Inc.
* * *
* * * This program and the accompanying materials are made available under the
* * * terms of the Apache License, Version 2.0 which is available at
* * * https://ww... |
package com.youlai.mall.pms.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youlai.mall.pms.pojo.PmsSku;
public interface IPmsSkuService extends IService<PmsSku> {
}
|
package org.mcxa.lightingcontrol;
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 vo... |
package org.hl7.fhir.instance.model;
/*
Copyright (c) 2011+, HL7, Inc.
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 co... |
package mekanism.common.integration.crafttweaker.example;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.function.Function;
import mekanism.common.integration.crafttweaker.example.component.CrTExampleComment;
import mekanism.common.integration.crafttweaker.example.compone... |
/**
* 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 Affero General Public License as
* published by the Free Software F... |
package org.hisp.dhis.dataanalyser.action;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.hisp.dhis.organisationunit.OrganisationUnit;... |
/*
* This file is part of yosql. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://creativecommons.org/publicdomain/zero/1.0/. No part of yosql,
* including this file, may be copied, modified, propagated, or distributed except according to th... |
/*
* 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... |
package com.hedera.services.queries.contract;
/*-
*
* Hedera Services Node
*
* Copyright (C) 2018 - 2021 Hedera Hashgraph, 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
... |
package us.ihmc.tools.inputDevices.mouse3DJoystick;
import static us.ihmc.robotics.Assert.*;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Disabled;
import us.ihmc.graphicsDescription.input.mouse.Mouse3DPollData;
public class Mouse3DJoystickPollDataTest
{
@Test
... |
/*
*
* Copyright 2016 Robert Winkler
*
* 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 la... |
package ru.mail.polis.dao.impl;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.Iterator;
import java.util.NoSuchElementException;
import org.jetbrains.annotations.NotNull;
import org.rocksdb.ComparatorOptions;
import org.rocksdb.Options;
import org.rocksdb.R... |
/*
* The MIT License
*
* Copyright 2018 Karus Labs.
*
* 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, modi... |
package estudos.aula34;
public class ConversaoDeVolumes {
public static double litroEmCmCubico(double litro) {
return litro * 1000;
}
public static double metroCubicoEmLitros(double metro) {
return metro * 1000;
}
public static double metroCubicoEmPesCub(double metro) {
return metro * 35.32;
}
publi... |
package com.ionicframework.cordova.webview;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.pm.PackageInfo;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Build;
import android.util.Log;
import android.webkit.Servi... |
//
// MessagePack for Java
//
// Copyright (C) 2009 - 2013 FURUHASHI Sadayuki
//
// 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-... |
package tankgamenew;
public abstract class TickingObject implements Entity {
protected double x,y,velX,velY;
protected GlobalTexture tex;
protected boolean goingUpDown;
protected boolean goingLeftRight;
public abstract void tick();
public TickingObject(double x, double y, GlobalTexture tex) ... |
package com.github.joergschwabe;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.liveontologies.puli.Inference;
import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
public class IdProvider<A, I> {
private final BiMap<Object,... |
/*
* 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... |
/*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.queryobject.impl;
import java.util.ArrayList;
import java.util.L... |
package com.example.experiment_automata.backend.barcode;
import android.location.Location;
import com.example.experiment_automata.backend.experiments.ExperimentType;
import java.util.UUID;
/**
* Role/Pattern:
* Reference to a barcode and Measurement Trial pair
*
*/
public class MeasurementBarcodeReference ... |
package com.google.api.ads.dfp.jaxws.v201408;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for InventoryTargetingError.Reason.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simple... |
/**
* Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith... |
package com.wojciechdm.programmers.company.structure.client;
import lombok.*;
@Getter
@AllArgsConstructor
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public
class ClientSaveDto {
private String name;
private String codeName;
private Long keyAccount;
}
|
package com.github.mikephil.charting.data.realm.implementation;
import android.graphics.Color;
import com.github.mikephil.charting.data.BubbleEntry;
import com.github.mikephil.charting.data.realm.base.RealmBarLineScatterCandleBubbleDataSet;
import com.github.mikephil.charting.interfaces.datasets.IBubbleDataSet;
impor... |
package hbvi.module.positionthirdpartyfund.controller;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import javax.servlet.http.HttpServletRequest;
import java... |
/*
* Copyright (c) 2020 Broadcom.
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifi... |
package bg.jwd.cars.utils;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.modelmapper.ModelMapper;
public final class DtoConverter
{
private DtoConverter()
{
}
public static <S, D> D convert(S source, Class<D> destinationClass)
{
ModelMapper map... |
package com.simibubi.create.content.contraptions.relays.belt;
import com.simibubi.create.foundation.data.SpecialBlockStateGen;
import com.tterrag.registrate.providers.DataGenContext;
import com.tterrag.registrate.providers.RegistrateBlockstateProvider;
import net.minecraft.block.Block;
import net.minecraft.block.Bloc... |
package com.xzbd.mail.dao;
import com.xzbd.mail.domain.BiEmailJobRunDiaryDO;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
/**
*
* @author xzbd
* @email 745114565@qq.com
* @date 2019-01-15 17:42:53
*/
@Mapper
public interface BiEmailJobRunDiaryDao {
BiEmailJobRunD... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.07.... |
/**
* Copyright 2021 Markus Bordihn
*
* 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, d... |
/**
* Copyright 2006-2018 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
*
* Unle... |
/*
* Copyright 2017 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 Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.runtimefields.mapper;
import com.carrotsearc... |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may... |
package com.polarbookshop.dispatcherservice;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data @AllArgsConstructor @NoArgsConstructor
public class OrderAcceptedMessage {
private Long orderId;
}
|
package play.db.ebean;
import play.*;
import play.db.*;
import play.api.libs.Files;
import java.io.*;
import java.util.*;
import com.avaje.ebean.*;
import com.avaje.ebean.config.*;
import com.avaje.ebeaninternal.server.ddl.*;
import com.avaje.ebeaninternal.api.*;
/**
* A Play plugin that automatically manages Ebe... |
/**
*
*/
package cjlite.web.mvc;
/**
* Url redirect(exclude domain name)
*
* @author YunYang
* @version
*/
public class RedirectView extends View {
private final String redirectUrl;
public RedirectView(String _type, String rediectUrl) {
super(_type, "");
this.redirectUrl = rediectUrl;
}
public Stri... |
package org.javaboy.logging;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author 江南一点雨
* @微信公众号 江南一点雨
* @网站 http://www.itboyhub.com
* @国际站 http://www.javaboy.org
* @微信 a_java_boy
* @GitHub ... |
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####... |
package org.apereo.cas.clouddirectory;
import org.apereo.cas.configuration.model.support.clouddirectory.CloudDirectoryProperties;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.util.DateTimeUtils;
import com.amazonaws.services.clouddirectory.AmazonCloudDirectory;
import com.amazonaws.services.cloud... |
package org.tuhin.cluster.security;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectInputStream;
import java.io.ObjectOutput;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import org.tu... |
/*
* #%L
* FlatPack serialization code
* %%
* Copyright (C) 2012 Perka 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
... |
package lq.yiqian.service;
import lq.yiqian.domain.SearchHistory;
import lq.yiqian.domain.TopSearch;
import java.util.List;
/**
* @author LQ
* @create 2020-06-24 17:51
*/
public interface ISearchHistoryService {
int findTodayTotal();
int findYesterdayTotal();
List<SearchHistory> findAllByPage(Intege... |
/*
* Version 1.2, Date 28 June 2017
*
* This StressTest program requires Java 8. If your Java version is out of date,
* please update to Java 8.
*
* This StressTest program should be copied into and then invoked from the same
* directory as your maze game program.
*
* If your maze game program uses RMI,... |
/*
* 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 t... |
/*
* Copyright 2012 EMBL - European Bioinformatics Institute
*
* 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) 2020
*
* 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 withou... |
package DB;
import java.io.Serializable;
/**
* Created by Anil on 19/03/2018
*/
public class LabBatch implements Serializable {
private String name;
private int from;
private int to;
private CSClass csClass;
// private Division division;
// public Division getDivision() {
// return div... |
package org.ibase4j.web;
import java.io.IOException;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang3.StringUtils;
import org.ibase4j.model.SysUser;
import org.ibase4j.service.SysUserService;
import org.sprin... |
/**
* The MIT License (MIT)
*
* MSUSEL Metrics
* Copyright (c) 2015-2017 Montana State University, Gianforte School of Computing,
* Software Engineering Laboratory
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the ... |
package com.baofeng.mobile.view;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.baofeng.mobile.R;
/**
* 影片基本信息模块
* <p/>
* Created by author:李瑞宇
* email:alln... |
/*
* 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 (C) 2010 Cyril Mottier (http://www.cyrilmottier.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
*
* U... |
package org.yah.tools.index.lucene;
import org.apache.lucene.document.Document;
import org.apache.lucene.index.IndexWriter;
import org.apache.lucene.index.IndexWriterConfig;
import org.apache.lucene.index.Term;
import org.apache.lucene.store.Directory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import or... |
package com.salesforce.pyplyn.duct.etl.configuration;
import static com.salesforce.pyplyn.util.CollectionUtils.immutableOrEmptySet;
import static java.util.concurrent.TimeUnit.MILLISECONDS;
import static java.util.stream.Collectors.toList;
import java.time.Duration;
import java.time.Instant;
import java.util.*;
impor... |
package com.github.padlaboris.basic.First;
// Demonstrate boolean values.
class BoolTest {
public static void main(String args[]) {
boolean b;
b = false;
System.out.println("b is " + b);
b = true;
System.out.println("b is " + b);
// a boolean value can control the if... |
package com.endava.cats.fuzzer.http;
import com.endava.cats.Fuzzer;
import com.endava.cats.annotations.HttpFuzzer;
import com.endava.cats.http.HttpMethod;
import com.endava.cats.io.ServiceCaller;
import com.endava.cats.io.ServiceData;
import com.endava.cats.model.CatsResponse;
import com.endava.cats.model.FuzzingData;... |
/*
* 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 2004, 2005, 2006 Acegi Technology Pty 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 b... |
/**
* Copyright 2011 Microsoft 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 agre... |
/*
* 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) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for a... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package de.dimm.vsm.net;
import java.io.Serializable;
/**
*
* @author Administrator
*/
public class AttributeEntry implements Serializable
{
String name;
byte[] data;
public AttributeEntry( String... |
package murraco.model;
import javax.persistence.*;
@Entity
public class TrustedUsers {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@OneToOne
private User user;
@OneToOne
private User trustedUser;
public Integer getId() {
return id;
}
... |
package io.tracee.contextlogger.outputgenerator.writer.api;
import io.tracee.contextlogger.outputgenerator.outputelements.ComplexOutputElement;
/**
* Public interface for all writers of {@link io.tracee.contextlogger.outputgenerator.outputelements.ComplexOutputElement}s.
*/
public interface ComplexOutputElementWrit... |
/*
*Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*WSO2 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... |
/*******************************************************************************
*
* Hop : The Hop Orchestration Platform
*
* http://www.project-hop.org
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ma... |
package com.luban.aop.advice;
import org.springframework.aop.AfterAdvice;
import org.springframework.aop.AfterReturningAdvice;
import java.lang.reflect.Method;
public class LoggerAfterReturningAdvice implements AfterReturningAdvice {
// 方法执行后进行调用,后置增强 --->建议
@Override
public void afterReturning(Object returnVal... |
package org.pmiops.workbench.access;
import com.google.common.collect.ImmutableList;
import java.util.List;
import org.pmiops.workbench.db.model.DbAccessModule.DbAccessModuleName;
import org.pmiops.workbench.db.model.DbAccessTier;
import org.pmiops.workbench.exceptions.NotFoundException;
/** Utilities for RW Access r... |
/*
* 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.hannes.volatileDemo;
import java.util.concurrent.atomic.AtomicInteger;
public class VolatileDemo {
// private static volatile int num = 0;
private static volatile AtomicInteger num = new AtomicInteger();
public static void main(String[] args) {
// 理论上能够达到20000,但实际不行
// 证明了vo... |
package com.nnoco.playground.java8;
import java.util.Arrays;
import java.util.List;
import java.util.OptionalInt;
import java.util.stream.IntStream;
public class LearningStream {
public static void main(String[] args) {
// 리듀싱
int sum = IntStream.range(1, 101).reduce(0, (a, b) -> a + b);
OptionalInt resu... |
package com.canmeizhexue.common.base;
import android.app.Activity;
import android.app.Fragment;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import com.canmeizhexue.common.utils.LogUtils;
/**android本身app包下的fragment
* Created by silen... |
import org.openqa.selenium.By;
import org.testng.annotations.Test;
public class FirstTest extends TestBase {
@Test
public void openChromeTest() throws InterruptedException {
driver.get("https://www.tel-ran.com/");
Thread.sleep(5000);
}
@Test
public void openWikipediaTest() throws... |
/**
* 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.compute;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
import com.microsoft.azure.mana... |
package com.example.myweather.gson;
import com.google.gson.annotations.SerializedName;
public class Now {
@SerializedName("tmp")
public String temperature;
@SerializedName("cond")
public More more;
public class More {
@SerializedName("txt")
public String info;
}
}
|
package de.adorsys.psd2.model;
import java.util.Objects;
import io.swagger.annotations.ApiModel;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;
import javax.validation.constraints.*;
/**
* This date is containing the date of the last action on the consent object either thr... |
package oefening1_JUnit;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
import oefening1.Huwelijk;
import oefening1.Persoon;
public class HuwelijkTest {
private Persoon an;
privat... |
/**
* 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) 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 com.ilsid.poc.uidiscovery.websocket;
public class WebsocketResponse {
private String operation;
private Object payload;
public WebsocketResponse(String operation, Object payload) {
this.operation = operation;
this.payload = payload;
}
public String getOperation() {
return operation;
}
p... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * 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... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.test.bytecode.enhancement.lazy.proxy;
import java.io.Seriali... |
package uk.gov.ons.ctp.response.casesvc.steps;
import cucumber.api.java.en.When;
import uk.gov.ons.ctp.response.casesvc.util.CaseResponseAware;
/**
* Created by Stephen Goddard on 18/3/16.
*/
public class CategoriesSteps {
private final CaseResponseAware responseAware;
/**
* Constructor
*
* @param cas... |
package com.hubspot.slack.client.models.users;
import java.util.Map;
import java.util.Optional;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.immutables.value.Value.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.PropertyNamingStrategy.SnakeCas... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.