text stringlengths 7 995k |
|---|
/**
* Copyright (C) 2010 Asterios Raptis
*
* 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 us.ihmc.ekf.tempClasses;
enum SDFJointType
{
REVOLUTE,
PRISMATIC
} |
/*
* The MIT License
* Copyright © 2014-2021 Ilkka Seppä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, copy... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... |
/*
* Copyright (C) 2004-2015 Volker Bergmann (volker.bergmann@bergmann-it.de).
* 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/L... |
package uk.ac.kcl.flare;
import com.wix.detox.Detox;
import com.wix.detox.config.DetoxConfig;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import androidx.test.filters.LargeTest;
import androidx.test.rule.ActivityTestRule;
@RunW... |
/**
* 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 ... |
package com.haiberg.automation.web.widget;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.WebDriverWait;
import com.haiberg.automation.web.WebBrowser;
public c... |
package org.kyojo.schemaorg.m3n5.gson.core.clazz;
import java.lang.reflect.Field;
import java.lang.reflect.Type;
import java.util.HashMap;
import java.util.Map;
import org.kyojo.gson.JsonDeserializationContext;
import org.kyojo.gson.JsonDeserializer;
import org.kyojo.gson.JsonElement;
import org.kyojo.gson.JsonParseE... |
package io.github.klawkreations.caferp.rp;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import org.bukkit.Location;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import io.github.klawkreations.caferp.CafeRP;
import io... |
/*
* Copyright 2018-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 ... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
/*package com.qingbo.gingko.domain;
import static org.junit.Assert.assertTrue;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.IncorrectCredentialsException;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subject;
import org.junit.Test;
import org.springframe... |
package com.oxide.scanner;
import com.oxide.factory.ZkFactoryBean;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.config.BeanDefinitionHolder;
import org.springframework.beans.factory.support.AbstractBeanDefinition;
import org.springframework.beans.factory.support.BeanDefinitionRe... |
/* Copyright 2002-2019 CS Systèmes d'Information
* Licensed to CS Systèmes d'Information (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Versi... |
package com.qaprosoft.carina.core.foundation.utils.ftp;
import java.io.ByteArrayInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Base64;
import org.apache.commons.net.ftp.FTP;
import org.apache.commons.net.ftp.F... |
/**
* Copyright 2016 LinkedIn Corp. 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 applica... |
package emissary.util;
import java.io.EOFException;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.ClosedChannelException;
import java.nio.channels.ReadableByteChannel;
import java.nio.channels.SeekableByteChannel;
/**
* This class provides a seekable channel for a portion, or windo... |
/*
* 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.atlassian.plugin.connect.crowd.usermanagement;
import com.atlassian.crowd.embedded.api.User;
import com.atlassian.crowd.model.user.UserTemplate;
import com.atlassian.plugin.spring.scanner.annotation.component.ConfluenceComponent;
import com.atlassian.plugin.spring.scanner.annotation.component.JiraComponent... |
package io.agora.rtcwithfu.activities;
import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.util.Log;
import a... |
// ========================================================================
// Copyright 2007-2008 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complianc... |
package seedu.delino.storage.returnorder;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static seedu.delino.storage.returnorder.JsonAdaptedReturnOrder.MISSING_FIELD_MESSAGE_FORMAT;
import static seedu.delino.testutil.Assert.assertThrows;
import static seedu.delino.testutil.TypicalReturnOrders.BEN... |
package com.kilobolt.TweenAccessors;
public class Value {
private float val = 1;
public float getValue() {
return val;
}
public void setValue(float newVal) {
val = newVal;
}
} |
/*
* Copyright 2019 dc-square 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 required by applicable law or agree... |
package suis4j.driver;
import java.util.ArrayList;
import java.util.List;
/**
*Class DriverManager.java
*@author Ziheng Sun
*@time Feb 15, 2018 2:37:55 PM
*/
public class DriverManager {
private static List<AbstractDriver> drivers = new ArrayList();
private DriverManager(){}
public static AbstractDriver creat... |
package com.xt.lintcode;
public class OceanDistance {
public int test() {
int[][] ints = new int[5][5];
ints[0] = new int[]{0, 0, 0, 0, 0};
ints[1] = new int[]{0, 1, 0, 0, 0};
ints[2] = new int[]{0, 1, 1, 0, 0};
ints[3] = new int[]{0, 0, 0, 0, 0};
ints[4] = new int... |
//
// ========================================================================
// Copyright (c) 1995-2018 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
package io.github.jsbd.common.serialization.bytebean.codec;
public class DefaultNumberCodecs {
private static int b2ui(byte b) {
// byte: -128~127
// byte+256: 128~343
// (byte+256)%256: 0~128
return (int) (b + 256) % 256;
}
private static long b2ul(byte b) {
return (long) (b + 256) % 256;
... |
/*
* Copyright (C) 2013 MILLAU Julien
*
* 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 com.script.fairy;
import com.script.opencvapi.FindResult;
import com.script.opencvapi.LtLog;
import com.script.opencvapi.AtFairyConfig;
import com.script.framework.AtFairyImpl;
import static com.script.opencvapi.AtFairy2.TASK_STATE_FINISH;
public class GamePublicFuntion {
public AtFairyImpl mFairy;
p... |
package com.mithion.griefguardian.commands;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.command.CommandBase;
import net.minecraft.command.ICommandSender;
import net.minecraft.command.PlayerNotFoundException;
import net.minecraft.command.WrongUsageException;
import net.minecraft.entity.play... |
/*
* © 2020. TU Dortmund University,
* Institute of Energy Systems, Energy Efficiency and Energy Economics,
* Research group Distribution grid planning and operation
*/
package edu.ie3.netpad.map.event;
import edu.ie3.netpad.grid.GridModification;
/**
* //ToDo: Class Description
*
* @version 0.1
* @since 19.05... |
/*
* 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 ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.intel.mtwilson.tag.rest.v2.rpc;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import com.intel.dcsg.cpg.io.UUID;
import com.intel.mtwilson.datatypes.AssetTagCertRevokeRequest;... |
package org.example.com.leetcode.array.middle;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
*
*/
public class Q62_2 {
boolean[] used;
int ans = 0;
// TODO 超时
public int triangleNumber(int[] nums) {
used = new boolean[nums.length];
Arrays.sort(nums... |
package com.wr;
import org.omg.Messaging.SYNC_WITH_TRANSPORT;
import java.util.*;
class UndirectedGraphNode {
int label;
ArrayList<UndirectedGraphNode> neighbors;
UndirectedGraphNode(int x) { label = x; neighbors = new ArrayList<UndirectedGraphNode>(); }
};
public class charge
{//存储
/**
... |
package org.geekbang.dependency.injection;
import org.geekbang.dependency.injection.annotation.UserGroup;
import org.geekbang.ioc.overview.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.... |
package no.nav.sbl.dialogarena.rest.ressurser;
import no.nav.metrics.aspects.Timed;
import no.nav.modig.core.context.SubjectHandler;
import no.nav.sbl.dialogarena.rest.meldinger.StartSoknad;
import no.nav.sbl.dialogarena.sendsoknad.domain.DelstegStatus;
import no.nav.sbl.dialogarena.sendsoknad.domain.Faktum;
import no... |
package application;
import java.util.*;
public class Game
{
private int[][] gameBoard;
private Random r = new Random();
public Game() // creates a new 4x4 array for the game board and adds 2 new numbers
{
gameBoard = new int[4][4];
addNewNumber();
addNewNumber();
}
public int[][] getGameBoard()
{
... |
/*
* 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... |
/*
* Copyright 2018 Key Bridge.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
/*
* Copyright 2016 - 2019 Anton Tananaev (anton@traccar.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 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"); you may ... |
package com.projects.dawid.gattclient;
import android.app.Activity;
import android.bluetooth.BluetoothDevice;
import android.support.annotation.NonNull;
import android.view.View;
import android.widget.AdapterView;
import java.util.Set;
/**
* Callback for clicking device on Discovered devices View.
*/
class DeviceS... |
package datawave.webservice.query.runner;
import java.security.Principal;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurren... |
licensed apache software foundation asf contributor license agreements notice file distributed work additional copyright ownership asf licenses file apache license version license file compliance license copy license http apache org licenses license required applicable law agreed writing software distributed license di... |
package com.jnote.dao.user;
import com.jnote.dao.UserMapper;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class MultiThreadUserTask {
private UserMapper mapper;
private int taskTimes;
private ExecutorService service;
public MultiThreadUserTask(UserMap... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.05.... |
package br.com.ti4b.visao.telas.tables;
import br.com.ti4b.modelo.Veterinario;
import java.util.ArrayList;
import java.util.List;
import javax.swing.table.AbstractTableModel;
/**
*
* @author Otavio Costa
*/
public class TabelaVeterinario extends AbstractTableModel {
List<Veterinario> veterinarioes = new Array... |
package com.lwd.qjtv.mvp.ui.adapter;
import android.view.View;
import com.jess.arms.base.BaseHolder;
import com.jess.arms.base.DefaultAdapter;
import com.lwd.qjtv.R;
import com.lwd.qjtv.mvp.model.entity.FansOrFollerBean;
import com.lwd.qjtv.mvp.ui.holder.CommunityAllIteItemHolder;
import com.lwd.qjtv.mvp.ui.holder.Fa... |
package akiniyalocts.imgurapiexample.helpers;
import android.app.Activity;
import android.content.Intent;
/**
* Created by AKiniyalocts on 2/23/15.
*
*/
public class IntentHelper {
public final static int FILE_PICK = 1001;
public static void chooseFileIntent(Activity activity){
Intent intent = new Intent... |
package lykrast.noisysorting.sorting;
import lykrast.noisysorting.array.VisualArray;
public class SorterMergeInPlaceNaive extends SorterAbstract {
public SorterMergeInPlaceNaive(VisualArray array)
{
super(array);
}
//https://github.com/liuxinyu95/AlgoXY/blob/algoxy/sorting/merge-sort/src/mergesort.c
@Override... |
package com.example.labadmin.ayiti_touris.Fragments;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.example.labadmin.ayiti_touris.R;
/**
* A simple {@link Fragment} subclass.
*/
public class ... |
/*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package org.innovateuk.ifs.eugrant.builder;
import org.innovateuk.ifs.BaseBuilder;
import org.innovateuk.ifs.eugrant.EuActionTypeResource;
import java.util.List;
import java.util.function.BiConsumer;
import static java.util.Collections.emptyList;
public class EuActionTypeResourceBuilder extends BaseBuilder<EuAction... |
package com.debugshark.security;
import java.util.Arrays;
import java.util.Calendar;
import javax.transaction.Transactional;
import com.debugshark.persistence.dao.PasswordResetTokenRepository;
import com.debugshark.persistence.model.PasswordResetToken;
import com.debugshark.persistence.model.User;
import org.springf... |
package ru.job4j.loop;
public class Mortgage {
public int year(int amount, int monthly, double percent) {
int year = 0;
double payment = amount * (1 + percent / 100);
while (payment >= 0) {
payment = payment - monthly * 12;
year++;
}
return year;
... |
package com.divinitor.discord.wahrbot.core.config.dyn;
public interface DynConfigHandle {
String get();
} |
/*
* 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 microsoft.exchange.webservices.data.util;
import java.nio.charset.Charset;
/**
* Charsets required of every implementation of the Java platform.
*
* From the Java documentation <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
* charsets</a>:
* <p>
* <cite>Every i... |
package org.juz.seed.api.security;
import java.util.Set;
public class RoleBean {
private Long id;
private String name;
private Set<String> permissions;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(St... |
package test.org.springdoc.api.app54;
import com.fasterxml.jackson.annotation.JsonView;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.parameters.RequestBody;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
i... |
package seedu.address.model.academics;
import static java.util.Objects.requireNonNull;
import static seedu.address.commons.util.CollectionUtil.requireAllNonNull;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import javafx.collections.FXCollections;
import javafx.collections.ObservableLi... |
package com.shopping.controller;
import com.shopping.service.ProductService;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.... |
/*
* FDBRecordStore.java
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2015-2018 Apple Inc. and the FoundationDB project 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 ... |
package com.github.bordertech.webfriends.api.element.form.select;
import com.github.bordertech.webfriends.api.common.category.NoCategory;
import com.github.bordertech.webfriends.api.common.category.ScriptSupporting;
import com.github.bordertech.webfriends.api.common.context.CustomContext;
import com.github.bordertech.... |
package org.jboss.resteasy.test.client;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.resteasy.clie... |
package top.fosin.anan.platform.dto.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
* 系统机构授权表(AnanOrganizationAuth)更新DTO
*... |
package io.github.a5h73y.parkour.configuration.impl;
import io.github.a5h73y.parkour.configuration.ParkourConfiguration;
public class StringsConfig extends ParkourConfiguration {
@Override
protected String getFileName() {
return "strings.yml";
}
@Override
protected void initializeConfig() {
this.addDefault... |
package solutions;
import structures.TreeNode;
/**
* Solution for https://leetcode.com/problems/serialize-and-deserialize-bst problem with
* Time complexity: O(n)
* Space complexity: O(n)
* where n - number of tree nodes
*/
public class SerializeAndDeserializeBST {
// Encodes a tree to a single string.
... |
/*
* 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.mskalnik.dal.repo;
import com.mskalnik.dal.sql.DataSourceSignleton;
import com.mskalnik.model.Appointment;
import com.mska... |
package ru.otus.adapter;
/**
* @author sergey
* created on 16.01.19.
*/
public class RotaryHammer {
public void drill(SDSdril sds) {
sds.action();
}
} |
/**
* Copyright (c) 2011-2015, James Zhan 詹波 (jfinal@126.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... |
/*
* Copyright 2015-2018 Austin Keener & Michael Ritter & Florian Spieß
*
* 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
*
* Unl... |
package com.yentenandroidwallet.wallet.util;
import android.app.Activity;
import android.content.Context;
import android.net.Uri;
import android.util.Log;
import com.yentenandroidwallet.R;
import com.yentenandroidwallet.core.BRCoreKey;
import com.yentenandroidwallet.presenter.customviews.BRDialogView;
import com.yent... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * Copyright (C) 2007 The Guava 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://... |
/**
* 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 ru.krlvm.powertunnel.frames;
import ru.krlvm.powertunnel.utilities.UIUtility;
import ru.krlvm.swingdpi.ScalableJFrame;
import javax.swing.*;
/**
* Base implementation of JFrame (SwingDPI/ScalableJFrame)
*/
public abstract class ControlFrame extends ScalableJFrame {
public ControlFrame() {
thi... |
package com.cluster.activemq.platform.mq.producer;
import com.cluster.activemq.platform.bean.MqCmd;
import com.cluster.activemq.platform.common.MqConst;
import com.cluster.activemq.platform.config.ActiveMqProperties;
import com.cluster.activemq.platform.config.ConfigService;
import net.sf.json.JSONObject;
import org.a... |
package com.alipay.api.request;
import com.alipay.api.domain.AlipayMerchantMrchsurplmorderPointPayModel;
import java.util.Map;
import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayMerchantMrchsurplmorderPointPayResponse;
import com.alipay.api.Ali... |
package com.digitalinnovation.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
@Getter
@AllArgsConstructor
public enum PhoneType {
HOME("Home"),
MOBILE("Mobile"),
COMMERCIAL("Commercial");
private final String description;
} |
package net.minecraft.block;
import net.minecraft.block.material.Material;
import net.minecraft.init.Blocks;
import net.minecraft.world.World;
import org.bukkit.craftbukkit.event.CraftEventFactory;
import java.util.Random;
public class BlockStaticLiquid extends BlockLiquid {
protected BlockStaticLiquid(Material p_i... |
/*
* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited
*
* 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 ... |
package com.fahad.appnavigationdrawer.Controlleurs.fragments;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.Recycle... |
package org.batfish.specifier;
import com.google.common.collect.ImmutableSet;
import java.util.NoSuchElementException;
import java.util.Objects;
import java.util.Set;
import org.batfish.datamodel.IpAccessList;
import org.batfish.referencelibrary.FilterGroup;
/**
* A {@link FilterSpecifier} that looks up an {@link or... |
package com.zapatatech.santabiblia.utilities;
import android.content.Context;
import android.util.Log;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.core... |
// Targeted by JavaCPP version 1.5.5-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.onnx;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.onnx.global.onnx.*;
// -----------------------... |
/*
* Copyright 2015 Blanyal D'Souza.
*
* 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 agree... |
/*
*
* Copyright (c) 2006-2019, Speedment, 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 requi... |
/*
* 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 rocks.inspectit.shared.all.instrumentation.classcache.util;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.arrayContaining;
import static org.hamcrest.Matchers.arrayWithSize;
import static org.hamcrest.Matchers.contains;
import static org.hamcrest.Matchers.empty;
impor... |
package me.cchu.mall.product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import me.cchu.common.utils.PageUtils;
import me.cchu.mall.product.entity.SkuInfoEntity;
import me.cchu.mall.product.vo.SkuItemVo;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionExcepti... |
package site.zido.demo.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.core.userdetails.User;
import org.springframewor... |
/*
Copyright [2020] [https://www.xiaonuo.vip]
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... |
/*******************************************************************************
* Copyright 2016 Antoine Nicolas SAMAHA
*
* 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:/... |
/*
* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... |
/**
* This code is part of MTQC.
*
* Copyright (c) 2020 Javier Pellejero, Luis Aguirre.
*
* This code is licensed under the MIT License. You may obtain a copy
* of this license in the LICENSE file in the root directory of this source tree
* or at https://github.com/javpelle/MTQC/blob/master/LICENSE.
*/
pac... |
package com.linkedin.databus2.relay;
/*
*
* Copyright 2013 LinkedIn Corp. 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/LICE... |
/*******************************************************************************
* Copyright (c) 2002, 2017 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at https://w... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.