text stringlengths 7 995k |
|---|
/*
* Copyright 2012 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 i... |
/*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... |
package com.jme3.scene.plugins.blender.constraints;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.jme3.math.Transform;
import com.jme3.scene.Spatial;
import com.jme3.scene.plugins.blender.BlenderContext;
import com.jme3.scene.plugins.blender.BlenderContext.LoadedFeatureDataType;
import c... |
package de.bitbrain.shelter.model;
import aurelienribon.tweenengine.Tween;
import aurelienribon.tweenengine.TweenEquations;
import box2dLight.PointLight;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.physics.box2d.BodyDef;
import com.badlogic.gdx.physics.box2d.FixtureDef;
import de.bitbrain.braingdx.... |
/*
* Copyright (c) 2020. Yuanchen
*/
package company.amazon;
import java.util.ArrayList;
import java.util.List;
/**
* @author shiyuanchen
* @project LeetCode
* @since 2020/09/20
*/
public class Q21FulfillmentCenterStorage {
public static void incrStack(List<String> operations) {
int n = Integer.parseIn... |
package uk.co.terminological.bibliography.crossref;
import java.net.URI;
import java.time.LocalDate;
import java.util.Collections;
import java.util.List;
import java.util.Optional;
import java.util.function.Function;
import java.util.stream.Stream;
import com.fasterxml.jackson.databind.JsonNode;
import uk.co.termino... |
package abi36_0_0.expo.modules.av.video;
import android.content.Context;
import com.yqritc.scalablevideoview.ScalableType;
import java.util.ArrayList;
import java.util.List;
import abi36_0_0.org.unimodules.core.ModuleRegistry;
import abi36_0_0.org.unimodules.core.ViewManager;
import abi36_0_0.org.unimodules.core.ar... |
/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2008, Open Source Geospatial Foundation (OSGeo)
*
* 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 Softw... |
package edu.umbc.ebiquity.mithril;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} |
package sorcer.worker.provider.impl;
import com.sun.jini.start.LifeCycle;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import sorcer.core.context.ServiceContext;
import sorcer.core.provider.ServiceTasker;
import sorcer.service.Context;
import sorcer.service.ContextException;
import sorcer.worker.provider.I... |
// AUTOGENERATED CODE. DO NOT MODIFY DIRECTLY! Instead, please modify the tuple/FieldTupleX.ftl file.
// See the README in the module's src/template directory for details.
package com.linkedin.dagli.tuple;
/**
* A tuple of arity 7.
*
* FieldTuples are more memory-efficient than ArrayTuples because they do not nee... |
package com.example.shanmugarajjoveeinfo.pageflipjava.components.ui.containers;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.Camera;
import android.graphics.Canvas;
import android.graphics.Color;
i... |
package ru.job4j.inheritance;
/**
* 1. Реализация профессий в коде
*
* @author imoskovtsev
*/
public class Doctor extends Profession {
/**
* Конструктор.
*
* @param diploma диплом
* @param name имя
* @param address адрес
* @param phoneNumber номер телефона
*/
... |
package com.funtl.st.hellodistributed.socket;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
/**
* @author songtao
* @create 2020-04-2020/4/5-21:27
*/
public class ClinentSocketDemo1 {
public static void main(Stri... |
/* 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... |
package br.edu.ifma.openbyodmobileside.modelo;
import android.graphics.drawable.Drawable;
/**
* Created by Windows on 25/08/2017.
*/
public class ItemHome {
private String titulo;
private String descricao;
private Drawable imagem;
public ItemHome() {
}
public ItemHome(String titulo, Stri... |
package architecture.community.security.spring.userdetails;
import java.util.List;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.AuthorityUtils;
import org.springframework.security.core.userdetails.User;
import com.fasterxml.jackson.annotation.JsonIgnor... |
package aaron.ren.pragram.bytedancer.leetcode.tree;
/**
* 给定一个二叉搜索树, 找到该树中两个指定节点的最近公共祖先。
* 百度百科中最近公共祖先的定义为:“对于有根树 T 的两个结点 p、q,最近公共祖先表示为一个结点 x,满足 x 是 p、q 的祖先且 x 的深度尽可能大(一个节点也可以是它自己的祖先)。”
* 例如,给定如下二叉搜索树: root = [6,2,8,0,4,7,9,null,null,3,5]
*/
public class LowestCommonAncestor {
private TreeNode lca = null;
... |
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.java.rule.design;
import net.sourceforge.pmd.lang.ast.Node;
import net.sourceforge.pmd.lang.java.ast.ASTBlock;
import net.sourceforge.pmd.lang.java.ast.ASTBooleanLiteral;
import net.sourceforge.pmd... |
package io.fimataf.ancestry.tests;
import io.fimataf.ancestry.LocalMongodbTest;
import io.fimataf.ancestry.entities.base.single.*;
import io.fimataf.ancestry.utils.AncestryUtils;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.springframework.data.mongodb.core.query.Criteria;
imp... |
/*
* Copyright (c) 2008-2017, 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 ... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2013-2014 sagyf Yang. The Four Group.
*/
package goja.el.obj;
import goja.el.ElCache;
import goja.lang.util.Context;
/**
* 对象
* @author juqkai(juqkai@gmail.com)
*/
public class AbstractObj implements Elobj{
private String va... |
package io.github.lukegrahamlandry.mountables.client.models;
import com.google.common.collect.ImmutableList;
import io.github.lukegrahamlandry.mountables.mounts.MountEntity;
import net.minecraft.client.renderer.entity.model.SegmentedModel;
import net.minecraft.client.renderer.model.ModelRenderer;
import net.minecraft.... |
package luohuayu.EndMinecraftPlus;
import java.io.BufferedReader;
import java.io.File;
import java.io.InputStreamReader;
import java.lang.reflect.Method;
import java.math.BigInteger;
import java.net.URL;
import java.net.URLClassLoader;
import java.net.URLConnection;
import java.security.MessageDigest;
import java.secu... |
/*
Copyright 2015 Thibault Debatty.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, s... |
/*
* Copyright 2002-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* 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 cn.lanaya.common.util;
/**
* @author Taykee
*
*/
public final class RegexUtils {
/**
* 匹配公司邮箱的正则表达式
*/
public static final String MAIL_REGEX =
"[1-9a-zA-Z]\\w{2,20}@[0-9a-zA-Z][0-9a-zA-Z-]+(\\.[0-9a-zA-Z][0-9a-zA-Z-]+)+";
/**
* 按正则表达式验证电话号码
*/
public static final String PHONE_REGEX = "1[3... |
/**
* Copyright 2005-2016 Red Hat, Inc.
*
* Red Hat licenses this file to you 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 r... |
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package mods.clayium.util.crafting;
import net.minecraftforge.oredict.OreDictionary;
public class OreDictionaryStack {
public int id;
public OreDictionaryStack(int id, int stackSize) {
this.id = id;
this.stackSize = stackSize;
}
public int stackSize;
public OreDictionaryStack(St... |
/*
* This Java source file was generated by the Gradle 'init' task.
*/
package GradyWeb;
public class Library {
public boolean someLibraryMethod() {
return true;
}
} |
package prometheus.world.blocks.turrets;
import arc.Core;
import arc.math.Mathf;
import arc.scene.ui.layout.Table;
import arc.struct.ObjectMap;
import arc.struct.OrderedMap;
import arc.struct.Seq;
import mindustry.type.Item;
import mindustry.type.ItemStack;
import mindustry.ui.*;
import mindustry.world.Block;
import m... |
package com.javier.projectmanagement.controllers;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
i... |
package com.android.tofi.mohammad.popularmovies.sync;
import android.accounts.AbstractAccountAuthenticator;
import android.accounts.Account;
import android.accounts.AccountAuthenticatorResponse;
import android.accounts.NetworkErrorException;
import android.content.Context;
import android.os.Bundle;
/**
* Created by ... |
package com.adintellig.ella.util;
import java.util.HashMap;
public class ConfigFactory {
public static final String ELLA_CONFIG_PATH = "/ella.properties";
private static ConfigFactory instance = new ConfigFactory();
private HashMap<String, ConfigProperties> configMap = new HashMap<String, ConfigProperties>();
... |
package com.engine.client;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* 〈一句话功能简述〉<br>
* 〈〉
*
* @author 丁乾文
* @create 2020/12/6
* @since 1.0.0
*/
@Data
@ConfigurationProperties(
prefix = "rule.engine"
)
public class RuleEngineProperties {
/*... |
package br.com.acme.model.repository;
import org.springframework.stereotype.Component;
import br.com.acme.comum.model.repository.RepositoryAbstract;
import br.com.acme.model.entity.Emprestimo;
@Component
public class EmprestimoRespository extends RepositoryAbstract<Emprestimo, Integer> {
} |
/*
* Copyright (c) 2021. Enzo Reyes 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 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 ... |
/**
Copyright (C) 2017 T Mobile Inc - All Rights Reserve
Purpose:
Author :kkumar28
Modified Date: Jun 19, 2019
**/
/*******************************************************************************
* Copyright 2018 T Mobile, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License... |
/*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... |
/**
* 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... |
/*
* 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 ... |
// instantiated with jti.pl from VariativeTrivial
/****************************************************************************
Copyright 2001-2018 Sphenon 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
... |
package com.shopify.sample.domain.usecases;
import android.os.Handler;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.apollographql.apollo.ApolloCall;
import com.apollographql.apollo.ApolloClient;
import com.apollographql.apollo.ApolloQueryCall;
import com.apollographql.apollo.api... |
/*
* This is a Group that stores Rectangles and generates transitions to animate
* those rectangles in a way resembling an explosion.
*/
package me.zx96.piupiu.effects;
import java.util.ArrayList;
import javafx.animation.FadeTransition;
import javafx.animation.Transition;
import javafx.animation.TranslateTransitio... |
/*
* 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.ninetailsoftware.ha.tests;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.concurrent.TimeUnit;
import org.junit.Assert;
import org.junit.Test;
import org.kie.api.runtime.KieSession;
import org.kie.api.runtime.rule.FactHandle;
import com.ninetailsof... |
package com.sirma.javacourse.inputoutput.transferobject;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.List;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import com.sirma.javac... |
/*****************************************************************
JADE - Java Agent DEvelopment Framework is a framework to develop
multi-agent systems in compliance with the FIPA specifications.
Copyright (C) 2000 CSELT S.p.A.
GNU Lesser General Public License
This library is free software; you can redistr... |
package com.dewaara.moviehub;
public class Slide {
private int Image ;
private String Title;
// Add more field depand on whay you wa&nt ...
public Slide(int image, String title) {
Image = image;
Title = title;
}
public int getImage() {
return Image;
}
publi... |
package org.infinispan.configuration.parsing;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Namespace. An annotation which allows specifying the namespace recognized by an implementation of
* a {@link ConfigurationParser}. If you need to specify multiple namespaces, use t... |
package com.github.ltsopensource.remoting.mina;
import com.github.ltsopensource.remoting.Channel;
import com.github.ltsopensource.remoting.ChannelFuture;
import org.apache.mina.core.future.ConnectFuture;
/**
* @author Robert HG (254963746@qq.com) on 11/4/15.
*/
public class MinaChannelFuture implements ChannelFutur... |
package ruter.visual;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
public class ImageIOUtility {
/**
* Attributes
*/
private BufferedImage image;
private Graphics graphics;
public ImageIOUtility(int width, int ... |
package com.xiaoxin.guid;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addit... |
package seedu.address.logic.commands;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static seedu.address.logic.commands.CommandTestUtil.DESC_CS2030;
import static seedu.address.logic.commands.CommandTestUtil.DESC_CS2107;
import static seed... |
package com.nchu.xiaaman.student_education.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
@Entity
@Table(name = "sys_exercise")
public class SysExercise {
@Id
... |
package jp.co.yahoo.adssearchapi.v4.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
impo... |
package com.atguigu.gulimall.coupon;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
@SpringBootApplication
@MapperScan("com... |
/**
* 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 org.zelo.ast.type;
public class RealType extends Type {
} |
/**
* 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... |
package YouDrive_Team11.Servlets.AdminCtrl;
import java.io.IOException;
import java.util.LinkedList;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.ser... |
package com.ru.tgra.utilities;
public class ModelMatrix extends Matrix {
public static ModelMatrix main;
private float[] MMtmp;
public ModelMatrix()
{
super();
MMtmp = new float[16];
}
public Vector2D getA()
{
return new Vector2D(matrix.get(0), matrix.get(1));
... |
package Registration;
import com.google.gson.Gson;
import org.bouncycastle.operator.OperatorCreationException;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URI;
import java.net.URL;
import j... |
/*
* 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... |
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 ... |
/**
* Copyright (c) 2014 Martin Geisse
*
* This file is distributed under the terms of the MIT license.
*/
package name.martingeisse.stackd.common.geometry;
/**
* Euler angles (actually, nautical angles), expressed as a horizontal angle (yaw),
* vertical angle (pitch) and roll angle. All angles are expressed i... |
/* Copyright 2021 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... |
package cn.rongcloud.im.server.request;
public class SetGroupDisplayNameRequest {
private String groupId;
private String displayName;
public SetGroupDisplayNameRequest(String groupId, String displayName) {
this.groupId = groupId;
this.displayName = displayName;
}
public String g... |
package org.robovm.bindings.gpgs;
import org.robovm.apple.foundation.NSNumber;
import org.robovm.apple.foundation.NSObject;
import org.robovm.objc.annotation.NativeClass;
import org.robovm.objc.annotation.Property;
import org.robovm.rt.bro.annotation.Library;
@Library(Library.INTERNAL)
@NativeClass()
public class GPG... |
package com.nbaFtAnalysis.backend;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map.Entry;
import java.util.Scanner;
import java.util.TreeMap;
import org.apache.commons.text.similarity.LevenshteinDistance... |
package com.game_of_life.gui.guiEngine.menu;
import com.game_of_life.gui.guiEngine.menu.boardMenu.BoardMenu;
import com.game_of_life.gui.guiEngine.menu.fileMenu.FileMenu;
import com.game_of_life.gui.guiEngine.menu.gameMenu.GameMenu;
import com.game_of_life.networking.NetworkingEngine;
import javax.swing.*;
/**
* Cr... |
package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: koubei.marketing.campaign.member.auth.apply response.
*
* @author auto create
* @since 1.0, 2019-03-06 16:05:01
*/
public class KoubeiMarketingCampaignMemberAuthApplyResponse... |
package com.shejiaomao.weibo.service.listener;
import android.view.View;
import android.webkit.WebView;
public class ImageWebViewDoubleClickListener extends OnDoubleClickListener {
private boolean isZoomIn = true;
@Override
public void onDoubleClick(View v) {
if (!(v instanceof WebView)) {
return;
}... |
/*
* 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 org.littleshoot.proxy;
import io.netty.handler.codec.http.HttpRequest;
import java.util.Queue;
/**
* <p>
* Interface for classes that manage chained proxies.
* </p>
*/
public interface ChainedProxyManager {
/**
* <p>
* Based on the given httpRequest, add any {@link ChainedProxy}s to the li... |
/**
* All business actions should be done outside servlets. Business layer can be implemented using CDI beans, EjB beans
* or simple beans created manually without container.
*/
package pl.edu.pg.eti.kask.boatcharter.boat.service; |
package org.jxls.functions;
import java.lang.reflect.InvocationTargetException;
import java.util.Collection;
import java.util.Map;
import org.apache.commons.beanutils.PropertyUtils;
import org.jxls.common.Context;
import org.jxls.expression.JexlExpressionEvaluator;
/**
* <h1>Group sum</h1>
* <p>The sum function fo... |
/*
* Copyright (c) 2011-2020, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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... |
import javafx.scene.*;
import javafx.stage.*;
import javafx.application.*;
import javafx.scene.control.*;
import javafx.scene.layout.*;
import javafx.scene.text.*;
import javafx.scene.image.*;
import javafx.geometry.*;
public class HBoxExample extends Application {
public static void main(String[] args) { launch(args)... |
/* Copyright (c) 2017 FIRST. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided that
* the following conditions are met:
*
* Redistributions of source code must retain the above cop... |
/**
* Copyright 2020 LinkedIn Corp. 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 applica... |
package quentin.exceptions;
import quentin.core.Position;
public class OutsideOfBoardException extends QuentinException {
public OutsideOfBoardException(Position position){
super(position + " is outside of the board.");
}
} |
/*
* Copyright 2012-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.lanking.uxb.service.imperialExamination.api;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import com.lanking.cloud.domain.common.resource.question.Question;
/**
* 题目相关接口
*
* @since 2.1
* @author zemin.song
* @version 2016年4月11日
*/
public interface TaskActivityQuestionS... |
package com.h5190022.mehmet_serif_ugur_final.activity;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;
import com.h5190022.mehmet_serif_ugur_final.R;
import com.h5190022.mehmet_serif_ugur_final.model.PlaystationModel;
import ... |
package InnerClass;
public class Outer {
private int num=10;
public class Inner{
public void show(){
System.out.println(num);
}
}
public void method(){
//show();
Inner i=new Inner();
i.show();
}
} |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.core.security.authz.store;
import org.elastic... |
package com.xh.dao;
import java.util.List;
import java.util.Map;
/**
* @author xiaohe
*/
public interface ISiteInfoDao {
/**
* 获取要下载的数据
*
* @return 对应数据列表
*/
List<Map<String, Object>> getDataOfExportExcel();
/**
* 添加解析出来的Excel 文件数据
*
* @param list 数据列表
*
* ... |
package com.mahara.fxgenerator.model;
public class ConstraintColumn {
private Integer ordinalPosition;
private String columnName;
public ConstraintColumn() {
}
public Integer getOrdinalPosition() {
return ordinalPosition;
}
public void setOrdinalPosition(Integer ordinalPosition) {
this.ordinalPosition = ... |
package com.yyxnb.what.core;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.Resources;
import android.os.Build;
import android.view.Display;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.view.WindowManager... |
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The contents of this file are subject to the terms of either the Universal Permissive License
* v 1.0 as shown at http://oss.oracle.com/licenses/upl
*
* or the follo... |
package physics;
/**
* Contains most of the collision detection methods
*/
@Deprecated // TODO FIXME ????
public final class Collision {
/**
* Check collision between 2 AABB
* @param one,two 2 boxes
* @return if there is a collision between both boxes
*/
public static boolean boxCollide... |
/**
*
*/
package od.providers.user;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map;
import java.util.Set;
import javax.annotation.PostConstruct;
import od.framework.model.Tenant;
import od.providers.ProviderData;
import od.providers.ProviderException;
import od.providers.ProviderServi... |
/*
* Copyright (c) 2020 Nike, 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 eu.tankernn.accounts.frame.test;
import org.junit.Test;
import eu.tankernn.accounts.Account;
import eu.tankernn.accounts.AccountManager;
import eu.tankernn.accounts.frame.MainFrame;
public class MainFrameTest {
@Test
public void frameShouldInit() {
AccountManager.init(() -> {
}, false);
MainFrame f =... |
/**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless required by a... |
/**
* This class is generated by jOOQ
*/
package org.jooq.test.mariadb.generatedclasses.tables.records;
/**
* This class is generated by jOOQ.
*/
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class T_725LobTestRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mariadb.generated... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.