text stringlengths 7 995k |
|---|
package com.harmonycloud.zeus.service.k8s;
import com.harmonycloud.caas.common.model.middleware.Middleware;
import com.harmonycloud.caas.common.model.middleware.PodInfo;
import java.util.List;
/**
* @author dengyulong
* @date 2021/03/23
*/
public interface PodService {
/**
* 查询pod列表
*
* @param... |
package com.lengkeng.oophrm.fragments;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import an... |
package pattern.behavioral.visitor.repairCar;
public class RepairShopApplication {
public RepairShopApplication() {
Car car = new Car();
Mechanic newbie = new Newbie();
Mechanic master = new Master();
car.tested(newbie);
car.tested(master);
}
} |
package org.anasthase.androidseekbarpreference.demo;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Build;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.preference.... |
package rocks.cleanstone.data;
import com.google.common.base.Preconditions;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import rocks.cleanstone.net.utils.ByteBufUtils;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
/**
* Codec proxy that allows the underlying main c... |
/*******************************************************************************
* Copyright (c) 1991, 2021 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at https://w... |
/*
* 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 org.launchcode.shipmentdiscrepancytracker.data;
import org.launchcode.shipmentdiscrepancytracker.models.Discrepancy;
import org.launchcode.shipmentdiscrepancytracker.models.Supplier;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
@Repository
public... |
package com.alibaba.alink.operator.batch.recommendation;
import java.util.function.Consumer;
import com.alibaba.alink.operator.batch.BatchOperator;
import com.alibaba.alink.operator.batch.classification.FmClassifierTrainBatchOp;
import com.alibaba.alink.operator.batch.dataproc.JsonValueBatchOp;
import com.alibaba.ali... |
package com.fank243.cloud.common.datasource.annotation;
import com.baomidou.dynamic.datasource.annotation.DS;
import java.lang.annotation.*;
/**
* 主库数据源
*
* @author FanWeiJie
* @date 2021-04-05 23:41:10
*/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@DS("mast... |
package prism;
import parser.ast.Coalition;
import parser.ast.RelOp;
import explicit.MinMax;
/**
* Class to represent info (operator, relational operator, bound, etc.) found in a P/R/S operator.
*/
public class OpRelOpBound
{
protected String op;
protected RelOp relOp;
protected boolean numeric;
protected doubl... |
package com.InfinityRaider.AgriCraft.items;
import com.InfinityRaider.AgriCraft.blocks.BlockCrop;
import com.InfinityRaider.AgriCraft.init.Blocks;
import com.InfinityRaider.AgriCraft.tileentity.TileEntityCrop;
import com.InfinityRaider.AgriCraft.tileentity.TileEntityTank;
import com.InfinityRaider.AgriCraft.utility.Lo... |
/**
*
* Copyright (C) 2012-2013 DuyHai DOAN
*
* 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.grayditch.netarea.domain.repository;
import com.grayditch.netarea.domain.Subject;
import com.grayditch.netarea.domain.UserDetails;
import java.util.List;
import rx.Observable;
/**
* Created by gerard on 15/04/16.
*/
public interface UserRepository {
void getUserDetails(Callback callback);
voi... |
package org.rumbledb.types;
import org.apache.spark.sql.types.DataType;
import org.apache.spark.sql.types.DataTypes;
import org.rumbledb.context.Name;
import java.util.Set;
/**
* Class representing the generic 'item' item type
*/
public class JsonItemType implements ItemType {
private static final long serial... |
/*
* 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... |
import java.util.*;//package attachment to program; package name: util
class R
{public static void main(String a[])
{
int p;//variable declaration
System.out.print("please enter a no");
Scanner s1=new Scanner(System.in);//object creation of Scanner class
p=s1.nextInt();//storing the inputted no in p... |
/**
* Copyright 2011 The Apache Software Foundation
*
* 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... |
/*
* Copyright (C) 2003-2007 Jost Boekemeier
*
* 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... |
package ru.hh.radar;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class ApplicationTests {
@Test
void contextLoads() {
}
} |
package process;
import com.google.common.base.MoreObjects;
import rewriting.terms.FrameVariableTerm;
import rewriting.terms.Sort;
import rewriting.terms.Term;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
/**
* SPAN - Stochastic Protocol Analyzer
* <p>
* Create... |
package com.walmartlabs.concord.plugins.log;
/*-
* *****
* Concord
* -----
* Copyright (C) 2017 - 2018 Walmart 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
*
* ... |
/*
* Copyright 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 applicabl... |
/*
* 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 nl.ufp.books.rest;
import nl.ufp.books.Book;
import nl.ufp.books.repository.BooksRepository;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.R... |
package edureka.array;
public class arrayQuestion {
public static void main(String[] args) {
char[] source = {'A','B','C','D','H'}; // Source array
char[] destination = new char[7];
//copy source array into destination array
System.arraycopy(source, 0, destination, 1, 5);
System.out.println(n... |
package com.xiaofong.factory.pattern;
public interface Shape {
void draw();
} |
/* ###
* IP: GHIDRA
*
* 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 writin... |
package org.example.api.beans;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
@javax.enterprise.context.ApplicationScoped
public enum EnumType {
OPTION1("OPTION1"),
OPTION2("OPTION2"),
OPTION3("OPTION... |
/**
* 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... |
package org.vasttrafik.wso2.carbon.community.api.dao.impl.jdbc;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.vasttrafik.wso2.carbon.community.api.dao.AttachmentDAO;
import org.vasttrafik.wso2.carbon.community.api.dao.impl.jdbc.commons.GenericDAO;
import org.va... |
package org.sunbird.service.user.impl;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.sunbird.dao.user.UserExternalIdentityDao;
import org.sunbird.dao.user.i... |
/*
* 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 2019 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 (C) 2016 Marvin Herman Froeder (marvin@marvinformatics.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
*
*... |
/*
* 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.fries.reflection.metadata;
import org.junit.Test;
import java.util.Optional;
import static org.assertj.core.api.Assertions.assertThat;
public class ClassMetadataTest {
private static final String CLASS_NAME = "com/example/handlers/DefaultHandler.class";
private static final String INNER_CLASS_NAME = ... |
/*
* Copyright 2012-2021 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 2016 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... |
package com.erdenbatuhan.mvc;
/*
* Project : CourseQuerySystem
* Class : CoursesOffered.java
* Developer : Batuhan Erden
*/
import com.erdenbatuhan.object.Course;
import java.util.*;
import org.json.simple.*;
public class CoursesOffered {
private ArrayList<Course> courses = new ArrayList<Course>();
pub... |
package com.light.paas.zk.web.config;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder;
import org.springframework.web.reactive.... |
/*
* 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... |
package oop.chiff.javapetrinets;
import javax.swing.*;
public class Window extends JFrame{
public Window(){
super();
this.setSize(600,700);
this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
}
} |
// generated with ast extension for cup
// version 0.8
// 18/0/2018 3:6:23
package rs.ac.bg.etf.pp1.ast;
public abstract class DeclarationsList implements SyntaxNode {
private SyntaxNode parent;
private int line;
public SyntaxNode getParent() {
return parent;
}
public void setParent(S... |
package com.matchbook.sdk.rest.readers.prices;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.when;
import com.matchbook.sdk.rest.dtos.prices.Currency;
import com.matchbook.sdk.rest.dtos.prices.ExchangeType;
import com.matchbook.sdk.rest.dtos.prices.OddsType;
import com.ma... |
/**
* Copyright 2010-2015 Axel Fontaine
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or ... |
package com.java2nb.novel.mapper;
import com.java2nb.novel.entity.Book;
import com.java2nb.novel.search.BookSP;
import com.java2nb.novel.vo.BookVO;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
* @author Administrator
*/
public interface FrontBookMapper extends BookM... |
/*
* Copyright (c) 2008-2016, 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 visualfamilyclassifier.business;
import weka.attributeSelection.AttributeSelection;
import weka.attributeSelection.InfoGainAttributeEval;
import weka.attributeSelection.Ranker;
import weka.classifiers.trees.J48;
import weka.core.DenseInstance;
import weka.core.Instance;
import weka.core.converters.ConverterUti... |
package com.dianping.cat.home.alert.summary.transform;
import static com.dianping.cat.home.alert.summary.Constants.ENTITY_ALERT;
import static com.dianping.cat.home.alert.summary.Constants.ENTITY_ALERT_SUMMARY;
import static com.dianping.cat.home.alert.summary.Constants.ENTITY_CATEGORY;
import java.io.BufferedInputSt... |
package main;
import java.io.Console;
import java.util.*;
import java.io.*;
public class Bank {
public static final String CREATE_USR = "create username: ";
static final String CREATE_PWD = "create password: ";
static final String USR_TAKEN = "username taken";
static final String GET_USR = "enter username: ";... |
package com.xgames.model;
public enum Platform {
PLAYSTATION_3("PlayStation 3"),
PLAYSTATION_4("PlayStation 4"),
XBOX_360("XBOX 360"),
XBOX_ONE("XBOX One"),
NINTENDO_SWITCH("Nintendo Switch"),
PC("PC");
private String description;
Platform(String description) {
this.descriptio... |
package com.pandy.myRPCVersion6.loadbalance;
import java.util.List;
/**
* 给服务器地址列表,根据不同的负载均衡策略选择一个
*/
public interface LoadBalance {
String balance(List<String> addressList);
} |
/*
* Copyright 2021 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 applic... |
/*
* Copyright 2018 The Data Transfer Project 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 applicab... |
/*
* 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... |
package algorithms.clustering.text_clusterer;
/* This file is copyright (c) 2014-2015 Sabarish Raghu
*
* This file is part of the SPMF DATA MINING SOFTWARE
* (http://www.philippe-fournier-viger.com/spmf).
*
* SPMF is free software: you can redistribute it and/or modify it under the
* terms of the GNU General Publ... |
//package team.easytravel.logic.commands;
//
//import static org.junit.jupiter.api.Assertions.assertEquals;
//import static org.junit.jupiter.api.Assertions.assertFalse;
//import static org.junit.jupiter.api.Assertions.assertNotEquals;
//import static org.junit.jupiter.api.Assertions.assertTrue;
//
//import org.junit.j... |
package cloud.codecloud.consumer;
import cloud.codecloud.common.constants.RabbitConstants;
import cloud.codecloud.pojo.po.MessageStructPO;
import cn.hutool.core.date.DateUtil;
import cn.hutool.json.JSONUtil;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.MessageProperties;
import lombok.extern.slf4j.Sl... |
package readlearncode.session3.subsection2;
/**
* Source code github.com/readlearncode
*
* @author Alex Theedom www.readlearncode.com
* @version 1.0
*/
public class TrickyFinallyExample {
public static void main(String... args) {
System.out.println(calculateScore());
}
private static int cal... |
/*
* This file is part of fabric-loom, licensed under the MIT License (MIT).
*
* Copyright (c) 2016, 2017, 2018 FabricMC
*
* 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 restr... |
/*******************************************************************************
* Copyright (c) 2021 Nguyen, Howie S. (howiesynguyen@gmail.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 Li... |
package org.apache.drill.exec.store.couch.util;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.io.OutputStreamWriter;
public class SimpleHttp {
public String get(String urlStr) {
String res... |
/*
* Copyright (C) 2013 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 ... |
/**
* 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
* distribu... |
package com.mapbox.api.directionsrefresh.v1.models;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.google.auto.value.AutoValue;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.TypeAdapter;
import com.mapbox.api.directions.v5.Di... |
package com.guild.api.demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import zipkin.server.EnableZipkinServer;
@SpringBootApplication
@EnableZipkinServer
public class ZipkinServerApplication {
public static void main(String[] args) {
... |
/*
* 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... |
/*
* Copyright 2011-2019 GatlingCorp (https://gatling.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 appli... |
package org.nbone.persistence.db;
import java.sql.*;
import javax.persistence.PersistenceException;
import javax.sql.DataSource;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.jdbc.datasource.DataSourceUtils;
/**
*
* @author uap
* @author thinking
... |
/*
* 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... |
/*
* Copyright 2014-2020 Real Logic Limited.
*
* 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 ... |
/*
* 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.org.eshow.service.impl;
import cn.org.eshow.bean.query.TopicCommentQuery;
import cn.org.eshow.common.page.Page;
import cn.org.eshow.dao.TopicCommentDao;
import cn.org.eshow.model.TopicComment;
import cn.org.eshow.service.TopicCommentManager;
import cn.org.eshow.service.impl.GenericManagerImpl;
import java.... |
// Copyright (c) 2018, 2020, Oracle Corporation and/or its affiliates.
// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
package oracle.kubernetes.weblogic.domain.model;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import io.kubernet... |
/**
* Copyright (c) Microsoft Corporation
* <p/>
* All rights reserved.
* <p/>
* MIT License
* <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 withou... |
/*
* Copyright (c) 1995, 2021, 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 ... |
/*
* Copyright (c) 2015 Ha Duy Trung
*
* 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.blackmoonit.androidbits.database;
/*
* Copyright (C) 2014 Blackmoon Info Tech Services
*
* 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/licens... |
/*
* Copyright (c) 2017 Carbon Security Ltd. <opensource@carbonsecurity.co.uk>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS... |
// ============================================================================
//
// Copyright (C) 2006-2017 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.hitzd.his.casehistory.helper;
import java.util.HashMap;
import java.util.Map;
import com.hitzd.his.Beans.Middle.TTableConfig;
import com.hitzd.his.Utils.Config;
import com.hitzd.his.report.utils.ClassLoaderUnit;
public class CaseHistoryFactory
{
public static synchronized ICaseHistoryHelper getCaseHist... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package edu.wpi.first.hal;
@SuppressWarnings("AbbreviationAsWordInName")
public class REVPHFaults {
@SuppressWarnings... |
/*
* Copyright 2010-2011 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... |
/*
* 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")... |
package com.zxjia.ssmp.controller;
import com.zxjia.ssmp.dto.CartRequest;
import com.zxjia.ssmp.service.CartService;
import com.zxjia.ssmp.vo.CartListVo;
import com.zxjia.ssmp.vo.ResultVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation... |
package io.tackle.pathfinder.controllers;
import io.quarkus.test.common.QuarkusTestResource;
import io.quarkus.test.common.ResourceArg;
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.http.ContentType;
import io.tackle.commons.testcontainers.KeycloakTestResource;
import io.tackle.commons.testcontainers... |
package com.github.clans.daviart.util;
import android.annotation.TargetApi;
import android.content.res.ColorStateList;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.RippleDrawable;
import android.os.Build;
import android.support.annotation.ColorInt;
imp... |
package cc.sylar.elasticsearch.proxy.beans.search.request.base.sort;
import cc.sylar.elasticsearch.proxy.beans.common.ScriptParamsConverter;
import cc.sylar.elasticsearch.proxy.beans.search.request.fuction.ScriptSetter;
import com.sun.tools.javac.util.Assert;
import java.util.Map;
/**
* @author sylar
* @Descriptio... |
/*
* Copyright 2021 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 a... |
package ornek_33;
import java.util.Scanner;
public class Driver {
public static void main(String[] args) {
Scanner scanner =new Scanner(System.in);
int i,k,n,total = 1;
System.out.print("Sayı giriniz:");
k=scanner.nextInt();
System.out.print("Üssü giriniz:");
n=scanner.nextInt();
//3^4 k*k*k...n t... |
/*-
* ============LICENSE_START=======================================================
* SDC
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ===================================================================... |
package org.ml4j.nn.components.axons;
import org.ml4j.MatrixFactory;
import org.ml4j.nn.axons.ScaleAndShiftAxons;
import org.ml4j.nn.components.axons.base.BatchNormDirectedAxonsComponentTestBase;
import org.ml4j.nn.components.mocks.MockTestData;
import org.ml4j.nn.neurons.Neurons;
import org.ml4j.nn.neurons.NeuronsAct... |
package algs.model.tests.array;
import org.junit.Test;
import algs.model.array.FirstSelector;
import algs.model.array.IPivotIndex;
import algs.model.array.LastSelector;
import algs.model.array.MedianSelector;
import algs.model.array.PISelector;
import algs.model.array.QuickSort;
import algs.model.array.RandomSelector... |
/*
* MOTECH PLATFORM OPENSOURCE LICENSE AGREEMENT
*
* Copyright (c) 2011 Grameen Foundation USA. 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 r... |
package org.succlz123.blueboard.view.adapter.recyclerview.tab;
import org.succlz123.blueboard.MyApplication;
import org.succlz123.blueboard.R;
import org.succlz123.blueboard.base.BaseRvViewHolder;
import org.succlz123.blueboard.model.api.acfun.AcString;
import org.succlz123.blueboard.model.utils.common.OkUtils;
impor... |
package netweb;
public class GetResource {
public static void main(String[] argv) {
Class c = GetResource.class;
java.net.URL u = c.getResource("GetResource.java");
System.out.println(u);
}
} |
package io.github.dunwu.javacore.exception;
public class ThrowDemo {
public static void main(String[] args) {
f();
}
public static void f() {
try {
throw new RuntimeException("抛出一个异常");
} catch (Exception e) {
System.out.println(e);
}
}
}; |
package kr.ac.gwnu.ar.remote;
public class RemoteLocation {
private double lat;
private double lng;
private String title;
private String webpage;
private String object_url;
private int has_detail_page;
private int elevation;
public double getLat() {
return lat;
}
public void setLat(double lat) {
this.l... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.