text stringlengths 7 995k |
|---|
/**
* Licensed to Ravel, Inc. under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Ravel, Inc. licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this fil... |
package org.canova.image.recordreader;
import org.canova.api.split.FileSplit;
import org.canova.api.split.InputSplit;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.apache.commons.io.LineIterator;
import org.canova.api.conf.Configuration;
import org.canova.api.records.reader... |
/**
* MIT License
*
* Copyright (c) 2018 Cybozu
* https://github.com/kintone/kintone-java-sdk/blob/master/LICENSE
*/
package com.cybozu.kintone.client.model.app.form.field;
import java.util.HashMap;
import java.util.Map;
import com.cybozu.kintone.client.model.app.form.FieldType;
import com.cybozu.kintone.client... |
/*
* Copyright 2008-present MongoDB, 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 ag... |
// 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/*
* ----------------------------------------
* Jenkins Test Tracker
* ----------------------------------------
* Produced by Dan Grew
* 2016
* ----------------------------------------
*/
package uk.dangrew.jtt.model.storage.database;
import static org.hamcrest.Matchers.notNull... |
/**
* Copyright (c) 2008-2018, Massachusetts Institute of Technology (MIT)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyri... |
package com.ctrip.framework.apollo.spi;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsInstanceOf.instanceOf;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertThat;
import static org.mockito.Mockito.doReturn;
import s... |
/*
* Copyright (C) 2019 Everwin (www.everwin.fr)
*
* 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 applicabl... |
/**
* Copyright 2009-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
package com.daq.gulimall.member.dao;
import com.daq.gulimall.member.entity.IntegrationChangeHistoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 积分变化历史记录
*
* @author daiaoqi
* @email daiaoqi686@gmail.com
* @date 2021-06-06 14:54:31
*/
@Mapper... |
package com.zhang.libweb.web.book;
import com.zhang.libweb.constants.ResultDTO;
import com.zhang.libweb.enums.HttpCode;
import com.zhang.libweb.model.book.BookClassDTO;
import com.zhang.libweb.service.book.BookClassService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.fact... |
package com.jailmango.concurrence.exercise;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
/**
* PrintOrdered
*
* @author jailmango
* @CreateDate 2022/3/9
* @see com.jailmango.concurrence.exercise
*/
public class PrintOrdered... |
package com.fly.admin;
import de.codecentric.boot.admin.config.EnableAdminServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.Enabl... |
/*
* 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... |
/**
* The MIT License
* Copyright (c) 2015 Estonian Information System Authority (RIA), Population Register Centre (VRK)
*
* 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 restri... |
package org.omg.PortableServer;
/**
* org/omg/PortableServer/ServantRetentionPolicyValue.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u152/9742/corba/src/share/classes/org/omg/PortableServer/poa.idl
* Thursday, September 14, 2017 2:... |
package com.github.imdabigboss.superchatroom.connector;
public interface Player {
String getName();
String getDisplayName();
boolean isOnline();
default void sendMessage(String[] messages) {
for (String message : messages) {
sendMessage(message);
}
}
void sendMessage(String message);
... |
/*
* Copyright (c) 2019, FusionAuth, 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 appli... |
package org.metaborg.spoofax.core.stratego.primitive.nabl2;
import org.metaborg.spoofax.core.config.ISpoofaxProjectConfigService;
import org.spoofax.interpreter.terms.IStrategoTerm;
import com.google.inject.Inject;
import mb.nabl2.config.NaBL2Config;
public class SG_is_debug_collection_enabled extends ScopeGraphCon... |
/*
* Copyright 2019 Bunjlabs
*
* 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 writ... |
package dta.chat.view.console;
import dta.chat.model.ChatMessage;
import dta.chat.model.observer.ChatObservable;
public class ChatConsoleTitleView extends ViewComposite {
@Override
public void print() {
System.out.println("= CHAT APP =");
}
@Override
public void update(ChatObservable<ChatMessage> obs, ChatMes... |
/*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,... |
package com.wanglj.androidarchitecture.data.remote;
/**
* Created by wanglj on 16/7/4.
*/
public interface SimpleCallback<T> {
void onStart();
void onNext(T t);
void onComplete();
} |
package com.example.springboot;
import java.util.Arrays;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
@SpringBootApplication
public clas... |
package com.khmelenko.lab.varis.dagger.module;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.khmelenko.lab.varis.log.LogsParser;
import com.khmelenko.lab.varis.network.retrofit.ItemTypeAdapterFactory;
import com.khmelenko.lab.varis.network.retrofit.github.GitHubRestClient;
import com.khme... |
/*
* Copyright (C) 2015-2021 52°North Spatial Information Research GmbH
*
* 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 r... |
package com.example.university;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.drawable.AnimationDrawable;
import android.os.B... |
/*
* 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")... |
/*
* 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 br.com.zupacademy.cintia.proposta.carteira.enumzin;
public enum CarteiraEnum {
PAYPAL, SAMSUNG_PAY
} |
package duelistmod.cards.metronomes.typed;
import java.util.ArrayList;
import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.core.CardCrawlGame;
import com.megacrit.cardcrawl.localization.CardStrings;
import com.megacrit.cardcrawl.mons... |
package com.yang.gulimall.product.service.impl;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.... |
/**
* Copyright (c) 2013-2022 Contributors to the Eclipse Foundation
*
* <p> See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Versio... |
package com.jpbnetsoftware.homebudget.tests;
import com.jpbnetsoftware.homebudget.data.HibernateRepository;
import com.jpbnetsoftware.homebudget.data.OperationsRepository;
import com.jpbnetsoftware.homebudget.data.entities.DbBankOperation;
import com.jpbnetsoftware.homebudget.domain.BankOperation;
import com.jpbnetsof... |
/*
* 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.geekdigging.chap4;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.stream.Collectors;
public class StreamBasic {
public static void main(String[] args) {
// Java 7
getLowCaloricDishesNamesInJava7(Dish.menu)... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: dog_proto.proto
public final class DogProto {
private DogProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registry.add(Dog.animal);
}
public interface DogOrBuilder
extend... |
/*
* Copyright 2017-2022 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... |
/*
* Password Management Servlets (PWM)
* http://www.pwm-project.org
*
* Copyright (c) 2006-2009 Novell, Inc.
* Copyright (c) 2009-2020 The PWM 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 ... |
package module420packageJava0;
import java.lang.Integer;
public class Foo227 {
Integer int0;
Integer int1;
public void foo0() {
new module420packageJava0.Foo226().foo5();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public v... |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package cn.eud.stu.order.domain;
import cn.eud.stu.book.domain.Book;
/**
* 订单条目实体类
*/
public class OrderItem {
private String iid;//条目id
private int count;//图书数量
private double subtotal;//条目金额小计
private Order order;//关联订单
private Book book;//包含图书
public String getIid() {
return ii... |
/*
* MIT License
*
* Copyright (c) 2021 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... |
package com.mrbonono63.create.content.contraptions.components.millstone;
import com.simibubi.create.AllBlockPartials;
import com.simibubi.create.CreateClient;
import com.mrbonono63.create.content.contraptions.base.KineticTileEntity;
import com.mrbonono63.create.content.contraptions.base.KineticTileEntityRenderer;
impo... |
package com.newnius.code4hadoop.pagerank;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
import java.io.IOException;
/**
* Created by newnius on 8/18/17.
*
*/
public class MapperCal extends Mapper<Object, Text, Text, Text> {
@Override
protected void map(Object key, Text value... |
package seedu.travel.commons.util;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import java.nio.file.Path;
import org.junit.Test;
import seedu.travel.testutil.SerializableTestClass;
import seedu.travel.testutil.TestUtil;
/**
* Tests JSON Read and Write
*/
public class JsonUtilTest {
... |
/**
* 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.network.v2018_06_01.implementation;
import com.m... |
package com.example.sean.coolweather.gson;
public class Aqi {
public AqiCity city;
public class AqiCity{
public String aqi;
public String pm25;
}
} |
/*
* 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... |
/*
* Copyright 2014 Higher Frequency Trading
*
* http://chronicle.software
*
* 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... |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/*
* Copyright © 2017-2018 Harvard Pilgrim Health Care Institute (HPHCI) and its Contributors.
* 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 limit... |
package com.nimbusds.oauth2.sdk;
import java.util.LinkedHashMap;
import java.util.Map;
import net.jcip.annotations.Immutable;
/**
* Client credentials grant. Used in access token requests where the client is
* acting on its own behalf.
*
* <p>Related specifications:
*
* <ul>
* <li>OAuth 2.0 (RFC 6749), ... |
// @desc-start
// Given a binary tree, determine if it is height-balanced.
// For this problem, a height-balanced binary tree is defined as:
//
// a binary tree in which the left and right subtrees of every node differ in height by no more than 1.
//
//
// Example 1:
//
//
// Input: root = [3,9,20,null,null,15,7]... |
package org.appcelerator.titanium.view;
import org.appcelerator.titanium.TiC;
import org.appcelerator.titanium.proxy.TiViewProxy;
import org.appcelerator.titanium.util.TiConvert;
import android.app.Activity;
import android.os.Handler;
import android.os.Message;
import androidx.fragment.app.Fragment;
import androidx.f... |
/**
* Copyright © 2012-2014 <a href="http://www.kszhineng.cn">OA</a> All rights reserved.
*/
package com.szcxsl.oa.common.persistence.dialect.db;
import com.szcxsl.oa.common.persistence.dialect.Dialect;
/**
* Sybase数据库分页方言实现。
* 还未实现
*
* @author poplar.yfyang
* @version 1.0 2010-10-10 下午12:31
* @since JDK... |
package quickdocs.logic.parser;
import quickdocs.logic.commands.Command;
import quickdocs.logic.parser.exceptions.ParseException;
/**
* Represents a Parser that is able to parse user input into a {@code Command} of type {@code T}.
*/
public interface Parser<T extends Command> {
/**
* Parses {@code userInp... |
/*
* Units of Measurement Reference Implementation
* Copyright (c) 2005-2019, Units of Measurement project.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of sou... |
package com.speedment.example.solution;
import com.speedment.example.unit.Unit3Terminal;
import org.junit.jupiter.api.*;
import java.util.*;
import java.util.function.Function;
import java.util.stream.Stream;
import static com.speedment.example.solution.TestUtil.tester;
import static java.util.stream.Collectors.*;
... |
package jp.aegif.android.cmis;
import java.io.File;
import jp.aegif.android.cmis.utils.ActionUtils;
import android.app.Activity;
import android.os.Bundle;
public class OpenFileActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInsta... |
/*
* Copyright 2018 Lithium Technologies Pvt 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 ... |
package com.mmall.service.impl;
import com.alipay.api.AlipayResponse;
import com.alipay.api.response.AlipayTradePrecreateResponse;
import com.alipay.demo.trade.config.Configs;
import com.alipay.demo.trade.model.ExtendParams;
import com.alipay.demo.trade.model.GoodsDetail;
import com.alipay.demo.trade.model.builder.Ali... |
package com.serenegiant.usb.common;
/*
* libcommon
* utility/helper classes for myself
*
* Copyright (c) 2014-2018 saki t_saki@serenegiant.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 Li... |
package com.mpp.model.entity;
/**
* Created by pp on 2015/5/13.
*/
public class CourseDisplayInfoBean {
private String courseName;
private String teacherName;
private String labName;
private int beginWeek;
private int endWeek;
private int dayOfWeek;
private int orders;
private int use... |
/*
* Copyright (c) 2002-2014 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.microsoft.speech.ttssdk;
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 on an ... |
/*
* Copyright 2013 Google Inc.
* Copyright 2014 Andreas Schildbach
*
* 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... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2020 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... |
package de.bogenliga.application.services.common.errorhandling;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org... |
package com.davidgjm.oss.wechat.wxuserinfo;
import com.davidgjm.oss.wechat.crypto.WxEncryptedData;
public interface WxUserInfoService {
WxUserInfo save(String skey, WxEncryptedData encryptedUserInfos);
} |
package com.bitdubai.fermat_ccp_plugin.layer.actor.extra_user.developer.bitdubai.version_1.exceptions;
import com.bitdubai.fermat_api.FermatException;
/**
* The Class <code>package CantLoadPrivateKeyException</code>
* is thrown when i cant load the private key.
* <p/>
*
* Created by Leon Acosta - (laion.cj91@gma... |
/*
* AP(r) Computer Science GridWorld Case Study:
* Copyright(c) 2005-2006 Cay S. Horstmann (http://horstmann.com)
*
* This code is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation.
*
* This code is distri... |
/*
* Copyright 2016 Google 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 by a... |
/*
* Copyright 2016 James Bacon
*
* 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) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.monitor.implementation;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.monitor.MonitorManager;
import com.azure.resourcemanager.monitor.models.AutoscaleN... |
/*
* Copyright 2012 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 applica... |
/*
* 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.opencdk.cache;
/**
* 稳定的缓存, 数据不会主动释放, 由调用者自行维护数据的生命周期.
*
* @author 笨鸟不乖
* @email benniaobuguai@gmail.com
* @version 1.0.0
* @since 2015-4-28
* @Modify 2015-4-28
*/
public class StableCache
{
} |
/*
* 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 game.item;
import util.BmpRes;
import static util.MathUtil.*;
import static java.lang.Math.*;
import game.entity.*;
public class RPG_Empty extends RPGItem{
private static final long serialVersionUID=1844677L;
static BmpRes bmp=new BmpRes("Item/RPG_Empty");
@Override
protected Entity toEnt(){
return new ... |
package com.codekutter.r2db.driver;
/**
* Interface to be implemented for defining entities that can be sharded.
*
* @param <K> - Entity Key type
* @param <S> - Shard Key type
*/
public interface IShardedEntity<K, S> extends IEntity<K> {
/**
* Get the shard key for this entity instance.
*
* @re... |
package org.telegram.api.input.phonecall;
import org.telegram.tl.StreamingUtils;
import org.telegram.tl.TLContext;
import org.telegram.tl.TLObject;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
/**
* @author Ruben Bermudez
* @version 1.0
*/
public class TLInputPhoneCall exte... |
package ru.stqa.selenium.SeleniumTestPackage;
import org.junit.ClassRule;
import org.junit.Rule;
import org.junit.rules.ExternalResource;
import org.junit.rules.RuleChain;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.support.ui.WebDriverWait;
import ru.stqa.selenium.BaseFeatures.Un... |
/*
* 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 2016-2021 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 club.euphoria_recruiting.handler;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.annotations.VisibleForTesting;
import com.spotify.apollo.RequestContext;
import com.spotify.apollo.Response;
import com.spotify.apollo.route.*;
import club.euphoria_recruiting.model.Application;
impor... |
/*
* Copyright 2017-2021 original 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 applicable law or agr... |
package org.primordion.user.app.climatechange.mdcs.m2_2mp;
import org.primordion.xholon.base.IXholon;
public class RobinsonViewable extends Xhmdcs {
private String xpathExpr = null;
private IXholon node = null;
private double secondsPerTimeStep = 0.0;
public String getVal_String() {
return xpathExpr;
}
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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package io.sufeng.context.domain.service.impl;
import io.sufeng.context.domain.service.ConversationService;
import io.sufeng.context.domain.service.OssObjectServie;
import io.sufeng.context.domain.service.PeopleService;
import java.util.ArrayList;
import java.util.Date;
import io.sufeng.common.exception.BusinessExcep... |
package com.objectia.models;
import com.google.gson.annotations.SerializedName;
/**
* IPLocation model.
*/
public class IPLocation {
@SerializedName("ip")
private final String ipAddress = null;
@SerializedName("type")
private final String type = null; // ipv4 or ipv6
@Serialize... |
package refdiff.parsers.java;
import java.util.Iterator;
import java.util.List;
import org.eclipse.jdt.core.dom.ASTNode;
import org.eclipse.jdt.core.dom.ASTVisitor;
import org.eclipse.jdt.core.dom.Block;
import org.eclipse.jdt.core.dom.IMethodBinding;
import org.eclipse.jdt.core.dom.ITypeBinding;
import org.eclipse.j... |
/*******************************************************************************
* Copyright 2018, 2020 Jorel Ali (Skepter) - MIT License
*
* 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 Softwar... |
/**
* 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 net.fewald.jfeedreader;
import java.util.HashSet;
import java.util.List;
import java.util.TimerTask;
import java.util.concurrent.Semaphore;
import java.util.logging.Logger;
/**
* @author Friedrich Ewald
*/
public class FeedTimerTask extends TimerTask {
/**
* The feed to load
*/
private L... |
// Test case for eisop Issue 22:
// https://github.com/eisop/checker-framework/issues/22
import org.checkerframework.checker.index.qual.IndexOrHigh;
import org.checkerframework.common.value.qual.MinLen;
abstract class PlumeFailMin {
void ok() {
String @MinLen(1) [] args = getArrayOk();
@IndexOrHig... |
package cn.tucci.sso.server.service;
import java.io.InputStream;
import java.util.UUID;
/**
* File System 文件系统操作
*
* @author tucci.lee
*/
public interface FsService {
/**
* 头像存储前缀
*/
String AVATAR = "profile/avatar/";
/**
* 获取存储key
*
* @param prefix 前缀
* @param fileNa... |
package com.liquidlabs.transport.proxy.clientHandlers;
import com.liquidlabs.common.net.URI;
import com.liquidlabs.transport.proxy.ProxyCaller;
import com.liquidlabs.transport.proxy.ProxyClient;
import com.liquidlabs.transport.proxy.RetryInvocationException;
import com.liquidlabs.transport.proxy.addressing.AddressHand... |
package me.virustotal.cmddeath;
import org.bukkit.Bukkit;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.PlayerDeathEvent;
public class DeathListener implements Listener {
private CmdDeath plugin;
public DeathListener(CmdDeath plugin)
{
this.plugin = plugi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.