text stringlengths 7 1.01M |
|---|
package org.kyojo.schemaorg.m3n5.gson.core.container;
import java.lang.reflect.Field;
import java.lang.reflect.Type;
import java.util.HashMap;
import java.util.Map;
import org.kyojo.gson.JsonDeserializationContext;
import org.kyojo.gson.JsonDeserializer;
import org.kyojo.gson.JsonElement;
import org.kyojo.gson.JsonPa... |
package com.playMidi.player;
import com.playMidi.player.Midi.MidiHelperFunctions;
import com.playMidi.player.soundEvent.MidiTimbreSet;
import java.io.IOException;
import java.io.OutputStream;
import waveFormat.PcmHelpers;
/**
* Created by ra on 3/7/2017.
*/
public class Instrument {
private final String na... |
/*
* Copyright 2021-2021 Alfresco Software, 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 ... |
package com.stylefeng.guns.core.datasource;
import com.alibaba.druid.pool.DruidDataSource;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.sql.SQLException;
/**
* <p>数据库数据源配置</p>
* <p>说明:这个类中包含了许多默认配置,若这些配置符合您的情况,您可以不用管,若不符合,建... |
package com.drumonii.loltrollbuild.security.login;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
import org.springframe... |
package com.gc.materialdesign.views;
import android.app.Dialog;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffXfermode;
import android.gr... |
/*
* Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package retrofit.http.retrofit;
/**
* @class describe
* @anthor aojiaoqiang
* @time 2018/10/19 17:20
*/
public interface IHttpParamListener {
String getBaseUrl();
}
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.containerinstance.implementation;
import com.fas... |
/*
* //******************************************************************
* //
* // Copyright 2016 Samsung Electronics All Rights Reserved.
* //
* //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
* //
* // Licensed under the Apache License, Version 2.0 (the "License");
* // you may not use thi... |
package ru.job4j.list;
//import java.util.Arrays;
import java.util.ConcurrentModificationException;
import java.util.Iterator;
import java.util.NoSuchElementException;
public class SimpleList<E> implements SimpleListInterface<E> {
private Object[] container;
private int size = 0;
private int modCount = 0... |
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package edu.nwmissouri.zoo03group;
/**
* This class is about Adult Visitor which visitor
* @author Hari Hara Mummadi
... |
/*
* 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 ... |
import java.util.Iterator;
import java.util.Objects;
import java.util.function.Consumer;
public class DLinkedList<E> implements ListInterface<E>, Iterable<E>
{
// The first Node in the list.
private Node<E> first;
// The last Node in the list.
private Node<E> last;
// The amount of Nodes in the lis... |
/*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
* except in compliance with the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" file accomp... |
/**
*
*/
package com.lq.work.modules.oa.service;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.joda.time.DateTime;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.tran... |
package com.ydh935.swaggercxf.resources;
import javax.servlet.ServletConfig;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Application;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
import javax... |
package org.campagnelab.staging.intentions;
/*Generated by MPS */
import jetbrains.mps.intentions.IntentionAspectBase;
import jetbrains.mps.intentions.IntentionFactory;
import org.jetbrains.annotations.Nullable;
import java.util.Collection;
import org.jetbrains.annotations.NotNull;
import jetbrains.mps.smodel.adapter... |
package com.gplibs.magicsurfaceview;
public abstract class MagicSurfaceMatrixUpdater extends MagicMatrixUpdater {
MagicSurface mSurface;
public MagicSurfaceMatrixUpdater() {
}
public MagicSurfaceMatrixUpdater(int group) {
super(group);
}
@Override
float[] getMatrix() {
r... |
package com.lyft.pgv;
/**
* {@code ValidatorIndex} defines the entry point for finding {@link Validator} instances for a given type.
*/
public interface ValidatorIndex {
<T> Validator<T> validatorFor(Class clazz);
ValidatorIndex ALWAYS_VALID = new ValidatorIndex() {
@Override
public <T> Vali... |
/*
* Copyright (c) 2020 Broadcom.
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifi... |
package ru.yandex.bolts.collection.impl;
import ru.yandex.bolts.collection.impl.test.SerializationUtils;
import junit.framework.TestCase;
public abstract class EmptyCollectionTestSupport extends TestCase {
protected abstract Object emptyInstance();
public void testSerialization() {
assertSame(Empt... |
/*
* Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://mindorks.com/license/apache-v2
*
* Unless required by applicable... |
package uk.dangrew.jwags.resources.images.stats;
import javafx.scene.image.Image;
public class StatsImages {
private static final Image SPEED = new Image( StatsImages.class.getResourceAsStream( "speed.png" ) );
private static final Image DAMAGE = new Image( StatsImages.class.getResourceAsStream( "damage.png" )... |
/**
* InventoryService.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201405;
public interface InventoryService extends javax.xml.rpc.Service {
public java.lang.String getInventoryServiceInterface... |
package org.bian.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.bian.dto.CRInternalAuditAssessmentGrantOutputModelGrantRequestResponseRecord;
import javax... |
/*
* 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 at.tuwien.ict.acona.mq.core.core;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import at.tuwien.ict.acona.mq.core.agentfunction.AgentFunction;
pub... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/vision/v1p4beta1/text_annotation.proto
package com.google.cloud.vision.v1p4beta1;
/**
*
*
* <pre>
* Logical element on the page.
* </pre>
*
* Protobuf type {@code google.cloud.vision.v1p4beta1.Block}
*/
public final class Bloc... |
package cc.wangcl.core.entity;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import java.io.Serializable;
import java.util.List;
/**
* DataTables插件的分页查询结果对象。
*
* @author wangcl
*/
public cla... |
package org.snomed.snowstorm.core.data.repositories;
import org.snomed.snowstorm.core.data.domain.review.BranchReview;
import org.springframework.data.elasticsearch.annotations.Query;
import org.springframework.data.elasticsearch.repository.ElasticsearchCrudRepository;
import java.util.Date;
public interface BranchR... |
/*
* 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 utils;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import ja... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__int_getParameter_Servlet_postinc_53c.java
Label Definition File: CWE190_Integer_Overflow__int.label.xml
Template File: sources-sinks-53c.tmpl.java
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: getParameter_Servlet Read data from a... |
/*
* Copyright 2021 Ian Jones. 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 applicabl... |
/*
* 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.example.thy.linechart.Http;
/**
* Created by thy on 18/5/17.
*/
import android.util.Log;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.Malfo... |
/*
* Copyright (c) 2016 lhyz Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.chuongvd.awesomehomepage.common;
import android.app.Activity;
import android.arch.lifecycle.AndroidViewModel;
import android.content.Context;
import android.databinding.DataBindingUtil;
import android.databinding.ViewDataBinding;
import android.os.Bundle;
import android.support.annotation.NonNull;
import a... |
package com.tools.http.server;
import com.tools.core.io.IORuntimeException;
import com.tools.core.lang.Console;
import com.tools.http.server.action.Action;
import com.tools.http.server.action.RootAction;
import com.tools.http.server.handler.ActionHandler;
import com.sun.net.httpserver.HttpHandler;
import com.sun.net.h... |
/**
* Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U <br>
* This file is part of FI-WARE project.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License.
* </p>
* <p>
* You may obtain a copy of the License at:<br>
*... |
/*
* 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 com.piggymetrics.auth.service.security;
import com.piggymetrics.auth.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.sp... |
/*
* Copyright 2020 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 wr... |
/*
* Copyright 2018 JDCLOUD.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 agreed to in... |
package com.etiennelawlor.quickreturn.fragments;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.etiennelawlor.quickreturn.R;
import com.etiennelawlor.quickreturn.library.enum... |
/**
* 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... |
/*
* @(#)Procedure.java 1.0 09/12/14
*
* This file has been auto-generated by JNC, the
* Java output format plug-in of pyang.
* Origin: module "hcta-epc", revision: "2014-09-18".
*/
package hctaEpc.fgw.statistics.fgwCm;
import Element;
import Epc;
import JNCException;
import com.tailf.jnc.YangElement... |
/*
* Copyright (c) 2020. Yuriy Stul
*/
package com.stulsoft.pvertx.kafka.stream;
import com.stulsoft.pvertx.kafka.Config;
import com.stulsoft.pvertx.kafka.Constants;
import io.vertx.core.AbstractVerticle;
import io.vertx.kafka.client.consumer.KafkaConsumer;
import io.vertx.kafka.client.consumer.KafkaConsumerRecord;... |
package ru.job4j.changetracker.abstractclasses.models;
import java.util.Arrays;
/**
* Created on 08.08.2017.
*
* @author Aleks Sidorenko (alek.sidorenko1979@gmail.com).
* @version $Id$.
* @since 0.1.
*/
public class Item {
/**
* @param id - Ordinal number of the person.
*/
private String id;
... |
package co.kr.pmp.dao.mint;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import co.kr.pmp.domain.mint.Mdto;
@Mapper
public interface MPractice {
public List<Mdto>Mtest();
}
|
package io.github.revxrsal.minigames.menu;
import com.cryptomorin.xseries.SkullUtils;
import com.cryptomorin.xseries.XEnchantment;
import com.cryptomorin.xseries.XMaterial;
import com.google.common.base.Preconditions;
import io.github.revxrsal.minigames.gson.GsonHook;
import io.github.revxrsal.minigames.gson.GsonHook.... |
package com.softeq.app.services.commands;
import static org.junit.jupiter.api.Assertions.assertEquals;
import com.softeq.app.domain.User;
import org.junit.jupiter.api.Test;
class UserCommandMapperTest {
private UserCommandMapper mapper = new UserCommandMapperImpl();
@Test
void testMerge() {
Use... |
/*
* 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 seedu.address;
import java.io.IOException;
import java.nio.file.Path;
import java.util.Optional;
import java.util.logging.Logger;
import javafx.application.Application;
import javafx.stage.Stage;
import seedu.address.commons.core.Config;
import seedu.address.commons.core.LogsCenter;
import seedu.address.commo... |
/* Licensed under Apache-2.0 2021. */
package io.jyde.aws.athena.connectors.udf.h3;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertThrows;
import static org.junit.Assert.assertTrue;
import c... |
package com.resfeber.pool.api.controller;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaT... |
package it.loreii.AppSyslogd;
import java.net.InetAddress;
import java.text.ParseException;
import java.util.Date;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.lang3.time.FastDateFormat;
/**
* Simple match
*/
public final class SyslogMsg {
/**
* Simple regexp for mat... |
package com.mwcc.pedidovenda.controller;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.application.FacesMessage;
import javax.faces.view.ViewScoped;
import javax.faces.context.FacesContext;
import javax.inject.Inject;
import javax.inject.Named;
import com.mwcc.ped... |
package com.deenysoft.schoolbox.dashboard.model;
/**
* Created by shamsadam on 23/06/16.
*/
public class ExamBoxItem {
public static final String TAG = "ExamBoxItem";
String ExamID;
String ExamTitle;
String ExamDate;
String ExamVenue;
String ExamTime;
String ExamStatus;
public void... |
package js.wood;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.notNullValue;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.times;
import static org.mockito.Mock... |
/* Generated By:JJTree: Do not edit this line. ASTDefaultValue.java */
package net.sourceforge.pmd.ast;
public class ASTDefaultValue extends SimpleJavaNode {
public ASTDefaultValue(int id) {
super(id);
}
public ASTDefaultValue(JavaParser p, int id) {
super(p, id);
}
/**
* A... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
package tests.unit.com.microsoft.azure.iothub.transport.mqtt;
import com.microsoft.azure.iothub.DeviceClientConfig;
import com.microsoft.azure.iothub.IotHubStatusCode;... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * 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... |
class Solution {
public int findNumberOfLIS(int[] nums) {
int len = nums.length, max_l = 0, ans = 0;
int[] dp = new int[len], cnt = new int[len];
for(int i = 0;i < len;i ++) {
dp[i] = cnt[i] = 1;
for(int j = 0;j < i;j ++) {
if(nums[i] > nums[j]) {
... |
package ru.intertrust.cm.core.business.impl;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.... |
package mobcom.iacademy.thesis.event.controller;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Bundle;
import andr... |
package com.atguigu.gulimall.ums.dao;
import com.atguigu.gulimall.ums.entity.MemberCollectSubjectEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 会员收藏的专题活动
*
* @author changchen
* @email doublechang123@163.com
* @date 2019-08-01 21:24:... |
package pl.jrostowski.filmwebscraper.repository;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
... |
/*
* Copyright (c) 2002-2014 Gargoyle Software 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 ... |
package eu.chargetime.ocpp.feature.profile;
/*
ChargeTime.eu - Java-OCA-OCPP
MIT License
Copyright (C) 2016-2018 Thomas Volden <tv@chargetime.eu>
Copyright (C) 2019 Kevin Raddatz <kevin.raddatz@valtech-mobility.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of thi... |
package com.xc.luckysheet.mongo.impl;
import com.alibaba.fastjson.JSONObject;
import com.xc.luckysheet.db.IRecordDataInsertHandle;
import com.xc.luckysheet.entity.GridRecordDataModel;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Repository;
import java.util.ArrayList;
import java.util.List;... |
package uk.co.terminological.bibliography.record;
import java.io.Serializable;
import java.util.Optional;
public class ImmutableCitationReference implements CitationReference, Serializable {
public ImmutableCitationReference(CitationReference ref) {
this.identifier = ref.getIdentifier().map(Builder::recordReferen... |
/*
* This file is part of Dependency-Track.
*
* 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 o... |
package Exercise.restaurant;
import java.math.BigDecimal;
public class Dessert extends Food {
private double calories;
public Dessert(String name, BigDecimal price, double grams, double calories) {
super(name, price, grams);
this.setCalories(calories);
}
public double getCalories() {... |
/*
* This file was automatically generated by EvoSuite
* Wed Aug 01 08:17:43 GMT 2018
*/
package org.mozilla.javascript;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchEleme... |
package online.githuboy.wqxuetang.pdfd.utils;
import java.util.Optional;
import java.util.concurrent.*;
/**
* 线程池工具
*
* @author suchu
* @since 2020年2月3日
*/
public class ThreadPoolUtils {
private static ThreadPoolExecutor executor;
private static ScheduledExecutorService scheduledExecutorService = new Sc... |
/**
* 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... |
/*-
* -\-\-
* Helios Client
* --
* Copyright (C) 2016 Spotify AB
* --
* 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... |
/*
Copyright (C) GridGain Systems. 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 law or... |
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package io.github.mmm.marshall.json.impl;
import io.github.mmm.marshall.spi.StructuredNodeType;
/**
* State object for reading or writing JSON.
*
* @since 1.0.0
*/
public class JsonStat... |
package com.design.mode.proxy;
import javax.swing.*;
public class Test
{
public static void main(String[] args)
{
JFrame frame = new JFrame("Proxy test client");
JLabel label = new JLabel("Loading web page ......");
frame.getContentPane().add(label);
PageProxy pageProxy = new P... |
/*-
* #%L
* rapidoid-commons
* %%
* Copyright (C) 2014 - 2018 Nikolche Mihajlovski and 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... |
package io.hyperfoil.core.steps;
import io.hyperfoil.api.session.Access;
import io.hyperfoil.api.session.Session;
import io.hyperfoil.api.statistics.Statistics;
public class StopwatchEndStep extends StatisticsStep {
private final Access key;
private final String metrics;
public StopwatchEndStep(Access key, ... |
/*******************************************************************************
* Copyright © 2019 by California Community Colleges Chancellor's Office
*
* 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
* o... |
package seedu.address.logic.parser;
import static seedu.address.commons.core.Messages.MESSAGE_INVALID_BOOK_DISPLAYED_INDEX;
import seedu.address.commons.core.Messages;
import seedu.address.commons.core.index.Index;
import seedu.address.logic.commands.UsageCommand;
import seedu.address.logic.parser.exceptions.ParseExc... |
package com.github.binarywang.wxpay.bean.request;
import com.thoughtworks.xstream.annotations.XStreamAlias;
/**
* 发送红包请求参数对象
* Created by Binary Wang on 2016/9/24.
*
* @author binarywang (https://github.com/binarywang)
*/
@XStreamAlias("xml")
public class WxPaySendRedpackRequest extends WxPayBaseRequest {
/**
... |
/***********************************************************************************************
*
* Copyright 2018 Infosys Ltd.
* Use of this source code is governed by MIT license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
*****************************************************... |
package java012;
/**
* created by cicek on 25.12.2018 18:49
*/
public class MyMain {
public static void main(String[] args){
MyClass my1 = new MyClass();
MyClass my2 = new MyClass();
MyClass my3 = new MyClass();
MyClass my4 = new MyClass(2);
my1.sanane(0);
my2.s... |
package com.rmo.fibu.model;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import co... |
/* Copyright 2017 Zutubi Pty 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 in... |
/*
This file is part of SSID.
SSID 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 3 of the License, or
(at your option) any later version.
SSID is distributed in the hope that it will be u... |
/*
* Copyright 2015 DuraSpace, 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... |
package com.xpf.dagger.main.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.xpf.dagger.R;
import javax.inject.Inject;
impor... |
package com.algorand.algosdk.abi;
public class TypeArrayStatic extends ABIType {
public final ABIType elemType;
public final int length;
public TypeArrayStatic(ABIType elemType, int length) {
if (length < 1)
throw new IllegalArgumentException("static-array initialize failure: array len... |
/*
* 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 2002-2017 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 io.katharsis.request.path;
import io.katharsis.resource.exception.ResourceException;
import io.katharsis.resource.exception.ResourceFieldNotFoundException;
import io.katharsis.resource.exception.ResourceNotFoundException;
import io.katharsis.resource.field.ResourceField;
import io.katharsis.resource.registry.R... |
/*
* Copyright 2011-2016 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 "li... |
package me.adjoined.gulimall.product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import me.adjoined.common.utils.PageUtils;
import me.adjoined.gulimall.product.entity.CategoryEntity;
import java.util.Map;
/**
* ÉÌÆ·Èý¼¶·ÖÀà
*
* @author tianbian
* @email adjoined.tb@gmail.com
* @date 202... |
/**
* Copyright 2019 Anthony Trinh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.