text stringlengths 7 995k |
|---|
/*
* Copyright (C) 2020 Microservice Systems, 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
*
* Unles... |
/**
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package vekta.menu.option;
import vekta.faction.Faction;
import vekta.menu.Menu;
import vekta.menu.handle.SecurityMenuHandle;
import vekta.menu.handle.SettlementMenuHandle;
import vekta.spawner.dialog.SecurityDialogSpawner;
import vekta.terrain.settlement.Settlement;
import static vekta.Vekta.setContext;
public clas... |
/*******************************************************************************
* Copyright 2014
* FG Language Technology
* Technische Universität Darmstadt
*
* 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 c... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
package carry.ilearn.dao;
import carry.ilearn.dataobject.StatementDO;
public interface StatementDao {
int deleteByPrimaryKey(Integer id);
int insert(StatementDO record);
int insertSelective(StatementDO record);
StatementDO selectByPrimaryKey(Integer id);
int updateByPrimaryKeyS... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_package
DECL|package|org.jabref.logic.bibtex.comparator
package|package
name|org
operator|.
name|jabref
operator|.
name|logic
operator|.
name|bibtex
operator|.
name|comparator
package|;
end_package
begin_import
import|import
name|org
operator|.
name|ja... |
package yami;
import javafx.application.Application;
import javafx.scene.image.Image;
import javafx.stage.Stage;
import yami.ui.Controller;
public class Main extends Application {
@Override
public void start(Stage primaryStage) {
primaryStage.setTitle("慧博考勤管理系统");
primaryStage.getIcons().add(... |
/*
* #%L
* Wisdom-Framework
* %%
* Copyright (C) 2013 - 2014 Wisdom Framework
* %%
* 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... |
package com.example.android.miwok;
import android.app.Activity;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.content.ContextCompat;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Arra... |
/*
* 3D City Database - The Open Source CityGML Database
* https://www.3dcitydb.org/
*
* Copyright 2013 - 2021
* Chair of Geoinformatics
* Technical University of Munich, Germany
* https://www.lrg.tum.de/gis/
*
* The 3D City Database is jointly developed with the following
* cooperation partners:
*
* Virtua... |
/**
*
* Copyright 2003-2007 Jive Software.
*
* 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 o... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/videointelligence/v1beta1/video_intelligence.proto
package com.google.cloud.videointelligence.v1beta1;
/**
* <pre>
* Annotation results for a single video.
* </pre>
*
* Protobuf type {@code google.cloud.videointelligence.v1beta1.... |
package com.cooey.common.holders;
import android.widget.Button;
import android.widget.TextView;
import com.cooey.common.R;
import com.cooey.common.realm_store.ActivityStore;
import com.cooey.common.utils.DateHelper;
import com.cooey.common.views.TimelineItemView;
import com.cooey.common.vo.Activity;
import com.cooey.c... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.mistraltech.bogen.property;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.psi.PsiMethod;
import com.intellij.psi.PsiType;
import com.intellij.psi.PsiTypeVisitor;
import com.mistraltech.bogen.utils.NameUtils;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.... |
/**
* Modified MIT License
*
* Copyright 2017 OneSignal
*
* 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 net.minecraft.enchantment;
import net.minecraft.util.ResourceLocation;
public class EnchantmentKnockback extends Enchantment {
protected EnchantmentKnockback(int p_i45768_1_, ResourceLocation p_i45768_2_, int p_i45768_3_) {
super(p_i45768_1_, p_i45768_2_, p_i45768_3_, EnumEnchantmentType.WEAPON);
... |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... |
/*-
* ============LICENSE_START=======================================================
* SDC
* ================================================================================
* Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
* ===================================================================... |
/*******************************************************************************
* Copyright (c) 2005, 2015 IBM Corporation 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, an... |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
*/
package org.lwjgl.opengles;
import org.lwjgl.egl.EGL;
import org.lwjgl.system.*;
import java.lang.reflect.Field;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import java.util.*;
import static java.lang.Math.*;
i... |
package gov.usgs.wma.wqp.webservice.summary;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.validation.Validator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.fac... |
package mekanism.client.gui.element.tab;
import mekanism.client.SpecialColors;
import mekanism.client.gui.GuiUtils;
import mekanism.client.gui.IGuiWrapper;
import mekanism.client.gui.element.GuiInsetElement;
import mekanism.client.render.MekanismRenderer;
import mekanism.common.Mekanism;
import mekanism.common.networ... |
package com.hortonworks.streamline.streams.metrics.storm.topology;
import com.fasterxml.jackson.databind.ObjectMapper;
import mockit.Mock;
import mockit.MockUp;
import com.hortonworks.streamline.streams.layout.TopologyLayoutConstants;
import com.hortonworks.streamline.streams.layout.component.Component;
import com.hor... |
/*
* Copyright (C) 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 applicab... |
/*
Copyright 2006 by Sean Luke
Licensed under the Academic Free License version 3.0
See the file "LICENSE" for more information
*/
package ec.app.lawnmower;
import ec.time.utils.FitnessWithTime;
import ec.time.utils.Timer;
import ec.util.*;
import ec.*;
import ec.gp.*;
import ec.gp.koza.*;
import ec.simple.*;
... |
package org.adorsys.adaptmt.jpa;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
/**
* Holds an entity and corresponding field descriptions
* for a search by example call.
*
* @author simo tresor
*
*/
@XmlRootElement
public class AptAptmtContactSearchInput
... |
/*
* Copyright (c) 2009-2021 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of ... |
/**
* (c) Copyright 2016 Admios. The software in this package is published under the terms of the Apache License Version 2.0, a copy of which has been included with this distribution in the LICENSE.md file.
*/
package org.mule.modules.watsonalchemylanguage.handler.implementation;
import static org.mule.modules.watso... |
package org.mindtrails.domain.tracking.ActionLog;
import com.fasterxml.jackson.annotation.*;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import org.mindtrails.domain.Participant;
import org.mindtrails.domain.data.DoNotDelete;
import org.mindtrails.domain.data.Exportable;
import org.mindtrail... |
/*L
* Copyright Georgetown University, Washington University.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/cab2b/LICENSE.txt for details.
*/
package edu.wustl.common.querysuite;
/**
*
*/
import junit.framework.Test;
import junit.framework.TestSuite;
import edu.wus... |
package InterviewBit.src.Courses.Programming.Level7_DynamicProgramming.SimpleArrayDp.LengthOfLongestSubsequence.Java;
import static org.junit.jupiter.api.Assertions.*;
import java.time.Duration;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
public... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resou... |
/*
* Copyright 2002-2013 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 (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot.commands;
import edu.wpi.first.wpilibj.geometry.Translation2d;
import edu.wpi.first.wpilibj2.command.... |
/*
* Copyright 2013-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/**
* Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
*/
/*
* ---------------------------------------------------------------------------------------------------------------------
* AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharSortCheck and regenerate
* --------------------... |
package org.ihtsdo.buildcloud.dao;
import org.ihtsdo.buildcloud.entity.ReleaseCenter;
import org.ihtsdo.buildcloud.entity.User;
import java.util.List;
public interface ReleaseCenterDAO extends EntityDAO<ReleaseCenter> {
List<ReleaseCenter> findAll(User user);
ReleaseCenter find(String businessKey, User user);
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. The ASF 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
*
* ... |
/*
* ******************************************************************************
* *
* *
* * This program and the accompanying materials are made available under the
* * terms of the Apache License, Version 2.0 which is available at
* * https://www.apache.org/licenses/LICENSE-2.0.
* *
* * See the NO... |
package com.javarush.task.task14.task1413;
public interface CompItem {
String getName();
} |
package be.gfi.liferay.tpl.util;
import io.vavr.control.Try;
import org.apache.commons.io.IOUtils;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.nio.file.*;
import java.nio.file.attribute.BasicFileAttributes;
import java.nio.file.attribute.FileTime;
import java.time.LocalDat... |
/*
* Copyright (c) 2011-2017 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
* which is available at https:... |
package objects;
import java.util.Iterator;
import java.util.Vector;
import utility.ResultsParser;
public class GameStorage
{
private Vector<Game> allGames;
private int currentGameIndex = 0;
public GameStorage()
{
allGames = new Vector<Game>();
}
public void addGame(Game game, int round)
{
allGames... |
/*
* Copyright 2002-2018 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 (c) 2013, SRI International
* All rights reserved.
* Licensed under the The BSD 3-Clause License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://opensource.org/licenses/BSD-3-Clause
*
* Redistribution and use in source a... |
package org.hisp.dhis.system.startup;
/*
* Copyright (c) 2004-2020, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above... |
/**
* MIT License
* <p>
* Copyright (c) 2017-2019 nuls.io
* <p>
* 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, ... |
/*
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.imagepipeline.memory;
import android.util.SparseIntArray;
import com.facebook.imagepipeline.testing.FakeNativeMemory... |
/*
* 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 pernas;
import java.util.Scanner;
/**
*
* @author Gabriel Toth
*/
public class Pernas {
/**
* @param args the co... |
/*
* The MIT License
*
* Copyright (c) 2016, CloudBees, Inc.
*
* 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, c... |
/****************************************************************
* Licensed to the AOS Community (AOS) under one or more *
* contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* regarding copyright ownership. The AOS licenses this... |
package org.apache.velocity.util.introspection;
/*
* 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 Apa... |
/*
* Copyright 2002-2017 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 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 a... |
package de.adito.ojcms.beans;
import de.adito.ojcms.beans.annotations.OptionalField;
import de.adito.ojcms.beans.literals.fields.types.*;
import de.adito.ojcms.beans.literals.fields.util.FieldValueTuple;
import org.junit.jupiter.api.*;
import java.time.*;
import java.util.Optional;
import static de.adito.ojcms.beans... |
package com.prowidesoftware.swift.model.mx.dic;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ATMNoteType1Code.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="AT... |
/*
* The MIT License (MIT)
*
* Copyright © 2013-2021 Florian Barras <https://barras.io> (florian@barras.io)
*
* 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, inclu... |
package com.cicinnus.cateye.module.movie.wait_movie.adapter;
import android.text.Spannable;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.style.ForegroundColorSpan;
import android.widget.ImageView;
import android.widget.TextView;
import com.chad.library.adapter.base.BaseMultiIt... |
/*
*AVISO LEGAL
© Copyright
*Este programa esta protegido por la ley de derechos de autor.
*La reproduccion o distribucion ilicita de este programa o de cualquiera de
*sus partes esta penado por la ley con severas sanciones civiles y penales,
*y seran objeto de todas las sanciones legales que correspondan.
*Su conteni... |
/*
* 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.booking;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import static java.util.stream.Collectors.averagingInt;
import static java.util.stream.Collectors.groupingBy;
/*
You have rating (0-10) of the hotels per user in this format:
scores = [
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright (c) 2021, Collins Aerospace.
* Developed with the sponsorship of Defense Advanced Research Projects Agency (DARPA).
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this data,
* including any software or models in source or binary form, as well as any drawings, spe... |
package com.central.oauth.service.impl;
import cn.hutool.core.util.PageUtil;
import cn.hutool.core.util.StrUtil;
import com.central.common.constant.SecurityConstants;
import com.central.common.model.PageResult;
import com.central.common.redis.template.RedisRepository;
import com.central.oauth.model.TokenVo;
import com... |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_6817 {
} |
package com.gmail.thelimeglass.Expressions;
import javax.annotation.Nullable;
import org.bukkit.Bukkit;
import org.bukkit.block.Block;
import org.bukkit.block.BlockState;
import org.bukkit.event.Event;
import org.bukkit.material.MaterialData;
import org.bukkit.material.PistonBaseMaterial;
import com.gmail.thelimegla... |
package io.protostuff;
/*-
* #%L
* joyrpc
* %%
* Copyright (C) 2019 joyrpc.io
* %%
* 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
... |
/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 5.0 */
/* JavaCCOptions:KEEP_LINE_COL=null */
package org.apache.sling.commons.html.impl.parser;
/**
* This exception is thrown when parse errors are encountered.
* You can explicitly create objects of this exception type by
* calling the me... |
package io.codemc.advancedpacketapi;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
import io.codemc.advancedpacketapi.packets.UnknownWrappedPacket;
import io.codemc.advancedpacketapi.test.TestHandler;
public class AdvancedPacketAPIPlugin extends JavaPlugin {
private PacketListenerAPIImpl pack... |
package edu.internet2.middleware.grouper.app.provisioning;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
import org.apache.commons... |
package cz.muni.ics.oauth2.model.enums;
import java.util.HashMap;
import java.util.Map;
import lombok.AllArgsConstructor;
import lombok.Getter;
@Getter
@AllArgsConstructor
public enum SubjectType {
PAIRWISE("pairwise"), PUBLIC("public");
private final String value;
// map to aid reverse lookup
priv... |
package br.com.crackingTheCodingInterviews.chapter04.question05;
import br.com.main.datastructures.trees.bst.TreeNode;
import br.com.main.datastructures.trees.bst.BinarySearchTree;
public class Question05 {
public static void main(String[] args) {
int[] nodes = {1,2,3,4,5,6,7,8,9,10};
BinarySearchTree bst = Bi... |
package com.skanderj.gingerbread3.core;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.skanderj.gingerbread3.component.Component;
import com.skander... |
/*
* Copyright (C) 2005-2016 Alfresco Software Limited.
*
* This file is part of Alfresco Mobile for Android.
*
* 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.... |
package sora.dwarfcoal;
import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.registry.FuelRegistry;
import net.minecraft.util.registry.Registry;
import sora.dwarfcoal.init.ModBlocks;
import sora.dwarfcoal.init.ModItems;
public class DwarfCoal implements ModInitializer {
public static final Stri... |
package com.github.fmonniot.mailbox.service;
import com.github.fmonniot.mailbox.entity.Message;
import java.util.List;
public interface MessageService {
/**
* @param clientId the client who wants the messages
*
* @return the listForClient of message of the given client
*/
List<Message> l... |
package org.nanotek.entities;
import java.io.Serializable;
import org.nanotek.entities.immutables.DescriptionBaseEntity;
public interface MutableDescriptionBaseEntity<K> extends DescriptionBaseEntity<K>{
void setDescription(K k);
} |
package test.propcheck.shrink;
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.*;
import org.junit.Before;
import org.junit.Test;
import propcheck.shrink.TNode;
import propcheck.shrink.TreeTools;
import tom.library.sl.Visitable;
import examples.data.types.types.D;
public class TreeBuilderT... |
/*
* 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 (C) 2004-2016 L2J Server
*
* This file is part of L2J Server.
*
* L2J Server is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any ... |
package com.poly;
public class CustomerManager {
private BaseLogger logger;
public CustomerManager(BaseLogger logger){
this.logger = logger;
}
public void addCustomer(){
System.out.println("Customer added");
this.logger.addLog();
}
} |
package com.example.android.bakingapp;
import android.app.Activity;
import android.app.Instrumentation;
import android.support.test.espresso.IdlingRegistry;
import android.support.test.espresso.IdlingResource;
import android.support.test.espresso.contrib.RecyclerViewActions;
import android.support.test.rule.ActivityTe... |
package com.vmware.avi.vro.model;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.vmware.o11n.plugin.sdk.a... |
//: concurrency/CriticalSection.java
// Synchronizing blocks instead of entire methods. Also
// demonstrates protection of a non-thread-safe class
// with a thread-safe one.
package examples.jdk6.concurrency;
import java.util.concurrent.*;
import java.util.concurrent.atomic.*;
import java.util.*;
class Pair { // Not t... |
package com.lanking.cloud.domain.yoo.activity.exam001;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGe... |
package com.wxjfkg.payment.dto.close;
import com.wxjfkg.payment.core.AbstractResponse;
public class CloseOrderResponse extends AbstractResponse {
/**
* 微信不返回tradeNo
*/
private String tradeNo;
private String outTradeNo;
public CloseOrderResponse(boolean success) {
super(success);
}
public CloseOrderR... |
package mibandsdk;
/**
* Created by Jeremiah on 9/22/16.
*/
public enum RequestType {
DISCONNECT,
CONNECT,
PAIR,
BATTERY,
SENSOR_DATA,
SENSOR_DATA_ENABLE,
START_VIBRATE,
STOP_VIBRATE,
NORMAL,
REALTIME_STEPS_LISTENER,
REALTIME_STEPS_ENABLE,
REALTIME_STEPS_DISABLE,
... |
// ------------------------------------------------------------------------------
// Copyright (c) 2015 Microsoft Corporation
//
// 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 re... |
package org.colorcoding.ibas.integration.bo.integrationjob;
import java.beans.PropertyChangeEvent;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.colorcoding.ibas.bobas.bo.BusinessObjects;
import org.colorcoding.ibas.bobas.common.ICriteria;
import org.colorcoding.ib... |
package dk.skat.dmr._2007._05._31;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex typ... |
import java.util.*;
public class main {
public static void main(String[] args){
List<Person> data=new arrayList<Person>();
}
} |
public class Goo {
} |
/*
* Copyright 2011-2016 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 2020 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 applicable... |
package core.imagerenderer.util.bubble;
import core.commands.utils.CommandUtil;
import core.imagerenderer.util.pie.MonochromeColourer;
import core.imagerenderer.util.pie.PieColourer;
import core.imagerenderer.util.pie.RandomPalette;
import core.parsers.params.CommandParameters;
import java.awt.*;
import java.util.Lis... |
package com.canigraduate.uchicago.models;
import com.google.auto.value.AutoValue;
import java.util.OptionalInt;
@AutoValue
public abstract class Enrollment {
public static Builder builder() {
return new AutoValue_Enrollment.Builder();
}
public abstract OptionalInt getEnrolled();
public abst... |
//,temp,GetUploadParamsForVolumeCmd.java,57,68,temp,ListUcsBladeCmd.java,62,74
//,3
public class xxx {
@Override
public void execute() throws ResourceUnavailableException, InsufficientCapacityException, ServerApiException, ConcurrentOperationException,
ResourceAllocationException, NetworkRuleConflictExc... |
/*
* Copyright (c) Microsoft Corporation
*
* All rights reserved.
*
* 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 limitation
* ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.