text stringlengths 7 1.01M |
|---|
/*
* Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package org.publiccms.views.pojo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
/**
*
* ExtendField
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class ExtendField implements java.io.Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private... |
package com.xceptance.testbddy.api;
import com.xceptance.testbddy.core.bdd.steps.AbstractStep;
/**
* Shows that an {@link AbstractStep} should be treated as pending.
*
* @author ckeiner
*
*/
public class PendingRunnable implements Runnable
{
@Override
public void run()
{
throw new Unsupport... |
/*
* 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... |
/*
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... |
/**
* 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-2014 ICEsoft Technologies Canada Corp.
*
* 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... |
/*
* 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... |
/*
* Copyright (c) 2018, Adam <Adam@sigterm.info>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* li... |
package net.quikkly.android.react;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import com.facebook.react.bridge.ActivityEventListener;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.NoSuchKeyException;
import com.facebook.react.bridge.Promise;
im... |
package com.sohaib.taskManagementBackend.entities;
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 org.springframework.stereotype.Component;
import com... |
package com.amihaiemil.eoyaml;
import javax.json.JsonArray;
import java.util.Collection;
import java.util.stream.Collectors;
/**
* Representation of a {@link javax.json.JsonArray} as YAML Sequence.
* @author criske
* @version $Id: 79245e3928650eee9ae9bb2316e3077d1ad664bd $
* @since 5.1.7
*/
final class JsonYamlS... |
/**
* Copyright (C) 2015-2021 Philip Helger (www.helger.com)
* philip[at]helger[dot]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/LICE... |
package old.Offer;
/**
* @author WangZ
* ������37����������ĵ�һ��������� 193ҳ
* ��Ŀ���������������ҳ����ǵĵ�һ���������
* ˼·�����ȱ������������������k1��k2������k1>k2����ô�ڶ��α�����ʱ��
* ����1����ָ������k1-k2����Ȼ��һ���ߣ��غϵĵ����Ҫ�ҵĵ�
*/
public class FindFirstCommonNodeDemo {
public static void main(String[] arg... |
/*
* 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 2015 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 law... |
package com.focus.cos.web.dev.service;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement... |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Aug 24 14:37:15 GMT 2018
*/
package net.sourceforge.squirrel_sql.client.session;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
... |
package org.openprovenance.prov.sql;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.pe... |
package io.cattle.platform.process.port;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.inject.Named;
import static io.cattle.platform.core.model.tables.PortTable.*;
import io.cattle.platform.core.constants.InstanceConstants;
import io.cattle.platform.core.constants.PortConstants... |
/**
*
*/
package com.cloderia.helion.client.local.ui.page;
import javax.inject.Inject;
import javax.inject.Named;
import org.jboss.errai.common.client.api.Caller;
import org.jboss.errai.common.client.api.RemoteCallback;
import org.jboss.errai.common.client.dom.DOMUtil;
import org.jboss.errai.common.client.dom.HTM... |
/**
* Copyright 2009-2020 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 (C)2011, 2013-2015 D. R. Commander. All Rights Reserved.
* Copyright (C)2015 Viktor Szathmáry. 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... |
package structures;
import java.util.*;
import java.util.ArrayList;
public class BinaryTree {
public TreeNode root;
public int left;
public int right;
// public BinaryTree() {
// this.left = 0;
// this.right = 1;
// }
public void insert(int value) {
if (this.root == ... |
package com.example.wlq.coolweather;
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... |
/*
* 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 ru.otus.merets.webapp.test;
import ru.otus.merets.annotation.After;
import ru.otus.merets.annotation.Before;
import ru.otus.merets.annotation.Test;
import ru.otus.merets.webapp.WebApplication;
public class WebApplicationTest {
private String className;
private WebApplication webapp;
public WebAppl... |
package com.jjh.bookshop.domain;
public class Book {
private String isbn;
private String author;
private String title;
private double price;
/**
* Default constructor required by conversion libraries
* e.g. JSON-B or JAX-B
*/
public Book() {}
public Book(String isbn, String author, String title, doub... |
package com.github.markusbernhardt.seleniumlibrary;
/**
* A raised exception of this type ends all test executions.
*/
@SuppressWarnings("serial")
public class SeleniumLibraryFatalException extends RuntimeException {
/**
* Mark this exception as fatal
*/
public static final boolean ROBOT_EXIT_ON_FAILURE = tru... |
// --------------------------------------------------------------------------------
// Copyright 2002-2022 Echo Three, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:/... |
package com.floridakeys.model.artist;
import com.floridakeys.model.BaseModel;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @description Artist Summary Model
*
* @author Adrian
*/
public class ArtistSummary extends BaseModel {
// Member Variables
private String mID;
p... |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package binarytrees;
/**
* Given a binary tree, convert it into its mirror.
*
* Signature of expected method:
*
* public static <T> void mirror(TreeNode<T> root) {
*/
public class TreeMirror {
public static <T> void mirror(TreeNode<T> root) {
if (root == null) {
return;
}
mirror(root.getLeft()... |
package com.zhengq.designpattern._06proxypattern.generalcode.dynamic.impl;
import com.zhengq.designpattern._06proxypattern.generalcode.dynamic.Subject;
/**
* 真实主题
*
* @ClassName: RealSubject
* @Description: TODO
* @author: Zhenggq
* @date: 2018年5月7日 下午2:53:39
*/
public class RealSubject implements Subject {
... |
package firstprogram.classes;
public abstract class AbstractClass {
public abstract void metodoNonConcreto();
public void metodoConcreto() {
System.out.println("sono un metodo concreto");
}
public static void main(String[] args) {
//AbstractClass ac = new AbstractClass();
}
}
|
// Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8;
import com.android.tools.r8.utils.AndroidApiLevel;
import java.nio.file.Pat... |
/*
* 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 ... |
/*
* 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 Persistence;
/**
*
* @author SANTI
*/
public class FileManager {
}
|
package app.repositories;
import app.domain.entities.Product;
public interface ProductRepository extends GenericRepository<Product, Long> {
Product findByName(String name);
}
|
/*
* Copyright (c) 2012, LaSIGE, FCUL, Lisbon, Portugal.
* All rights reserved.
*
* This file is distributed under the terms in the attached LICENSE file.
* If you do not find this file, copies can be obtained by writing to:
* LaSIGE, FCUL, Campo Grande, Ed. C6, Piso 3, 1749-016 LISBOA, Portugal
* (c/o João Crav... |
package org.jgroups.tests;
import org.jgroups.Global;
import org.jgroups.util.Promise;
import org.jgroups.util.TimeScheduler;
import org.jgroups.util.TimeScheduler3;
import org.jgroups.util.Util;
import org.testng.Assert;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import java.uti... |
package com.google.api.ads.dfp.jaxws.v201306;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for LineItemSummary.ReservationStatus.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <sim... |
/*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.operator.cluster.operator.assembly;
import io.fabric8.kubernetes.api.model.ConfigMap;
import io.fabric8.kubernetes.api.model.ConfigMapBuilder;
import io.fabric8.... |
// Copyright (c) 2010 Shardul Deo
//
// 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 © 2017 Vincent Lachenal
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.
*/
package com.github.vlachenal.webservice.bench.business;
imp... |
package com.example.inventory.iu;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Context;
import android.content.Intent;
import android.net.sip.SipSession;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.ut... |
/*
* Anserini: A Lucene toolkit for reproducible information retrieval research
*
* 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
*
* Unl... |
/*
* 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 org.egov.tl.web.models;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
import java.util.List;
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TradeLicenseSearchCriteria {
@JsonProperty("tenantId")
... |
package io.github.vantiv.sdk;
import java.io.*;
import java.util.HashMap;
import java.util.Properties;
public class Setup {
/* List of environments for the configuration. */
private enum EnvironmentConfiguration {
SANDBOX("sandbox", "https://www.testvantivcnp.com/sandbox/new/sandbox/communicator/onlin... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"... |
package org.ihtsdo.buildcloud.core.entity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.hibernate.annotations.Type;
import org.ihtsdo.buildcloud.core.entity.helper.EntityHelper;
import ja... |
/*
* Copyright (C) 2013 - 2018, Logical Clocks AB and RISE SICS AB. All rights reserved
*
* 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 limitatio... |
package com.remondis.remap;
import static com.remondis.remap.Lang.denyNull;
import java.util.Collection;
/**
* Builder to assert a replace operation on a {@link Mapper} object using {@link AssertMapping}.
*
* @param <S> The source type
* @param <D> The destination type
* @param <RS> The type of the source field... |
/*
* 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 ... |
/*
* BSD 3-Clause License
*
* Copyright (c) 2017, Gluon Software
* 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 notic... |
package systems.reformcloud.reformcloud2.executor.api.common.groups.template;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public final class RuntimeConfiguration {
public RuntimeConfiguration(int maxMemory, List<String> processParameters, Map<String, String> systemProperties) {
... |
//
// ========================================================================
// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others.
//
// 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/leg... |
/*
* Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not us... |
package cn.qumiandan.system.weixin.entity;
import java.util.List;
import com.google.gson.annotations.Expose;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
* 微信用户信息user
* @author yuleidian
* @version 创建时间:2018年11月3日 下午7:22:53
*
* 微信字段和系统字段不统一,请使用set copy 内容
*/
@Getter
@Setter
@ToStri... |
package com.aliyun.ros.cdk.ram;
/**
* Properties for defining a `ALIYUN::RAM::UserToGroupAddition`.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.49.0 (build e322d87)", date = "2021-12-21T15:12:58.544Z")
@software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.ram.$Module.class, fqn = "@alicloud/ros-cdk-ram.Ro... |
package com.in28minutes.microservices.currencyconversionservice.util.environment;
import java.util.Arrays;
import java.util.stream.StreamSupport;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.context.event.EventListe... |
/*
* Copyright 2022 Yelp 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 to in... |
/*
* Copyright © 2019 Dominokit
*
* 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 compile;
class Mul extends Command {
@Override
public String name() {
return "mul";
}
@Override
public String description() {
return "mul var factor";
}
@Override
public void convert(String[] args) throws IndexOutOfBoundsException, NumberFormatException {
int t1 = findTempMem();
int t2 = f... |
package com.librarymanagement.webapp.service;
import com.librarymanagement.webapp.domain.Book;
import com.librarymanagement.webapp.repository.BookRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Optional;
... |
/*
* Copyright (c) 2011, 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 Softwa... |
// 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 co.fatboa.backsystem.service;
import co.fatboa.backsystem.domain.dto.LinkDto;
import co.fatboa.backsystem.domain.entity.Link;
import co.fatboa.backsystem.domain.params.LinkParam;
import co.fatboa.core.Service.IBaseService;
import org.springframework.stereotype.Service;
/**
* @Auther: hl
* @Date: 2018/9/2 17... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.management.compute;
import com.azure.management.RestClient;
import com.azure.management.compute.models.VirtualMachineScaleSetInner;
import com.azure.management.network.LoadBalancer;
import com.azure.manag... |
package com.github.containersolutions.operator;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.github.containersolutions.operator.api.Controller;
import com.github.containersolutions.operator.api.ResourceController;
import com.github.containersolutions.operator.processing.EventDispatcher;
import com.gi... |
package seedu.address.model.note;
import static seedu.address.commons.util.CollectionUtil.requireAllNonNull;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.preferences.website;
/**
* Notification information for a given origin.
*/
public class NotificationInfo extends Pe... |
package org.truenewx.tnxjee.repo.jpa.init;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.truenewx.tnxjee.core.config.AppC... |
/*
* Copyright 1999-2017 Alibaba Group Holding 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 by applica... |
package edu.unc.ils.mrc.hive.converter.embne;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.ut... |
/***
* Copyright (c) 2009 Caelum - www.caelum.com.br/opensource
* 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
... |
/*
* Copyright (c) 2005, 2021 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: ... |
package kea.exam.repositories;
import kea.exam.entities.Party;
import org.springframework.data.jpa.repository.JpaRepository;
public interface PartyRepo extends JpaRepository<Party, Long> {
}
|
package cn.eyeblue.blog.rest.comment;
import cn.eyeblue.blog.rest.base.BaseEntity;
import cn.eyeblue.blog.rest.base.Pager;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.persistence.Entity;
import javax.persistence.Transient;
@EqualsAndHashCode(callSuper = true)
@D... |
/**
* Copyright 2013 Jonathan Cobb
* Copyright 2014 TangoMe 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... |
package pl.konczak.tries.org.hl7.v3;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
*
* An identifier that uniqu... |
package Date;
public class Birthday {
public static void main(String[] args) {
//Create object for default date
Date defaultDate = new Date();
//Set year, month, day in defaultDate
defaultDate.setYear(2010);
defaultDate.setMonth(12);
defaultDate.setDay(30);
... |
package com.runtimeverification.rvmonitor.java.rvj.output.combinedoutputcode;
import com.runtimeverification.rvmonitor.java.rvj.Main;
import com.runtimeverification.rvmonitor.java.rvj.output.RVMVariable;
/**
* Previously, one single global lock was used in a coarse manner; when an event
* occurs, any other event th... |
/*
* 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 ups.edu.ec;
/**
*
* @author Daniel
*/
public class Contacto {
private String nombre;
private int telefono;
pub... |
package za.ac.nwu.aws.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import za.ac.nwu.domain.dto.imageDTO;
import za.ac.nwu.domain.persistence.shareimagePersistence;
import za.ac.nwu.repo.per... |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Nov 27 19:28:26 GMT 2020
*/
package accessories.plugins.time;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.Af... |
/************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved.
*
* Use is subject to license terms.
*
* Licensed under the Apache License, Version 2.0 (the "Lic... |
package org.infinispan.test.hibernate.cache.commons.functional;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.stat.Statistics;
import org.infinispan.test.hibernate.cache.commons.functional.entities.Person;
import org.infinispan.test.hibernate.cache.commons.util.TestRegionFactory;
impor... |
/*
* 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 io.github.jhipster.sample.service.dto;
import javax.validation.constraints.*;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* A DTO for the {@link io.github.jhipster.sample.domain.BankAccount} entity.
*/
public class BankAccountDTO implements Serializable {
private Long i... |
/*
* Copyright (C) 2007-2013 VMware, 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 b... |
package de.agiehl.bgg.model.play;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlText;
import lombok.Data;
@Data
public class Comments {
@JacksonXmlText
private String text;
}
|
/*
* Copyright 2013, The Sporting Exchange Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
package pt.ulisboa.tecnico.cmu.command;
import pt.ulisboa.tecnico.cmu.response.Response;
/**
* Created by daniel on 01-04-2018.
*/
public class SignUpCommand extends Command {
private static final long serialVersionUID = -8807331723807741905L;
private String message;
private String Id = "SignUpCommand... |
package com.selfcoders.networkmusicplayer.medialibrary;
import com.selfcoders.networkmusicplayer.medialibrary.database.Track;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
import java.io.IOException;
impo... |
package model.road;
import java.util.ArrayList;
import java.util.Collections;
public final class RailRoadTracks extends Road {
private static RailRoadTracks railRoadTracks;
private ArrayList<Waypoint> reversedRoute;
public static RailRoadTracks getInstance()
{
if(railRoadTracks==null)
... |
/*
* 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 rosetta;
public class MDC_DIM_NANO_G_PER_M_SQ_PER_MIN {
public static final String VALUE = "MDC_DIM_NANO_G_PER_M_SQ_PER_MIN";
}
|
/* Class625 - Decompiled by JODE
* Visit http://jode.sourceforge.net/
*/
package com.jagex;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.StringSelection;
import java.awt.datatransfer.Transferable;
public class Class625 {
public int anInt8132;
public int anInt8133 = 833284228;
public shor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.