text stringlengths 7 995k |
|---|
/*
* Copyright 2014-2016 CyberVision, 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 o... |
package com.sunzn.picker.library.picker.date;
/**
* Created by sunzn on 2017/2/10.
*/
public interface DatePickerBoxListener {
void onEnsureClick(long timeMillis);
} |
/*
* <copyright> Copyright 1997-2003 BBNT Solutions, LLC under sponsorship of the
* Defense Advanced Research Projects Agency (DARPA).
* Copyright 2009 Swiss AviationSoftware Ltd.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the Cougaar Open Source License as p... |
package org.isotope.jfp.framework.security;
import java.io.OutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.isotope.jfp.framework.beans.common.RESTResultBean;
import org.isotope.jfp.framework.constants.ISFrameworkConstants;
import org.isotope.jfp.f... |
package com.javarush.task.task34.task3404;
import java.math.RoundingMode;
import java.text.DecimalFormat;
import java.math.BigDecimal;
import java.util.*;
/*
Рекурсия для мат. выражения
*/
public class Solution {
public static void main(String[] args) {
Solution solution = new Solution();
/* solu... |
package model.hibernate;
import java.io.Serializable;
import java.lang.reflect.ParameterizedType;
import java.util.List;
import java.util.Map;
import model.GenericDAO;
import org.hibernate.Criteria;
import org.hibernate.FetchMode;
import org.hibernate.LockOptions;
import org.hibernate.Query;
import org.hibernate.Ses... |
/*
* Copyright (C) Keanu Poeschko - All Rights Reserved
* Unauthorized copying of this file is strictly prohibited
*
* Created by Keanu Poeschko <nur1popcorn@gmail.com>, April 2017
* This file is part of {Irrlicht}.
*
* Do not copy or distribute files of {Irrlicht} without permission of {Keanu Poeschko}
*
* Pe... |
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
import org.bytedeco.pytorch.Allocator;
import org.bytedeco.pytorch.Function;
import org.bytedeco.pytorch.Module;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.byte... |
package foodsearch.controller;
import foodsearch.domain.*;
import foodsearch.service.FoodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind... |
package ca.uhn.fhir.jpa.dao;
/*-
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2019 University Health Network
* %%
* 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
*
* ... |
import org.junit.Test;
import play.mvc.Http.Response;
import play.test.FunctionalTest;
public class ApplicationTest extends FunctionalTest {
@Test
public void testThatIndexPageWorks() {
Response response = GET("/");
assertIsOk(response);
assertContentType("text/html", response);
assertCharse... |
package org.opentesting.modultest;
import java.time.LocalDateTime;
import java.util.List;
import org.junit.jupiter.api.Test;
import org.opentesting.dto.TestCaseCheckDTO;
import org.opentesting.dto.TestCaseDTO;
import org.opentesting.dto.TestCaseInjectionDTO;
import org.opentesting.services.execution.TestManager;
impo... |
package org.azbuilder.executor;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
//@SpringBootTest
class ExecutorApplicationTests {
@Test
void contextLoads() {
}
} |
package com.diguage.books.thinking.initialization;
//: initialization/Burrito.java
public class Burrito {
Spiciness degree;
public Burrito(Spiciness degree) {
this.degree = degree;
}
public void describe() {
System.out.print("This burrito is ");
switch (degree) {
c... |
package com.simibubi.create.foundation.gui;
import java.util.function.Supplier;
import org.lwjgl.opengl.GL11;
import com.mojang.blaze3d.platform.GlStateManager;
import com.simibubi.create.foundation.utility.ColorHelper;
import net.minecraft.block.BlockState;
import net.minecraft.block.FireBlock;
import net.minecraf... |
package org.folio.okapi;
import guru.nidi.ramltester.RamlDefinition;
import guru.nidi.ramltester.RamlLoaders;
import guru.nidi.ramltester.restassured3.RestAssuredClient;
import io.restassured.RestAssured;
import io.restassured.response.Response;
import io.vertx.core.AsyncResult;
import io.vertx.core.DeploymentOptions;... |
// 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package za.co.richarde.api.models;
public class OrderStatusResponse {
private String orderId;
private String orderStatusType;
private String currencyPair;
private String originalPrice;
private String remainingQuantity;
private String originalQuantity;
private String orderSide;
private String orderType;
privat... |
package igrad.model.requirement;
//@@author yjskrs
import static igrad.testutil.Assert.assertThrows;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
public class CreditsTest {
@Test
public void constru... |
class Foo {
void foo() {
a[longer].list();
Go down;
double trouble;
fancy(fruit);
a b;
a c;
stuff();
bar();
this.is(a[method]);
we.need();
print();
return val + b * c;
}
} |
/*
* Stop.java
*
*
* The Salamander Project - 2D and 3D graphics libraries in Java
* Copyright (C) 2004 Mark McKay
*
* 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
... |
/*
* Licensed to Islandora Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* The Islandora Foundation licenses this file to you under the MIT License.
* You may not use this file except in c... |
/*
* $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/ResponseStream.java,v 1.6 2002/03/18 07:15:39 remm Exp $
* $Revision: 1.6 $
* $Date: 2002/03/18 07:15:39 $
*
* ====================================================================
*
* The Apache Software License, Version ... |
/*
* Copyright 2015 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.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... |
/* ###
* IP: GHIDRA
* REVIEWED: YES
*
* 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 ru.job4j.stream.school;
import java.util.Comparator;
import java.util.Objects;
/**
* Class Student.
*
* @author Yury Doronin (doronin.ltd@gmail.com)
* @version 2.0
* @since 20.05.2019
*/
public class Student implements Comparator<Student> {
private String name;
private final int score;
pub... |
/*
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
/*
*
*
*
*
*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/p... |
/* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept.
This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit).
http://www.cs.umass.edu/~mccallum/mallet
This software is provided under the terms of the Common Public License,
version 1.0, as published by http://www.opensou... |
/*
* AnyPlace: A free and open Indoor Navigation Service with superb accuracy!
*
* Anyplace is a first-of-a-kind indoor information service offering GPS-less
* localization, navigation and search inside buildings using ordinary smartphones.
*
* Authors: C. Laoudias, G.Larkou, G. Constantinou, M. Constantinides, S. Nico... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.documentapi.messagebus;
import com.yahoo.document.BucketId;
import com.yahoo.document.BucketIdFactory;
import com.yahoo.document.select.parser.ParseException;
import com.yahoo.docume... |
package org.jhipster.ecommerce.store.web.rest;
import org.jhipster.ecommerce.store.StoreApp;
import org.jhipster.ecommerce.store.domain.OrderItem;
import org.jhipster.ecommerce.store.domain.Product;
import org.jhipster.ecommerce.store.domain.ProductOrder;
import org.jhipster.ecommerce.store.repository.OrderItemReposit... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2018 Serge Rider (serge@jkiss.org)
* Copyright (C) 2017 Andrew Khitrin (ahitrin@gmail.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... |
/*
* Copyright (c) 2000-2005 JGoodies Karsten Lentzsch. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice,
* t... |
package StSShapeShifter.cards;
import StSShapeShifter.characters.ShapeShifter;
import StSShapeShifter.powers.DeepWoundPower;
import com.megacrit.cardcrawl.actions.AbstractGameAction;
import com.megacrit.cardcrawl.actions.common.ApplyPowerAction;
import com.megacrit.cardcrawl.actions.common.DamageAction;
import com.meg... |
package org.janson.think.in.spring.bean.lifecycle;
import org.janson.think.in.spring.ioc.overview.domain.User;
import org.springframework.beans.factory.support.DefaultListableBeanFactory;
import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
import org.springframework.context.annotation.CommonAnnotatio... |
package ru.stqa.pft.addressbook.model;
import com.google.gson.annotations.Expose;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamOmitField;
import org.hibernate.annotations.ManyToAny;
import org.hibernate.annotations.Type;
import javax.persistence.*;
import... |
package com.piro360.app.web.rest.errors;
import java.net.URI;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.servlet.http.HttpServletRequest;
impo... |
/*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... |
/**
* Copyright (c) 2015, Intel Corporation
*
* 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 conditions and t... |
/**
* Copyright (c) 2013-2020 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... |
package org.quickstart.sensitive;
import com.github.houbb.sensitive.api.ICondition;
import com.github.houbb.sensitive.api.IContext;
import java.lang.reflect.Field;
/**
* @description TODO
*
* @author youngzil@163.com
* @createTime 2020/6/5 23:41
*/
public class ConditionFooPassword implements ICondition {
@... |
/*
* Copyright 2012 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... |
/*
* 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) 2015 The Gravitee team (http://gravitee.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 requ... |
package com.recyclerviewwithroom.fragments;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import ... |
package com.duolaimi.music.controller;
import com.alibaba.fastjson.JSONObject;
import com.duolaimi.music.constant.Constants;
import com.duolaimi.music.service.impl.SingerServiceImpl;
import com.duolaimi.music.domain.Singer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.conte... |
package base;
import common.PageFactory;
import org.openqa.selenium.WebDriver;
import util.ConfigReader;
import java.util.concurrent.TimeUnit;
public class Configuration {
public ConfigReader config = new ConfigReader();
public String url = config.getApplicationUrl();
//Browser Type picked here and make... |
package cn.e3mall.pojo;
import java.io.Serializable;
import java.util.Date;
public class TbItemParam implements Serializable{
private Long id;
private Long itemCatId;
private Date created;
private Date updated;
private String paramData;
public Long getId() {
return id;
}
... |
package com.product.yunhangce.util;
import android.content.Context;
import android.content.SharedPreferences;
import android.support.annotation.NonNull;
import android.support.v4.util.SimpleArrayMap;
import com.product.yunhangce.MyApplication;
import java.util.Collections;
import java.util.Map;
import java.util.Set;... |
/* 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... |
package org.traccar.protocol;
import org.junit.Test;
import org.traccar.ProtocolTest;
public class AutoGradeProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
AutoGradeProtocolDecoder decoder = new AutoGradeProtocolDecoder(null);
verifyPosition(deco... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/speech/v1/cloud_speech.proto
package com.google.cloud.speech.v1;
public interface StreamingRecognizeRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.speech.v1.StreamingRecognizeRequest)
c... |
/*
* 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 (C) 2019 Parrot Drones SAS
*
* 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... |
/*
* 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 ca.cgjennings.apps.arkham.plugins.catalog;
import ca.cgjennings.apps.arkham.BusyDialog;
import ca.cgjennings.apps.arkham.StrangeEons;
import ca.cgjennings.apps.arkham.dialog.ErrorDialog;
import ca.cgjennings.apps.arkham.plugins.BundleInstaller;
import ca.cgjennings.apps.arkham.plugins.PluginBundle;
import ca.c... |
package com.youlun.baseframework.dao;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import javax.sql.DataSource;
import org.apache.commons.dbcp.BasicDataSource;
import org.json.JSONArray;
import org.json.JSONObject;
import org.springframework.util.StringUtils;
import com.youlun.basefram... |
/**
* 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 fr.charlotte.arsreloaded.configuration;
import com.google.gson.Gson;
import fr.charlotte.arsreloaded.databases.Database;
import org.apache.commons.lang3.StringUtils;
import org.simplejavamail.mailer.Mailer;
import org.simplejavamail.mailer.MailerBuilder;
import org.simplejavamail.mailer.config.TransportStrateg... |
package com.squareup.rx.idler;
import android.support.annotation.CheckResult;
import android.support.annotation.NonNull;
import android.support.test.espresso.Espresso;
import android.support.test.espresso.IdlingResource;
import rx.Scheduler;
import rx.plugins.RxJavaSchedulersHook;
/**
* Utilities for connecting RxJa... |
import java.util.Arrays;
import java.util.HashSet;
public class _1051 {
public static void main(String[] args) {
System.out.println(heightChecker(new int[]{1,1,4,2,1,3}));
System.out.println(heightChecker(new int[]{5,1,2,3,4}));
System.out.println(heightChecker(new int[]{1,2,3,4,5}));
... |
/*
* Copyright © 2020 LambdAurora <aurora42lambda@gmail.com>
*
* This file is part of LambDynamicLights.
*
* Licensed under the MIT license. For more information,
* see the LICENSE file.
*/
package dev.lambdaurora.lambdynlights;
import dev.lambdaurora.lambdynlights.accessor.WorldRendererAccessor;
import dev.la... |
package ru.job4j;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
impo... |
package jaygoo.peachplayerdemo.Tools;
import java.io.File;
import java.util.List;
import java.util.Map;
/**
* Created by fighting on 2017/4/7.
*/
public class OkhttpUtil {
public static final String METHOD_GET = "GET";
public static final String METHOD_POST = "POST";
public static final String METHOD_... |
/*
* 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 to in ... |
package AlixaProDev.EventListeners;
import com.sun.security.auth.module.JndiLoginModule;
import javax.swing.*;
import javax.swing.event.AncestorEvent;
import javax.swing.event.AncestorListener;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class AncestorListenerD... |
package com.springboot.cloud.configuration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHan... |
package com.mindtree.taskmanagement.dao;
import java.util.List;
import com.mindtree.taskmanagement.domain.Employee;
import com.mindtree.taskmanagement.domain.Project;
import com.mindtree.taskmanagement.domain.TaskManagement;
import com.mindtree.taskmanagement.exceptions.DAOException;
public interface TaskManagementD... |
package Libs.FrameHandle;
/**
* @brief 倒计时定时器
*/
public class DaoJiShiTimer extends TimerItemBase
{
@Override
public void setTotalTime(float value)
{
super.setTotalTime(value);
this.mCurRunTime = value;
}
@Override
public float getRunTime()
{
return this.mTotalTim... |
package com.arkdex.springinaction.disruptorqueue.eventhandler;
import com.arkdex.springinaction.disruptorqueue.Event;
import com.arkdex.springinaction.disruptorqueue.Utils;
import com.lmax.disruptor.EventHandler;
import com.lmax.disruptor.RingBuffer;
public class Demo1P1C {
public static void main(String[] args) {... |
package jetbrains.mps.vcs.annotate;
/*Generated by MPS */
import jetbrains.mps.annotations.GeneratedClass;
import jetbrains.mps.vcs.history.CommitsGraphNode;
import java.util.Collection;
import org.jetbrains.annotations.NotNull;
@GeneratedClass(node = "r:f509a650-cbd9-47e7-b2a0-79f49c562c0b(jetbrains.mps.vcs.annotat... |
package com.cv.models;
import javax.persistence.*;
@Entity
@Table(name = "roles")
public class Role {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@Enumerated(EnumType.STRING)
@Column(length = 20)
private ERole name;
public Role() {
}
public Role(... |
package com.linkedin.avro.fastserde.generated.deserialization.AVRO_1_7;
import java.io.IOException;
import com.linkedin.avro.fastserde.FastDeserializer;
import org.apache.avro.Schema;
import org.apache.avro.generic.IndexedRecord;
import org.apache.avro.io.Decoder;
import org.apache.avro.util.Utf8;
public class record... |
package com.jitterted.mobreg.application;
import com.jitterted.mobreg.adapter.in.web.member.DummyNotifier;
import com.jitterted.mobreg.application.port.DummyVideoConferenceScheduler;
import com.jitterted.mobreg.application.port.EnsembleRepository;
import com.jitterted.mobreg.application.port.InMemoryEnsembleRepository... |
package com.atguigu.gulimall.product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.UndoLogEntity;
import java.util.Map;
/**
*
*
* @author zjh
* @email 1552562031@qq.com
* @date 2022-04-08 19:21:57
*/
p... |
package com.maven.dao;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;
import com.maven.base.dao.BaseDao;
import com.maven.entity.ActivityBetRecord;
import com.maven.entity.DataHandleMaintenance;
@Repository
public interface DataHandleMaintenanceDao extends BaseDao<Dat... |
/*
* 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... |
/*
* Copyright (C) 2009 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... |
package br.usp.icmc.gustavoaguiar.controllers;
import br.usp.icmc.gustavoaguiar.equipe.montagem.EquipeMontagemEntity;
import br.usp.icmc.gustavoaguiar.equipe.montagem.EquipeMontagemService;
import br.usp.icmc.gustavoaguiar.library.ResourceNotFound;
import org.springframework.beans.factory.annotation.Autowired;
import ... |
package org.bee.osql;
/**
* @author Kingstar
* @since 1.0
*/
public enum IncludeType {
// -1 for exclude 留用
INCLUDE_NULL(0),
INCLUDE_EMPTY(1), // ""
INCLUDE_BOTH(2); // NULL and ""
private final int value;
private IncludeType(int value) {
this.value = value;
}
public int getValue() {
return this.... |
/*
* 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 main.java.cad;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.stage.Stage;
import main.java.cad.CommonDefinitions.CommonPath;
public class Main extends Application {
@Override
... |
package ac.uk.icl.dell.vaadin.navigator7;
import java.io.BufferedWriter;
import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import org.vaadin.navigator7.NavigableApplicationServlet;
public class IGGApplicationServlet extends NavigableApplicationServlet{
private static final long serialVersi... |
package com.google.appengine.api.datastore.dev;
import com.google.appengine.api.datastore.EntityTranslator;
import com.google.appengine.api.taskqueue.TaskQueuePb;
import com.google.appengine.repackaged.com.google.common.base.Preconditions;
import com.google.appengine.repackaged.com.google.common.collect.Maps;
import ... |
package com.github.prabhuprabhakaran.jsockets.examples;
import com.github.prabhuprabhakaran.jsockets.nio.NioServer;
import com.github.prabhuprabhakaran.jsockets.tcp.TcpClient;
import com.github.prabhuprabhakaran.jsockets.udp.MulticastClient;
import com.github.prabhuprabhakaran.jsockets.udp.UniCastClient;
import java.i... |
package com.exceljava.com4j.excel ;
import com4j.*;
@IID("{00020400-0000-0000-C000-000000000046}")
public interface Borders extends Com4jObject,Iterable<Com4jObject> {
// Methods:
/**
* <p>
* Getter method for the COM property "Application"
* </p>
*/
@DISPID(148)
@PropGet
com.exceljava.com4j.e... |
/*
* Copyright (c) 2019 Practice Insight Pty Ltd. All Rights Reserved.
*/
package io.wisetime.connector.metric;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* Simple in memory metric service.
* <p>
* You can increment metric statistics using {@link #increment(Metric)} or {@link #incr... |
/*
* Copyright (c) 2016 OmniFaces.org. All Rights Reserved.
*/
package org.omnifaces.serve;
import java.io.IOException;
import javax.inject.Inject;
import javax.servlet.Servlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.Servle... |
/*
* 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 ma... |
package tsuteto.tofu.block;
import net.minecraft.block.Block;
import net.minecraft.block.BlockSlab;
import net.minecraft.block.material.Material;
import net.minecraft.util.Facing;
import net.minecraft.world.IBlockAccess;
import tsuteto.tofu.creativetabs.TcCreativeTabs;
abstract public class BlockTofuStepBase extends ... |
package com.eclodir.pontointeligente.api.conrollers;
import java.math.BigDecimal;
import java.security.NoSuchAlgorithmException;
import java.util.Optional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEn... |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.actions;
import com.intellij.codeInsight.lookup.LookupManager;
import com.intellij.codeInsight.navigation.NavigationUtil;
import com.intellij.execution.E... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
package org.innovateuk.ifs.project.grantofferletter.populator;
import org.innovateuk.ifs.address.resource.AddressResource;
import org.innovateuk.ifs.competition.resource.CompetitionResource;
import org.innovateuk.ifs.finance.resource.ProjectFinanceResource;
import org.innovateuk.ifs.project.finance.service.ProjectFina... |
/**
* Copyright (C) 2018 Jeebiz (http://jeebiz.net).
* All Rights Reserved.
*/
package net.jeebiz.admin.extras.logbiz.setup.event.listener;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;
import net.jeebiz.admin.extras.logbiz.setup.event.BizLogEvent;
@Com... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2020-2021 Roger L. Whitcomb.
*
* 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... |
/*
* 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 ... |
import java.util.*;
import java.io.*;
import ou.*;
/**
* Write a description of class Count here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Count
{
// instance variables - replace the example below with your own
private int H;
private int D;
private int W;
pri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.