text
stringlengths
7
1.01M
/* * Copyright 2014 Toxic Bakery * * 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 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...
/* * Copyright 2015 mk. * * 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 writ...
package io.gitee.ludii.excel.annotation; import io.gitee.ludii.excel.converts.WriteConverter; import io.gitee.ludii.excel.enums.CellDataTypeEnum; import io.gitee.ludii.excel.write.config.annotation.ExcelWriteField; import io.gitee.ludii.excel.write.config.annotation.ExcelWriteFieldAdapter; import java.lang.annotation...
/* * Adobe Experience Manager (AEM) API * Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API * * The version of the OpenAPI document: 3.4.0-pre.0 * Contact: opensource@shinesolutions.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * h...
/* * 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 (c) 2008-2014 MongoDB, 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...
package com.zeshan.syncnotes; import org.parse4j.Parse; import org.parse4j.util.ParseRegistry; public class ParseSetup { public void initializeParse() { ParseRegistry.registerSubclass(Note.class); Parse.initialize("iqnAuoS1KihbbhQBvfjlu0wFlVvPSTukN8J8ncpz", "uaZc6oGzjaFOnoUfqxqIsp6UnanOlBOfyHRmqPac"); } }
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (c) 2008-2016 Haulmont. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.versions; import com.yahoo.component.Version; import com.yahoo.config.provision.SystemName; import com.yahoo.vespa.hosted.controller.Controller; import com.yahoo.vespa.host...
/* * 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...
package AGEval; import java.util.ArrayList; import java.util.HashMap; public class AleSimulatorNode { private Class myClass; private HashMap<String, AleSimulatorNode> myChildren; private int nextPass; private ArrayList<ArrayList<EvalStep>> myVisitors; private String signature; public AleSimulato...
package de.gg.game.ui.screens; import de.eskalon.commons.core.EskalonApplication; import de.eskalon.commons.screens.AbstractEskalonUIScreen; import de.gg.game.core.ProjektGGApplication; public abstract class AbstractGGUIScreen extends AbstractEskalonUIScreen { protected ProjektGGApplication application; public Ab...
package io.quarkus.vertx.http.security; import java.util.Optional; import javax.enterprise.context.ApplicationScoped; import io.quarkus.security.AuthenticationFailedException; import io.quarkus.security.identity.AuthenticationRequestContext; import io.quarkus.security.identity.IdentityProvider; import io.quarkus.sec...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.messagebus; import com.yahoo.text.Utf8String; /** * Superclass for objects that can be either explicitly (Message) or implicitly (Reply) routed. Note that protocol * implementors ...
package net.minecraft.client.renderer.chunk; import java.util.BitSet; import java.util.Set; import net.minecraft.util.EnumFacing; public class SetVisibility { private static final int COUNT_FACES = EnumFacing.values().length; private final BitSet bitSet; public SetVisibility() { this.bitSet = new BitSet(COUNT_F...
/* * Copyright 2016 Albert Tregnaghi * * 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 i...
/* * MIT License * Copyright <2021-2022> * * 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, p...
package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; import static seedu.address.logic.parser.CliSyntax.PREFIX_ADDRESS; import static seedu.address.logic.parser.CliSyntax.PREFIX_CUSTOMER; import static seedu.address.logic.parser.CliSyntax.PREFIX_EMAIL; import static seedu.address.logic...
package com.farerboy.framework.boot.util; import com.alibaba.fastjson.JSON; import org.apache.commons.lang3.ClassUtils; import org.apache.commons.lang3.StringUtils; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.lang.reflect.Method; import java.lang.reflect.Parameter; import j...
/* * 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 (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.example.demo.service; import com.example.demo.model.SysRole; import com.example.demo.core.universal.Service; /** * @Description: SysRoleService接口 * @author 张瑶 * @date 2018/05/25 23:01 */ public interface SysRoleService extends Service<SysRole> { }
package s0700; import me.rainstorm.util.BitUtil; import org.junit.Test; /** * [762] Prime Number of Set Bits in Binary Representation * <p> * https://leetcode-cn.com/problems/prime-number-of-set-bits-in-binary-representation/description/ * <p> * algorithms * Easy (58.87%) * Total Accepted: 2.8K * Total Sub...
/* * Copyright (c) 2008-2021, 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 ...
package it.infn.ct.ThreadPool; import java.util.Enumeration; import java.util.Hashtable; import java.util.concurrent.TimeUnit; import javax.naming.Context; import javax.naming.Name; import javax.naming.NamingException; import javax.naming.RefAddr; import javax.naming.Reference; import com.sun.appserv.server.Lifecycl...
package com.jme3.shaderblow.test.electricity; import com.jme3.app.SimpleApplication; import com.jme3.light.AmbientLight; import com.jme3.light.DirectionalLight; import com.jme3.material.Material; import com.jme3.material.RenderState.BlendMode; import com.jme3.material.RenderState.FaceCullMode; import com.jme3.math.Col...
/* * The MIT License (MIT) * * Copyright (c) 2015 Andoni del Olmo * * 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 u...
/* * 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 (c) 2012, 2013, Trivadis (Anatole Tresch), Werner Keil. * * 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 * * Un...
class BooleanExpressions{ public static void main(String[] a){ System.out.println("Test booleanExpressions"); } } class Test{ int foo; int test(){ String a ; String b ; char z; char v; if(v == z){ a = "alain"; } if(!false){ b = "compiler"; } if(10 < 5 && 10...
package com.github.solairerove.harald.application.dto.comment; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import java.io.Serializable; @Data @JsonInclude(JsonInclude.Include.NON_NULL) public class CommentRequest implements Serializab...
/** * * 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 2009 ZXing 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 ...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.12....
package com.extnds.nooba.contactsmanageribmcampapp; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.Toolbar; /** * Created by Nooba(PratickRoy) on 11-09-20...
/* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it w...
package net.consensys.eventeum.dto.event.filter; /** * Supported event parameter types. * * @author Craig Williams <craig.williams@consensys.net> */ public enum ParameterType { INT256, UINT8, UINT256, ADDRESS, BYTES16, BYTES32, BOOL, STRING; }
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tribuo-core-impl.proto package org.tribuo.protos.core; /** * <pre> *SimpleTransform proto * </pre> * * Protobuf type {@code tribuo.core.SimpleTransformProto} */ public final class SimpleTransformProto extends com.google.protobuf.Generate...
/* * Copyright 2002-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright (c) 2020 GeekStore. * All rights reserved. */ package io.geekstore.data_import.parser; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * Created on Nov, 2020 by @author bobo */ @Data @AllArgsConstructor @NoArgsConstructor public class StringFacet { p...
package com.coderefer.LearnSpringBoot01.other; import lombok.Data; @Data public class HelloWorldBean { private String message; public HelloWorldBean(String message) { this.message = message; } }
package com.perforce.p4java.tests.qa; import static com.perforce.p4java.core.file.FileSpecBuilder.makeFileSpecList; import static com.perforce.p4java.tests.qa.Helper.FILE_SEP; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.File; import java.util.HashMap; import ...
package com.sjl.bookmark.dao.impl; import android.content.Context; import android.database.Cursor; import com.sjl.bookmark.app.AppConstant; import com.sjl.bookmark.dao.CollectBookDao; import com.sjl.bookmark.dao.db.BaseDao; import com.sjl.bookmark.entity.zhuishu.table.BookChapter; import com.sjl.bookmark.entity.zhuis...
/* * Copyright 2016 DNAstack * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
package com.lframework.xingyun.api.bo.chart; import com.lframework.starter.web.bo.BaseBo; import com.lframework.xingyun.chart.dto.OrderChartTodayDto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import java.math.BigDecimal; @Data @EqualsAndHashCode(callSuper = ...
// 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 hello.config; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.rest.core.config.RepositoryRestConfiguration; import org.springframework.data.rest.webmvc.confi...
/////////////////////////////////////////////////////////////////////////// // __ _ _ ________ // // / / ____ ____ _(_)____/ | / / ____/ // // / / / __ \/ __ `/ / ___/ |/ / / __ // // ...
package de.rexlmanu.mlgrush.plugin.event.type; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.experimental.Accessors; @AllArgsConstructor @Getter @Accessors(fluent = true) public class GameEvent<E> { private E target; }
/* * Copyright 2021 Anton Tananaev (anton@traccar.org) * * 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 appli...
/* * Copyright (C) 2014-2022 Philip Helger (www.helger.com) * philip[at]helger[dot]com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
/* * This file is part of Dependency-Track. * * 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 ...
/* * 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 com.zgy.learn.springsecurity.service; import lombok.extern.slf4j.Slf4j; import org.springframework.security.core.authority.AuthorityUtils; import org.springframework.security.core.userdetails.User; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userde...
/* * Copyright 2014-2019 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...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: rpc.proto package cn.nextop.gadget.etcd.grpc; /** * Protobuf type {@code etcdserverpb.AuthEnableRequest} */ @SuppressWarnings("all") public final class AuthEnableRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@prot...
package com.perfecto.reportium.model; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; public class CustomField { private String name; private String value; public CustomField() { } public CustomField(String name, String value) { ...
/* * Copyright (C) 2011 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 ...
/* Derby - Class org.apache.derby.iapi.types.CollatorSQLClob 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 un...
package org.dbsyncer.storage.util; import org.apache.lucene.document.*; import org.dbsyncer.storage.constant.ConfigConstant; import org.springframework.util.Assert; import java.util.Map; /** * <b>索引维护工具类</b> * <p/>1、使用方法: * <p/> new IntPoint(name, value); 存放int类型 * <p/> new StoredField(name, value); 要存储值,必须添加一个同...
/* * 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 ru.job4j.iterator; import org.junit.Before; import org.junit.Test; import java.util.Iterator; import java.util.NoSuchElementException; import static junit.framework.TestCase.assertTrue; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Test. * * @author Yury Doronin ...
/* * Copyright © Red Gate Software Ltd 2010-2020 * * 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 com.oneso.service; public interface ScannerService { String scanAnswer(); void closeScanner(); }
/** * MIT License * * Copyright (c) 2018 yadong.zhang * * 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, mo...
package com.github.scribejava.core.extractors; import java.io.IOException; import java.net.URI; import java.util.regex.Matcher; import java.util.regex.Pattern; import com.github.scribejava.core.exceptions.OAuthException; import com.github.scribejava.core.model.OAuth2AccessToken; import com.github.scribejava.core.model...
/** * Copyright 2013 Canada Health Infoway, 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 applicab...
import java.io.IOException; import java.io.FileInputStream; import java.io.FileOutputStream; //Just reading bytes public class FileStreams { public static void main(String[] args) throws Exception { FileInputStream input = null; FileOutputStream output = null; //Byte per Byte try {...
package com.idtk.smallchart.interfaces.iData; import android.graphics.RectF; /** * Created by Idtk on 2016/6/22. * Blog : http://www.idtkm.com * GitHub : https://github.com/Idtk * 描述 : 扇形图坐标系数据接口 */ public interface IPieAxisData extends IChartData { /** * 获取透明扇形内半径与扇形半径比 * @return 比例 */ f...
package io.github.shyrkaio.crd; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.client.CustomResourceList; import io.quarkus.runtime.annotations.RegisterForReflection; @JsonDeserialize @RegisterForReflection public class HypnosList extends CustomResourceList<Hypnos> { ...
/* * 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 common.sink; import common.Constants; import common.collections.Configuration; import common.collections.OsUtils; import common.datatype.util.LRTopologyControl; import common.sink.helper.stable_sink_helper; import components.operators.api.BaseSink; import execution.ExecutionGraph; import execution.runtime.tupl...
package adapter; import java.util.LinkedHashMap; import exception.AutoException; import model.*; import util.FileIO; public abstract class ProxyAutomotive { private static LinkedHashMap<String, Automobile> a1 = new LinkedHashMap<String, Automobile>();; public static synchronized Automobile getAu...
package com.semantalytics.stardog.kibble.file; import com.complexible.common.rdf.model.Values; import com.complexible.stardog.plan.filter.ExpressionEvaluationException; import com.complexible.stardog.plan.filter.ExpressionVisitor; import com.complexible.stardog.plan.filter.functions.AbstractFunction; import com.comple...
package com.feng.boot.admin.project.system.role.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.feng.boot.admin.project.system.role.model.entity.RoleDeptEntity; /** * 角色数据权限 Mapper 接口 * * @author bing_huang * @since 3.0.0 */ public interface IRoleDeptMapper extends BaseMapper<RoleDept...
package weixin.idea.huodong.controller; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.jeecgframework.core.common.controller.BaseController; import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery; import org.jeecgframe...
package com.google.android.gms.internal.ads; import android.os.Bundle; import android.os.RemoteException; import com.google.android.gms.dynamic.IObjectWrapper; /* renamed from: com.google.android.gms.internal.ads.yk */ final class C9838yk extends zzatl { /* renamed from: b */ private final /* synthetic */ zz...
package org.obolibrary.robot; import static org.junit.Assert.*; import java.io.IOException; import java.util.Collections; import java.util.HashMap; import java.util.Map; import org.geneontology.reasoner.ExpressionMaterializingReasonerFactory; import org.junit.Test; import org.obolibrary.robot.exceptions.InvalidRefere...
/* * 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 may not ...
/** * 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"); yo...
public class Employee implements java.io.Serializable{ //serialVersionUID is getting calculated automatically //If the class has been changed with serialVersionUID automatically, //Reading the same object with some difference from other file will make an exception //private static final long serialVersionUID = 1...
package util.parser; import org.apache.commons.cli.*; import util.exceptions.InternalAnalyzerException; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import java.util.*; /** * @author Nicolas Müller * */ public class ArgParser { // flags final static String MAINCLASS_FL...
/* * Copyright 2016 Skynav, Inc. All rights reserved. * Portions Copyright 2009 Extensible Formatting Systems, Inc (XFSI). * * 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 mus...
package org.oasis_open.contextserver.itests; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.http.HttpResponse; import org.apache.http.util.EntityUtils; import java.io.IOException; public class TestUtils { public static <T> T ret...
package com.czl.exception; import java.io.Serializable; import static com.czl.exception.ExpPrefix.*; /** * @Author zerechen * 全局的异常状态码 和 异常描述 * * PS:异常码一共由5位组成,前两位为固定前缀,请参考{@link ExpPrefix} */ public enum ExpCodeEnum implements Serializable { /** 通用异常 */ UNKNOW_ERROR(ComExpPrefix + "000", "未知异常"), ...
// Copyright 2020 Goldman Sachs // // 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 ...
/* * Home Health Grouper * Developer for the Center for Medicare and Medicaid Services CMS * by 3M Health Information Systems for CMS Home Health. * * All code is provided as is. */ package com.mmm.cms.homehealth.io.record; import com.mmm.cms.homehealth.proto.record.HomeHealthRecord_C1_IF; import com.mmm.cms.ho...
package org.springframework.mock.web; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Collection; import java.util.Collections; import javax.servlet.http.Part; import org.springframework.http.HttpHeaders; import org.springframework.http.MediaType; import...
/* * 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...
/* * 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.rcsb.mmtf.geometric; import java.io.Serializable; import javax.vecmath.Matrix4d; import javax.vecmath.Point3d; import org.biojava.nbio.structure.symmetry.geometry.SuperPosition; /** * @author Yana Valasatava * */ public class LeastSquaresFitting implements Superposition, Serializable { ...
package org.bigbluebutton.red5.client; import java.util.HashMap; import java.util.Map; import org.bigbluebutton.common.messages.ClearWhiteboardReplyMessage; import org.bigbluebutton.common.messages.GetWhiteboardShapesReplyMessage; import org.bigbluebutton.common.messages.IsWhiteboardEnabledReplyMessage; import org.bi...
package assignment_basics; // Question 18 public class Palindrome { static int reverse(int i){ if (i<0){ return 0; } else{ int num = 0; while (i!= 0){ num = (num*10)+(i%10); i = i/10; } re...
package com.litle.sdk; import java.util.Calendar; public class JAXBConverters { public static Calendar parseDate(String value){ if(value == null){ return null; } return (javax.xml.bind.DatatypeConverter.parseDate(value)); } public static String printDate(Calendar valu...
/* * 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 ...