text stringlengths 7 995k |
|---|
/*
* 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) 2014 Wolfgang Imig
This file is part of the library "Java Add-in for Microsoft Office".
This file must be used according to the terms of
MIT License, http://opensource.org/licenses/MIT
*/
package com.wilutions.joa.outlook.ex;
import java.util.HashMap;
import java.ut... |
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.templates.subsystems.LevelManager;
/**
*
*/
public class LevelManagerDecrement extends CommandBase {
public LevelManagerDecrement() {
// Use requires() here to declare subsystem dependencies
// eg. requires(chassis);... |
package com.javaweb.service.testNacos.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;
@RestController
@RequestMap... |
package org.gradle.test.performance.mediummonolithicjavaproject.p300;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test6014 {
Production6014 objectUnderTest = new Production6014();
@Test
public void testProperty0() {
String value = "value";
objectUnderTest.... |
package com.leftso.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.mongodb.MongoDbFactory;
import org.springframework.data.mongodb.core.MongoTemplate;
... |
package com.vesta.common;
import com.vesta.repository.entity.FloorEntity;
import org.apache.commons.lang3.RandomStringUtils;
public class FloorUtilData {
private static Long FLOOR_ID = Long.parseLong(RandomStringUtils.randomNumeric(10));
private static String FLOOR_NAME = RandomStringUtils.randomAlphabetic(1... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
// 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 org.polsl.backend.service.export;
import com.itextpdf.text.Chunk;
import com.itextpdf.text.Document;
import com.itextpdf.text.DocumentException;
import com.itextpdf.text.Element;
import com.itextpdf.text.Font;
import com.itextpdf.text.PageSize;
import com.itextpdf.text.Paragraph;
import com.itextpdf.text.Phras... |
package org.springframework.test.web.servlet.result;
import org.junit.Test;
import org.springframework.mock.web.MockHttpServletResponse;
import org.springframework.test.web.servlet.StubMvcResult;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
/**
* Unit tests for {@link MockMvcR... |
/*
* Copyright [2019] [恒宇少年 - 于起宇]
*
* 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 ... |
package com.miya.masa.domain.model.user;
import java.time.LocalDateTime;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModif... |
/*
* Copyright 2015 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 applic... |
/*
* Copyright (c) Facebook, Inc. and 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 applic... |
package net.csibio.propro.domain.bean.score;
import lombok.Data;
/**
* Created by Nico Wang
* Time: 2019-01-08 20:54
*/
@Data
public class IonPeak {
double intensity;
int leftRtIndex;
int rightRtIndex;
int apexRtIndex;
int index;
public IonPeak(double intensity, int leftRt, int rightRt, i... |
package pers.brian.mall.modules.pms.service.impl;
import pers.brian.mall.modules.pms.model.PmsProductAttributeCategory;
import pers.brian.mall.modules.pms.mapper.PmsProductAttributeCategoryMapper;
import pers.brian.mall.modules.pms.service.PmsProductAttributeCategoryService;
import com.baomidou.mybatisplus.extension.s... |
package com.example.config;
import com.example.constant.DataBaseEnum;
import com.example.dao.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Con... |
package entities.demo_hcf;
import entities.BaseEntity;
import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Set;
@Entity
@Table(name = "courses")
public class Course extends BaseEntity {
private String name;
private String description;
private LocalDateTime startDate;
private... |
/**
* Copyright ${license.git.copyrightYears} 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/LICEN... |
package org.cyclops.integratedtunnels.part.aspect;
import net.minecraft.util.EnumFacing;
import net.minecraftforge.common.capabilities.ICapabilityProvider;
import org.cyclops.commoncapabilities.api.ingredient.IngredientComponent;
import org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage;... |
/*
* channel
*
* Copyright (c) 2021 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.alert.channel.jira.server.distribution;
import org.springframework.beans.factory.a... |
/**
* Copyright © 2016-2022 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... |
/*
* 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 vectors;
/**
*
* @author bowen
*/
public class VectorN implements Vector<VectorN> {
private final double[] content;
... |
/*
Licensed to Diennea S.r.l. under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. Diennea S.r.l. licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except ... |
/*******************************************************************************
* Copyright (c) 1991, 2021 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at https://w... |
/**
* 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 cn.edu.cug.cs.gtl.protoswrapper;
import cn.edu.cug.cs.gtl.protos.BoundingBox;
import cn.edu.cug.cs.gtl.protos.LinearRing2D;
import cn.edu.cug.cs.gtl.protos.Vertex2d;
public class LinearRing2DWrapper {
/**
*
* @param cc
* @return
*/
public static LinearRing2D of(double [] cc){
... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.vpl.entity;
import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesit... |
package org.hisp.dhis.webapi.controller;
/*
* Copyright (c) 2004-2017, 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 ab... |
package pinacolada.cards.fool.special;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.core.AbstractCreature;
import com.megacrit.cardcrawl.monsters.AbstractMonster;
import com.megacrit.cardcrawl.powers.VulnerablePower;
import eatyourbeets.utilities.TargetHelper;
import pinacolad... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * 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 ... |
/*
* 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 2014 NAVER 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 it.blackhat.symposium.queries;
/**
* This class contains all queries for user table
*
* @author Symposium Group
*/
public enum UserQuery {
FIND_EMAIL("SELECT * FROM user WHERE email=?"),
SIGN_UP("INSERT INTO user (username, firstName, lastName, email, password, typeGrad,year) "
+ "VALUES(... |
/*
* 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.hframework.hamster.sec.service.impl;
import java.util.*;
import com.hframework.hamster.sec.service.interfaces.IHfsecRoleAuthorizeSV;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.hframework.hamster.sec.domain.model.HfsecRoleAuthorize;
import com.hframework.ha... |
package com.github.sparkzxl.auth.infrastructure.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.sparkzxl.entity.data.TreeEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.D... |
package br.edu.fatec.les.strategy.pedido;
import br.edu.fatec.les.dominio.EntidadeDominio;
import br.edu.fatec.les.dominio.Pedido;
import br.edu.fatec.les.dominio.StatusPedido;
import br.edu.fatec.les.strategy.IStrategy;
public class EntregaProduto implements IStrategy {
@Override
public String processar(Entidade... |
package me.lucko.luckperms.standalone.util;
import java.net.URL;
import java.util.UUID;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
public class UsernameGetter {
public static String currentName(UUID uuid) {
try {
URL mojangAPI = ne... |
package com.cloud.blog.auth.handler;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;... |
package seedu.address.ui.testutil;
import static org.junit.Assert.assertEquals;
import java.util.List;
import java.util.stream.Collectors;
import guitests.guihandles.AppointmentCardHandle;
import guitests.guihandles.PersonCardHandle;
import guitests.guihandles.PersonListPanelHandle;
import guitests.guihandles.Result... |
package org.txazo.designpattern.behavior.visitor;
/**
* 被访问者 - 电影院
*/
public class MovieDestination implements Destination {
@Override
public void accept(Visitor visitor) {
visitor.visit(this);
}
public void seeMovie() {
System.out.println("看电影");
}
} |
import javax.swing.JComponent;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.awt.Color;
public class IBlock extends JComponent
{
private int xPos, yPos;
private static final int width = 20;
private static final int length = 80;
public IBlock(int x, int y)
{
... |
package com.javarush.test.level20.lesson04.task01;
import java.io.Serializable;
class Asset implements Serializable {
private final String name;
private double price;
public Asset(String name) {
this.name = name;
}
public String getName() {
return name;
}
public double getPrice() {
retur... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... |
package mage.cards.c;
import java.util.UUID;
import mage.abilities.effects.common.DestroyTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.common.FilterArtifactPermanent;
import mage.filter.predicate.Predicates;
import mage.filter.predicate.mage... |
package org.cloudbus.cloudsim.examples.power.planetlab;
import java.io.IOException;
/**
* A simulation of a heterogeneous power aware data center that applies the Local Regression (LR) VM
* allocation policy and Minimum Utilization (MU) VM selection policy.
*
* This example uses a real PlanetLab workload: 201103... |
package org.ontosoft.client.components.form.facet.events;
import com.google.gwt.event.shared.EventHandler;
public interface FacetSelectionHandler extends EventHandler {
void onFacetSelection(FacetSelectionEvent event);
} |
package de.danoeh.antennapod.core.util.gui;
import android.app.Activity;
import android.content.pm.PackageManager;
import android.os.Build;
public class PictureInPictureUtil {
private PictureInPictureUtil() {
}
public static boolean supportsPictureInPicture(Activity activity) {
if (Build.VERSION.... |
package com.weinyc.sa.common.util.email;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import javax.activation.DataHandler;
import javax.activation.Data... |
package com.devin.common.utils.http;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.ConnectException;
import java.net.SocketTimeoutException;
import java.net.URL;
import java.net.URLConnection;
import ... |
package com.frosty_grass_31578;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript. This is used to schedule
* rendering of the component.
*/
@Override
protected String getMainComponentName(... |
/*
* Copyright 2015 SIB Visions GmbH
*
* 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 org.kie.kogito.trusty.service.api;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.mockito.InjectMock;
import io.restassured.filter.log.ResponseLoggingFilter;
import org.junit.jupiter.api.Test;
import org.k... |
package davy.code.core.stateme;
import davy.code.core.DownloadContext;
import davy.code.core.exception.DownloadException;
import davy.code.core.IDownloadState;
/**
* author: wangyonghua
* version: V1.0
* date: 2018/1/16
* time: 20:10
*/
public class RunningDownloadStatus implements IDownloadState {
@Overri... |
/*
* LUSID API
*
* The version of the OpenAPI document: 0.11.2220
* Contact: info@finbourne.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.finbourne.lusid.model;
import java.u... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
package com.azure.search.models;
import com.azure.core.annotation.Fluent;
... |
package learn;
public interface Fruit {
public String getName();
public String getColor();
} |
package com.ly;
import java.sql.*;
/**
* Created by Liuying on 2018/10/22.
*/
public class OracleUtil {
public static void main(String[] args) {
ResultSet rs = null;
Statement stmt = null;
Connection conn = null;
try {
Class.forName("oracle.jdbc.driver.OracleDriver")... |
// Copyright (c) 2018, 2019, Oracle Corporation and/or its affiliates. All rights reserved.
// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
package oracle.kubernetes.operator.work;
import java.util.ArrayList;
import java.util.List;
import com.meterware.simpl... |
package io.ebean.test;
import io.ebeaninternal.api.SpiLogger;
import java.util.ArrayList;
import java.util.List;
/**
* Capture the log messages (executed SQL) for testing.
*/
final class CaptureLogger implements SpiLogger {
private final SpiLogger wrapped;
private List<String> messages = new ArrayList<>();
... |
package nato.ivct.gui.client;
import java.util.Locale;
import org.eclipse.scout.rt.client.dto.FormData;
import org.eclipse.scout.rt.client.ui.ClientUIPreferences;
import org.eclipse.scout.rt.client.ui.form.AbstractForm;
import org.eclipse.scout.rt.client.ui.form.fields.button.AbstractCancelButton;
import org.eclipse.... |
package com.github.xpenatan.gdx.backends.web.dom;
/**
* @author xpenatan
*/
public interface StorageWrapper {
public int getLength();
public String key(int index);
public String getItem(String key);
public void setItem(String key, String value);
public void removeItem(String key);
public void clear();
} |
package com.db117.example.leetcode.solution;
import java.util.ArrayList;
import java.util.List;
/**
* 给定两个整数 n 和 k,返回 1 ... n 中所有可能的 k 个数的组合。
* <p>
* 示例:
* <p>
* 输入: n = 4, k = 2
* 输出:
* [
* [2,4],
* [3,4],
* [2,3],
* [1,2],
* [1,3],
* [1,4],
* ]
* <p>
* 来源:力扣(LeetCode)
* 链接:https://leetcode-cn.com/p... |
/**
* Copyright (C) 2012 Philip W. Sorst <philip@sorst.net>
* and individual contributors as indicated
* by the @authors tag.
*
* 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... |
package bac.crypto;
import java.security.MessageDigest;
import java.util.Arrays;
public final class Crypto {
public static byte[] getPublicKey(String secretPhrase) {
try {
byte[] publicKey = new byte[32];
Curve25519.keygen(publicKey, null, MessageDigest.getInstance("SHA-256").digest(secretPhras... |
package org.bukkit.material;
import org.bukkit.Material;
import org.bukkit.TreeSpecies;
/**
* Represents the different types of leaf block that may be permanent or can
* decay when too far from a log.
*
* @see Material#LEAVES
* @see Material#LEAVES_2
*/
public class Leaves extends Wood {
protected static fi... |
package gq.stev.stevesextensions.event;
public interface Preventable {
boolean isPrevented();
void prevent();
} |
package co.yixiang.modules.taibao.util;
import co.yixiang.exception.ErrorRequestException;
import java.io.*;
import java.util.*;
import java.util.zip.CRC32;
import java.util.zip.CheckedOutputStream;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
public class ZipCompressor {
static final int ... |
package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2012 by Andreas Schlegel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1
* of the L... |
/**
* 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.leetcode;
public class DiameterOfBinaryTree {
} |
package network.warzone.tgm.util.itemstack;
import org.bukkit.potion.PotionEffectType;
/**
* Created by Jorge on 10/19/2019
*/
public class Effects {
public static String toMinecraftID(PotionEffectType type) {
switch (type.getName()) {
case "SPEED":
return "speed";
... |
package com.arctan95.mall.coupon.service.impl;
import com.arctan95.mall.coupon.dao.CouponSpuRelationDao;
import com.arctan95.mall.coupon.entity.CouponSpuRelationEntity;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.... |
/**
* Copyright 2018-2028 Akaxin Group
*
* 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... |
/*
* This source file is part of the Amy open source project.
* For more information see github.com/AmyAssist
*
* Copyright (c) 2018 the Amy project authors.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compl... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
* contributors by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... |
package p03_opinion_poll;
public class Person {
public static final int DEFAULT_AGE = 1;
public static final String DEFAULT_NAME = "No name";
private String name;
private int age;
public Person() {
this(DEFAULT_NAME, DEFAULT_AGE);
}
public Person(String name, int age) {
t... |
/*
* Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package com.example.demo.dto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class JobPostRequest {
private String jobPostName;
private String companyName;
private String salary;
private String skills;
priv... |
/*
* Copyright (c) 2015, 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 copyright notice, this
* list of condition... |
/*
* 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 mekanism.common.tier;
import net.minecraftforge.common.ForgeConfigSpec.IntValue;
public enum BinTier implements ITier {
BASIC(BaseTier.BASIC, 4_096),
ADVANCED(BaseTier.ADVANCED, 8_192),
ELITE(BaseTier.ELITE, 32_768),
ULTIMATE(BaseTier.ULTIMATE, 262_144),
CREATIVE(BaseTier.CREATIVE, Integer... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* UIAcademias.java
*
* Created on 23-ago-2012, 12:25:03
*/
package talitakumi.admin;
import java.awt.EventQueue;
import java.beans.Beans;
import java.util.ArrayList;
import java.util.List;
import javax.persiste... |
package com.beef.dataorigin.setting.meta.data;
import java.util.ArrayList;
import java.util.List;
public class MetaDataField {
private String _fieldName = "";
private String _fieldDispName = "";
private int _fieldDispMaxLength = 0;
private String _fieldDispFormat = "";
private String _fieldValidateRegex =... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.storage.blob.implementation.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.DateTimeRfc1123;
import com.fasterxml.ja... |
package com.twu.biblioteca;
import java.math.BigInteger;
public class BibliotecaApp {
private final Printer printer;
private final Library library;
private final Menu menu;
private final Keyboard keyboard;
public BibliotecaApp(Printer printer, Library library, Menu menu, Keyboard keyboard) {
... |
/*
* 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... |
/*
* Copyright 2017 Hippo B.V. (http://www.onehippo.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
package org.apache.jsp.user;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import araclist.araclarDatabase;
import java.util.List;
import araclist.Araclar;
public final class Anasayfa_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourc... |
/*
* 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.anly.githubapp.common.util;
import android.content.Context;
import android.graphics.drawable.Drawable;
import com.mikepenz.iconics.IconicsDrawable;
import com.mikepenz.iconics.typeface.IIcon;
/**
* Created by mingjun on 16/8/31.
*/
public class IconicUtil {
public static Drawable getSmallIcon (Con... |
package com.spring.dao;
import java.util.List;
import org.hibernate.Criteria;
import org.hibernate.Hibernate;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Restrictions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;
import com.spring... |
package ch.awae.gameserver.security;
import java.io.IOException;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.be... |
package jaist.tanlab.echonetIoTAgent.fiware.model.registration;
import java.time.Instant;
public class RegistrationForwardingInformation {
public RegistrationForwardingInformation() {
}
Instant timeSent;
Instant lastForwarding;
Instant lastFailure;
Instant lastSuccess;
public Instant getTimeSent() {
retur... |
// ============================================================================
//
// Copyright (C) 2006-2016 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... |
public class App {
public static void main(String[] args) {
AVLTree avlTree = new AVLTree();
// avlTree.add(15);
// avlTree.add(27);
// avlTree.add(49);
// avlTree.add(10);
// avlTree.add(9);
// avlTree.add(67);
// avlTree.add(59);
// avlTree.add(8)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.