text stringlengths 7 995k |
|---|
package vest.doctor.tuple;
import java.util.function.Predicate;
/**
* Extension of the standard {@link Predicate} to support simplified syntax when working with tuples.
*/
@FunctionalInterface
public interface Tuple5Predicate<A, B, C, D, E> extends Predicate<Tuple5<A, B, C, D, E>> {
default boolean test(Tuple5<... |
package com.example.myfeed;
import java.io.*;
import android.database.Cursor;
import android.os.AsyncTask;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.DefaultItemAnimator;
import androidx.recyclerview.widget.LinearLayoutManager ;
import androidx.recycl... |
/*
* Copyright 2012 brands4friends, Private Sale 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 applic... |
package org.springframework.core.io.support;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.function.Supplier;
import java.util.stream.Collectors;
import org.apache.commons.logging.Log;
import org.springframework.lang.Nullable;
import org.springframework.nativex.subs... |
/*
* Copyright 2015 Adaptris Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package csdev.couponstash.logic.commands;
import static csdev.couponstash.logic.commands.CommandTestUtil.assertCommandSuccess;
import org.junit.jupiter.api.Test;
import csdev.couponstash.model.Model;
import csdev.couponstash.model.ModelManager;
import csdev.couponstash.testutil.MoneySymbolStub;
import csdev.couponst... |
/*
* Copyright (C) 2019 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause
*/
package com.intel.dcsg.cpg.performance;
/**
*
* NOTE: "current" means the number of steps currently COMPLETED, so when
* getCurrent() == getMax() the job must be done already, not working on the
* last step. Conversely, when ge... |
package io.github.shiruka.protocol.packet;
import io.github.shiruka.protocol.common.MinecraftPacket;
import io.github.shiruka.protocol.common.PacketHandler;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
i... |
package cn.threefishes.cloudrepository.entity;
import java.util.ArrayList;
import java.util.List;
public class BrandExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public BrandExample() {
oredCriteria = new ArrayList<>();
}
... |
package in.succinct.mandi.extensions;
import com.venky.swf.db.extensions.BeforeModelValidateExtension;
import in.succinct.mandi.db.model.Item;
import in.succinct.mandi.util.CompanyUtil;
public class BeforeValidateItem extends BeforeModelValidateExtension<Item> {
static {
registerExtension(new BeforeValid... |
package org.jboss.resteasy.test.core.basic;
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.client.jaxrs.ResteasyClient;
import javax.ws.rs.client.ClientBuilder;
import org.jbo... |
/*
* 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 ma... |
package com.panpan.hantaimi.utils;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.os.Build;
import android.support.annotation.ColorInt;
import android.support.annotation.FloatRange;
import android.support.v4.view.ViewCompa... |
package de.tum.in.www1.artemis.service;
import static java.util.stream.Collectors.*;
import java.util.*;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import de.tum.in.www1.artemis.domain.TextBlo... |
/*
* 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 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package io.connectedhealth_idaas.eventbuilder.converters.ccda.transform.entry.impl;
import java.util.List;
import org.hl7.fhir.r4.model.Bundle;
import org.hl7.fhir.r4.model.CodeableConcept;
import org.hl7.fhir.r4.model.Device;
import org.hl7.fhir.r4.model.Organization;
import org.hl7.fhir.r4.model.Practitioner;
impor... |
/*
* Copyright 2014 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 kawa.standard;
import gnu.expr.Declaration;
import gnu.expr.Expression;
import gnu.expr.ModuleExp;
import gnu.expr.QuoteExp;
import gnu.expr.ScopeExp;
import gnu.expr.SetExp;
import gnu.lists.LList;
import gnu.lists.Pair;
import gnu.mapping.Symbol;
import java.util.Vector;
import kawa.lang.Syntax;
import kawa.... |
package net.glowstone.io.entity;
import java.util.stream.Collectors;
import net.glowstone.entity.projectile.GlowArrow;
import net.glowstone.entity.projectile.GlowTippedArrow;
import net.glowstone.inventory.GlowMetaPotion;
import net.glowstone.util.nbt.CompoundTag;
import org.bukkit.Color;
import org.bukkit.Location;
i... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 商家营销投放领域--代理的商户信息
*
* @author auto create
* @since 1.0, 2021-12-20 16:29:00
*/
public class DeliveryAgencyMerchantInfo extends AlipayObject {
private static final long serialVersionUID = 84... |
package it.univaq.disim.mobile.myunivaq.business.impl.repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import it.univaq.disim.mobile.myunivaq.domain.CorsoDiLaurea;
public interface CorsoDiLaureaRepository extends JpaRepository<CorsoDiLaurea, Long>{
} |
/*
* Copyright 2019 Arcus 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 a... |
package cn.saberking.jvav.apm.common.core.domain.model;
import cn.saberking.jvav.apm.common.core.domain.entity.SysUser;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import java.util.Coll... |
/*
* 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 2018 The Data Transfer 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
package netclipper.networking;
public enum Methods { PUB_KEY, STRING, FILE_START, FILE_PART, FILE_END } |
package com.android.nfcexclusive.nfcexclusive;
import android.nfc.Tag;
import android.nfc.tech.IsoDep;
import android.util.Log;
import java.io.IOException;
/**
* Created by c0de on 21.05.2017.
*/
public class isodepclass {
public static String[] read(Tag tag) {
String str = "";
int secetor=0;
... |
package com.dcits.ensemble.om.model.table;
import lombok.Getter;
import lombok.Setter;
/**
* Created by zjy on 2019/02/15.
*/
@Getter
@Setter
public class ColumnHeard {
public ColumnHeard(String code, String title) {
this.code = code;
this.title = title;
}
String code;
String title;
... |
package com.nix.jingxun.addp.rpc.server.handler;
import com.alibaba.fastjson.JSON;
import com.alipay.remoting.util.RemotingUtil;
import com.alipay.remoting.util.StringUtils;
import com.nix.jingxun.addp.rpc.common.Producer2ServerRequest;
import com.nix.jingxun.addp.rpc.common.RPCMethodParser;
import com.nix.jingxun.add... |
/*
* Copyright (c) 2008-2022, 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.github.mygreen.supercsv.cellprocessor.conversion;
import com.github.mygreen.supercsv.util.ArgUtils;
/**
* 文字の幅によって区別してパディングする。
* <p>半角は長さ1、全角は長さ2としてカウントして処理します。</p>
* <p>サロゲートペアは長さ2としてカウントします。</p>
*
* @since 2.1
* @author T.TSUCHIE
*
*/
public class CharWidthPaddingProcessor extends AbstractPaddin... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package com.voxelwind.api.server.player;
/**
* Specifies how a player's message should be displayed to the client.
*/
public enum PlayerMessageDisplayType
{
RAW,
/**
* The message should be displayed in chat.
*/
CHAT,
/**
* The message should be displayed above the hotbar.
*/
TIP,
/**
* The message s... |
/*
* Copyright (c) 2010 WiYun Inc.
* Author: luma(stubma@gmail.com)
*
* For all entities this program is free software; you can redistribute
* it and/or modify it under the terms of the 'WiEngine' license with
* the additional provision that 'WiEngine' must be credited in a manner
* that can be be observed by en... |
/*
* 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 applicabl... |
// ============================================================================
//
// Copyright (C) 2006-2018 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
/*
* 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 bin.Events;
import bin.*;
import bin.BattleElements.Battle;
import bin.Prompts.TextBoxtoUltimateWeapon;
import java.awt.*;
/**
* Created by Sajid on 2016-06-16.
*/
//Royal guards attack player when he enters castle, player beats them both and then gets explanation and offer from prophet
public class E5_Roy... |
/*
* Copyright 2014-present Open Networking Laboratory
*
* 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.jme3.system.osvr.osvrclientreporttypes;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
* This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
* a tool written by <a href="http://ochafik.com/">Olivier Cha... |
package com.dji.wsbridge;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.graphics.PorterDuff;
import android.hardware.usb.UsbManager;
import android.os.Bundle;
import android.util.Log;
import android.view.Windo... |
package com.mainduelo.minigamemathematicaltable.component.view;
import android.annotation.SuppressLint;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.Button;
@SuppressLint("AppCompatCustomView")
public class ButtonTable extends Button {
private int number;
public Bu... |
/*
* Copyright 2014 Goldman Sachs.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
package cn.finder.wx.corp.response;
import cn.finder.wx.response.WeixinResponse;
public class FindAccessTokenResponse extends WeixinResponse {
private String access_token;
private long expires_in;
public String getAccess_token() {
return access_token;
}
public void setAccess_token(String access_toke... |
/*
* Certain versions of software and/or documents ("Material") accessible here may contain branding from
* Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017,
* the Material is now offered by Micro Focus, a separately owned and operated company. Any reference ... |
package com.knoldus.lagom.sample.restaurant.order.api;
import com.knoldus.lagom.sample.restaurant.menu.api.Item;
import lombok.Builder;
import lombok.Value;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.google.common.base.Precondition... |
package xyz.nkomarn.composter.server;
import org.jetbrains.annotations.NotNull;
import xyz.nkomarn.composter.Composter;
import xyz.nkomarn.composter.world.ChunkIO;
import xyz.nkomarn.composter.world.World;
import xyz.nkomarn.composter.world.generator.BetaGenerator;
import java.nio.file.Path;
import java.util.*;
impor... |
/*
* Copyright 1999-2011 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 la... |
import java.util.*;
public class S1711CountGoodMeals {
public int countPairs(int[] deliciousness) {
HashMap<Integer, Integer> cnt = new HashMap<>();
for (int d : deliciousness) {
cnt.put(d, cnt.getOrDefault(d, 0)+1);
}
int MOD = 1_000_000_007;
List<Integer> ks =... |
package com.xiujing.ysf.rest.modular.auth.converter;
/**
* 基础的传输bean
*
* @author fengshuonan
* @date 2017-08-25 15:52
*/
public class BaseTransferEntity {
private String object; //base64编码的json字符串
private String sign; //签名
public String getObject() {
return object;
}
public void ... |
package com.adafruit.bluefruit.le.connect.app;
import android.Manifest;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Fragment;
import android.app.FragmentManager;... |
package com.udacity.vehicles.api;
import com.udacity.vehicles.client.maps.MapsClient;
import com.udacity.vehicles.client.prices.PriceClient;
import com.udacity.vehicles.domain.Condition;
import com.udacity.vehicles.domain.Location;
import com.udacity.vehicles.domain.car.Car;
import com.udacity.vehicles.domain.car.Deta... |
package md5b60ffeb829f638581ab2bb9b1a7f4f3f;
public class ActionSheetRenderer
extends android.app.Dialog
implements
mono.android.IGCUserPeer,
android.view.View.OnClickListener
{
/** @hide */
public static final String __md_methods;
static {
__md_methods =
"n_cancel:()V:GetCancelHandler\n" +
"n_onAtta... |
package hmh.terminal.linux.dao.mapper.user_server;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import hmh.terminal.linux.dao.entity.LoginStatus;
import hmh.terminal.linux.dao.entity.UserS... |
package org.mrgeo.hdfs.utils;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.io.SequenceFile.CompressionType;
import org.mrgeo.core.MrGeoConstants;
import org.mrgeo.data.image.ImageInputFormatContext;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
public class ... |
/**
* 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 2020 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.huaweicloud.sdk.antiddos.v1.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.function.Consumer;
import java.util.Obje... |
package com.gykj.zhumulangma.common.mvvm.viewmodel;
import android.app.Application;
import androidx.annotation.NonNull;
import androidx.lifecycle.AndroidViewModel;
import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleObserver;
import androidx.lifecycle.OnLifecycleEvent;
import com.alibaba.android.... |
package com.github.ericdahl.dropwizard_factors.core;
import java.util.List;
public interface FactorCalculator {
List<Integer> factorize(int n);
} |
package de.siphalor.nmuk.impl.version;
import net.minecraft.client.gui.screen.option.ControlsOptionsScreen;
import net.minecraft.client.gui.screen.option.KeybindsScreen;
// this file is the same as in amecs-api. But we need it here too because NMUK is standalone
public class KeybindsScreenVersionHelper {
public sta... |
/*
* 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 not ... |
/*
* Copyright ConsenSys AG.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing... |
/*
* Copyright 2015 Austin Keener, Michael Ritter, Florian Spieß, and the JDA contributors
*
* 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... |
/*
* 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.jtrim2.concurrent;
import java.util.Arrays;
import java.util.concurrent.Callable;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import org.junit.Test;
import static org.mockito.... |
package com.streetography.stphotomap.models.geojson.geometry;
import com.streetography.stphotomap.models.geojson.interfaces.GeoJSONMultiCoordinatesGeometry;
import java.util.ArrayList;
public interface GeoJSONPolygon extends GeoJSONMultiCoordinatesGeometry {
ArrayList<GeoJSONLineString> getLinearRings();
} |
package com.gitee.sop.adminserver.api.service.param;
import com.gitee.easyopen.doc.annotation.ApiDocField;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
/**
* @author tanghc
*... |
// --------------------------------------------------------------------------------
// Copyright 2002-2022 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.tvd12.ezyfox.testing.entity;
import org.testng.annotations.Test;
import com.tvd12.ezyfox.entity.EzyArray;
import com.tvd12.ezyfox.testing.CommonBaseTest;
import static org.testng.Assert.*;
public class EzyArray3Test extends CommonBaseTest {
@Test
public void test1() {
EzyArray array = newArrayBuild... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.preferences.autofill;
import android.content.Context;
import android.view.LayoutInflater;
import android.widget.TextV... |
/*
* 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
* distribut... |
package edu.gzmu.service;
import edu.gzmu.model.SingleSelect;
import top.ibase4j.core.base.BaseService;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;
/**
* <p>
* 单项选择题 服务实现类
* </p>
*
* @author JiaYinWei
* @since 2018-04-08
*/
@Service
@CacheConfig(cach... |
module com.dlsc.gemsfx.demo {
requires javafx.web;
requires javafx.controls;
requires org.controlsfx.controls;
requires jpro.webapi;
requires fr.brouillard.oss.cssfx;
requires com.dlsc.gemsfx;
requires org.kordamp.ikonli.javafx;
requires org.kordamp.ikonli.materialdesign;
exports co... |
package org.menina.redis.adapter.extend;
import org.menina.redis.adapter.serialize.Serializer;
import org.menina.redis.adapter.serialize.json.JacksonSerializer;
/**
* author: Menina
*/
public abstract class SerializeAdapter implements Serialize{
protected Serializer serializer = new JacksonSerializer();
p... |
/*
* 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");... |
package org.ripple.bouncycastle.jcajce.provider.digest;
import org.ripple.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
import org.ripple.bouncycastle.crypto.CipherKeyGenerator;
import org.ripple.bouncycastle.crypto.digests.MD2Digest;
import org.ripple.bouncycastle.crypto.macs.HMac;
import org.ripple.bouncycastle.jcaj... |
/*
* 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 controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.fasterxml.jackson.databind.ObjectMapper;
im... |
/*
* Copyright 2000-2021 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
/*
* Copyright Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags and
* the COPYRIGHT.txt file distributed with this work.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
/*
* #%L
* %%
* Copyright (C) 2018 BMW Car IT 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 app... |
package com.elsewhat.android.slideshow.api;
import java.io.File;
import java.io.IOException;
import android.content.Context;
import android.graphics.drawable.Drawable;
/**
* Representing photos that are supplied as part of the app
*
* @author dagfinn.parnas
*
*/
public class SlideshowPhotoDrawable extends Sli... |
package org.atlasapi.remotesite.netflix;
import static com.google.common.base.Preconditions.checkNotNull;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import nu.xom.Builder;
import nu.xom.Document;
import org.apache.com... |
/*
* 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 thewrestler.ui;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.core.CardCrawlGame;
import com.meg... |
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requ... |
/*
* Copyright 2020 EPAM Systems
*
* 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 ... |
package org.odk.collect.android.widgets.utilities;
import android.app.Activity;
import android.util.Pair;
import androidx.lifecycle.MutableLiveData;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.javarosa.form.api.FormEntryPrompt;
import org.junit.Before;
import org.junit.Test;
import org.junit.run... |
package p;
import p.A.Inner2;
class Inner {
void foo() {
Inner2.Inner2Inner a;
}
} |
package com.google.android.gms.internal.ads;
import javax.annotation.ParametersAreNonnullByDefault;
@ParametersAreNonnullByDefault
/* compiled from: com.google.android.gms:play-services-ads@@19.4.0 */
public interface zzagv {
void onAppEvent(String str, String str2);
} |
package ru.job4j.tracker;
import java.util.*;
public class ConsoleInput implements Input {
private Scanner scanner = new Scanner(System.in);
@Override
public String ask(String question) {
System.out.print(question);
return scanner.nextLine();
}
@Override
public int ask(String... |
package com.yz.gulimall.product.dao;
import com.yz.gulimall.product.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* spu信息
*
* @author zhengyang
* @email zhengyang@gmail.com
* @date 2021-0... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
package com.microsoft.commondatamodel.objectmodel.persistence.modeljson;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.no... |
package tr.edu.medipol.ilerijavadata.repo;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
import tr.edu.medipol.ilerijavadata.entity.Customer;
public interface CustomerRepository extends CrudRepository<Customer, Long> {
List<Customer> findByLastName(String lastName);
Customer... |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package org.knowm.xchange.mxc;
import java.io.IOException;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import org.knowm.xchange.mxc.dto.trade.MxcTradeRequest;
import org.knowm.xchange.mxc.dto.trade.MxcTradeResponse;
@Path("/open/api/v2/order/place")
@Produces(MediaType.APPLICATION_JSON)
public interface ... |
/*
* Copyright (c) 2020. The Kathra 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.