text stringlengths 7 995k |
|---|
package A;
public class Patient {
private int id = 0;
private int medicalCardNumber = 0;
private String name = "";
private String surname = "";
private String patronymic = "";
private String address = "";
private String phone = "";
private String diagnosis = "";
Patient() {
}
... |
package com.github.shuvava.sort;
/**
* Insertion sort(bubble sort) Complexity: O(n^2) for j(index) ← 2 to n insert key A[j] into the
* (already sorted) sub-array A[1 .. j-1]. by pairwise key-swaps down to its right position
* https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-006-introduction... |
//给你两个 非空 链表来代表两个非负整数。数字最高位位于链表开始位置。它们的每个节点只存储一位数字。将这两数相加会返回一个新的链表。
//
// 你可以假设除了数字 0 之外,这两个数字都不会以零开头。
//
//
//
// 进阶:
//
// 如果输入链表不能修改该如何处理?换句话说,你不能对列表中的节点进行翻转。
//
//
//
// 示例:
//
// 输入:(7 -> 2 -> 4 -> 3) + (5 -> 6 -> 4)
//输出:7 -> 8 -> 0 -> 7
//
// Related Topics 链表
// 👍 353 👎 0
package com.tomster.leetcod... |
/**
* The MIT License
* Copyright (c) 2010 JmxTrans team
*
* 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, ... |
/*
* Copyright 2014-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*
* Copyright 2017 HugeGraph Authors
*
* 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, Ve... |
/*
* Copyright (c) 2018 Cloudera, Inc. All Rights Reserved.
*
* Portions Copyright (c) Copyright 2013-2018 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.
* You may o... |
package cn.shopee.common.mybatis.mvc.controller;
import cn.shopee.common.http.PageResponse;
import cn.shopee.common.mvc.entity.AbstractEntity;
import cn.shopee.common.mvc.entity.tree.BootstrapTreeHelper;
import cn.shopee.common.mvc.entity.tree.BootstrapTreeNode;
import cn.shopee.common.mvc.entity.tree.TreeNode;
import... |
package com.deltareporter.listener.service;
import com.deltareporter.client.DeltaClient;
import com.deltareporter.models.TestSuiteHistoryType;
import com.deltareporter.util.http.HttpClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class TestSuiteHistoryService {
private static final Logger LO... |
/**********************************************************************
Copyright (c) 2005 Andy Jefferson and others.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licens... |
/* Copyright 1999 Vince Via vvia@viaoa.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 i... |
package cn.hc.notepad.dao;
import java.awt.List;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import cn.hc.notepad.bean.NoteBean;
import cn.hc.notepad.util.DBUtil;
public class NoteDao {
public int myInsert(Conn... |
/*
* Copyright (c) JForum Team
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
* 1) Redistributions of source code must retain the above
* copyright notice, this list of conditions a... |
package org.jacorb.demo.bank.concurrency;
import org.omg.CORBA.*;
import org.omg.CORBA.ORBPackage.*;
import org.omg.CosTransactions.*;
import org.omg.CosNaming.*;
import java.io.*;
import org.jacorb.concurrency.*;
import org.jacorb.transaction.*;
public class Server
{
public static void main( String[] args ) thr... |
/**
* Copyright 2011-2015 John Ericksen
*
* 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 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package com.cn.xmf.job.admin.sys;
import com.cn.xmf.base.model.RetData;
import com.cn.xmf.model.msg.Message;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.Req... |
package com.jeffrpowell.adventofcode.inputparser.section;
import java.util.ArrayList;
import java.util.List;
import com.jeffrpowell.adventofcode.inputparser.InputParser;
public class SectionInputParser implements InputParser<Section>{
private final SectionSplitStrategy strategy;
public SectionInputParser(S... |
package interpreter.bytecode;
import java.util.*;
import interpreter.*;
/**
* The FalseBranchCode class pops the top of the stack;
* it branches to the next bytecode if the top of the stack is 0
*/
public class FalseBranchCode extends ByteCode {
private int offset;
private String ref;
@Override
... |
/*
* Copyright 2006-2009 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by ap... |
package com.dslplatform.json;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
import java.math.BigDecimal;
public class LimitsTest {
@Test
public void numberLimit() throws IOException {
DslJson<Object> json = new DslJson<Object>(new DslJson.Settings<Object>().limitDigitsBuffer(20));
... |
//
// Este archivo ha sido generado por la arquitectura JavaTM para la implantación de la referencia de enlace (JAXB) XML v2.2.11
// Visite <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Todas las modificaciones realizadas en este archivo se perderán si se vuelve a compilar el esquema de o... |
/*
* 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 (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright 2010, 2011 Christopher Pheby
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
package com.jed.core;
import com.jed.state.DiscoState;
import com.jed.state.GameStateManager;
import com.jed.state.MenuState;
import com.jed.state.PlayState;
import com.jed.util.ExitStatusCode;
import org.colapietro.lwjgl.AbstractLwjglGameLoopable;
import org.colapietro.lwjgl.controllers.ButtonState;
import org.colapi... |
package org.chenile.owiz.impl.splitaggregate;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.chenile.owiz.impl.splitaggregate.IndividualSplitContext;
import org.chenile.owiz.impl.splitaggregate.SplitterContext;
public class MockSplitterContext implements... |
package nxt.http;
public enum APITag {
ACCOUNTS("Accounts"), ALIASES("Aliases"), AE("Asset Exchange"), CREATE_TRANSACTION("Create Transaction"),
BLOCKS("Blocks"), DGS("Digital Goods Store"), FORGING("Forging"), INFO("Server Info"), MESSAGES("Messages"),
TRANSACTIONS("Transactions"), TOKENS("Tokens"), VS("... |
/* LanguageTool, a natural language style checker
* Copyright (C) 2013 Daniel Naber (http://www.danielnaber.de)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.... |
/**
* @FileName : PPHttpTransfer.java
* @Project : Presence Pro
* @Copyright : Copyright (c) 2016 People Power Company. All rights reserved.
*/
package com.peoplepowerco.virtuoso.network;
import com.peoplepowerco.virtuoso.IPPVirtuosoTypes;
import com.peoplepowerco.virtuoso.PPVirtuoso;
import com.peoplepowerco.vir... |
package com.ctrip.xpipe.redis.keeper.simple;
import com.ctrip.xpipe.lifecycle.AbstractLifecycle;
import java.net.InetSocketAddress;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
/**
* @author wenchao.meng
*
* May 23, 2016
... |
/* Copyright (c) 2019 FIRST. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided that
* the following conditions are met:
*
* Redistributions of source code must retain the above cop... |
/*
Copyright 2017 yangchong211(github.com/yangchong211)
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.codepath.apps.simpleclienttwitter.dialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.su... |
////////////////////////////////////////////////////////////
//
// Anime Warfare
// Copyright (C) 2016 TiWinDeTea - contact@tiwindetea.org
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this softwar... |
package com.ustc.gjqapp.util.markdown; |
/*
* Copyright 2010-2015 JetBrains s.r.o.
*
* 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 agre... |
/*
* Copyright (c) 2019 envimate GmbH - https://envimate.com/.
*
* 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 yo... |
/*
* The MIT License
* Copyright © 2014-2021 Ilkka Seppä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, copy... |
package com.localhost.PersonaTabletopCompendiumServer.JsonAdapters;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.localhost.PersonaTabletopCompendiumServ... |
package com.applozic.mobicomkit.uiwidgets.conversation.adapter;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.Typeface;
import android.graphics.... |
import java.util.*;
import java.io.*;
import java.math.*;
class Solution {
public static void main(String args[]) {
Scanner in = new Scanner(System.in);
int R = in.nextInt();
int L = in.nextInt();
String[] conway = new String[L];
conway[0] = Integer.toString(R);
if(... |
package com.infilos.refine.std;
import com.infilos.refine.api.RefineResult;
import com.infilos.refine.api.Refined;
import java.util.Map;
import java.util.function.Predicate;
/**
* @author infilos on 2020-07-24.
*/
public final class Maps {
private Maps() {
}
public static <K, V> Refined<Map<K, V>> Is... |
package shape;
public class ShapeCollection {
public static final Shape POINT;
public static final Shape GLIDER;
public static final Shape SMALLEXPL;
public static final Shape EXPLODER;
public static final Shape ROW;
public static final Shape FISH;
public static final Shape PUMP;
public static final Shape SH... |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.cosmos.implementation;
import com.azure.core.annotation.ExpectedResponses;
import com.azure.core.annotation.Get;
import com.azur... |
/*
* Copyright (c) 2014 Spotify AB.
*
* 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,... |
import java.util.Iterator;
public class MovieGraphIterator implements Iterator<MovieGraphNode> {
@Override
public boolean hasNext() {
// TODO Auto-generated method stub
return false;
}
@Override
public MovieGraphNode next() {
// TODO Auto-generated method stub
return null;
}
@Override
public void r... |
/*
* 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... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE89_SQL_Injection__console_readLine_execute_68b.java
Label Definition File: CWE89_SQL_Injection.label.xml
Template File: sources-sinks-68b.tmpl.java
*/
/*
* @description
* CWE: 89 SQL Injection
* BadSource: console_readLine Read data from the console using readLine()
... |
package util.crawler;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.ConnectException;
import java.net.SocketException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import jav... |
/*
* Copyright 2002-2004 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... |
package org.datax.console.base.entity;
import lombok.Getter;
import lombok.Setter;
/**
* 结果返回类
* Created by ChengJie on 2018/12/7 12:24
*/
@Getter
@Setter
public class ResResult<T> {
private static final long serialVersionUID = 1L;
private static final int OK_CODE = 0;
private static final int ERROR... |
package com.danilojakob.application.repository;
import com.danilojakob.application.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.Optional;
/**
* User Repository
* @copyright Danilo Jakob
*/
@Repository
public interface... |
package org.jboss.pnc.bacon.test.pig;
import org.apache.commons.lang3.RandomStringUtils;
import org.jboss.pnc.bacon.common.Constant;
import org.jboss.pnc.bacon.common.exception.FatalException;
import org.jboss.pnc.bacon.config.Config;
import org.jboss.pnc.bacon.config.PigConfig;
import org.jboss.pnc.bacon.config.Valid... |
/*******************************************************************************
* 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... |
package com.example.indicatorlib.views;
import android.support.annotation.Nullable;
import com.example.indicatorlib.views.animation.AnimationManager;
import com.example.indicatorlib.views.animation.controller.ValueController;
import com.example.indicatorlib.views.animation.data.Value;
import com.example.indicatorlib.... |
package io.marvinmao;
import io.marvinmao.common.utils.RedisUtils;
import io.marvinmao.modules.sys.entity.SysUserEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframew... |
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("jf")
@Implements("VarCInt")
public class VarCInt extends CacheableNode {
@ObfuscatedName("e")
@ObfuscatedSignature(
signature = "Lhi;"
)
static NodeCac... |
/*
* Copyright 2013-2016 Sergey Ignatov, Alexander Zolotov, Florin Patan
*
* 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 req... |
/*
* 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 archivosPorWeb.cliente;
import archivosPorWeb.comun.IServidorArchivos;
import archivosPorWeb.comun.JServidorArchivos;
/**
*
... |
/*
* This file is part of Burningwave Core.
*
* Author: Roberto Gentili
*
* Hosted at: https://github.com/burningwave/core
*
* --
*
* The MIT License (MIT)
*
* Copyright (c) 2019 Roberto Gentili
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated... |
/*
* Pore
* Copyright (c) 2014-2015, Lapis <https://github.com/LapisBlue>
*
* The MIT License
*
* 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 ... |
// Template Source: BaseEntityCollectionPage.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -----------------------------... |
package org.smartframework.cloud.examples.mall.product.controller.rpc;
import org.smartframework.cloud.common.pojo.Base;
import org.smartframework.cloud.common.pojo.Response;
import org.smartframework.cloud.examples.mall.product.enums.ProductReturnCodes;
import org.smartframework.cloud.examples.mall.product.service.rp... |
package com.karonl.instance.Adapter;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import com.karonl.instance.Interface.BitBuffer;
import com.karonl.instance.Unit.PathUnit;
import java.util.List;
/**
* Cre... |
package de.webapp.springboot.todos.project.phase.serviceRepo;
import de.webapp.springboot.todos.project.phase.domain.ProjectPhase;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface ProjectPhaseRepository extends JpaRepository<P... |
/*******************************************************************************
* Copyright (c) 2017 Sierra Wireless and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 whic... |
class Test {
void foo(int i, int i1) {
System.out.println(i1);
System.out.println(i);
}
} |
package com.margin.endpoint;
import com.margin.error.ApiException;
import com.margin.enums.LoadingStage;
import org.springframework.stereotype.Component;
@Component
public class EndpointHelper {
public ApiException create(final String message, final LoadingStage loadingStage){
final ApiException exceptio... |
package de.metas.procurement.webui.sync;
import com.google.common.collect.Maps;
import de.metas.common.procurement.sync.protocol.dto.SyncContract;
import de.metas.procurement.webui.model.BPartner;
import de.metas.procurement.webui.model.Contract;
import de.metas.procurement.webui.repository.ContractRepository;
import ... |
package com.easybusiness.usermanagement.repository;
import java.util.List;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import com.easybusiness.usermanagement.entity.Designation;
public interface DesignationRepository extends JpaRepository<Designation, Long>{
Optiona... |
/*
* 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 n... |
/*
* Copyright 2014 FortSoft
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with
* the License. You may obtain a copy of the License in the LICENSE file, or at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... |
package com.sendbird.syncmanager.sample.main;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
import com.sendbird.android.SendBird;
import com.sendbird.... |
package com.umidity.api.caller;
/**
* Enumeration for response mode. Generally, Umiditity will use JSON format, but you never know if an XML or HTML
* will be needed in future.
*/
public enum EMode {
/**
* Get JSON responses
*/
JSON(""),
/**
* Get XML responses
*/
XML("xml"),
... |
/*
*
* Copyright 2020 WeBank
*
* 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.khayyamapp.juveiran.activity;
import android.Manifest;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
im... |
/*
* 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 ... |
/*
* 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... |
/**
* Copyright (C) 2017 - present McLeod Moores Software Limited. All rights reserved.
*/
package com.mcleodmoores.analytics.math.statistics.descriptive;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertNotEquals;
import org.testng.annotations.Test;
import com.opengamma.util.te... |
/*
* Copyright 1999-2101 Alibaba Group Holding 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 applica... |
/*
* Copyright Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags and
* the COPYRIGHT.txt file distributed with this work.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
/**
* 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.fastcatsearch.ir.search;
import java.io.File;
import java.util.Enumeration;
import org.fastcatsearch.ir.document.Document;
public class SegmentDocumentEnumeration implements Enumeration<Document> {
public SegmentDocumentEnumeration(File segmentHome){
}
@Override
public boolean hasMoreElements() {... |
package library.org.json;
/*
Copyright (c) 2002 JSON.org
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, me... |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... |
package com.flashspeed.commons.core;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Represents a version with major, minor and patch number
*/
public class Version implements Comparable<Ve... |
/*
* 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.javarush.task.task06.task0601;
/*
Метод finalize класса Cat
*/
public class Cat {
//напишите тут ваш код
String name;
Cat(String name) {
this.name =name;
}
protected void finalize() throws Throwable{}
public static void main(String[] args) {
}
} |
package com.alipay.api.domain;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 批量请求结算
*
* @author auto create
* @since 1.0, 2018-07-06 14:43:35
*/
public class AlipayTradeBatchSettleModel exten... |
package test.thread.parallelization;
import com.google.common.collect.Multimap;
import org.testng.ITestNGListener;
import org.testng.TestNG;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import org.testng.xml.XmlSuite;
import test.thread.parallelization.TestNgRunStateTracker.EventLog;... |
/*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org... |
/*
* Copyright (c) 2020 gematik 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.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
/*
* 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 co.edu.UNal.ArquitecturaDeSoftware.Bienestar.Vista.Cuenta;
import co.edu.UNal.ArquitecturaDeSoftware.Bienestar.Control.Cuentas... |
/*
* Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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://w... |
/*
* Copyright 2018 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package cmps252.HW4_2.UnitTesting;
import static org.junit.jupiter.api.Assertions.*;
import java.io.FileNotFoundException;
import java.util.List;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import cmps252.HW4_2.... |
package com.academy.librarymanagement.adapters.out;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Objects;
@Document(collection = "library")
public class Book {
@Id
private... |
package com.khs.stockticker;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelFutureListener;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelProgressiveFuture;
import io.netty.channel.ChannelProgressive... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.