text stringlengths 7 1.01M |
|---|
/**
*
* Copyright 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 applicable... |
/*****************************************************************
* 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
* ... |
package io.datatok.djobi.exceptions;
import io.datatok.djobi.engine.stage.Stage;
public class NetworkAccessException extends StageException {
public NetworkAccessException(Stage stage, String message) {
super(stage, message);
}
}
|
package com.face.recognition.websocket;
import java.io.IOException;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import javax.websocket.OnClose;
import javax.websocket.OnError;
import javax.websocket.OnMessage;
import javax.websocket.OnOpen;
import javax.websocket.Session;
import java... |
/*
* Copyright (c) 2021, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apac... |
package com.nutrymaco.orm.migration;
import com.nutrymaco.orm.config.ConfigurationOwner;
import com.nutrymaco.orm.query.Database;
import com.nutrymaco.orm.query.insert.InsertQueryBuilder;
import com.nutrymaco.orm.schema.Schema;
import com.nutrymaco.orm.schema.db.Table;
import com.nutrymaco.orm.schema.lang.Entity;
impo... |
/**
* 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 "lic... |
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.provision.provisioning;
import com.yahoo.config.provision.Flavor;
import com.yahoo.vespa.hosted.provision.Node;
import java.util.List;
import java.util.Set;
/**
* Service f... |
package org.smicon.rest.emberwiring.general.factories;
public interface FactoryI<I, C>
{
C getConfiguration();
I create();
}
|
package com.easemob.chatuidemo.parse;
import android.content.Context;
import com.easemob.EMValueCallBack;
import com.easemob.chat.EMChatManager;
import com.easemob.chatuidemo.DemoHelper;
import com.easemob.easeui.domain.EaseUser;
import com.easemob.easeui.utils.EaseCommonUtils;
import com.easemob.util.EMLog;
import c... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2016. Diorite (by Bartłomiej Mazur (aka GotoFinal))
*
* 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 withou... |
/*
* Copyright (C) 2015 The Minium 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 applicable law or agr... |
package data.entities;
import data.entities.abstracts.AbstractEntity;
import data.models.Column;
import data.models.CountMethod;
import static data.entities.abstracts.DataType.*;
@SuppressWarnings("all")
public class Company extends AbstractEntity {
Column companyName = of(DESCRIPTION);
Column companyDesc =... |
package top.wilsonlv.jaguar.cloud.handlerlog.client.dto;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.wilsonlv.jaguar.commons.web.base.BaseDTO;
import java.time.LocalDateTime;
/**
* @author lvws
* @since 2021/8/6
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class HandlerLogSaveDTO exten... |
package com.samourai.wallet.home;
import android.Manifest;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.arch.lifecycle.Observer;
import android.arch.lifecycle.ViewModelProviders;
import android.content.BroadcastReceiver;
import android.content.ClipData;... |
package cn.dhbin.minion.upms.model.enums;
import cn.dhbin.minion.core.common.IEnum;
import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
/**
* @author donghaibin
* @date 2020/3/18
*/
@RequiredArgsConstr... |
/*
* Copyright 2011 Google Inc.
* Copyright 2014 Andreas Schildbach
* Copyright 2017 Thomas König
*
* 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/license... |
package net.sourceforge.ondex.parser.biocyc.handler;
import java.util.Set;
import org.biopax.paxtools.model.level2.physicalEntity;
import org.biopax.paxtools.model.level2.protein;
import org.biopax.paxtools.model.level2.smallMolecule;
import net.sourceforge.ondex.core.ConceptClass;
import net.sourceforge.on... |
/*
* Copyright (c) 2011-2013, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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... |
package com.miu360.taxi_check.map;
import java.util.ArrayList;
import java.util.List;
import com.baidu.location.BDLocation;
import com.baidu.mapapi.map.BaiduMap;
import com.baidu.mapapi.map.BitmapDescriptor;
import com.baidu.mapapi.map.BitmapDescriptorFactory;
import com.baidu.mapapi.map.MapStatusUpdateFactory;
impor... |
package binaryTree;
public class BT_Problem_08_b {
// Root of Binary Tree
Node root;
// Constructor
BT_Problem_08_b(){
root = null;
}
// Given a binary tree, print its nodes according to the "bottom-up" post-order traversal.
void printPostorder(Node node) {
//base case
if(node == null)
return... |
package org.linlinjava.litemall.core;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.linlinjava.litemall.core.storage.LocalStorage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfr... |
/**
*/
package com.zipc.garden.model.bp;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '<em><b>Event</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link com.zipc.garden.model.bp.BPEvent#getName <em>... |
/*******************************************************************************
* Copyright (c) 2017 Intuit
*
* 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/... |
package Problem_1229;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
public class Solution {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader br = new Buffered... |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.crypto;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.spi.Configure... |
package org.apache.ctakes.gui.dictionary.umls;
import org.apache.log4j.Logger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* Author: SPF
* Affiliation: CHIP-NLP
* Date: 9/5/2014
*/
public enum CuiCodeUtil {
INSTANCE;
static public CuiCodeUtil getInstan... |
/*
* Copyright (c) 2003-2019 Broad Institute, Inc., Massachusetts Institute of Technology, and Regents of the University of California. All rights reserved.
*/
package edu.mit.broad.genome.objects;
import edu.mit.broad.genome.math.*;
import edu.mit.broad.genome.math.ColorSchemes.ColorScheme;
import java.awt.*;
/*... |
package com.atguigu.gmall.oms.mapper;
import com.atguigu.gmall.oms.entity.OrderReturnReasonEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 退货原因
*
* @author GuanFuQing
* @email moumouguan@gmail.com
* @date 2021-12-20 21:59:57
*/
@Mapper
public i... |
package zhou.demo;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
import android.widget.Toast;
import com.zzhoujay.richtext.ImageHolder;
import com.zzhoujay.richtext.RichT... |
package com.soccer.scores.network;
import com.soccer.scores.network.datamodel.Matches;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import retrofit2.http.Url;
public interface IClient {
@GET("/v2/matches")
Call<Matches> getMatchesList(@Query("dateFrom") String dateFrom, @Qu... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.ontotext.trree.plugin.proof;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import org.eclipse.rdf4j.model.Value;
import org.eclipse.rdf4j... |
/**
* File Name: AbstractTask.java
* Date: 2019-06-13 10:14:46
*/
package me.belucky.easytool.task;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import me.belucky.easytool.util.CacheUtils;
/**
* 功能说明:任务抽象处理类
* @author shenzl
* @date 2019-06-13
* @version 1.0
*/
public abstract c... |
package com.prowidesoftware.swift.model.mx.dic;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang... |
package ru.stqa.pft.mantis.tests;
import org.testng.annotations.Test;
import ru.stqa.pft.mantis.Model.Issue;
import ru.stqa.pft.mantis.Model.Project;
import javax.xml.rpc.ServiceException;
import java.net.MalformedURLException;
import java.rmi.RemoteException;
import java.util.Set;
import static org.testng.Assert.a... |
package ir.taghizadeh.dagger2.activities.tvShowsActivity;
import android.support.v7.widget.RecyclerView;
import android.text.Html;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.squareup.picasso.Picasso;
import ir.taghizadeh.dagger2.R;
import ir.taghizadeh.dagger... |
package com.gildedrose;
import org.junit.Test;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.IntStream;
import static org.junit.Assert.assertEquals;
public class TexttestFixtur... |
/*****************************************************************
* 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
* ... |
package io.onemfive.core;
/**
* TODO: Add Description
*
* @author objectorange
*/
public class ServiceNotFoundException extends OneMFiveException {
}
|
package epilepsy_nitkkr.epilepsypredictor;
import android.util.Log;
import java.util.Date;
import java.util.TimerTask;
public class ScheduledTask extends TimerTask {
private static final String TAG = "My Scheduled Task";
Date now;
public void run() {
this.now = new Date();
Log.d(TAG, "run... |
// HelloMVC: a simple MVC example
// the canvasModel is just a counter
// inspired by code by Joseph Mack, http://www.austintek.com/mvc/
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.Ellipse2D;
import java.awt.geom.Rectangle2D;
import java.util.ArrayList;
import java.util.Obser... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors. All third-party contributions are
* distributed under license by Red Hat Mi... |
/*
* Copyright 2018 ConsenSys AG.
*
* 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 wr... |
/*
* Copyright (c) 2005 - 2015, WSO2 Inc. (http://www.wso2.org) 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 jp.co.tis.action.test;
import javax.inject.Inject;
import java.io.Serializable;
import oscana.s2n.struts.GenericsUtil;
import nablarch.core.db.connection.DbConnectionContext;
import oscana.s2n.common.ParamFilter;
import nablarch.fw.dicontainer.web.RequestScoped;
import nablarch.fw.dicontainer.web.Session... |
/**
*/
package petstore;
import com.microsoft.azure.CloudException;
import com.microsoft.rest.ServiceCall;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceResponse;
import java.io.IOException;
import java.util.List;
import petstore.models.Usage;
/**
* An instance of this class provides ... |
/*
* 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... |
/*
* Copyright 2018 Feedzai
*
* 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... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.sdk.testing.assertj;
import io.opentelemetry.sdk.common.InstrumentationLibraryInfo;
import io.opentelemetry.sdk.metrics.data.DoublePointData;
import io.opentelemetry.sdk.metrics.data.LongPointData;
import io.... |
/*
* 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), 1987-2099, Winter All Rights Reserved.
*/
package com.winterframework.context.weaving;
import com.winterframework.beans.factory.HierarchicalBeanFactory;
import com.winterframework.beans.factory.ListableBeanFactory;
import com.winterframework.context.ApplicationEventPublisher;
import com.winterfra... |
package de.andipopp.poodle.views.vote;
import java.time.Duration;
import java.time.Instant;
import org.jsoup.Jsoup;
import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.Html;
import com.vaadin.flow.component.UI;
import com.vaadin.flow.component.avatar.Avatar;
import com.vaadin.flow.component.... |
// Code generated by lark suite oapi sdk gen
package com.larksuite.oapi.service.sheets.v2.model;
import com.google.gson.annotations.SerializedName;
public class DimensionProperties {
@SerializedName("visible")
private Boolean visible;
@SerializedName("fixedSize")
private Integer fixedSize;
public ... |
package test;
public class dtoMoment {
}
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.insightfullogic.java8.examples.chapter1;
import java.util.List;
import java.util.stream.Collectors;
/**
*
* @author richard
*/
public class Chapter1 extends MusicChapter {
public List<String> getNa... |
/*
* This file is part of TechReborn, licensed under the MIT License (MIT).
*
* Copyright (c) 2020 TechReborn
*
* 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, inc... |
class Test {
void test() {
String block = """<caret>
text""";
}
} |
/*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package de.codingair.tradesystem.spigot.events;
import de.codingair.tradesystem.spigot.trade.Trade;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import org.bukkit.inventory.ItemStack;
import org.jetbrains.annotations.NotNull;
import org.... |
package edu.wzu.steve.trafficanalyser;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.restlet.resource.ResourceException;
import org.restlet.resource.ServerResource;
impor... |
/*
* #%L
* BigDataViewer core classes with minimal dependencies.
* %%
* Copyright (C) 2012 - 2020 BigDataViewer developers.
* %%
* 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 c... |
package com.jnape.palatable.lambda.functor.builtin;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class IdentityTest {
@Test
public void functorProperties() {
assertEquals("FOO", new Identity<>("foo").fmap(String::toUpperCase).runIdentity());
}
} |
package com.blossomproject.ui.current_user;
import com.blossomproject.core.user.UserDTO;
public class UserDTOBuilder {
private String identifier;
private String passwordHash;
public UserDTOBuilder identifier(String identifier) {
this.identifier = identifier;
return this;
}
publi... |
/*
* Wegas
* http://wegas.albasim.ch
*
* Copyright (c) 2013 School of Business and Engineering Vaud, Comem
* Licensed under the MIT License
*/
package com.wegas.app;
import com.wegas.core.Helper;
import com.wegas.core.ejb.GameModelFacade;
import com.wegas.core.ejb.VariableDescriptorFacade;
import com... |
/**
* Automatically generated file. DO NOT MODIFY
*/
package com.incomingcall;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String LIBRARY_PACKAGE_NAME = "com.incomingcall";
public static final String BUILD_TYPE = "debug";
}
|
/*
* Copyright 2018 ImpactDevelopment
*
* 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 (C) 2015 Ayelen Chavez y Joaquín Rinaudo
*
* 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... |
package blocksworld;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
public class Predicate
{
// Definition of the class predicate
/////////////////
// Inputs:
// ** type: type of the predicate: {on_table,on,picked_up,free,free_arm}
// ** block1:
// ** block2:
// ** value: i... |
package com.example.alexandermelnikov.yandexgallerytask.data;
import android.support.annotation.NonNull;
import com.example.alexandermelnikov.yandexgallerytask.model.realm.ImageSrc;
import java.util.ArrayList;
import io.realm.Realm;
/**
* ImageSrcRepository.java – helper class for working with ImageSrc table in R... |
package guicassolato.java.n2w.converters;
public interface IConjunctionApplicable {
/**
* Decides if the a conjunction word is required between quotient and remainder
*
* @return true if a conjunction is required; false otherwise.
*/
abstract boolean requiresConjunction();
}
|
/*
* Elastic Cloud API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the clas... |
/*
* Copyright (c) Thomas Parker, 2009.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
*... |
package rps;
/**
* A basic message interface
*/
public interface IMessage {
/**
* getter of the payload of the message, i.e., the information contained
* inside the message
*
* @return an Object which must be carefully cast afterwards
*/
Object getPayload();
}
|
/*******************************************************************************
*
* Copyright FUJITSU LIMITED 2016
* ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.compute.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Specifies... |
/*
* @(#)FloatConverter.java 3/9/2005
*
* Copyright 2002 - 2005 JIDE Software Inc. All rights reserved.
*/
package com.jidesoft.converter;
import java.text.NumberFormat;
/**
* Converter which converts Float to String and converts it back.
*/
public class FloatConverter extends NumberConverter {
... |
package net.silentchaos512.mechanisms.init;
import net.minecraft.inventory.container.Container;
import net.minecraft.inventory.container.ContainerType;
import net.minecraft.tileentity.TileEntityType;
import net.silentchaos512.mechanisms.block.AbstractMachineBaseTileEntity;
import net.silentchaos512.mechanisms.block.al... |
package com.github.sviengine.particle;
import com.github.sviengine.SVIEngineDesc;
import com.github.sviengine.SVIEngineThreadProtection;
import com.github.sviengine.animation.SVIAnimation;
import com.github.sviengine.basetype.SVIColor;
import com.github.sviengine.basetype.SVIImage;
import com.github.sviengine.basetype... |
package rocks.gioac96.veronica.auth;
import rocks.gioac96.veronica.core.PipelineBreakException;
import rocks.gioac96.veronica.core.Response;
/**
* Breaks the pipeline on authentication failure.
*/
public class AuthenticationException extends PipelineBreakException {
public AuthenticationException(Response resp... |
/*
* 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... |
/*
* 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 com.coppertine.tafe.java;
/**
*
* @author Coppertine
*/
public class Declarator {
/**
* Object for Declarator.
... |
package com.openhack.hackacross;
import androidx.annotation.DrawableRes;
import com.google.android.gms.maps.model.BitmapDescriptor;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.android.gms.maps.model.LatLng;
import com.google.maps.android.clustering.ClusterItem;
public class My... |
/*
* Copyright (c) 2010-2017. 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 or ... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2021 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... |
/*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jurisdictio... |
package dev.client.tenacity.module.impl.exploit;
import dev.client.tenacity.module.Category;
import dev.client.tenacity.module.Module;
import dev.event.EventListener;
import dev.event.impl.network.PacketReceiveEvent;
import net.minecraft.network.play.server.S02PacketChat;
public final class TPKiller extends Module {
... |
package nimra.mandelexplorer.palette;
import nimra.mandelexplorer.PaletteMapper;
import nimra.mandelexplorer.util.ColorUtils;
import org.beryx.awt.color.ColorFactory;
import org.json.JSONArray;
import org.json.JSONObject;
import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
/**
* Created: 29.12... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/filestore/v1/cloud_filestore_service.proto
package com.google.cloud.filestore.v1;
/**
* <pre>
* NFS export options specifications.
* </pre>
*
* Protobuf type {@code google.cloud.filestore.v1.NfsExportOptions}
*/
public final cla... |
package edu.colorado.cs.cirrus.android;
import android.content.Context;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import edu.colorado.cs.cirrus.android.R;
import android.app.Activity;
import android.content.SharedPreferences;
import androi... |
package com.yangdb.fuse.executor.cursor.discrete;
import com.yangdb.fuse.executor.CompositeTraversalCursorContext;
import com.yangdb.fuse.executor.cursor.TraversalCursorContext;
import com.yangdb.fuse.model.results.AssignmentsQueryResult;
import com.yangdb.fuse.model.results.Entity;
import com.yangdb.fuse.model.result... |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package org.semanticweb.rulewerk.examples.rdf;
/*-
* #%L
* Rulewerk Examples
* %%
* Copyright (C) 2018 - 2020 Rulewerk Developers
* %%
* 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 four;
import java.awt.Color;
import java.awt.Graphics;
import javax.swing.JPanel;
public class Runtime extends JPanel implements Runnable{
/**
*
*/
private static final long serialVersionUID = 1L;
int x = 0;
int y = 0;
int count = 10;
Pcb node;
public Runtime(Pcb node) {
this.node = node... |
package com.appcutt.demo.request;
import com.appcutt.libs.net.http.JsonHttpResponseHandler;
import org.apache.http.Header;
import org.apache.http.HttpStatus;
import org.json.JSONArray;
import org.json.JSONObject;
/**
* 解析业务返回数据
*
* Created by ouyangjinmiao on 18/5/15.
*/
public abstract class AbsBusinessResponse... |
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright (c) 2020 by Bart Cremers
*
* 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, pub... |
package com.fr.swift.cloud.util.qm.cal;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
/**
* Created by Lyon on 2018/4/21.
*/
public class BitUtilsTest {
@Test
public void binLength() {
assertTrue(BitUtils.binLength(10) == 4);
... |
package com.example.android.todolist.database;
import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;
import java.util.Date;
// TODO (2) Annotate the class with Entity. Use "task" for the table name
@Entity
public class TaskEntry {
// TODO (3) Annotate the id as PrimaryKey. S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.