text stringlengths 7 995k |
|---|
package no.nav.arxaas.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import no.nav.arxaas.model.anonymity.PrivacyCriterionModel;
import javax.validation.constraints.NotNull;
import java.util.List;
public class Request {
@NotNull
private fina... |
package com.example.android.miwok;
import android.media.MediaPlayer;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import java.util.ArrayList;
public class ColorsActivity extends AppCompatActivit... |
package arc.assets;
import arc.*;
import arc.assets.loaders.*;
import arc.audio.*;
import arc.files.*;
import arc.graphics.*;
import arc.graphics.g2d.*;
import arc.graphics.gl.*;
import arc.struct.*;
import arc.util.*;
import arc.util.async.*;
import java.util.*;
/**
* Loads and stores assets like textures, bitmapf... |
/*
* 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.picard.community.community.util;
import org.apache.commons.lang3.StringUtils;
import org.springframework.util.DigestUtils;
import java.util.UUID;
public class CommunityUtil {
// 生成随机字符串
public static String generateUUID(){
return UUID.randomUUID().toString().replaceAll("-","");
}
... |
package com.springdemo.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.springdemo.dao.CustomerDAO;
import com.springdemo.entity.Customer;
@Servic... |
package me.jakob.songreporter.reporting.objects;
public class Categories {
private String print;
private String digital;
private String record;
private String translate;
public Categories(String print, String digital, String record, String translate) {
this.print = print;
this.digi... |
/**
* personium.io
* Copyright 2014 FUJITSU 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.whoiszxl.strategy;
import com.whoiszxl.enums.LikeTypeEnum;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;
import java.util.Hash... |
/**
* 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 io.github.edwinmindcraft.apoli.common.condition.biome;
import io.github.edwinmindcraft.apoli.api.configuration.FloatComparisonConfiguration;
import io.github.edwinmindcraft.apoli.api.power.factory.BiomeCondition;
import java.util.function.Function;
import net.minecraft.world.level.biome.Biome;
public class Fl... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE400_Resource_Exhaustion__getParameter_Servlet_for_loop_72a.java
Label Definition File: CWE400_Resource_Exhaustion.label.xml
Template File: sources-sinks-72a.tmpl.java
*/
/*
* @description
* CWE: 400 Resource Exhaustion
* BadSource: getParameter_Servlet Read count from... |
package local.org.bouncycastle.asn1.x509;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;
import local.org.bouncycastle.asn1.ASN1Encodable;
import local.org.bouncycastle.asn1.ASN1EncodableVector;
import local.org.bouncycastle.asn1.ASN1Object;
import local.org.bouncycastle.asn1.ASN1O... |
package com.jfixby.scarabei.red.arrays;
import com.jfixby.scarabei.api.arrays.ArraysComponent;
import com.jfixby.scarabei.api.collections.Collections;
import com.jfixby.scarabei.api.collections.List;
import com.jfixby.scarabei.api.collections.Set;
public class RedArrays implements ArraysComponent {
@Override
publi... |
/*********************************************************************************
* *
* The MIT License (MIT) *
* ... |
package com.fcr.integracaopetzbackrest.error;
public class ValidationErrorDetails extends ErrorDetails {
private String field;
private String fieldMessage;
public String getField() {
return field;
}
public void setField(String field) {
this.field = field;
}
public String getFieldMessage() {
return fie... |
/*
* Copyright 2017 SIP3.IO CORP.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
package com.aktarma.retrylog.server.db;
import com.aktarma.retrylog.common.wire.proto.TransmissionEntry;
public class OpResult {
private final TransmissionEntry entry;
private final OperationResultCode code;
public OpResult(TransmissionEntry entry, OperationResultCode code) {
super();
this.entry = entry;
thi... |
package org.crazyit.myphoneassistant.ui.fragment;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import an... |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2017, Arnaud Roques
*
* Project Info: http://plantuml.com
*
* This file is part of PlantUML.
... |
package uk.gov.pay.adminusers.service;
import com.google.inject.persist.Transactional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import uk.gov.pay.adminusers.app.config.LinksConfig;
import uk.gov.pay.adminusers.model.Invite;
import uk.gov.pay.adminusers.model.InviteServiceRequest;
import uk.gov.pay.admi... |
package me.carda.awesome_notifications;
import android.app.Application;
import android.app.Application.ActivityLifecycleCallbacks;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
imp... |
/*
* Adapted from the Wizardry License
*
* Copyright (c) 2016-2018 larryTheCoder and contributors
*
* Permission is hereby granted to any persons and/or organizations
* using this software to copy, modify, merge, publish, and distribute it.
* Said persons and/or organizations are not allowed to use the software ... |
package pers.zhaominsu.mymall.order;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class MymallOrderApplication {
public static void main(String[] args) {
SpringApplication.run(MymallOrderApplication.c... |
package org.osmdroid.views;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;
import org.metalev.multitouch.controller.MultiTouchController;
import org.metalev.multitouch.controller.MultiTouchController.MultiTouchObjectCanvas;
import org.... |
/**
* 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 es.tid.pce.pcep.objects.subobjects;
/**
* SRLG XRO Subobject.
*
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|X| Type = 5 | Length | ... |
/*
* Copyright (c) 2008-2016 Computer Network Information Center (CNIC), Chinese Academy of Sciences.
*
* This file is part of Duckling 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 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"); you may n... |
/*
* 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 Repository;
import Config.DBConnection;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
*
* @author Nirash
*/... |
public interface ProjectileEntity extends MobileEntity{
/**
* Accessor for the entity that fired this projectile
* @return The Entity that was assigned to be the shooter of this projectile
*/
Entity getShooter();
} |
package org.apache.cocoon.scheme.sitemap;
import sisc.Interpreter;
import sisc.data.Symbol;
import sisc.data.Value;
/**
* The interface of the component used to obtain a Scheme interpreter.
*
* @author <a href="mailto:ovidiu@cup.hp.com">Ovidiu Predescu</a>
* @since January 18, 2002
*/
public interface SchemeInte... |
package gwt.material.design.demo.client.application.style.icons;
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 - 2016 GwtMaterialDesign
* %%
* 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 Lic... |
package com.lenovo.safecenter.support;
import QQPIM.EModelID;
import android.app.ActivityManager;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.net.LocalSocket;
import android.net.LocalSocket... |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version
* 2.0 (the "License"); you may not ... |
/*
* Copyright 1998-2012 Linux.org.ru
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
package com.gr.coupon.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 优惠券领取历史记录
*
* @author Richard
* @email sunlightcs@gmail.com
* @date 2021-06-28 17:37:30
*/
@Data... |
/*
* 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 n... |
// Copyright 2017 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 applicable law... |
/* Tencent is pleased to support the open source community by making Hippy available.
* Copyright (C) 2018 THL A29 Limited, a Tencent company. 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... |
package nl.my888.resume.hal.resources.people.jobs;
import java.util.Arrays;
import nl.my888.resume.hal.common.MockMvcTest;
import nl.my888.resume.hal.config.HalApiConfig;
import nl.my888.resume.hal.constants.ResumeRelationTypes;
import nl.my888.resume.hal.mocks.TestServiceConfig;
import nl.my888.resume.hal.resources.... |
package cc.mrbird.job.controller;
import cc.mrbird.common.annotation.Log;
import cc.mrbird.common.controller.BaseController;
import cc.mrbird.common.domain.QueryRequest;
import cc.mrbird.common.domain.ResponseBo;
import cc.mrbird.common.util.FileUtils;
import cc.mrbird.job.domain.Job;
import cc.mrbird.job.service.JobS... |
/**
* 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 com.hys.exam.struts.action;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.sf.json.JSONObject;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.displaytag.properties.SortOrder... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
package com.gamecraft.domain;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.springframework.data.elasticsearch.annotations.Document;
import javax.persistence.*;
import javax.validation.constraints.*;
import java.io.Serializable;
import java.util.Objects;... |
/*
* Copyright (c) 2021 Couchbase, 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 agr... |
package com.zlab.futurice.calculator;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
@SpringBootA... |
package factory;
import entity.antiHeroDto.Titan;
import entity.antiHeroDto.Villain;
import entity.heroDto.DCHero;
import entity.heroDto.MarvelHero;
import entity.interfaces.ComicCharacter;
public final class HeroFactory {
private HeroFactory() {
}
public static ComicCharacter createHero(String name, St... |
package me.saro.commons.__old.bytes;
import java.io.IOException;
import java.io.OutputStream;
/**
* null output stream<br>
* this stream does not action<br>
* this class using that throw out to the output stream data
* @author PARK Yong Seo
* @since 2.0
*/
public class NullOutputStream extends Output... |
package org.planet_sl.apimigration.benchmark.jdom.wrapped_as_xom;
import java.util.List;
import org.planet_sl.apimigration.benchmark.anno.MapsTo;
import org.planet_sl.apimigration.benchmark.anno.Progress;
import org.planet_sl.apimigration.benchmark.anno.Solution;
import org.planet_sl.apimigration.benchmark.anno.Wrapp... |
/*
* 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 controllers;
import models.CustomerModels.Customer;
import models.CustomerModels.CustomerDetail;
import models.CustomsModels.*;
import models.EmployeeModels.Employee;
import models.RepairModels.*;
import play.data.DynamicForm;
import play.data.FormFactory;
import play.db.jpa.JPAApi;
import play.db.jpa.Transact... |
/*
*
* Copyright (c) 2019 Otávio Santana and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
* The Eclipse Public License is available at http:/... |
package com.company.web;
import com.company.domain.Person;
import com.company.services.PersonService;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springfra... |
/*
* 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 pt.mashashi.ringsms.chat;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import pt.mashashi.ringsms.R;
import pt.mashashi.ringsms.RotinesUtilsSingleton;
import pt.mashashi.ringsms.UnableToRetrieve... |
/*
* Copyright 2021-2021 Alfresco Software, 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 ... |
package org.ssh.ui.lua.editor;
import com.google.common.util.concurrent.ListenableFuture;
import javafx.scene.input.KeyCode;
import org.fxmisc.wellbehaved.event.EventHandlerHelper;
import org.fxmisc.wellbehaved.event.EventPattern;
import org.luaj.vm2.Globals;
import org.luaj.vm2.LuaValue;
import org.luaj.vm2.lib.jse.C... |
package cn.mysdp.biz.dto.request;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
import lombok.Getter;
import lombok.Setter;
/**
* @ClassName: SdpSqlUpdateReque... |
/*
* 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 growdy;
import java.util.ArrayList;
/**
* Tree Node for a parse tree
* @param <T>
* @param <D>
*/
public abstract class Node<T extends Node, D extends Object> {
protected ArrayList<T> children;
protected final Symbol symbol;
protected Boolean seqActive;
protected final int line;
protected boole... |
/*
* Copyright (c) 2021 Daimler TSS GmbH
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
*
* Contributors:
* Fraunhofe... |
package com.lifeonwalden.forestbatis.example.test;
import com.lifeonwalden.forestbatis.bean.PropertyInfo;
import com.lifeonwalden.forestbatis.bean.StatementInfo;
import com.lifeonwalden.forestbatis.constant.JdbcType;
import com.lifeonwalden.forestbatis.parsing.PropertyParser;
import org.junit.Assert;
import org.junit.... |
package com.evolutionofmoths.evolution.management;
import java.util.ArrayList;
import java.util.List;
import com.evolutionofmoths.evolution.MothPopulation;
import com.evolutionofmoths.evolution.Moths;
/**
* Class which manage infos of moth population.
* @author aiello
*/
public class PopulationControl {
privat... |
package com.github.ivan909020.freelancehunt.sdk.objects.models;
import com.fasterxml.jackson.annotation.JsonProperty;
public enum SafeType {
@JsonProperty("employer")
EMPLOYER,
@JsonProperty("developer")
DEVELOPER,
@JsonProperty("split")
SPLIT,
@JsonProperty("employer_cashless")
EM... |
/*
* Copyright 2012 NEHTA
*
* Licensed under the NEHTA Open Source (Apache) License; you may not use this
* file except in compliance with the License. A copy of the License is in the
* 'license.txt' file, which should be provided with this work.
*
* Unless required by applicable law or agreed to in writing, sof... |
/**
* <a href="http://www.openolat.org">
* OpenOLAT - Online Learning and Training</a><br>
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at the
* <a href="http://www.apache... |
package com.github.aqiu202.limit.cache.data.str;
import com.github.aqiu202.limit.cache.data.impl.RedisCache;
import com.github.aqiu202.limit.cache.data.StringTimeLimitedCache;
import org.springframework.data.redis.core.StringRedisTemplate;
public class StringRedisCache extends RedisCache<String, String> implements
... |
package com.blossomproject.core.common.utils.action_token;
public interface ActionTokenService {
String generateToken(ActionToken actionToken);
ActionToken decryptToken(String token);
} |
package mage.cards.d;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.SacrificeTargetCost;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.effects.OneShotEffect;
import mage.cards.... |
/*
* -----------------------------------------------------------------------\
* PerfCake
*
* Copyright (C) 2010 - 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a cop... |
/*
* (c) Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* 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 util;
import java.util.*;
public class Test {
public static void main(String[] args) {
Integer[] arr = {2, 2, 1, 2, 1, 2, 2, 1, 1, 2};
int[] arr2 = {1, 1, 2, 1, 2, 1, 2, 2, 1, 1, 1};
SegmentTree<Integer> segTree = new SegmentTree<Integer>(arr, (a, b) -> -1);
System.out.p... |
import java.util.Iterator;
import java.util.Random;
public class Selector {
public Population rolluletteWheelSelection(Population population, int count) {
Population selectedPopulation = new Population(population.getGenotype());
Random random = new Random();
// Random value from min score... |
/**
* 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 com.dsatab.fragment;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Vi... |
/**
* Copyright 2013 Canada Health Infoway, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
package org.infinispan.client.hotrod.query;
import static org.infinispan.client.hotrod.test.HotRodClientTestingUtil.killRemoteCacheManager;
import static org.infinispan.client.hotrod.test.HotRodClientTestingUtil.killServers;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assert... |
/*
* Copyright (C) 2017, Ulrich Wolffgang <ulrich.wolffgang@proleap.io>
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
package io.proleap.cobol.asg.metamodel.identification;
import io.proleap.cobol.asg.metamodel... |
package jef.database.meta;
import org.apache.commons.lang.ArrayUtils;
import org.apache.commons.lang.StringUtils;
/**
* 描述数据库主键的信息
* @author Administrator
*
*/
public class PrimaryKey {
/**
* 主键名
*/
String name;
/**
* 列名
*/
String[] columns;
public PrimaryKey(String pkName) {
this.name=pkName;
}... |
/* *****************************************************************************
* Copyright 2018 Lee Patterson <https://github.com/abathur8bit>
*
* You may use and modify at will. Please credit me in the source.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file excep... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
package com.example.parstagram.fragments;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import androidx.swiperefreshlay... |
package com.puppetlabs.BeakerIntellijPlugin.settings;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.fileChooser.FileChooserDescriptor;
import com.intellij.openapi.fileChooser.FileChooserFactory;
import com.intellij.openapi.options.ConfigurationException;
import com.intellij.openapi.options... |
/*
* Copyright 2010-2015 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 wcuMain;
import java.io.FileNotFoundException;
import functionality.IReadFiles;
import functionality.ITransmitter;
import functionality.ReadFiles;
import functionality.Transmitter;
import java.util.*;
public class Main {
public static void main(String[] args) {
int port;
String host;
if (args.... |
/**
* generated by Xtext 2.15.0
*/
package com.truneo.hdl.hDL.util;
import com.truneo.hdl.hDL.*;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-... |
package com.xaosia.bungeepex.utils;
import java.io.File;
import java.net.URL;
import java.net.URLConnection;
import java.nio.file.Files;
import java.util.HashMap;
import java.util.Map;
import com.xaosia.bungeepex.BungeePEX;
import com.xaosia.bungeepex.utils.Lang.MessageType;
public class FileExtractor {
public ... |
package org.deeplearning4j.spark.models.sequencevectors;
import org.apache.spark.SparkConf;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.JavaSparkContext;
import org.deeplearning4j.berkeley.Counter;
import org.deeplearning4j.models.sequencevectors.sequence.Sequence;
import org.deeplearnin... |
package com.thinkgem.jeesite.common.mail;
/**
*发送邮件需要使用的基本信息
*
*/
import java.util.Properties;
public class MailBody {
// 发送邮件的服务器的IP和端口
private String mailServerHost;
private String mailServerPort = "25";
// 邮件发送者的地址
private String fromAddress;
// 邮件接... |
package com.a55haitao.wwht.ui.activity.shoppingcart;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.support.v4.... |
package org.apereo.cas.authentication.surrogate;
import org.apereo.cas.services.ServicesManager;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.core.io.Resource;
import java.io.File;
import java.util.Map;
/**
* This is {@link JsonResourceSurrogateAuthenticationService}.
*
* @autho... |
/*
* Copyright 2019-2020 Zheng Jie
*
* 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 org.reroutlab.code.auav.drivers;
import java.util.*;
import java.lang.System.*;
//import org.reroutlab.code.auav.interfaces.*;
import java.util.logging.Logger;
import java.util.logging.Level;
import java.net.InetSocketAddress;
import java.net.SocketException;
import org.eclipse.californium.core.CoapResource;
... |
package com.ucloud.library.netanalysis.command.net.ping;
import com.ucloud.library.netanalysis.command.bean.UCommandStatus;
/**
* Created by joshua on 2018/9/6 16:18.
* Company: UCloud
* E-mail: joshua.yin@ucloud.cn
*/
public interface PingCallback {
void onPingFinish(PingResult result, UCommandStatus status)... |
/*
* 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.apeter0.store.deliveryTime.api.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Getter;
import org.bson.types.ObjectId;
@Getter
@ApiModel(value = "DeliveryTime request")
public class DeliveryTimeRequest {
private ObjectId id;
@ApiParam(name =... |
/**
*/
package blockchain;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Expresion Numerica Double</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link blockchain.ExpresionNumericaDouble#getValue <em>Value</em>}</li>
... |
/*
* Tencent is pleased to support the open source community by making
* Tencent GT (Version 2.4 and subsequent versions) available.
*
* Notwithstanding anything to the contrary herein, any previous version
* of Tencent GT shall not be subject to the license hereunder.
* All right, title, and interest, including ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.