text stringlengths 7 995k |
|---|
/**
* Copyright 2013, Big Switch Networks, 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 requi... |
/*
* Copyright (C) 2005-2020 Gregory Hedlund & Yvan Rose
*
* 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 (c) 2008-2013 Haulmont. All rights reserved.
* Use is subject to license terms, see http://www.cuba-platform.com/license for details.
*/
package com.haulmont.workflow.core.entity;
import com.google.common.base.Joiner;
import com.haulmont.chile.core.annotations.MetaProperty;
import com.haulmont.cuba.c... |
/*
Copyright 2011-2016 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... |
/*
* Copyright 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 applica... |
/*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package org.hl7.fhir.r5.model;
/*
Copyright (c) 2011+, HL7, Inc.
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 notic... |
package com.acgist.snail.protocol.thunder;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
import com.acgist.snail.utils.Performance;
class ThunderProtocolTest extends Performance {
@Test
void testThunderProtocol() {
String url = "thunder://QUFodHRwOi8vdXBvcy1oei... |
package com.skytala.eCommerce.domain.party.relations.vendor;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.servlet.http.HttpServletRequest... |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package team.martin.controlador.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import team.martin.controlador.api.CarrosAPI;
import team.martin.controlador.repository.CarrosRepository;
import team.martin.controlador.repository.UserRepository;
impo... |
/*
* This Java source file was generated by the Gradle 'init' task.
*/
package Supporting;
public class Library {
public boolean someLibraryMethod() {
return true;
}
} |
package com.example.mobilephonemanager;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
public class AboutActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout... |
/*
* */
package com.synectiks.process.server.rest;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.net.HttpHeaders;
import com.google.common.net.MediaType;
import com.synectiks.process.server.cluster.Node;
import com.synectiks.process.server.security.realm.SessionAuthenticator;
import ok... |
/*
* Copyright 2021 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... |
package April2021Leetcode;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
public class _0051NQueens {
public static void main(String[] args) {
System.out.println(solveNQueens(1));
System.out.println(solveNQueens(4));
}
static boolean isSolved;
static Ha... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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.drawee.controller;
import static com.facebook.drawee.components.DraweeEventTracker.Event;
import android.gra... |
package io.smallrye.reactive.messaging.kafka;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import java.util.Arrays;
import java.util.H... |
package com.monezhao.bean.sys;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.monezhao.common.base.BaseEntity;
import com.monezhao.common.validator.constraints.LengthForUtf8;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiM... |
/*
* Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata
*
* Portions of this software were developed by the Unidata Program at the
* University Corporation for Atmospheric Research.
*
* Access and use of this software shall impose the following obligations
* and understandings on the use... |
package pro.kuli4.repository.maprocessor.entities.forms;
public enum NsdFormStatuses {
NEW,
GENERATED,
SENT,
RECEIVED,
UNDEFINED;
} |
/*
* Copyright 2018-2021 Pranav Pandey
*
* 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 ag... |
package com.example.demo.Dao;
import com.example.demo.Entity.rolepermission;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface rolepermissionDao extends JpaRepository<rolepermission,Integer> {
List<rolepermission> findAllByRidIn(List<Integer> rids);
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
package com.sequenceiq.cloudbreak.usage.strategy;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.doNothing;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import org.junit.jupiter.api.BeforeEach;
import org.... |
package zinnia.zitems.utils;
public enum ElementTypes {
/*
* --- Elements ---
* Each element resists itself, each have weakness to each other
* Fire - Ice, Light - Dark, Earth - Lightning - Wind
*
* DMG is just normal unelemented damage
*/
NONE, FIRE, ICE, LIGHTNING, LIGHT, DARK, WIND, DMG;
} |
package org.akhq.utils;
import io.micronaut.core.util.StringUtils;
import org.akhq.configs.SecurityProperties;
import javax.inject.Inject;
import javax.inject.Singleton;
import java.util.*;
import java.util.stream.Collectors;
@Singleton
public class DefaultGroupUtils {
@Inject
private SecurityProperties sec... |
package com.github.phenomics.ontolib.io.obo;
/**
* Representation of a stanza entry starting with <code>default-relationship-id-prefix</code>.
*
* @author <a href="mailto:manuel.holtgrewe@bihealth.de">Manuel Holtgrewe</a>
*/
public final class StanzaEntryDefaultRelationshipIdPrefix extends StanzaEntry {
/** Val... |
package com.univocity.trader.account;
import org.junit.*;
import static org.junit.Assert.*;
public class OrderBookTest {
private OrderBook book = getBook();
public OrderBook getBook() {
OrderBook out = new OrderBook(null, null, 10);
// note: the order here doesn't matter, the values are so... |
package net.kenevans.core.utils;
import java.io.PrintWriter;
import java.io.StringWriter;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.s... |
/*
* Copyright 2016-2017 Axioma srl.
*
* 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... |
package cruft.wtf.gimlet.event;
import cruft.wtf.gimlet.conf.Query;
/**
* Event emitted when a {@link Query} was executed successfully.
*/
public class QueryExecutedEvent {
private String query;
private int rowCount;
private Long runtime;
public QueryExecutedEvent() {
}
public QueryExecu... |
/**************************************************************
*
* 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 y... |
/*********************************************************************************
* (Geometry: same line?) Programming Exercise 6.39 gives a method for testing *
* whether three points are on the same line. *
* Write the following method to test whether all the points in the arra... |
/*
* DefineJPEGImage.java
* Transform
*
* Copyright (c) 2001-2010 Flagstone Software Ltd. 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 t... |
package mage.cards.i;
import java.util.UUID;
import mage.MageObject;
import mage.Mana;
import mage.abilities.Ability;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.costs.Cost;
import mage.abilities.costs.CostImpl;
import mage.abilities.costs.common.PayLifeCost;
import mage.abilities.costs.man... |
/*
* Copyright 2014 - 2020 Blazebit.
*
* 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 2013 Charles University in Prague
* Copyright 2013 Vojtech Horky
*
* 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 org.egov.edcr.repository.es;
import org.egov.edcr.entity.es.EdcrIndex;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface EdcrIndexRepository extends ElasticsearchRepository<EdcrIndex, String> {
} |
package com.shekhargulati.ninetynine_problems._01_lists;
import java.util.Collections;
import java.util.List;
import static java.util.stream.Collectors.toList;
/**
* (**) Duplicate the elements of a list a given number of times.
* <pre>
* duplicate(Arrays.asList("a", "b", "c", "d"))
* </pre>
*/
public... |
/*
* 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... |
/*
* Licensed to the Hipparchus project under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The Hipparchus project licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
/*
* 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.birkhoff.coolweather.util;
/**
* Created by Birkhoff on 2016/7/28.
*/
public interface HttpCallbackListener {
void onFinish(String response);
void onError(Exception e);
} |
/*
* Ref-Finder
* Copyright (C) <2015> <PLSE_UCLA>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.... |
package com.goldencarp.lingqianbao.model.bean;
/**
* Created by sks on 2017/12/4.
*/
public class FAQBean {
private int groupId;
private String groupName;
private String question;
private String answer;
public FAQBean(int groupId, String groupName, String question, String answer) {
this... |
package dotsgui;
public class Dot {
private Dot up, left, right, down;
private int i, j;
Dot(int i, int j) {
this.i = i;
this.j = j;
}
void setConnection(Dot d, DotsGame game) {
if (hasConnection(d)) {
System.err.println(this + " is already connected to " + d);
game.lines--;
game.turn--;
game.... |
package com.github.jelmerk.knn.util;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectStreamClass;
import java.io.StreamCorruptedException;
import java.lang.reflect.Proxy;
/**
* A special ObjectInputStream that loads a class based on a specified ClassLoa... |
/**
* Copyright 2005-2019 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 a... |
/*
* Copyright 2010 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 ap... |
/*
* Copyright 2020-2020 the ALttPJ Team @ https://github.com/alttpj
*
* 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... |
/*
* JBoss, Home of Professional Open Source
*
* Copyright 2013 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/lic... |
package com.zundrel.currency.client.render.gui;
import java.io.IOException;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.gui.GuiTextField;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.r... |
package vproxy.util;
import vfd.DatagramFD;
import vfd.FDProvider;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.util.Date;
public class Logger {
private static final boolean stackTraceOn;
private static final boolean lowLevelDebugOn;
private stati... |
package jef.jre5support;
public interface JvmStatisticsMBean {
public long getHeapMemoryUse();
public long getHeapMemoryMax();
public long getDaemonThreadCount();
public long getPeakThreadCount();
public long getCurrentThreadCount();
public long getYoungGcCount();
public long getYoungGcTotalTime();
public l... |
/*
* The MIT License
*
* Copyright 2021 Neutroni.
*
* 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... |
package net.rhysholloway.donutmod.screen;
import com.mojang.blaze3d.systems.RenderSystem;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.gui.screen.ingame.HandledScreen;
import net.minecraft.client.util.math.MatrixStack;
import net.minecraft.entity.player.PlayerInven... |
package com.example.funapp.Models;
public class Message {
private String messageId, message, senderId;
private long timestamp;
private int feeling = -1;
public Message() {
}
public Message(String message, String senderId, long timestamp) {
this.message = message;
this.senderI... |
package com.example.database.query;
import com.example.database.DatabaseHelper;
import com.example.database.data.Data;
import com.example.database.model.ProductModel;
import com.j256.ormlite.dao.Dao;
import java.sql.SQLException;
import java.util.List;
public class ProductDeleteAllQuery extends Query
{
public Prod... |
package com.lara;
import java.io.FileInputStream;
import java.io.ObjectInputStream;
import java.io.FileOutputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
class C implements Serializable
{
int i;
transient double j;
C(int i,double j)
{
this.i=i;
this.j=j;
}
@Override
public String to... |
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.ResultSet;
import java.sql.PreparedStatement;
import dbcon.dbcon;
public final class apply_005fview_jsp_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.Js... |
package org.knowm.xchange.acx;
import static org.junit.Assert.assertEquals;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyLong;
import static org.mockito.Matchers.eq;
import static org.powermock.api.mockito.PowerMockito.mock;
import static org.powermock.api.mockito.PowerMockito.when;
i... |
/*
* This file is part of adventure, licensed under the MIT License.
*
* Copyright (c) 2017-2022 KyoriPowered
*
* 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, inc... |
package com.rho.notification;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.rhomobile.rhodes.Logger;
import com.rhomobile.rhodes.RhodesActivity;
public class AlarmReceiver extends BroadcastReceiver {
String TAG = "AlarmReceiver";
@Overrid... |
/*********************************************************************************
* *
* The MIT License (MIT) *
* ... |
package com.baidu.mapapi.overlayutil;
import android.graphics.Color;
import android.util.Log;
import com.baidu.mapapi.map.BaiduMap;
import com.baidu.mapapi.map.BitmapDescriptorFactory;
import com.baidu.mapapi.map.Marker;
import com.baidu.mapapi.map.MarkerOptions;
import com.baidu.mapapi.map.OverlayOptions;
import com... |
package org.woodwhales.guava.eventbus.demo3;
import com.google.gson.Gson;
/**
* @projectName: guava
* @author: woodwhales
* @date: 20.7.2 22:35
* @description: 子类事件对象
*/
public class AppleEvent extends FruitEvent {
public AppleEvent() {
}
public AppleEvent(String name) {
super(name);
}
... |
import java.util.*;
import java.lang.*;
import java.io.*;
class Graph {
class Edge {
int src, dest, weight;
Edge()
{
src = dest = weight = 0;
}
};
int V, E;
Edge edge[];
Graph(int v, int e)
{
V = v;
E = e;
edge = new Edge[e];
for (int i = 0; i < e; ++i)
edge[i] = new Edge();
}
void Be... |
/*
* Copyright 2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
package com.sky.redis;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.*;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Set;
import java.util.concurrent.TimeUnit;
/**
* spring-data-r... |
package lab.board.model;
import java.io.FileInputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Properties;
public class BbsDAO {
public Connection dbCon() {
... |
/*
* Copyright (c) 2015, Nordic Semiconductor
* 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 conditi... |
package com.udelblue.backend.persistence.domain.backend;
import javax.persistence.Entity;
import javax.persistence.Id;
import com.udelblue.enums.PlansEnum;
import java.io.Serializable;
@Entity
public class Plan implements Serializable {
/** The Serial Version UID for Serializable classes. */
private static final... |
package com.alphawallet.app.repository.entity;
import io.realm.RealmObject;
/**
* Created by JB on 17/12/2020.
*/
public class RealmTransfer extends RealmObject
{
private String hash;
private String tokenAddress;
private String eventName;
private String transferDetail;
public String getHash()
... |
package com.mapbox.mapboxsdk.maps;
import android.graphics.PointF;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.UiThread;
import com.mapbox.mapboxsdk.annotations.MarkerViewManager;
import com.mapbox.mapboxsdk.camera... |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... |
//cannot rename to: j
package p;
class A{
String j;
void m(){
int /*[*/i/*]*/=0;
j.toString();
};
} |
/*
* Copyright 2015-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... |
/*
* 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.metawarelabs.tomtomplugin;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.json.JSONObject;
import org.json.JSONArray;
import org.json.JSONException;
import java.util.ArrayList;
import com.tomtom.navapp.Address;
import com.tomtom.navapp.Build;
import com.tomtom... |
/*
* 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.
* Licensed under the Zeebe Community License 1.1. You may not use this file
* ... |
/*
* 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.egzosn.pay.spring.boot.autoconfigue;
import com.egzosn.pay.spring.boot.core.MerchantPayServiceManager;
import com.egzosn.pay.spring.boot.core.configurers.MerchantDetailsServiceConfigurer;
import com.egzosn.pay.spring.boot.core.merchant.PaymentPlatform;
import com.egzosn.pay.spring.boot.core.provider.mercha... |
/*
* Copyright 2005-2014 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/ecl1.php
*
* Unless required by... |
/*
* Copyright (c) 2008-2021, 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 ... |
/*
* Copyright 2012-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.estafet.boostcd.jenkins.api.dto;
public enum State {
NEW("New"),
FAILED("Failed"),
COMPLETE("Complete"),
RUNNING("Running"),
PENDING("Pending"),
CANCELLED("Cancelled");
private String value;
State(String value) {
this.value = value;
}
public String getValue() {
return value;
}
pub... |
package de.switajski.priebes.flexibleorders.testhelper.EntityBuilder;
import de.switajski.priebes.flexibleorders.domain.embeddable.ContactInformation;
public class ContactInformationBuilder implements Builder<ContactInformation> {
private String contact1, contact2, contact3, contact4;
@Override
public C... |
package net.datastructures;
/**
* Runtime exception thrown when one tries to perform operation front
* or dequeue on an empty queue.
* @author Natasha Gelfand
* @author Michael T. Goodrich
* @author Roberto Tamassia
*/
public class EmptyQueueException extends RuntimeException {
public EmptyQueueException(... |
package com.archimatetool.editor.diagram.figuredelegates.elements;
import org.eclipse.draw2d.Graphics;
import org.eclipse.draw2d.geometry.Rectangle;
import org.eclipse.swt.graphics.Pattern;
import com.archimatetool.editor.diagram.figures.AbstractFigureDelegate;
import com.archimatetool.editor.diagram.figures.FigureUt... |
package xyz.zinglizingli.books.core.constant;
public class CacheKeyConstans {
public static final String HOT_BOOK_LIST_KEY = "hotBookListKey";
public static final String NEWST_BOOK_LIST_KEY = "newstBookListKey";
public static final String BOOK_CONTENT_KEY_PREFIX = "bookContentKeyPrefix";
public static ... |
package com.kancolle.server.utils.picturebook;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.google.common.io.Files;
import org.springframework.util.ResourceUtils;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Cha... |
/*
* Copyright 2016 Black Pepper 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 or ... |
package yamahari.ilikewood.block;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.Blocks;
import net.minecraft.block.CraftingTableBlock;
import net.minecraft.inventory.container.INamedContainerProvider;
import net.minecraft.inventory.container.SimpleNamedContainerPro... |
/**
* 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.smartdevicelink.test.rpc.requests;
import com.smartdevicelink.marshal.JsonRPCMarshaller;
import com.smartdevicelink.protocol.enums.FunctionID;
import com.smartdevicelink.proxy.RPCMessage;
import com.smartdevicelink.proxy.rpc.AddCommand;
import com.smartdevicelink.proxy.rpc.Image;
import com.smartdevicelink... |
/*! ******************************************************************************
*
* Hop : The Hop Orchestration Platform
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
* http://www.project-hop.org
*
*******************************************************************************
*
* ... |
/*
* Copyright 2017-2020 original 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 law or agr... |
/**
* Copyright 2006-2007 Ye Zheng
* Distributed under the BSD License
*/
package com.xruby.runtime.lang;
import j2me.util.HashMap;
import j2me.util.Map;
import j2me.util.concurrent.atomic.AtomicLong;
import com.xruby.runtime.builtin.ObjectFactory;
import com.xruby.runtime.builtin.RubyFixnum;
public class RubyID... |
/*
* 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 restaurantManagementFunction;
//import com.itextpdf.layout.element.Paragraph;
import UIChanges.NavigationColour;
import com.ite... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.