text stringlengths 7 995k |
|---|
package com.freddygenicho.sample.mpesa;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import and... |
/*
* Copyright 2020 the original author or authors.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by... |
package dev.nocalhost.plugin.intellij.commands.data;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class ServiceContainerDevCommand {
private List<String> build;
private List<String> run;
private List<String> debug;
private List<String> hotReloadRun;
pr... |
package uk.gov.hmcts.reform.iacasenotificationsapi.domain.personalisation.appellant.sms;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.when;
impo... |
package com.wrapper.spotify.requests.data.follow;
import com.google.gson.Gson;
import com.google.gson.JsonParser;
import com.wrapper.spotify.enums.ModelObjectType;
import com.wrapper.spotify.exceptions.SpotifyWebApiException;
import com.wrapper.spotify.requests.data.AbstractDataRequest;
import java.io.IOException;
/... |
package test;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
StatTest.class,
MoneyReportTest.class
})
public class JunitTestSuite {
@BeforeClass
public static void init() {
SQLiteTestData.deleteDatabaseFile()... |
package com.mikea.concrete.impl;
import com.google.common.collect.Iterables;
import com.google.common.collect.Iterators;
import com.mikea.concrete.PStack;
import java.util.Iterator;
/**
* Stack implementation that appends to other stacks together.
* <p>
* Invariant: |left| > 0.
*/
public class AppendedStack<T> i... |
/*
Copyright 2017 Jan Marek
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 (c) 2008-2018 Bird Dog Games, Inc..
*
* This file is part of Ardor3D.
*
* Ardor3D is free software: you can redistribute it and/or modify it
* under the terms of its license which may be found in the accompanying
* LICENSE file or at <http://www.ardor3d.com/LICENSE>.
*/
package com.ardor3d.tool... |
/*
* 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 org.jooby.issues;
import java.net.URISyntaxException;
import java.nio.charset.StandardCharsets;
import java.time.ZoneId;
import org.jooby.test.ServerFeature;
import org.junit.Test;
import com.typesafe.config.Config;
public class Issue441 extends ServerFeature {
{
port(9000);
charset(StandardCha... |
public class InstanceVariableReferenced {
private static Object example;
private String s = "yes";
public Object getInstance() {
if (example == null) {
example<caret> = getString(s);
}
return example
}
private static String getString(String s) {
return new String(s);
}
} |
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
package me.philcali.zero.lombok.processor.mapping;
import java.util.Optional;
import java.util.ServiceLoader;
import java.util.stream.StreamSupport;
public class TypeMappingProviderSystem implements TypeMappingProvider {
private final ClassLoader loader;
public TypeMappingProviderSystem(final ClassLoader lo... |
package co.net.parking.entities;
import java.io.Serializable;
import javax.persistence.*;
@Entity
@Table(name="parking_factura_electronica_cliente_juridico")
@NamedQueries({
@NamedQuery(name = "usuario.findJuridicoByIdentificacion", query = "SELECT t FROM ParkingFacturaElectronicaClienteJuridico t where t.numeroNit... |
package nyu;
import java.time.LocalDateTime;
import java.util.Objects;
public final class Term {
public final int semester;
public final int year;
public static final int JANUARY = 2;
public static final int SPRING = 4;
public static final int SUMMER = 6;
public static final int FALL = 8;
public Term(... |
/*
* Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package com.github.mopaia.core.controller.dto;
import com.github.mopaia.core.dao.model.PurchaseExpense;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
@Getter
@Setter
public class PurchaseExpenseCreateRequ... |
/*
* Created on 08-Aug-2006
*
* Author Aidan Hogan
*/
package org.semanticweb.yars.nx.parser;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.ArrayList;
import java.util.Iterator;
import org.semanticweb... |
// instantiated with javainst.pl from /workspace/sphenon/projects/components/basics/many/v0001/origin/source/java/com/sphenon/basics/many/templates/MapIteratorImpl.javatpl
// please do not modify this file directly
package com.sphenon.engines.factorysite.tplinst;
import com.sphenon.basics.many.*;
import com.sphenon.en... |
package com.iisquare.solr.full;
import java.io.Reader;
import java.util.Map;
import org.apache.lucene.analysis.Tokenizer;
import org.apache.lucene.analysis.util.TokenizerFactory;
import org.apache.lucene.util.AttributeFactory;
public class FullTokenizerFactory extends TokenizerFactory {
private Boolean isSpliteLett... |
package org.sana.android.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.os.Parcel;
import android.os.Parcelable;
import android.text.format.DateFormat;
import android.util.AttributeSet;
import android.util.SparseArray;
import android.view.LayoutInflater;
import android.wi... |
/*
* Copyright (C) 2014 Intel Corporation
* All rights reserved.
*/
package com.intel.mtwilson.client.jaxrs;
import com.intel.mtwilson.jaxrs2.client.ReflectionUtil;
import com.intel.mtwilson.v2.file.client.jaxrs.Files;
import com.intel.dcsg.cpg.io.UUID;
import com.intel.mtwilson.My;
import com.intel.mtwilson.v2.fil... |
package org.ormfux.common.db.query.testquery;
import java.lang.reflect.Field;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import org.junit.After;
import org.junit.Before;
import org.ormfux.common.db.query.QueryManager;
import org.ormfux.common.db.query.connection.DbConnectionP... |
package com.aiyc.base.core;
/**
* 一些常量的定义
* @author felly
*
*/
public class Types {
public static final String TYPE = "TYPE";
public static final String WIFI = "WIFI";
public static final String BLUETOOTH = "BT";
public static final String GPS = "GPS";
public static final String GSM = "GSM";
public stati... |
/*================================================================================
Copyright (c) 2013 Steve Jin. All Rights Reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must re... |
package com.steelzack.titletextadder.api.controller;
import com.steelzack.titletextadder.api.model.TitleEntity;
import com.steelzack.titletextadder.api.pojo.Response;
import com.steelzack.titletextadder.api.service.TitleService;
import com.steelzack.titletextadder.api.solr.SolrSearcher;
import org.apache.solr.client.s... |
package runorder.parallel;
/*
* 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 ... |
package com.bytetcp.finalab.common.utils;
import java.net.InetAddress;
import java.net.UnknownHostException;
import javax.servlet.http.HttpServletRequest;
/**
* 获取IP方法
*
* @author ruoyi
*/
public class IpUtils
{
public static String getIpAddr(HttpServletRequest request)
{
if (request == null)
... |
/*
* Copyright 2002-2004 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... |
/**
* 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... |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 201... |
package au.com.codeka.carrot.tmpl;
import au.com.codeka.carrot.CarrotEngine;
import au.com.codeka.carrot.CarrotException;
import au.com.codeka.carrot.Scope;
import au.com.codeka.carrot.resource.ResourcePointer;
import javax.annotation.Nullable;
import java.io.IOException;
import java.io.Writer;
import java.util.Array... |
// Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
/*
* Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package com.hevelian.olastic.core.elastic.pagination;
/**
* Sort option for queries. You have to provide at least a list of properties to
* sort for that must not include {@literal null} or empty strings. The
* direction defaults to {@link Sort#DEFAULT_DIRECTION}.
*
* @author rdidyk
*/
public class Sort {
... |
/**************************************************************************
* alpha-Forms: self-editable formulars in form of an active document
* (originally for the alpha-Flow project)
* ==============================================
* Copyright (C) 2009-2012 by
* - Christoph P. Neumann (http://www.chr15t0ph.... |
package parouimpar;
import java.util.Scanner;
public class VerificaParOuImpar {
private int num;
public void pegaValor() {
Scanner lerTeclado = new Scanner(System.in);
System.out.printf("Digite um número inteiro para verificar se ele é par ou ímpar: ");
this.num = lerTeclado.nextI... |
package com.liang.algo.common;
public class Fib {
public int fib(int n) {
if (n == 0) {
return 0;
}
if (n == 1) {
return 1;
}
int pre = 0, cur = 1, temp;
for (int i = 2; i <= n; i ++) {
temp = cur;
cur = (cur + pre) % 1... |
package dialight.misc;
import org.bukkit.ChatColor;
import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;
/**
* Created by DiaLight on 16.03.2016.
*/
public class Colorizer_old {
public static String apply(String format) {
format = format.replaceAll("\\|r\\|", ChatColor.RED... |
/**
* 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.example.dell.cleancare;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Andr... |
/**
* Copyright (c) 2015 Intel Corporation
*
* 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 com.securionpay.response;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.securionpay.enums.ErrorCode;
import com.securionpay.enums.ErrorType;
import java.util.HashMap;
import java.util.Map;
import static com.securionpay.util.SecurionPayUt... |
/*
* copyright© 2018 ueyudiud
*/
package equ.compiler;
/**
* @author ueyudiud
*/
public interface ILexeme
{
EnumLexType type();
String display();
String stringValue();
int charsLength();
char[] charsValue();
void copyValue(char[] desc, int descPos);
boolean boolValue();
char charValue();
i... |
package com.reactnativecommunity.rctaudiotoolkit;
import android.content.Context;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.media.PlaybackParams;
import android.media.AudioAttributes;
import android.media.AudioAttributes.Builder;
import android.os.Build;
import android.os.Envi... |
package com.ltsllc.miranda.servlet.event;
import com.ltsllc.miranda.Panic;
import com.ltsllc.miranda.Results;
import com.ltsllc.miranda.clientinterface.MirandaException;
import com.ltsllc.miranda.clientinterface.basicclasses.Event;
import com.ltsllc.miranda.miranda.Miranda;
import com.ltsllc.miranda.property.MirandaPr... |
package com.dd;
import com.intellij.ide.projectView.PresentationData;
import com.intellij.ide.projectView.ViewSettings;
import com.intellij.ide.projectView.impl.nodes.PsiFileNode;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiFile;
class FoldingNode extends PsiFileNode {
private String m... |
/******************************************************************************
* Compilation: javac DirectedCycleX.java
* Execution: java DirectedCycleX V E F
* Dependencies: Queue.java Digraph.java Stack.java
*
* Find a directed cycle in a digraph, using a nonrecursive, queue-based
* algorithm. Runs in... |
package com.ruoyi.web.controller.student;
import java.util.List;
import com.ruoyi.system.domain.StuPerfor;
import com.ruoyi.system.service.IStuPerforService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereoty... |
package com.andev.framework.data.number;
/**
* detail: 数量操作接口
* @param <R> 泛型
* @author Ttt
*/
public interface INumberOperate<R> {
/**
* 判断当前数量是否等于最小值
* @return {@code true} yes, {@code false} no
*/
boolean isMinNumber();
/**
* 判断数量是否等于最小值
* @param number Number
* @retu... |
/*
* Copyright 2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.custom.configure.ui;
import org.eclipse.emf.common.command.CompoundCommand;
import org.eclipse.emf.edit.command.AddCommand;
import org.eclipse.emf.edit.command.RemoveCommand;
import org.eclipse.emf.edit.command.SetCommand;
import org.eclipse.emf.transaction.Tran... |
/*
* Copyright 2013-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 testdemo;
import java.io.IOException;
import vrptw.algorithm.solomoninsertion.SolomonInsertion;
import vrptw.problem.Vrptw;
/**
* Solomon Insertion Algorithm Test.
*
* @author Xiong Wangqi
* @version V1.0
* @since JDK1.8
*/
public class SolomonInsertionDemo {
public static void main(String[] args... |
package com.luizalabs.http.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Getter;
@Builder
@Getter
public class MetaDataDTO {
@JsonProperty("page_size")
private int pageSize;
@JsonProperty("page_number")
private int pageNumber;
} |
package org.egov.waterconnection.service;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Optional;
import org.egov.common.contract.request.RequestInfo;
import org.egov.tracer.model.CustomException;
import org.egov.waterconnection.config.WSConfig... |
/*
* ====================================================================
* 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 ru.job4j.board;
/**
* @author vsokolov
* @version $Id$
* @since 0.1
*/
public abstract class Figure {
final Cell position;
Figure(Cell position) {
this.position = position;
}
abstract Cell[] way(Cell start, Cell dest) throws ImpossibleMoveException;
abstract Figure copy(Cell dest);
abstra... |
package org.egov.edcr.feature;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import org.egov.common.entity.edcr.Block;
import org.egov.common.entity.... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
package org.apereo.cas.uma.ticket.rpt;
import org.apereo.cas.support.oauth.OAuth20Constants;
import org.apereo.cas.support.oauth.OAuth20ResponseTypes;
import org.apereo.cas.support.oauth.services.OAuthRegisteredService;
import org.apereo.cas.support.oauth.web.endpoints.OAuth20ConfigurationContext;
import org.apereo.ca... |
package org.jboss.errai.ioc.client;
import com.cloderia.helion.client.local.inventoryitem.InventoryitemEditor;
import com.cloderia.helion.client.local.inventoryitem.InventoryitemPresenter;
import com.cloderia.helion.client.local.inventoryitem.ListInventoryitemPage;
import com.cloderia.helion.client.local.ui.CreateEnti... |
package com.vlntdds.bottombar;
import android.os.Build;
import android.support.annotation.NonNull;
import android.support.design.widget.CoordinatorLayout;
import android.support.design.widget.Snackbar;
import android.support.v4.view.ViewCompat;
import android.support.v4.view.ViewPropertyAnimatorCompat;
import android.... |
package com.ke.css.cimp.fum.fum6;
/* -----------------------------------------------------------------------------
* Rule_SLAC.java
* -----------------------------------------------------------------------------
*
* Producer : com.parse2.aparse.Parser 2.5
* Produced : Mon Mar 05 14:07:52 KST 2018
*
* -----------... |
/*
* 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... |
/*
* This file is generated by jOOQ.
*/
package top.zbeboy.isy.domain.tables.daos;
import java.util.List;
import javax.annotation.Generated;
import org.jooq.Configuration;
import org.jooq.impl.DAOImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
... |
package org.clever.quartz.controller;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.clever.common.server.controller.BaseController;
import org.clever.quartz.dto.request.FindJobDetailReq;
import org.clever.quartz.dto.reques... |
package rishabh.mvpandroid.di.qualifiers;
import javax.inject.Qualifier;
/**
* 19/5/17.
*/
@Qualifier
public @interface ApplicationContext {
} |
package dkms.action.dkmsContentItem.categories;
import kiwi.api.content.ContentItemService;
import kiwi.api.search.KiWiSearchResults.SearchResult;
import kiwi.model.Constants;
import kiwi.model.content.ContentItem;
import kiwi.model.kbase.KiWiResource;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotation... |
package dev.kurama.api.core.rest.hateoas;
import static dev.kurama.api.core.authority.AdminAuthority.ADMIN_ROLE_MANAGEMENT_ROOT;
import static dev.kurama.api.core.authority.AdminAuthority.ADMIN_USER_MANAGEMENT_ROOT;
import static dev.kurama.api.core.authority.AuthorityAuthority.AUTHORITY_READ;
import static dev.kurama... |
/**
* Copyright 2018 Dynatrace LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package one.microproject.authx.service.tests.service;
import one.microproject.authx.service.service.impl.UrlMapper;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import java.util.stream.Stream;
import stat... |
package pro.chukai.web.enumerate;
/**
* 日志级别枚举
*
* @author chukai1
*/
public enum LogLevel {
ERROR(0, "error"), INFO(1, "info");
private int value;
private String desc;
private LogLevel(int value, String desc) {
this.value = value;
this.desc = desc;
}
public int getValue()... |
// Targeted by JavaCPP version 1.5.7: DO NOT EDIT THIS FILE
package org.bytedeco.ngraph;
import org.bytedeco.ngraph.Allocator;
import org.bytedeco.ngraph.Function;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.ngraph.global.ngraph.*;
@Propert... |
// 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... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright 2009-2020 Tilmann Zaeschke
*
* 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 net.foulest.kitpvp.cmds;
import net.foulest.kitpvp.data.PlayerData;
import net.foulest.kitpvp.region.Regions;
import net.foulest.kitpvp.util.ItemBuilder;
import net.foulest.kitpvp.util.MessageUtil;
import net.foulest.kitpvp.util.command.Command;
import net.foulest.kitpvp.util.command.CommandArgs;
import org.bu... |
package com.bugvm.bouncycastle.asn1.eac;
import com.bugvm.bouncycastle.asn1.ASN1ObjectIdentifier;
public interface EACObjectIdentifiers
{
// bsi-de OBJECT IDENTIFIER ::= {
// itu-t(0) identified-organization(4) etsi(0)
// reserved(127) etsi-identified-organization(0) 7
// }
sta... |
package example.com.playandroid.util;
import android.content.Context;
import android.widget.ImageView;
import com.youth.banner.loader.ImageLoader;
import example.com.playandroid.GlideApp;
import example.com.playandroid.R;
/**
* @author Richard_Y_Wang
* @des 2018/9/26 21:10
*/
public class GlideImageLoader extend... |
/*
* Copyright (C) ExBin 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 applicable law or agreed to... |
/***************************************************************************************************
Tencent is pleased to support the open source community by making RapidView available.
Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
Licensed under the MITLicense (the "License"); you ma... |
package com.frontbackend.libraries.mockito;
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;
import java.util.ArrayList;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.times;
class MockitoMockMethodTest {
@Test
void shouldAddItemsToList() {
@Su... |
/*
* The MIT License (MIT)
* Copyright © 2019-2020 <sky>
*
* 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, ... |
/*-
* #%L
* org.corpus_tools.hexatomic.core
* %%
* Copyright (C) 2018 - 2020 Stephan Druskat,
* Thomas Krause
* %%
* 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 ... |
/*
* 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... |
package com.icegreen.greenmail.util;
import org.junit.Test;
import java.util.Random;
import static org.assertj.core.api.Assertions.assertThat;
public class MaxSizeLinkedHashMapTest {
private static final int TEST_MAX_SIZE = 8;
private MaxSizeLinkedHashMap<Integer, Integer> map = new MaxSizeLinkedHashMap<>(T... |
package com.atguigu.glimall.product.dao;
import com.atguigu.glimall.product.entity.SpuInfoDescEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* spu信息介绍
*
* @author weixun
* @email weixun1655@gmail.com
* @date 2021-02-15 12:19:58
*/
@Mapper
public... |
package com.gempukku.swccgo.cards.set5.dark;
import com.gempukku.swccgo.cards.AbstractLostInterrupt;
import com.gempukku.swccgo.cards.GameConditions;
import com.gempukku.swccgo.common.Icon;
import com.gempukku.swccgo.common.Side;
import com.gempukku.swccgo.common.Uniqueness;
import com.gempukku.swccgo.filters.Filter;
... |
/*
* 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.gitlab.ctt.arq.util;
import com.gitlab.ctt.arq.analysis.aspect.util.HyperTreeEval;
import com.gitlab.ctt.arq.core.BatchProcessor.BailException;
import com.gitlab.ctt.arq.sparql.SparqlGraph;
import com.gitlab.ctt.arq.utilx.LabeledEdge;
import com.gitlab.ctt.arq.utilx.Resources;
import fj.data.Either;
import... |
/**
* Copyright (c) Dell Inc., or its subsidiaries. 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 ... |
/*
* Copyright 2020 Dmitry Ustalov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
/**
* Copyright (C) 2006-2021 Talend Inc. - www.talend.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 appli... |
// This is a generated file. Not intended for manual editing.
package nl.hannahsten.texifyidea.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
... |
package com.c2b.coin.sanchain.entity;
import lombok.Data;
import lombok.ToString;
@Data
@ToString
public class DigitalCoin {
private Integer id;
private String coinName;
private String coinFullName;
private Integer isEnabled;
private Long createTime;
private Long updateTime;
private ... |
package ru.job4j.converter;
public class Converter {
/**
* Конвентируем рубли в евро.
* @param value рубли.
* @return евро.
*
*/
public int rubleToEuro(int value) {
return value / 70;
}
/**
* Конвентируем евро в рубли.
* @param value рубли.
* @return евр... |
package virtualcamera.models;
import org.codehaus.jackson.annotate.JsonProperty;
import static virtualcamera.Config.Z_OFFSET;
/**
* Created by Maciej Sady on 14-Oct-17.
* VirtualCamera
*/
class Rectangle extends Model {
Rectangle(@JsonProperty("start_x") float startX,
@JsonProperty("sta... |
// Copyright (c) 2002-2014 JavaMOP Team. All Rights Reserved.
/*
* Copyright (C) 2007 Julio Vilmar Gesser.
*
* This file is part of Java 1.5 parser and Abstract Syntax Tree.
*
* Java 1.5 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.