text
stringlengths
7
995k
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
package com.zhy.changeskin; import android.content.Context; import android.content.res.ColorStateList; import android.content.res.Resources; import android.graphics.drawable.Drawable; import android.text.TextUtils; import android.util.TypedValue; import com.zhy.changeskin.attr.SkinAttrSupport; import com.zhy.changesk...
package com.example.wuhanbus.presenter; import android.util.Log; import com.example.wuhanbus.activity.MainActivity; import com.example.wuhanbus.bean.BusStopInfo; import com.example.wuhanbus.service.RetrofitService; import com.example.wuhanbus.view.IBaseView; import com.orhanobut.logger.Logger; import rx.Subscriber; ...
package anywheresoftware.b4a.objects; import java.util.HashMap; import android.animation.ObjectAnimator; import android.content.Context; import android.graphics.drawable.Drawable; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import android.view.ViewGroup.LayoutParams; impo...
package com.lzpeng.minimal.system.domain.mapper; import com.lzpeng.minimal.common.core.domain.mapper.BaseMapper; import com.lzpeng.minimal.common.jpa.converter.BaseJpaMapper; import com.lzpeng.minimal.system.domain.dto.UserDTO; import com.lzpeng.minimal.system.domain.entity.User; import org.mapstruct.Mapper; import or...
/* * Copyright 2013 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 ap...
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.offlinepages.downloads; import org.chromium.components.offlinepages.downloads.DownloadState; /** Class representing ...
package cmpe275.dos.entity; import com.fasterxml.jackson.annotation.JsonIgnore; import javax.persistence.*; import java.io.Serializable; import java.util.Date; @Entity @Table(name = "MOVIE_REVIEW") public class MovieReview implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) ...
/* * 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.chinabike.plugins.mip.common; import android.annotation.TargetApi; import android.app.Activity; import android.content.ContentResolver; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory.Options; import android.graphics.Paint; import android.os.Build; impo...
/* * 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 ...
/* * Copyright 2019 MovingBlocks * * 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 net.moonlightflower.wc3libs.port.mac; import net.moonlightflower.wc3libs.port.GameDirFinder; import net.moonlightflower.wc3libs.port.NotFoundException; import javax.annotation.Nonnull; import java.io.File; public class MacGameDirFinder extends GameDirFinder { public static File DIR = new File("/Applicati...
package com.cray.stash; import com.atlassian.stash.event.RepositoryRefsChangedEvent; import com.atlassian.stash.repository.RefChange; import com.atlassian.stash.repository.RefChangeType; import com.atlassian.stash.repository.Repository; import com.atlassian.stash.server.ApplicationPropertiesService; import org.fedorap...
package com.huaweicloud.sdk.kms.v1.model; import com.huaweicloud.sdk.core.SdkResponse; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.huawe...
/** * Copyright (c) 2015-present, Jim Kynde Meyer * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.intellij.lang.jsgraphql.ide.formatter; import com.intellij.lang.jsgraphql.icons.JSGraphQLIcons;...
package edu.washington.escience.myria.mrbenchmarks; import org.joda.time.DateTime; import com.google.common.collect.ImmutableMap; import edu.washington.escience.myria.DbException; import edu.washington.escience.myria.Schema; import edu.washington.escience.myria.Type; import edu.washington.escience.myria.operator.Ope...
package cn.log.util; import javax.servlet.http.HttpServletRequest; public class ClientUtil { /** * 获取客户端真实ip * @param request htto请求 * @return 实际ip */ public static String getClientIp(HttpServletRequest request){ String ip = request.getHeader("x-forwarded-for"); if (ip==null||ip.length()==0||"unknown"....
/* * 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.redescooter.ses.tool.crypt; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.SecretKey; import javax.crypto.spec.SecretKeySpec; /** * @description <br> * @author <a href="mailto:vakinge@gmail.com">vakin</a> * @date 2017年1月14日 */ public class AES { /** * ...
/* * Copyright (c) 2017 Duna Open Source Project * Ministério do Planejamento, Desenvolvimento de Gestão * República Federativa do Brasil * * This file is part of the Duna Project. */ package io.duna.serialization; import javax.inject.Qualifier; import java.lang.annotation.Retention; import java.lang.annotation....
package fr.domurado.escalier; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import androi...
/* * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class ...
package stream; import java.util.Comparator; import java.util.List; import java.util.stream.Collectors; import com.google.common.collect.Lists; /** * Created by yidxue on 2018/6/25 */ public class StreamSortedDemo { public static void main(String[] args) { List<Integer> num = Lists.newArrayList(1, 2, 3,...
public class OffByOne implements CharacterComparator { @Override public boolean equalChars(char x, char y) { return x - y == 1 || y - x == 1; } }
package de.codecentric.habitcentric.track.error.matcher; import static de.codecentric.habitcentric.track.error.matcher.ApiErrorMatcher.hasHabitIdViolationError; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.not; import static org.junit.jupiter.api.Assertions.assertThrows; imp...
package gregtech.common.tileentities.machines.multi; import gregtech.api.enums.ItemList; import gregtech.api.enums.Materials; import gregtech.api.interfaces.metatileentity.IMetaTileEntity; import gregtech.api.interfaces.tileentity.IGregTechTileEntity; public class GT_MetaTileEntity_OreDrillingPlant1 extends GT_MetaTi...
package okio; import java.io.IOException; import java.security.InvalidKeyException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; public final class HashingSource extends ForwardingSource { private final Mac mac;...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.mobilenetwork.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.faste...
package ru.panfio.legacytester; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Annotation for marking testable class and methods. */ @Target(value = { ElementType.METHOD, ElementTy...
package fr.aduval.historicalvar.args; import fr.aduval.historicalvar.abstractions.Validator; import fr.aduval.historicalvar.log.LoggerDecorator; import lombok.extern.slf4j.Slf4j; import java.io.File; import java.nio.file.Path; import java.util.Optional; @Slf4j public class ProgramArgumentsValidator implements Valida...
package io.quarkus.smallrye.reactivemessaging.runtime; import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; import javax.annotation.Priority; import javax.enterprise.context.ApplicationScoped; import javax.enterprise.contex...
// Copyright 2017 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
/** * TranslationCallback.java * * Copyright 2015-2021 Heartland Software Solutions 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/LICENS...
package zju.edu.cn.platform.jsoninfo.generator; import com.alibaba.fastjson.JSONObject; import lombok.Getter; import lombok.Setter; import zju.edu.cn.platform.gui.ConnectLineInfo; import zju.edu.cn.platform.gui.EdgeGUI; import zju.edu.cn.platform.gui.IconLabel; import zju.edu.cn.platform.gui.LineShape; import zju.edu....
package com.heart.servlet.oldman; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.h...
package org.opentosca.toscana.core.plugin.lifecycle; import org.opentosca.toscana.core.transformation.properties.NoSuchPropertyException; import org.opentosca.toscana.core.util.LifecycleAccess; /** The basic interface to implement the TransformationLifecycle */ public interface TransformationLifecycle extends Lifec...
/** * 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...
/** * This Source Code Form is subject to the terms of the Mozilla Public License, * v. 2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under * the terms of the Healthcare Disclaimer located at http://openmrs.org/license....
/* * Copyright 2017 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
package main.utility.apexlegends; public class ALChildStatMetadata { private String key; private String name; private String categoryKey; private String categoryname; private boolean isReversed; public String getKey() { return key; } public String getName() { return na...
/* * 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 module1976.a; import javax.net.ssl.*; import javax.rmi.ssl.*; import java.awt.datatransfer.*; /** * Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut * labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea...
/* * Copyright 2017-2022 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 io.wildernesstp.util; import java.util.ArrayList; import java.util.List; import java.util.UUID; public class TeleportManager { private static final List<UUID> moved = new ArrayList<>(); private static final List<UUID> needToTeleport = new ArrayList<>(); private static final List<UUID> limitHit = ...
package com.planet_ink.coffee_mud.MOBS; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.co...
/** * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com * <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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required...
/** * 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 * distribute...
/* Copyright 2009-2016 David Hadka * * This file is part of the MOEA Framework. * * The MOEA Framework is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at your ...
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. * ===================================================================...
package biweekly.property; import static biweekly.util.TestUtils.assertEqualsAndHash; import static biweekly.util.TestUtils.assertEqualsMethodEssentials; import static biweekly.util.TestUtils.assertNotEqualsBothWays; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotSame; import ...
package test; public class TernaryCondition { // 삼항 조건 연산자 public static void main(String[] args) { // 조건 ? A : B (조건이 참이면 A,아니면 B 이다.) System.out.println(true ? "참" : "아님"); System.out.println(false ? "참" : "아님"); int n = 99; n = n > 100 ? 100 : n; // 100보다 크면 100 출력 아니면 n System.out.println(n); i...
/* Copyright 2013, 2016 Nationale-Nederlanden 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 ...
package org.blender.dna; import java.io.IOException; import org.cakelab.blender.io.block.Block; import org.cakelab.blender.io.block.BlockTable; import org.cakelab.blender.nio.CArrayFacade; import org.cakelab.blender.nio.CFacade; import org.cakelab.blender.nio.CMetaData; import org.cakelab.blender.nio.CPointer; /** ...
package wy.experiment.xposed.bean; /** * Created by chenxinyou on 2019/2/26. */ public interface EventHandler { /** * 当接收到消息时回调此方法 * * @param event 发生的事件 */ void onEvent(LocalEvent event); }
/*! * Copyright 2010 - 2019 Hitachi Vantara. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package controller_msgs.msg.dds; /** * * Topic data type of the struct "PelvisOrientationTrajectoryMessage" defined in "PelvisOrientationTrajectoryMessage_.idl". Use this class to provide the TopicDataType to a Participant. * * This file was automatically generated from PelvisOrientationTrajectoryMessage_.idl by us....
/* * * Copyright 2003 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 requi...
package org.paasta.caas.dashboard.clusters.namespaces; import lombok.Data; import org.paasta.caas.dashboard.common.model.CommonMetaData; /** * ResourceQuota Model 클래스 * * @author indra * @version 1.0 * @since 2018.08.28 */ @Data public class ResourceQuota { private String resultCode; private String resultM...
package net.avicus.atlas.module.groups; import java.util.Collection; import net.avicus.atlas.command.JoinCommands; import net.avicus.atlas.match.registry.RegisterableObject; import net.avicus.atlas.module.locales.LocalizedXmlString; import net.avicus.atlas.util.color.TeamColor; import net.avicus.magma.util.distance.Pl...
/* * 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 com.github.erickluz.domain; public enum StatusComanda { ABERTA(0, "Aberta"), FECHADA(1, "Fechada"); public int codigo; public String descricao; StatusComanda(int codigo, String descricao) { this.codigo = codigo; this.descricao = descricao; } public int getCodigo() { return codigo; } publ...
/* * Copyright 2002-2008 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 ie.gmit.rad; import javax.faces.bean.ManagedBean; @ManagedBean public class Search { private String range; private Float price; // Use Float rather than the float so that it can be null private String colour; private String fuel; // Constructors public Search() { } // Getters and Setters public Str...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
package cn.ktchen.landlords.util; import cn.ktchen.landlords.card.Card; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import static cn.ktchen.landlords.valid.ValidCard.*; public class CompareCard { public enum CardType { DAN, WANG_...
package com.tngtech.configbuilder.util; import com.tngtech.configbuilder.annotation.typetransformer.*; import com.tngtech.configbuilder.configuration.BuilderConfiguration; import com.tngtech.configbuilder.configuration.ErrorMessageSetup; import com.tngtech.configbuilder.exception.PrimitiveParsingException; import org....
/* * Copyright (c) 2015-2022, Patricia Maraver * * 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 ...
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.temptarget; import java.io.File; import java.util.List; import org.apache.commons.lang.StringEscapeUtils; import org.fudgemsg.FudgeContext; import o...
package com.oberasoftware.home.zwave.eventhandlers.events; import com.oberasoftware.base.event.EventSubscribe; import com.oberasoftware.home.zwave.eventhandlers.ActionConverterBuilder; import com.oberasoftware.home.zwave.api.ZWaveConverter; import com.oberasoftware.home.zwave.api.actions.NoMoreInformationAction; impor...
package org.frameworkset.elasticsearch.entity.sql; /** * Copyright 2008 biaoping.yin * <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 * <p> * http://www.apache.org/licenses/LICENSE-...
package ape.alarm.common.email.scanner; import ape.alarm.common.email.util.AlarmServiceAbilityUtil; import ape.alarm.entity.alarm.AlarmSendLog; import ape.master.common.parameter.ParameterEnum; import ape.master.operation.ApeConnectionManager; import io.prometheus.client.Counter; import lombok.Getter; import lombok.e...
package com.aopphp.go.pointcut; import java.io.Serializable; /** * Enumeration of all possible PointFilter kinds */ public enum KindFilter implements Serializable { KIND_METHOD, KIND_PROPERTY, KIND_CLASS, KIND_TRAIT, KIND_FUNCTION, KIND_INIT, KIND_STATIC_INIT, KIND_DYNAMIC }
/* * 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.sanjusingh.mymessage; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.Menu; import android.view.MenuItem; import android.widget.TextView; public class DetailMessageActivity extends ActionBarActivity { @Override protect...
package com.yxst.epic.yixin.data.dto.response; import java.util.List; import com.yxst.epic.yixin.data.dto.model.Member; import com.yxst.epic.yixin.data.dto.model.QunInfo; public class AddQunMemberResponse extends Response { private static final long serialVersionUID = 5632693654978546765L; public List<Member> me...
package info.naiv.lab.java.jmt.template.di; import static info.naiv.lab.java.jmt.Misc.isBlank; import static info.naiv.lab.java.jmt.Misc.isNotBlank; import info.naiv.lab.java.jmt.infrastructure.ServiceProviders; import info.naiv.lab.java.jmt.infrastructure.Tag; import info.naiv.lab.java.jmt.template.Template; import i...
/* * (C) Copyright 2006-2011 Nuxeo SA (http://nuxeo.com/) and others. * * 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 re...
package perococco.aoc.day4.structures; import com.google.common.collect.ImmutableMap; import lombok.Getter; import lombok.NonNull; import lombok.RequiredArgsConstructor; import perococco.aoc.common.AOCException; import perococco.aoc.common.rules.*; import java.util.Arrays; @RequiredArgsConstructor public enum FieldN...
/* * 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.sql.type; import org.elasticsearch.common.col...
/** * Copyright (C) 2011-2015 The XDocReport Team <xdocreport@googlegroups.com> * * All rights reserved. * * 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 restrictio...
package com.quasar.backend.modules.sys.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import java.io.Serializable; /** * 角色与菜单对应关系 * * @author chenshun * @email sunlightcs@gmail.com * @date 2016年9月18日 上午9:28:13 */ @Data @Ta...
package code.challenges; import code.challenges.tree.BinaryTree; import code.challenges.tree.TreeNode; public class FizzBuzzTree{ public BinaryTree fizzBuzzTree(BinaryTree<Object> input){ if (input.getRoot() == null){ return input; }else{ this.recurseTree(input.getRoot());...
package com.skytala.eCommerce.domain.accounting.relations.rateAmount; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import javax.servlet.http.HttpServl...
/* * 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...
package model.block.blocktypes; import model.block.AbstractBlock; /** * Abstract model.block class which allows for the model.player to win by some sort of interaction. * * @author Filip Mazurek */ public abstract class WinBlock extends AbstractBlock { public WinBlock(String name, int row, int col) { ...
package org.dcsa.core.events.model; import lombok.Data; import org.dcsa.core.events.model.enums.DCSAResponsibleAgencyCode; import org.springframework.data.annotation.Id; import org.springframework.data.relational.core.mapping.Column; import org.springframework.data.relational.core.mapping.Table; import java.util.UUID...
package cn.qingsong.car.keyboardlibrary.engine; /** * @author 陈哈哈 yoojiachen@gmail.com */ class VNumberChars { static final String CIVIL_PROVINCES = "京津晋冀蒙辽吉黑沪苏浙皖闽赣鲁豫鄂湘粤桂琼渝川贵云藏陕甘青宁新"; static final String NUMERIC_123 = "123"; static final String NUMERIC = "0123456789"; static final String CHARS_PLA20...
/* * Copyright 2012 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 applicable law or agreed to in writing...
package org.openrdf.repository.object.codegen; import java.io.File; import org.openrdf.repository.object.base.CodeGenTestCase; public class LiteralTest extends CodeGenTestCase { public void testLiterals() throws Exception { addRdfSource("/ontologies/literals-ontology.owl"); File jar = createJar("literals.jar")...
package com.fanxb.common; import java.text.SimpleDateFormat; /** * Created with IntelliJ IDEA * 移除元素 * 地址:https://leetcode-cn.com/problems/remove-element/ * 思路: * 暴力办法,两层for循环,每找到一个相同元素就将后面的所有元素向前移动一位 * 还有一种简便点的办法,不需要删除重复元素,只需要将重复元素替换为不重复元素即可 * * @author fanxb * Date: 2020/6/11 9:56 */ public class Q28 { ...
package io.gridgo.extras.prometheus; import java.util.function.Function; import org.joo.promise4j.Promise; import io.gridgo.framework.execution.ProducerInstrumenter; import io.gridgo.framework.support.Message; import io.prometheus.client.Gauge; import lombok.Getter; public class PrometheusGaugeProducerInstrumenter ...
/** * Copyright 2016-2017 Linagora, Université Joseph Fourier, Floralis * * The present code is developed in the scope of the joint LINAGORA - * Université Joseph Fourier - Floralis research program and is designated * as a "Result" pursuant to the terms and conditions of the LINAGORA * - Université Joseph Fourie...
/* * 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 2020. Huawei Technologies Co., Ltd. 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 * ...
package weixin.tenant.service; import org.jeecgframework.core.common.service.CommonService; import weixin.tenant.entity.weixinAcctFlowAccountEntity; import java.io.Serializable; import java.util.List; import java.util.Map; /** * Created by aa on 2015/12/1. */ public interface WeixinAcctFlowAccoutServiceI extends C...
/* * ****************************************************************************** * Copyright 2016-2017 Spectra Logic Corporation. 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 Licens...
/* * Copyright 1999-2018 Alibaba Group Holding Ltd. * * 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 net.thucydides.core.webdriver.integration; import net.thucydides.core.pages.PageObject; import net.thucydides.core.pages.Pages; import net.thucydides.core.pages.components.FileToUpload; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import org.openqa.selenium.WebDriver; impor...