text stringlengths 7 1.01M |
|---|
/*
* Copyright 2008 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 requi... |
/*
* Copyright 2015-2017 Vladimir Bukhtoyarov
*
* 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 ... |
/*
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... |
package creos.simsg.api.grid.uncertainty.configuration;
import creos.simsg.api.model.Configuration;
import creos.simsg.api.model.Fuse;
import creos.simsg.api.model.State;
import creos.simsg.api.uncertainty.Confidence;
import creos.simgsg.api.utils.Pair;
import java.util.Iterator;
import java.util.Map;
import java.uti... |
package org.hl7.fhir.r4.model.codesystems;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the ab... |
/*
The MIT License (MIT)
Copyright (c) 2021 Pierre Lindenbaum
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, me... |
package com.spring.microservice.web;
import com.spring.microservice.domain.User;
import com.spring.microservice.service.UserService;
import com.spring.microservice.web.dto.LoginRequest;
import com.spring.microservice.web.dto.LoginResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.sprin... |
package zserio.emit.cpp;
import zserio.ast.Constant;
import zserio.emit.common.ExpressionFormatter;
import zserio.emit.common.ZserioEmitException;
import zserio.emit.cpp.symbols.CppNativeSymbol;
import zserio.emit.cpp.types.CppNativeType;
public class ConstEmitterTemplateData extends CppTemplateData
{
public Cons... |
package mobi.tarantino.stub.auto.model.auth;
import mobi.tarantino.stub.auto.model.auth.pojo.ErrorMobiApiAnswer;
import retrofit2.Response;
public class HttpApiException extends RuntimeException {
private final int code;
private final String message;
private final transient Response<?> response;
priva... |
/*
* 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 MyLibs;
/**
*
* @author Carlo Miguel Legaspi
*/
public class Property {
private int block;
priva... |
package net.neoremind.fountain.support;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import net.neoremind.fountain.rowbaselog.event.GtidEvent;
/**
* GtidEvent事件回调器
*
* @author zhangxu
*/
public class GtIdEventCallback implements EventCallback<GtidEvent> {
private static final Logger logger = Log... |
package Interview1;
import org.testng.annotations.Test;
public class Test8 {
/**
* Method overloading concept
*/
public void method1(String name, String age){
System.out.println("method1 called :::: name is >>>"+name+"and age is >>>"+age);
}
public void method1(int age, String na... |
package org.ballerinalang.net.transport.connectionpool;
import org.ballerinalang.net.transport.contract.Constants;
import org.ballerinalang.net.transport.contract.HttpClientConnector;
import org.ballerinalang.net.transport.contract.HttpWsConnectorFactory;
import org.ballerinalang.net.transport.contract.config.SenderCo... |
package com.demo.streamx;
import java.util.stream.Stream;
public class Fibonacci {
int x = 1;
Stream<Integer> numbers() {
return Stream.iterate(0, i -> {
int result = x + i;
x = i;
return result;
});
}
// Stream.iterate() 以种子(第一个参数)开头,并将其传给方法(第二个参数)。
//... |
package com.geekq.guns.core.support;
import com.geekq.guns.core.support.exception.ToolBoxException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.LinkedHashSet;
import java.util.Locale;
/**
* 时间工具类
* @author xiaoleilu
*/
public class DateTimeKit {
/** 毫秒 */... |
/*
* 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... |
/*
* 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.open.capacity.answer.entity;
import lombok.Data;
import java.sql.Timestamp;
@Data
public class QuestionsEntity {
private Integer id;
private Integer questionType;
private String videoSerial;
private Integer selectionId;
private Timestamp createTime;
private Timestamp updateTi... |
package com.baeldung.searching;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.List;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class WordIndexerUnitTest {
String theString;
WordIndexer wordIndexer;
@Befor... |
package com.bancoexterior.app.util;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletResponse;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Row;
import org.a... |
package com.jeespring.common.swagger;
import com.google.common.base.Predicates;
import com.jeespring.common.web.AbstractBaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import... |
package com.jbm.framework.usage.form;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.ObjectUtil;
import com.jbm.util.ObjectUtils;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
/**
* @program: JBM6
* @author: wesley.zhang
* @cre... |
package cn.ucai.superkache.activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.EditText;
import android.widget.RelativeLayout;
import android.widget.TextView;
import android.widget.Toast;
i... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.03.... |
/*
* 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 geeksForgeeks;
import java.util.HashSet;
import java.util.Set;
public class RemoveLoopInLinkedList {
public static void removeLoop(Node head){
// code here
// remove the loop without losing any nodes
Set<Integer> set = new HashSet<>();
Node runNode = head;
... |
package com.weique.overhaul.v2.mvp.contract;
import android.app.Activity;
import com.jess.arms.mvp.IModel;
import com.jess.arms.mvp.IView;
import com.weique.overhaul.v2.mvp.model.entity.BaseBean;
import com.weique.overhaul.v2.mvp.model.entity.ContradictionAddBean;
import com.weique.overhaul.v2.mvp.model.entity.Contra... |
/**
* 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.java110.things.adapt.attendance;
import com.java110.things.entity.attendance.ClockInDto;
import com.java110.things.entity.attendance.ClockInResultDto;
import com.java110.things.entity.machine.MachineCmdDto;
import com.java110.things.entity.machine.MachineDto;
import java.util.List;
/**
* @ClassName ICal... |
package com.gayelak.gayelakandroid;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.util.TypedValue;
import android.view.LayoutInflater;
import android.view.View;
import android.vi... |
package com.cy.http;
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 addition_i... |
package com.nextbreakpoint.blueprint.designs.controllers;
import com.nextbreakpoint.blueprint.common.core.*;
import com.nextbreakpoint.blueprint.common.events.TileRenderCompleted;
import com.nextbreakpoint.blueprint.common.events.TileRenderRequested;
import com.nextbreakpoint.blueprint.designs.aggregate.DesignAggregat... |
package com.springgithub.springgithub.model.StackOverflow;
public class Items {
private Object badge_counts;
private int account_id;
private boolean is_employee;
private long last_modified_date;
private long last_access_date;
private int reputation_change_year;
private int reputation_chang... |
package com.dna.everythingisbad.entity;
import com.dna.everythingisbad.ai.EntityAIPoliceShootGun;
import com.dna.everythingisbad.ai.EntityPoliceBreakDoor;
import com.dna.everythingisbad.init.ModItems;
import com.dna.everythingisbad.init.ModSoundEvents;
import net.minecraft.entity.Entity;
import net.minecraft.entity.En... |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... |
package org.tron.common.runtime;
import static org.apache.commons.collections4.CollectionUtils.isEmpty;
import static org.apache.commons.collections4.CollectionUtils.size;
import static org.tron.common.utils.ByteUtil.EMPTY_BYTE_ARRAY;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
impo... |
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
*
* Subject to the condition set forth below, permission is hereby granted to any
* person obtaining a copy of ... |
package com.javarush.task.task13.task1324;
import java.awt.*;
/*
Один метод в классе
*/
public class Solution {
public static void main(String[] args) throws Exception {
}
public interface Animal {
Color getColor();
Integer getAge();
}
public static abstract class Fox implemen... |
/*
* Copyright 2011 - 2013 NTB University of Applied Sciences in Technology
* Buchs, Switzerland, http://www.ntb.ch/inf
*
* 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
*
* h... |
/*
* Copyright 2016 higherfrequencytrading.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 la... |
/*
* MIT License
*
* Copyright (c) 2021 Brandon Li
*
* 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, modif... |
package com.ruoyi.system.service.impl;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotat... |
/*
* Copyright 2002-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 me.alex.hackathon.pages;
import java.io.IOException;
import me.alex.hackathon.database.Database;
import me.alex.hackathon.database.Post;
public class Vote extends Page {
@Override
public String getURL() {
return "/vote";
}
@Override
public String generateResponse(String body) {
lon... |
package org.innovateuk.ifs.assessment.workflow.actions;
import org.innovateuk.ifs.assessment.domain.Assessment;
import org.innovateuk.ifs.assessment.domain.AssessorFormInputResponse;
import org.innovateuk.ifs.assessment.domain.AverageAssessorScore;
import org.innovateuk.ifs.assessment.repository.AssessorFormInputRespo... |
package com.baeldung.web.controller.handlermapping;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class BeanNameHandlerMappingController extends Ab... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... |
/*
* 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 template, choose Tools | Templates
* and open the template in the editor.
*/
package scjp.collections;
/**
*
* Adrian Lapierre <adrian@softproject.com.pl>
*/
public class TestInteger {
public static void main(String[] args) {
Integer i1 = 127;
... |
package com.sun.corba.se.spi.activation;
/**
* com/sun/corba/se/spi/activation/ServerAlreadyInstalledHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/ade/jenkins/workspace/8-2-build-windows-amd64-cygwin/jdk8u241/331/corba/src/share/classes/com/sun/corba/se/spi/activation/activa... |
/*
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package tk.martijn_heil.nincore.api.events;
import tk.martijn_heil.nincore.api.ArmorType;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;
import org.bukkit.event.HandlerList;
import org.bukkit.event.player.PlayerEvent;
import org.bukkit.inventory.ItemStack;
/**
* @au... |
package org.dhis2.usescases.about;
import org.hisp.dhis.android.core.user.UserCredentials;
/**
* QUADRAM. Created by ppajuelo on 05/07/2018.
*/
public class AboutContracts {
public interface AboutView{
void renderUserCredentials(UserCredentials userCredentialsModel);
void renderServerUrl(String ... |
package org.bian.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.Valid;
/**
* BQDemographicsUpdateInputModelDemographicsInstanceRecord
*/... |
package com.karogath.enhancedvanilla.item;
import net.minecraftforge.registries.ObjectHolder;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.Item;
import net.minecraft.block.BlockState;
import com.karogath.enhancedvanilla.EnhancedvanillaModElements;
... |
/*
* Copyright 2017 StreamSets 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... |
package site.linkway.core.entity.po;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Comment {
String commentId;//评论id
String content;//评论文字内容
String userId;//用户id
String userName;//用户昵称
String avatarU... |
package com.edu.lesson7;
public class Sender {
private String name;
public Sender(String name) {
this.name = name;
}
@Override
public String toString() {
return "Sender{" +
"name='" + name + '\'' +
'}';
}
public String getName() {
r... |
import java.util.HashMap ;
/**
* CanonicalTreeNode extends TreeNode to canonicalize the nodes.
* We use a HashMap so we can return the canonicalized node.
*/
public class CanonicalTreeNode extends TreeNode {
/**
* We need to provide a hashCode() and an equals() method to be
* able to hash these ob... |
package com.github.ddth.queue.qnd.rocksdb;
import java.io.File;
import org.apache.commons.io.FileUtils;
import com.github.ddth.commons.rocksdb.RocksDbWrapper;
import com.github.ddth.queue.utils.QueueUtils;
public class QndRocksDbMultiThreads {
public static void main(String[] args) throws Exception {
F... |
package org.alljoyn.ioe.controlpanelbrowser;
/******************************************************************************
* Copyright (c) 2013-2014, AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby grante... |
package com.github.qaware.adcl.information;
import org.jetbrains.annotations.NotNull;
import org.neo4j.ogm.annotation.RelationshipEntity;
/**
* Represents an edge on the graph describing a dependency from any node to a class node
*/
@RelationshipEntity("ClassDependency")
public final class ClassDependency extends R... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... |
/*
* 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... |
package net.openid.conformance.condition.client;
import com.google.common.base.Strings;
import net.openid.conformance.condition.AbstractCondition;
import net.openid.conformance.condition.PostEnvironment;
import net.openid.conformance.condition.PreEnvironment;
import net.openid.conformance.testmodule.Environmen... |
// 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.caizilong.netesase.splash.bean;
import java.io.Serializable;
import java.util.List;
/**
* @author 小码哥Android学院(520it.com)
* @time 2016/10/12 10:31
* @desc ${TODD}
*/
public class Ads implements Serializable {
int next_req ;
List<AdsDetail> ads;
public List<AdsDetail> getAds... |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package org.apache.archiva;
/*
* 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 ... |
/*
* ###
* PHR_NodeJSWebService
* %%
* Copyright (C) 1999 - 2012 Photon Infotech 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/LIC... |
package scene;
import gameobj.Actor;
import utils.CommandSolver;
import utils.Global;
import java.awt.*;
public class MainScene extends Scene {
private Actor actor;
@Override
public void sceneBegin() {
actor = new Actor(Global.SCREEN_X / 2, Global.SCREEN_Y / 2, 6);
}
@Override
pub... |
package planets_extended;
import planets_extended.windows.Menu;
import planets_extended.windows.Game;
import planets_extended.windows.Window;
import java.util.ArrayList;
import javafx.animation.AnimationTimer;
import javafx.application.Application;
import javafx.stage.Stage;
import static planets_extended.windows.Game... |
package com.sunil.expandablerecyclerview;
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
p... |
package hudson.remoting;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.output.TeeOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.OutputStream;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
import java.util.List;
import java.u... |
/**
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you ... |
/* DungeonDiver7: A Dungeon-Diving RPG
Copyright (C) 2021-present Eric Ahnell
Any questions should be directed to the author via email at: products@puttysoftware.com
*/
package com.puttysoftware.dungeondiver7.dungeon.objects;
import com.puttysoftware.dungeondiver7.dungeon.abstractobjects.AbstractMover;
import com... |
package co.adeshina.c19ta.data_api.service;
import co.adeshina.c19ta.common.dto.TweetAggregate;
import co.adeshina.c19ta.data_api.dto.DataPacket;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.junit.jupiter.api.BeforeEach;
impo... |
/*
* 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 2014 - 2021 Blazebit.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/*
* Licensed 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 ... |
package com.linkedin.datahub.graphql.types.mlmodel.mappers;
import com.linkedin.common.DataPlatformInstance;
import com.linkedin.common.Deprecation;
import com.linkedin.common.GlobalTags;
import com.linkedin.common.GlossaryTerms;
import com.linkedin.common.InstitutionalMemory;
import com.linkedin.common.Ownership;
im... |
package com.jnape.palatable.lambda.semigroup.builtin;
import com.jnape.palatable.lambda.functions.Fn1;
import com.jnape.palatable.lambda.semigroup.Semigroup;
import static com.jnape.palatable.lambda.functions.builtin.fn1.Id.id;
import static com.jnape.palatable.lambda.semigroup.builtin.MinBy.minBy;
/**
* A {@link S... |
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2002, Eric D. Friedman All Rights Reserved.
// Copyright (c) 2009, Robert D. Eden All Rights Reserved.
// Copyright (c) 2009, Jeff Randall All Rights Reserved.
//
// This library is free software; you can redistribute it an... |
/*
* Copyright © 2017 Packt Publishing - All Rights Reserved.
* Unauthorized copying of this file, via any medium is strictly prohibited.
*/
package com.packtpub.rest.ch6.ext;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.ws.rs.container.ContainerRequestC... |
/**
* Java programming exercise 3-1
* @reproduced by Jason Oh
*/
public class Ex03_1
{
public static void main(String[] args)
{
int x = 1;
System.out.println("x: " + x);
for (int i = 1; i <= 3; i++)
{
System.out.println("x: " + x++ + " ");
}
Syste... |
/**
* 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 com.java.study;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
/**
* Unit test for simple App.
*/
public class AppTest
{
/**
* Rigorous Test :-)
*/
@Test
public void shouldAnswerWithTrue()
{
assertTrue( true );
}
}
|
/*
* (C) Copyright 2006-2016 Nuxeo SA (http://nuxeo.com/) and others.
*
* 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 re... |
/**
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 not use this ... |
/******************************************************************************
* Copyright 2009-2018 Exactpro (Exactpro Systems Limited)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... |
package de.pkro;
public class GreatestCommonDivisor {
public static int getGreatestCommonDivisor(int first, int second) {
if (first < 10 || second < 10) {
return -1;
}
int divisor = first > second ? second : first;
while (divisor > 1) {
if (first % divisor ==... |
/*
* ====================================================================
* 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
... |
// Copyright 2020 Goldman Sachs
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... |
package com.google.android.gms.internal.ads;
@zzard
public final class zzauw {
/* renamed from: a */
private zzavd f24848a;
public zzauw(zzavd zzavd) {
this.f24848a = zzavd;
}
}
|
package me.kaloyankys.wilderworld.entity.render;
import me.kaloyankys.wilderworld.client.WilderworldClient;
import me.kaloyankys.wilderworld.entity.ButterflyEntity;
import net.minecraft.client.render.entity.EntityRendererFactory;
import net.minecraft.client.render.entity.MobEntityRenderer;
import net.minecraft.util.Id... |
package net.minecraft.inventory.container;
import java.util.Map;
import java.util.Map.Entry;
import java.util.stream.Collectors;
import net.minecraft.block.Blocks;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.enchantment.EnchantmentHelper;
import net.minecraft.entity.item.ExperienceOrbEntity;
imp... |
package com.sap.cloud.lm.sl.cf.core.persistence.query;
import java.util.Date;
import com.sap.cloud.lm.sl.cf.core.persistence.OrderDirection;
import com.sap.cloud.lm.sl.cf.persistence.model.ProgressMessage;
import com.sap.cloud.lm.sl.cf.persistence.model.ProgressMessage.ProgressMessageType;
public interface ProgressM... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.