text stringlengths 7 995k |
|---|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.management.monitor;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annot... |
/*
Derby - Class com.pivotal.gemfirexd.internal.impl.jdbc.EmbedResultSet
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 fil... |
package com.example.dev_patika02.service;
import com.example.dev_patika02.dao.abstracts.CourseDAO;
import com.example.dev_patika02.model.Course;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;... |
/*
* (c) the authors Licensed under the Apache License, Version 2.0.
*/
package org.roaringbitmap.buffer;
import org.roaringbitmap.*;
import java.io.DataOutput;
import java.io.Externalizable;
import java.io.IOException;
import java.util.NoSuchElementException;
/**
* Base container class. This class is similar to... |
package useresponse.atlassian.plugins.jira.manager;
import com.atlassian.activeobjects.tx.Transactional;
import useresponse.atlassian.plugins.jira.model.CommentLink;
import java.util.List;
@Transactional
public interface CommentLinkManager {
CommentLink add(int useResponseCommentId, int jiraCommentId, int issueId... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* 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, cop... |
/*
* Copyright DbMaintain.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
/**
* Copyright 2016 Tampere University of Technology, Pori Department
*
* 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 ... |
package engine.events;
/**
* An event that specifies that the engine shoudl reset
*/
public class ResetEvent extends Event {
/**
* Creates a new ResetEvent
*/
public ResetEvent() {
super(EventType.RESET.getType());
}
} |
/*
* 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 io.onedev.server.util.jackson;
import com.fasterxml.jackson.databind.ObjectMapper;
public interface ObjectMapperConfigurator {
void configure(ObjectMapper objectMapper);
} |
package hr.fer.zemris.java.custom.scripting.nodes;
import hr.fer.zemris.java.custom.scripting.elems.Element;
/**
* EchoNode is a node which represents a command which generates some textual
* output dynamically. It inherits from class Node.
*
* @see {@link Node Node}
* @author dario
*
*/
public class EchoNode... |
package com.clevertap.android.geofence;
import android.content.Context;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.WorkerThread;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.Fil... |
/*
* Copyright 2017 ~ 2025 the original author or authors. <wanglsir@gmail.com, 983708408@qq.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/license... |
package com.appersiano.whatsqrcode;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public ... |
package org.develnext.jphp.zend.ext.standard;
import org.develnext.jphp.zend.ext.standard.date.DateInterval;
import org.develnext.jphp.zend.ext.standard.date.DatePeriod;
import org.develnext.jphp.zend.ext.standard.date.DateTime;
import org.develnext.jphp.zend.ext.standard.date.DateTimeImmutable;
import org.develnext.j... |
/*
* JetS3t : Java S3 Toolkit
* Project hosted at http://bitbucket.org/jmurty/jets3t/
*
* Copyright 2006-2010 James Murty
*
* 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
*
* htt... |
/*
* Copyright 2015-2020 Emmanuel Keller / QWAZR
* <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
* <p>
* Unless required by app... |
/**
* Contains the names of all the planets and the defintion of the colors
*/
package spacesim;
import java.awt.Color;
import java.util.HashMap;
public class Names {
public static String[] names = new String[]{"Fatima",
"Madalyn", "Kayleigh", "Corbin", "Shelby", "Harper", "Maddox", "Leah", "Holly... |
/*
* Copyright (c) 2006-2017 DMDirc Developers
*
* 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,... |
package org.dhp.common.utils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.FileFilter;
import java.io.IOException;
import java.net.JarURLConnection;
import java.net.URL;
import java.net.URLDecoder;
import java.util.*;
import ... |
package camelinaction;
import javax.jms.ConnectionFactory;
import org.apache.activemq.ActiveMQConnectionFactory;
import org.apache.camel.CamelContext;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.jms.JmsComponent;
... |
package com.example.slinder;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
imp... |
package com.github.mikephil.charting.renderer;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import com.github.mikephil.charting.animation.ChartAnimator;
import com.github.mikephil.charting.buffer.CircleBuffe... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
/*
* 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 ... |
/**
*
*
* <h1>Personal Trainer api.</h1>
*
* <h2>Design guidelines</h2>
*
* <ul>
* <li>Use constructor based injection in Spring to increase testability
* <li>Create immutable objects when possible
* <li>Functions without side effects
* <li>Use Guava Optional, Functional collection utils, caching and... |
package com.md.appuserconnect.core.services.internal.apps;
import java.io.IOException;
import java.util.HashMap;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.md.appuserconnect.core.model.QNObjectManager;
import com.md.a... |
package com.golfscriptcompiler.frontend;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import com.golfscriptcompiler.codegenerator.CodeGenerator;
import com.golfscriptcompiler.parser.Block;
import com.golfscriptcompiler.parser.Parser;
import com.golfscriptcompiler.tokenizer.Token;
impor... |
/* ThreadMXBean.java - Interface for a thread bean
Copyright (C) 2006 Free Software Foundation
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version ... |
/**
* 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.mediaservices.v2018_03_30_preview;
import org.jo... |
package com.afei.auto.util;
import java.util.Arrays;
import java.util.List;
public class Test {
public static void main(String[] args) {
List<Integer> integers = Arrays.asList(1, 2, 3, 4);
for (Integer integer : integers) {
if (integer< 3){
System.out.println(integer);... |
package uk.ac.susx.shl.micromacro.core;
public class UnrecognisedQueryException extends RuntimeException {
public UnrecognisedQueryException() {
}
} |
package org.softuni.residentevil.domain.models.view;
public class CapitalViewModel {
private String id;
private String name;
private Double latitude;
private Double longitude;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
... |
/*
* 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 Model;
import java.io.Serializable;
import java.util.List;
/**
*
* @author Junior
*/
public class Cliente implements Seria... |
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
/*
*
* MIT License
*
* Copyright (c) 2019 cloud.upcwangying.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... |
/*
* Copyright (c) 2005-2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.ap... |
/*
* 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.demo.config;
import java.lang.reflect.Field;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.con... |
package ap.woodcutting.script;
import ap.woodcutting.script.data.Tree;
import ap.woodcutting.script.task.Traverse;
import ap.woodcutting.script.task.Woodcut;
import ap.woodcutting.script.ui.Gui;
import org.rspeer.runetek.adapter.scene.Player;
import org.rspeer.runetek.api.commons.StopWatch;
import org.rspeer.runetek.a... |
/*
* The MIT License
*
* Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi,
* Daniel Dyer, Erik Ramfelt, Richard Bair, id:cactusman
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... |
/*
* Copyright (c) 2018 Sony Pictures Imageworks 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 applicab... |
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.java.rule.bestpractices;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import net.sourceforge.pmd.lang.... |
/*
* MIT License
*
* Copyright (c) 2020 - present Alexey Lapin
*
* 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,... |
package com.deal_creation;
import android.app.Application;
import com.facebook.react.ReactApplication;
import com.oblador.vectoricons.VectorIconsPackage;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
import com.facebook.soloader.So... |
package com.atguigu.gulimall.coupon.controller;
import java.util.Arrays;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.ann... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.appservice.implementation;
import com.azure.resourcemanager.appservice.AppServiceManager;
import com.azure.resourcemanager.appservice.fluent.models.SiteInner;
import com.azure.resourcemana... |
package client;
/*
* Copyright (c) 2009-2020. Authors: see NOTICE file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... |
package com.mercadopago.android.px.mocks;
import com.mercadopago.android.px.internal.util.JsonUtil;
import com.mercadopago.android.px.model.SummaryAmount;
import com.mercadopago.android.px.utils.ResourcesUtil;
public final class StubSummaryAmount {
private StubSummaryAmount() {
}
public static SummaryAmo... |
/**
* 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 m... |
/**
* Copyright 2014 Netflix, 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 i... |
package com.cdn.appsusage;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import java.util.List;
import java.util.concurrent.TimeUnit;
import butterknife.BindVi... |
/*
* Copyright 2019 mega-iq.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 writ... |
package com.dcy.common.api;
/**
* @Author:dcy
* @Description: 请求返回
* @Date: 2021/9/14 13:05
*/
public interface IErrorCode {
/**
* 错误编码 1、成功;0、失败
*
* @return
*/
Integer getCode();
/**
* 错误描述
*
* @return
*/
String getMsg();
} |
package org.cloudfoundry.multiapps.controller.core.helpers;
import java.io.InputStream;
import org.cloudfoundry.multiapps.common.ParsingException;
import org.cloudfoundry.multiapps.controller.core.util.ApplicationConfiguration;
import org.cloudfoundry.multiapps.mta.handlers.DescriptorParserFacade;
import org.junit.ju... |
package com.java.xue.domain.enumerate;
/**
* 枚举接口
*
* @author xue.zeng
* @date 2021/1/8 10:31 AM
*/
public interface BaseEnum<E extends Enum<E>, T> {
T getValue();
} |
package org.dayatang.utils.serializer;
import com.google.gson.*;
import org.dayatang.utils.DateUtils;
import org.dayatang.utils.support.Dictionary;
import org.dayatang.utils.support.DictionaryCategory;
import org.dayatang.utils.support.DomainEventSub;
import org.dayatang.utils.support.DomainEventSubDto;
import org.jun... |
package com.xzcode.jdbclink.core.sql.param;
import com.xzcode.jdbclink.core.entity.model.EntityField;
import com.xzcode.jdbclink.core.sql.param.Param.TypeConstant;
import com.xzcode.jdbclink.core.sql.update.UpdateSet;
import com.xzcode.jdbclink.core.util.ParamUtil;
/**
* update条件参数
*
*
* @author zai
* 2017-05... |
/*
* 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 use... |
package cn.aezo.designpattern.c20_iterator.t0_generic;
/**
* 基于链表(每个元素包含两部分, 一部分用于存储本身的值, 另一部分用于存储此链表的下一个元素的引用)实现容器
*/
public class MyLinkedList {
Node head = null; // 第一个元素(如果集合中元素个数大于1, 则一直会有下一个元素的引用)
Node tail = null; // 最后一个元素(此元素的下一个元素引用永远为空)
int size = 0;
public void add(Object o) {
Node n = new Node(o,... |
package invalidSelection;
public class A_test085 {
public boolean fBoolean;
public void foo() {
if (fBoolean)
foo();
else
/*]*/
/*[*/
foo();
}
} |
/*
* Copyright 2017 Nokia Solutions and Networks
* Licensed under the Apache License, Version 2.0,
* see license.txt file for details.
*/
package org.robotframework.ide.eclipse.main.plugin.model.cmd;
import java.util.List;
import org.eclipse.e4.core.services.events.IEventBroker;
import org.robotframework.ide.ecli... |
package cn.ac.yhao.utils;
import sun.misc.BASE64Encoder;
import javax.crypto.Mac;
import javax.crypto.SecretKey;
import javax.crypto.spec.SecretKeySpec;
/**
* @description: 签名
* @author: Daniel Young
* @create: 2021-07-08 17:18
*/
public class SignUtil {
public static void main(String[] args) {
Stri... |
/*
* 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 com.deeplearn.utils;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.deeplearn.service.DeeplearnService;
public class AppContextUtil {
private static final AppContextUtil instance = new AppContextUtil();
private st... |
/*
Copyright (c) 2012 LinkedIn Corp.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... |
package org.knowm.xchange.hitbtc;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.knowm.xchange.currency.Currency;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.dto.Order;
impor... |
package com.backend.storio.repository;
import com.backend.storio.dao.Tag;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
import java.util.UUID;
public interface TagRepository extends JpaRepository<Tag, UUID> {
List<Tag> findAllByIdIn(List<UUID> tagIds);
} |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.time.LocalTime;
import java.util.ArrayDeque;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
public class Ex11_Robotics {
public static void main(String[] args) throws IOExceptio... |
package info.smart_tools.smartactors.ioc.istrategy_container;
import info.smart_tools.smartactors.ioc.istrategy_container.exception.StrategyContainerException;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* Tests for StrategyContainerException
*/
public class StrategyContainerExceptionTe... |
/*******************************************************************************
* Copyright (c) Contributors to the Eclipse Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*... |
package org.knowm.xchange.btctrade.dto.marketdata;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import java.math.BigDecimal;
import org.junit.Test;
import com.fasterxml.jackson.databind.ObjectMapper;
public class BTCTradeTradeTest {
private final ObjectMapper mapper = new ObjectMappe... |
/**
* BiddingStrategyReturnValue.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.adwords.axis.v201506.cm;
/**
* A container for return values from the {@link BiddingStrategyService#mutate}
* call.
*/
public ... |
/*******************************************************************************
* Copyright (c) 2012 Luaj.org. All rights reserved.
*
* 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 wit... |
package org.jcouchdb.db;
import java.io.InputStream;
import java.util.List;
import java.util.Map;
import org.apache.http.auth.AuthScope;
import org.apache.http.auth.Credentials;
import org.jcouchdb.exception.CouchDBException;
/**
* Represents a couchdb server
*
* @author fforw at gmx dot de
*/
public interface S... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
/*
* Copyright (c) 2004, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
package org.postgresql.jdbc;
import static org.postgresql.util.internal.Nullness.castNonNull;
import org.postgresql.Driver;
import org.postgresql.core.ParameterList;
import org.postgres... |
package edu.vcu.cyber.dashboard.util;
import edu.vcu.cyber.dashboard.data.GraphData;
import org.graphstream.graph.Graph;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import javax.naming.directory.AttributeInUseException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFac... |
/*
* The MIT License
*
* Copyright 2017 H-K.
*
* 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, mer... |
package ru.job4j.set;
import org.junit.Before;
import org.junit.Test;
import java.util.Iterator;
import java.util.List;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
public class SimpleSetTest {
SimpleSet<String> simpleSet = new SimpleSet<>();
@Test
public void addAnd... |
package com.atguigu.gulimall.product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gulimall.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.AttrAttrgroupRelationEntity;
import java.util.Map;
/**
* 属性&属性分组关联
*
* @author fuoo
* @email 390983980@qq.com
*... |
package com.andiag.retrocache;
import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.andiag.commons.RetroCache;
import com.google.common.reflect.TypeToken;
import com.iagocanalejas.dualcach... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
/*
* Licensed 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.macesdev.stillflap.scenes.main;
import javax.swing.JDialog;
import org.macesdev.stillflap.scripts.languageSettings;
import java.awt.Color;
import javax.swing.JLabel;
import javax.swing.JTextArea;
import java.awt.Font;
import javax.swing.SwingConstants;
import javax.swing.WindowConstants;
import java.awt.... |
package com.rantmedia.hito.android;
import android.os.Build;
/**
* (C) Copyright 2017 Rantmedia Ltd (http://www.rantmedia.com)
* Created by Russell Hicks on 28/07/2017
* russell@rantmedia.com
* All Rights Reserved
*/
@SuppressWarnings("WeakerAccess")
public final class BoardDefaults {
private static final ... |
/*******************************************************************************
* Copyright 2021 Ironblaster
*
* 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... |
/**
*
*/
package hpst.spring.tdd.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
/**
* @author harpa
*
*/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
public class Us... |
/*
* 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 (C) 2011 Ahmed Yehia (ahmed.yehia.m@gmail.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 ap... |
package MDSplus;
/**
* @author manduchi
* @version 1.0
* @created 30-mar-2009 13.40.29
*/
public interface DataStreamConsumer {
/**
*
* @param seg
* @param time
*/
public void acceptSegment(Array seg, Data time);
/**
*
* @param row
* @param time
*/
public void acceptRow(Data row, long time)... |
package com.github.badoualy.telegram.tl.api.request;
import com.github.badoualy.telegram.tl.TLContext;
import com.github.badoualy.telegram.tl.api.TLCodeSettings;
import com.github.badoualy.telegram.tl.api.auth.TLSentCode;
import com.github.badoualy.telegram.tl.core.TLMethod;
import com.github.badoualy.telegram.tl.core... |
package lk.ijse.dep8.security;
public class Principal {
private String userName;
private String name;
private UserRole role;
public Principal() {
}
public Principal(String userName, String name, UserRole role) {
this.userName = userName;
this.name = name;
this.role = r... |
package pr09;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
class Person {
private String name;
private List<Parents> parents;
private List<Children> children;
private List<Pokem... |
package gaia3d.controller.view;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import ... |
package com.porwau.concepts.io.serialization;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
class Em... |
package cwms.radar.data.dao;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.stream.Collectors;
import cwms.radar.data.dto.Pool;
import cwms.radar.data.dto.Pools;
import org.jetbrains.annotations.NotNull;
imp... |
package com.depas.hackerrank;
import java.util.Scanner;
public class RunningTimeComplexity {
public static boolean isPrime(int n){
if (n == 1) return false;
if (n == 2) return true;
if (n == 3) return true;
if (n % 2 == 0) return false;
if (n % 3 == 0) return false;
int i = 5;
int w... |
/*
* Copyright (c) 2007-2019, Arshan Dabirsiaghi, Jason Li
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this... |
package com.loveqh.restful;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class RestfulApplication {
public static void main(String[] args) {
SpringApplication.run(RestfulApplication.class, args);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.