text
stringlengths
7
995k
/* * 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...
/** * 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 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package io.soabase.halva.caseclass; public interface CaseParent { String parentValue(); }
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package uk.co.atgsoft.caveman.database.dao; import java.util.List; import uk.co.atgsoft.caveman.wine.Wine; import uk.co.atgsoft.cavema...
package com.alvachien; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.OptionalDouble; import java.util.regex.Pattern; import java.util.stream.IntStream; import java.util.stream.Stream; publ...
/* * 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...
package seedu.us.among.storage; import java.io.IOException; import java.nio.file.Path; import java.util.Optional; import seedu.us.among.commons.exceptions.DataConversionException; import seedu.us.among.model.ReadOnlyUserPrefs; import seedu.us.among.model.UserPrefs; /** * Represents a storage for {@link seedu.us.amo...
package org.ovirt.engine.core.bll.profiles; import java.util.List; import org.apache.commons.lang.ObjectUtils; import org.ovirt.engine.core.bll.ValidationResult; import org.ovirt.engine.core.common.businessentities.VDSGroup; import org.ovirt.engine.core.common.businessentities.profiles.CpuProfile; import org.ovirt.en...
/* * Copyright 2000-2013 JetBrains s.r.o. * * 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...
/* * Copyright @ 2015 Atlassian Pty 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 applicable law or ag...
/** * 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...
/* * Copyright @ 2018 - Present, 8x8 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 a...
/* * The MIT License * * Copyright 2014 DNAstack. * * 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...
package com.amore.design.strategy.impl; import com.amore.design.strategy.IPromotionStrategy; import java.math.BigDecimal; /** * @author Administrator * @site www.baidu.com * @create 2020-07-17 09:36 * @description 折扣促销策略 * @since 七月 */ public class RatePromotionStrategy implements IPromotionStrategy<Double> { ...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
/* * 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...
/* * (C) Copyright 2015 Sergey Grachev (sergey.grachev@yahoo.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...
package org.batfish.dataplane; import static org.batfish.datamodel.matchers.HopMatchers.hasOutputInterface; import static org.batfish.datamodel.matchers.TraceMatchers.hasDisposition; import static org.batfish.datamodel.matchers.TraceMatchers.hasLastHop; import static org.batfish.main.BatfishTestUtils.getBatfish; impor...
/** * Copyright 2022 Markus Bordihn * * 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, d...
package org.people.weijuly.bookstore.service; import org.people.weijuly.bookstore.data.PurchaseEntity; import org.people.weijuly.bookstore.data.PurchaseRepository; import org.people.weijuly.bookstore.model.PurchaseModel; import org.people.weijuly.bookstore.util.DateUtil; import org.springframework.beans.factory.annota...
package de.jbdb.sql2json.step1.input.modell; import static de.jbdb.sql2json.Sql2JSONTestObjects.TESTINSERT; import static de.jbdb.sql2json.Sql2JSONTestObjects.TEST_COLUMN; import static de.jbdb.sql2json.Sql2JSONTestObjects.TEST_TABLE; import static de.jbdb.sql2json.Sql2JSONTestObjects.TEST_VALUE1; import static de.jbd...
/* * Copyright (c) 2017, MegaEase * 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 ap...
package org.altbeacon.beacon.distance; import android.annotation.TargetApi; import android.content.Context; import android.content.pm.PackageManager; import android.os.Build; import android.util.Log; import org.altbeacon.beacon.BeaconManager; import org.json.JSONArray; import org.json.JSONException; import org.json.J...
package ru.job4j.array; /** * @author Alexey Denisenko * @version 0.1 * @since 26.12.2018 */ public class Square { public int[] calculate(int bound) { int[] rst = new int[bound]; for (int i = 0; i < rst.length; i++) { rst[i] = (int) Math.pow((i + 1), 2); } return rs...
// // ======================================================================== // Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under // the terms of the Eclipse Public License 2.0 which is available at // https://www.eclipse.org/leg...
/* * Copyright 2010 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 2018 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 wr...
//======================================================================== // //File: $RCSfile: RootAdapter.java,v $ //Version: $Revision: 1.16 $ //Modified: $Date: 2013/01/10 23:14:08 $ // //(c) Copyright 2005-2014 by Mentor Graphics Corp. All rights reserved. // //=============================================...
/* * Copyright 2022 Infernal Studios * * 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 agree...
package com.web.cost.dao; import com.web.cost.entity.ReportBom; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.repository.CrudRepository; import java.util.List; public interface ReportBomDao extends CrudRepository<ReportBom, Long>, JpaSpecificationExecutor<Re...
/* * This file is part of GroupManager, licensed under the MIT License. * * Copyright (c) lucko (Luck) <luck@lucko.me> * Copyright (c) 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 ...
package lowla.io.lowladb; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { super(...
package org.ohdsi.webapi.shiro.management; import org.aopalliance.intercept.MethodInterceptor; import org.ohdsi.webapi.shiro.annotations.DataSourceAccess; import org.ohdsi.webapi.shiro.management.datasource.AccessorParameterBinding; import org.ohdsi.webapi.shiro.management.datasource.DataSourceAccessParameterResolver;...
package application; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.OptionalInt; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import javafx.event.ActionEvent; 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 ...
/* * 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.xpbootcamp.gilded_rose; import static java.time.temporal.ChronoUnit.DAYS; import java.time.LocalDate; public class BackstagePass extends BaseCommodity { public BackstagePass(Integer sellIn, Integer quality, LocalDate refreshDate) { super(sellIn, quality, refreshDate); } @Override ...
package com.itnxd.gulimall.product.dao; import com.itnxd.gulimall.product.entity.SkuImagesEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * sku图片 * * @author ITNXD * @email niuxvdong@gmail.com * @date 2021-12-10 17:38:29 */ @Mapper public interfa...
/* Copyright 2012-2013 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 applic...
// Copyright 2000-2019 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.codeInsight.generation.surroundWith; import com.intellij.lang.surroundWith.Surrounder; import com.intellij.openapi.editor.Editor; import com.intellij.openapi...
public class P2task7{ public static void main(String[]args){ BankAccount acc1=new BankAccount(); BankAccount acc2=new BankAccount(); BankAccount acc3=new BankAccount(); acc1.setName("Saif"); acc1.setAccountID("1234"); acc1.setAddress("Gulshan"); acc1.setBalance(1000.00); acc2...
package org.bluez; import org.freedesktop.dbus.interfaces.DBusInterface; import org.freedesktop.dbus.interfaces.Properties; /** * File generated - 2018-07-25.<br> * Based on bluez Documentation: advertising-api.txt.<br> * <br> * <b>Service:</b> org.bluez<br> * <b>Interface:</b> org.bluez.LEAdvertisement1<br> * ...
/* * 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 br.com.caelum.stella.formatter; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Test; import br.com.caelum.stella.format.Formatter; import br.com.caelum.stella.format.RenavamFormatter; public class RenavamFo...
/* * Copyright 2014-15 Skynav, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and...
package net.minidev.ovh.api.price.dedicatedcloud._2018v1.rbx2b.infrastructure.host; import com.fasterxml.jackson.annotation.JsonProperty; /** * Enum of Hourlys */ public enum OvhHourlyEnum { @JsonProperty("SDDC-128") SDDC_128("SDDC-128"), @JsonProperty("SDDC-16") SDDC_16("SDDC-16"), @JsonProperty("SDDC-256") ...
package org.hl7.fhir.dstu2016may.model.codesystems; /* Copyright (c) 2011+, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the...
package org.activiti.bpmn.model; public class DataObject extends FlowElement { protected ItemDefinition itemSubjectRef; public ItemDefinition getItemSubjectRef() { return itemSubjectRef; } public void setItemSubjectRef(ItemDefinition itemSubjectRef) { this.itemSubjectRef = itemSubjectRef; } pu...
/** * * A library for parsing and writing ASN.1 objects. Support is provided for DER and BER encoding. */ package org.bouncycastle.asn1; public abstract class ASN1Sequence extends ASN1Primitive { protected java.util.Vector seq; /** * create an empty sequence */ protected ASN1Sequence() { } /** * c...
/* * Copyright 2021 berni3. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
package com.example.sazzad.cas; 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...
package io.agrest.runtime.cayenne; import java.util.Collection; import io.agrest.ObjectMapper; import io.agrest.ObjectMapperFactory; import io.agrest.meta.AgAttribute; import io.agrest.runtime.processor.update.UpdateContext; import org.apache.cayenne.exp.parser.ASTPath; /** * A default singleton implementation of t...
package com.swak.flux.web.function.pattern; public class PathPatternParser { private boolean matchOptionalTrailingSeparator = true; private boolean caseSensitive = true; /** * Whether a {@link PathPattern} produced by this parser should should * automatically match request paths with a trailing slash. * ...
/* * Copyright 2010 The MyBatis 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 applicable law or...
package org.sagebionetworks.bridge.spring.controllers; import static org.sagebionetworks.bridge.BridgeConstants.API_DEFAULT_PAGE_SIZE; import static org.sagebionetworks.bridge.Roles.WORKER; import static org.sagebionetworks.bridge.TestConstants.HEALTH_CODE; import static org.sagebionetworks.bridge.TestConstants.TEST_S...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package br.gustavoalmeidap.servidorframe.run; import br.gustavoalmeidap.servidortcp.servidor.ServidorTCP; import com.google.common.eve...
import java.util.Scanner; public class CollatzSequence { public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); System.out.print("Pick the first number > "); int currentNumber = keyboard.nextInt(); keyboard.close(); int steps = 0; int l...
package com.example.prafu.testcoursec.other; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.TextView; import com.example.prafu.testcoursec.R; public class BlogViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener{ View mView; TextView tex...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.feicent.zhang.project.jeesite.interceptor; import java.text.SimpleDateFormat; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.spring...
package seedu.address.logic.parser; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import java.util.Optional; import seedu.address.commons.core.index.Index; import seedu.address.commons.exceptions.IllegalValueException; import seedu.address.logic.commands.OngoingGoalCommand; import...
package io.swagger.client.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import io.swagger.client.model.EventTypeSchema; import io.swagger.c...
package br.com.alura.loja; import java.math.BigDecimal; import br.com.alura.loja.desconto.CalculadoraDeDescontos; import br.com.alura.loja.orcamento.Orcamento; public class TestesDescontos { public static void main(String[] args) { Orcamento primeiro = new Orcamento(new BigDecimal("200"), 6); Orcamento segundo...
package org.victor.dao; import java.util.List; import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Insert; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.ResultMap; import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Update; ...
/** * 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 be.cegeka.batchers.taxservice.stubwebservice; import com.google.common.collect.EvictingQueue; import com.google.common.collect.Queues; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import java.util.Queue; @Component public class TextFileTaxLogger { ...
/* * 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 u...
package com.testsigma.automator.actions.mobile.mobileweb.verify; public class VerifySelectOptionsCountAction extends com.testsigma.automator.actions.web.verify.VerifySelectOptionsCountAction { }
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Copyright (c) 1998-2018 University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.ma2; import java.nio.ByteBuffer; import java.nio.ByteOrder; /** * Describe * * @author caron * @since 5/31/2015 */ public class ArrayStructureBBsection extends ArrayStruc...
package de.srendi.advancedperipherals.common.setup; import de.srendi.advancedperipherals.common.configuration.APConfig; import de.srendi.advancedperipherals.common.items.APItem; import de.srendi.advancedperipherals.common.items.ARGogglesItem; import de.srendi.advancedperipherals.common.items.MemoryCardItem; import de....
/** * 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...
/* * JBoss, Home of Professional Open Source * * 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/lic...
/* * Copyright 2012 GitHub 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 ...
/* * 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 org.minnie.utility.module.lottery.fiveineleven; import java.io.BufferedInputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.ResourceBundle; import javax.mail.Session; import org.apache.http.NameValuePair; import org.apache.log4j.Logger; import org.apache.l...
package what.whatandroid.inbox; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import api.soup.MySoup; import what.whatandroid.R; import what.whatandroid.callbacks....
/* * Copyright 2009-2010 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 (c) 2009-2019, United States Government, as represented by the Secretary of Health and Human Services. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribution...
/* * 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.camunda.bpm.qa.upgrade.scenarios720.multiinstance; import static org.camunda.bpm.qa.upgrade.util.ActivityInstanceAssert.assertThat; import static org.camunda.bpm.qa.upgrade.util.ActivityInstanceAssert.describeActivityInstanceTree; import org.camunda.bpm.engine.runtime.ActivityInstance; import org.camunda....
package com.rcl.rclbackend.ServiceImpl; import java.io.IOException; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Example; import org.springframework.security.core.userdetails.UsernameNotFoundException; import or...
/* * 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 graphique; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.image.BufferedImage; import java.io.IOException; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging....
package p1; public final class ChangedFinalModifier4 { public double f1; public int m1() { return 0; } }
/* * 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...
/* * Copyright 2013 Palantir Technologies, 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 l...
package com.wzx.util; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; import java.util.Arrays; import java.util.Base64; import java.util.List; import javax.validation.constraints.NotBlank; import lombok.Data; import lombok.extern.slf4j.Slf4j; import org.springfram...
/* * Copyright (C) 2009 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
package mage.cards.x; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.DiesThisOrAnotherCreatureTriggeredAbility; import mage.abilities.effects.Effect; import mage.abilities.effects.common.CreateTokenEffect; import mage.cards.CardImpl; import mage.cards.CardSetInf...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.jrt; /** * <p>Interface used to handle the invocation of a method.</p> * * <p>The {@link Method} class is used to register rpc methods. There * are two ways rpc methods can be d...
/* Copyright (C) GridGain Systems. 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...
package com.dianping.paas.controller.sequencer; import com.dianping.paas.controller.dto.depoly.entity.OperationContext; import com.dianping.paas.controller.record.OperationRecorder; import com.dianping.paas.core.queue.SequencedObject; import com.dianping.paas.core.queue.Sequencer; import org.apache.logging.log4j.LogMa...
package eu.wauz.wauzcore.building; import java.util.ArrayList; import java.util.List; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.World; import org.bukkit.block.Block; import org.bukkit.util.BlockVector; import org.bukkit.util.Vector; /** * A block structure in the shape of a circle. ...
import org.checkerframework.checker.nullness.qual.EnsuresKeyForIf; import org.checkerframework.checker.nullness.qual.KeyFor; import org.checkerframework.dataflow.qual.Pure; import java.util.HashMap; import java.util.Map; public class Issue2619 { public Map<String, String> map = new HashMap<>(); void m00(Aux ...
package pro.ruloff.tasks.trello.facade; import java.util.List; import org.springframework.stereotype.Component; import pro.ruloff.tasks.domain.TrelloBoard; import pro.ruloff.tasks.domain.TrelloCard; import pro.ruloff.tasks.domain.dto.CreatedTrelloCardDto; import pro.ruloff.tasks.domain.dto.TrelloBoardDto; import pro.r...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.example.cameraapp; public final class R { public static final class attr { } public static final class dimen { ...
package org.folio.ed.util; import java.util.concurrent.TimeUnit; public class StagingDirectorConfigurationsHelper { private static final String PORT_SEPARATOR = ":"; private StagingDirectorConfigurationsHelper(){} public static String resolveAddress(String url) { return url.split(PORT_SEPARATOR)[0]; } ...
package frc.robot.subsystems; import java.util.concurrent.DelayQueue; import com.revrobotics.CANSparkMax; import com.revrobotics.RelativeEncoder; import com.revrobotics.SparkMaxPIDController; import com.revrobotics.CANSparkMaxLowLevel.MotorType; import com.revrobotics.CANSparkMax.ControlType; import com.revrobotics.C...