text stringlengths 7 995k |
|---|
package com.xero.api;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import org.threeten.bp.*;
import java.util.Date;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonPr... |
/*
* Copyright 2021 TTT.
*
* 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 wri... |
package com.houyi.common.model.client;
import java.util.Set;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.houyi.common.model.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @Description 平台开发接口模板
* @Author houyi
* ... |
package com.vaadin.tests.components.table;
import java.util.HashSet;
import java.util.Set;
import com.vaadin.annotations.AutoGenerated;
import com.vaadin.shared.ui.MarginInfo;
import com.vaadin.tests.components.TestBase;
import com.vaadin.ui.Button;
import com.vaadin.ui.Label;
import com.vaadin.ui.VerticalLayout;
imp... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2017 Trustly Group AB
*
* 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 ... |
/*
* 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 nl.unimaas.ids;
import java.io.IOException;
import java.io.StringReader;
import org.eclipse.rdf4j.repository.RepositoryException;
import org.eclipse.rdf4j.repository.sparql.SPARQLRepository;
import org.eclipse.rdf4j.rio.RDFFormat;
import org.eclipse.rdf4j.rio.RDFParseException;
import org.eclipse.rdf4j.rio.Ri... |
package org.pitest.mutationtest.build;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import org.pitest.bytecode.analysis.ClassTree;
import org.pitest.mutationtest.engine.Mutater;
import org.pitest.mutationtest.engine.Mutation... |
/*
* Copyright 2002-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 ap... |
package eu.xenit.de.testing;
public class Constants {
private Constants() {
// private ctor to hide implicit public one
}
public static final String TEST_WEBSCRIPTS_FAMILY = "Test WebScripts";
public static final String TEST_WEBSCRIPTS_BASE_URI = "/dynamic-extensions/testing";
} |
/**
* 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.fc.test.model.auto;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class TSysEmailExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TSysEmailExample() {
oredCriteria = new ArrayLi... |
/*
* Copyright 2016 Igor Maznitsa.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
package com.sucy.skill.api.enums;
/**
* Enumerable operation to be applied.
*/
public enum Operation {
/**
* Adds (or subtracts) the specified amount to the base value.
*/
ADD_NUMBER,
/**
* Multiply final amount by this value.
*/
MULTIPLY_PERCENTAGE;
} |
package raytrace.light;
import process.logging.Logger;
import math.Vector3;
import raytrace.data.IlluminationData;
import raytrace.scene.Scene;
public class SpotLight extends Light {
/*
* A simple Spot Light class
*/
@Override
public IlluminationData illuminate(Scene scene, Vector3 point)
{
//TODO: Impleme... |
/**
* Copyright © 2016-2018 The Thingsboard Authors
* Modifications © 2017-2018 Hashmap, 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/LIC... |
/**
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.model.fixedincome;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import com.google.common.collect.Sets;
import co... |
/*
* 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.github.houbb.opencc4j.model; |
public class PageFilter implements Filter {
public PageFilter() {}
public void destroy() {}
@Override
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
HttpServletRequest httpRequest = (HttpServletRequest) request;... |
package leetcode.tree;
import data.TreeNode;
/**
* Author: SJ
* Date: 2018/12/6
*/
public class FlattenBinaryTree2LinkedList {
public void flatten(TreeNode root) {
if(root==null) {
return;
}
postOrder(root, null);
System.out.println(root.val);
System.out.prin... |
/*
* Copyright 2020 Criteo
*
* 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 ... |
/*
* Property of Mitchell Jonker
*/
import java.util.Scanner;
public class StringHelperTester {
public static void main(String[] args) {
System.out.println("Welcome to String Helper Tester!");
System.out.println("\nTesting the Has All Unique Characters method with \"Water\"");
System.out.println(StringHelp... |
package com.garrapeta.jumplings.ui.about;
import android.app.Activity;
import android.os.Bundle;
import com.garrapeta.jumplings.R;
import com.garrapeta.jumplings.util.FlurryHelper;
/**
* About screen
*
* @author GaRRaPeTa
*/
public class AboutActivity extends Activity {
@Override
public void onCreate(B... |
/**
* Copyright (c) 2016-2019 人人开源 All rights reserved.
*
* https://www.renren.io
*
* 版权所有,侵权必究!
*/
package io.renren.modules.sys.controller;
import io.renren.common.annotation.SysLog;
import io.renren.common.utils.Constant;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;
import io.ren... |
package com.zoctan.api.model;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;
/**
* @author Zoctan
* @date 2018/5/27
*/
public class Feedback {
/**
* 邮箱
*/
@NotEmpty(message = "邮箱不能为空")
@Email
private String email;
/**
* 内容
*/
@N... |
package com.company._ui.GUI;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.layout.VBox;
import javafx.stage.Modality;
import javafx.stage.Stage;
public class AlertBox {
static boolean answer;
public static bo... |
/************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved.
*
* Use is subject to license terms.
*
* Licensed under the Apache License, Version 2.0 (the "Lic... |
package info.lusito.mapeditor.persistence.tileset;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import com.thoughtworks.xstream.annotations.XStreamOmitField;
import com.thoughtwork... |
package org.tuxdevelop.spring.batch.lightmin.server.scheduler.service;
import lombok.extern.slf4j.Slf4j;
import org.assertj.core.api.BDDAssertions;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringB... |
/*
* Created on Oct 25, 2004
*
*/
package de.renew.gui.logging;
import org.apache.log4j.Appender;
/**
* A Appender builder is used to create new initialized instances of
* the different types of appenders, which can be used for logging.
*
* * @author Sven Offermann
*/
public interface AppenderBuilde... |
/*
* This file is part of ViaVersion - https://github.com/ViaVersion/ViaVersion
* Copyright (C) 2016-2022 ViaVersion and 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 w... |
package org.apache.maven.repository.legacy.resolver;
/*
* 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 th... |
package com.hazelcast.transaction.impl;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.instance.MemberImpl;
import com.hazelcast.logging.ILogger;
import com.hazelcast.spi.NodeEngine;
import com.hazelcast.spi.impl.operationservice.InternalOperationService;
import com.hazelcast.test.HazelcastSerialCla... |
package de.tuberlin.amos.ws17.swit.common;
import java.util.Properties;
public class ApiConfig {
private Properties configFile;
private static ApiConfig instance;
private ApiConfig() {
configFile = new java.util.Properties();
try {
configFile.load(this.getClass().getClassLoa... |
package com.iluwatar.resource.acquisition.is.initialization;
/**
*
* Resource Acquisition Is Initialization pattern was developed for exception safe resource
* management by C++ creator Bjarne Stroustrup.
* <p>
* In RAII resource is tied to object lifetime: resource allocation is done during object creation
* w... |
/*
* Copyright (c) 1996, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
/*
* 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 under t... |
package openmaple.data;
import java.awt.Point;
import java.awt.image.BufferedImage;
/**
* An enumeration of types for {@code DataEntries}.
*
* @author Aaron Weiss
* @version 1.0.0
* @since 7/25/13
*/
public enum DataEntryType {
None(null),
Int64(long.class),
Double(double.class),
String(String.class),
Vect... |
package shittymcsuggestions.mixin.entity;
import com.mojang.authlib.GameProfile;
import net.minecraft.entity.ItemEntity;
import net.minecraft.entity.damage.DamageSource;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.server.network.ServerPlayerEntity;
import net.minecraft.sound.SoundCategory;
im... |
package ru.intertrust.cm.test.schedule;
import javax.ejb.EJBContext;
import javax.ejb.SessionContext;
import ru.intertrust.cm.core.business.api.schedule.ScheduleTask;
import ru.intertrust.cm.core.business.api.schedule.ScheduleTaskHandle;
import ru.intertrust.cm.core.business.api.schedule.ScheduleTaskParameters;
impor... |
package mypack;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class Student {
String name;
int age;
int roll;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
thi... |
package com.linln.admin.process;
import org.flowable.bpmn.model.BpmnModel;
import org.flowable.engine.*;
import org.flowable.engine.runtime.Execution;
import org.flowable.engine.runtime.ProcessInstance;
import org.flowable.image.ProcessDiagramGenerator;
import org.flowable.task.api.Task;
import org.springframework.b... |
package no.agens.depth.tween;
import android.os.SystemClock;
/**
* Created by danielzeller on 26.03.14.
*/
public class FrameRateCounter {
private static long mLastTime;
public static float timeStep() {
final long time = SystemClock.uptimeMillis();
final long timeDelta = time - mLastTime;
... |
// Template Source: BaseEntityCollectionRequestBuilder.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------... |
package org.drools.event;
/*
* Copyright 2005 JBoss 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... |
package com.iwktd.rema.Models;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import java.util.ArrayList;
import java.util.HashMap;
public cl... |
/*
* Copyright (c) 2007, 2019, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for a... |
/**
* NOTE: This class is auto generated by the swagger code generator program (1.0.12-1).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/
package com.bursatec.referencedata.retransmision.server.api;
import java.util.List;
import com.bursatec.referencedata.retransmision.serve... |
package app.odapplications.bitstashwallet.entities;
import java.lang.System;
@kotlin.Metadata(mv = {1, 1, 15}, bv = {1, 0, 3}, k = 1, d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010$\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u000... |
/*
* Copyright 2020 FormDev Software GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/*
* Copyright (C) 2011 Thomas Akehurst
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
/*
* 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.ArrayList;
import java.util.HashMap;
import java.util.Set;
public class UTXOPool {
/**
* The current collection of UTXOs, with each one mapped to its corresponding transaction output
*/
private HashMap<UTXO, Transaction.Output> H;
/** Creates a new empty UTXOPool */
public ... |
package com.antheminc.oss.nimbus.samples.web.web.security.config;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import org.apache.commons.collections.CollectionUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.securi... |
/*
* 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 com.udacity.gradle;
public class Person {
private final String name;
public Person(String name) {
this.name = name;
}
public String getName() {
return name;
}
public static void main(String[] args){
System.out.println("Hello from Java");
}
} |
package com.coffeearmy.photoetry;
import android.os.Handler;
import android.os.Looper;
import com.coffeearmy.domain.executor.PostExecutionThread;
import javax.inject.Singleton;
/**
* MainThread (UI Thread) implementation based on a Handler instantiated with the main
* application Looper.
*/
@Singleton
public clas... |
/*
* Copyright 2012 Harlan Noonkester
*
* 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 t... |
package com.team9889.ftc2020.auto.modes;
import com.acmerobotics.roadrunner.geometry.Pose2d;
import com.acmerobotics.roadrunner.geometry.Vector2d;
import com.acmerobotics.roadrunner.trajectory.Trajectory;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.team9889.ftc2020.auto.AutoModeBase;
import c... |
package org.apache.helix.manager.zk;
/*
* 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... |
package org.dotwebstack.framework.core.config.validators;
import static org.springframework.util.StringUtils.uncapitalize;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.dotwebstack.framework.core.config.AbstractFieldConfiguration;
import org.dotwebstack.framework.core.con... |
package i5.las2peer.services.socialBotManagerService.chat;
import net.minidev.json.JSONObject;
/**
* An Event Chat Mediator handles messenger services that send push messages to
* inform about incoming user activities (events).
*
*/
public abstract class EventChatMediator extends ChatMediator {
public EventChat... |
package com.dtflys.test.http;
import com.dtflys.forest.backend.HttpBackend;
import com.dtflys.forest.backend.httpclient.HttpclientBackend;
import com.dtflys.forest.backend.okhttp3.OkHttp3Backend;
import com.dtflys.forest.config.ForestConfiguration;
import com.dtflys.forest.backend.HttpBackend;
import com.dtflys.forest... |
package cho.xwc.chat.client;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Desktop;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Rectangle;
import java.awt.TextArea;
import java.awt.TrayIcon;
import java.awt.TrayIcon.MessageType;
import java.awt.eve... |
/*
* Copyright 2019 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... |
// $Id: PermanentNodeSetVariant.java 96 2005-02-28 21:07:29Z blindsey $
package com.blnz.xsl.expr;
import com.blnz.xsl.om.*;
class PermanentNodeSetVariant extends VariantBase
{
private final CloneableNodeIterator iter;
PermanentNodeSetVariant(NodeIterator iter) throws XSLException
{
if (iter i... |
package com.pkubir.framework.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* 读取代码生成相关配置
*
* @author 技术微信号:wx17725354261
*/
@Component
@ConfigurationProperties(prefix = "gen")
public class GenConfig
{
/** 作者 */
publ... |
public class Red implements Color {
@Override
public void fill() {
System.out.println("> Red fill() method.");
}
} |
/*
* Copyright (c) 2008-2016, 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) 2018 Clivern <http://clivern.com>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
package jr.rendering.events;
import jr.dungeon.events.Event;
public class EntityDebugUpdatedEvent extends Event {
} |
package com.sequenceiq.cloudbreak.cloud.model.component;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class StackRepoDetails implements Serializabl... |
package cn.iocoder.yudao.adminserver.modules.infra.mq.consumer; |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.datafactory.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fa... |
/*
* Copyright (c) 2021 ForgeRock. All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
package org.forgerock.android.auth.callback;
import org.json.JSONException;
import org.json.JSONObject;
import org.junit.Test;
impor... |
package org.hetida4office.mqtt.entity;
import lombok.Value;
import lombok.experimental.NonFinal;
import java.time.Instant;
@Value
@NonFinal
abstract public class H4oEvent {
String channelId;
Instant timestamp;
} |
/*
* Copyright 2006-2021 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
*
* Unles... |
package org.apereo.cas.ticket.accesstoken;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.ticket.ExpirationPolicy;
import org.apereo.cas.ticket.TicketGrantingTicket;
import org.apereo.cas.ticket.code.OAuthCodeImpl;
import lombok.NoArg... |
/* 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... |
/*
* 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 com.abualgait.msayed.egdroidathomechallenge.ArcAnimator;
import android.graphics.PointF;
import androidx.annotation.NonNull;
import java.util.Arrays;
@SuppressWarnings("WeakerAccess")
public class ArcMetric {
public float mRadius;
PointF mStartPoint = new PointF();
PointF mEndPoint = new PointF... |
package kaptainwutax.featureutils.decorator;
import kaptainwutax.biomeutils.Biome;
import kaptainwutax.biomeutils.source.BiomeSource;
import kaptainwutax.featureutils.Feature;
import kaptainwutax.seedutils.mc.ChunkRand;
import kaptainwutax.seedutils.mc.MCVersion;
import java.util.HashMap;
import java.util.Map;
publi... |
package uk.gov.ida.integrationtest.hub.samlengine.apprule;
import helpers.JerseyClientConfigurationBuilder;
import io.dropwizard.client.JerseyClientBuilder;
import io.dropwizard.client.JerseyClientConfiguration;
import io.dropwizard.util.Duration;
import org.junit.BeforeClass;
import org.junit.ClassRule;
import org.ju... |
package cc.michael.febs.server.system.service.impl;
import cc.michael.febs.common.core.entity.QueryRequest;
import cc.michael.febs.common.core.entity.constant.FebsConstant;
import cc.michael.febs.common.core.entity.constant.StringConstant;
import cc.michael.febs.common.core.entity.system.Role;
import cc.michael.febs.c... |
package com.modinfodesigns.search;
public class FinderException extends Exception
{
public static final long serialVersionUID = 1L;
public FinderException( String reason )
{
super( reason );
}
} |
/*
* Copyright 2016-2018 shardingsphere.io.
* <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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
/*
* Copyright 2013-2018 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 six.com.crawler.rpc.protocol;
import java.io.Serializable;
import java.util.Map;
/**
* @author six
* @date 2016年6月2日 下午4:14:39 rpc 请求
*/
public class RpcRequest extends RpcMsg implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1071881684426113946L;
// 呼叫host
private S... |
package dev.morphia.aggregation.experimental.stages;
import com.mongodb.lang.Nullable;
import dev.morphia.aggregation.experimental.expressions.impls.Expression;
import dev.morphia.query.experimental.filters.Filter;
/**
* Performs a recursive search on a collection, with options for restricting the search by recursio... |
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
import java.util.Scanner;
public class Trace9 {
public static void main(String [] args){
Scanner s = new Scanner(System.in);
String secret = "Melts in your mouth not in your hand";
String mask = "x";
System.out.println("Welcome to censor.exe");
String input = s.nextLine();
do{
secret = secret.replac... |
package com.tom.core.block;
import java.util.Random;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.t... |
package com.example.parstagram.fragments;
import android.annotation.SuppressLint;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.core.graphics.drawable.DrawableCompat;
import a... |
package org.entando.plugin.mail.web.rest;
import org.entando.plugin.mail.domain.EmailTemplate;
import org.entando.plugin.mail.repository.EmailTemplateRepository;
import org.entando.plugin.mail.web.rest.errors.BadRequestAlertException;
import org.entando.plugin.mail.web.rest.util.HeaderUtil;
import io.github.jhipster.we... |
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... |
package com.vacker.example.ds.tree;
import java.util.Arrays;
import java.util.SortedSet;
import java.util.TreeSet;
public class TreeSetDemo {
public static void main(String[] args) {
Integer[] nums={2,4,1,6,3,7,9,5};
SortedSet<Integer> tree=new TreeSet<>(Arrays.asList(nums));
// Print first an... |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2014.02.04 um ... |
package com.imooc.config;
import com.imooc.plugin.MyBatisPlugin;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import java.util.Properties;
@Configuration
public class MybatisConfig {
//注册插件
@Bean
public MyBatisPlugin myPlugin() {
... |
/*
* Copyright 2012-2017 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.