text stringlengths 7 995k |
|---|
package org.zstack.sdk;
import java.util.HashMap;
import java.util.Map;
import org.zstack.sdk.*;
public class UpdatePolicyRouteRuleSetAction extends AbstractAction {
private static final HashMap<String, Parameter> parameterMap = new HashMap<>();
private static final HashMap<String, Parameter> nonAPIParamete... |
/*
* Copyright 2016-2020 Cisco Systems Inc
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, ... |
package edu.indiana.dlib.amppd.model.galaxy;
import com.github.jmchilton.blend4j.galaxy.GalaxyInstance;
import lombok.Data;
import lombok.NoArgsConstructor;
// TODO This class can be refactored to be included in AMP User class.
/**
* Wrapper class to include the basic info of a Galaxy user.
* @author yingfeng
*
... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
/*
* Copyright 2021 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 applica... |
package net.littleredcomputer.knuth7;
import org.junit.Test;
import java.util.function.Function;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
public class SATAlgorithmATest extends SATTestBase {
private Function<SATProblem, AbstractSATSolver> A = SATAlgorithmA::new;
... |
package net.sagaoftherealms.demo.tokenexchangedemo;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@... |
package com.dtk.api.request.search;
import com.dtk.api.client.DtkApiRequest;
import com.dtk.api.response.base.DtkApiResponse;
import com.dtk.api.response.search.DtkJdGoodsTypeResponse;
import com.dtk.api.utils.ObjectUtil;
import com.fasterxml.jackson.core.type.TypeReference;
import io.swagger.annotations.ApiModelPrope... |
/*
Copyright (C) 2013-2019 Expedia 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 in wri... |
package org.opengis.cite.iso19142;
import java.io.IOException;
import java.net.URI;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.xml.namespace.QName;
import javax.xml.validation.Schema;
import org.opengis.cite.iso1... |
/*
* Copyright 1997-2011 teatrove.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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2017 Synacor, Inc.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software Foundation,
* version 2 of the License.
*... |
package jet.opengl.demos.nvidia.waves.ocean;
import org.lwjgl.util.vector.Vector2f;
import jet.opengl.postprocessing.texture.TextureGL;
final class OceanHullProfile {
// The SRV for doing the lookup
private TextureGL m_pSRV;
OceanHullProfile() {}
OceanHullProfile(TextureGL pSRV)
{
m_pSR... |
package org.geysermc.generator.state.type;
import org.apache.commons.lang3.tuple.Pair;
import org.geysermc.generator.state.StateMapper;
import org.geysermc.generator.state.StateRemapper;
@StateRemapper(value = "lit", blockRegex = ".*candle.*")
public class CandleLitMapper extends StateMapper<Boolean> {
@Override... |
/*
* 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... |
package com.mapbox.mapboxsdk.style;
import android.support.test.espresso.Espresso;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import com.mapbox.mapboxsdk.maps.MapboxMap;
import com.mapbox.mapboxsdk.style.layers.FillLayer;
import com.mapbox.mapboxsdk.style.laye... |
/*
* Licensed to the University Corporation for Advanced Internet Development,
* Inc. (UCAID) under one or more contributor license agreements. See the
* NOTICE file distributed with this work for additional information regarding
* copyright ownership. The UCAID licenses this file to You under the Apache
* Lic... |
/*
* Copyright 2015 Comcast Cable Communications Management, 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 require... |
/*
* Copyright 2020 赖柄沣 bingfengdev@aliyun.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 ... |
/*
* MIT License
*
* Copyright (c) 2021 Imanity
*
* 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, ... |
/*
* PROJECT: NyMmd
* --------------------------------------------------------------------------------
* The MMD for Java is Java version MMD Motion player class library.
* NyMmd is modules which removed the ARToolKit origin codes from ARTK_MMD,
* and was ported to Java.
*
* This is based on the ARTK_MMD v0.1 ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.management.compute.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.util.log... |
package com.tyq.gulimall.order.dao;
import com.tyq.gulimall.order.entity.OrderSettingEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 订单配置信息
*
* @author tyq
* @email ${email}
* @date 2022-02-09 18:50:11
*/
@Mapper
public interface OrderSettingDa... |
package org.unbrokendome.siren.ap.codegeneration.method.contributors;
import org.unbrokendome.siren.ap.model.affordance.action.ActionTemplate;
public abstract class AbstractActionBuilderMethodContributor
extends AbstractBuilderMethodContributor<ActionTemplate> {
@Override
protected final Class<Actio... |
package database;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
public class UpdateQueryBuilder extends AbstractQueryBuilder {
public static UpdateQueryBuilder create(String tableName) {
return new UpdateQueryBuilder(tableName);
}
private UpdateQueryBuilder(String tableName) {
sup... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.android.communication.chat.models;
import com.azure.android.communication.chat.implementation.signaling.EventAccessorHelper;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.threeten.bp.O... |
/*
* Copyright (c) CovertJaguar, 2014 http://railcraft.info
*
* This code is the property of CovertJaguar
* and may only be used with explicit written
* permission unless otherwise specified on the
* license page at http://railcraft.info/wiki/info:license.
*/
package mods.railcraft.common.blocks.tracks;
impor... |
package com.pianostudy.ui;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import android.os.Bundle;
import android.os.StrictMode;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;
import android.widget.TextView;
imp... |
/*
* Copyright (c) 2016 JBus 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... |
/*
* 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... |
/*
*******************************************************************************
* Copyright (c) 2016-2018 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 ... |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package eu.elixir.ega.ebi.htsget.service;
import eu.elixir.ega.ebi.commons.config.HtsgetException;
import eu.elixir.ega.ebi.commons.exception.NotFoundException;
import eu.elixir.ega.ebi.commons.exception.PermissionDeniedException;
import eu.elixir.ega.ebi.htsget.dto.HtsgetResponseV2;
import java.io.IOException;
impor... |
import java.util.*;
class Exercise_4_6 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
Integer[] arr = new Integer[n];
Map<Integer, Integer> arraymap = new LinkedHashMap<>();
for (int i = 0; i < n; i++) {
a... |
/**
* Copyright (C) 2010 Daniel Manzke <daniel.manzke@googlemail.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
*
* Unles... |
package moze_intel.projecte.gameObjs.blocks;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import net.minecraft.block.BlockState;
import net.minecraft.block.DispenserBlock;
import net.minecraft.block.TNTBlock;
import net.minecraft.dispenser.DefaultDispenseItemBehavior;
import net.minecraft.dispens... |
/*
* Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
*/
/*
* Copyright 1999-2002,2004 The Apache Software 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 ... |
package pokecube.core.network.pokemobs;
import net.minecraft.network.FriendlyByteBuf;
import net.minecraft.world.entity.Entity;
import net.minecraft.world.entity.player.Player;
import pokecube.core.PokecubeCore;
import pokecube.core.interfaces.IPokemob;
import pokecube.core.interfaces.capabilities.CapabilityPokemob;
i... |
package jp.co.nri.point.domain;
import java.io.Serializable;
import java.util.List;
public class Department implements Serializable {
private static final long serialVersionUID = 3270682253504566850L;
private Long id;
private String name;
private String description;
private List<Employee> employ... |
package samples;
import net.thucydides.core.annotations.Steps;
import net.thucydides.core.annotations.UserStoryCode;
import net.thucydides.junit.runners.ThucydidesRunner;
import org.junit.Test;
import org.junit.runner.RunWith;
@RunWith(ThucydidesRunner.class)
@UserStoryCode("US01")
public class TestSampleTestForAnoth... |
package org.openur.module.integration.security.shiro;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import javax.inject.Inject;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.authc.AccountException;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.... |
package com.codejune.sutaekhighschool.data;
import com.orm.SugarRecord;
public class MealCache extends SugarRecord<MealCache> {
String lunch;
String lunchkcal;
String dinner;
String dinnerkcal;
public MealCache(){
}
public MealCache(String Lunch, String LunchKcal, String Dinner, String D... |
package me.ykrank.s1next.view.adapter;
import android.app.Activity;
import androidx.annotation.LayoutRes;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import java.util.List;
import javax.inject.Inject;... |
/*
* Copyright 2019 Yaakov Chaikin (yaakov@ClearlyDecoded.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... |
package org.jeecg.config;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import javax.servlet.Filter;
import org.apache.shiro.mgt.DefaultSessionStorageEvaluator;
import org.apache.shiro.mgt.DefaultSubjectDAO;
import org.apache.shiro.mgt.SecurityManager;
import org.apache.shiro.spring... |
/*
* Copyright (c) 2015 Abe Jellinek
*
* 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, publis... |
package eveningguihelloworld;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Label;
import javafx.scene.control.RadioButton;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
... |
package org.pweb3j.abi.datatypes.generated;
import org.pweb3j.abi.datatypes.Bytes;
/**
* Auto generated code.
* <p><strong>Do not modifiy!</strong>
* <p>Please use org.pweb3j.codegen.AbiTypesGenerator in the
* <a href="https://github.com/web3j/web3j/tree/master/codegen">codegen module</a> to update.
*/
public c... |
package gulimall.coupon.service;
import com.baomidou.mybatisplus.extension.service.IService;
import gulimall.common.utils.PageUtils;
import gulimall.coupon.entity.SeckillPromotionEntity;
import java.util.Map;
/**
* 秒杀活动
*
* @author SunQiXin
* @email 15153869872@163.com
* @date 2020-07-13 09:59:22
*/
public int... |
package org.zezutom.schematic.model.json;
import org.zezutom.schematic.service.generator.json.StringGenerator;
public class StringNode extends Node<String, StringGenerator> {
public StringNode(String name, StringGenerator valueGenerator) {
super(name, valueGenerator);
}
} |
/*
* Copyright 2000-2015 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... |
package com.bt.nia.koala.robustness.parsers;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.bt.nia.koala.robustness.commands.UnexpectedOutputException;
public class DeleteSnapshotOutputParser extends OutputParserBase {
private static final String DELETE_SNAPSHOT_LINE_REGEX = "^SNAPSHOT\\... |
package at.favre.tools.tagger.analyzer.config;
/**
* @author PatrickF
* @since 24.03.13
*/
public class FilterWord {
public enum CaseSensitivity {IGNORE_CASE, KEEP_CASE}
private final String word;
private final CaseSensitivity caseSensitivity;
public FilterWord(String word, CaseSensitivity caseSensitivity) {
... |
/*
* Copyright (c) 2002-2016 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 net.mgsx.game.plugins.fsm.components;
import com.badlogic.ashley.core.Entity;
import com.badlogic.ashley.core.Family;
import com.badlogic.gdx.ai.fsm.State;
import com.badlogic.gdx.ai.msg.Telegram;
/**
* Base state for all entities.
*
* @author mgsx
*
*/
abstract public class EntityState implements State... |
/*
* Copyright 2014 Avanza Bank AB
*
* 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... |
package com.excilys.cdb.console.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import com.excilys.cdb.console.enumeration.EnumPageMenuActions;
import com.excilys.cdb.console.view.PaginationMenuView;
import com.excilys.cdb.console.exception.Invali... |
package xyz.ibat.designpatterns.strategy.model;
import xyz.ibat.designpatterns.strategy.base.FlyBehavior;
/**
* Created by jerry on 2018/4/3.
*/
public class ModelFlyBehavior implements FlyBehavior {
@Override
public void fly() {
System.out.println("I can not flying");
}
} |
package GameNationBackEnd.Security.DevToken;
import org.springframework.security.oauth2.common.OAuth2AccessToken;
import org.springframework.security.oauth2.common.OAuth2RefreshToken;
import java.util.*;
/**
* Created by lucas on 20/11/2016.
*/
public class UnlimitedToken implements OAuth2AccessToken {
@Overr... |
/*
* Copyright 2008 Jeremias Maerki.
*
* 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 org.byron4j;
import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.databind.util.JSONPObject;
import io.github.resilience4j.ratelimiter.RateLimiter;
import io.github.resilience4j.ratelimiter.RateLimiterRegistry;
import io.vavr.control.Try;
import org.springframework.beans.factory.annotation.Auto... |
/*
* 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.cvcg.ian.tictactoe;
import java.util.Random;
/**
* Created by Ian on 7/23/2016.
*/
public class TicTacToeBoard {
private Player[][] board;
public TicTacToeBoard() {
board = new Player[3][3]; // default initial value is null
}
public void move(Player player, int x, int y) {
... |
package jetbrains.mps.lang.editor.imageGen.testLanguage.structure;
/*Generated by MPS */
import jetbrains.mps.lang.smodel.LanguageConceptIndex;
import jetbrains.mps.lang.smodel.LanguageConceptIndexBuilder;
import jetbrains.mps.smodel.adapter.ids.SConceptId;
import org.jetbrains.mps.openapi.language.SAbstractConcept;
... |
/*
* Copyright 2009 Inspire-Software.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 appl... |
/*
* Copyright 2012-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.gupao.vip.abstracts;
import com.gupao.vip.Audi;
import com.gupao.vip.Car;
import com.gupao.vip.function.Factory;
/**
* Created with IntelliJ IDEA
*
* @author : ShenJiaQing
* @date : 2018/7/4
* Time: 9:40
* Description:
*/
public class AudiFactory extends AbstractFactory {
protected Car getCar(... |
package com.baraka.thescout.fragments;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
impo... |
package com.mercadopago.android.px.internal.features.paymentresult;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import com.mercadopago.android.px.configuration.PaymentResultScreenConfiguration;
import com.mercadopago.android.px.internal.features.paymentr... |
package sonar.logistics.core.tiles.readers.items.handling;
import com.google.common.collect.Lists;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEnti... |
package io.crnk.spring.app;
import io.crnk.test.mock.TestModule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class ModuleConfig {
@Bean
public TestModule testModule() {
return new TestModule();
}
@Bean
public TestSpanR... |
/**
*
* 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 Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... |
/*
* Licensed to Crate.io GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not use this f... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot.commands;
import edu.wpi.first.wpilibj2.command.CommandBase;
public class AutonomousCommand extends ... |
/**
* 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 m... |
package ru.stqa.pft.addressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import ru.stqa.pft.addressbook.model.GroupData;
import ru.stqa.pft.addressbook.model.Groups;
import java.util.List;
public class GroupHelper extends HelperBase {
... |
package com.ss.editor.ui.component.bar.action;
import com.ss.editor.Messages;
import javafx.application.Platform;
import javafx.scene.control.MenuItem;
/**
* The action for opening the dialog with settings.
*
* @author JavaSaBr
*/
public class ExitAction extends MenuItem {
/**
* Instantiates a new Open ... |
/*
* 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 ... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.v7.recyclerview;
public final class R {
public static final class attr {
public static int fastScro... |
package com.huaweicloud.sdk.rms.v1.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
/** Request Object */
public class EnablePolicyAssignmentRequest {
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "... |
/*
* Copyright 2019 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
package com.zjmzxfzhl.modules.sys.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zjmzxfzhl.common.core.base.BaseService;
import com.zjmzxfzhl.modules.sys.entity.SysPost;
import com.zjmzxfzhl.modules.sys.entity.SysPostUser;
imp... |
/*
Copyright (C) 2021 MCUmbrella & contributors
Licensed under the MIT License. See LICENSE in the project root for license information.
*/
package vip.floatationdevice.guilded4j.object;
import java.util.HashMap;
/**
* Guilded user object (also can be bot or webhook).
*/
public class User {
private final Str... |
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.test.util.browser.suggestions;
import org.chromium.chrome.browser.ntp.cards.ActionItem;
import org.chromium.chrome.browser.nt... |
/*
* Copyright (c) 2019, Ajsgn 杨光 (Ajsgn@foxmail.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 appl... |
/*
* Copyright 1999-2020 Alibaba Group Holding 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 applica... |
/*
This subclass of the Hand class represents a hand of cards
in the game
It's method getBlackjackHand(), this returns the value of the hand
*/
public class BlackjackHand extends Hand {
public int getBlackjackValue() {
// returns the value of this hand
int val;
boolean ace; // This will be se... |
/*
* $Id$
*/
/*
Copyright (c) 2000-2014 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
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... |
package org.interledger.cryptoconditions;
import net.i2p.crypto.eddsa.EdDSAEngine;
import net.i2p.crypto.eddsa.EdDSAPublicKey;
import org.immutables.value.Value;
import java.security.InvalidKeyException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.Signature;... |
/*
* 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.seanthomascarroll.jmediator.pipeline;
import com.seanthomascarroll.jmediator.Request;
import com.seanthomascarroll.jmediator.RequestHandler;
/**
* The pipeline chain manages the flow of a message through a chain of behaviors and ultimately to the request handler.
* Behaviors may continue processing via ... |
package com.example.akash.cowsnbulls;
import android.content.Intent;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
public class Splash extends AppCompatActivity {
@Override
... |
/*******************************************************************************
* Copyright 2015 See AUTHORS file.
*
* 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.apach... |
package me.paulhobbel.engine.physics.box2d;
import org.jbox2d.callbacks.ContactImpulse;
import org.jbox2d.collision.Manifold;
import org.jbox2d.common.Vec2;
import org.jbox2d.dynamics.joints.Joint;
import org.jbox2d.dynamics.joints.JointDef;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
... |
/*
* 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 tcd.sweng.barcodetracker.database;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Map;
import tcd.sweng.barcodetracker.data.Individual;
import tcd.sweng.barcodetracker.data.Project;
import tcd... |
/*
* 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 io.committed.ketos.plugin.documentcluster.service;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import java.util.stream.Collectors;
import org.carrot2.clustering.lingo.LingoClusteringAlgorithm;
import org.carrot2.core.Cluster;
i... |
package com.guykn.setsolver.imageprocessing.verify.indirect;
import com.guykn.setsolver.drawing.GenericRotatedRectangle;
import org.christopherfrantz.dbscan.DBSCANClusteringException;
import org.christopherfrantz.dbscan.DistanceMetric;
public class RectangleAreaDistanceMetric implements DistanceMetric<GenericRotated... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.