text stringlengths 7 995k |
|---|
/*
* Copyright (c) 2017 Okra Scheduler
*
* 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, publ... |
/*===========================================================================
* Licensed Materials - Property of IBM
* "Restricted Materials of IBM"
*
* IBM SDK, Java(tm) Technology Edition, v8
* (C) Copyright IBM Corp. 2000, 2004. All Rights Reserved
*
* US Government Users Restricted Rights - Use, duplication... |
package org.wso2.carbon.apimgt.rest.api.gateway.v1.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;
import io.swagger.annotations.*;
import java.util.Objects;
impo... |
package com.tyrfing.games.id17.gui.mails;
import com.tyrfing.games.id17.gui.DefaultItemListEntry;
import com.tyrfing.games.id17.gui.PaperButton;
import com.tyrfing.games.id17.gui.TabGUI;
import com.tyrfing.games.id17.houses.House;
import com.tyrlib2.graphics.renderables.FormattedText2.ALIGNMENT;
import com.tyrlib2.gui... |
/*
* Challenge Activity I - Product Catalog Demo II
*
* In this activity, we will extend the product catalog demo example to include
* a new product:
*
* 1. Movie.java with:
* - Constructor
* - getRunlength() / setRunlength() methods
* 2. And adjust the main() method to include the movie
* "Termin... |
/* 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
... |
/*
* 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 Brent Douglas and other contributors
* as indicated by the @author tags. 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.or... |
// Copyright (c) 2002 Graz University of Technology. 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
// l... |
/*
* Copyright 2014 - Present Rafael Winterhalter
*
* 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... |
/*
* This file is generated by jOOQ.
*/
package org.jooq.codegen.maven.example.routines;
import org.jooq.Field;
import org.jooq.Parameter;
import org.jooq.codegen.maven.example.Public;
import org.jooq.impl.AbstractRoutine;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;
/**
* This class is gener... |
package io.committed.gazetteer.repositories;
import io.committed.gazetteer.model.Keyword;
import org.springframework.data.domain.Sort;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.util.Streamable;
import org.springframework.stereotype.Repository;
@Repository
public interf... |
/*
* Copyright 2000-2016 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 2002-2017 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... |
package com.hugh.mallonline.member.controller;
import java.util.Arrays;
import java.util.Map;
//import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.... |
/*
* Copyright 2015-2019 Connor Van Elswyk
*
* 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 net.minecraft.server;
public interface IMerchant {
void a_(EntityHuman entityhuman);
EntityHuman b();
MerchantRecipeList getOffers(EntityHuman entityhuman);
void a(MerchantRecipe merchantrecipe);
void a_(ItemStack itemstack);
} |
/*
* Copyright 2014 Pedro Ribeiro
*
* 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... |
// Template Source: BaseMethodRequestBuilder.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -----------------------------... |
// Copyright 2000-2020 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 org.jetbrains.plugins.groovy.lang.psi.impl;
import com.intellij.codeInsight.javadoc.JavaDocInfoGenerator;
import com.intellij.lang.ASTNode;
import com.intellij.openapi.di... |
package com.mricefox.archmage.processor;
/**
* <p>Author:MrIcefox
* <p>Email:extremetsa@gmail.com
* <p>Description:
* <p>Date:2018/1/29
*/
public class AnnoProcessException extends RuntimeException {
public AnnoProcessException() {
}
public AnnoProcessException(String s) {
super(s);
}
... |
package com.clover_studio.spikachatmodule.models;
import android.os.Parcel;
import android.os.Parcelable;
import com.clover_studio.spikachatmodule.base.BaseModel;
/**
* Created by ubuntu_ivo on 21.07.15..
*/
public class LocationModel{
public double lat;
public double lng;
@Override
public String... |
package com.returnfly_33424;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript. This is used to schedule
* rendering of the component.
*/
@Override
protected String getMainComponentName() {... |
/**
* Copyright (c) 2013-2020 Nikita Koksharov
*
* 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... |
/*
* Copyright 2010 Proofpoint, 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 agree... |
/*
* Copyright (c) 2011-2012 CommonsWare, LLC
* portions Copyright (C) 2011 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.... |
/*
The MIT License (MIT)
Copyright (c) 2015 Los Andes University
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.atguigu.gmall.sms.mapper;
import com.atguigu.gmall.sms.entity.MemberPriceEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 商品会员价格
*
* @author shenpengfei
* @email shenpengfei@atguigu.com
* @date 2021-06-26 21:02:24
*/
@Mapper
public i... |
package icap_samplecode;
import java.io.BufferedOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;
import java.nio.charset.Charse... |
package org.hl7.fhir.dstu2.model;
/*-
* #%L
* org.hl7.fhir.dstu2
* %%
* Copyright (C) 2014 - 2019 Health Level 7
* %%
* 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:/... |
/*
* Copyright 2020 EMBL - European Bioinformatics Institute
*
* 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 b... |
package com.aether.common.utils.SM2SM4;
import org.bouncycastle.crypto.AsymmetricCipherKeyPair;
import org.bouncycastle.crypto.params.ECPrivateKeyParameters;
import org.bouncycastle.crypto.params.ECPublicKeyParameters;
import org.bouncycastle.math.ec.ECPoint;
import java.io.IOException;
import java.math.BigInteger;
... |
package com.gracefulwind.learnarms.copy.api;
/**
* ================================================
* 存放一些与 API 有关的东西,如请求地址,请求码等
* <p>
* Created by ArmsComponentTemplate on 05/13/2020 17:02
* <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
* <a href="https://github.com/JessYanCoding">Follow me</a>
* <... |
/*
* 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 sparkengine.plan.runtime.builder.dataset;
import org.apache.spark.sql.Encoders;
import org.apache.spark.sql.types.DataTypes;
import org.junit.jupiter.api.Test;
import sparkengine.plan.model.component.Component;
import sparkengine.plan.model.component.catalog.ComponentCatalog;
import sparkengine.plan.model.comp... |
import io.EasyReader;
import java.text.NumberFormat;
/******************************************************************************
* The <CODE>FormatWriter</CODE> class has a collection of static methods for
* writing formatted output to System.out.
*
* <dt><b>Java Source Code for this class:</b><dd>
* <A HREF="... |
/**
* Copyright 2016 OpenSemantics.IO
*
* 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 org.animetwincities.animedetour.schedule;
import java.util.List;
/**
* A 1:1 exact representation of the Event structure on firebase.
*
* This will be mostly stringly typed, and transformed into a local model
* for use in the application. Do not use this model directly.
*/
class FirebaseEvent
{
publi... |
package org.eolang.internal.io.net.http;
public class Header {
private final String key;
private final String value;
public Header(String key, String value) {
this.key = key;
this.value = value;
}
public String getKey() {
return key;
}
public String getValue() {
... |
/*
* Copyright (c) 2010, 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 Softwa... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/*
* Copyright 2013-2017 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 © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.shark.base.modules.cms.dao;
import com.shark.base.common.persistence.CrudDao;
import com.shark.base.common.persistence.annotation.MyBatisDao;
import com.shark.base.modules.cms.entity.Guestbo... |
/**
* CustomTargetingServiceInterface.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.v201208;
public interface CustomTargetingServiceInterface extends java.rmi.Remote {
/**
* Creates new {@link Cu... |
/*
* Copyright 2017-2020 original 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 applicable law or agr... |
package me.gopro336.zenith.feature.toggleable.movement;
import com.mojang.authlib.GameProfile;
import me.gopro336.zenith.api.util.newUtil.ChatUtils;
import me.gopro336.zenith.event.network.PacketSendEvent;
import me.gopro336.zenith.feature.AnnotationHelper;
import me.gopro336.zenith.feature.Category;
import me.gopro33... |
package br.com.letscode;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import tech.jhipster.config.DefaultProfileUtil;
/**
* This is a helper Java class that provides an alternative to creating a {@code web.xml}.
*... |
package com.example.composite.model;
import lombok.Data;
import java.util.Collection;
/**
* Created by a.c.parthasarathy
*/
@Data
public class BookingDetail {
private Reservation reservation;
private Collection<Venue> venues;
} |
package mezz.jei.config;
import mezz.jei.ingredients.IngredientSortStage;
import mezz.jei.util.GiveMode;
import java.util.List;
public interface IClientConfig {
boolean isDebugModeEnabled();
boolean isCenterSearchBarEnabled();
boolean isLowMemorySlowSearchEnabled();
boolean isCheatToHotbarUsingHotkeysEnabled(... |
package com.company.ui;
import com.company.model.*;
import com.company.model.enums.Errors;
import com.company.utils.FunctionalUtil;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Scanner;
import static com.company.model.enums.Errors.*;
public class Main {
public static void main(String... |
package br.com.esign.postdenuncia.dao;
import java.io.Serializable;
import com.googlecode.genericdao.dao.hibernate.GenericDAOImpl;
public class GenericDAO<T, ID extends Serializable> extends GenericDAOImpl<T, ID> {
public GenericDAO() {
setSessionFactory(HibernateUtil.getSessionFactory());
}
} |
package globals.map;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import globals.Vector2D;
public class Map {
private List<Waypoint> waypoints = new ArrayList<Waypoint>();
public List<Waypoint> getWaypoints() {
return waypoints;
}
public Waypoint getRandomWa... |
package com.sme.hadoop.writer;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.JsonNodeFactory;
/**
* Prepares JSON output with {@link LongWritable}.
*/
public class LongJsonOutputFormat extends A... |
package tools;
import java.util.Arrays;
import handTypes.*;
/**
* @author Eric Le Fort
* @version 2.0
*/
public class HandAnalyzer{
/**
* Takes in seven <code>Cards</code> and determines the best possible <code>PokerHand</code> from them.
* @param fullHand - The array of <code>Cards</code> to check for a h... |
/***
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2011 INRIA, France Telecom
* 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. Redistribution... |
package dk.sebsa.amber_engine.rendering;
public abstract class Window {
public abstract boolean render();
public abstract void close();
} |
/*
* Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
* Copyright 2018 SmartBear Software
*
* 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:/... |
package br.com.labs.buscacep.dao;
import br.com.labs.buscacep.entidade.Autorizacao;
import br.com.labs.buscacep.util.Constantes;
import javax.persistence.NoResultException;
public class AutorizacaoDAO extends BaseDAO<Autorizacao> {
private static final long serialVersionUID = 1L;
public AutorizacaoDAO() {
super... |
package easy;
import java.util.Stack;
public class IsValid {
public static void main(String args[]) {
}
public boolean isVaild(String s) {
Stack<Character> stack =new Stack<Character>();
for(char c:s.toCharArray()) {
if(c=='(')
stack.push(')');
else if(c=='}')
stack.push('}');
else if(c=='[')
... |
package com.xtoon.boot.interfaces.facade;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
/**
* 租户Facade测试类
*
... |
/*
* Copyright 1999-2015 dangdang.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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/***
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2011 INRIA, France Telecom
* 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. 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 ... |
/*
* Copyright Terracotta, 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 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package org.drools.compiler.integrationtests;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.drools.compiler.CommonTestMethodBase;
import org.junit.Test;
import org.kie.api.KieServices;
import org.kie.api.builder.KieBuilder;
import org.kie.api.builder.KieFileSystem;
import org.... |
package io.quarkus.smallrye.reactivemessaging.rabbitmq.deployment;
import javax.enterprise.context.ApplicationScoped;
import com.rabbitmq.client.impl.CredentialsProvider;
import io.quarkus.arc.deployment.AdditionalBeanBuildItem;
import io.quarkus.arc.deployment.SyntheticBeanBuildItem;
import io.quarkus.arc.deploymen... |
/*
* This file is part of dtmlibs.
*
* Copyright (c) 2017 Jeremy Wood
*
* 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
* ... |
/*
* Copyright 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 writing... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.instrumentation.servlet.filter;
import io.opentelemetry.instrumentation.api.tracer.BaseTracer;
public class FilterTracer extends BaseTracer {
private static final FilterTracer TRACER = new Filter... |
// Copyright 2000-2020 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.conversion.impl;
import com.intellij.conversion.CannotConvertException;
import com.intellij.conversion.RunManagerSettings;
import com.intellij.execution.impl... |
package org.broadinstitute.hellbender.utils.codecs.gencode;
import org.broadinstitute.hellbender.utils.SimpleInterval;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
/**
* Struct-like container class for the fields in a {@link GencodeGtfFeature}
*
* This is designed to be a basic dum... |
package org.odk.collect.android.widgets;
import android.content.ComponentName;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import org.javarosa.core.model.QuestionDef;
import org.javarosa.core.model.data.GeoPointData;
import org.javarosa.core.model.data.StringData;
import org.jav... |
package com.leer.myoschina;
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 add... |
/*
* Copyright (c) 2008-2018, 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 org.adligo.tests4j.models.shared.reference_groups.jse.v1_7;
import org.adligo.tests4j.models.shared.reference_groups.jse.v1_6.I_JSE_1_6_Util;
public interface I_JSE_1_7_Util extends I_JSE_1_6_Util {
public static final String LOCALE_BUILDER = "java.util.Locale$Builder";
public static final String OBJECTS =... |
/*
* Copyright 2010-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... |
package jp.co.yahoo.adsdisplayapi.v6.model;
import java.util.Objects;
import io.swagger.annotations.ApiModel;
import com.fasterxml.jackson.annotation.JsonValue;
import javax.validation.Valid;
import javax.validation.constraints.*;
import com.fasterxml.jackson.annotation.JsonCreator;
/**
* <div lang=\"ja\"> 商品セットの設定... |
/*
* unichain-core 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.
*
* unichain-core is distributed in the hope that it will be u... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See License.txt in the repository root.
package com.microsoft.tfs.util;
import java.util.Locale;
public class LocaleUtil {
/**
* Useful constant for the root locale. The root locale is the locale whose
* language, count... |
/*
* Copyright 2013 Filippo De Luca - me@filippodeluca.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.tangkuo.cn.pay.zftk.util;
import java.io.File;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.regex.Matcher;
import java.ut... |
package com.ts.util;
class ExcelData{
private String value;//单元格的值
private int colSpan = 1;//单元格跨几列
private int rowSpan = 1;//单元格跨几行
private boolean alignCenter;//单元格是否居中,默认不居中,如果选择是,则水平和上下都居中
public boolean isAlignCenter() {
return alignCenter;
}
public void setAlignCenter(boolean alignCenter) {
this.align... |
package za.ac.unisa.lms.tools.unmarkassfollowup.forms;
import za.ac.unisa.lms.domain.general.Person;
public class SummaryRecord {
private String daysOutstandingRange;
private String daysOutstanding;
private String accumalate;
private String total;
private String collegeAbbreviation;
private String schoolAbbre... |
/*
* 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... |
//******************************************************************************
// SCICHART® Copyright SciChart Ltd. 2011-2017. All rights reserved.
//
// Web: http://www.scichart.com
// Support: support@scichart.com
// Sales: sales@scichart.com
//
// SecondaryYAxesFragment.java is part of the SCICHART® Examples. Pe... |
/*
* 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 de.uhd.ifi.se.pcm.bppcm.bpusagemodel.tests;
import de.uhd.ifi.se.pcm.bppcm.bpusagemodel.Activity;
import de.uhd.ifi.se.pcm.bppcm.bpusagemodel.BpusagemodelFactory;
import junit.framework.TestCase;
import junit.textui.TestRunner;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em>... |
/*
* 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... |
package Utilities;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.channels.FileChannel;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
/**
* Tools for hand... |
/*
* 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 2014 Alexey Andreev.
*
* 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.flipkart.portkey.common.exception;
/**
* @author santosh.p
*/
public class ShardNotAvailableException extends QueryExecutionException
{
/**
*
*/
private static final long serialVersionUID = -3231739591791619783L;
/**
*
*/
public ShardNotAvailableException()
{
}
/**
* @pa... |
/*
* XML Type: DisplayNameType
* Namespace: http://lmp.nci.nih.gov/mim/mimVisLevel1
* Java type: gov.nih.nci.lmp.mim.mimVisLevel1.DisplayNameType
*
* Automatically generated - do not modify.
*/
package gov.nih.nci.lmp.mim.mimVisLevel1.impl;
/**
* An XML DisplayNameType(@http://lmp.nci.nih.gov/mim/mimVisLevel1).... |
package com.guardanis.applock;
import android.app.Activity;
import android.os.Bundle;
import android.widget.Toast;
import com.guardanis.applock.locking.ActivityLockingHelper;
import com.guardanis.applock.pin.PINInputController;
public class CreateLockActivity extends BaseLockActivity {
private ActivityLockingHe... |
package com.joshlong.spring.walkingtour.ioc.manybeans;
public class Dog {
public void bark() {
System.out.println("bark!");
}
} |
package com.mrh.qspl.val;
public interface ValueType<T> extends Arithmetic, Comparable<ValueType> {
public T get();
public ValueType duplicate();
public boolean isUndefined();
public int intValue();
} |
////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2017 mzhg
//
// 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/li... |
@SuppressWarnings("unchecked")
@Override
public Object clone() {
try {
SortableList<E> clone = (SortableList<E>) super.clone();
clone.array = (E[]) Array.newInstance(array.getClass().getComponentType(), array.length);
System.arraycopy(array, 0, clone.array, 0, array.l... |
package com.alipay.api.request;
import com.alipay.api.domain.AlipayOpenMiniBrandBundleQueryModel;
import java.util.Map;
import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayOpenMiniBrandBundleQueryResponse;
import com.alipay.api.AlipayObject;
/*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.