text stringlengths 7 995k |
|---|
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.verification;
import org.mockito.internal.util.collections.ListUtil;
import org.mockito.internal.util.collections.ListUtil.Filter;
import org.mockito.invocation.Invocatio... |
package algs.example.chapter7.fifteenSolitaire;
import java.util.Iterator;
import algs.example.chapter7.fifteenSolitaire.ordered.OrderMoves;
import algs.model.list.DoubleLinkedList;
import algs.model.searchtree.DepthFirstSearch;
import algs.model.searchtree.IMove;
import algs.model.searchtree.Solution;
/**
* Show s... |
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package org.apache.http.impl.entity;
import org.apache.http.Header;
import org.apache.http.HttpException;
import org.apache.http.HttpMessage;
import org.apache.http.HttpVersion;
import org.apache.http.ProtocolException;
import org.apache.http.annotation.Contract;
import org.apache.http.annotation.ThreadingBehavior;
im... |
/*
* Copyright (C) 2013 ZeroTurnaround <support@zeroturnaround.com>
* Contains fragments of code from Apache Commons Exec, rights owned
* by Apache Software Foundation (ASF).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Y... |
package org.docksidestage.app.web.purchase;
import javax.validation.constraints.Min;
import org.lastaflute.web.validation.Required;
/**
* @author iwamatsu0430
* @author jflute
*/
public class PurchaseProductBody {
@Required
public Integer productId;
@Required
@Min(1)
public Integer purchaseC... |
package com.competition.common.constant;
/**
* 代码生成通用常量
*
* @author competition
*/
public class GenConstants
{
/** 单表(增删改查) */
public static final String TPL_CRUD = "crud";
/** 树表(增删改查) */
public static final String TPL_TREE = "tree";
/** 主子表(增删改查) */
public static final String TPL_SUB =... |
/*
* 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 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 ... |
/*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.operator.cluster.model;
import io.fabric8.kubernetes.api.model.VolumeMount;
import io.strimzi.api.kafka.model.CertAndKeySecretSource;
import io.strimzi.api.kafka... |
/*******************************************************************************
* Copyright 2017 Capital One Services, LLC and Bitwise, 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... |
package com.shop.security.handler;
import cn.hutool.core.util.CharsetUtil;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.http.MediaType;
... |
package com.github.mikephil.charting.charts;
import android.content.Context;
import android.util.AttributeSet;
import com.github.mikephil.charting.data.BarData;
import com.github.mikephil.charting.data.BubbleData;
import com.github.mikephil.charting.data.BubbleDataSet;
import com.github.mikephil.charting.data.CandleD... |
/*
* Kodkod -- Copyright (c) 2005-present, Emina Torlak
*
* 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, mo... |
/*
Copyright (c) 2014 Ahomé Innovation Technologies. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applic... |
/*
* 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 UIDogSchool;
import DogSchool.DogSchool;
import DogSchool.Dueno;
import DogSchool.Perro;
import java.util.Scanner;
/**
*
*... |
package me.mindlessly.notenoughcoins.events;
import me.mindlessly.notenoughcoins.Main;
import me.mindlessly.notenoughcoins.commands.subcommands.Toggle;
import me.mindlessly.notenoughcoins.config.Config;
import me.mindlessly.notenoughcoins.utils.Utils;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
i... |
package com.tenable.io.api.exports.models;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.util.Map;
/**
* Copyright (c) 2018 Tenable Network Security, Inc.
*/
public class VulnsExportRequest {
private int numAssets;
private VulnsExport... |
/*
* Copyright 2017-present Open Networking Foundation
*
* 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 appli... |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2016 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... |
/**
* Copyright 2012 GroupDocs.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package com.chikeandroid.debtmanager.features.persondetail;
import android.content.Context;
import android.content.Intent;
import android.support.v4.app.Fragment;
import com.chikeandroid.debtmanager.base.SingleFragmentActivity;
import com.chikeandroid.debtmanager.data.Person;
/**
* Created by Chike on 4/20/2017.
*... |
/*******************************************************************************
* Copyright (c) 2012 GigaSpaces Technologies Ltd. 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 L... |
/**
* Copyright 2013. All rights reserved by AdvocatesOnline.
* Do not copy or try to reproduce the source file.
* Please write to admin@advocatesonline.com for any communications.
*/
/**
* @author sankulka
*
*/
package com.advocatesOnline.advocate.enums; |
import javax.swing.JFrame;
import java.awt.Canvas;
import java.awt.Graphics;
import java.awt.image.BufferStrategy;
class Main {
JFrame frame = new JFrame("Simple 3D");
Canvas canvas = new Canvas();
Game game;
boolean running = true;
public static void main(final String[] args) {
new Main();
}
Main() {
f... |
/*
* 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... |
package ru.byprogminer.Lab7_Programming.views;
import ru.byprogminer.Lab3_Programming.LivingObject;
import ru.byprogminer.Lab7_Programming.View;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedList;
public class ShowView extends View {
public final Col... |
package olx.agents.strategies.offer;
import olx.agents.Seller;
import olx.models.OfferInfo;
import olx.models.SellerOfferInfo;
public class RelativeTFTOfferStrategy extends OfferStrategy {
private static final long serialVersionUID = 1L;
@Override
public float chooseOffer(OfferInfo currentOffer, OfferInf... |
/*
* Copyright 2017-2018 Eficode Oy
* Copyright 2018- Robot Framework Foundation
*
* 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... |
package org.jesperancinha.java11.inner.outer;
import org.jesperancinha.java11.inner.outer.canada.Dates;
import org.jesperancinha.java11.inner.outer.canada.PublicDates;
public class InnerOuterRunner {
public static void main(String[] args) {
SledgeHammer sledgeHammer = new SledgeHammer();
SledgeHa... |
package cc.mrbird.febs.drg.service.impl;
import cc.mrbird.febs.com.controller.DataTypeHelpers;
import cc.mrbird.febs.com.entity.ComFile;
import cc.mrbird.febs.com.service.IComFileService;
import cc.mrbird.febs.common.domain.QueryRequest;
import cc.mrbird.febs.common.properties.FebsProperties;
import cc.mrbird.febs.com... |
/**
* Copyright 2018 人人开源 http://www.renren.io
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by appli... |
package com.gitee.myclouds.system.common;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import com.gitee.myclouds.base.interceptor.GeneralCrossOriginI... |
package com.cyrillemartraire.monoids;
import static org.junit.Assert.assertEquals;
import java.util.HashMap;
import java.util.Map;
import org.junit.Test;
public class MonoidMapTest {
@Test
public void equals() throws Exception {
final MonoidMap config = config1();
assertEquals(config, config);
}
@Test
pu... |
/*
* Copyright 2011-2021 GatlingCorp (https://gatling.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 required by appli... |
/*
* 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... |
/* TallerTower: An RPG
Copyright (C) 2011-2012 Eric Ahnell
Any questions should be directed to the author via email at: products@puttysoftware.com
*/
package com.puttysoftware.tallertower.items;
class ItemUseQuantity {
// Fields
private final Item item;
private int uses;
private int quantity;
/... |
package es.sacyl.gsa.inform.ui.recursos;
import com.vaadin.flow.component.Html;
import com.vaadin.flow.component.combobox.ComboBox;
import com.vaadin.flow.component.formlayout.FormLayout;
import com.vaadin.flow.component.grid.GridVariant;
import com.vaadin.flow.component.notification.Notification;
import com.vaadin.fl... |
package com.spring.app.controller;
import java.util.Arrays;
import java.util.List;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.spring.app.model.Customer;
@RestController... |
/*
* 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.my.test;
import com.my.app.APPConfig;
import com.my.services.TestService;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
/**
* @Author: huzp
* @Description:
* @Date: Created in 17:04 2020/10/12
* @param:
*/
public class CircularReferencesTest {
public static void ... |
/*
* nimbus-jose-jwt
*
* Copyright 2012-2016, Connect2id Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package chengweiou.universe.andromeda.model;
import chengweiou.universe.blackhole.model.RestCode;
public enum ProjectRestCode implements RestCode {
USERNAME_PASSWORD_MISMATCH, ACCOUNT_INACTIVE,
TWOFA_WAITING, TWOFA_CODE_NOT_MATCH, TWOFA_EXPIRED,
PHONE_MSG_TOO_MANY, CODE_EXPIRED, CODE_NOT_MATCH, ACCOUNT_NO... |
/*
* Copyright 2012-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... |
/*
Copyright (C) GridGain Systems. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... |
/*
* Copyright 2010-2013 Ning, Inc.
* Copyright 2014 Groupon, Inc
* Copyright 2014 The Billing Project, LLC
*
* The Billing Project 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 L... |
/*
* 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 ... |
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.egeria.connectors.ibm.igc.clientlibrary.model.generated.v11501;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonTypeName;
import javax.annotation... |
/*
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.16.5
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do no... |
package jetbrains.mps.idea.java.psi.impl;
import com.intellij.psi.PsiArrayType;
import com.intellij.psi.PsiEllipsisType;
import com.intellij.psi.PsiManager;
import com.intellij.psi.PsiType;
import jetbrains.mps.idea.core.psi.impl.MPSPsiNode;
import org.jetbrains.mps.openapi.model.SNodeId;
/**
* danilla 7/17/13
*/
... |
package modules.bindings;
/**
* Eager singletons reveal initialization problems sooner, and ensure end-users get a consistent, snappy experience.
* <p>
*/
public interface EagerBindings {
} |
/**
*
* Copyright (C) 2010 Cloud Conscious, LLC. <info@cloudconscious.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 L... |
package com.platform.controller;
import java.util.List;
import java.util.Map;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.Request... |
/**
* Copyright 2015 Palantir Technologies, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Nov 27 14:17:00 GMT 2020
*/
package umd.cs.shop;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import o... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/*
* Copyright (C) 2011 aki@akjava.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 ag... |
package com.fxb.learn.eurekaclient;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.clou... |
// Targeted by JavaCPP version 1.5-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.llvm.LLVM;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.llvm.global.LLVM.*;
/** opaque reference to a code generator */
@Name("LLVMOpaqueLTOCodeGenerator... |
package org.jboss.resteasy.reactive.server.vertx.test.multipart.other;
import javax.ws.rs.core.MediaType;
import org.jboss.resteasy.reactive.PartType;
import org.jboss.resteasy.reactive.RestForm;
public class OtherPackageFormDataBase {
@RestForm
@PartType(MediaType.TEXT_PLAIN)
private int num;
publi... |
/*
* Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package lib;
import java.util.ArrayList;
@SuppressWarnings("unused")
public class Training {
/* TRAINING VARIABLES */
// Training Algorithms Array:
private ArrayList<Algorithm> algorithms = new ArrayList<Algorithm>();
private int loops = 0;
private double mutationMin = 0, mutationMax = 2;
/* TRAINING ME... |
/**
* Copyright (c) 2016 Jon Cooper
*
* This file is part of java-platformer.
* Documentation, related files, and licensing can be found at
*
* <https://github.com/joncoop/java-platformer>.
*/
import java.awt.image.BufferedImage;
import java.util.List;
import java.util.ArrayList;
public class Monster e... |
/*
* Copyright 2007 The JA-SIG Collaborative. All rights reserved. See license
* distributed with this file and available online at
* http://www.ja-sig.org/products/cas/overview/license/
*/
package org.jasig.cas.adaptors.x509.authentication.principal;
import java.security.cert.X509Certificate;
/**
* Returns a ne... |
class Solution {
public String countAndSay(int n) {
String s="1";
for(int i = 1; i < n; i++){
s = countIdx(s);
}
return s;
}
public String countIdx(String s){
StringBuilder sb = new StringBuilder();
char c = s.charAt(0);
int count = 1;
... |
/* $Id$
*
* 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"); ... |
/*
* Copyright 2020 Web3 Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
package com.semmle.jcorn;
import com.semmle.jcorn.TokenType.Properties;
import com.semmle.jcorn.jsx.JSXParser;
import com.semmle.js.ast.BindExpression;
import com.semmle.js.ast.BlockStatement;
import com.semmle.js.ast.CatchClause;
import com.semmle.js.ast.ClassDeclaration;
import com.semmle.js.ast.ClassExpression;
imp... |
/**
* Copyright (c) 2016-2019 人人开源 All rights reserved.
*
* https://www.renren.io
*
* 版权所有,侵权必究!
*/
package com.bupt.common.utils;
/**
* 七牛
*
* @author Mark sunlightcs@gmail.com
*/
public interface QiniuGroup {
} |
/**
*
* These tests needs to be run manually. Not executed automatically. <br>
* They are mainly for GUI visual check.
*
* @author Gabor Pinter
*
*/
package info.pinlab.ttada.view.swing.manual; |
// Copyright 2021 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... |
/*******************************************************************************
* BSD License
*
* Copyright (c) 2017, AT&T Intellectual Property. All other rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the foll... |
/*
* PROJECT LICENSE
*
* This project was submitted by Janas Chatkevicius as part of the Nanodegree At Udacity.
*
* As part of Udacity Honor code, your submissions must be your own work, hence
* submitting this project as yours will cause you to break the Udacity Honor Code
* and the suspension of your account.
... |
package com.elmakers.mine.bukkit.action;
import static com.google.common.base.Verify.verifyNotNull;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util... |
/*
* 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 pl.edu.agh.papaya.security;
public class UserNotAuthorizedException extends RuntimeException {
} |
/*
* 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... |
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package net.minecraft.block;
import java.util.Random;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyDirection;
import net.minecraft.block.state.BlockState;
import net.minecraft.block.state.IBlockState;
import net.minecraft.e... |
package com.github.jrcodeza.schema.v2.generator.util;
import java.lang.reflect.AnnotatedElement;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import com.github.jrcodeza.OpenApiIgnore;
public final class GeneratorUtils {
private GeneratorUtils() {
throw new AssertionError();
}
public stat... |
/*
* 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 ... |
// Autogenerated by metajava.py.
// Do not edit this file directly.
// The template for this file is located at:
// ../../../../../../../../templates/Enum.java
package com.rethinkdb.gen.proto;
import org.jetbrains.annotations.Nullable;
public enum Version {
V0_1(1063369270),
V0_2(1915781601),
V0_3(16015... |
package com.speedment.example.domainmodel.sakila.sakila.sakila.customer_list;
import com.speedment.example.domainmodel.sakila.sakila.sakila.customer_list.generated.GeneratedCustomerList;
/**
* The main interface for entities of the {@code customer_list}-table in the
* database.
* <p>
* This file is safe to edit. ... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 com.coolweather.android.gson;
import com.google.gson.annotations.SerializedName;
/**
* Created by HJT on 2017/11/2.
*/
public class Now {
@SerializedName("tmp")
public String temperature;
@SerializedName("cond")
public More more;
public class More {
@SerializedName("txt")
... |
/*
* 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 kr.co.programmers;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
/**
* https://programmers.co.kr/learn/courses/30/lessons/12921
*/
public class P12921Test {
private P12921 p = new P12921();
@Test
public void example01() {
assertEquals(4... |
/*
* #%L
* wcm.io
* %%
* Copyright (C) 2018 wcm.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 required by ap... |
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// This file is a part of the 'esoco-lib' project.
// Copyright 2018 Elmar Sonnenschein, esoco GmbH, Flensburg, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance w... |
/*-
* Copyright (C) 2002, 2017, Oracle and/or its affiliates. All rights reserved.
*
* This file was distributed by Oracle as part of a version of Oracle Berkeley
* DB Java Edition made available at:
*
* http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html
*
* Please ... |
package pp.block3.cc.symbol;
import org.omg.SendingContext.RunTime;
import java.util.*;
public class MySymbolTable implements SymbolTable {
private Deque<Set<String>> queue;
public MySymbolTable() {
this.queue = new ArrayDeque<>();
openScope();
}
@Override
public void openScope(... |
/*
* 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 tech.qi.deepinfo.frame.module.spider;
import com.alibaba.fastjson.JSONObject;
import us.codecraft.webmagic.Request;
/**
* @author qiwang
*
* 用于定义初始化的任务入口,在这个入口执行完成之后会生成其他任务。
* 例如给定一个入口页,然后解析出子任务的URL。
* 又如给定一个ID列表,生成需要抓取的一系列子任务。
*
* 这个任务本身可能是需要周期性执行的。
* 如果是周期性任务,需要从DB中重建这个Reqeust。
*/
public class Batc... |
/*-
* #%L
* anchor-image
* %%
* Copyright (C) 2010 - 2020 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche
* %%
* 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 fr.qp1c.ebdj.liseuse.moteur.loader;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import fr.qp1c.ebdj.liseuse.bdd.dao.impl.DBConnecteurNPGDaoImpl;
import fr.qp1c.ebdj.liseuse.commun.bean.question.QuestionNPG;
public class LoaderQuestion9PG {
/**
* Default logger.
... |
package com.example.examplemod;
import com.example.examplemod.items.CustomFishingRod;
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.Item.Properties;
import net.minecraftforge.fmllegacy.RegistryObject;
import net.minecraftforge.registries.Deferre... |
/**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... |
package org.imsglobal.lti.launch;
import org.apache.http.HttpRequest;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.methods.HttpPut;
import org.junit.Test;
import static org.junit.Assert.*;
import java.net.URI;
/**
* @author Paul Gray
... |
package teste.app.com.navigationdrawerapp;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute ... |
package com.spotify.heroic.metadata;
import com.google.common.collect.ImmutableList;
import com.spotify.heroic.AbstractReducedResultTest;
import com.spotify.heroic.test.LombokDataTest;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class CountSeriesTest extends Ab... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.