text stringlengths 7 995k |
|---|
/*
* Copyright (C) 2006 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 dev.vality.scheduledpayoutworker.dao;
import dev.vality.payouter.domain.tables.pojos.ShopMeta;
import dev.vality.scheduledpayoutworker.config.AbstractPostgreTestContainerConfig;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.con... |
package com.kc.base.nc.bean;
import com.kc.base.utils.DictUtil;
import javax.xml.bind.annotation.*;
import java.util.List;
@XmlRootElement(name="billhead")
@XmlAccessorType(XmlAccessType.NONE)
@XmlSeeAlso(value={})
public abstract class BillHead{
//所属集团,最大长度为20,类型为:String
private String pk_group;
//所属组织,最大长度为20,类... |
package com.example.sulemaia.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.Text... |
package com.ibm.pojo.SpecimenResource;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
public class Capacity {
public int value;
public String unit;
public int getValue() { return value; }
public void setValue(int value) { this.value = value; }
public void setUnit(String unit... |
package tasks;
import entities.Town;
import javax.persistence.EntityManager;
import java.util.List;
import static tasks.Queries.GET_ALL_TOWNS;
public class RemoveObjects extends Task {
public RemoveObjects(EntityManager manager) {
super(manager);
}
@Override
public void run() {
Lis... |
/*
* Copyright 2015 Octavian Hasna
*
* 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... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * 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 license... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package com.ojas.ra.transfer;
public class TokenTransfer
{
private final String token;
public TokenTransfer(String token)
{
this.token = token;
}
public String getToken()
{
return this.token;
}
} |
package com.blazebit.ai.decisiontree;
import com.blazebit.ai.decisiontree.impl.*;
import org.junit.Test;
import java.util.*;
/**
* @author Christian Beikov
*/
public class DecisionTreePerformanceTest {
private static final Set<Example<Boolean>> examples;
private static final Set<Attribute> attributes = ne... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
// 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... |
/**
* Problem Link : https://cses.fi/problemset/task/1636
* Runtime : 0.34s
*/
package cses.dynamicProgramming;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class CoinCombinations2 {
public static void main(String args[]) throws Exception {
Buffere... |
package ClassificationTraining.PatternSlowFastPointer;
/**
* @Classname MiddleNode
* @Description TODO
* @Date 2020/7/24 23:41
* @Created by Administrator
*/
public class MiddleNode {
public ListNode middleNode(ListNode head) {
if(head == null || head.next == null) {
return head;
}... |
package org.hidetake.groovy.ssh.core;
/**
* Proxy type.
* Implemented as Java native enum for Gradle 1.x compatibility.
*
* @author mlipper
* @author Hidetake Iwata
*/
public enum ProxyType {
HTTP,
SOCKS
} |
/**
* Copyright 2016-2017 Sixt GmbH & Co. Autovermietung KG
* 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... |
/*
* 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 unipi.di.socc.ramp.unit.model.globalState;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import unipi.di.socc.ramp.core.model.Application;
import unipi.di.socc... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.applicationinsights.v2015_05_01.implementation;
... |
package com.imbus.bank.personalServiceModule.dao;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.math.BigDecimal;
@Mapper
@Repository
public interface PersonalRateDao {
BigDecimal getRate(int month);
} |
package com.planet_ink.coffee_mud.Behaviors;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_i... |
/*
* Licensed to ElasticSearch and Shay Banon 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... |
/*
* Copyright 2016-present Open Networking Laboratory
*
* 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 com.volmit.react.util;
import java.util.UUID;
public class Fingerprint {
public static String randomFingerprint(String h) {
String k = "";
k = k + UUID.randomUUID().toString();
k = k.replaceAll("-", "d6a" + h);
return k;
}
} |
/*
* Copyright (c) 2005-2011 Grameen Foundation USA
* 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
*
* Unl... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
package im.actor.core.api.rpc;
/*
* Generated by the Actor API Scheme generator. DO NOT EDIT!
*/
import im.actor.runtime.bser.*;
import im.actor.runtime.collections.*;
import static im.actor.runtime.bser.Utils.*;
import im.actor.core.network.parser.*;
import org.jetbrains.annotations.Nullable;
import org.jetbrains... |
/*
* Copyright 2012-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 com.example.velm.iot.activities;
import android.content.Context;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerVie... |
/*******************************************************************************
* Copyright (c) Microsoft Corporation
*
* 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 restricti... |
package com.edmiidz.feelfix;
import android.app.Activity;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget... |
/*
* Copyright 2017-2018 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package mightypork.utils.eventbus.events;
import mightypork.utils.eventbus.BusEvent;
import mightypork.utils.eventbus.events.flags.DirectEvent;
import mightypork.utils.eventbus.events.flags.NonConsumableEvent;
import mightypork.utils.eventbus.events.flags.NonRejectableEvent;
import mightypork.utils.interfaces.Destroy... |
package de.chandanand.common.model;
import java.util.ArrayList;
import java.util.List;
/**
* Created by chand on 7/8/16.
*/
public class TestSuite {
private List<TestCase> testCases = new ArrayList<>();
public boolean isTestCasePresent(TestCase testCase) {
return testCases.contains(testCase);
... |
package gov.cms.dpc.consent.cli;
import gov.cms.dpc.consent.DPCConsentConfiguration;
import io.dropwizard.cli.Command;
import io.dropwizard.cli.ConfiguredCommand;
import io.dropwizard.setup.Bootstrap;
import net.sourceforge.argparse4j.inf.Namespace;
import net.sourceforge.argparse4j.inf.Subparser;
import java.util.So... |
/*
* Copyright Calvin Lee Since 2016.
* All Rights Reserved.
*/
package org.calvin.DesignPatterns.Behavioral.Observer;
import lombok.Getter;
@Getter
public class Auctioneer extends Observer {
private int highest;
public Auctioneer( Subject s ) {
subj = s;
subj.attach( this );
}
p... |
package com.lmy.pojo;
import java.io.Serializable;
import com.alibaba.fastjson.JSON;
/**
*
* Title: User
* Description:用户pojo类
* Version:1.0.0
* @author lmy
* @date 2017年9月26日
*/
public class User implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1L;
/** 编号 */
private Int... |
package com.vmware.avi.sdk.model;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* The WafPSMLocation is a POJO class extends AviRestResource that used for creating
* Waf... |
package mage.cards.t;
import java.util.UUID;
import mage.MageInt;
import mage.ObjectColor;
import mage.abilities.common.BeginningOfUpkeepTriggeredAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.common.ReturnToHandChosenControlledPermanentEffect;
import mage.abilities.effects.co... |
/**
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.collect.io;
import static com.opengamma.strata.collect.TestHelper.assertThrows;
import static com.opengamma.strata.collect.TestHelper.assertThrowsIllega... |
package com.truncon.javalin.mvc.api;
/**
* Defines the interface all handlers must implement to be called after a controller action completes.
*/
public interface AfterActionHandler {
/**
* Performs a task after a controller action completes. The handler will be called even if the
* action results in a... |
package br.ufsc.labsec.signature.conformanceVerifier.cades;
import java.io.File;
import br.ufsc.labsec.signature.conformanceVerifier.cades.attributes.unsigned.IdCounterSignature;
import br.ufsc.labsec.signature.conformanceVerifier.xades.exceptions.NodeOperationException;
/**
* Esta classe representa uma assinatura ... |
/*
* Password Management Servlets (PWM)
* http://www.pwm-project.org
*
* Copyright (c) 2006-2009 Novell, Inc.
* Copyright (c) 2009-2021 The PWM 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 ... |
package org.cass.competency;
import com.eduworks.ec.crypto.EcPpk;
import org.cassproject.ebac.repository.EcEncryptedValue;
import org.cassproject.ebac.repository.EcRepository;
import org.cassproject.schema.cass.Cass;
import org.cassproject.schema.cass.competency.Level;
import org.cassproject.schema.general.EcRemoteLin... |
/**
* XOR, empowering Model Driven Architecture in J2EE applications
*
* Copyright (c) 2019, Dilip Dalton
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... |
package cn.easyproject.easyee.ssh.sys.service.impl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Service;
import cn.easyproject.easyee.ssh.base.service.BaseService;
import cn.easyproject.easyee.ssh.sys.entity.SysOperationPermission;
import cn.easyprojec... |
package external_module_0161.a;
import javax.naming.directory.*;
import javax.net.ssl.*;
import javax.rmi.ssl.*;
/**
* Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
* labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo do... |
package net.cogzmc.permissions;
import net.cogzmc.core.network.NetCommand;
/**
* Send this to any server you wish to force a reload of permissions on.
*/
public final class PermissionsReloadNetCommand implements NetCommand {} |
/********************************************************************
The Multiverse Platform is made available under the MIT License.
Copyright (c) 2012 The Multiverse Foundation
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "... |
package us.myles.ViaVersion.bukkit.util;
import org.bukkit.entity.Player;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public class ProtocolSupportUtil {
private static Method protocolVersionMethod = null;
private static Method getIdMethod = null;
static {
... |
package net.buycraft.plugin.bukkit;
import com.google.common.collect.ImmutableSet;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
public class BukkitBuycraftPlatform extends BukkitBuycraftPlatformBase {
private static final ImmutableSet<Material> SIGN_MATERIALS = ImmutableSet.of(Material.SIGN_... |
package de.kzvn.application.views.imagelist;
import com.vaadin.flow.component.HasComponents;
import com.vaadin.flow.component.HasStyle;
import com.vaadin.flow.component.Tag;
import com.vaadin.flow.component.dependency.JsModule;
import com.vaadin.flow.component.littemplate.LitTemplate;
import com.vaadin.flow.component.... |
/*
* This file is part of Nucleus, licensed under the MIT License (MIT). See the LICENSE.txt file
* at the root of this project for more details.
*/
package io.github.nucleuspowered.nucleus.modules.item.commands;
import io.github.nucleuspowered.nucleus.argumentparsers.SelectorWrapperArgument;
import io.github.nucle... |
package edu.iu.terracotta.service.app.impl;
import edu.iu.terracotta.exceptions.DataServiceException;
import edu.iu.terracotta.exceptions.IdInPostException;
import edu.iu.terracotta.exceptions.InvalidParticipantException;
import edu.iu.terracotta.model.app.Outcome;
import edu.iu.terracotta.model.app.OutcomeScore;
impo... |
package com.customized.libs.core.libs.hashmap;
import java.util.Objects;
class Student implements Comparable<Student> {
final String name;
final int score;
public Student(String name, int score) {
this.name = name;
this.score = score;
}
@Override
public int hashCode() {
... |
package com.wqt.netty.mock.channel;
import com.wqt.netty.mock.SelectState;
import com.wqt.netty.mock.Selector;
/**
* @author Wqt
* @version 创建时间:2017年10月17日 下午4:07:20
*
*/
public abstract class AbstractServer implements ServerSocketChannel{
private Selector selector;
private SelectState[] interest;
privat... |
package io.quarkus.arc.deployment;
import java.util.Set;
import java.util.function.Supplier;
import org.jboss.jandex.AnnotationInstance;
import org.jboss.jandex.DotName;
import io.quarkus.arc.processor.BeanConfiguratorBase;
import io.quarkus.arc.processor.BeanRegistrar;
import io.quarkus.builder.item.MultiBuildItem;... |
/*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.example.pathways;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.ItemTouchHelper;
import androidx.recyclerview.widget.RecyclerView;
import com.example.pathways.PlaylistAdapter;
// From https://www.journaldev.com/23208/android-recyclerview-drag-and-drop
public class ItemMoveCallba... |
/*******************************************************************************
* 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... |
/*
* Copyright (C) 2017. OpenLattice, Inc
*
* 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 ... |
package com.sequenceiq.it.cloudbreak.testcase.mock.clouderamanager;
import static com.sequenceiq.it.cloudbreak.context.RunningParameter.key;
import java.math.BigDecimal;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
import java.util.List;
import javax.inject.Inject;
import org.testng.annotations... |
/**
* Copyright (c) 2016-2019 人人开源 All rights reserved.
*
* https://www.renren.io
*
* 版权所有,侵权必究!
*/
package com.city.common.utils;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.io.Serializable;
import java.util.List;
/**
* 分页工具类
*
* @author Mark sunlightcs@gmail.com
*/
public class Page... |
package com.niaobulashi.excel.result;
import java.util.ArrayList;
import java.util.List;
import com.niaobulashi.excel.parsing.ExcelError;
import org.apache.commons.collections.CollectionUtils;
/**
* Excel导入结果
*
* @author niaobulashi
*
*/
public class ExcelImportResult {
/** 头信息,标题行之前的数据,每行表示一个List<Object>,每... |
/**
* This file is part of Aion-Lightning <aion-lightning.org>.
*
* Aion-Lightning 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 ver... |
package mechconstruct.api.impl.basic;
import mechconstruct.api.MechRecipe;
import net.minecraft.item.ItemStack;
public class BasicFurnaceRecipe extends MechRecipe {
public static final int DEFAULT_COST = 20;
public static final int DEFAULT_TICKS = 80;
public int cost;
public int ticks;
public BasicFurnaceRecip... |
package subway.domain;
import java.util.List;
import org.jgrapht.alg.shortestpath.DijkstraShortestPath;
import org.jgrapht.graph.DefaultWeightedEdge;
import org.jgrapht.graph.WeightedMultigraph;
public class GraphRepository {
WeightedMultigraph<String, DefaultWeightedEdge> distanceGraph;
WeightedMultigraph<St... |
package com.orientechnologies.orient.jdbc;
import org.junit.Test;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import static java.sql.ResultSet.*;
import static org.assertj.core.api.Assertions.*;
public class OrientJdbcPreparedStatementTest extends OrientJdbcBaseTest {... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.messaging.eventhubs.implementation.handler;
import com.azure.core.amqp.exception.ErrorContext;
import com.azure.core.amqp.exception.ExceptionUtil;
import com.azure.core.util.logging.ClientLogger;
import c... |
/*
* 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... |
package com.afa.fizicianu.models;
import com.google.gson.annotations.SerializedName;
/**
* Created by filip on 5/26/2016.
*/
public class Children {
@SerializedName("data")
private Post post;
public Post getPost(){
return post;
}
} |
/*
* 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 io.byzaneo.initializer.config;
import com.mongodb.reactivestreams.client.MongoClient;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.mongodb.config.AbstractReactiveMongoConfiguration;
import org.springframe... |
package com.jhl.admin.controller;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.jhl.admin.Interceptor.PreAuth;
import com.jhl.admin.cache.UserCache;
import com.jhl.admin.constant.WebsiteConfigKV;
import com.jhl.admin.model.Account;
import com.jhl.admin.model.InvitationCode;
... |
/*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
import java.util.Scanner;
public class Fahrenheit_in_Celsius {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String input = "";
Double inputValue = 0.0, outputValue = 0.0;
System.out.println("Fahrenheit to Celsius Rechner");
System.out... |
package cn.marco.meizhi.module.home;
import android.view.View;
import java.util.List;
import cn.marco.meizhi.module.BasePresenter;
import cn.marco.meizhi.module.BaseView;
import cn.marco.meizhi.data.entry.Result;
public interface HomeContract {
interface HomeView extends BaseView{
void displayResults(Li... |
/***
* 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... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... |
/*
* Copyright (c) 2021 FakeXposed by sanfengAndroid.
*
* 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) 2021 FabricMC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
/*
* Copyright (c) 2011-2020, baomidou (jobob@qq.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
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required... |
package com.frewen.reflect;
import java.io.Serializable;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
/**
* 文章参考:https://www.cnblogs.com/nihaorz/p/7595117.html
* https://www.cnblogs.com/nihaorz/p/7595117.html
*
* @param <T>
* @param <ID>
*/
public class GenericSuperClassDemo<T, ID ... |
/*
* Copyright 2015 West Coast Informatics, LLC
*/
package com.wci.umls.server.services.handlers;
import java.util.Set;
import com.wci.umls.server.ValidationResult;
import com.wci.umls.server.algo.action.MolecularActionAlgorithm;
import com.wci.umls.server.helpers.Configurable;
import com.wci.umls.server.model.c... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under... |
package com.example.message;
import com.example.job.Status;
import java.io.Serializable;
public class StateChange implements Serializable {
private String targetId;
private Status sourceState;
private Status targetState;
public String getTargetId() {
return targetId;
}
public void s... |
package com.example.bloodbank.data.model.NotificationData;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class NotificationDetails {
@SerializedName("status")
@Expose
private int status;
@SerializedName("msg")
@Expose
private String msg... |
package sorting;
import java.util.Arrays;
import java.util.Scanner;
public class frequency {
public static void main(String[] args) {
int a[]={6,5,4,3,2,1,0};
int[] frequencies=new int[10];
System.out.println(Arrays.toString(a));
for(int i=0;i<=a.length-1;i++)//Get Frequencies
{
fre... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.divudi.bean.channel;
import com.divudi.bean.common.SessionController;
import com.divudi.bean.common.UtilityController;
imp... |
package br.ufmg.reuso.marcelosg.reprova.controller;
import br.ufmg.reuso.marcelosg.reprova.model.Question;
import br.ufmg.reuso.marcelosg.reprova.model.SemesterGrade;
import br.ufmg.reuso.marcelosg.reprova.service.QuestionService;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import ... |
/**
* Copyright (c) 2013-2020 Contributors to the Eclipse Foundation
*
* <p> See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Versio... |
/*
* MIT License
*
* Copyright (c) 2020-present Cloudogu GmbH and Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the r... |
package cn.ac.caict.iiiiot.idisc.utils;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringReader;
import java.math.BigInteger;
impor... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
package org.sean.array;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
public class ZeroMatrixTest {
private ZeroMatrix zeroMatrix;
@Before
public void setUp() throws Exception {
int[][] mtx = new int[][]{
{1, 2, 3, 4},
{5, 6, 0... |
package com.gastronomee.repository;
import com.gastronomee.GastronomeeApp;
import com.gastronomee.domain.SocialUserConnection;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.Sp... |
package com.u9porn.ui.axgle.play;
/**
* @author megoc
*/
public interface IAxglePlay {
void getPlayVideoUrl(String vid);
void loadSimilarVideo(String keyWord, boolean pullToRefresh);
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.