text stringlengths 7 1.01M |
|---|
package com.orientechnologies.orient.core.sql.parser;
import java.util.Map;
/** Created by luigidellaquila on 19/02/15. */
public class OInsertSetExpression {
protected OIdentifier left;
protected OExpression right;
public void toString(Map<Object, Object> params, StringBuilder builder) {
left.toString(pa... |
package de.adp.service.lbd.model;
public class LocalState
{
private String state;
private String station;
private String type;
private String priority;
public String getState()
{
return state;
}
public void setState(String state)
{
this.state = state;
}
pu... |
package simulatordemo.aa241x.team2.simulatordemo;
/*
* Copyright (c) 2014 Ville Saarinen
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 righ... |
/*
* Copyright(c) 2017-2017 Heliosphere Corp.
* ---------------------------------------------------------------------------
* This file is part of the Heliosphere's project which is licensed under the
* Apache license version 2 and use is subject to license terms.
* You should have received a copy of the license w... |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.MemoryUtil.*;
import static org... |
/*
* Copyright (c) 2016, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software;Designed and Developed mainly by many Chinese
* opensource volunteers. you can redistribute it and/or modify it under the
* terms of... |
package boardsPrep;
//AUTHOR: Parth Sharma, 10D
//ICSE.Board.Paper.2014 - Q9
import java.util.Scanner;
public class GradYear {
public static void main(){
Scanner sc=new Scanner (System.in);
int arr[]={1982,1987,1993,1996,1999,2003,2006,2007,2009,2010};
System.out.println... |
package U2C;
import burp.IBurpExtenderCallbacks;
import burp.IExtensionHelpers;
import burp.IMessageEditorController;
import burp.IMessageEditorTab;
import burp.IMessageEditorTabFactory;
/**
* 工厂类,构造一个个的Tab实例
* @author bit4woo
* @github https://github.com/bit4woo
*
*/
public class ChineseTabFactory implements IM... |
/*
* Copyright 2002-2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package seedu.address.model;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static seedu.address.testutil.Assert.as... |
package com.ppdai.das.console.dao;
import com.ppdai.das.console.dao.DataBaseDao;
import com.ppdai.das.console.dao.GroupDao;
import com.ppdai.das.console.dao.LoginUserDao;
import com.ppdai.das.console.dto.entry.das.DasGroup;
import com.ppdai.das.console.dto.entry.das.DataBaseInfo;
import com.ppdai.das.console.dto.entry... |
package org.vitrivr.cineast.api.messages.result;
import com.fasterxml.jackson.annotation.JsonCreator;
import org.vitrivr.cineast.api.messages.abstracts.AbstractQueryResultMessage;
import org.vitrivr.cineast.api.messages.interfaces.MessageType;
import org.vitrivr.cineast.core.data.entities.MediaObjectDescriptor;
impor... |
// --------------------------------------------------------------------------------
// Copyright 2002-2022 Echo Three, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:/... |
/*****************************************************
*
* Address.java
*
*
* Modified MIT License
*
* Copyright (c) 2010-2016 Kite Tech Ltd. https://www.kite.ly
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
/*
* ====================================================================
* 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
... |
package io.github.epam.html.tests.elements.composite.page.init;
import org.testng.Assert;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import page.objects.jdi.HomePageWeb;
import page.objects.jdi.HomePageWebEx;
import page.objects.selenium.HomePage;
import page.objects.selenium.HomeP... |
/*
* Copyright 2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
// Template Source: Enum.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------------------------------------... |
/**
* Copyright 2018 人人开源 http://www.renren.io
* <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 appli... |
package model.map;
import java.awt.Color;
import java.awt.image.BufferedImage;
import java.io.File;
import java.util.logging.Logger;
import javax.imageio.ImageIO;
import model.world.Cell;
import model.world.CellType;
import model.world.World;
import utils.Utils;
/**
* Loads an image as a map.
*/
public class MapI... |
/*
*
*
* Apache License
* Version 2.0, January 2004
* http://www.apache.org/licenses/
*
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
*
* 1. Definitions.
*
* "License" shall mean the terms and con... |
package maxSatExample;
import java.nio.file.Path;
import java.nio.file.Paths;
/**
* This is a base class for simple <a
* href="http://en.wikipedia.org/wiki/Maximum_satisfiability_problem"
* >MAX-SAT</a> solvers.
*/
public abstract class MaxSatAlgorithm implements Runnable {
/** the benchmark folders */
priva... |
/*
* Copyright 2014 TWO SIGMA OPEN SOURCE, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package com.quguai.campustransaction.ware.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.io.Serializa... |
package com.aop.costants;
public interface Constants {
static String CLASS_NAME_KEY ="className";
static String CLASS_NAME_VALUE = "com.ioc.service.EventSender";
}
|
package me.wavelength.baseclient.module.modules.client;
import org.lwjgl.input.Keyboard;
import me.wavelength.baseclient.module.Category;
import me.wavelength.baseclient.module.Module;
public class TabGui extends Module {
public TabGui() {
super("TabGui", "This is the TabGui", Keyboard.KEY_NONE, Category.CLIENT, ... |
/*
* Copyright (c) 2002-2022 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
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
package org.springframework.boot.autoconfigure.jms.activemq;
import javax.jms.ConnectionFactory;
import org.apache.activemq.ActiveMQConnectionFactory;
import org.apache.activemq.pool.PooledConnectionFactory;
import org.junit.Test;
import org.springframework.boot.autoconfigure.AutoConfigurations;
import org.springf... |
/**********************************************************************************
* $URL: https://source.sakaiproject.org/svn/msgcntr/trunk/messageforums-component-impl/src/java/org/sakaiproject/component/app/messageforums/MessageForumsTypeManagerImpl.java $
* $Id: MessageForumsTypeManagerImpl.java 9227 2006-05-15 ... |
package com.yatoooon.screenadaptation;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import com.yatoooon.screenadaptation.loadviewhelper.AbsLoadViewHelper;
import com.yatoooon.screenadaptation.loadviewhelper.LoadViewHelper;
/**
* Created by yato... |
package com.tistory.ospace.common;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
public class DateUtils {
private static final String EMPTY = "";
private static DateTimeFormatter fmtDateTime = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
private stati... |
/*
* Copyright 2014-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 "licen... |
package nc.gui.processor;
import nc.container.processor.ContainerDecayHastener;
import nc.gui.GuiItemRenderer;
import nc.init.NCItems;
import nc.tile.processor.TileItemProcessor;
import net.minecraft.entity.player.EntityPlayer;
public class GuiDecayHastener extends GuiItemProcessor {
public GuiDecayHastener(Entity... |
package us.ihmc.exampleSimulations;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Disabled;
public class ExampleSimulationsBranchJobBalancer1Test
{
@Test
public void testExtraTimeToSyncJobs1()
{
}
}
|
package com.xubh.springboot.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
/**
* SpringBoot处理异常方式一:自定义错误页面
*
* @author ... |
package admin.cmd;
import com.quorum.tessera.config.Config;
import com.quorum.tessera.test.Party;
import com.quorum.tessera.test.util.ElUtil;
import cucumber.api.java8.En;
import java.net.URL;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.exporters.inmemory;
import static org.assertj.core.api.Assertions.assertThat;
import io.opentelemetry.sdk.trace.TestSpanData;
import io.opentelemetry.sdk.trace.TracerSdkProvider;
import io.opentelemetry.sdk.... |
package com.linxonline.mallet.renderer.web.gl ;
import org.teavm.jso.webgl.WebGLBuffer ;
public class GLModelManager
{
private GLModelManager() {}
public static WebGLBuffer[] genIndexID()
{
final WebGLBuffer[] id = new WebGLBuffer[1] ;
id[0] = MGL.createBuffer() ;
return id ;
}
public static WebGLBuffer... |
package com.krpc.client;
import org.junit.Test;
import com.krpc.client.net.ReceiverData;
import com.krpc.client.net.TCPClient;
import com.krpc.common.protocal.ProtocalConst;
import java.io.UnsupportedEncodingException;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.*;
import java.util.co... |
package com.ios.widget;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnClickList... |
/*
* Copyright 2015-present Facebook, 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... |
/*
* Copyright (c) 2008-2019 Haulmont.
*
* 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.regex.matcher;
import com.regex.common.RegexConstants;
import com.regex.inputs.InputStrings;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class RegexMatcher {
public void method1() {
Pattern pattern = Pattern.compile(RegexConstants.PATTERN_1);
Matcher matche... |
/*
* Copyright © 2014-2017 EntIT Software LLC, a Micro Focus company (L.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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... |
/**
* 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... |
// @formatter:off
/*******************************************************************************
*
* This file is part of tensorics.
*
* Copyright (c) 2008-2011, CERN. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compli... |
package com.humio.mesos.dcos2humio.shared.model;
import lombok.Builder;
import lombok.Data;
import lombok.Singular;
import org.apache.commons.lang3.StringUtils;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
@Data
@Builder
public cl... |
package il.ac.technion.nlp.nli.parser.experiment;
import com.ofergivoli.ojavalib.data_structures.map.SafeHashMap;
import com.ofergivoli.ojavalib.data_structures.map.SafeMap;
import com.ofergivoli.ojavalib.io.GeneralFileUtils;
import com.ofergivoli.ojavalib.io.files_tree.FileTreeManager;
import com.ofergivoli.ojavalib.... |
package com.facebook.react.animation;
import android.view.View;
public class ScaleYAnimationPropertyUpdater extends AbstractSingleFloatProperyUpdater {
public ScaleYAnimationPropertyUpdater(float toValue) {
super(toValue);
}
public ScaleYAnimationPropertyUpdater(float fromValue, float toValue) {
... |
String ame = "Alle meine Entchen";
nf.makedata("string_data",NexusFile.NX_CHAR,
1,ame.length()+2);
nf.opendata("string_data");
nf.putdata(ame.getBytes()); |
package com.wanchain.iwanj.lib;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ExecutorService;
import java.util.con... |
package com.littleji.algo4th.ch2;
import com.littleji.algo4th.util;
class SelectionSort implements Sort {
public boolean less (Comparable a, Comparable b){
return a.compareTo(b) < 0;
}
public void exch(Comparable [] a, int i, int j){
Comparable tmp;
tmp = a[i];
a[i] = a[j]... |
package sh.isaac.komet.batch.fxml;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import javafx.collections.ListChangeListener;
import javafx.collections.ObservableList;
import javafx.collections.SetChangeListener;
import javafx.event.ActionEvent;
import javafx.fxml.FXM... |
package com.pinyougou.manage.controller;
import com.pinyougou.common.util.FastDFSClient;
import com.pinyougou.vo.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.s... |
// Copyright 2013 Square, Inc.
package org.assertj.androidx.api.widget;
import android.widget.ListView;
/**
* Assertions for {@link ListView} instances.
* <p>
* This class is final. To extend use {@link AbstractListViewAssert}.
*/
public final class ListViewAssert extends AbstractListViewAssert<ListViewAssert, Li... |
/*
* 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 cclo;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException... |
/*
* Copyright 2013-2020 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... |
/*******************************************************************************
* Copyright 2016-2017 Dell 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.o... |
/*
* SPDX-FileCopyrightText: © The Clara Framework Authors
*
* SPDX-License-Identifier: Apache-2.0
*/
package org.jlab.clara.std.cli;
import org.jline.reader.Completer;
import org.jline.reader.impl.completer.ArgumentCompleter;
import org.jline.reader.impl.completer.NullCompleter;
import org.jline.reader.impl.comp... |
package org.jugbd.mnet.service;
import org.jugbd.mnet.domain.Diagnosis;
import org.jugbd.mnet.domain.Examination;
import org.jugbd.mnet.domain.enums.RegistrationType;
import org.springframework.stereotype.Component;
/**
* @author Bazlur Rahman Rokon
* @date 11/29/2014.
*/
@Component
public interface ExaminationSer... |
/*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.ahdms.user.center.bean.vo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
/**
* <B>说明:</B><BR>
*
* @author qinxiang
* @version 1.0.0.
* @date 2020-07-13 13:35
*/
@Data
public class VerifiyCodeRspVo {
@ApiModelProperty... |
package com.log999.display.internal;
import com.blinglog.poc.file.internal.LogFileDisplayRowImpl;
import com.google.common.base.Splitter;
import com.google.common.collect.Iterables;
import com.log999.display.api.LogFileDisplayRow;
import com.log999.display.api.LogFileLine;
import com.log999.display.api.LogFilePage;
im... |
package com.trining.design.adapter.train.passport;
public class Member {
private String username;
private String password;
private String mid;
private String info;
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username =... |
package com.codecool.GuestBook.helpers;
// Copyright (c) 2003-2009, Jodd Team (jodd.org). All Rights Reserved.
import java.util.HashMap;
/**
* Map file extensions to MIME types. Based on the Apache mime.types file.
* http://www.iana.org/assignments/media-types/
*/
public class MimeTypes {
public static fin... |
package com.dsatab.data.modifier;
import com.dsatab.data.Attribute;
import com.dsatab.data.Hero;
import com.dsatab.data.Probe;
import com.dsatab.data.enums.AttributeType;
import java.util.Comparator;
public abstract class AbstractModificator implements Modificator {
public static Comparator<Modificator> NAME_COMPA... |
package ru.stqa.pft.mantis.tests;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import ru.lanwen.verbalregex.VerbalExpression;
import ru.stqa.pft.mantis.model.MailMessage;
import ru.stqa.pft.mantis.model.UserData;
import javax.mail.Messaging... |
package br.edu.ifg.fsa.tads.licitacaoweb.web.rest;
import com.codahale.metrics.annotation.Timed;
import br.edu.ifg.fsa.tads.licitacaoweb.domain.TbPessoa;
import br.edu.ifg.fsa.tads.licitacaoweb.repository.TbPessoaRepository;
import br.edu.ifg.fsa.tads.licitacaoweb.repository.search.TbPessoaSearchRepository;
import br... |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*
* Copyright 2019 Red Hat, Inc, and individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
/*
* Copyright (c) 2002-2020 Gargoyle Software Inc.
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.o... |
package com.exiro.utils;
public class Time {
int year, month, day;
public Time(int year, int month, int day) {
this.year = year;
this.month = month;
this.day = day;
}
public int getYear() {
return year;
}
public void setYear(int year) {
this.year = ye... |
import java.util.ArrayList;
import java.util.List;
/*
* @lc app=leetcode.cn id=119 lang=java
*
* [119] 杨辉三角 II
*/
// @lc code=start
class Solution {
public List<Integer> getRow(int rowIndex) {
List<Integer> last = new ArrayList<Integer>();
last.add(1);
if (rowIndex == 0) {
... |
package com.springframework.springdependencyinjection.controllers;
import com.springframework.springdependencyinjection.services.GreetingServiceImpl;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
class ConstructorInjectedControllerTest {
ConstructorInjectedController controller;
... |
/* Copyright 2009-2019 David Hadka
*
* This file is part of the MOEA Framework.
*
* The MOEA Framework 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... |
/*
* Configurator.java
* Copyright © 1993-2018, The Avail Foundation, LLC.
* 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 copyri... |
package micronaut.microservices.models;
import javax.validation.constraints.*;
public class Person {
@Max(10000)
private Integer id;
@NotBlank
private String firstName;
@NotBlank
private String lastName;
@PositiveOrZero
private int age;
@NotNull
private Gender gender;
public Integer getId() {
return id... |
import br.com.swconsultoria.impressao.model.Impressao;
import br.com.swconsultoria.impressao.service.ImpressaoService;
import br.com.swconsultoria.impressao.util.ImpressaoUtil;
import net.sf.jasperreports.engine.JRException;
import org.xml.sax.SAXException;
import javax.xml.parsers.ParserConfigurationException;
import... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package spittr.web;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.ViewResolver;
import org.springframework.web.servlet.config.annotation.DefaultServletH... |
package com.netty.chapter_1;
import java.io.*;
import java.net.Socket;
import java.util.Date;
public class TimeServerHandler implements Runnable {
private Socket socket;
public TimeServerHandler(Socket socket) {
this.socket = socket;
}
@Override
public void run() {
BufferedReade... |
package org.apereo.cas.config;
import lombok.val;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.apereo.cas.ComponentSerializationPlan;
import org.apereo.cas.ComponentSerializationPlanConfigurator;
import org.apereo.cas.util.serialization.DefaultComponentSerializationPlan;
i... |
/**
*
*/
package org.bgp4j.net.events.update;
import org.bgp4j.net.EChannelDirection;
import org.bgp4j.net.events.NotificationEvent;
/**
* @author rainer
*
*/
public class UpdateNotificationEvent extends NotificationEvent {
/**
* @param direction
*/
protected UpdateNotificationEvent(EChannelDirection dir... |
/*******************************************************************************
* Copyright 2012 Apigee Corporation
*
* 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.... |
/*
* Description
*/
public class newProblem {
} |
package design._355;
import java.util.*;
import java.util.stream.Collectors;
//Notice: this class is NOT THREAD SAFE!!!
public class Twitter {
private static final int FEED_THRESHOLD = 10;
/**
* key: user id, value: list of tweet he or she tweets
*/
private final Map<Integer, List<Tweet>> user... |
/*
* 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.gos.infinite_recharge.subsystems;
import com.gos.infinite_recharge.Constants;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
import com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX;
import com.ctre.phoenix.motorcontrol.ControlMode;
import com.revrobotics.ColorMatch;
import com.revrobotics.ColorMatchRe... |
package netty.cookbook.chapter1.recipe1;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import io.netty.channel.ChannelInitializer;
import io.... |
package com.alipay.api.response;
import java.util.List;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
import com.alipay.api.domain.AssetResult;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: ant.merchant.expand.assetinfo.delivery.sync respon... |
/*
* 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 2006-2020 Prowide
*
* 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 com.netflix.discovery;
import java.util.TimerTask;
import java.util.concurrent.Future;
import java.util.concurrent.RejectedExecutionException;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.... |
package net.avicus.atlas.module.kits;
import com.google.common.collect.HashBasedTable;
import com.google.common.collect.Lists;
import com.google.common.collect.Table;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
import java.... |
package org.jctools.queues.blocking;
import org.jctools.queues.spec.ConcurrentQueueSpec;
import java.util.Queue;
public interface PutStrategy<E>
{
void backoffOffer(Queue<E> q, E e) throws InterruptedException;
void signal();
boolean supportsSpec(ConcurrentQueueSpec qs);
}
|
package spacesettlers.objects;
import java.awt.Color;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.UUID;
import spacesettlers.clients.Team;
import spacesettlers.graphics.BaseGraphics;
import spacesettlers.objects.powerups.SpaceSettlersPowerupE... |
package com.ulca.dataset.model.deserializer;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import org.json.JSONObject;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.... |
package ooga.model.gameobjectcomposites;
import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.util.AbstractMap.SimpleEntry;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import... |
package ru.udjin.sweater.domain;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import javax.persistence.*;
import java.util.Collection;
import java.util.Set;
@Entity
@Table(name = "usr")
public class User implements UserDetails {
@Id
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.