text stringlengths 7 995k |
|---|
package com.jvmbytes.classloading.demo;
/**
* @author wongoo
*/
public class User {
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public String toString() {
return "User{" +
... |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/**
* 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 und... |
package br.com.application.name.web.pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class HomeNewPage {
public HomeNewPage(WebDriver webDriver) {
PageFactory.initElements(... |
package com.github.chainmailstudios.astromine.common.lba;
import net.minecraft.block.BlockState;
import net.minecraft.block.entity.BlockEntity;
import net.minecraft.fluid.Fluids;
import net.minecraft.util.Pair;
import net.minecraft.util.TypedActionResult;
import net.minecraft.util.math.BlockPos;
import net.minecraft.u... |
package com.github.dockerjava.api.command;
import java.io.InputStream;
import com.github.dockerjava.api.NotFoundException;
public interface ExecStartCmd extends SyncDockerCmd<InputStream> {
public String getExecId();
public ExecStartCmd withExecId(String execId);
public boolean hasDetachEnabled();
... |
/*
* Copyright 2018-2020 The Code Department.
*
* 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 ... |
/*
* 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 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package com.user.fadhlanhadaina.app_sekolah.presentation.presenter.viewmodel;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.ViewModel;
import com.user.fadhlanhadaina.app_sekolah.core.data.source.Resource;
import com.user.fadhlanhadaina.app_sekolah.core.data.source.local.UserPreferences;
import com.use... |
/*
* Copyright 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 applicab... |
package com.minlia.rocket.security.credential;
/**
*
* @author will
* @date 8/14/17
*/
public interface WithGuidCredential extends Credential {
/**
* Global User Identity
*/
public String getGuid();
} |
package com.liushaoming.jseckill.backend.singleton;
import com.liushaoming.jseckill.backend.entity.Seckill;
import io.protostuff.runtime.RuntimeSchema;
public class MyRuntimeSchema {
private static MyRuntimeSchema ourInstance = new MyRuntimeSchema();
private RuntimeSchema<Seckill> goodsRuntimeSchema;
pu... |
package com.atguigu.gulimall.product;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* 1、整合mybatis plus
* 1)导入依赖
* <dependency>
* <groupId>com.baomidou</groupId>
* <... |
/*
* 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 2013 BiasedBit
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
package org.embulk.output.sqlserver.nativeclient;
import jnr.ffi.Pointer;
/**
* sqlncli11.dll also has SQLXXX methods, but we should call those methods in odbc32.dll .
*/
public interface ODBC
{
static short SQL_SUCCESS = 0;
static short SQL_SUCCESS_WITH_INFO = 1;
static short SQL_HANDLE_ENV = 1;
... |
package com.wade.cryma.news.service.impl;
import com.wade.cryma.news.model.News;
import com.wade.cryma.news.repository.INewsRepository;
import com.wade.cryma.news.service.INewsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.List... |
/* Copyright 2018 The TensorFlow Authors. 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 a... |
// Copyright 2017 The Bazel Authors. 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 appl... |
/**
* Copyright 2012 Nikita Koksharov
*
* 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... |
package gun;
public class Artllery extends Weapon{
@Override
public void fire() {
System.out.println("开炮:轰");
}
} |
package br.com.alugueAgora.services;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import br.com.alugueAgora.domain.ImovelCaracteristica;
import br.com.alugueAgora.dto.Imove... |
package com.softavail.comms.demo.application.model;
public enum NexMoConversationStatus {
STARTED,
WAITING,
CONNECTING,
CONNECTED,
TIMEOUT,
COMPLETED;
@Override
public String toString() {
return name().toLowerCase();
}
} |
package frc.robot.commands.autonomous;
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
import edu.wpi.first.wpilibj2.command.WaitCommand;
import frc.robot.Constants;
import frc.robot.commands.DriveStraight;
import frc.robot.commands.IntakeCommand;
import frc.robot.commands.ShooterCommand;
import frc.robo... |
package com.app.coolweather.util;
import okhttp3.OkHttpClient;
import okhttp3.Request;
/**
* Created by aa on 2017/11/3.
*/
public class HttpUtil {
public static void sendOkHttpRequest(String address,okhttp3.Callback callback){
OkHttpClient client=new OkHttpClient();
Request request=new Reque... |
package com.company;
public class MyInteger {
private final int value;
public MyInteger(int value) {
this.value = value;
}
public boolean isOdd(){
return (value&1) != 0;
}
public boolean isEven(){
return (value&1) == 0;
}
public boolean isPrime(){
for(... |
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files(the "Software"), to deal
// in the Software without restriction, in... |
/*
* 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 net.ME1312.SubServers.Client.Bukkit.Event;
import net.ME1312.Galaxi.Library.Util;
import net.ME1312.SubServers.Client.Bukkit.Library.SubEvent;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
/**
* Server Started Event
*/
public class SubStartedEvent extends Event implements SubEvent {
... |
package com.example.goingroguedesign.ui.home;
import androidx.appcompat.app.AppCompatActivity;
import com.example.goingroguedesign.R;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.LinearLayou... |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.wso2.developerstudio.eclipse.gmf.esb.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.wso2.developerstudio.eclipse.gmf.esb.EsbPackage;
import org... |
/*
* 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 com.luoxiang.project.po;
import java.util.ArrayList;
import java.util.List;
public class JiangSu202002ShExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public JiangSu202002ShExample() {
oredCriteria = new ArrayList<Criteri... |
/*
* Copyright (C) 2016 Seoul National University
*
* 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... |
/*
* Copyright 2002-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... |
package com.diozero.sampleapps.sandpit;
/*-
* #%L
* Organisation: diozero
* Project: Device I/O Zero - Sample applications
* Filename: Listener.java
*
* This file is part of the diozero project. More information about this project
* can be found at http://www.diozero.com/
* %%
* Copyright (C) 2016... |
package net.jppresents.space;
import com.badlogic.gdx.graphics.Camera;
import com.badlogic.gdx.graphics.g2d.*;
import com.badlogic.gdx.utils.Align;
public class TextBox {
private static NinePatch ninePatch;
String text = "";
BitmapFont font;
int alpha = 0;
int textPos = 0;
boolean fullSize = false;
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 m... |
package cn.lcy.mobilesearch.es.api.model;
import java.util.List;
import java.util.Map;
public class SearchResult {
private List<Map<String, Object>> results;
public List<Map<String, Object>> getResults() {
return results;
}
public void setResults(List<Map<String, Object>> results) {
... |
/*
* Copyright [2006] [University Corporation for Advanced Internet Development, 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
*... |
/**
* Copyright (c) 2004-2011 QOS.ch
* All rights reserved.
*
* 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... |
/**
\file NiRioEntryPoints.h
\author Erik Hons <erik.hons@ni.com>
\date 12/14/2004
\brief Declarations for RIO services client DLL entry points
Intended to be called from a C client, or the LabVIEW
interface.
� Copyright 2004. National Instruments. All rights reserved.
*/
packag... |
/*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.api.kafka.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotati... |
/**
* 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) 2011 Thomas Akehurst
*
* 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 builders.dsl.spreadsheet.builder.api;
public interface Sealable {
void seal();
boolean isSealed();
void checkSealed();
} |
package org.ovirt.engine.api.restapi.types;
import static org.ovirt.engine.api.restapi.types.MappingTestHelper.populate;
import org.junit.Test;
import org.ovirt.engine.api.model.Application;
import org.ovirt.engine.core.common.businessentities.VM;
import org.ovirt.engine.core.compat.Guid;
public class ApplicationMap... |
// Copyright 2006, 2007, 2008, 2009, 2011 The Apache Software Foundation
//
// 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 requ... |
/*
* 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.thm.draw4friends.Server;
import android.content.Context;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import java.util.ArrayList;
import java.util.List;
import de.thm.draw4friends.Database.Database;
import de.thm.draw4friends.Guess.GuessCommunicato... |
package com.kongzue.baseframework.interfaces;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author: Kongzue
* @github: https://github.com/kongzue/
* @homepage: http://kongzue.com/
* @mail: myz... |
/*
* Copyright (c) 2002, 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 Softwa... |
/*
* This file is part of LuckPerms, licensed under the MIT License.
*
* Copyright (c) lucko (Luck) <luck@lucko.me>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... |
/*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.systemtest.kafka.dynamicconfiguration;
import io.strimzi.api.kafka.model.KafkaResources;
import io.strimzi.kafka.config.model.ConfigModel;
import io.strimzi.kafk... |
package com.zingson.jfain.jdbc;
import com.zingson.jfain.jdbc.dialect.Dialect;
import com.zingson.jfain.jdbc.dialect.MysqlDialect;
import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.SQLException;
public class DbConfig {
private final ThreadLocal<Connection> threadLocal = new ThreadLocal<>(... |
package net.minecraft.potion;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.potion.Potion;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class PotionEffect {
private static final Logger field_180155_a = LogM... |
/*
* Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not us... |
package com.fc.v2.model.auto;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* 公告 SysNoticeExample
* @author fuce_自动生成
* @email 115889198@qq.com
* @date 2019-09-08 01:38:44
*/
public class SysNoticeExample {
protected String orderByClause;
protected boolean distinct;
... |
package com.plink.dolphinnet;
import com.plink.dolphinnet.util.*;
import java.util.*;
/**
<b>DolphinNet<br />
Benjamin E. Coe (2006)</b><br /><br />
Used to keep track of how many Assignments have been assigned to
Reporters (clients) attached to the server.
*/
public class ClientData{
public static int MAX_SIZE=100;
... |
/*
* BSD 3-Clause License - imaJe
*
* Copyright (c) 2016, Michael Ludwig
* 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 copyrig... |
package com.github.caijh.framework.core.model;
/**
* 代表返回的前端的响应体对象.
*/
public interface RespBody extends ViewObject {
} |
package de.bitbrain.braingdx.util.math;
public interface GenericVector<Vector extends GenericVector<Vector, Type>, Type> {
/**
* @return a copy of this vector
*/
Vector cpy();
/**
* @return The euclidean length
*/
Type len();
/**
* This method is faster than {@link com.badlogic.gdx... |
package com.lumaserv.proxmox.ve.request.nodes.storage;
import com.lumaserv.proxmox.ve.request.ProxMoxVERequest;
import lombok.Setter;
import org.javawebstack.abstractdata.mapper.annotation.MapperOptions;
@Setter
public class StorageVolumeCreateRequest extends ProxMoxVERequest<StorageVolumeCreateRequest> {
@Mappe... |
package com.lcwork.multimall.admin.web;
import com.lcwork.multimall.admin.util.AdminResponseCode;
import com.lcwork.multimall.core.util.JacksonUtil;
import com.lcwork.multimall.core.util.ResponseUtil;
import com.lcwork.multimall.core.util.bcrypt.BCryptPasswordEncoder;
import com.lcwork.multimall.core.validator.Order;
... |
/*
* @author Vadim Babich
*/
package org.babich.crawler.api.messages;
import java.io.Serializable;
import java.util.StringJoiner;
import org.babich.crawler.api.ProcessingMessage;
/**
* This message is sent when all pages have been processed.
* The message payload can contain any generalized information at the en... |
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.helpers;
/**
* @generated
*/
public class AddressEndPointInputConnectorEditHelper extends EsbBaseEditHelper {
} |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package com.teambw.ne.common.init;
import net.minecraft.item.ItemArmor;
import net.minecraftforge.common.util.EnumHelper;
public class ArmorMaterials {
public static ItemArmor.ArmorMaterial NETHER_BRICK = EnumHelper.addArmorMaterial("armorNetherBrick", "uhhIdk", 800, new int[] {1,1,1,1}, 30);
} |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2008-2009, The KiWi Project (http://www.kiwi-project.eu)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*... |
package org.astraea.performance;
import java.util.Collections;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
public class ConsumerThreadTest {
@Test
void testExecuteAndClose() throws InterruptedException {
FakeComponentFactory componentFactory = new FakeComponentFactory();
Me... |
/*
* Copyright (c) 2010, 2019, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.lang.model.util;
import javax.lang.model.type.*;
import javax.annotation.processing.Supp... |
package org.jboss.community.sbs.plugin.jira;
import java.io.IOException;
import java.util.Base64;
import java.util.Collections;
import java.util.List;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.springframework.http.HttpRequest;
import org.springframework.http.client.ClientHttpReque... |
/*
* Copyright 2010-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 "l... |
package fr.adrienbrault.idea.symfony2plugin;
import com.intellij.ide.actions.ShowSettingsUtilImpl;
import com.intellij.openapi.fileChooser.FileChooser;
import com.intellij.openapi.fileChooser.FileChooserDescriptor;
import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory;
import com.intellij.openapi.option... |
package frc.robot.commands.ActionCommands;
import edu.wpi.first.wpilibj2.command.ParallelCommandGroup;
import edu.wpi.first.wpilibj2.command.ParallelDeadlineGroup;
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
import edu.wpi.first.wpilibj2.command.WaitCommand;
import frc.robot.commands.SubsystemCommand... |
import java.util.Arrays;
import java.util.Random;
/**
* @author hjj
* @create 2021/06/07/19:50
*/
public class MaxHeap<E extends Comparable<E>> {
private Array<E> data;
public MaxHeap(int capacity) {
data = new Array<>(capacity);
}
public MaxHeap() {
data = new Array<>();
}
... |
/**
* Copyright © 2016-2019 The Thingsboard 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 applicab... |
/*
* Copyright (c) 1998-2018 University Corporation for Atmospheric Research/Unidata
* See LICENSE.txt for license information.
*/
package thredds.server.wms;
import java.nio.charset.StandardCharsets;
import org.jdom2.Document;
import org.jdom2.Element;
import org.jdom2.JDOMException;
import org.jdom2.Namespace;
i... |
package com.bestray.security;
import java.io.Serializable;
import java.util.List;
import com.bestray.model.security.Authority;
/**
* Created by stephan on 20.03.16.
*/
public class JwtAuthenticationRequest implements Serializable {
private static final long serialVersionUID = -8445943548965154778L;
pr... |
package org.infinispan.server.test.security.rest;
import org.infinispan.arquillian.core.InfinispanResource;
import org.infinispan.arquillian.core.RemoteInfinispanServer;
import org.infinispan.arquillian.core.RunningServer;
import org.infinispan.arquillian.core.WithRunningServer;
import org.infinispan.server.test.clien... |
package se.doverfelt.thegame.server;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.maps.MapObjects;
import com.badlogic.gdx.maps.objects.RectangleMapObject;
import com.badlogic.gdx.maps.tiled.TiledMap;
import com.badlogic.gdx.maps.tiled.TiledMapTileLayer;
import com.badlogic.gdx.maps.tiled.TmxMapLoader;
import ... |
/**
* Copyright 2021 Shulie Technology, Co.Ltd
* Email: shulie@shulie.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
*
* Unless requi... |
package Sim;
import Retailer.Trainmaster;
import Programmer.Work;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.LinkedList;
import ... |
package medium.dynamicprogramming;
// https://leetcode.com/problems/coin-change/
class CoinChange_322 {
public int coinChange(int[] coins, int amount) {
int[] minimumNumberOfCoins = new int[amount + 1];
for (int i = 1; i <= amount; i++) {
minimumNumberOfCoins[i] = amount + 1;
... |
/*
* PolicyFormatter.java
*
* Created on 03. September 2006, 18:54
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package org.netbeans.modules.policysupport;
import java.io.IOException;
import java.io.Writer;
import javax.swing.text.BadLocationException;
... |
package com.swarts.customerservice.integration;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import com.swarts.customerservice.client.address.Address;
import com.swarts.customerservice.client.user.User;
import com.swarts.customerservice.data.ClientDataProvider;
impo... |
/*
* Licensed to Laurent Broudoux (the "Author") under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Author licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you may not... |
// 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.implementation;
import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.Delete;
import com.azure.co... |
package application;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import org.ejml.alg.dense.mult.VectorVectorMult;
import org.ejm... |
/*
* Copyright © 2014 <code@io7m.com> http://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 PROVIDED "AS IS" AN... |
// Copyright 2017 JanusGraph 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 agree... |
package com.example.spot_that_fire.Models;
public class Amenties {
public String bed, food;
} |
/*
* Copyright (c) 2009-2021, Yegor Bugayenko
* 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 cond... |
package com.zyd.blog.business.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.zyd.blog.business.consts.DateConst;
import com.zyd.blog.persistence.beans.SysUpdateRecorde;
import org.springframework.format.annotation.DateTimeFormat;
import java.... |
/*
* Copyright 2018 Qunar, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package com.tyrfing.games.tyrlib3.model.math;
public interface Transformer2I {
public Vector2I transform(Vector2I vector2);
} |
/*
* 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.caseystella.analysis;
import com.caseystella.analysis.context.ContextConfig;
import com.caseystella.analysis.input.InputConfig;
import com.caseystella.analysis.project.ProjectorConfig;
import com.caseystella.analysis.stellar.StellarExpressions;
import com.caseystella.analysis.vectorize.VectorizerConfig;
i... |
package net.minecraft.block;
import net.minecraft.block.Block;
import net.minecraft.block.BlockWorkbench$InterfaceCraftingTable;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
im... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.