text stringlengths 7 995k |
|---|
/*
* 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 ... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... |
package com.data.output;
/**
* Generated for query "getCommentEmails" on 06/09/2010 16:20:40
*
*/
public class GetCommentEmailsRtnType {
private String email;
public GetCommentEmailsRtnType() {
}
public GetCommentEmailsRtnType(String email) {
this.email = email;
}
public Strin... |
package com.lesath.apps.controller.getSchedule;
public class GetScheduleRequest {
String uuid;
public GetScheduleRequest(String uuid) {
this.uuid = uuid;
}
} |
package com.aunghan.stockmanagementsystem.entity;
import lombok.Data;
import javax.persistence.*;
@Data
@Entity
@Table(name="user")
public class User {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name="id")
private int id;
@Column(name="username")
private String username;... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot.commands.auton;
import edu.wpi.first.math.geometry.Rotation2d;
import edu.wpi.first.wpilibj2.command.... |
/*
* 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 2016-2018 shardingsphere.io.
* <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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
/**
* Copyright (C) 2010-2013 eBusiness Information, Excilys Group
*
* 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 de.adorsys.psd2.sandbox.tpp.rest.server.mapper;
import de.adorsys.ledgers.deposit.api.domain.MockBookingDetails;
import de.adorsys.psd2.sandbox.tpp.rest.api.domain.UserTransaction;
import de.adorsys.psd2.sandbox.tpp.rest.server.service.ParseService;
import org.junit.Test;
import org.mapstruct.factory.Mappers;
... |
package com.ngdesk.sam.rules.dao;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.ngdesk.commons.exceptions.BadRequestException;
import com.ngdesk.commons.managers.AuthManager;
import com.ngdesk.repositories.Mod... |
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package Connnection;
import Swing_Framework_Application.LoginPage;
import java.sql.Connection;
import java.sql.DriverMa... |
package pkgThree;
public class ClassAExtenderExtender extends ClassAExtender {
} |
package com.example.g2048;
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 void addi... |
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 ... |
/*
* Cpoyright (c) 2016 mikan. All rights reserved.
*/
package com.tasktoys.piclock;
import com.tasktoys.piclock.util.DateFormatConverter;
import com.tasktoys.piclock.util.Logs;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.DatePicker;
impo... |
package com.backstage.web.controller.monitor;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;... |
/*
* Copyright 2019 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 a... |
package com.power.utils;
/**
* @author sunyu
*/
import java.sql.Timestamp;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
public class DateTimeUtil {
private final static String[] WEEK_ARR = {"周日", "周一", "周二", "周三"... |
/*******************************************************************************
* Open Behavioral Health Information Technology Architecture (OBHITA.org)
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Re... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: common/common.proto
package ai.sensorycloud.api.common;
public interface CpuSummaryOrBuilder extends
// @@protoc_insertion_point(interface_extends:sensory.api.common.CpuSummary)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
... |
/*
*
* 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"); y... |
/**
* Copyright (c) 2012, University of Konstanz, Distributed Systems Group
* 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 copyr... |
/*
* 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 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) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Package containing the inner data models for SearchManagementClient. Client that can be used to manage Azure
* Cognitive Search services and API keys.
*/
... |
package com.github.neuralnetworks.samples.server.cifar;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import com.amd.aparapi.Kernel.EXECUTION_MODE;
import com.github.neuralnetworks.architecture.WeightsConnections;
import com.github.neuralnetworks.builder.NeuralNetworkBuilder;
import com.... |
/**
* Copyright 2019 Anthony Trinh
*
* 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 t... |
package org.jutility.events;
/*
* #%L
* jutility-incubation
* %%
* Copyright (C) 2013 - 2014 jutility.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.apa... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2021 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
AGPL licensi... |
package pt.ulisboa.tecnico.muc.shopist.firebase;
import com.google.firebase.Timestamp;
import com.google.firebase.firestore.DocumentReference;
import com.google.firebase.firestore.GeoPoint;
import java.util.List;
import java.util.Map;
public final class FireContract {
private FireContract() {}
protected static ... |
package com.southwind.repository;
import com.southwind.entity.Menu;
import java.util.List;
public interface MenuRepository {
public List<Menu> findAll(int index,int limit);
public int count();
public void save(Menu menu);
public Menu findById(long id);
public void update(Menu menu);
public vo... |
/*
* 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 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... |
/*
* Copyright (c) 2018, Tim Lehner <Timothy.Lehner.2011@live.rhul.ac.uk>
* 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 copyrig... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distribute... |
package ru.otus.l0151.websocket;
import org.eclipse.jetty.websocket.servlet.WebSocketServlet;
import org.eclipse.jetty.websocket.servlet.WebSocketServletFactory;
/**
* This class represents a servlet starting a webSocket application
*/
public class WebSocketLoginServlet extends WebSocketServlet {
private final ... |
/*
* Copyright 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
*
* Unless required by applicabl... |
// 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.devkit.themes;
import com.intellij.codeInsight.completion.*;
import com.intellij.codeInsight.lookup.LookupElement;
import com.intellij.codeInsight.look... |
/*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
// 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;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.os.Build;
impo... |
/*
* Copyright (C) 2017, Rockwell Collins
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the 3-clause BSD license. See the LICENSE file for details.
*
*/
package fuzzm.poly;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
i... |
package strings;
public class p226g30b {
public static void main(String[] args)
{
String str="ABCDEFGHIJKLMNO";
int i,j,x=0;
int len=str.length();
for(i=0;i<len;i++)
{
for(j=0;j<=i;j++)
{
System.out.print(str.charAt(x)+" ");
x++;
}
System.out.println();
}//what man???why????
}
} |
package dev.morphia.query.experimental.updates;
import dev.morphia.internal.PathTarget;
import dev.morphia.query.OperationTarget;
import org.bson.Document;
/**
* Defines the $currentDate operator
*
* @since 2.0
*/
public class CurrentDateOperator extends UpdateOperator {
private TypeSpecification typeSpec = T... |
package com.kanghanbin.wanandroid.http;
import com.blankj.utilcode.util.NetworkUtils;
import com.kanghanbin.wanandroid.BuildConfig;
import com.kanghanbin.wanandroid.util.Constant;
import java.io.File;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
import okhttp3.Cache;
import okhttp3.CacheControl;
... |
package deltix.qsrv.hf.tickdb.pub.topic.exception;
/**
* Internal marker interface for topic-related exceptions that are part of topic API.
*
* @author Alexei Osipov
*/
public interface TopicApiException {
} |
package com.zf.plugins.param.init.holder.viewmodel.type;
import com.zf.plugins.param.init.AnnotationEnv;
import com.zf.plugins.param.init.holder.viewmodel.ViewModelParamHolder;
import com.zf.plugins.param.init.holder.action.ViewModelCreationHolder;
import javax.lang.model.element.Element;
public class ViewModelPara... |
package lrg.dude.duplication;
public class PropertyDTO {
public PropertyDTO(String file, String name, String category, int value) {
this.file = file;
this.name = name;
this.category = category;
this.value = value;
}
public String getFile() {
return file;
}
public void setFile(String file) {
this.file ... |
package com.company.abstractfactory.iterator;
import java.util.Collection;
import java.util.Map;
//具体工厂
public class IteratorFactory<T> implements IIteratorFactory<T>{
@Override
public IteratorMap<T> iteratorMap(Map<T,Object> m) {
return new IteratorMap<T>(m);
}
@Override
public IteratorCollection<T> iteratorCo... |
package com.indeed.proctor.common;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ObjectWriter;
import com.google.common.base.Preconditions;
import com.google.common.collect.Immut... |
package online.qiqiang.qim.client.service;
import online.qiqiang.qim.common.vo.FriendAddVO;
import online.qiqiang.qim.common.vo.QimResponse;
import online.qiqiang.qim.common.vo.QimUserVO;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Pat... |
/**
* This class is generated by jOOQ
*/
package org.labkey.apikey.model.jooq.tables.records;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.Record3;
import org.jooq.Row3;
import org.jooq.impl.UpdatableRecordImpl;
import org.labkey.apikey.model.jooq.tables.AllowedServices;
/**
* This ... |
/*
* Copyright 2013 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 ap... |
/*
* Copyright 2016 The Netty Project
*
* The Netty Project 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 ... |
package com.weinyc.sa.app.engine.controller;
import com.weinyc.sa.core.engine.AbstractController;
import com.weinyc.sa.core.engine.AbstractServicer;
import com.weinyc.sa.core.annotation.ServicerType;
import com.weinyc.sa.common.util.JSONUtils;
import com.weinyc.sa.app.engine.servicer.MerchantServicer;
import com.weiny... |
package voss.model;
public interface EthernetProtectionPort extends LogicalEthernetPort {
EthernetPort getWorkingPort();
void setWorkingPort(EthernetPort port);
} |
/*
* Copyright 2002-2021 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... |
/*
* Copyright 2020-2021 Rosemoe
*
* 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 a... |
// Automatically generated by the Fast Binary Encoding compiler, do not modify!
// https://github.com/chronoxor/FastBinaryEncoding
// Source: test.fbe
// Version: 1.8.0.0
package com.chronoxor.test.fbe;
// Fast Binary Encoding com.chronoxor.test protocol version
public final class ProtocolVersion
{
// Protocol ma... |
/*
* 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 Basic;
import java.util.*;
class fibonacciRecursion{
static int a = 0, b = 1, c;
static void fibonacci(int n){
if(n>=1){
System.out.print(a + " ");
c = a + b;
a = b;
b = c;
fibonacci(n-1);
}
}
public static void mai... |
package com.google.android.gms.internal.firebase-perf;
public final class zzfc extends zzfg {
public static zzfx zzht() {
throw new NoSuchMethodError();
}
public final int hashCode() {
throw new NoSuchMethodError();
}
public final boolean equals(Object obj) {
throw new NoS... |
package com.diogonunes.jcdp.color;
import com.diogonunes.jcdp.bw.api.IPrinter;
import com.diogonunes.jcdp.color.api.AbstractColoredPrinter;
import com.diogonunes.jcdp.color.api.Ansi;
import com.diogonunes.jcdp.color.api.Ansi.Attribute;
import com.diogonunes.jcdp.color.api.Ansi.BColor;
import com.diogonunes.jcdp.color.... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2007-2015 Broad Institute
*
* 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
*... |
package org.elasticsearch.mapping;
/**
* Exception throwed when the mapping is not correct.
*
* @author luc boutier
*/
public class MappingException extends RuntimeException {
private static final long serialVersionUID = 1L;
public MappingException(String message) {
super(message);
}
} |
package com.github.sandor_balazs.nosql_java.service.impl;
import com.github.sandor_balazs.nosql_java.service.ProjectRegionService;
import com.github.sandor_balazs.nosql_java.domain.ProjectRegion;
import com.github.sandor_balazs.nosql_java.repository.ProjectRegionRepository;
import com.github.sandor_balazs.nosql_java.w... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/*
* Copyright (C) 2020 Dremio
*
* 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 wr... |
package com.trend.lazyinject.demo.application;
import android.app.Application;
import com.trend.lazyinject.buildmap.Auto_ComponentBuildMap;
import com.trend.lazyinject.lib.LazyInject;
/**
* Created by swift_gan on 2018/4/17.
*/
public class DemoApplication extends Application {
public static Application appl... |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... |
package ai.starwhale.mlops.api.protocol.swds;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;
@Data
@Validated
public class SWDSVersionRequest {
@JsonProperty("importPath")
private String importPath;
} |
/******************************************************************************
* Copyright AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and th... |
package com.pjzhong.dsa.list;
import java.util.Iterator;
import java.util.ListIterator;
public abstract class AbstractList<E> implements List<E> {
@Override
public boolean isEmpty() {
return size() == 0;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if... |
package id.brainmaster.iso20022.model;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax... |
/*
* Copyright 2016 NHN Entertainment Corp.
*
* NHN Entertainment Corp. 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
*
* Unle... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 动态模板参数
*
* @author auto create
* @since 1.0, 2021-05-11 12:04:04
*/
public class ExtTemplateConf extends AlipayObject {
private static final long serialVersionUID = 1443694639579892374L;
... |
package com.wizzardo.http;
import com.wizzardo.http.request.ByteTree;
import com.wizzardo.http.request.Header;
import com.wizzardo.http.request.Request;
import com.wizzardo.http.utils.AsciiReader;
import java.util.LinkedHashMap;
import java.util.Map;
import static com.wizzardo.http.mapping.UrlMapping.SEGMENT_CACHE;
... |
package abi37_0_0.expo.modules.documentpicker;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.provider.OpenableColumns;
import androidx.a... |
package com.distrimind.bouncycastle.openpgp.test;
import java.io.ByteArrayInputStream;
import java.math.BigInteger;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.Security;
import java.util.Date;
import java.util.Iterator;
import javax.crypto.Cipher;
import com.distrimind.b... |
package org.infinispan.server.test.cs.custom;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import java.io.File;
import javax.management.ObjectName;
import org.infinispan.arquillian.core.InfinispanResource;
import org.infinispan.arquillian.core.RemoteInfinispanServer;
impor... |
package com.vadim.lakes.domain.models;
import com.google.gson.annotations.SerializedName;
public class Lake {
@SerializedName("id")
private Integer mId;
@SerializedName("title")
private String mTitle;
@SerializedName("description")
private String mDescription;
@SerializedName("img")
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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
/**
* OSHI (https://github.com/oshi/oshi)
*
* Copyright (c) 2010 - 2019 The OSHI Project Team:
* https://github.com/oshi/oshi/graphs/contributors
*
* 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 ... |
/**
* 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 net.minidev.ovh.api.license;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* All quantities of domain available for a license
*/
public enum OvhDomainNumberEnum {
@JsonProperty("0")
_0("0"),
@JsonProperty("1")
_1("1"),
@JsonProperty("10")
_10("10"),
@JsonProperty("100")
_100("100"),
@Js... |
package com.spelchec.surveyor.model;
import java.security.NoSuchAlgorithmException;
import java.util.List;
import com.spelchec.surveyor.MD5;
public class Question {
public String question;
public String type;
public Integer selectionLimit;
public List options;
public Boolean allowOther;
public String getHashC... |
package com.github.mozvip.subtitles.model;
import java.nio.file.Path;
import org.apache.commons.lang3.StringUtils;
import com.github.mozvip.subtitles.utils.RegExp;
public class VideoNameParser {
private final static String NAME_REGEXP = ".+";
public final static String SEPARATOR_REGEXP = "[\\s\\.]+";
private ... |
/*
* Copyright 2014-2020 [fisco-dev]
*
* 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 i... |
package org.everit.json.schema.loader;
import static java.util.Arrays.asList;
import static java.util.Collections.unmodifiableList;
import static java.util.Objects.requireNonNull;
import java.io.IOException;
import java.io.InputStream;
import java.io.UncheckedIOException;
import java.util.List;
import java.util.Optio... |
package jp.co.flect.xmlschema;
import org.w3c.dom.Element;
public class InvalidSchemaException extends XMLSchemaException {
private static final long serialVersionUID = -1910806122487904847L;
private Element element;
public InvalidSchemaException(String msg, Element el) {
super(msg);
this.element = el;
}... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.proto
package com.google.cloud.aiplatform.v1.schema.trainingjob.definition;
public interface AutoMlImageSegmentationInputsOrBuilder extends
// @@protoc_insertio... |
/**
*/
/* THIS FILE IS DERIVED FROM spidermonkey_drv.c
* ORIGINAL COPYRIGHT NOTICE
author Kevin Smith <ksmith@basho.com>
copyright 2009-2010 Basho Technologies
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 co... |
package fr.lacnet.mcm.ext1.card.door.curse;
import fr.lacnet.mcm.ext1.card.door.Door;
import fr.lacnet.mcm.ext1.player.Player;
/**
*
* @author jlacroix
*
*/
public interface Curse extends Door {
/**
*
* @param player
* who will be cursed
*/
void apply(Player player);
/**
*
*/
void ... |
package Utils;
import Lianjia.Community;
import Lianjia.House;
import ORM.Service.HouseService;
import java.util.List;
import java.util.Map;
public class HouseRunner implements Runnable {
private List<Community> communities;
private Map<String,House> resMap;
public HouseRunner(List<Community> communities,Map<Str... |
package jmxexperiment;
import javax.management.InstanceAlreadyExistsException;
import javax.management.MBeanServer;
import javax.management.MalformedObjectNameException;
import javax.management.NotCompliantMBeanException;
import javax.management.ObjectName;
import java.lang.management.ManagementFactory;
public class... |
/**
* Ejercicio 10 tema 05
*
* Calcula la media de los números introducidos.
*
* @author José Robles Bastidas
*/
public class Ejercicio10 {
public static void main(String[] args) {
double numerosCantidad = 0;
double numeroIntroducido = 0;
double suma = 0;
System.out.println("E... |
package com.nmys.story.model.entity;
import lombok.Data;
/**
* Description:配置选项
* Author:70kg
* Param
* Return
* Date 2018/5/11 13:42
*/
@Data
public class Options {
// 配置名称
private String name;
// 配置值
private String value;
// 配置描述
private String description;
} |
package edu.uchicago.cs.heprofiler;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
/**
* Tests for {@link HEProfiler}.
*
* @author Connor Imes
*/
public final class HEProfilerTest {
@Before
public void init() {
HEProfiler.init(EnumA.class, null, 20, null, 0, "target");
}
@After
... |
//2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
//
//What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?
public class test005 {
public static void main(String[] args) {
System.out.println(getSmallestMultiple(2... |
package myProgram;
public class test {
/**
* @param args
*/
public static void main(String[] args) {
String no = "123456789";
int pos3 = no.indexOf("3");
System.out.println("The Pos of 3 is: "+pos3+"\nof:"+no);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.