text stringlengths 7 995k |
|---|
/******************************************************************
*
* CyberHTTP for Java
*
* Copyright (C) Satoshi Konno 2002-2004
*
* File: HTTPConnection.java
*
* Revision;
*
* 11/18/02
* - first revision.
* 09/02/03
* - Giordano Sassaroli <sassarol@cefriel.it>
* - Problem : The API is unable to receive response... |
package com.lanking.cloud.job.stuHkRateStat.dao;
import com.lanking.cloud.domain.yoomath.stat.StudentHomeworkRightRateStat;
public interface StudentHomeworkRightRateStatDAO {
StudentHomeworkRightRateStat save(StudentHomeworkRightRateStat stat);
} |
/**
* Created by korcky on 26/01/17.
*/
public interface ShipFactory {
Battleship createBattleship();
Cruiser createCruiser();
Industrial createTransport();
Frigate createFrigate();
} |
package org.infinispan.api;
import org.infinispan.commons.util.concurrent.NotifyingFuture;
import org.infinispan.configuration.cache.ConfigurationBuilder;
import org.infinispan.manager.EmbeddedCacheManager;
import org.infinispan.metadata.EmbeddedMetadata;
import org.infinispan.test.SingleCacheManagerTest;
import org.i... |
// ========================================================================
// Copyright 2007-2008 NEXCOM Systems
// ------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Lice... |
package io.github.nubesgen.service;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import io.github.nubesgen.configuration.*;
import org.junit.jupiter.api.Test;
public class ConfigurationServiceTest {
ConfigurationService service = new Co... |
package com.sungness.core.jms;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.jms.core.JmsTemplate;
import javax.jms.Message;
/**
* QueueSender
* Created by wanghongwei on 6/23/16.
*/
public class QueueSender {
private static final Logger log = LoggerFactory.getLogger(Queu... |
/**
* Copyright 2019 Adobe Systems Incorporated. All rights reserved.
* This file is licensed 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.apache.org/licenses/LICENSE-2.0
*
* Unl... |
/**
* Copyright (c) 2018 Ketan Gote
*
* 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... |
/*
* Copyright (c) 2018, 2020, 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 ... |
/*
* Copyright 2017 Apereo
*
* 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... |
/*
* tapi-common,tapi-dsr,tapi-path-computation,tapi-eth,tapi-virtual-network,tapi-topology,tapi-notification,tapi-oam,tapi-photonic-media,tapi-connectivity API
* tapi-common,tapi-dsr,tapi-path-computation,tapi-eth,tapi-virtual-network,tapi-topology,tapi-notification,tapi-oam,tapi-photonic-media,tapi-connectivity API... |
/*
* Copyright (c) 2020 Project CHIP Authors
* 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... |
package com.shj.javalib.designMode.jinShi.action.command;
public abstract class Command {
public abstract String execute();
} |
package org.pushingpixels.demo.substance.main.check.svg.filetypes;
import java.awt.*;
import java.awt.geom.*;
import javax.swing.plaf.UIResource;
import org.pushingpixels.neon.icon.IsHiDpiAware;
import org.pushingpixels.neon.icon.ResizableIcon;
import org.pushingpixels.neon.icon.NeonIcon;
import org.pushingpixels.neo... |
/**
*
* 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"); ... |
/*
* MIT License
*
* Copyright (c) 2022 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 2020 The DistributedEventing Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
package com.egzosn.pay.demo.controller;
import com.egzosn.pay.common.api.PayService;
import com.egzosn.pay.common.bean.CertStoreType;
import com.egzosn.pay.common.bean.MethodType;
import com.egzosn.pay.common.bean.PayOrder;
import com.egzosn.pay.common.bean.RefundOrder;
import com.egzosn.pay.common.http.HttpConfigSto... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/*
* Copyright 2011 LMAX 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 wri... |
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 ... |
package cz.muni.sci.astro.fhm.core;
import cz.muni.sci.astro.fits.FitsCard;
import cz.muni.sci.astro.fits.FitsFile;
import java.util.List;
import java.util.StringJoiner;
/**
* Represents add card operation
*
* @author Jan Hlava, 395986
*/
public class OperationAddCard implements Operation {
private String ke... |
/*
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener... |
package com.WazaBe.HoloEverywhere.app;
import java.util.Calendar;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.os.Bundle;
import android.text.format.DateUtils;
import android.view.View;
import com.WazaBe.HoloEverywhere.... |
package com.wcy.gulimall.ware.service.impl;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wcy.co... |
/*
* Copyright (c) 2018, Tomas Slusny <slusnucky@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, thi... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2012, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... |
package com.twu.biblioteca.Resources;
import com.twu.biblioteca.Resource;
public class Movie extends Resource {
private String director;
private int rating;
public Movie(String name, int year, String director, int rating) {
super(name, year);
this.director = director;
this.rating ... |
package spring.project.vo;
public class BoardVO {
private int board_no;
private String board_name;
private String board_title;
private String board_cont;
private String board_pwd;
private String board_regdate;
public int getBoard_no() {
return board_no;
}
public void setBoard_no(int board_no) {
this.bo... |
package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.keyword.LifelinkAbility;
import mage.constants.CardType;
import mage.constants.SubType;
/**
*
* @author fireshoes
*/
public final class CatToken2 extends TokenImpl {
public CatToken2() {
this((String)null);
}
pu... |
package org.apache.spark.examples;
import org.apache.spark.SparkConf;
import org.apache.spark.api.java.function.Function0;
import org.apache.spark.streaming.Duration;
import org.apache.spark.streaming.Seconds;
import org.apache.spark.streaming.api.java.JavaDStream;
import org.apache.spark.streaming.api.java.JavaReceiv... |
package org.ostrya.presencepublisher.ui.dialog;
import android.app.Activity;
import android.app.Dialog;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog;
import androidx.fragment.app.DialogFragment;
import org.ostrya.presencepu... |
package org.apache.fulcrum.security.ldap.acl;
/*
* 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... |
package io.nutz.nutzsite.module.sys.models;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.nutz.nutzsite.common.base.BaseModel;
import org.nutz.dao.entity.annotation.*;
import org.nutz.plugins.validation.annotation.Validations;
import java.io.... |
/*
* This file was automatically generated by EvoSuite
* Sun Nov 08 20:19:51 GMT 2020
*/
package org.quickserver.util.xmlreader;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.charset.IllegalCharsetNameException;
import java.nio.charset.... |
package com.developer.filepicker.file;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Environment;
import android.provider.Settings;
import android.view.Menu;
import android.view.MenuInflater;
import ... |
package com.jawnnypoo.wallpapergetter.services;
import android.app.IntentService;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.AsyncTask;
import android.os.Environment;
import android.util.Log;
import com.jawnny... |
package org.wildfly.swarm.vertx;
import javax.annotation.Resource;
import javax.ejb.Stateless;
import io.vertx.resourceadapter.VertxConnectionFactory;
/**
* Created by ggastald on 09/06/16.
*/
@Stateless
public class VertxProvider {
@Resource(mappedName = "java:/eis/VertxConnectionFactory")
VertxConnectio... |
package com.fet.lineBot.domain.model;
import lombok.Data;
import javax.persistence.*;
@Entity
@Table(name = "MANGA_DATA")
@Data
public class MangaData {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long id;
@Column(name = "MANGA_ID")
private int mangaId;
@Column(name = "CHAPTER_NO")
pr... |
package com.gos.steam_works.robot.commands;
import edu.wpi.first.wpilibj.command.Command;
import com.gos.steam_works.robot.OI;
import com.gos.steam_works.robot.OI.DriveDirection;
import com.gos.steam_works.robot.subsystems.Chassis;
/**
*
*/
public class SwitchToDriveBackward extends Command {
private final Cha... |
package com.github.chen0040.leetcode.day07.easy;
/**
* Created by xschen on 2/8/2017.
*
* summary:
* Remove all elements from a linked list of integers that have value val.
*
* link: https://leetcode.com/problems/remove-linked-list-elements/description/
*/
public class RemoveLinkedListElements {
public cla... |
package org.kakara.client.local.game;
import org.kakara.core.client.client.Save;
import org.kakara.core.client.client.SaveSettings;
import org.kakara.core.client.client.SaveSettingsBuilder;
import org.kakara.core.common.exceptions.SaveLoadException;
import org.kakara.core.common.exceptions.WorldLoadException;
import ... |
package org.linlinjava.litemall.db.service.impl;
import org.linlinjava.litemall.db.entity.Region;
import org.linlinjava.litemall.db.mapper.RegionMapper;
import org.linlinjava.litemall.db.service.IRegionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Se... |
package com.example.mobilesafe.Activity;
import android.Manifest;
import android.app.Application;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.net.Uri;
import and... |
package com.jiedangou.i17dl.api.sdk.bean.param.biz;
/**
* Created on 2018/1/28
*
* @author Jianghao(howechiang @ gmail.com)
*/
public class Basepicture {
private String _id;
private String screenshot;
private Long time;
public String get_id() {
return _id;
}
public void set_id(... |
package com.owlike.genson.bean;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Link {
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((href == null) ? 0 : href.hashCode());
return result;
}
@Override
public boolean equa... |
/*
* Copyright 2002-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* $Id$
*/
/*
Copyright (c) 2012 Board of Trustees of Leland Stanford Jr. University,
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 without restriction, including with... |
/**
*
*/
package textgen;
import static org.junit.Assert.*;
import java.util.LinkedList;
import org.junit.Before;
import org.junit.Test;
/**
* @author UC San Diego MOOC team
*
*/
public class MyLinkedListTester {
private static final int LONG_LIST_LENGTH =10;
MyLinkedList<String> shortList;
MyLinkedList... |
/*
* Copyright (c) 2014, 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 Softwa... |
package com.ctrip.xpipe.redis.console.healthcheck.impl;
import com.ctrip.xpipe.api.endpoint.Endpoint;
import com.ctrip.xpipe.api.foundation.FoundationService;
import com.ctrip.xpipe.cluster.ClusterType;
import com.ctrip.xpipe.endpoint.HostPort;
import com.ctrip.xpipe.lifecycle.LifecycleHelper;
import com.ctrip.xpipe.r... |
/*
* 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 curso.mpgo.com.cursoandroid;
/**
* Created by ricardoogliari on 5/10/16.
*/
public class Itens {
public java.util.List<Posicao> posicoes;
public java.util.List<Circulo> circulos;
public java.util.List<Poligono> poligonos;
} |
/*
* 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.baeldung.objectsize;
import java.util.ArrayList;
import java.util.List;
public class InstrumentationExample {
public static void printObjectSize(Object object) {
System.out.println("Object type: " + object.getClass() + ", size: " + InstrumentationAgent.getObjectSize(object) + " bytes");
}... |
package com.feljtech.istudybucket.config.jwt;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.SignatureAlgorithm;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Compone... |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.util;
import com.intellij.ide.IdeBundle;
import com.intellij.ide.projectView.BaseProjectTreeBuilder;
import com.intellij.ide.projectView.ProjectViewNode... |
/*
* (C) Copyright 2019 Netcentric, a Cognizant Digital Business.
*
* 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 b... |
// "Sort content" "false"
enum E {
Foo(null),
Bar(Foo),<caret>
Baz(null);
E(E e) {
}
} |
// Copyright 2014 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
package br.com.fiap.healthmater.repository;
import br.com.fiap.healthmater.entity.Permission;
import org.springframework.data.jpa.repository.JpaRepository;
/**
* Repository class for {@link Permission}.
*
* @author Gabriel Oliveira
*/
public interface PermissionRepository extends JpaRepository<Permission, Integer... |
/*
* This software is Copyright by the Board of Trustees of Michigan
* State University (c) Copyright 2013, 2014.
*
* You may use this software under the terms of the GNU public license
* (GPL). The terms of this license are described at:
* http://www.gnu.org/licenses/gpl.txt
*
* Contact Information:... |
package me.MrGraycat.eGlow.Command.SubCommands.Admin;
import java.lang.reflect.Field;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandMap;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import me.MrGraycat.eGlow.Command.SubCommand;
import me.MrGraycat.eGlow.Config.EGlowMainConfi... |
/**
* SeeScore Android API
* Dolphin Computing http://www.dolphin-com.co.uk
*/
package uk.co.dolphin_com.sscore;
/**
* Information about items in a bar of a particular part
* returned from SScore.getBarContents()
*/
public class BarGroup
{
/**
* index of part containing this group
*/
public final int part... |
package cn.wyz.wyzmall.product.service.impl;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.wyz.co... |
package com.github.kimmokarlsson.somvis.som;
/**
*
*/
public class Vector
{
private double[] val;
public Vector(int n)
{
val = new double[n];
}
public Vector(double[] d)
{
this(d.length);
System.arraycopy(d, 0, val, 0, d.length);
}
public Vector(Vec... |
package no.nav.testnav.libs.dto.sykemelding.v1;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class DetaljerDTO {
private String tiltakArbeidsplass;
p... |
package org.sidao.github.danielwegener.logback.kafka.encoding;
import ch.qos.logback.core.spi.ContextAwareBase;
import ch.qos.logback.core.spi.LifeCycle;
/**
* A base class for {@link KafkaMessageEncoder}'s that are {@link ContextAwareBase} and have a {@link LifeCycle}
* @since 0.0.1
*/
public abstract class Kafka... |
package seedu.address.logic.parser;
import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.address.logic.commands.CommandTestUtil.FINISHED_STATUS_DESC_TRUE;
import static seedu.address.logic.commands.CommandTestUtil.GRADE_DESC_CS1010;
import static seedu.address.logic.com... |
package uk.gov.openregister.config;
import com.fasterxml.jackson.databind.JsonNode;
import org.apache.commons.dbcp2.BasicDataSource;
import org.markdownj.MarkdownProcessor;
import play.libs.ws.WS;
import play.libs.ws.WSResponse;
import uk.gov.openregister.linking.Curie;
import uk.gov.openregister.linking.CurieResolver... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v10/common/criteria.proto
package com.google.ads.googleads.v10.common;
/**
* <pre>
* A language criterion.
* </pre>
*
* Protobuf type {@code google.ads.googleads.v10.common.LanguageInfo}
*/
public final class LanguageInf... |
/*
* Copyright (C) Red Gate Software Ltd 2010-2021
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
package com.cloud.assignment.assignment.Note;
import com.cloud.assignment.assignment.AmazonS3_dev.AmazonClient;
import com.cloud.assignment.assignment.Attachment.Attachment;
import com.cloud.assignment.assignment.Attachment.AttachmentRepository;
import com.cloud.assignment.assignment.webSource.User;
import com.cloud.a... |
/*
* Copyright 2020 Marc Nuri
*
* 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.surenpi.jenkins.phoenix;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import hudson.AbortException;
import hudson.EnvVars;
import hudson.FilePath;
import hudson.Launcher;
import hudson.model.TaskListener;
import hudson.util.DaemonThreadFactory;
import hudson.util.LogTaskListener;
import hudso... |
package com.nosqldriver.jdbc.http;
import com.nosqldriver.jdbc.http.AssertUtils.GettersSupplier;
import com.nosqldriver.util.function.ThrowingConsumer;
import org.junit.jupiter.params.ParameterizedTest;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLExcept... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
package com.morenakingdom.sumek.talkrunners.Models;
import java.io.Serializable;
import java.net.DatagramSocket;
import java.net.Socket;
/**
* Created by sumek on 1/1/18.
*/
public class ClientDep {
public Socket tcpConnection;
public DatagramSocket udpConnection;
public ClientDep(Socket sock) {
... |
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.persistence.impl.hibernate.usertype;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.sql.PreparedStatement;
import ja... |
/*
* Copyright 2012-2022 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... |
/*
* TextUtilities.java - Utility functions used by the text area classes
* Copyright (C) 1999 Slava Pestov
*
* You may use and modify this package for any purpose. Redistribution is
* permitted, in both source and binary form, provided that this notice
* remains intact in all source distributions of this package... |
/**
* This is the core package for the application.
* @since 0.0.1.
*/
package fr.lacnet.mcm.ext1.card.treasure.item; |
// Copyright (c) 2019, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.ir.optimize.classinliner;
import static com.android.tools.r8.utils.codeinspe... |
package application;
public class MultipleViews {
public static void main(String[] args) {
System.out.println("Hello world!");
}
} |
/*
* 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.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 无线转账支付咨询接口
*
* @author auto create
* @since 1.0, 2020-08-27 11:50:10
*/
public class AlipayFundTransAppConsultModel extends AlipayObject {
private static final long serialVersionUID = 43224... |
/*
* WorldEdit, a Minecraft world manipulation toolkit
* Copyright (C) sk89q <http://www.sk89q.com>
* Copyright (C) WorldEdit team and contributors
*
* This program 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 F... |
/**
* Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.hadoop.hive.metastore.api;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;... |
package pt.ist.socialsoftware.edition.ldod.controller.api.microfrontend.dto;
import java.util.List;
import java.util.stream.Collectors;
import pt.ist.socialsoftware.edition.ldod.domain.Category;
import pt.ist.socialsoftware.edition.ldod.domain.LdoDUser;
import pt.ist.socialsoftware.edition.ldod.domain.VirtualEdition;... |
package com.deu.cengonline.message.request;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
public class LoginForm {
@NotBlank
@Size(min = 3, max = 100)
private String email;
@NotBlank
@Size(min = 6, max = 100)
private String password;
public String getEmail() {
retu... |
package com.linln.admin.dictionary.validator;
import lombok.Data;
import java.io.Serializable;
/**
* @author cuike
* @date 2019/12/02
*/
@Data
public class DistrictlistValid implements Serializable {
} |
package com.astrojardin.ruby.block;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags;
import net.minecraft.block.Block;
import net.minecraft.block.Material;
import net.minecraft.block.OreBlock;
import net.minecraft.sound.BlockSou... |
package com.github.charlemaznable.guardians.general.exception;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
public class RequestValidateGuardianExceptionTest {
@Test
public void testAccessIdGuardian... |
package com.github.hcsp.calculation;
import java.lang.reflect.Field;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
public class CatTest {
@Test
public void test1() throws Exception {
Cat cat = new Cat();
cat.setCute(true);
cat.setCute(true);
cat.se... |
package com.ilscipio.scipio.cms.control;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.servlet.http.HttpServletRequest;
import org.ofbiz.base.util.Debug;
import org.ofbiz.base.util.UtilGenerics;
... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.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/license... |
package br.com.sistemaEventos.controller;
import java.io.Serializable;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import br.com.sistemaEventos.dao.UfDAO;
import br.com.sistemaEventos.model.Uf;
@ManagedBean
@ViewScoped
public class UfMB implements Serializable{
... |
/*
* Copyright 2019 Red Hat
*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.