text stringlengths 7 995k |
|---|
package com.appnet.appnet.model.webservice;
public class WebServiceManifest {
String ApiUrl;
String description;
String documentation;
String domain;
String name;
String version;
String serviceUrl;
} |
package dev.firaja.utils.capture4j;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
public class SimpleHandlerTest
{
@Test
public void testBoolean() throws Throwable
{
boolean result = returnBoolean();
assertTrue(result);
}
@EasyCapture(returns = "true")
p... |
/*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package sanandreasp.mods.TurretMod3.client.model.turret;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import org.lwjgl.opengl.GL11;
import sanandreasp.mods.turretmod3.entity.turret.EntityTurret_Base;
import sanandreasp.mods.turretmod3.registry.TurretUpgrades.TUpgInfAmmo;
import ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE15_External_Control_of_System_or_Configuration_Setting__listen_tcp_61b.java
Label Definition File: CWE15_External_Control_of_System_or_Configuration_Setting.label.xml
Template File: sources-sink-61b.tmpl.java
*/
/*
* @description
* CWE: 15 External Control of System or... |
package seedu.address.logic.parser;
import static java.util.Objects.requireNonNull;
import seedu.address.commons.core.index.Index;
import seedu.address.commons.util.StringUtil;
import seedu.address.logic.parser.exceptions.ParseException;
import seedu.address.model.expense.Amount;
import seedu.address.model.expense.Da... |
package code401Challenges.array;
import org.junit.Test;
import static org.junit.Assert.*;
public class ArrayMethodsTest {
@Test
public void findDigitsWithEvenNumberLengthsInArray1() {
int[] nums = {22, 368, 6, 1, 989898};
assertEquals("Two numbers should have a length that is an even number ... |
package org.paninij.analysis;
import static java.util.Arrays.asList;
import static org.paninij.analysis.TestProcessorRunner.finish;
import static org.paninij.analysis.TestProcessorRunner.processJavaSourceResourceFiles;
import java.util.Collection;
import java.util.List;
public class SampleRun {
private final static... |
package xyz.rensaa.providerservice.model.Treatments;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Index;
import javax.persistence.Table;
@Entity
@Table(indexes = {@Index(name = "treatment_assignment_license_index", columnList="licenseAddress")})
public class TreatmentLicense... |
/*
* Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
/*
*/
/*
* (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
* (C) Copyright IBM Corp. ... |
package com.nickrobison.trestle.reasoner.engines.relations;
import org.semanticweb.owlapi.model.IRI;
import org.semanticweb.owlapi.model.OWLNamedIndividual;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
/**
* Created by nickrobison on 7... |
public class Argumentos2{
public static void main(String args[]) {
System.out.println("Bem vindo" + " " + args[0] + "!!!");
}
} |
package com.shaoyue.weizhegou.entity.goods;
import com.google.gson.annotations.SerializedName;
import com.shaoyue.weizhegou.base.BaseBean;
import java.util.List;
/**
* 作者:PangLei on 2019/4/25 0025 11:31
* <p>
* 邮箱:434604925@qq.com
*/
public class SpecInfoBean extends BaseBean {
//id
//[number] 是 自增id 展开
... |
/*
* Copyright 2000-2019 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package com.nosqldriver.util;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.Collection;
import java.util.NavigableSet;
import java.util.TreeSet;
import java.util.stream.IntStream;
import static java.util.Arrays.asList;
import static java.util.Collections.emptyList;
import static jav... |
//
// ========================================================================
// Copyright (c) 1995-2019 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
package com.srbarrios.mybackend;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
public class ServletInitializer extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(Sp... |
package com.talexframe.frame.core.modules.event.service;
import com.talexframe.frame.core.modules.event.FrameListener;
import com.talexframe.frame.core.modules.event.TalexEventBus;
/**
* EventBus 抽象接口逻辑
*/
public interface IEventBus {
/**
* 注册一个事件
*
* @param listener 事件
*
* @return 支持链... |
package org.sofwerx.torgi.ogc.sos;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import org.sofwerx.torgi.BuildConfig;
import org.w3c.dom.Document;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import java.io.ByteA... |
package org.innovateuk.ifs.commons.service;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.innovateuk.ifs.util.Either;
import org.springframework.beans.fact... |
// Copyright (C) 2017 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 applicable ... |
/*
* Copyright 2018 Red Hat, 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 t... |
package com.fsck.k9.activity;
import java.util.Collection;
import java.util.List;
import android.annotation.SuppressLint;
import android.app.ActionBar;
import android.app.FragmentManager;
import android.app.FragmentManager.OnBackStackChangedListener;
import android.app.FragmentTransaction;
import android.app.SearchM... |
package com.example.ahmed.ustaad;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public vo... |
package org.grassroot.android.activities;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.view.MenuItem;
import an... |
package com.apnidukaan.controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class Help... |
package banking.DAO;
public class CustomerDAO
{
// Everything is implemented in MainWindow.java and it works well
} |
/*
*
* * Copyright 2015 OrientDB LTD (info(-at-)orientdb.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... |
package utils;
public interface AppReadyCallback {
void appState(Boolean ready);
} |
package com.modinfodesigns.entity.tagging;
import com.modinfodesigns.property.quantity.LongRangeProperty;
import com.modinfodesigns.property.transform.string.IStringTransform;
import com.modinfodesigns.property.transform.string.StringTransformException;
import com.modinfodesigns.entity.IEntityExtractor;
import com.mo... |
package trainline;
import org.overture.codegen.runtime.*;
import java.util.*;
@SuppressWarnings("all")
public class SimpleModule extends Module {
private Block block;
public SimpleModule(final String idArg, final TrainLine trainLineArg) {
cg_init_SimpleModule_1(idArg, trainLineArg);
}
publ... |
/**
* Copyright (c) 2010-2020 Mark Allen, Norbert Bartels.
*
* 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 org.sunbird.graph.model.relation;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.sunbird.common.dto.Request;
import org.sunbird.common.exception.ServerException;
import org.sunbird.graph.common.mgr.BaseGraphManager;
import org.s... |
package boj_february;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
import java.util.ArrayList;
import java.util.List;
/**
* @author steve.jh.kang@gmail.com
* @time 2020. 2. 17. 오전 11:00:26
* @category dfs
* @problem_description
* @... |
/*
* Copyright 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 applica... |
package cellsociety_team03;
import java.util.*;
class SegregationGame extends Game{
private final String IDENTICAL = "identical";
private final String TOTAL = "total";
private final String BLUE = "blue";
private final String RED = "red";
private final String EMPTY = "empty";
private int similar;
private Segre... |
/*
* Copyright (c) 2009-2016, United States Government, as represented by the Secretary of Health and Human Services.
* 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 ... |
/*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... |
package com.java110.dto.inspectionPlan;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.java110.dto.PageDto;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
/**
* @ClassName FloorDto
* @Description 巡检计划数据层封装
* @Author wuxw
* @Date 20... |
/*
* Copyright 2008 The Scribble 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 applicable law or a... |
/*
Copyright (c) 2012 LinkedIn Corp.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_8112 {
} |
/*
* Copyright 2002-2021 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 2016-2018 shardingsphere.io.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
package org.opentosca.planbuilder.type.plugin.patternbased.bpel;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import org.opentosca.container.core.tosca.convention.Interfaces;
import org.opentosca.container.core.tosca.convention.Types;
import org.opentosca.planbuilder.core.bpel.context.... |
// Copyright © 2016-2021 Andy Goryachev <andy@goryachev.com>
package goryachev.fx.internal;
import goryachev.common.util.SB;
import goryachev.fx.CssID;
import goryachev.fx.CssPseudo;
import goryachev.fx.CssStyle;
import javafx.scene.control.OverrunStyle;
import javafx.scene.control.ScrollPane;
import javafx.scene.paint... |
package chem;
public enum Shape {
// The bonds, lonePairs, and hydridization variables could have been derived
// from the AXE notation, but instead the values have been placed manually
// for simplicity purposes.
// Atoms and diatomics are included here for simplicity
A(0, 0, "Atom", "N/... |
package com.lucidworks.fusion.connector.model;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.io.Serializable;
@Getter
@Setter
@ToString
public class TopLevelJsonApiData extends TopLevelJsonapi implements Serializable {
private com.lucidworks.fusion.connector.model.Data data;
... |
package io.sphere.sdk.cartdiscounts;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
final class DiscountedLineItemPriceForQuantityImpl extends Base implements DiscountedLineItemPriceForQuantity {
private final Long quantity;
private final DiscountedLineItemPrice discoun... |
package octavian.algorithms.goldwasser.crypto.exceptions;
/**
* Created by fabio on 11/27/2016.
*/
public class KeySizeException extends Exception {
public KeySizeException(String message) {
super(message);
}
} |
/*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* Copyright 2017 JoinFaces.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package com.hsdc.dp.service.strategy;
import com.hsdc.dp.intf.service.strategy.Strategy;
// 2. Bury implementation
public abstract class StrategySearch implements Strategy {
// 3. Template Method
public void solve() {
while (true) {
preProcess();
if (search()) {
break;
}
postProcess();
}
}
ab... |
/*******************************************************************************
* Copyright FUJITSU LIMITED 2018
*******************************************************************************/
package org.oscm.auditlog.model;
import javax.persistence.*;
@NamedQueries({
@NamedQuery(name = "AuditLog.findB... |
package test.lk.ijse.dep.akashStainlessSteel.dao;
import lk.ijse.dep.akashStainlessSteel.dao.custom.impl.SearchCustomerDAOImpl;
import lk.ijse.dep.akashStainlessSteel.entity.SearchCustomer;
import java.util.List;
public class searchCustomerDAOTest {
public static void main(String[] args) throws Exception {
... |
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (5.4.0-SNAPSHOT).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.openapitools.api;
import org.openapitools.model.Client;
import io.swagger.annotations.*;
import org.springframework.http... |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2012 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
package ti.modules.titanium.geolocation.android;
import java.util.ArrayList;
import j... |
package com.travelport.refimpl.air.search.models;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({ "@type", "exclu... |
/*
* Copyright 2015 Adobe Systems Incorporated
*
* 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 Red Hat, 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 ... |
/*
* Copyright © 2019 Mark Raynsford <code@io7m.com> https://www.io7m.com
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS P... |
package testing_lib.accessModifierClazzNestedIfazeAccessDecreasePublicToNon;
public class AccessModifierClazzNestedIfazeAccessDecreasePublicToNon {
public interface IfazePublicToNon {
}
} |
/*
* Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available.
*
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
*
* BK-JOB蓝鲸智云作业平台 is licensed under the MIT License.
*
* License for BK-JOB蓝鲸智云作业平台:
* ----------------------------------------------... |
/**
*
*/
package com.yisu.security.sso;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2Sso;
/**
* @author xuyisu
* @description
* @date 2020/04/11
*/
@Spring... |
package com.sinotopia.pay.rpc.service.impl;
import com.sinotopia.common.annotation.BaseService;
import com.sinotopia.common.base.BaseServiceImpl;
import com.sinotopia.pay.dao.mapper.PayPayMapper;
import com.sinotopia.pay.dao.model.PayPay;
import com.sinotopia.pay.dao.model.PayPayExample;
import com.sinotopia.pay.rpc.a... |
/*
* 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 examples.crud.domain;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.persistence.*;
import java.util.Date;
import java.util.List;
/**
* Created by serhii on 06.11.14.
*/
@Entity
@... |
/**
*/
package COSEM.Datatypes;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>scal unit type</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link COSEM.Datatypes.scal_unit_type#get... |
package com.nudt.demo_02.entity;
import java.io.Serializable;
import java.util.Date;
/**
* @Author: Lzy
* @Time: 2022/4/19
* @Description: Admin后台用户表
*/
public class UmsAdmin implements Serializable {
private static final long serialVersionUID = 1L;
private Long id;
private String username;
pri... |
/*
* Cardinal-Components-API
* Copyright (C) 2019-2020 OnyxStudios
*
* 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 u... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2020, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... |
package io.reflectoring.coderadar.graph.analyzer.service;
import io.reflectoring.coderadar.analyzer.domain.File;
import io.reflectoring.coderadar.analyzer.port.driven.SaveFilePort;
import io.reflectoring.coderadar.graph.analyzer.repository.FileRepository;
import org.springframework.stereotype.Service;
@Service
public... |
/*
* Copyright 2011-2021 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 require... |
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* java mavlink generator tool. It should not be modified by hand.
*/
package com.MAVLink.enums;
/**
* Result of mission operation (in a MISSION_ACK message).
*/
public class MAV_MISSION_RESULT {
public static final int... |
/*
* Copyright (c) 2017 STMicroelectronics – All rights reserved
* The STMicroelectronics corporate logo is a trademark of STMicroelectronics
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions... |
/**
* ported to v0.56
* ported to v0.37b7
*
*/
package mame056.vidhrdw;
import static arcadeflex056.fucPtr.*;
import static common.libc.expressions.NOT;
import static common.ptr.*;
import static mame056.driverH.*;
import static mame056.drawgfx.*;
import static mame056.mame.*;
import static mame056.common.*;
impor... |
/**
* Copyright 2019 ForgeRock AS.
*
* 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, ... |
/*
* Copyright (c) 2016, Salesforce.com, 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 notice, this list of cond... |
/*******************************************************************************
* Copyright (C) Philipp Seelos - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Philipp Seelos <seelos@outlook.com>, December 2017
***********... |
package cn.itchao.edu.framework.domain.task;
import lombok.Data;
import lombok.ToString;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
/**
* @author jinchao
*/
@Data
@ToString
@Entity
@Table(name = "xc_task")
//@GenericGenerator(n... |
package qa.addressbook.model;
public class AddressData {
private final String firstname;
private final String midlename;
private final String lastname;
private final String nickname;
private final String address;
private final String phoneHome;
private final String email;
private String... |
package epicsquid.roots.world;
import epicsquid.mysticallib.network.MessageTEUpdate;
import epicsquid.mysticallib.network.PacketHandler;
import epicsquid.mysticallib.util.NoiseGenUtil;
import epicsquid.mysticallib.util.Util;
import epicsquid.roots.config.WorldGenConfig;
import epicsquid.roots.entity.world.EntityBarrow... |
/**
* Copyright (c) 2004-2005, Regents of the University of California
* 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 ... |
package com.tmobile.pacman.api.asset.service;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.anyObject;
import static org.mockito.Matchers.anyString;
import static org.mockito.Matchers.anyInt;
import static org.mockito.Matchers.anyBoolean;
import static org.powermock.api.mockito.PowerMo... |
package com.webside.open.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.webside.base.basecontroller.BaseController;
/**
* 天气开放接口
*
* @author gaogang
*
*/
@RestController
@RequestMapping("/openapi/v1")
public c... |
package com.salesorderapp.frontend.panels;
public interface HasBusinessPresenter
{
BusinessPresenter getBusinessPresenter();
} |
package org.sandboxpowered.sandbox.api.util.nbt;
import org.sandboxpowered.sandbox.api.util.Identity;
import org.sandboxpowered.sandbox.api.util.math.Position;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
public interface ReadableCompoundTag extends Tag {
int size();
Collection... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... |
// -*- Java -*-
//
// Copyright (c) 2011, org.xbill.DNS
// 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,... |
package org.ultramine.server.util;
import org.ultramine.server.WorldConstants;
import org.ultramine.server.chunk.ChunkHash;
public class ChunkCoordComparator implements IntComparator
{
private static final int VIEW = WorldConstants.MAX_VIEW_DISTANCE;
private static final int VIEW_WIDTH = VIEW*2+1;
private static... |
/*
* Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.codepath.apps.restclienttemplate.models;
import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.List;
/*
* This is a temporary, sample mode... |
/*
* Copyright (C) 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
/*
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997-1999 IBM Corp. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/... |
package co.conversely.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web... |
/**
* @Package com.sinosoft.util
* @version V1.0
*/
package com.sinosoft.agency.tools;
import java.io.UnsupportedEncodingException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4... |
package com.puresoltechnologies.streaming.csv;
import java.util.ArrayList;
import java.util.List;
/**
* This class represents a single CSV record (a single row from a CSV file).
*
* @author Rick-Rainer Ludwig
*
*/
public class CSVRecord {
private final List<String> fields = new ArrayList<>();
void ad... |
//@@author quinnzzzzz
package seedu.address.ui;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Region;
import seedu.address.model.project.Project;
/**
* An UI component that displays information of a {@code Project}.
*/
public class ProjectCar... |
/*
* The MIT License
*
* Copyright 2016 doe300.
*
* 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, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.