text stringlengths 7 995k |
|---|
package com.github.skjolber.nfc.acs;
import java.util.ArrayList;
import java.util.List;
/**
* ACR 1281 and ACR 1283 and 1252
*
* @author thomas
*
*/
public enum AcrAutomaticPICCPolling {
AUTO_PICC_POLLING(1 << 0),
TURN_ANTENNA_FIELD_IF_NO_PICC_FOUND(1 << 1),
TURN_ANTENNA_FIELD_IF_PICC_IS_INACTIVE(1 << 2),
... |
/*
* Copyright (c) 1997, 2020 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: ... |
/*
* 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) 2015 Red Hat, 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... |
package org.knowm.xchange.hitbtc.service;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.currency.Currency;
import org.knowm.xchange.exceptions.ExchangeException;
import org.knowm.xchange.hitbtc.dto.HitbtcException;
import org.knowm.xchange.hitbtc.dto.InternalTransferResponse;
import org.knowm.xchange.hit... |
/*
* 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 com.progenia.sigdep01_01.data.business;
import com.progenia.sigdep01_01.data.entity.IndiceReference;
import com.progenia.sigde... |
/*
* Copyright (c) 2010, 2014, Oracle and/or its affiliates.
* All rights reserved. Use is subject to license terms.
*
* This file is available and licensed under the following license:
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followin... |
import java.util.Scanner;
public class InvalidNumber {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int number = Integer.parseInt(scanner.nextLine());
if (!((number >= 100 && number <= 200) || number == 0)) {
System.out.println("invalid");... |
/*
* 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... |
/**
* ============LICENSE_START=======================================================
* org.onap.aai
* ================================================================================
* Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
* Copyright © 2017-2018 Amdocs
* =======================... |
package com.smn.it.taotaomall.sso.service;
import com.alibaba.fastjson.JSONObject;
import com.smn.it.taotaomall.sso.entity.common.UserInfoVO;
public interface LogServices {
/**
* 登录服务
* @param userInfoVO
* @return
*/
JSONObject login(UserInfoVO userInfoVO);
/**
* 登出服务
* @pa... |
/*
* 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 ... |
/**
* Spring Data JPA repositories.
*/
package com.research.demo.repository; |
/*
* 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 com.azure.resourcemanager.iothub.implementation;
import com.azure.resourcemanager.iothub.fluent.models.GroupIdInformationInner;
import com.azure.resourcem... |
package com.bakdata.conquery.models.query;
import java.util.Optional;
import java.util.function.Supplier;
import com.bakdata.conquery.models.error.ConqueryError;
import com.bakdata.conquery.models.query.entity.Entity;
import com.bakdata.conquery.models.query.queryplan.QueryPlan;
import com.bakdata.conquery.models.que... |
/*
* Copyright 2015, The Android Open Source Project
*
* 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 applic... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
/*
* Copyright (c) 2018. paascloud.net All Rights Reserved.
* 项目名称:paascloud快速搭建企业级分布式微服务平台
* 类名称:ResourceServerConfig.java
* 创建人:刘兆明
* 联系方式:paascloud.net@gmail.com
* 开源地址: https://github.com/paascloud
* 博客地址: http://blog.paascloud.net
* 项目官网: http://paascloud.net
*/
package com.paascloud.config;
import com.... |
/*
* ResultPanicException.java, 2022-01-04
*
* Copyright 2022 Koory1st, Inc. All rights reserved.
*/
package io.github.koory1st.util.result;
public class ResultPanicException extends RuntimeException {
public ResultPanicException(String msg) {
super(msg);
}
} |
package io.mercury.common.sequence;
@FunctionalInterface
public interface Serial<S extends Serial<S>> extends Comparable<S> {
long getSerialId();
@Override
default int compareTo(S o) {
return getSerialId() < o.getSerialId() ? -1 : getSerialId() > o.getSerialId() ? 1 : 0;
}
} |
package com.hubspot.jinjava.doc;
import java.util.Map;
public abstract class JinjavaDocItem {
private final String name;
private final String desc;
private final String aliasOf;
private final boolean deprecated;
private final JinjavaDocParam[] inputs;
private final JinjavaDocParam[] params;
private fina... |
/*
* An XML attribute type.
* Localname: oleid
* Namespace: urn:schemas-microsoft-com:office:office
* Java type: com.microsoft.schemas.office.office.OleidAttribute
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.office;
import org.apache.xmlbeans.impl.schema.ElementFactory;
... |
package in.goodiebag.carouselpicker;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Typeface;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.util.TypedValue;
import android.view.LayoutInflater;
import a... |
package cn.torna.web.controller.user.param;
import cn.torna.common.support.IdCodec;
import com.alibaba.fastjson.annotation.JSONField;
import com.gitee.fastmybatis.core.query.annotation.Condition;
import lombok.Data;
import java.util.List;
/**
* @author tanghc
*/
@Data
public class UserIdParam {
@Condition(col... |
package com.talanlabs.mm.shared.model.domain;
/**
* Created by NicolasP on 22/10/2015.
*/
public enum MessageWay {
/**
* The message has to be integrated
*/
IN,
/**
* The message has to be sent
*/
OUT
} |
package org.folio.gobi;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.stream.Collectors;
import org.folio.rest.mappings.model.Mapping;
import org.folio.rest.mappings.model.OrderMappings;
import io.vertx.core.json.JsonObject;
public class OrderMappingCac... |
/*
* MIT License
*
* Copyright 2017 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
* to use, copy, modi... |
/**
* Copyright (c) 2009-2013, Lukas Eder, lukas.eder@gmail.com
* All rights reserved.
*
* This software is licensed to you under the Apache License, Version 2.0
* (the "License"); You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source and ... |
package pl.soa.motek.Helpers;
public class CarChoiceHelper {
public String getBestCar(Double maxPrice, String type) {
switch (type) {
case "sportowy":
if (maxPrice < 20000) return "Lambo";
else return "Ferrarri";
case "miejski":
if (ma... |
package br.com.braga.fibonnaci;
public class Fibonnaci {
public long getSumForFibonnaciLessThan(int number) {
int currentElement = 1;
int nextElement = 1;
long sum = 0;
while (currentElement < number) {
currentElement = currentElement + nextElement;
nextE... |
package com.twu.biblioteca;
import com.twu.biblioteca.entity.Users;
import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.*;
public class UserActionTest {
UserAction userAction;
@Before
public void setUp() throws Exception {
userAc... |
/*
* 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.webank.wecube.platform.core.service.workflow;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
i... |
/*
* Copyright 2008-2009 LinkedIn, 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 agre... |
/*******************************************************************************
* Copyright (c) 2015 Low Latency Trading Limited : Author Richard Rose
* 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 L... |
/**
* created Dec 12, 2007
*
* @by Marc Woerlein (woerlein@informatik.uni-erlangen.de)
*
* Copyright 2007 Marc Woerlein
*
* This file is part of parsemis.
*
* Licence:
* LGPL: http://www.gnu.org/licenses/lgpl.html
* EPL: http://www.eclipse.org/org/documents/epl-v10.php
* See the LICENSE file in the ... |
/*
* Copyright 2014 "" daiv
*
* 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 ... |
package com.alex.system.mapper;
import java.util.List;
import com.alex.system.domain.SysNotice;
/**
* 通知公告表 数据层
*
* @author Alex
*/
public interface SysNoticeMapper {
/**
* 查询公告信息
*
* @param noticeId 公告ID
* @return 公告信息
*/
public SysNotice selectNoticeById(Long noticeId);
/*... |
/*
* Copyright 2012-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*sparkcyf*/
public class max3 {
public static int max3cs(int num1, int num2, int num3) {
int max3 = Math.max(num1, Math.max(num2, num3));
return max3;
}
} |
package deque;
public class MyDeque<E> {
Node<E> head, tail;
public static class Node<E>{
Node<E> next, prev;
E data;
public Node(E data) {
this.data = data;
this.next = this.prev = null;
}
}
public boolean isEmpty() {
return head == null;
}
public void addFirst(E data) {
Node<E> toAd... |
/*
* Copyright 2015 Palantir Technologies, Inc. All rights reserved.
*
* Licensed under the BSD-3 License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://opensource.org/licenses/BSD-3-Clause
*
* Unless required by applicab... |
/**
* Copyright 2005-2019 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... |
package com.agys.gui.guiRest.get;
import com.agys.Constants;
import com.agys.Endpoints;
import com.agys.enums.Environments;
import com.agys.utils.CredentialsUtils;
import com.jayway.restassured.http.ContentType;
import lombok.extern.slf4j.Slf4j;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.... |
/**
* Copyright 2021 json.cn
*/
package me.adswt518.translator.api;
import com.google.gson.annotations.SerializedName;
/**
* Auto-generated: 2021-11-09 21:39:43
*
* @author json.cn (i@json.cn)
* @website http://www.json.cn/java2pojo/
*/
public class Sc {
@SerializedName("@id")
private String id;
... |
/*
* Copyright 2017-2020 original 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 applicable law or agre... |
package org.robolectric.shadows;
import android.app.TabActivity;
import android.widget.TabHost;
import android.widget.TabWidget;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.annotation.RealObject;
@SuppressWarnings({"UnusedDeclaration"})
@Imple... |
/*
* Copyright 2011 Edmunds.com, 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 agre... |
/*
* Copyright (c) 2016, 2020, 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 entities;
public class Triangle {
public double a;
public double b;
public double c;
public double area() {
double p = (a + b + c) / 2.0;
return Math.sqrt(p * (p - a) * (p - b) * (p - c));
}
} |
/*******************************************************************************
* Copyright (c) 2000, 2012 IBM Corporation and others. All rights reserved.
* The contents of this file are made available under the terms
* of the GNU Lesser General Public License (LGPL) Version 2.1 that
* accompanies this distributi... |
/*
* 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 br.com.temwifi.domains.auth.model.request;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class PostUserRequest {
@JsonProperty(value = "newUser")
private String email;
@JsonPr... |
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it w... |
public class A {
public static void main(String[] args) {
boolean ANDAND = true
&& true
&& true;
boolean OROR = true
|| true
|| true;
int PLUS = 1
+ 2
+ 3;
... |
/**
* Copyright © 2013 Antonin Stefanutti (antonin.stefanutti@gmail.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
*
* Unless... |
/*
* Copyright (c) 2002, 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... |
package com.onthegomap.planetiler.util;
import java.text.NumberFormat;
import java.time.Duration;
import java.util.Locale;
import java.util.Map;
import java.util.NavigableMap;
import java.util.TreeMap;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import org.apache.commons.t... |
/*
* Copyright 2013-2019 The OpenZipkin 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 applicable law or a... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
/*
* Copyright 2020 ThoughtWorks, 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 agr... |
/**
* Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
*/
package com.oracle.bmc.ons;
import java.util.Locale;
import com.oracle.bmc.ons.internal.http.*;
import com.oracle.bmc.ons.requests.*;
import com.oracle.bmc.ons.responses.*;
@javax.annotation.Generated(value = "OracleSDKGenerator",... |
/*
* 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... |
package com.vadkutsen.juniorcoders.web.controllers;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class PayloadConroller {
public static final String PAYLOAD_VIEW_NAME = "payload/payload";
@RequestMapping("/payload")
pu... |
/*
* Copyright 2019 ThoughtWorks, 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 agr... |
/*
* Copyright (C) 2012-2019 DuyHai DOAN
*
* 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 agree... |
/**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.convention.calendar;
import org.threeten.bp.LocalDate;
/**
* A calendar with no holiday (all days are working days).
*/
public class CalendarNoHo... |
/*
* 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.jdt.fedlearn.core.model.common.loss;
import org.testng.annotations.Test;
import java.util.Arrays;
import static org.testng.Assert.*;
public class TestSquareLoss {
@Test
public void testTransform() {
double[] pred = new double[]{1.2, 1.5, 2.2, 3.0};
SquareLoss squareLoss = new Sq... |
package com.newsblur.service;
import com.newsblur.activity.NbActivity;
import com.newsblur.database.DatabaseConstants;
import com.newsblur.network.domain.StoryTextResponse;
import com.newsblur.util.AppConstants;
import com.newsblur.util.FeedUtils;
import java.util.HashSet;
import java.util.Set;
import java.util.regex... |
package mekanism.common.tile.interfaces.chemical;
import java.util.List;
import javax.annotation.Nullable;
import mekanism.api.annotations.MethodsReturnNonnullByDefault;
import mekanism.api.chemical.pigment.IPigmentTank;
import mekanism.api.chemical.pigment.Pigment;
import mekanism.api.chemical.pigment.PigmentStack;
... |
package module0373_public.a;
import javax.annotation.processing.*;
import javax.lang.model.*;
import javax.management.*;
/**
* Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
* labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et just... |
/*
* Copyright 2018 Adaptris 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 applicable law or agree... |
package pl.jalokim.propertiestojson.util;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import pl.jalokim.propertiestojson.helper.PropertyKeysOrderResolverForTest;
import pl.jalokim.propertiestojson.path.PathMetadata;
import pl.jalokim.propertiestojson.resolvers.primitives.Num... |
/*
* 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 io.supercharge.shimmerlayout;
import android.animation.Animator;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.... |
/*
* Copyright 2013-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package ro.ase.acs.cts.initial.image;
public interface ImageInterface {
public abstract void displayImage();
} |
package net.atlassian.cmathtutor.presenter;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.Node;
public class PersistencePresenter implements Initializable {
@FXML
Node root;
@FXML
PersistenceDiagramPresenter pers... |
package com.webcheckers.ui;
import com.google.gson.Gson;
import com.webcheckers.Model.Color;
import com.webcheckers.appl.PlayerServices;
import com.webcheckers.util.Message;
import spark.Request;
import spark.Response;
import spark.Route;
import spark.Session;
/**
* Check if there has been a turn made in the checker... |
package com.aot.string;
public class Program11 {
public static void main(String[] args) {
String s = "Java";
s.concat(" Class");
System.out.println(s);
StringBuffer sb = new StringBuffer("study");
System.out.println(sb);
sb.append("tonight");
System.out.print... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/aiplatform/v1beta1/featurestore_service.proto
package com.google.cloud.aiplatform.v1beta1;
public interface DeleteFeaturestoreRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.D... |
/*
* Copyright (C) 2018 The Android Open Source Project
*
* 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... |
package fun.epoch.learn.javase.multithread.security;
/**
* 描述:演示 线程安全问题 -- 对象逸出 -- 初始化逸出
* <p>
* 对象初始化未完成就进行 this 赋值
*/
public class MultiThreadError4 {
private static class Point {
private int x;
private int y;
public Point(int x, int y) throws InterruptedException {
this.... |
/*
* 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 crud.MProduit;
import entities.MProduit.Evaluation;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java... |
package com.neeraja.ShareMyOffer.services;
import java.util.List;
import com.neeraja.ShareMyOffer.dto.AddressDTO;
public interface AddressService {
List<AddressDTO> findAll();
AddressDTO findById(int id);
AddressDTO save(AddressDTO theAddressDTO);
boolean deleteById(int id);
} |
package com.lydiaralph.decisiontracker.database.entity;
import androidx.annotation.Keep;
import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;
@Entity(tableName = "mood_type")
public class MoodType {
@Primary... |
package cn.surveyking.server.domain.dto;
import lombok.Data;
/**
* @author javahuang
* @date 2021/10/6
*/
@Data
public class TemplateRequest {
private String id;
/**
* 模板标题
*/
private String name;
/**
* 问题类型
*/
private SurveySchemaType.QuestionType questionType;
/**
* 问题模板
*/
private SurveyS... |
/*
* 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) 2016 Red Hat, 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 agre... |
package com.github.ragnard.shen.klambda.nodes.builtins.integer;
import com.github.ragnard.shen.klambda.nodes.builtins.BuiltinNode;
import com.github.ragnard.shen.klambda.runtime.Symbol;
import com.oracle.truffle.api.dsl.Specialization;
import com.oracle.truffle.api.nodes.NodeInfo;
@NodeInfo(shortName = "integer?")
pu... |
package com.supersoftcafe.json_stream.impl;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectReader;
import java.io.IOException;
import java.util.function.BiConsumer;
final class ... |
package org.solent.com504.factoryandfacade.impl;
import java.util.Arrays;
import java.util.List;
import org.solent.com504.factoryandfacade.model.Animal;
import org.solent.com504.factoryandfacade.model.Cat;
import org.solent.com504.factoryandfacade.model.Cow;
import org.solent.com504.factoryandfacade.model.Dog;
import ... |
/*
* 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 brightstar.panels;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
/**
*
* @author Admin
*/
public clas... |
package com.github.martinfrank;
import com.vaadin.flow.component.page.AppShellConfigurator;
import com.vaadin.flow.server.PWA;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletIn... |
/*
* Copyright 2009-2012 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
*
* Unles... |
/**
* Copyright (C) 2014-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 com.github.liuyuyu.dictator.server.web.exception.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* @author liuyuyu
*/
@Getter
@AllArgsConstructor
public enum ConfigErrorMessageEnum implements AbstractErrorMessageEnum {
PROFILE_NOT_EXISTS("profile不存在"),
CONFIG_NOT_EXISTS("配置不存在或已被删... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.