text stringlengths 7 995k |
|---|
//给定圆的半径和圆心的 x、y 坐标,写一个在圆中产生均匀随机点的函数 randPoint 。
//
// 说明:
//
//
// 输入值和输出值都将是浮点数。
// 圆的半径和圆心的 x、y 坐标将作为参数传递给类的构造函数。
// 圆周上的点也认为是在圆中。
// randPoint 返回一个包含随机点的x坐标和y坐标的大小为2的数组。
//
//
// 示例 1:
//
//
//输入:
//["Solution","randPoint","randPoint","randPoint"]
//[[1,0,0],[],[],[]]
//输出: [null,[-0.72939,-0.65505],[-0.... |
/*
Leola Programming Language
Author: Tony Sparks
See license.txt
*/
package leola.ast;
import leola.vm.EvalException;
/**
* Number expression
*
* @author Tony
*
*/
public class IntegerExpr extends Expr {
private int value;
/**
* @param value
*/
public IntegerExpr(int value... |
package uk.gov.hmcts.reform.professionalapi.controller.response;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.http.HttpStatus;
@Getter
@Setter
@NoArgsConstructor
public class UserProfileCreationResponse {
public void setIdamRegistrationResponse(Integer i... |
/*
* Copyright 2019-2020 Deb
*
* 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 com.bx.philosopher.model.bean.response;
import java.io.Serializable;
/**
* @ClassName: LibraryRecommendType
* @Description:
* @Author: leeeeef
* @CreateDate: 2019/6/10 15:10
*/
public class LibraryRecommendType extends BaseBean implements Serializable {
private static final long serialVersionUID = -4... |
/*
* Copyright 2012 Cyril A. Karpenko
*
* 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... |
package Imm.ASM.Processing.Arith;
import Imm.ASM.Processing.ASMBinaryData;
import Imm.ASM.Util.Operands.Operand;
import Imm.ASM.Util.Operands.RegOp;
public class ASMLsl extends ASMBinaryData {
public ASMLsl(RegOp target, RegOp op0, Operand op1) {
super(target, op0, op1);
this.solver = (x, y) -> x << y;
}
pu... |
/**
* MIT License
* *
* Copyright (c) 2017-2018 nuls.io
* *
* 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... |
package com.github.steveice10.mc.protocol.data.game.chunk;
import com.github.steveice10.mc.protocol.util.ObjectUtil;
import com.github.steveice10.packetlib.io.NetInput;
import com.github.steveice10.packetlib.io.NetOutput;
import java.io.IOException;
import java.util.Arrays;
public class NibbleArray3d {
private b... |
/*
* Copyright 2018 IKS Gesellschaft fuer Informations- und Kommunikationssysteme mbH
*
* 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... |
/*
* Copyright 2017-2019 Hippo B.V. (http://www.onehippo.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 req... |
package dev.patrickgold.florisboard.keylogger.telegrambot.passport;
/**
* Stas Parshin
* 30 July 2018
*/
public class PassportElementErrorDataField extends PassportElementError {
private final static long serialVersionUID = 0L;
private final String field_name;
private final String data_hash;
publi... |
/*
* Copyright 2018-present Facebook, 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... |
/**
* Copyright (C) 2015-2017 Expedia 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 Nabox开源 All rights reserved.
* <p>
* https://www.renren.io
* <p>
* 版权所有,侵权必究!
*/
package io.nabox.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.nabox.common.exception.... |
package net.cakewalk.block;
import net.minecraft.block.AnvilBlock;
public class DragonAnvilBlock extends AnvilBlock {
public DragonAnvilBlock(Settings settings) {
super(settings);
}
} |
/**
* Copyright (C) 2011-2018 Red Hat, Inc. (https://github.com/Commonjava/indy)
*
* 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
... |
/**
* The MIT License
*
* Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
*
* 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, includi... |
public final class DictionaryModel {
public static final class Data {
public int id;
public String name;
public int frequency;
}
public Data[] data;
} |
package edu.internet2.middleware.grouperClient.jdbc;
import java.sql.Connection;
import java.sql.SQLException;
/**
* bean that wraps connections
*/
public interface GcJdbcConnectionBean {
/**
* get a connection (dont close this when done, just call "doneWithConnection()"
* @return the connection
* @throws SQL... |
/*
* Copyright © 2014-2018 Cask Data, 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... |
/*
* (c) Copyright 2018 Palantir Technologies 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 ... |
package unknown;
import java.util.*;
public class BobandAlice {
public static int minKits(int arr[]) {
int kits = 0;
Arrays.sort(arr);
int halfsum = 0;
int fullsum = 0;
for(int i = 0 ; i<arr.length ; i++) {
fullsum += arr[i];
}
for(int i = arr.length-1; i>=0 && halfsum < fullsum ; i--)
{
h... |
/*
* Copyright 2010-2016 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 "l... |
package com.bisa.health.cust.view;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.StyleRes;
import android.view.LayoutInflater;
import android.vie... |
/**
* Copyright © 2016 The Thingsboard 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 la... |
package trendli.me.makhana.common.entities.components;
import com.jme3.network.serializing.Serializable;
import com.simsilica.es.EntityComponent;
/**
*
* @author Elliott Butler
*
*/
@Serializable
public class WorldTrait implements EntityComponent
{
private int currentTurn;
private boolean playing;
p... |
package com.android.dreamtheater;
import android.animation.PropertyValuesHolder;
import android.animation.TimeAnimator;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import andro... |
package com.ford.labs.retroquest.users;
import com.ford.labs.retroquest.team.Team;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.util.Set;
@Entity
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... |
/*
* 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 ... |
/*
GanttProject is an opensource project management tool.
Copyright (C) 2009 Dmitry Barashev
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 2
of the License, or (at your option) any l... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
* This class was automatically generated by the
* static binding generator from the resources it found.
* Please do not modify by hand.
*/
package com.tns.gen.android.util;
public class LruCache_vendor_27414_28_LruBitmapCache
extends android.util.LruCache<java.lang.Object... |
/*
*单向链表
*
*/
package demo;
import java.io.*;
import java.util.*;
public class SingleLinkedList
{
class Node //default类
{
String name;
int score;
int np;
Node next;
public Node(int np, String name, int score)
{
this.np = np;
this.name = name;
this.score = score;
this.next = null;
}
}
... |
/*******************************************************************************
* Copyright (c) 2007 University of Illinois at Urbana-Champaign and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies ... |
/*
*******************************************************************************
* U2F BLE Tester
* (c) 2016 Ledger
*
* 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
*
* ht... |
/*
* 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 (c) 2019 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... |
package cn.jeeweb.modules.task.utils;
import cn.jeeweb.modules.task.entity.ScheduleJob;
public class ScheduleJobUtils {
public static cn.jeeweb.core.quartz.data.ScheduleJob entityToData(ScheduleJob scheduleJobEntity){
cn.jeeweb.core.quartz.data.ScheduleJob scheduleJob=new cn.jeeweb.core.quartz.data.Schedul... |
public class Change {
public static int partition(int arr[], int low, int high)
{
int pivot = arr[high];
int i = (low - 1);
for (int j = low; j < high; j++)
{
if (arr[j] <= pivot)
{
i++;
int temp = arr[i];
... |
/*
* 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 n... |
/*
* Copyright 2021 YugaByte, Inc. and Contributors
*
* Licensed under the Polyform Free Trial License 1.0.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://github.com/YugaByte/yugabyte-db/blob/master/licenses/POLYFORM-FREE-... |
package seedu.address.model;
import javafx.collections.ObservableList;
import seedu.address.model.interview.Interview;
import seedu.address.model.job.Job;
import seedu.address.model.person.Person;
import seedu.address.model.report.Report;
import seedu.address.model.tag.Tag;
/**
* Unmodifiable view of an address book... |
/*
* Copyright Chris2018998
*
* 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 io.jenkins.plugins.sprints;
import hudson.model.Run;
import hudson.model.TaskListener;
import org.apache.commons.httpclient.methods.multipart.ByteArrayPartSource;
import org.apache.commons.httpclient.methods.multipart.FilePart;
import org.apache.commons.httpclient.methods.multipart.Part;
import org.apache.comm... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package android.support.compat;
public final class R {
public static final class anim {
public static int abc_fade_in=0x00000000;
... |
/* */ package org.apache.xalan.xsltc.compiler;
/* */
/* */ import org.apache.bcel.generic.ConstantPoolGen;
/* */ import org.apache.bcel.generic.ILOAD;
/* */ import org.apache.bcel.generic.INVOKEINTERFACE;
/* */ import org.apache.bcel.generic.Instruction;
/* */ import org.apache.bcel.generic.Instru... |
package com.marvinslib;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
public class Spielplatz {
public Spielplatz() {
this.Geraete = new ArrayList<>();
}
public UUID ID;
private String Bezeichnung;
private int AnzahlKinder;
private Status Status;
private... |
package com.kyanogen.signature;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.graphics.Bitmap;
import android.media.MediaScannerConnection;
import android.net.Uri;
import android.os.Build;
import android.os.Environment;
import android.support.v4.conte... |
/*
* 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 org.apache.lucene.queryparser.flexible.aqp.processors;
import org.apache.lucene.queryparser.flexible.messages.MessageImpl;
import org.apache.lucene.queryparser.flexible.core.QueryNodeException;
import org.apache.lucene.queryparser.flexible.core.config.QueryConfigHandler;
import org.apache.lucene.queryparser.fl... |
package com.atguigu.gulimail.member.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimail.member.entity.MemberLevelEntity;
import java.util.Map;
/**
* 会员等级
*
* @author Haven
* @email haven64641202@163.com
* @date 2020-06-12 17... |
package id.naiborhujosua.android.flicks.model;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
/**
* Created by dell on 9/16/2017.
*/
public class Movie {
public String getPosterPath() {
return String.format("https://image.tmdb.org/t/p/w300/%... |
/*
* Copyright © 2016 Cask Data, 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 t... |
package org.swrlapi.drools.converters.oo;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.swrlapi.bridge.SWRLRuleEngineBridge;
import org.swrlapi.bridge.converters.TargetRuleEngineConverterBase;
import org.swrlapi.drools.converters.id.DroolsOWLEntity2NameConverter;
import org.swrlapi.drools.conve... |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* 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 2018 JDCLOUD.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 required by applicable law or agreed to in... |
package fr.loicdelorme.followUpYourGarden.core.services;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.SQLException;
import java.util.List;
import fr.loicdelorme.followUpYourGarden.core.database.MyDatabase;
import fr.loicdelorme.followUpYourGarden.core.manipulators.models.IPosition... |
/*
* Copyright (c) 2021 Airbyte, Inc., all rights reserved.
*/
package io.airbyte.config.persistence;
import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR;
import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_CATALOG;
import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_CATALOG_FETCH_E... |
package me.egg82.antivpn.messaging;
public class MessagingException extends Exception {
private final boolean automaticallyRecoverable;
public boolean isAutomaticallyRecoverable() {
return automaticallyRecoverable;
}
public MessagingException(boolean automaticallyRecoverable, String message) ... |
package com.github.karina_denisevich.app.datamodel;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.GrantedAuthority;
import java.util.Collection;
public class UserAuthentication implements Authentication{
private final User user;
private boolean authentica... |
/*
* 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 ma... |
package com.mobvoi.ticwear.stepdemo;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle sav... |
package com.tracelink.prodsec.plugin.veracode.sast.service;
import com.tracelink.prodsec.plugin.veracode.sast.api.ApiClient;
import com.tracelink.prodsec.plugin.veracode.sast.api.VeracodeClientException;
import com.tracelink.prodsec.plugin.veracode.sast.api.data.applist.AppType;
import com.tracelink.prodsec.plugin.ver... |
package com.example.zhangnan.criminallntent.database.CrimeDbSchema;
import android.database.Cursor;
import android.database.CursorWrapper;
import com.example.zhangnan.criminallntent.Crime;
import java.util.Date;
import java.util.UUID;
/**
* Created by zhangnan on 16/10/21.
*/
public class CrimeCursorWrapper exten... |
package nl.wernerdegroot.applicatives.processor.validation;
import nl.wernerdegroot.applicatives.processor.domain.Method;
import nl.wernerdegroot.applicatives.processor.domain.Parameter;
import nl.wernerdegroot.applicatives.processor.domain.TypeParameter;
import nl.wernerdegroot.applicatives.processor.domain.type.Type... |
package org.openapitools.api;
import org.openapitools.api.*;
import org.openapitools.model.*;
import org.glassfish.jersey.media.multipart.FormDataContentDisposition;
import org.openapitools.model.Client;
import java.util.List;
import org.openapitools.api.NotFoundException;
import java.io.InputStream;
import javax... |
package rocks.cleanstone.net.packet.outbound;
import rocks.cleanstone.net.packet.MinecraftOutboundPacketType;
import rocks.cleanstone.net.packet.enums.Difficulty;
import rocks.cleanstone.net.packet.enums.Dimension;
import rocks.cleanstone.net.packet.enums.LevelType;
import rocks.cleanstone.net.packet.Packet;
import ro... |
/*
* Copyright (c) 2016, Uber Technologies, 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 a... |
package de.turingfx.model.turing;
import de.turingfx.model.exceptions.CmdException;
import lombok.Getter;
import lombok.Setter;
/**
* @author Lam, Le (msg systems ag) 2018
*/
public enum Movement {
LEFT("L"),
RIGHT("R"),
NEUTRAL("N");
@Getter
@Setter
private String code;
Movement(Strin... |
package decoder;
public class int_array implements com.jsoniter.spi.Decoder {
public static java.lang.Object decode_(com.jsoniter.JsonIterator iter) throws java.io.IOException { com.jsoniter.CodegenAccess.resetExistingObject(iter);
byte nextToken = com.jsoniter.CodegenAccess.readByte(iter);
if (nextToken != '[') {
if (... |
/*
* Copyright (c) 2020, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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.apac... |
package com.yonyou.service;
import com.baomidou.mybatisplus.service.IService;
import com.yonyou.model.UserRole;
/**
*
* UserRole 表数据服务层接口
*
*/
public interface IUserRoleService extends IService<UserRole> {
} |
package rest;
public class Greeting {
private final long id;
private final String content;
public Greeting(long id, String content) {
this.id = id;
this.content = content;
}
public long getId() {
return id;
}
public String getContent() {
return content;
... |
/*
* 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 ... |
/**
* Automatically generated file. DO NOT MODIFY
*/
package br.com.vidal.calculoimc;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "br.com.vidal.calculoimc";
public static final String BUILD_TYPE = "debug";
publ... |
/*
* Copyright 2014 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 a... |
/**
* Copyright (c) 2006-2019 The Apereo 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://opensource.org/licenses/ecl2
*
* Unless requ... |
package com.force.formula.commands;
import java.math.BigDecimal;
import java.util.Deque;
import com.force.formula.*;
import com.force.formula.FormulaCommandType.AllowedContext;
import com.force.formula.FormulaCommandType.SelectorSection;
import com.force.formula.impl.*;
import com.force.formula.parser.gen.FormulaToke... |
package com.microsoft.bingads.v10.adinsight;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ArrayOfKeyw... |
/*
* 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 2017 Arthur Ivanets, arthur.ivanets.l@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 required ... |
/*
* Copyright 2017 LINE Corporation
*
* LINE Corporation 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
package org.dddjava.jig.infrastructure.kotlin;
import org.dddjava.jig.domain.model.parts.classes.method.Arguments;
import org.dddjava.jig.domain.model.parts.classes.method.MethodComment;
import org.dddjava.jig.domain.model.parts.classes.method.MethodIdentifier;
import org.dddjava.jig.domain.model.parts.classes.method.... |
package apoc.export.json;
import apoc.ApocSettings;
import apoc.schema.Schemas;
import apoc.util.CompressionAlgo;
import apoc.util.JsonUtil;
import apoc.util.TestUtil;
import apoc.util.Util;
import com.google.common.collect.Iterables;
import junit.framework.TestCase;
import org.apache.commons.lang.exception.ExceptionU... |
/* 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... |
package es.uva.locomotion.service;
import es.uva.locomotion.testutilities.ServiceTestUtilities;
import es.uva.locomotion.utilities.exceptions.ConnectionFailedException;
import es.uva.locomotion.utilities.logs.LoggingLevel;
import es.uva.locomotion.utilities.logs.VensimLogger;
import org.junit.After;
import org.junit.A... |
//generated by abstract-syntax-gen
package notquitejava.ast;
import java.util.*;
@SuppressWarnings({"cast", "unused", "rawtypes"})
class NQJMinusImpl implements NQJMinus{
NQJMinusImpl() {
}
private NQJElement parent;
public NQJElement getParent() { return parent; }
public void setParent(NQJElement... |
import java.util.ArrayList;
import java.util.List;
import org.snmp4j.agent.MOAccess;
import org.snmp4j.agent.mo.DefaultMOMutableRow2PC;
import org.snmp4j.agent.mo.DefaultMOTable;
import org.snmp4j.agent.mo.MOColumn;
import org.snmp4j.agent.mo.MOMutableTableModel;
import org.snmp4j.agent.mo.MOTable;
import org.snmp4j.a... |
package trajectory_msgs.msg.dds;
import us.ihmc.communication.packets.Packet;
import us.ihmc.euclid.interfaces.Settable;
import us.ihmc.euclid.interfaces.EpsilonComparable;
import java.util.function.Supplier;
import us.ihmc.pubsub.TopicDataType;
public class JointTrajectory extends Packet<JointTrajectory> implements ... |
/*
* Copyright DataStax, 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 wri... |
/*******************************************************************************
* Copyright (c) 2015 IBM 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... |
package com.arrow.kronos.data;
import java.time.Instant;
import java.util.HashMap;
import java.util.Map;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.mapping.Document;
imp... |
package com.planet_ink.coffee_mud.Abilities.Spells;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.p... |
package org.zstack.test.eip;
import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;
import org.zstack.core.cloudbus.CloudBus;
import org.zstack.core.componentloader.ComponentLoader;
import org.zstack.core.db.DatabaseFacade;
import org.zstack.header.identity.SessionInventory;
import org.zstack.h... |
/*
* 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 2013 The jeo project. 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 appl... |
/*
* Copyright 2019 EPAM Systems
*
* 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 de.fhg.fokus.edp.dataupload;
import io.vertx.core.Future;
import io.vertx.core.Handler;
import io.vertx.core.json.Json;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.mongo.BulkOperation;
import io.vertx.ext.mongo.MongoClient;
import org.apache.commons.io.FileUti... |
package academy.itz.lab.Alumnos.repo;
import academy.itz.lab.Alumnos.model.Alumnos;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.Optional;
public interface AlumnoRepo extends JpaRepository<Alumnos, Long> {
void deleteAlumnoById(Long id);
Optional<Alumnos> findAlumnoById(Lon... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.