text stringlengths 7 995k |
|---|
/**
* Copyright 2020. Huawei Technologies Co., Ltd. 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 com.lixin.litemall.db.domain;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;
public class LitemallCouponUser {
public static final Boolean IS_DELETED = Deleted.IS_DELETED.value();
public static final Boolean NOT_DE... |
package me.ramswaroop.arrays;
/**
* Created by IntelliJ IDEA.
*
* @author: ramswaroop
* @date: 7/31/15
* @time: 10:02 AM
*/
public class MajorityElementInSortedArray {
/**
* Checks if {@param n} is a majority element in array {@param a}
* by performing a binary search.
* <p/>
* Time comp... |
package com.pandama.picdemo.config;
import com.pandama.picdemo.aop.logging.LoggingAspect;
import io.github.jhipster.config.JHipsterConstants;
import org.springframework.context.annotation.*;
import org.springframework.core.env.Environment;
@Configuration
@EnableAspectJAutoProxy
public class LoggingAspectConfigurati... |
/*
* Bluetooth IO class.
*
* Much of the code comes from here:
* https://github.com/luugiathuy/Remote-Bluetooth-Android
*
* And here:
* http://developer.android.com/guide/topics/connectivity/bluetooth.html
*
* Hazen 03/14
*/
package org.hbabcock.adbtm;
import java.io.IOException;
import java.io.Inp... |
/*******************************************************************************
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. ComicGenie licenses this
* file to you under the Apache License, Version 2.0 (the "License");
* you may not use this file e... |
package com.acerbisgianluca.ganttproject.gui;
import com.acerbisgianluca.filemanager.FileManager;
import com.acerbisgianluca.ganttproject.exceptions.CannotCheckVersionException;
import com.acerbisgianluca.ganttproject.exceptions.TaskAlreadyExistsException;
import com.acerbisgianluca.ganttproject.exceptions.TaskNotFoun... |
package com.mtcarpenter.mall.dto;
import io.swagger.annotations.ApiModelProperty;
/**
* 产品查询参数
* Created by macro on 2018/4/27.
*/
public class PmsProductQueryParam {
@ApiModelProperty("上架状态")
private Integer publishStatus;
@ApiModelProperty("审核状态")
private Integer verifyStatus;
@ApiModelProper... |
public int getF() {
return f;
} |
package com.silence.robot.domain.freemarker;
import java.util.List;
/**
* TODO
*
* @author silence
* @date 2021/9/5
*/
public class FreeMarkerDto {
private String name;
private Integer port;
private String uri;
private List<FreeMarkerBodyDto> bodys;
private List<FreeMarkerArrayDto> arrays;
... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: io/grpc/testing/integration/messages.proto
package io.grpc.testing.integration;
public final class Messages {
private Messages() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
pu... |
package model;
import java.io.Serializable;
/**
* A Qubit in a circuit.
*
* @author cdberkstresser
*
*/
public final class Qubit implements Serializable {
/** Serializable ID. */
private static final long serialVersionUID = 6049197754054542798L;
/** The first value of the matrix for this qubit. */
private C... |
package com.panelcomposer.business.procedure;
import com.panelcomposer.model.panel.configuration.operation.ParameterType;
public class ProcedureParameter {
protected ParameterType type;
protected Object value;
public ProcedureParameter() {
}
public ProcedureParameter(ParameterType type, Object value) {
supe... |
package com.sequenceiq.cloudbreak.domain.environment;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
@Entity
@DiscriminatorValue("AWS")
public class AwsNetwork extends BaseNetwork {
private String vpcId;
public String getVpcId() {
return vpcId;
}
public void se... |
/*
* Copyright © 2018-2019 Apple Inc. and the ServiceTalk 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 obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
/*
* Copyright 1999-2017 Alibaba Group.
*
* 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 a... |
/*
* Java Genetic Algorithm Library (@__identifier__@).
* Copyright (c) @__year__@ Franz Wilhelmstötter
*
* 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/... |
/* Copyright 2010-2020 Norconex 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... |
/*
* 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 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vcs.changes.committed;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.util.EmptyRunnable;
import com.intelli... |
/*
* 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 permisosserver;
import java.util.Scanner;
import java.util.ArrayList;
public class Binario {
public Str... |
/*-
* ============LICENSE_START=======================================================
* SDC
* ================================================================================
* Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
* ===================================================================... |
/*
Copyright 2001,2003 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 License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applica... |
/*
* CapabilityMethods
* Connect SDK
*
* Copyright (c) 2014 LG Electronics.
* Created by Hyun Kook Khang on 19 Jan 2014
*
* 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
*
* ht... |
//----------------------------------------------------
// The following code was generated by CUP v0.11a beta 20060608
// Sun Apr 23 17:59:17 CEST 2017
//----------------------------------------------------
import java_cup.runtime.*;
/** CUP v0.11a beta 20060608 generated parser.
* @version Sun Apr 23 17:59:17 CEST... |
package org.acme.services;
import javax.enterprise.context.ApplicationScoped;
import org.eclipse.microprofile.config.inject.ConfigProperty;
import twitter4j.conf.ConfigurationBuilder;
@ApplicationScoped
public class TwitterConfigurationService {
@ConfigProperty(name = "twitter.config.debug.enable")
boolean ... |
import java.io.*;
import java.util.Scanner;
public class Access {
public void report(){
//parsing a CSV file into Scanner class constructor
try{
Scanner sc = new Scanner(new File("test.csv"));
sc.useDelimiter(",");
while (sc.hasNext()){ //returns a boolean value
System.out.print(sc.next()... |
package edu.gatech.gtri.trustmark.v1_0.impl.io.adio.codecs;
import edu.gatech.gtri.trustmark.v1_0.impl.io.adio.AbstractDocumentInputContext;
import edu.gatech.gtri.trustmark.v1_0.impl.io.adio.AbstractDocumentInputDeserializer;
import edu.gatech.gtri.trustmark.v1_0.impl.io.adio.AbstractDocumentOutputContext;
import edu... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2011, 2012, 2013, 2014, 2016 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,
* versi... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
AGPL licensi... |
/*
* Copyright 2014 - 2022 Blazebit.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/*
* Copyright 2002-2016 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 ap... |
package com.cloudin.commons.langs;
import org.apache.commons.lang3.StringUtils;
import java.math.BigDecimal;
/**
* BigDecimal扩展功能
*
* @author 小天
* @version 1.0.0, 2017/10/25 0025 15:51
*/
public class BigDecimals {
/**
* 100
*/
public final static BigDecimal ONE_HUNDRED = new BigDecimal(100);
/**
* ... |
// This class was generated on Mon, 16 Dec 2019 21:04:40 IST by version 0.1.0-dev+904328-dirty of Braintree SDK Generator
// PayoutsPostRequest.java
// @version 0.1.0-dev+904328-dirty
// @type request
// DO NOT EDIT
package com.paypal.payouts;
import com.paypal.http.HttpRequest;
/**
* Creates a batch payout. In the ... |
package com.mapbox.services.android.navigation.testapp.example.ui.callout;
import com.google.gson.JsonObject;
import com.mapbox.geojson.Feature;
import com.mapbox.geojson.Point;
public class ExampleCallout {
public static final String KEY_ID = "callout_id";
private static final String KEY_TEXT = "callout_text";
... |
package com.ubergeek42.WeechatAndroid.utils;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import android.text.Spannable;
import android.text.Spanned;
im... |
/*
* Copyright 2015-2020 OpenCB
*
* 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 ... |
package org.yfli1.example.controller;
import org.yfli1.example.entity.User;
import org.yfli1.example.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/example")
@Sl... |
package com.ethan.sort;
import java.util.Arrays;
import java.util.Random;
/**
* @className: RadixSortDemo
* @author: Ethan
* @date: 8/7/2021
**/
public class RadixSortDemo {
public static void main(String[] args) {
// int[] arr = {53, 3, 542, 748, 14, 214};
int[] arr = new int[8000_000];
... |
/*
* Copyright (c) 2002-2019, the original author or authors.
*
* This software is distributable under the BSD license. See the terms of the
* BSD license in the documentation provided with this software.
*
* https://opensource.org/licenses/BSD-3-Clause
*/
package org.jline.builtins;
import java.io.File;
import... |
package cz.muni.ics.oidc.web.controllers;
import cz.muni.ics.oidc.server.PerunScopeClaimTranslationService;
import cz.muni.ics.oidc.server.configurations.PerunOidcConfig;
import cz.muni.ics.oidc.server.userInfo.PerunUserInfo;
import cz.muni.ics.oidc.web.WebHtmlClasses;
import cz.muni.ics.oidc.web.langs.Localization;
... |
package org.linlinjava.litemall.db.service;
import com.github.pagehelper.PageHelper;
import org.linlinjava.litemall.db.dao.CsOptionMapper;
import org.linlinjava.litemall.db.domain.CsOption;
import org.linlinjava.litemall.db.domain.CsOptionExample;
import org.springframework.stereotype.Service;
import org.springframewo... |
package com.xinfan.msgbox.service.dao.entity;
import java.util.ArrayList;
import java.util.List;
public class ClientTypeExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public ClientTypeExample() {
oredCriteria = new ArrayList<Crit... |
/*
* Copyright 2017 ThoughtWorks, 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 agr... |
package com.redhat.idaas.datasynthesis.models;
import java.sql.Timestamp;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax... |
/*
* Copyright (c) 2010-2021 William Bittle http://www.dyn4j.org/
* 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 retain the above copyright ... |
package cn.wanru.im.protocol.base;
/**
* @author xxf
* @since 2019/10/19
*/
public abstract class ProtocolUtils {
private static final int URI_OFFSET = Protocol.FILED_LEN;
private static final int CHANNEL_OFFSET = Protocol.FILED_LEN + Protocol.FIELD_URI;
public static short getLen(byte[] bytes) {
... |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
/*
* DISCLAIMER
* Copyright 2019 ArangoDB GmbH, Cologne, Germany
*
* 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... |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.wso2.integrationstudio.gmf.esb.provider;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.IEditingDomainItemPro... |
/*
* 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... |
/*
* Copyright (c) 2016 Couchbase, 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 agr... |
package com.open.configs.domain;
import java.util.HashSet;
import java.util.Set;
public class Zkconn {
public String ip;
public String sid;
public Set<String> paths = new HashSet<String>();
public void addPath(String path){
paths.add(path);
}
public String getIp() {
return ip;
}
public void setIp(Stri... |
package com.example.broadcasttest;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;
public class MyBroadcastReceiver extends BroadcastReceiver{
@Override
public void onReceive(Context context, Intent intent) {
Toast.m... |
/*
* 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... |
package com.dream.kgbuilder.mapper;
import com.dream.kgbuilder.domain.dto.GraphNode;
import com.dream.kgbuilder.domain.dto.GraphPageRecord;
import com.dream.kgbuilder.domain.dto.GraphQuery;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public interface KGraphRepository {
/**
* 领域标签分页
*... |
/********************************************************************************
* generated by de.acegen
********************************************************************************/
package com.anfelisa.category.commands;
import de.acegen.Command;
import de.acegen.CustomAppConfiguration;
import de.acegen.... |
package net.minecraft.client.renderer.tileentity;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder;
import net.minecraft.client.renderer.IRenderTypeBuffer;
import net.minecraft.client.renderer.RenderType;
import net.minecraft.client.renderer.entity.model.BookModel;
import n... |
package com.ma;
import com.ma.config.App;
import com.ma.service.WebQueryLogService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.web.servlet.DispatcherServlet;
public class bootStrap {
public sta... |
package com.breadwallet.presenter.activities.settings;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log;
import android.view.View;
import android.widget.ImageButton;
import com.breadwallet.R;
import com.breadwallet.presenter.activities.util.BRActivity;
public abstract cla... |
package array;
import java.util.Arrays;
public class QueryCounter {
final int SIZE = 60 * 60; // seconds in one hour
int[] arr = new int[SIZE];
int hour = 0;
int minute = 0;
long last = 0;
long currSecond() {
return System.currentTimeMillis() / 1000;
}
long clear() {
... |
/**
* 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.hl7.fhir.r4.model.codesystems;
/*
Copyright (c) 2011+, HL7, Inc.
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 retain the above copyr... |
package us.tlatoani.webskt.events;
import org.java_websocket.WebSocket;
import us.tlatoani.webskt.classes.WebSKTServer;
/**
* Created by Tlatoani on 5/5/17.
*/
public class WebSocketErrorEvent extends WebSocketEvent {
public final Exception error;
public WebSocketErrorEvent(WebSocket webSocket, Exception e... |
package org.ballerinalang.tests.connectors.rdbms.operations.select;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpStatus;
import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.commons.httpclient.methods.StringRequestEntity;
import org.apache.commons.logg... |
package com.uphyca.android;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import com.uphyca.support.v4.database.sqlite.SQLiteOpenHelperCompat;
public class ExampleSQLiteOpenHelper extends SQLiteOpenHelperCompat {
private static final String CREATE_TABLE = "create table example(_... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
/*
* 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.sanri.tools.modules.redis.service.dtos;
import java.lang.reflect.Field;
import java.util.*;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.math.NumberUtils;
import com.sanri.tools.module... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright (c) 2008-2013, 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 ... |
/**
* Copyright 2016 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
package com.mapswithme.maps.gallery.impl;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.mapswithme.maps.R;
import com.mapswithme.maps.gallery.Holders;
import com.mapswithme.maps.gallery.I... |
/*
* 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... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package com.study.yang.lifehelper.presenter;
import com.study.yang.lifehelper.contract.VoiceContract;
/**
* Created by Administrator on 2017/04/10
*/
public class VoicePresenterImpl implements VoiceContract.Presenter{
} |
package com.icthh.xm.ms.entity.domain.spec;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Data;
import java.util.Map;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({ "... |
/*
* Copyright 2019, OpenTelemetry Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/*
* @(#)gl_cp_color_clipping.java 0.4 99/12/03
*
* jGL 3-D graphics library for Java Copyright (c) 1997-1999 Robin Bing-Yu Chen
* (robin@is.s.u-tokyo.ac.jp)
*
* This library is free software; you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the ... |
package marchsoft.modules.system.controller;
import cn.hutool.core.util.ObjectUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import marchsoft.base.PageVO;
import marchsoft.exception.BadRequestException;
impo... |
/*
* 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... |
/*
* Copyright (c) 2019-2029, Dreamlu 卢春梦 (596392912@qq.com & dreamlu.net).
*
* 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 com.stardust.autojs.apkbuilder.util;
/**
* Created by Stardust on 2017/10/23.
*/
public interface BoolFunction<T> {
boolean accept(T t);
} |
/*
* Copyright (c) 2020 VideoGameSmash12
* 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 retain the above copyright notice, this
* list of condi... |
import org.testng.annotations.DataProvider;
public class DataProviderClass
{
@DataProvider(name = "data-provider")
public static Object[][] dataProviderMethod()
{
return new Object[][] { { "data one" }, { "data two" } };
}
} |
package org.intermine.bio.webservice;
/*
* Copyright (C) 2002-2014 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/less... |
package moviles.guiass.ui.views.nextSteps;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import co... |
package org.graphwalker.java.annotation;
/*
* #%L
* GraphWalker Java
* %%
* Copyright (C) 2005 - 2014 GraphWalker
* %%
* 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 restric... |
// --------------------------------------------------------------------------------
// Copyright 2002-2021 Echo Three, 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:/... |
package com.inmobi.commons.core.utilities.a;
import com.inmobi.commons.core.b.c;
// compiled from: EncryptionDao.java
public class a {
private c a;
public static String a() {
return c.a("aes_key_store");
}
public a() {
this.a = c.b("aes_key_store");
}
public void a(String st... |
/*
* 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... |
/*
* 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... |
package com.unlucky.ui.battleui;
import com.badlogic.gdx.math.MathUtils;
import com.unlucky.entity.enemy.Boss;
import com.unlucky.entity.enemy.Enemy;
import com.unlucky.battle.StatusEffect;
import com.unlucky.entity.Player;
import com.unlucky.event.*;
import com.unlucky.inventory.Item;
import com.unlucky.map.TileMap;
... |
package org.quizGen.shasha.utilities;
import android.content.Context;
import org.quizGen.shasha.ToolkitApplication;
import org.quizGen.shasha.model.Template;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
/**
* @brief Class for extracting .buildmlearn file from apk.
*/
public class ... |
/*
* Copyright 2016-present Open Networking 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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
package com.example.translatethis.main.discover.view;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ImageView;
im... |
/**
* Licensed to WibiData, Inc. under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. WibiData, Inc.
* licenses this file to you under the Apache License, Version 2.0
* (the "License"); you may not use this ... |
package org.wildfly.extras.creaper.commands.datasources;
import org.wildfly.extras.creaper.commands.foundation.offline.xml.GroovyXmlTransform;
import org.wildfly.extras.creaper.commands.foundation.offline.xml.Subtree;
import org.wildfly.extras.creaper.core.CommandFailedException;
import org.wildfly.extras.creaper.core... |
package in.ashwanik.tests.definitions.contexts;
import in.ashwanik.tests.models.RestResponse;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import okhttp3.Headers;
/**
*/
@Getter
@Setter
@ToString
public class HttpResponseContext {
private int responseCode;
private String responseBody;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.