text stringlengths 7 995k |
|---|
package android.support.v4.app;
import android.app.Notification;
import android.app.Notification.Action;
import android.app.Notification.Action.Builder;
import android.app.Notification.Builder;
import android.app.RemoteInput;
import android.os.Parcelable;
import java.util.ArrayList;
class NotificationCompatApi20
{
... |
package com.malik.ithar.web.rest;
import com.malik.ithar.ConferenceApp;
import com.malik.ithar.domain.Speaker;
import com.malik.ithar.repository.SpeakerRepository;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.Mock;
import org.junit.jupiter.api.extension.ExtendWith;
im... |
/*
* Copyright 2020 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* 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.illposed.osc;
import com.illposed.osc.OSCBundle;
import com.illposed.osc.OSCMessage;
import com.illposed.osc.OSCPacket;
import java.util.Arrays;
import java.util.Collections;
import java.util.stream.Collectors;
public class Debug
{
private static String indent(String str, int indentLevel) {
String inde... |
package io.gridgo.bean.serialization.text;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import io.gridgo.bean.BElement;
import io.gridgo.bean.exceptions.BeanSerializationException;
import io.gridgo.... |
package org.apereo.cas.support.saml.web.idp.profile.builders;
import org.apereo.cas.support.saml.SamlException;
import org.apereo.cas.support.saml.services.SamlRegisteredService;
import org.apereo.cas.support.saml.services.idp.metadata.SamlRegisteredServiceServiceProviderMetadataFacade;
import org.opensaml.core.xml.X... |
package storm.redditsentiment;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import jline.internal.Log;
/**
* Maintains comment counts for each stor... |
package com.websystique.springmvc.controller;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.file.Files;
i... |
/*
* 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... |
package com.mybooks.web.rest;
import com.codahale.metrics.annotation.Timed;
import com.mybooks.domain.Book;
import com.mybooks.repository.BookRepository;
import com.mybooks.web.rest.errors.BadRequestAlertException;
import com.mybooks.web.rest.util.HeaderUtil;
import io.github.jhipster.web.util.ResponseUtil;
import org... |
/**
* Copyright (c) 2002-2013 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software F... |
/*
* 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... |
package com.transport.university.universitytransportsystem.controller;
import com.transport.university.universitytransportsystem.model.Notification;
import com.transport.university.universitytransportsystem.model.User;
import com.transport.university.universitytransportsystem.security.CustomUserDetailsService;
import ... |
package com.udacity.jdnd.course3.critter.dto;
import com.udacity.jdnd.course3.critter.model.EmployeeSkill;
import java.time.DayOfWeek;
import java.util.Set;
/**
* Represents the form that employee request and response data takes. Does not map
* to the database directly.
*/
public class EmployeeDTO {
private l... |
/*
Copyright 2018 Ryosuke839
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... |
/*
* 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 com.apple.flagpicker.db.dao;
import com.apple.flagpicker.db.models.Country;
import java.util.List;
import java.util.Set;
/**
... |
package u24.mongodb.nuclear.segmentation.model;
import java.util.ArrayList;
import java.util.UUID;
import com.mongodb.BasicDBObject;
/**
* Describe the analysis pipeline.
* Not currently used.
*/
public class PipelineMetadata {
private String uuid;
private String name;
private String version;
priv... |
/*
* 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 de.adesso.budgeteer.core.person.service;
import de.adesso.budgeteer.core.person.port.in.DeletePersonByIdUseCase;
import de.adesso.budgeteer.core.person.port.out.DeletePersonByIdPort;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
@Service
@RequiredArgsConstructor
public ... |
package org.codingnewtalking.toolbox.string;
/**
* <p>字符读取器
* @author lixinjie
* @since 2019-07-12
*/
public class CharReader {
public static final char END = '\0';
private char[] source;
//逆序(倒着)读取
private boolean reverse;
//结束索引
private int endIndex;
//开始(当前)索引
private int index;
//结束时返回的字符
private ... |
package com.jenkins;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.wm.ToolWindow;
import com.intellij.openapi.wm.ToolWindowFactory;
import com.intellij.ui.content.Content;
import com.intellij.ui.content.ContentFactory;
import com.jenkins.ui.tooltab.JenkinsMain;
import org.jetbrains.annotatio... |
/*
* HE_Mesh Frederik Vanhoutte - www.wblut.com
* https://github.com/wblut/HE_Mesh
* A Processing/Java library for for creating and manipulating polygonal meshes.
* Public Domain: http://creativecommons.org/publicdomain/zero/1.0/
*/
package wblut.hemesh;
import java.util.ArrayList;
import java.util.Collection;
im... |
package xyz.garywzh.simpleweather.ui.adapter;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.Glide;
import java.util.List;
import xyz.g... |
package org.cloudifysource.quality.iTests.test.cli.cloudify.cloud.ec2.examples;
import java.io.File;
import org.cloudifysource.quality.iTests.test.cli.cloudify.CommandTestUtils;
import org.cloudifysource.quality.iTests.test.cli.cloudify.cloud.ec2win.Ec2WinExamplesTest;
import org.cloudifysource.quality.iTests.test.cl... |
package edu.san.springcloudapigateway;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.management.cosmosdb.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.management.c... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.security.models;
import com.azure.core.annotation.Immutable;
import com.azure.core.util.logging.ClientLogger;
import com.fasterx... |
/*
* Created on Mar 5, 2012
*
* 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 writi... |
package checkers.evaluation;
import checkers.domain.Model;
import checkers.domain.Player;
public interface IEvaluation {
double evaluate(Model model, Player player);
} |
package mchorse.blockbuster.client.textures;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
import java.util.Map;
import javax.imageio.ImageIO;
import mchorse.mclib.utils.ReflectionUtils;
import net.minecraft.client.Min... |
package no.nilsjarh.ntnu.fantj2;
import no.nilsjarh.ntnu.fantj2.model.LoggedInUser;
import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
public interface AuthApi {
public static String PREFIX ... |
/*
* ported to v0.56
* using automatic conversion tool v0.01
*/
package WIP.mame056.vidhrdw;
import static arcadeflex056.fucPtr.*;
import static common.libc.cstring.memset;
import static mame056.usrintrf.*;
import static mame056.memoryH.*;
import static mame056.memory.*;
import static common.ptr.*;
import common.... |
/**
* Copyright 2011 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 applic... |
import java.util.*;
import java.util.concurrent.CountDownLatch;
import java.util.stream.Collectors;
public class Main {
/*
-> Intermediate result:
[
friend: 1,
need: 1,
...
]
-> Reducers input:
[
[
friend: 1,
friend: 1
],
... |
package org.omg.hw.trailNtwProtection;
/**
* Generated from IDL interface "TrailNtwProtMgr_I"
* @author JacORB IDL compiler V 2.2.3, 10-Dec-2005
*/
public interface TrailNtwProtMgr_I
extends TrailNtwProtMgr_IOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, org.omg.hw.common.Common_I
{
} |
package com.ch.podo.notice.model.vo;
import java.sql.Date;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
@ToString
public class Notice {
private int id;
private String t... |
package redis.clients.jedis;
import java.net.URI;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLParameters;
import javax.net.ssl.SSLSocketFactory;
import redis.clients.jedis.exceptions.InvalidURIException;
import redis.clients.util.JedisURIHelper;
import redis.clients.util.ShardInfo;
import redis.cl... |
package com.idealista.fpe.component.functions;
import static org.assertj.core.api.Assertions.assertThat;
import java.math.BigInteger;
import org.junit.Test;
public class ComponentFunctionShould {
//Test cases: http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38G.pdf # Sec4.2
@Test
publ... |
package org.zstack.sdk;
public class QueryVirtualRouterVRouterRouteTableRefResult {
public java.util.List<VirtualRouterVRouterRouteTableRefInventory> inventories;
public void setInventories(java.util.List<VirtualRouterVRouterRouteTableRefInventory> inventories) {
this.inventories = inventories;
}
... |
/*
* 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 2018 Ricoh Company, 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 agree... |
/*
* Copyright 2017 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
/*
* Copyright (c) 2008-2014 MongoDB, 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 a... |
/*
* Copyright (c) 2017, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
package com.salesforce.grpc.contrib.context;
import com.google.common.util.concurr... |
package fopbot.global;
import fopbot.World;
import fopbot.headless.HeadlessWorld;
import fopbot.impl.Grid;
public class HeadlessRunner implements GlobalRunner {
@Override
public World createWorld(Grid grid) {
return new HeadlessWorld(grid);
}
} |
import java.util.Scanner;
public class Last3ConsecutiveEqualStrings {
public static void main(String[] args) {
Scanner console = new Scanner(System.in);
String[] words = console.nextLine().split(" ");
for (int i = words.length - 1; i > 0; i--) {
String lastWord = words[i];
... |
package cs2340.shelterbuzz.model;
import android.util.Log;
import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.DatabaseError;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.FirebaseDatabase;
import com.google.firebase.database.ValueEventLis... |
/*
* Copyright 2016-2021 Talsma ICT
*
* 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.gentics.cr.lucene.indexer.index;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.io.File;
import java.io.IOException;
import java.net.URISyntaxException;
import java.net.URL;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.... |
public final class Citizen extends BaseBuyer implements Buyer {
private static final Integer FOOD_MOD = 10;
private String id;
private String birthDate;
public Citizen(String name, Integer age, String id, String birthDate) {
super(name, age);
this.id = id;
this.birthDate = bir... |
/**
* Copyright 2009-2015 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
*
* Unle... |
package org.ovirt.engine.core.vdsbroker.gluster;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.TimeZone;
import org.ovirt.engine.core.common.businessentities.gluster.GlusterSnapshotStatus... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.changeanalysis.models;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.util.Context;
import java.time.Offse... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.cognitiveservices.language.luis.authoring.models;
import co... |
/*
* 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... |
package io.github.stefan_ghioci.processing;
import java.util.Objects;
public class Color
{
public static final Color BLACK = new Color(0, 0, 0);
private final int red;
private final int green;
private final int blue;
public Color(int red, int green, int blue)
{
this.red = red;
... |
/*
* 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... |
package com.sparrowwallet.drongo;
import com.sparrowwallet.drongo.crypto.*;
import com.sparrowwallet.drongo.protocol.ProtocolException;
import com.sparrowwallet.drongo.protocol.Ripemd160;
import com.sparrowwallet.drongo.protocol.Sha256Hash;
import org.bouncycastle.crypto.digests.SHA512Digest;
import org.bouncycastle.c... |
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
class Solution {
public List<List<Integer>> XXX(int[] nums) {
List<Integer> cur = new ArrayList();
List<List<Integer>> res = new ArrayList();
boolean[] visited = new boolean[nums.length];
dfs(nums, cur, res, visited);
return res;
}
public void dfs(int[] nums, List<In... |
/*******************************************************************************
* Copyright (c) 2012, 2013 Oracle and/or its affiliates. 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 v. 1.0... |
/*
* Copyright (c) 2009-2011 by Jan Stender, Bjoern Kolbeck,
* Zuse Institute Berlin
*
* Licensed under the BSD License, see LICENSE file for details.
*
*/
package org.xtreemfs.mrc.osdselection;
import java.net.InetAddress;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
package net.gjerull.etherpad.client;
import static org.junit.Assert.assertEquals;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import or... |
package com.orientechnologies.orient.core.storage.impl.local.paginated.wal.po.cellbtree.multivalue.v2.bucket;
import com.orientechnologies.common.directmemory.OByteBufferPool;
import com.orientechnologies.common.directmemory.OPointer;
import com.orientechnologies.common.serialization.types.OByteSerializer;
import com.... |
package ggc.core;
public class SaleByCredit extends Sale {
private Date _deadLine;
private double _amountPaid;
private double _amountToPay;
private PaymentPeriod _paymentPeriod;
private boolean _paymentLate = false;
SaleByCredit(int id, Date deadLine, Date currentDate, double baseValue, int q... |
// Copyright 2000-2021 Nokia
//
// Licensed under the Apache License 2.0
// SPDX-License-Identifier: Apache-2.0
//
/*
* 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.a... |
package uk.ac.cam.ceb.como.compchem.parser.util;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
*
* @author pb556
*/
public class StringList extends ArrayList<String> {
/**
* @author nk510
* Added serialVersionUID
* Date: 03.05.2018.
*/
private static final long s... |
package org.rundeck.core.auth.access;
import com.dtolabs.rundeck.core.authorization.AuthContextProcessor;
import com.dtolabs.rundeck.core.authorization.AuthResource;
import com.dtolabs.rundeck.core.authorization.UserAndRolesAuthContext;
import lombok.Getter;
import org.rundeck.core.auth.app.RundeckAccess;
import java... |
package com.huaweicloud.sdk.dds.v3.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.function.Consumer;
/** InstanceItem */
public class InstanceItem {
@J... |
package org.dnal.core.world;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.util.List;
import org.dnal.api.DNALCompiler;
import org.dnal.api.DataSet;
import org.dnal.api.Transaction;
import org.dnal.compiler.et.XErrorTracker;
import org.dnal.compiler.impoter.Mo... |
package io.izzel.taboolib;
import org.bukkit.Bukkit;
import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
/**
* Bukkit 版本检测工具
* <p>
* 支持版本为 1.7 到 1.16
* 命名方式为 {主版本}{次版本}{00}
* 如 1.7.10 则为 {01}{07}{10} -> 01 07 00 -> 10700
* 如 1.16.3 则为 {01}{16}{03} -> 01 16 00 -> 11600
* <p>
* 目的时使用整数计算进行快速的版本判... |
package com.icedevcloud.learn.dto;
import com.icedevcloud.learn.entity.Exercises;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* author :xiehuan
* Email: 1487471733@qq.com
* Date: 2021/8/2
* Describe:
*/
@Data
@EqualsAndHashCode(callSuper = false)
publi... |
package greendroid.graphics.drawable;
import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.ColorFilter;
import android.graphics.Light... |
package com.sirketadi.calisma;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import Prope... |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... |
package no.nav.pto.veilarbportefolje.arbeidsliste;
import io.vavr.control.Try;
import lombok.RequiredArgsConstructor;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import no.nav.common.types.identer.AktorId;
import no.nav.common.types.identer.EnhetId;
import no.nav.pto.veilarbportefolje.domene.value.Ve... |
/*
* Copyright (c) 2008-2013, Hazelcast, 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 ... |
package test.thread.issue2361;
import org.testng.annotations.Factory;
public class FactorySample {
@Factory
public static Object[] newInstances() {
return new Object[] {
new ChildClassExample(),
new AnotherChildClassExample()
};
}
} |
/*
* 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 ru.job4j.pingpong;
import javafx.application.Application;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.shape.Rectangle;
import javafx.stage.Stage;
public class PingPong extends Application {
private static final String JOB4J = "Пинг-понг www.job4j.ru";
@Override
publi... |
/*
* Copyright 2018 FZI Forschungszentrum Informatik
*
* 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... |
package org.wildfly.swarm.ts.javaee8.jpa;
import java.util.Objects;
public class MyAttribute {
private String first;
private String last;
public MyAttribute(String first, String last) {
setFirst(first);
setLast(last);
}
public String getFirst() {
return first;
}
... |
package edu.wpi.first.pathweaver;
import java.util.function.BiFunction;
import javafx.scene.Node;
import javafx.scene.control.Alert;
import javafx.scene.control.TextField;
import javafx.scene.control.TreeCell;
import javafx.scene.control.TreeItem;
import javafx.scene.control.cell.TextFieldTreeCell;
import javafx.scen... |
package ca.uhn.fhir.rest.server.method;
/*
* #%L
* HAPI FHIR - Server Framework
* %%
* Copyright (C) 2014 - 2022 Smile CDR, 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
*... |
package mjaroslav.mcmods.peatized.common.item;
import mjaroslav.mcmods.peatized.common.CommonConfigurator;
import mjaroslav.mcmods.peatized.common.lib.ItemNames;
import net.minecraft.item.ItemStack;
public class ItemPeatBall extends ItemBase {
public ItemPeatBall() {
super(ItemNames.PEAT_BALL);
}
... |
package module0278_public_tests_unittests.a;
import java.nio.file.*;
import java.sql.*;
import java.util.logging.*;
/**
* Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
* labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo... |
package Server.Database;
/**
* Binary operations in query condition
* @author Joscha Henningsen
*/
public enum CondOp {
And, Or
} |
/* 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 ... |
package org.infinispan.commons.util;
import org.infinispan.commons.equivalence.AnyEquivalence;
import org.infinispan.commons.equivalence.Equivalence;
import org.infinispan.commons.equivalence.EquivalentHashMap;
import org.infinispan.commons.equivalence.EquivalentHashSet;
import org.infinispan.commons.equivalence.Equiv... |
package com.google.gwt.maps.client.events.clickable;
/*
* #%L
* GWT Maps API V3 - Core API
* %%
* Copyright (C) 2011 - 2012 GWT Maps API V3
* %%
* 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 Li... |
package br.com.codenation.model;
public class OrderItem {
private Long productId;
private Long quantity;
public OrderItem(Long productId, Long quantity) {
super();
this.productId = productId;
this.quantity = quantity;
}
public Long getProductId() {
return productId;
}
public Long getQuantity() {
... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2022 DBeaver Corp 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/licenses/LICE... |
package com.google.firebase.udacity.friendlychat;
import android.app.Activity;
import android.content.Context;
import android.support.annotation.Nullable;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
impor... |
/*
* 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 mil.nga.giat.geowave.format.stanag4676.parser.model;
//STANAG 4676
public class TrackClassification extends
TrackItem
{
/**
* an estimate of the classification of an object being tracked
*/
public ObjectClassification classification;
/**
* credibility of classification
*/
public ClassificationC... |
package cn.zero.spider.pojo;
public class ResBean {
/**
* isValid : 1
* phone : 13888888888
* nickName :
* openId :
* userIconUrl :
* userIconUrl2 :
* userIconUrl3 :
* email :
* operator :
*
*/
private int isValid;
private String phone;
private S... |
// Copyright 2000-2019 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.openapi.actionSystem.impl;
import com.intellij.AbstractBundle;
import com.intellij.CommonBundle;
import com.intellij.diagnostic.PluginException;
import com.i... |
/**
* Copyright (C) 2006-2019 Wisedu All rights reserved
* Author:zhangguifeng
* Date:2020/1/17
* Description: 客户服务项目消费管理
*/
package com.ruoyi.web.controller.mry;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.base.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.pa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.