text stringlengths 7 1.01M |
|---|
package com.executor.TestObj;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import com.executor.core.Exec;
import com.executor.execute.Parameters;
public class... |
package com.example.administrator.project;
import android.app.Activity;
import android.os.Bundle;
/**
* Created by Administrator on 2015/12/5.
*/
public class Row3Col2Activity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
... |
package org.javamaster.b2c.mybatistk.enums;
/**
* Created on 2018/11/15.<br/>
*
* @author yudong
*/
public enum VisibleEnum {
SHOW(1, "ๅฑ็คบ"),
HIDE(0, "้่");
private Integer code;
private String msg;
VisibleEnum(Integer code, String msg) {
this.code = code;
this.msg = msg;
... |
/**
* Copyright Indra Soluciones Tecnologรญas de la Informaciรณn, S.L.U.
* 2013-2019 SPAIN
*
* 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... |
package com.brainfucker;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.ArrayList;
import java.util.regex.*;
public class Population {
private List<Individual> testPrograms;
private List<Individual> buffer;
private int popul... |
/*
* Copyright 2015-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 required by a... |
package com.atguigu.gmall.ums.controller;
import java.util.Arrays;
import java.util.Map;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;
import com.atguigu.core.bean.Resp;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans... |
/*
*
* Copyright (c) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
*
*/
package com.microsoft.msr.RiotEmulator;
import com.microsoft.msr.DiceEmulator.DICE;
import org.bouncycastle.asn1.*;
import org.bouncycastle.asn1.nist.NIS... |
package com.azrul.echo.query;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
|
package com.lyd.mall.coupon.controller;
import java.util.Arrays;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind... |
package com.adeven.adjustio;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
// support multiple Bro... |
/*
* The MIT License (MIT)
*
* Copyright 2021 Crown Copyright (Health Education England)
*
* 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 limita... |
package com.novoda.demo.optionaldependencies;
import android.widget.TextView;
public class BaseOptionalDependencies {
public void updatePaidContent(TextView textView) {
// no-op
}
}
|
// 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 2012-2018 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 io.ray.runtime;
import com.google.common.base.Preconditions;
import com.google.gson.Gson;
import io.ray.api.BaseActorHandle;
import io.ray.api.id.ActorId;
import io.ray.api.id.JobId;
import io.ray.api.id.UniqueId;
import io.ray.api.runtimecontext.ResourceValue;
import io.ray.runtime.config.RayConfig;
import io... |
package es.ucm.fdi.iw.utils;
import java.util.ArrayList;
import java.util.List;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowi... |
/*
* Copyright (c) 2021 Airbyte, Inc., all rights reserved.
*/
package io.airbyte.workers.temporal.sync;
import io.airbyte.commons.json.Jsons;
import io.airbyte.config.OperatorDbtInput;
import io.airbyte.scheduler.models.IntegrationLauncherConfig;
import io.airbyte.scheduler.models.JobRunConfig;
import io.airbyte.w... |
package com.revolsys.util.count;
import org.jeometry.common.logging.Logs;
import com.revolsys.util.Counter;
public abstract class AbstractLabelCounters implements LabelCounters {
private boolean logCounts = true;
protected String message;
private int providerCount = 0;
public AbstractLabelCounters() {
... |
// Template Source: IBaseMethodRequestBuilder.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ----------------------------... |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package com.showka.entity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import lombok.Getter;
imp... |
/**
* Copyright (C) 2010-2016 eBusiness Information, Excilys Group
* Copyright (C) 2016-2020 the AndroidAnnotations 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://... |
package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.fincore.compliance.sign.list.apply response.
*
* @author auto create
* @since 1.0, 2021-12-29 14:38:51
*/
public class AlipayFincoreComplianceSignListApplyResponse ex... |
package com.Ray.pojo;
import java.util.Date;
public class Role {
private Integer id; //id
private String roleCode; //่ง่ฒ็ผ็
private String roleName; //่ง่ฒๅ็งฐ
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getRoleCode() {
return roleCode;
}
public... |
/*******************************************************************************
* Copyright 2011, 2012 Chris Banes.
*
* 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... |
/*
* 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 Intland Software (support@intland.com)
*/
package com.intland.jenkins.api.dto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonSerialize(include = JsonSerialize.Incl... |
package com.erzhiqianyi.leecode.string;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
public class StrStrTest {
private StrStr strStr;
@Before
public void init() {
strStr = new StrStr();
}
@Test
... |
/*-
* <<
* DBus
* ==
* Copyright (C) 2016 - 2017 Bridata
* ==
* 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
*
* U... |
/*
* Copyright (c) 2003, 2013, 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 ... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
/*
* Copyright 2014 Bersenev Dmitry molasdin@outlook.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 requir... |
package com.baomidou.mybatisplus.extension.plugins.pagination;
import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import net.sf.jsqlparser.JSQLParserException;
import net.sf.jsqlparser.parser.CCJSqlParserUtil;
import net.sf.jsqlparser.state... |
/*
* Copyright 2020 Jakob Hjelm (Komposten)
*
* This file is part of LeapJna.
*
* LeapJna is a free Java library: you can use, redistribute it and/or modify
* it under the terms of the MIT license as written in the LICENSE file in the root
* of this project.
*/
package komposten.leapjna.leapc.events;
import co... |
package de.sprax2013.lime.configuration;
import de.sprax2013.lime.configuration.validation.EntryValidator;
import de.sprax2013.lime.legacy.LegacyKeyUpgrader;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
i... |
/*
* Copyright 2015 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 applic... |
package top.yzhelp.campus.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import top.yzhelp.campus.mapper.SearchRecordMapper;
import top.yzhelp.campus.model.other.SearchRecord;
import top.yzhelp.campus.service.SearchRecordService;
/**
*... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
/*
* Copyright 2013-2016 Netherlands Forensic Institute
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
/*
* Copyright (c) 2020, The Magma Authors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distrib... |
/*
* Bitcoin cryptography library
* Copyright (c) Project Nayuki
*
* https://www.nayuki.io/page/bitcoin-cryptography-library
* https://github.com/nayuki/Bitcoin-Cryptography-Library
*/
//MIT license
package money.terra.terrawallet.library;
import static java.lang.Integer.rotateLeft;
import java.util.Arrays;
im... |
/***************************************************************************
* Copyright 2020 Kieker Project (http://kieker-monitoring.net)
*
* 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 a... |
package com.snk.system.service;
import java.util.List;
import com.snk.system.domain.SysNotice;
/**
* ๅ
ฌๅ ๆๅกๅฑ
*
* @author snk
*/
public interface ISysNoticeService
{
/**
* ๆฅ่ฏขๅ
ฌๅไฟกๆฏ
*
* @param noticeId ๅ
ฌๅID
* @return ๅ
ฌๅไฟกๆฏ
*/
public SysNotice selectNoticeById(Long noticeId);
/**
... |
/*
* 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... |
package io.agent.hooks;
import io.agent.annotations.After;
import io.agent.annotations.Before;
import io.agent.annotations.Hook;
import io.agent.hookcontext.MetricDef;
import io.agent.hookcontext.MetricsStore;
import io.prometheus.client.Counter;
import io.prometheus.client.Summary;
import java.util.concurrent.TimeUn... |
/*
* Copyright 2002-2019 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 com.bornium.infrastructurebootstrapping.crypto.services;
import com.bornium.infrastructurebootstrapping.base.services.execution.docker.ContainerShell;
import com.bornium.infrastructurebootstrapping.base.services.execution.docker.DockerService;
import com.bornium.infrastructurebootstrapping.crypto.services.open... |
package de.fhg.iais.roberta.visitor.codegen;
import java.util.ArrayList;
import org.json.JSONObject;
import de.fhg.iais.roberta.components.Configuration;
import de.fhg.iais.roberta.components.ConfigurationComponent;
import de.fhg.iais.roberta.inter.mode.action.IDriveDirection;
import de.fhg.iais.roberta.inter.mode.a... |
/*
* 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 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... |
package com.gradecak.alfresco.mvc.controller;
import org.alfresco.service.cmr.repository.NodeRef;
import org.springframework.core.MethodParameter;
import org.springframework.http.MediaType;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.converter.json.MappingJackson2Htt... |
package com.standards.libhikvision.activity.widget.slice;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.RectF;
import android.graphics.Typeface;
import android.text.TextPaint;
i... |
/*
* Copyright 2018 Crown Copyright
*
* 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... |
/*
* Copyright (C) 2017 ไผๅฎขๆ-ๅคๆธ ้ๅฎขๆ็ณป็ป
* Modifications copyright (C) 2018 Chatopera Inc, <https://www.chatopera.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://ww... |
package org.appspot.apprtc;
import android.os.Handler;
import android.os.HandlerThread;
import android.util.Log;
import org.webrtc.IceCandidate;
import org.webrtc.SessionDescription;
import org.appspot.apprtc.janus.JanusCommon;
import org.appspot.apprtc.janus.JanusCommon.JanusConnectionParameters;
import org.appspot.... |
package com.tesco.encryptionservice.ssh.parser.decode;
import com.tesco.encryptionservice.ssh.certificate.EcdsaSshCertificate;
import lombok.SneakyThrows;
public class Ecdsa521SshCertificateDecoder extends EcdsaSshCertificateDecoder<EcdsaSshCertificate> {
private static final String CERTIFICATE_ALGORITHM = "ecds... |
package me.bscal.healthy.common.registry;
import me.bscal.healthy.Healthy;
import me.bscal.healthy.common.blocks.UnlitTorch;
import me.bscal.healthy.common.blocks.UnlitWallTorch;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.minecraft.block.Block;
import net.minecraft.block.Mat... |
package org.digitalcrafting.theOne.service.users.dataaccess.discovery;
import lombok.Data;
@Data
public class DiscoveryRegisterServiceRequest {
private String serviceName;
private String serviceIp;
private String servicePort;
}
|
package com.xaeport.cinsight.ui.common;
import com.fasterxml.jackson.databind.util.ISO8601DateFormat;
import com.fasterxml.jackson.databind.util.ISO8601Utils;
import java.text.FieldPosition;
import java.util.Date;
public class RFC3339DateFormat extends ISO8601DateFormat {
// Same as ISO8601DateFormat but seriali... |
package de.kaliburg.morefair.chat;
import de.kaliburg.morefair.ladder.Ladder;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface MessageRepository extends JpaRepository<Message, Long> {
// can't do li... |
package tapl.nat;
import java.util.Optional;
public interface Pred<Elem, Tm, UNat> extends UnaryNat<Elem, Tm, UNat> {
tapl.Term<Elem, Tm> getOf();
default Pred<Elem, Tm, UNat> replaceOf(tapl.Term<Elem, Tm> by) { return pred(by); }
@Override default tapl.Term<Elem, Tm> eval() {
Term<Elem, Tm, UNat> evaluatedIn... |
package net.teamfruit.mchelishield.asm;
import java.util.Map;
import javax.annotation.Nullable;
import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
public class PrivacyShieldCorePlugin implements IFMLLoadingPlugin {
@Override
public @Nullable String[] getASMTransformerClass() {
return new String[] {
... |
/**
* 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 ... |
/*
* Copyright 2016-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright 2017 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... |
package zhang.springframework.gof.abstractFactory.topping;
public class GoatCheese implements Cheese {
public GoatCheese(){
prepareCheese();
}
@Override
public void prepareCheese(){
System.out.println("Preparing goat cheese...");
}
}
|
/*
* 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 ... |
import java.io.*;
import java.io.PrintWriter;
import java.util.HashMap;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSes... |
package com.ziroom.tech.demeterapi.dao.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* <pre>
* โโโโโโ็ฅๅ
ฝๅบๆฒกโโโโโโ
* ใใใโโใใใโโ
* ใใโโโปโโโโโปโ
* ใใโใใใใใใใโ
* ใใโใใใโใใใโ
* ใใโใโณโใโโณใโ
* ใใโใใใใใใใโ
* ใใโใใใโปใใใโ
* ใใโใใใใใใใโ
* ใใโโโใใใโโโ
* ใใใใโใใใโ็ฅๅ
ฝไฟไฝ, ๆฐธๆ BUG!
* ใใ... |
package org.ranji.lemon.volador.model.personal;
import org.apache.ibatis.type.Alias;
import org.ranji.lemon.core.model.AbstractModel;
import org.ranji.lemon.core.util.JsonUtil;
@Alias("VoladorInvitationCode")
public class InvitationCode extends AbstractModel{
private static final long serialVersionUID = 1... |
package com.iso.dashboard.dto;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Te... |
package ca.uhn.fhir.jpa.searchparam.extractor;
/*
* #%L
* HAPI FHIR Search Parameters
* %%
* Copyright (C) 2014 - 2021 Smile CDR, 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... |
/*
* 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 WeatherApp;
import java.util.ArrayList;
import java.util.List;
public class Observable {
private List<Observer> observers = new ArrayList<>();
public void register(Observer observer){
System.out.println("going to register");
this.observers.add(observer);
}
public void deregs... |
/*
* Copyright (c) 2002-2017 Gargoyle Software 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 ... |
package com.study.component.bean;
import com.study.component.DespositMode;
import org.springframework.core.annotation.Order;
/**
* ็ฑป่ฏดๆ:
*
* <pre>
* Modify Information:
* Author Date Description
* ============ ============= ============================
* VilderLee 2019/4/12 Create this f... |
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package blog.javamagic.pfp.filter;
public interface LineFilter {
boolean f( String[] line );
}
|
/******************************************************************************
* Compilation: javac StdRandom.java
* Execution: java StdRandom
* Dependencies: StdOut.java
*
* A library of static methods to generate pseudo-random numbers from
* different distributions (bernoulli, uniform, gaussian,... |
/*
* Copyright (c) OSGi Alliance (2010, 2013). 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 re... |
/*
* BridJ - Dynamic and blazing-fast native interop for Java.
* http://bridj.googlecode.com/
*
* Copyright (c) 2010-2015, Olivier Chafik (http://ochafik.com/)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following ... |
package edu.fiuba.algo3.loaders;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import edu.fiuba.algo3.constants.ResourceConstants;
import edu.fiuba.algo3.exceptions.QuestionsNotLoadedException;
import edu.fiuba.algo3.model.Game;
import edu.fiuba.algo3.model.Player;
public class Gam... |
/*
* 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 ... |
/*
* Copyright (c) 2021 CMCORP
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, dis... |
/*
* 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 u... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2020 DBeaver Corp 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/LICE... |
package br.com.jabolina.discoveryclient.configuration;
import br.com.jabolina.discoveryclient.cluster.IDistributedInstance;
import br.com.jabolina.discoveryclient.cluster.impl.atomix.AtomixDistributedInstance;
import io.atomix.cluster.Node;
import io.atomix.cluster.discovery.BootstrapDiscoveryProvider;
import io.atomi... |
/*
* 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) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.containerservice;
import com.fasterxml.jackson.a... |
package io.adaptivecards.renderer.input;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.support.v4.app.FragmentManager;
import... |
/*-
* ============LICENSE_START=======================================================
* SDC
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ===================================================================... |
package com.baeldung.newline;
public class AddingNewLineToString {
public static void main(String[] args) {
String line1 = "Humpty Dumpty sat on a wall.";
String line2 = "Humpty Dumpty had a great fall.";
String rhyme = "";
System.out.println("***New Line in a String in Java***");
//1. Using "\n"
Sys... |
/**
* 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 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... |
/*
* 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 org.apache.helix;
/*
* 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... |
/**
* Copyright 2013 Canada Health Infoway, 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 applicab... |
/*
* Copyright (c) 2015 Kloudtek Ltd
*/
package com.kloudtek.kryptotek.keystore;
import com.kloudtek.util.BackendAccessException;
/**
* Created by yannick on 22/11/2014.
*/
public class KeyStoreAccessException extends BackendAccessException {
public KeyStoreAccessException() {
}
public KeyStoreAcces... |
package ooga.model.systems.creature;
/**
* @author Tinglong Zhu
*/
import java.util.List;
import ooga.model.actions.NPCAction;
import ooga.model.actions.ObjectSpawner;
import ooga.model.annotations.Track;
import ooga.model.components.MovementComponent;
import ooga.model.components.MovementComponent.HorizontalMovemen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.