text stringlengths 7 1.01M |
|---|
package net.karneim.pojobuilder.processor.with.builderinterface;
import java.io.File;
import net.karneim.pojobuilder.GeneratePojoBuilder;
public class Pojo2 {
public String name;
private int age;
private File file;
@GeneratePojoBuilder(withBuilderInterface = Supplier.class)
public Pojo2(File... |
package xyz.staffjoy.common.api;
import lombok.AllArgsConstructor;
import lombok.Getter;
import javax.servlet.http.HttpServletResponse;
/**
* Result Code Enum
* 把状态码封装成一个枚举对象,不用每个地方自己处理不同的状态码
* <p>
* 相比于直接返回状态码,可以简化状态的处理,统一来处理(比如返回消息)
*
* @author william
*/
@Getter
@AllArgsConstructor
public enum ResultCode {... |
package com.langyastudio.springboot.common.data.validator;
import javax.validation.groups.Default;
/**
* 更新参数类
*
* @author langyastudio
* @date 2021年09月08日
*/
public interface UpdateV extends Default
{
}
|
/*
* Copyright (c) 2008-2016, 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 ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__int_File_postinc_53d.java
Label Definition File: CWE190_Integer_Overflow__int.label.xml
Template File: sources-sinks-53d.tmpl.java
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: File Read data from file (named c:\data.txt)
... |
package io.quarkus.gradle;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import... |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* 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) 2006-2021 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... |
package controllers.admin;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Singleton;
import com.fasterxml.jackson.databind.JsonNode;
import be.objectify.deadbolt.java.actions.Group;
import be.objectify.deadbolt.java.actions.Restrict;
import errors.ValidationError;
import forms.Pr... |
/*
* Copyright (c) 2020, Zoinkwiz
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions... |
/*
* Copyright (c) 2013-2019 Cinchapi 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.example.how_old;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.o... |
package com.foodie.dto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
/**
* @Author: czely
* @Date: 2021/6/11 18:16
* @Description:
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExamStu {
pri... |
package org.synyx.urlaubsverwaltung.settings;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;... |
class Main {
public static void main(String[] args) {
Esempi();
}
private static void Esempi() {
/* Primo esempio: Albero di caratteri */
TreeRB<Character> tree = new TreeRB<Character>();
// In questo caso in insert non specifico nulla
// quindi si utilizza il metod... |
/*
* 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) 2017, 2020, Oracle Corporation and/or its affiliates.
* Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
*/
package oracle.weblogic.deploy.yaml;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.io.File;
imp... |
package com.daniel.weixin.mp.bean;
import org.testng.Assert;
import org.testng.annotations.Test;
@Test
public class WxXmlOutVoiceMessageTest {
public void test() {
WxMpXmlOutVoiceMessage m = new WxMpXmlOutVoiceMessage();
m.setMediaId("ddfefesfsdfef");
m.setCreateTime(1122l);
m.setFromUserName("from... |
package it.cn.flowtagview;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.content.res.AssetManager;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.C... |
/*
* 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 ... |
public class SwapNodesInPairs {
public static void main(String[] args) {
ListNode l1 = new ListNode(1);
Solution s = new Solution();
ListNode result1 = s.swapPairs(l1);
printList(result1);
ListNode l2 = new ListNode(2);
l1.next = l2;
ListNode result2 = s.swapPairs(l1);
printList(result2);
... |
package org.ovirt.engine.core.common.vdscommands;
import java.util.Map;
import org.ovirt.engine.core.common.utils.ToStringBuilder;
import org.ovirt.engine.core.compat.Guid;
public class AddExternalLeaseVDSParameters extends IrsBaseVDSCommandParameters {
private Guid storageDomainId;
private Guid leaseId;
... |
/*
* KitFacade.java
* Copyright 2008 Connor Petty <cpmeister@users.sourceforge.net>
*
* 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 Free Software Foundation; either
* version 2.1 of the License, or (at y... |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition... |
// SPDX-License-Identifier: MIT
package com.daimler.sechub.sereco.importer;
import java.io.IOException;
import com.daimler.sechub.sereco.ImportParameter;
import com.daimler.sechub.sereco.metadata.MetaData;
public interface ProductResultImporter {
public MetaData importResult(String json) throws IOException;
publ... |
package com.github.seratch.jslack.api.model.event;
import java.util.List;
/**
* The inner event describes an array of scopes you requested but were denied access to.
* It includes a trigger_id you may use with dialog.open or Permissions API requests.
* <p>
* https://api.slack.com/events/scope_denied
*/
public cl... |
// __BEGIN_LICENSE__
// Copyright (C) 2008-2010 United States Government as represented by
// the Administrator of the National Aeronautics and Space Administration.
// All Rights Reserved.
// __END_LICENSE__
package gov.nasa.arc.geocam.talk.service;
import android.location.Location;
import android.location.LocationL... |
/*
* #%L
* Wisdom-Framework
* %%
* Copyright (C) 2013 - 2015 Wisdom Framework
* %%
* 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... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2020 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... |
/*
* Copyright 2013-2017 Erudika. https://erudika.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... |
package net.minecraft.world.item;
public interface ItemVanishable {}
|
package example.repo;
import example.model.Customer877;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
public interface Customer877Repository extends CrudRepository<Customer877, Long> {
List<Customer877> findByLastName(String lastName);
}
|
package com.thinkeasy.offStorage;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.bridge.Callback;
import com.facebook.react.bridge.Promise;
import java.io.BufferedReader;
imp... |
/**
*
* 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"); ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE584_Return_in_Finally_Block__basic_09.java
Label Definition File: CWE584_Return_in_Finally_Block__basic.label.xml
Template File: point-flaw-09.tmpl.java
*/
/*
* @description
* CWE: 584 Return in Finally Block
* Sinks:
* GoodSink: no return in finally block
* BadSin... |
package tcc;
import java.util.Date;
import java.util.GregorianCalendar;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import tcc.flight.FlightReserv... |
package ng.openbanking.api.payload.transaction;
import java.util.List;
import lombok.Data;
@Data
public class MultipleTransfer {
private String batchId = "1";
private String numberOfTransaction = "1";
List<SingleTransfer> singleTransfer;
}
|
/*
* (C) Copyright Itude Mobile B.V., The Netherlands
*
* 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... |
/*
* Copyright 2021 ALE International
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify, merge,
* publish,... |
/*
* 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 ... |
// -*- mode: java; c-basic-offset: 2;
// Copyright 2016-2020 AppyBuilder.com, All Rights Reserved - Info@AppyBuilder.com
// https://www.gnu.org/licenses/gpl-3.0.en.html
//
// Copyright © 2017 Massachusetts Institute of Technology, All rights reserved.
// Released under the Apache License, Version 2.0
// http://www.apac... |
package co.com.bancolombia.task;
import co.com.bancolombia.exceptions.CleanException;
import co.com.bancolombia.factory.adapters.ModuleFactoryDrivenAdapter;
import org.gradle.api.Project;
import org.gradle.testfixtures.ProjectBuilder;
import org.junit.Before;
import org.junit.Test;
import java.io.File;
import java.io... |
/**
* Copyright 2013-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* <p>
* Licensed under the Amazon Software License (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
* <p>
* http://aws.amazon.com/asl/
* <p>
* or in the "l... |
/*-
* Copyright (C) 2011, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This file was distributed by Oracle as part of a version of Oracle NoSQL
* Database made available at:
*
* http://www.oracle.com/technetwork/database/database-technologies/nosqldb/downloads/index.html
*
* Please see the LICENS... |
/*
* Copyright 2017 Pok On Cheng
*
* 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 ... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
/*******************************************************************************
* Copyright 2019 Fabrizio Pastore, Leonardo Mariani
*
* 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 L... |
/**
* 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.phoenix.xml;
import android.content.res.AssetManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import com.phoenix.xml.bean.Person;
import com.phoenix.xml.service.DOMService;
import com.phoenix.xml.service.PullService;
imp... |
package de.unihamburg.sickstore.database.messages;
public class ServerResponseInsert extends ServerResponse {
@SuppressWarnings("unused")
private ServerResponseInsert() {
super();
}
public ServerResponseInsert(int clientRequestID) {
super(clientRequestID);
}
@Override
pu... |
package com.szatmary.peter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class FlywayDemoApplication {
public static void main(String[] args) {
SpringApplication.run(FlywayDemoApplication.class, args)... |
package Leetcode;
class Solution_454_4Sum2 {
public int fourSumCount(int[] A, int[] B, int[] C, int[] D) {
Map<Integer, Integer> map = new HashMap<>();
for (int i = 0; i < A.length; i++)
for (int j = 0; j < B.length; j++)
map.put(A[i] + B[j], map.getOrDefault(A[i] + B[j], 0) + 1);
int count... |
package Fabricas_abstractas;
import cliente.GUI;
public interface Asesino {
void saludar(GUI a);
void pintar();
void equipar();
}
|
package jetbrains.mps.debugger.java.runtime.engine;
/*Generated by MPS */
import jetbrains.mps.annotations.GeneratedClass;
import org.jetbrains.annotations.NotNull;
import jetbrains.mps.debugger.java.runtime.engine.events.Context;
import jetbrains.mps.debugger.java.runtime.engine.events.EventsProcessor;
@GeneratedCl... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
/*
Copyright (C) 2013-2021 Expedia Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... |
/*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... |
package com.app.library.controller.employee;
import com.app.library.model.BookOrderUnit;
import com.app.library.model.BookRental;
import com.app.library.model.BooksOrder;
import com.app.library.model.User;
import com.app.library.service.BookRentalService;
import com.app.library.service.BookUnitOrderService;
import com... |
package org.ovirt.engine.core.bll.scheduling.policyunits;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import javax.inject.Inject;
import org.ovirt.engine.core.bll.scheduling.PolicyUnitImpl;
import org.ovirt.engine.core.bll.scheduling.SchedulingCon... |
/*
* 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 eu.smartdatalake.simsearch.pivoting.rtree.internal;
import java.util.List;
//import com.github.davidmoten.guavamini.Preconditions;
import eu.smartdatalake.simsearch.pivoting.rtree.Context;
import eu.smartdatalake.simsearch.pivoting.rtree.Entry;
import eu.smartdatalake.simsearch.pivoting.rtree.Node;
import eu.... |
package module194packageJava0;
import java.lang.Integer;
public class Foo1 {
Integer int0;
public void foo0() {
new module194packageJava0.Foo0().foo3();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
}
|
/*
* Copyright (c) 2009, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: ... |
/*
* Copyright (c) 2008-2015, 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 pokecube.nbtedit.gui;
import net.minecraft.util.SharedConstants;
import pokecube.nbtedit.NBTStringHelper;
public class CharacterFilter
{
public static String filterAllowedCharacters(final String str, final boolean section)
{
final StringBuilder sb = new StringBuilder();
final char[] ar... |
/**
* Copyright 2018-2020 stylefeng & fengshuonan (https://gitee.com/stylefeng)
* <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>
* http://www.apache.org/licenses/LICENSE-2.0
... |
package com.github.zxh.classpy.gui.support;
import java.net.URL;
import java.util.Arrays;
public class FileTypeInferer {
private static final byte[] wasmMagicNumber = {0, 'a', 's', 'm'};
private static final byte[] binaryChunkSig = {0x1B, 'L', 'u', 'a'};
private static final byte[] classMagicNumber = {
... |
/*
* Copyright (C) 2011 University of Washington.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
package br.edu.utfpr.troubleshootingstandards.service.mapper;
import br.edu.utfpr.troubleshootingstandards.dto.AttendanceDTO;
import br.edu.utfpr.troubleshootingstandards.dto.AttendanceStudentDTO;
import br.edu.utfpr.troubleshootingstandards.dto.ClassCourseDTO;
import br.edu.utfpr.troubleshootingstandards.dto.Lecturer... |
package ca.pfv.spmf.algorithmmanager.descriptions;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import ca.pfv.spmf.algorithmmanager.DescriptionOfAlgorithm;
import ca.pfv.spmf.algorithmmanager.DescriptionOfParameter;
import ca.pfv.spmf.algorithms.timeseries.TimeSeries;
import ca.pfv.s... |
/*
* Copyright (c) 2020, Wild Adventure
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice, this
* list of condit... |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package p002b.p003c.p053g.p054a;
import android.os.ParcelFileDescriptor;
import android.system.ErrnoException;
import android.system.Os;
import android.system.OsConstants;
import java.io.File;
/* renamed from: b.c.g.a.d */
/* compiled from: TypefaceCompatApi21Impl */
class C1215d extends C1220i {
C1215d() {
}... |
// This file was generated by Mendix Modeler.
//
// WARNING: Code you write here will be lost the next time you deploy the project.
package testcases.proxies;
public class TableCheck extends testcases.proxies.Check
{
/**
* Internal name of this entity
*/
public static final java.lang.String entityNam... |
package org.dynmap;
import java.io.IOException;
import java.io.Writer;
import java.util.Random;
import org.json.simple.JSONAware;
import org.json.simple.JSONStreamAware;
import org.dynmap.common.DynmapChatColor;
public class Client {
public static class Update implements JSONAware, JSONStreamAware {
... |
package flagmaker.overlays.overlaytypes.pathtypes;
import flagmaker.data.Vector;
public class OverlayBanner extends OverlayPath {
private static final String PATH = "M -263.05964,-56.53856 C -279.61793,-57.61947 -319,-59.84538 -319,-59.84538 c 0,0 60.69855,48.017114 60.69855,48.843824 0,0.8267 -13.98575,19.0062... |
package com.lostjs.wx4j.context;
/**
* Created by pw on 02/10/2016.
*/
public interface WxContextSource {
boolean refresh();
}
|
import javax.jms.JMSException;
import javax.jms.Session;
import javax.jms.Connection;
import javax.jms.Destination;
import javax.jms.CompletionListener;
import javax.jms.Message;
import javax.jms.MessageProducer;
import javax.jms.TextMessage;
import com.ibm.msg.client.jms.JmsFactoryFactory;
import com.ibm.msg.clien... |
/*
* Copyright 2019 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 w... |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* 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 a... |
package com.example.husain.assignment4;
import android.content.Context;
import android.content.SharedPreferences;
import android.util.Log;
import android.widget.Toast;
import com.android.volley.AuthFailureError;
import com.android.volley.Request;
import com.android.volley.Response;
import com.android.volley.VolleyErr... |
package com.github.javarushcommunity.jrtb.command;
import org.telegram.telegrambots.meta.api.objects.Update;
public interface Command {
void execute(Update update);
}
|
package org.intranet.graphics.raytrace.puttingItTogether.projectorSelector;
import org.intranet.graphics.raytrace.puttingItTogether.projectorGroup.ProjectorGroup;
public interface ProjectorGroupSelectionListener
{
void projectorGroupSelected(ProjectorGroup proj);
} |
package org.egov.web.models;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import lombok.*;
import org.egov.common.contract.AuditDetails;
import org.springframework.va... |
/* ========================================================================== *
* Copyright (C) 2004-2005 Pier Fumagalli <http://www.betaversion.org/~pier/> *
* All rights reserved. *
* ========================================================================== *
... |
/*
* Copyright (c) 2016 Network New Technologies 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... |
package com.aweshams.cinematch.services.util;
/**
* Created by irteza on 2018-05-24.
*/
/**
* Implemented by expressions providing generic functions that can throw.
*/
public interface ThrowableFunction<TInput, TOutput> {
TOutput execute(TInput value) throws Exception;
}
|
/*
* Copyright (C) 2018 Seoul National University
*
* 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 dev.compactmods.machines.tests.util;
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import net.minecraft.nbt.CompoundNBT;
import net.minecraft.nbt.CompressedStreamTools;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java... |
package org.example.realworldapi.domain.exception;
public class InvalidPasswordException extends BusinessException {
public InvalidPasswordException() {
super(4, "invalid password");
}
}
|
/*
* Copyright 2016-2018, EnMasse authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.enmasse.metrics.api;
import java.util.Collection;
public interface MetricsFormatter {
String format(Collection<Metric> metricList, long timestamp);
}
|
package com.jaquadro.minecraft.storagedrawers.integration.ae2;
import com.jaquadro.minecraft.storagedrawers.api.registry.IRecipeHandler;
import net.minecraft.item.crafting.IRecipe;
import java.lang.reflect.Method;
import java.util.List;
public class ShapedRecipeHandler implements IRecipeHandler
{
private Class c... |
package com.sothree.slidinguppanel;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;... |
/*
* 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 ... |
/* Copyright 2013-2015 www.snakerflow.com.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package io.jester.configuration;
import java.io.InputStream;
import java.lang.annotation.Annotation;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
import org.apache.commons.lang3.StringUtils;
import io.jester.core.JesterContext;... |
/*
* Copyright (c) 2010 ChiaHung Lin
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, ... |
package com.wangzh.app.commons.process;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
/**
* @Description:
* @Auther:wangzh
* @Date: 2019/03/24 16:21
*/
public abstract class ProcessUtils {
/**
* 执行命令脚本
*
* @param command
* @ret... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.