text stringlengths 7 995k |
|---|
package org.agilemethod.pair10.grade_system;
import com.tngtech.jgiven.annotation.AfterScenario;
import com.tngtech.jgiven.annotation.BeforeScenario;
import com.tngtech.jgiven.junit.ScenarioTest;
import org.agilemethod.pair10.grade_system.steps.GivenUI;
import org.agilemethod.pair10.grade_system.steps.ThenUI;
import o... |
/*
* Copyright (c) 2011-2018 Nexmo Inc
*
* 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, publ... |
public class LoopArithmetic {
// https://github.com/rsp/ppj
public static void main(String[] args) {
int m = 5;
for (int j = 0; j <= 2*m; j++) {
for (int i = 0; i <= 2*m; i++)
System.out.print((i-j)*(2*m-j-i) < 0 ? " " : "*");
System.out.println();
... |
package com.lichkin.application.apis.toilet.arsg.UploadSmogStatus;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.lichkin.framework.defines.LKFrameworkStatics;
impor... |
/*
* 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... |
public class Quack implements QuackBehavior {
public void quack () {
System.out.println("Quack");
}
} |
package org.larrieulacoste.noe.al.trademe.kernel.exception;
public class DeserializeException extends RuntimeException {
public DeserializeException(String message) {
super(message);
}
} |
/*******************************************************************************
* Copyright 2016 Internet2
*
* 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.or... |
package ru.rshalimov.reactnative.common;
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.HashMap;
import java.util.Map;
public class MapBuilder {
private final Deque <Map <String, Object>> deque = new ArrayDeque <> ();
{
deque.addLast(new HashMap <String, Object> ());
}
... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// 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: 2013.08.07 at 02:13... |
package mage.cards.p;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.BeginningOfUpkeepTriggeredAbility;
import mage.abilities.effects.common.SacrificeControllerEffect;
import mage.abilities.keyword.FearAbility;
import mage.cards.CardImpl;
import mage.cards.CardS... |
/*================================================================================
Copyright (c) 2013 Steve Jin. 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 re... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package unalcol.optimization.real.xover;
import unalcol.search.population.variation.ArityTwo;
/**
* <p>Title: RealArityTwo</p>
* <p>Description: An Arity Two real vector genetic operator</p>
* <p>Copyright: Copyri... |
package com.example.codepush2apps.codepush2apps;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.provider.Settings;
import android.support.v7.app.AppCompatActivity;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactR... |
package aramframework.com.sym.sym.bak.domain;
/**
* 백업스케줄요일에 대한 model 클래스
*
* @author 아람컴포넌트 조헌철
* @since 2014.11.11
* @version 1.0
*/
public class BackupSchdulDfkVO {
// domain
/** 백업작업ID */
private String backupOpertId;
/** 실행스케줄요일 */
private String executSchdulDfkSe;
// helper
/** 실행스케줄요일명 */
priv... |
package uk.gov.pay.connector.events.model.payout;
import uk.gov.pay.connector.events.eventdetails.EventDetails;
import uk.gov.pay.connector.events.model.Event;
import uk.gov.pay.connector.events.model.ResourceType;
import java.time.ZonedDateTime;
public class PayoutEvent extends Event {
private String serviceId;... |
package com.github.joostvdg.dui.api;
public enum NodeRole {
NONE((byte)0x00),
MANAGER((byte)0x01),
WORKER((byte)0x02);
private byte status;
NodeRole(final byte status) {
this.status = status;
}
public byte getStatus(){
return this.status;
}
public static NodeRole... |
/*
* Copyright 2017 David Karnok
*
* 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 2016 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version
* 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... |
package com.adaptris.interlok.azure;
import com.adaptris.annotation.AdapterComponent;
import com.adaptris.annotation.ComponentProfile;
import com.adaptris.core.CoreException;
import com.azure.identity.ClientSecretCredential;
import com.azure.identity.ClientSecretCredentialBuilder;
import com.azure.storage.file.datalak... |
/*
* 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.wdkl.callingbed.util.anrfcutil;
import android.annotation.SuppressLint;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Looper;
import android.util.Log;
import com.github.anrwatchdog.ANRError;
import com.gi... |
package ingestDataTest;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.StandardCopyOption;
import java.util.List;
import org.hadatac.console.controllers.annotator.AutoAnnotator;
import o... |
/*
* Copyright 2002-2017 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 com.alyer.modules.sys.service.impl;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.alyer.common.exception.RRException;
import com.alyer.common.utils.Constant;
import com.alyer.common.utils.... |
/*
* Copyright 2018 Anton Straka
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
/*
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package br.com.azul.controle.model;
import java.io.Serializable;
import java.time.LocalDateTime;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
/**
*
* Data: 25/07/2016
* Projeto - AzulControl... |
package ph.codeia.shiv.demo.login;
import androidx.annotation.Nullable;
import androidx.core.util.Supplier;
import androidx.lifecycle.Observer;
/*
* This file is a part of the Shiv project.
*/
public interface Login {
interface State {
void dispatch(Login.View k);
}
interface View extends Observer<Login.Sta... |
package us.codecraft.jobhunter.pipeline;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;
import java.net.URLConnection;
import java.util.UUID;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.HttpsURLConnection;
import java... |
/*
* Copyright (c) 2005-2016, Opensmile. All rights reserved.
*/
package top.opensmile.chatroom;
import top.opensmile.chatroom.service.ChatRoomService;
/**
* Created by opensmile on 16/9/28.
* 启动器
*/
public class Application {
public static void main(String[] args) throws InterruptedException {
ne... |
package com.md.appuserconnect.core.services.internal.statistics;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequ... |
/**
* Copyright 2009 Humboldt-Universität zu Berlin, INRIA.
*
* 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 b... |
/**
* Copyright 2013-2022 Valery Silaev (http://vsilaev.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 b... |
package com.geekdos.tps.TP2;
/**
* Created by theXuser on 28/11/2016.
*/
public class Veau extends Met {
public Veau(){
setNom("Veau");
}
@Override
public boolean estSucre() {
return false;
}
@Override
public boolean estSale() {
return false;
}
@Overrid... |
/**
* Copyright (c) Dell Inc., or its subsidiaries. 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
*/
package ... |
package hu.progtech.cd2t100.computation.io;
/**
* <p>{@code Register} is a general purpose storage register that can
* store an arbitrary number of integers. It's a special port that can
* always be written or read.</p>
*
* <p>A {@code Register} can be used to implement a stack, a queue or even
* some sort ... |
/*
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 library.rest;
import library.entity.Author;
import library.repository.AuthorRepository;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
@Controller
@RequestMapping(value = "/author/*")
public class AuthorController {
... |
package com.rs.game.player.controllers;
import java.util.Arrays;
import com.rs.cache.loaders.ItemDefinitions;
import com.rs.game.Animation;
import com.rs.game.Graphics;
import com.rs.game.NewForceMovement;
import com.rs.game.World;
import com.rs.game.WorldObject;
import com.rs.game.WorldTile;
import com.rs.game.item.... |
/*
* 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 ... |
/*
* 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... |
package com.free4lab.account.manager;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import com.free4lab.account.model.GroupFriend;
import com.free4lab.account.model.GroupFriendDAO;
import com.free4lab.account.model.GroupList;
import com.free4lab.account.... |
package it.angelic.soulissclient.model.typicals;
import android.content.Context;
import android.graphics.LinearGradient;
import android.graphics.drawable.ClipDrawable;
import android.graphics.drawable.ShapeDrawable;
import android.graphics.drawable.shapes.RoundRectShape;
import android.text.Html;
import android.util.L... |
package me.vilsol.nmswrapper.wraps.unparsed;
import me.vilsol.nmswrapper.*;
import me.vilsol.nmswrapper.reflections.*;
import me.vilsol.nmswrapper.wraps.*;
@ReflectiveClass(name = "CommandDebug")
public class NMSCommandDebug extends NMSCommandAbstract {
public NMSCommandDebug(Object nmsObject){
super(nms... |
/*
* Copyright (c) 2022 Philip Cali
* Released under Apache-2.0 License
* (https://www.apache.org/licenses/LICENSE-2.0)
*/
package me.philcali.device.pool.model;
import org.immutables.value.Value;
/**
* An {@link org.immutables.value.Value.Immutable} helper to facilitate consistent
* code generation across... |
package space.earlygrey.shapedrawer;
public interface SideEstimator {
int estimateSidesRequired(float pixelSize, float radiusX, float radiusY);
} |
package io.stacknix.merlin.db;
public interface DatabaseListener {
void onChange(Class<? extends MerlinObject> tClass, DBOperation operation);
} |
package com.android.ssmyat.datacommunication.ui.activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import ... |
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package com.amazon.corretto.crypto.provider.test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.params.provider.Arguments.arguments;
import java.util.ArrayList;
i... |
package com.gdg.app.data;
import com.gdg.app.data.db.DbHelper;
import com.gdg.app.data.network.ApiHelper;
import com.gdg.app.data.prefs.PreferencesHelper;
public interface DataManager extends DbHelper, PreferencesHelper, ApiHelper {
void updateApiHeader(String userId, String accessToken);
void setUserAsLog... |
/*
* This file is part of Flicklib.
*
* Copyright (C) Zsombor Gegesy
*
* 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 requ... |
/**
* 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.sakaiproject.tool.section.jsf;
import org.apache.myfaces.taglib.html.ext.HtmlDataTableTag;
/**
* Author:Louis Majanja <louis@media.berkeley.edu>
* Date: Jan 18, 2007
* Time: 1:07:44 PM
*/
public class RowGroupDataTableTag extends HtmlDataTableTag {
public String getRendererType() {
retu... |
package seedu.pluswork.logic.commands.task;
import static java.util.Objects.requireNonNull;
import static seedu.pluswork.logic.parser.CliSyntax.PREFIX_TASK_INDEX;
import static seedu.pluswork.model.Model.PREDICATE_SHOW_ALL_TASKS;
import java.time.Instant;
import java.util.List;
import java.util.Set;
import seedu.plu... |
package com.atguigu.gmall.ums.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gmall.ums.entity.MemberLevelEntity;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;
/**
* 会员等级
*
* @author ShuiHanxuan
* @email shuihanxuan8899@foxmail.com
* @d... |
package com.example.versionone;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class improve_Activity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activ... |
package group.zealot.test.datasource.elasticsearch;
import lombok.Data;
import org.elasticsearch.common.xcontent.XContentBuilder;
import org.elasticsearch.common.xcontent.XContentFactory;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.IOException;
import java.util.Date;
/**
* @author ze... |
package net.sansa_stack.hadoop.core;
/**
*
* @param <T> The item type
* @param <G> The group key type - items are mapped to group keys
* @param <A> The accumulator type
* @param <U> The 'finalizer' - maps an accumulator to a final value
*/
public interface Accumulating<T, G, A, U> {
G classify(T item);
A... |
package Methods;
import java.util.Scanner;
import java.util.Arrays;
public class ArrayManipulator {
static int[] manipulateTheArray(int[]numbers, String order){
String[] commandAndParameters = new String[3];
commandAndParameters = order.split(" ");
String command = commandAndParameters[0];... |
/*
* 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... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.kpabr.DeeperCaves.block;
import java.util.Random;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.Entity;
im... |
/*
* WorldEdit, a Minecraft world manipulation toolkit
* Copyright (C) sk89q <http://www.sk89q.com>
* Copyright (C) WorldEdit team and contributors
*
* 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 F... |
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requ... |
/*
* Copyright 2002-2011 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 com.cmkj.mall.model.sms;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class SmsCouponHistoryExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public SmsCouponHistoryExample() {
oredCriteri... |
package br.com.zup_academy.alisson_prado.proposta.repository;
import br.com.zup_academy.alisson_prado.proposta.model.CarteiraDigital;
import br.com.zup_academy.alisson_prado.proposta.model.NomeCarteiraDigital;
import org.springframework.data.jpa.repository.JpaRepository;
public interface CarteiraDigitalRepository ext... |
package org.pankai.tcctransaction.sample.order.domain.entity;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* Created by pktczwd on 2016/12/16.
*/
public class OrderLine implements Serializable {
private long id;
private long productId;
private int quantity;
private BigDecimal un... |
/*
* Copyright 2002-2011 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 org.ripple.bouncycastle.asn1;
import java.io.IOException;
import org.ripple.bouncycastle.util.Arrays;
public class DERBoolean
extends ASN1Primitive
{
private static final byte[] TRUE_VALUE = new byte[] { (byte)0xff };
private static final byte[] FALSE_VALUE = new byte[] { 0 };
private byte[]... |
package com.pattern10.menu2;
import java.util.Iterator;
public class MenuItem extends MenuComponent {
String name;
float price;
boolean vegetarian;
public MenuItem(String name, float price, boolean vegetarian) {
this.name = name;
this.price = price;
this.vegetarian = vegetaria... |
/*
* Copyright (c) 2010-2018. Axon Framework
*
* 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 o... |
/*
* Copyright 2013-2017 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 nextstep.subway.utils;
import com.google.common.base.CaseFormat;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Service;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.transaction.annotation.Transactional;
import javax.persi... |
package org.testng.internal;
import org.testng.ITestNGMethod;
import org.testng.TestNGCommandLineArgs;
import org.testng.TestRunner;
import org.testng.annotations.IConfigurationAnnotation;
import org.testng.annotations.ITestAnnotation;
import org.testng.collections.Lists;
import org.testng.collections.Maps;
import or... |
/*
* Copyright 2011 Greg Milette and Adam Stroud
*
* 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... |
package org.eldron.shorty;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class ShortyApplication {
public static void main(String[] args) {
SpringApplication.run(ShortyApplication.class, args);
}
... |
package org.exampleapps.greatbig.web.rest;
import org.exampleapps.greatbig.GreatBigExampleApplicationApp;
import org.exampleapps.greatbig.domain.Entry;
import org.exampleapps.greatbig.repository.EntryRepository;
import org.exampleapps.greatbig.repository.search.EntrySearchRepository;
import org.exampleapps.greatbig.w... |
/* */ package org.apache.bcel.generic;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */... |
package org.ednovo.gooru.client.uc;
import org.ednovo.gooru.client.gin.AppClientFactory;
import org.ednovo.gooru.client.mvp.play.collection.preview.PreviewPlayerPresenter;
import org.ednovo.gooru.shared.model.content.CollectionItemDo;
import org.ednovo.gooru.shared.util.MessageProperties;
import org.ednovo.gooru.sha... |
import java.util.Scanner;
public class Caesar {
// Given a String, encrypts the String with the Caesar cipher
// and returns the encrypted String
// Ex. encryptCaesar("Hello, World!") => "Khoor, Zruog!"
public static String encryptCaesar(String message) {
String encrypted = "";
int lenS... |
/*
* Copyright (c) 2016 Vivid Solutions.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* and Eclipse Distribution License v. 1.0 which accompanies this distribution.
* The Eclipse Public License is available at http://ww... |
package jaist.css.covis.cls;
public interface LinkMovable {
public void update();
} |
/** Automatically generated file. DO NOT MODIFY */
package com.example.imageproducerdemo;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
package com.github.ezh.common.util.exception;
/**
* @author solor
* @date 2017-12-29 17:05:10
* 403 授权拒绝
*/
public class PigDeniedException extends RuntimeException {
private static final long serialVersionUID = 1L;
public PigDeniedException() {
}
public PigDeniedException(String message) {
... |
package chapter5.section1;
import chapter1.section3.Queue;
import edu.princeton.cs.algs4.StdOut;
import java.util.StringJoiner;
/**
* Created by Rene Argento on 08/01/18.
*/
// Thanks to AdamShamaa (https://github.com/AdamShamaa) for suggesting an optimization to this exercise.
// https://github.com/reneargento/al... |
/*
* Copyright 2016 michaelrohs.
*
* 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... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2011-2022 Broad Institute, Aiden Lab, Rice University, Baylor College of Medicine
*
* 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... |
package com.jiangdg.usbcamera.view;
import android.content.Intent;
import android.hardware.usb.UsbDevice;
import android.os.Bundle;
import android.os.Looper;
import android.support.annotation.Nullable;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.App... |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... |
/*
* Copyright 2015 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.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, softw... |
/**
* Copyright (c) 2015-2016, Chill Zhuang 庄骞 (smallchill@163.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 re... |
package io.jsoncmpos.svc.aws.repositories;
import java.util.Collection;
import java.util.UUID;
import java.util.function.Predicate;
import io.jsoncmpos.svc.aws.models.dao.AwsServiceCatalogItem;
public interface AwsServiceCatalogRepository {
public void init();
public void close();
public AwsServiceCatalogItem l... |
/*
* Copyright 1999-2012 Alibaba Group.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... |
/*
* Copyright (c) 2014, salesforce.com, 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 above copyright notice, this list of c... |
package es.upm.oeg.librairy.api.model;
/**
* @author Badenes Olmedo, Carlos <cbadenes@fi.upm.es>
*/
public class Export {
private DockerHubCredentials credentials;
private String title = "My Model";
private String description = "Built by using librAIry learner service";
private String con... |
package cn.njxzc.estore.service.impl;
import java.util.List;
import org.apache.ibatis.transaction.TransactionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import cn.njxzc.estore... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.