text
stringlengths
7
1.01M
package com.cy.util; import com.cy.util.image.ImageUtils; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import...
package asr.proyectoFinal.services; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.ibm.cloud.sdk.core.security.Authenticator; import com.ibm.cloud.sdk.core.security.IamAuthenticator; import com.ibm.watson.natural_language_understanding.v1.NaturalLan...
/* * #%L * BroadleafCommerce Profile Web * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * 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/lice...
/***** BEGIN LICENSE BLOCK ***** * Version: EPL 2.0/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Eclipse Public * 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.eclipse.org/legal/epl-...
/* * The contents of this file are subject to the terms * of the Common Development and Distribution License * (the "License"). You may not use this file except * in compliance with the License. * * You can obtain a copy of the license at * glassfish/bootstrap/legal/CDDLv1.0.txt or * https://glas...
package org.nutz.dao.impl.jdbc; import java.lang.reflect.Array; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import...
/* * Copyright (c) 2001-2008 Caucho Technology, Inc. All rights reserved. * * The Apache Software License, Version 1.1 * * 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 mu...
/* * 07/23/2011 * * EditMacrosAction.java - Action that opens the Options dialog to the "macros" * panel. * Copyright (C) 2011 Robert Futrell * http://fifesoft.com/rtext * Licensed under a modified BSD license. * See the included license file for details. */ package org.fife.rtext.plugins.macros; ...
package com.box.l10n.mojito.service.cli; import com.box.l10n.mojito.mustache.MustacheBaseContext; import java.net.URL; public class InstallCliContext extends MustacheBaseContext { String installDirectory; String scheme; String host; String port; public InstallCliContext(String installDirectory,...
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
package gson.gson2.serialiser; import com.google.gson.*; import gson.gson2.bean.Book; import java.lang.reflect.Type; /** * 反列化时候,对特殊字段的处理 */ public class BookDeserializer implements JsonDeserializer<Book> { @Override public Book deserialize(final JsonElement json, final Type typeOfT, final JsonDeserializa...
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/chat/trunk/chat-tool/tool/src/java/org/sakaiproject/chat/tool/ColorMapper.java $ * $Id: ColorMapper.java 8206 2006-04-24 19:40:15Z ggolden@umich.edu $ **************************************...
/* * 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")...
/* * * * Copyright 2016 Symphony Communication Services, LLC * * Licensed to Symphony Communication Services, LLC 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 yo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package bean; import datos.Usuario; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; /** * * */ @Stateless public class UsuarioFacade extends AbstractF...
/** * ProposalLineItemPage.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201308; /** * Captures a page of {@link ProposalLineItem} objects. */ public class ProposalLineItemPage implements java.io...
package com.aoyanhao.coder.utils; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.util.TypedValue; public class Utils { public static float dp2px(float dp) { return TypedValue.applyDimension(TypedVa...
/** * Daniel Ricci {@literal <thedanny09@icloud.com>} * * 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...
/* * Copyright (C) 2010 the original author or authors. * See the notice.md file distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
package io.github.rpc.spring; import feign.*; import feign.codec.Decoder; import feign.codec.Encoder; import feign.codec.ErrorDecoder; import feign.httpclient.ApacheHttpClient; import io.github.rpc.feign.DefaultLogFactory; import io.github.rpc.feign.FeignLogFactory; import okhttp3.OkHttpClient; import org.apache.http....
/* * Copyright 2014 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 applica...
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * Copyright 2000-2016 Vaadin 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 agreed to...
package domain; import java.util.ArrayList; import java.util.List; public class PlayerObservable implements Observable { private static PlayerObservable instance; public List<Observer> observers = new ArrayList<>(); public PlayerObservable() { } public synchronized static PlayerObservable getInstance() { if...
package org.batfish.question; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.SortedMap; import java.util.SortedSet; import java.util.TreeMap; import java.util.TreeSet; 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 may not ...
/* * 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. */ /** * * @author william.scosta2 */ public class TesteGit { public static void main(String[] args) { System....
// ============================================================================ // // Copyright (C) 2006-2016 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
package com.javarush.task.task12.task1204; /* То ли птица, то ли лампа */ public class Solution { public static void main(String[] args) { printObjectType(new Cat()); printObjectType(new Bird()); printObjectType(new Lamp()); printObjectType(new Cat()); printObjectType(new ...
/* * Copyright 2017 StreamSets 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...
/* * Copyright 2012-2018 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...
/** * 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 ...
package org.bouncycastle.operator.bc; import java.util.Collections; import java.util.HashMap; import java.util.Map; import org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers; import org.bouncycastle.asn1.nist.NISTObjectIdentifiers; import org.bouncycastle.asn1.oiw.OIWObjectIdentifiers; import org.bouncycastle...
public static double[][] dissim(int nrow, int ncol, double[] mass, double[][] A) { double[][] Adiss = new double[nrow][nrow]; for (int i1 = 0; i1 < nrow; i1++) { for (int i2 = 0; i2 < nrow; i2++) { Adiss[i1][i2] = 0.0; } } for (int i1 = 0; i1 <...
/* This software was developed by employees of the National Institute of * Standards and Technology (NIST), an agency of the Federal Government. * Pursuant to title 15 United States Code Section 105, works of NIST * employees are not subject to copyright protection in the United States * and are considered to be in...
import java.io.PrintWriter; import java.io.StringWriter; import org.junit.Assert; import org.junit.Rule; import org.junit.Test; import org.junit.rules.Timeout; public class StressTest extends BaseProjectTest { private static final int WARM_RUNS = 3; private static final int TIME_RUNS = 5; private static...
package com.intkr.saas.manager.item.impl; import java.util.ArrayList; import java.util.List; import javax.annotation.Resource; import org.springframework.stereotype.Repository; import com.intkr.saas.dao.BaseDAO; import com.intkr.saas.dao.item.AuctionDAO; import com.intkr.saas.domain.bo.item.AuctionBO; import com.in...
package umontreal.ssj.networks.staticreliability; import umontreal.ssj.util.Tools; import umontreal.ssj.rng.*; import umontreal.ssj.networks.GraphReliability; import umontreal.ssj.probdist.*; import umontreal.ssj.util.*; import java.util.*; /** * This class implements the Permutation Monte Carlo method with shocks t...
/* * 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 io.symphonia; import com.amazonaws.services.dynamodbv2.model.AttributeValue; import com.fasterxml.jackson.core.JsonProcessingException; import org.geojson.Feature; import org.geojson.FeatureCollection; import org.geojson.Point; import java.util.List; import java.util.Map; import java.util.stream.Collector; p...
package mruk.metarreader; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class MetarReaderApplication { public static void main(String[] args) { SpringApplication.run(MetarReaderApplication.class, args); } }...
package com.prowidesoftware.swift.model.mx.dic; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang...
/* * ==================================================================== * 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 ...
package com.xoolibeut.wolma.model.transform; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; /** * * @author rgayeelhadji * */ @XmlAccessorType(XmlAccessType.FIEL...
package com.sim.core.Sensors; /** * Created by kirill-good on 6.2.15. */ public class Sharp { public final double max; public final double min = 1; public final double angle; protected double value; public Sharp(double max, double angle) { this.max = max; this.angle = angle; }...
package com.redhat.cajun.navy.mission; public enum ErrorCodes { NO_ACTION_SPECIFIED, BAD_ACTION }
/* * 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 pl.fakturomat.database.modelmanagers; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import pl.fakturomat.database.dao.ClientDao; import pl.fakturomat.database.models.Client; import pl.fakturomat.database.modelsfx.ClientFx; import pl.fakturomat.tools.ApplicationException; im...
package com.malyvoj3.csvwvalidator.domain.metadata; import com.malyvoj3.csvwvalidator.domain.ValidationError; import lombok.Data; import java.util.ArrayList; import java.util.List; /** * Abstract class for CSV on the Web properties. * @param <T> */ @Data public abstract class Property<T> implements Normalizable {...
/** * 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.capitalone.dashboard.rest; import com.capitalone.dashboard.config.TestConfig; import com.capitalone.dashboard.config.WebMVCConfig; import com.capitalone.dashboard.model.AuthType; import com.capitalone.dashboard.model.Dashboard; import com.capitalone.dashboard.model.DashboardType; import com.capitalone.dash...
package com.company; public class Square extends Rectangle{ public Square(double a, double b) { super(a, b); } @Override public void area() { System.out.println(super.getA() * super.getA()); } }
package demo.domain; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; import org.springframework.data.rest.core.annotation.RestResourc...
package cn.iocoder.mall.pay.biz.service; import cn.iocoder.common.framework.util.DateUtil; import cn.iocoder.common.framework.util.MathUtil; import cn.iocoder.common.framework.util.ServiceExceptionUtil; import cn.iocoder.common.framework.vo.CommonResult; import cn.iocoder.mall.pay.api.PayRefundService; import cn.iocod...
package com.iamschingie.EmployeeManagementSystemAPI; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class EmployeeManagementSystemApiApplicationTests { @Test void contextLoads() { } }
package p01_Geometry.Abstract; import p01_Geometry.Interfaces.AreaMeasurable; import p01_Geometry.Interfaces.PerimeterMeasurable; import p01_Geometry.Vertices.Vertex2D; public abstract class PlaneShape extends Shape implements AreaMeasurable, PerimeterMeasurable { public PlaneShape(Vertex2D[] vertices) { this.coo...
/** * 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) 1994, 2019, 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 ...
package Try.action; public class Dog { public void shout(){ System.out.println("wang~"); } }
package io.github.luzzu.linkeddata.qualitymetrics.accessibility.performance; import org.apache.jena.rdf.model.Model; import org.apache.jena.rdf.model.ModelFactory; import org.apache.jena.rdf.model.Resource; import org.apache.jena.sparql.core.Quad; import org.apache.jena.vocabulary.RDF; import org.slf4j.Logger; import ...
/** * The MIT License * Copyright (c) 2014-2016 Ilkka Seppälä * <p> * 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 us...
package uk.gov.hmcts.reform.professionalapi; import java.util.ArrayList; import java.util.List; import java.util.Map; import net.serenitybdd.junit.spring.integration.SpringIntegrationSerenityRunner; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.http.HttpStatus; import uk.gov.hmcts...
package com.aoc.days2015.day19; import com.aoc.solutionbase.SolutionBase; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.TreeMap; /** * @author Llamadmiral. */ class SolutionNineteen extends SolutionBase { private final Map<String, List<Stri...
/* * Copyright 2012-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package com.example.application.knowledge; import java.util.Arrays; import java.util.List; import org.hibernate.integrator.spi.Integrator; import org.hibernate.jpa.boot.spi.IntegratorProvider; public class CustomIntegratorProvider implements IntegratorProvider { @Override public List<Integrator> getIntegrat...
package wa.server; import io.vertx.core.Vertx; import io.vertx.junit5.VertxExtension; import io.vertx.junit5.VertxTestContext; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; @ExtendWith(VertxExtension.class) public class TestMainVerticle ...
/* * * Copyright (c) 2013 - 2020 Lijun Liao * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
package com.atguigu.gmall.sms.service; import com.baomidou.mybatisplus.extension.service.IService; import com.atguigu.gmall.sms.entity.HomeAdvEntity; import com.atguigu.core.bean.PageVo; import com.atguigu.core.bean.QueryCondition; /** * 首页轮播广告 * * @author lixianfeng * @email lxf@atguigu.com * @date 2020-01-02 ...
package com.vmware.vim25; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for InvalidDatastore complex type. * * <p>The following schema fragment specifies...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
/* * Copyright (c) 2008-2015, 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 © 2014-2021 The SiteWhere 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...
package com.foodies.services.crud; import com.foodies.models.Restaurant; import com.foodies.models.User; import com.foodies.services.common.CrudService; import java.util.List; public interface UserCrudService extends CrudService<User> { List<User> follow(Long id, Long idUser); List<User> unfollow(Long id, ...
/* * Copyright 2016-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package com.cms.controller.admin; import java.math.BigDecimal; import java.util.Date; import java.util.HashMap; import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.lang.StringUtils; import com.cms.Feedback; import com.cms.entity.Member; import com.cms.routes.RouteMapping; /*...
package api.support.fixtures; import static org.folio.circulation.support.JsonPropertyFetcher.getProperty; import java.net.MalformedURLException; import java.util.ArrayList; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeoutException; import org.folio.circulation.domain.RequestType; ...
package appmanager; import org.openqa.selenium.By; import org.openqa.selenium.NoSuchElementException; import org.openqa.selenium.WebDriver; import java.io.File; public class HelperBase { protected WebDriver wd; public HelperBase(WebDriver wd) { this.wd = wd; } protected void click(By locator) { wd....
/* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.security.keyvault.keys.cryptography; import com.azure.core.annotation.ServiceClientBuilder; import com.azure.core.credential.TokenCredential; import com.azure.core.cryptography.AsyncKeyEncryptionKey; impo...
package me.erudev.ch02._0003; /** * 0003. 删除链表的中间节点和a/b处的节点 * * @author pengfei.zhao * @date 2020/12/6 12:59 */ public class Solution { static class Node { private int value; private Node next; public Node(int value) { this.value = value; } } public stat...
package cn.springcloud.gray.server.event; import cn.springcloud.gray.event.EventType; import cn.springcloud.gray.event.SourceType; public interface EventSourceConverter { Object convert(EventType eventType, SourceType sourceType, Object source); }
/* * 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 2019 Mi&Jack * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/* * Copyright (c) 2010, 2014, Oracle and/or its affiliates. * All rights reserved. Use is subject to license terms. * * This file is available and licensed under the following license: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
package ir.co.bayan.simorq.zal.nutch.plugin.css; import ir.co.bayan.simorq.zal.nutch.plugin.css.config.SelectorConfiguration; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.Map; import java.util.Map.Entry; import javax.xml.bind.JAXBException; import org.apache.commons.lang...
package com.sequenceiq.freeipa.service.client; import java.util.Set; import java.util.stream.Collectors; import javax.inject.Inject; import javax.ws.rs.InternalServerErrorException; import com.sequenceiq.freeipa.client.FreeIpaClientExceptionUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.sp...
/* * Copyright (C) 2006 The Android Open Source Project * Copyright (c) 2014 Chukong 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/l...
/* Copyright (c) 2014-2016 Qualcomm Technologies, Inc. * All Rights Reserved. * Confidential and Proprietary - Qualcomm Technologies, Inc. */ package com.qualcomm.ims.vt; import android.view.Surface; import android.view.WindowManager; import android.content.Context; import android.graphics.SurfaceTexture; import a...
/* Copyright 2013 Giovanni Bricconi 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.devonfw.module.security.common.base.accesscontrol; import com.devonfw.module.security.common.api.accesscontrol.AccessControlSchema; /** * This is the interface to {@link #loadSchema() load} the {@link AccessControlSchema} from an arbitrary source. The * default implementation will load it from an XML fi...
/** * 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....
package spotify.murari.controller; import java.util.List; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.CrossOrigin; imp...
package com.example.service.account; import com.example.mapper.account.AdvancePaymentsMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * 预收款service */ @Service public class AdvancePaymentsService { @Autowired private AdvancePaymentsMa...
package apron.test; import apron.constraint.*; import apron.permissionlanguage.*; import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.tree.ParseTree; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; public class Test{ public static Evaluator CreateEvaluato...
package org.batfish.representation.cisco; import javax.annotation.Nonnull; import org.batfish.datamodel.IpSpace; import org.batfish.datamodel.IpSpaceReference; public class NetworkObjectGroupAddressSpecifier implements AccessListAddressSpecifier { /** */ private static final long serialVersionUID = 1L; privat...
package com.example.android.onlineshoppingdemo.exceptions; public class AuthenticationException extends Exception { private static final long serialVersionUID = 1L; }
package ru.yandex.qatools.embed.postgresql.config; import de.flapdoodle.embed.process.config.store.*; import de.flapdoodle.embed.process.extract.UUIDTempNaming; import de.flapdoodle.embed.process.io.directories.UserHome; import de.flapdoodle.embed.process.io.progress.StandardConsoleProgressListener; import ru.ya...
package com.socrata.util.iterators; import java.util.Iterator; import java.util.NoSuchElementException; public class TakeIterator<T> implements Iterator<T> { private int remaining; private final Iterator<T> underlying; public TakeIterator(int howMany, Iterator<T> underlying) { this.remaining = ho...