text stringlengths 7 995k |
|---|
package com.github.zengfr.conuniframework.util;
import java.util.*;
import java.util.Map.Entry;
import com.google.common.collect.Table;
import com.google.common.collect.Table.Cell;
/**
* @author zengfr
* @author https://github.com/zengfr/conuniframework-util
* @author https://gitee.com/zengfr/conuniframework-util
* @au... |
package com.mgen256.al.blocks;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import javax.annotation.Nullable;
import com.mgen256.al.*;
import net.minecraft.block.*;
import net.minecraft.block.material.*;
import net.minecraft.client... |
package org.zstack.core.ansible;
import org.apache.commons.io.FileUtils;
import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.zstack.core.CoreGlobalProperty;
import org.z... |
package com.taniltekdemir.springboot.entitiy;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import javax.persistence.Column;
@Document(collection = "user")
public class User {
@Id
private String id;
@Column(name = "name", length = 50)
... |
/*
* Copyright (c) 2003-2005 The BISON Project
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* bu... |
package it.cavallium.warppi.teavm;
import java.io.IOException;
import java.net.URL;
import it.cavallium.warppi.Platform.URLClassLoader;
public class TeaVMURLClassLoader implements URLClassLoader {
public TeaVMURLClassLoader(final URL[] urls) {
}
@Override
public Class<?> loadClass(final String name) throws Cl... |
// 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.psi.impl.source.resolve.graphInference;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.util.Comparing;
import com.intellij.openap... |
package pl.piomin.services.order.model;
import java.util.List;
public class Order {
private Long id;
private OrderStatus status;
private int price;
private Long customerId;
private Long accountId;
private List<Long> productIds;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = ... |
package com.jetbrains.edu.python.coursecreator.run;
import com.intellij.execution.Location;
import com.intellij.execution.actions.ConfigurationContext;
import com.intellij.execution.actions.RunConfigurationProducer;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Ref;
import com.intellij.... |
package com.yx.xss.filter;
import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.util.StrUtil;
import com.alibaba.fastjson.JSON;
import com.yx.xss.wrapper.XssRequestWrapper;
import com.yx.xss.wrapper.XssRequestWrapper;
import lombok.extern.slf4j.Slf4j;
import javax.servlet.*;
import javax.servlet.htt... |
/*
* 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 2018-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright (C) 2016 AriaLyy(https://github.com/AriaLyy/Aria)
*
* 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 requir... |
package com.ltg.app1.service.dto;
import com.ltg.app1.config.Constants;
import com.ltg.app1.domain.Authority;
import com.ltg.app1.domain.User;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.*;
import java.time.Instant;
impor... |
/**
* 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 com.packt.rrafols.example.model;
import io.realm.RealmObject;
public class Fields extends RealmObject {
private String name;
private String price;
private String symbol;
private String ts;
private String type;
private String utctime;
private String volume;
public String getNam... |
/* 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 reader;
public class Employee {
private String name;
private String gender;
private int age;
private String role;
private int id;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return nam... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2020-2030 The XdagJ Developers
*
* 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 righ... |
package carbon.drawable;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.drawable.Drawable;
/**
* Created by Marcin on 2015-03-23.
*/
public class EmptyDrawable extends Drawable {
@Override
public void draw(Canvas canvas) {
}
@Override
public void s... |
package top.spencercjh.crabscore.refactory.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger... |
package com.yhy.easyrouter.activity;
import com.yhy.easyrouter.App;
import com.yhy.easyrouter.R;
import com.yhy.easyrouter.base.BaseActivity;
import com.yhy.easyrouter.entity.User;
import com.yhy.erouter.annotation.Router;
/**
* author : 颜洪毅
* e-mail : yhyzgn@gmail.com
* time : 2017-10-18 10:21
* version: 1.0.0... |
package com.mmoyo.flixster;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityOptionsCompat;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview... |
package r.b1.colecoes.controleacademico;
import java.util.HashMap;
public class ControleAcademico {
private HashMap<String, Aluno> alunos;
public ControleAcademico() {
this.alunos = new HashMap<>();
}
public void cadastreAluno(String matr, String nome) {
this.alunos.put(matr, new Aluno(nome));
}
publi... |
import java.util.Scanner;
public class Contiguous_Subarray {
public static void main(String Args[]) {
Scanner kb = new Scanner(System.in);
int N = kb.nextInt();
int k = kb.nextInt();
int[][] a = new int[N - k + 1][k];
int A[] = new int[N];
for (int j = 0; j < N; j++)... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package blackMidnight.controller_forTests;
import blackMidnight.DAO_forTests.StoreDAO_Test;
import blackMidnight.model_forTests.Store_Test;
/**
*
* @author Ilias
*/
public class DeleteStoreController_forTests {
... |
package uk.gov.hmcts.reform.bulkscan.orchestrator.services.servicebus.domains.envelopes.handler;
public enum MessageProcessingResultType {
SUCCESS,
UNRECOVERABLE_FAILURE,
POTENTIALLY_RECOVERABLE_FAILURE
} |
package zrock.application.engine.widget;
import zrock.application.engine.R;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.FloatRange;
import android.support.annotation.IntRange;
import android.support.annotation.LayoutRes;
import android.support.v7.app.ActionBarDrawerToggle;... |
package jr.dungeon.entities.actions;
import jr.dungeon.Level;
import jr.dungeon.entities.Entity;
import jr.dungeon.entities.EntityLiving;
import jr.dungeon.entities.containers.EntityItem;
import jr.dungeon.entities.player.Player;
import jr.dungeon.io.Messenger;
import jr.dungeon.items.ItemStack;
import jr.dungeon.tile... |
/*
* Copyright(C) 2012
*
* 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, s... |
/*
* Copyright © 2015-2019 Cask Data, 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 agr... |
package utils;
import com.djun.tyt.model.Vo.UploadVo;
import com.djun.tyt.service.UploadService;
import org.springframework.web.multipart.MultipartFile;
import java.text.SimpleDateFormat;
import java.util.Date;
public class FuncUtils {
/**
* 上传文件
*
* @param file 上传的文件
* @param uploa... |
package activitystreamer;
public class Peng {
} |
package nsit.app.com.nsitapp;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.ListPreference;
import android.preference.PreferenceFragment;
import android.preference.PreferenceManager;
import android.s... |
package cn.cerc.ui.core;
import java.util.List;
import cn.cerc.db.core.ISessionOwner;
import cn.cerc.ui.mvc.IMenuBar;
public interface IRightMenuLoad extends ISessionOwner{
void loadMenu(List<IMenuBar> items);
} |
/*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
package display;
import java.io.File;
import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.List;
import data.propertiesFiles.ResourceBundleManager;
import display.buttonevents.GameAuthoringPress;
import display.buttonevents.GamePlayerPress;
import display.buttons.GUIButton;
import javaf... |
package main;
import basewindow.InputCodes;
import static main.Playground.window;
public class GameElement {
public double[] position;
//██████ ██████ █████ ██ ██
//██ ██ ██ ██ ██ ██ ██ ██
//██ ██ ██████ ███████ ██ █ ██
//██ ██ ██ ██ ██ ██ ██ ███ ██
//██████ ██ ██ ██ █... |
package com.learn.lamda.stream;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
public class ListFunctionalOperations {
public static void main(String[] args) {
List<Movie> movies = Arrays.asList(new Movie("Spotlight", 2015, "Hollywood"),
new Movie("Avengers: Infinity War", 2018, "... |
package pl.itcraft.appstract.admin.notifications;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.spr... |
/*
* Copyright 2018 VetsEZ Inc, Sagebits 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 a... |
package com.eighty.gowhere.boeing.utils;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.commons.lang.StringUtils;
import java.util.Map;
public class Query<T> {
publi... |
/*
* MIT License
*
* Copyright (c) 2022 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... |
package academy.pocu.comp2500.lab8;
public class Program {
public static void main(String[] args) {
// write your code here
}
} |
package com.example.mapdemo;
/**
* Created by Jean on 2016-11-06.
*/
import com.google.android.gms.maps.model.LatLng;
import static java.lang.Math.asin;
import static java.lang.Math.atan2;
import static java.lang.Math.cos;
import static java.lang.Math.pow;
import static java.lang.Math.sin;
import static java.lang.M... |
/*
* Copyright 2012-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 ap... |
/**
* Copyright © 2013-2021 The OpenNTF Domino API Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
/**
* 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 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
/*
* 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 com.example.android.miwok2;
import android.content.Context;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.... |
/*
* 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 champ.cards;
import champ.powers.FocusedBerPower;
import champ.stances.BerserkerStance;
import champ.stances.DefensiveStance;
import champ.stances.UltimateStance;
import champ.vfx.StanceDanceEffect;
import com.megacrit.cardcrawl.actions.animations.VFXAction;
import com.megacrit.cardcrawl.actions.common.DrawCar... |
/**
*
*/
package com.github.ansell.crispywaffle;
import java.nio.charset.CharsetEncoder;
import java.nio.charset.StandardCharsets;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.C... |
/*
* Copyright ConsenSys AG.
*
* 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... |
/*
* MIT License
*
* Copyright (c) 2021 The OSHI Project Contributors: https://github.com/oshi/oshi/graphs/contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restri... |
package io.zrz.graphql.zulu.executable;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles;
import java.lang.reflect.Array;
import java.lang.reflect.Method;
import java.lang.reflect.TypeVariable;
import java.lang.reflect.WildcardType;
import java.util.Optional;
import java.util.concurrent.Comp... |
/*******************************************************************************
* Copyright © 2015 EMBL - European Bioinformatics Institute
* <p/>
* Licensed under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the Lic... |
package org.star_pet_house_commons.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
@Data
@TableName(value = "wallet")
public class Wallet implements Ser... |
package com.imooc.security.core.properties;
public enum LoginType {
REDIRECT,
JSON
} |
/*
* PDF stamper
* The PDF Stamper API enables the possibility to add both static and dynamic stamps on existing PDFs. The stamps can consist of one or more barcode, hyperlink, image, line or text elements. The API also supports digital signatures (blue bar), blockchain registrations and filling out forms The flow... |
package tests;
import catg.CATG;
public class StringLengthTest1 {
public static void main(String[] argv){
String a = CATG.readString("abcd");
if(a.length() > 5 && a.length() <= 8 && a.length() != 6){
System.out.println("a.length() > 5 && a.length() <= 8 && a.length() != 6");
}
System.out.prin... |
/*-
* #%L
* OfficeFloor SAM Maven Plugin
* %%
* Copyright (C) 2005 - 2021 Daniel Sagenschneider
* %%
* 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/li... |
package de.thaso.fum.it;
import de.thaso.fum.utils.PropertiesManager;
import de.thaso.fum.ws.FumWS;
import de.thaso.fum.ws.FumWSPortType;
import de.thaso.fum.ws.xsd.FumLoginUser;
import org.apache.commons.lang3.RandomStringUtils;
import org.apache.commons.lang3.StringUtils;
import org.junit.Before;
import org.junit.Te... |
package ua.com.fielden.platform.web.centre;
import ua.com.fielden.platform.dao.IEntityDao;
/**
* Companion object for entity {@link OverrideCentreConfig}.
*
* @author Developers
*
*/
public interface OverrideCentreConfigCo extends IEntityDao<OverrideCentreConfig> {
} |
// 需要把类放入包里面是,需要使用package指定包:只能写在第一句,编译出来的class文件必须位于正确的目录(目录层次与包一致)
// 访问同一个包下面的类的时候,不需要import,否则需要import其他包下的该类
// java.lang包里面的类不需要引入即可以直接使用(比如 System类,String类),其他的包不行
package com.googol24.java;
/**
* 在类中,用static声明的成员变量称为静态成员变量,为该类的公用变量,在第一次使用时被初始化。对该类的所有对象来说,static成员变量只有一份(static属性也可以用对象去访问或修改)
* 静态变量存放在内存的数据区
... |
package com.thinkgem.jeesite.mother.admin.dao;
import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.mother.admin.entity.Instructions;
import java.util.List;
/**
* Created by wangJH on 2018/1/11.
*/
@MyBatisDao
pub... |
/*
* Copyright 2014 - 2022 Blazebit.
*
* 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 agre... |
/* 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 ru.stqa.pft.addressbook.tests;
import org.testng.annotations.Test;
import ru.stqa.pft.addressbook.model.GroupData;
import ru.stqa.pft.addressbook.model.Groups;
import java.sql.*;
public class DbConnetionTest {
@Test
public void testDbConnection() {
Connection conn = null;
try {
... |
/*
* Copyright (c) 2008-2020, 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 ... |
/*
* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.util.prefs;
import java.util.*;
import java.io.*;
import java.security.AccessController;
i... |
import javax.swing.JOptionPane;
public class opmatematicas {
public static void main (String [] args) {
try{
float n1 = Float.parseFloat(JOptionPane.showInputDialog("digite um número :"));
float n2 = Float.parseFloat(JOptionPane.showInputDialog("digite um número :"));
JOptionPane.showMessageDialog(null,"Caro usuari... |
package sh.isaac.integration.tests.suite3;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.file.Files;
import java.nio.file.Pat... |
/*******************************************************************************
* Copyright 2007-2014 FZI, http://www.fzi.de
* Forschungszentrum Informatik - Information Process Engineering (IPE)
*
* See the NOTICE file distributed with this work for additional
* ... |
/*
* 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 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package org.kie.remote.services.ws.sei.process;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)... |
package org.rudirect.android.interfaces;
public interface NetworkCallFinishListener {
void onBusStopsUpdated();
} |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... |
package com.example.springbootmybatis;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class SpringbootMybatisApplicationTests {
@Test
void contextLoads() {
}
} |
/*
Copyright (C) 2016 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... |
package com.vacomall.common;
import javax.servlet.http.HttpServletRequest;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
public class HttpHelper {
/**
* 获取 HttpServletRequest
*/
public static HttpServletRequest get... |
package io.github.meiskalt7.jsonlogic.ast;
public class JsonLogicOperation implements JsonLogicNode {
private final String operator;
private final JsonLogicArray arguments;
public JsonLogicOperation(String operator, JsonLogicArray arguments) {
this.operator = operator;
this.arguments = ar... |
/**
* Copyright (c) 2008, SnakeYAML
*
* 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... |
// 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 model.battlefield.map.cliff.faces.natural;
import geometry.geom2d.Point2D;
import geometry.geom3d.Point3D;
import geometry.geom3d.Triangle3D;
import model.battlefield.map.Tile;
public class Dug1Mesh extends NaturalFaceMesh {
public Dug1Mesh(Point3D[][] grid){
Point2D uv0 = new Point2D(grid[0]... |
// Tags: JDK1.4
/*
Copyright (C) 2004 Michael Koch
This file is part of Mauve.
Mauve is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
Mauve is distribute... |
/**
* 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 isle.survival.world;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.MathUtils;
import isle.survival.shaders.Shaders;
import util.Point;
import world.GameObject.AnimationState;
import world.World;
public class NetworkObject {
public static final float MOVEMENT_TIME = 0.3f;
pu... |
package aula11;
public class Visitante extends Pessoa {
} |
package de.tblsoft.solr.pipeline.filter;
import de.tblsoft.solr.pipeline.test.AbstractFilterTest;
import org.junit.Test;
public class HtmlTextExtractorFilterTest extends AbstractFilterTest {
@Override
public void configure() {
addProperty("fields", "text");
setClazz(HtmlTextExtractorFilter.c... |
package com.babylonhealth.lit.hl7_java.builders;
import java.time.LocalDate;
import java.time.LocalTime;
import java.time.ZonedDateTime;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;
import java.util... |
package com.example.charles.twintracker;
/**
* Created by clesoil on 09/12/2017.
*/
import android.annotation.SuppressLint;
import android.content.ContentUris;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.os.Build;
import android.os.Environment;
import andro... |
package org.apereo.cas.config;
import org.apereo.cas.support.saml.OpenSamlConfigBean;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.apache.wss4j.common.crypto.WSProviderConfig;
import org.apache.wss4j.common.saml.OpenSAMLUtil;
import org.springframework.beans.factory.Obje... |
/*
* Copyright 2020 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.github.mikephil.charting.highlight;
import com.github.mikephil.charting.data.BarData;
import com.github.mikephil.charting.data.BarLineScatterCandleBubbleData;
import com.github.mikephil.charting.data.ChartData;
import com.github.mikephil.charting.data.DataSet;
import com.github.mikephil.charting.interfaces... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package jp.co.tis.s2n.javaConverter.convert.program;
import jp.co.tis.s2n.converterCommon.struts.analyzer.ClassPathConvertUtil;
import jp.co.tis.s2n.converterCommon.util.ClassNameResolver;
import jp.co.tis.s2n.javaConverter.node.Node;
import jp.co.tis.s2n.javaConverter.token.Token;
/**
* 以下のような変換を行う。<br>
* 変換前:jdbc... |
package com.github.drunlin.guokr.presenter;
import com.github.drunlin.guokr.bean.SearchEntry;
/**
* @author drunlin@outlook.com
*/
public interface SearchablePresenter {
/**
* 搜索关键词。
* @param keyword
*/
void search(String keyword);
/**
* 刷新本次搜索的结果。
*/
void refresh();
/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.