text stringlengths 7 1.01M |
|---|
package org.pac4j.jwt.credentials.authenticator;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.pac4j.core.context.HttpConstants;
import org.pac4j.core.context.Pac4jConstants;
import org.pac4j.core.c... |
package com.desertskyrangers.flightdeck.core.service;
import com.desertskyrangers.flightdeck.BaseTest;
import com.desertskyrangers.flightdeck.core.model.*;
import com.desertskyrangers.flightdeck.port.MembershipServices;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
... |
package org.ikasan.dashboard.ui.framework.constants;
/**
* Created by Ikasan Development Team on 02/08/2017.
*/
public class ConfigurationConstants
{
public static final String SOLR_ENABLED = "solrEnabled";
public static final String SOLR_URLS = "solrUrls";
public static final String SOLR_DAYS_TO_KEEP = ... |
/*
* Copyright 2015 Hewlett-Packard Development Company, L.P.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
*/
package com.autonomy.aci.client.annotations.testobjects.bugs.subclass;
import com.autonomy.aci.client.annotations.IdolDocument;
import ... |
package net.minecraft.world.biome;
import net.minecraft.entity.EntityClassification;
import net.minecraft.entity.EntityType;
import net.minecraft.world.gen.GenerationStage;
import net.minecraft.world.gen.feature.Feature;
import net.minecraft.world.gen.feature.IFeatureConfig;
import net.minecraft.world.gen.feature.stru... |
/*
* <!--
* ~ Copyright 2015-2017 OpenCB
* ~
* ~ 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... |
package io.pivotal.workshop.domain;
public class Marketing {
private String header;
private String description;
public Marketing(String header, String description) {
this.header = header;
this.description = description;
}
public String getHeader() {
return header;
}
... |
package com.voipfuture.connectfour.algorithms;
import com.voipfuture.connectfour.GameState;
import com.voipfuture.connectfour.IInputProvider;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Optional;
import java.util.Random;
/**
* A computer player that just does a ... |
package net.datenstrudel.bulbs.core.application.services;
import net.datenstrudel.bulbs.core.domain.model.bulb.Bulb;
import net.datenstrudel.bulbs.core.domain.model.bulb.BulbBridge;
import net.datenstrudel.bulbs.core.domain.model.bulb.BulbBridgeId;
import net.datenstrudel.bulbs.core.domain.model.bulb.BulbId;
import ne... |
/*
* 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.liveontologies.pinpointing;
/*-
* #%L
* Axiom Pinpointing Experiments
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2017 - 2018 Live Ontologies 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 o... |
package com.capitalone.dashboard.service;
import com.capitalone.dashboard.model.CodeQuality;
import com.capitalone.dashboard.model.DataResponse;
import com.capitalone.dashboard.request.CodeQualityRequest;
public interface CodeQualityService {
/**
* Finds all of the CodeQuality data matching the specified re... |
/*
* 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.direwolf20.buildinggadgets.common.tools;
import com.direwolf20.buildinggadgets.common.items.pastes.ConstructionPasteContainer;
import com.direwolf20.buildinggadgets.common.items.pastes.GenericPasteContainer;
import net.minecraft.client.renderer.ItemMeshDefinition;
import net.minecraft.client.renderer.block... |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may... |
package beny.spring.service;
import beny.spring.model.CurrentUser;
public interface CurrentUserService {
boolean canAccessUser(CurrentUser currentUser, Long userId);
}
|
package main;
import java.io.Serializable;
import java.util.ArrayList;
/**
* Created by losoliveirasilva on 7/4/16.
*/
public class GreenhouseFileInfo implements Serializable {
private static final long serialVersionUID = 1L;
private ArrayList<StandFileInfo> stands;
public GreenhouseFil... |
package com.tszh.intercepter;
import com.tszh.entity.Role;
import com.tszh.entity.User;
import org.apache.commons.lang3.StringUtils;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.H... |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/*
* Copyright 2016-2017 Testify 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 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 ... |
/*
* 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.dropwizard.kafka;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.health.HealthCheckRegistry;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.io.Resources;
import io.dropwizard.configuration.YamlConfigurationFactory;
import io.dropwizard.jackson.Discovera... |
/**
* Copyright (c) 2011-2020, hubin (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>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by... |
package models;
public class Piece {
private Color color;
Piece(Color color){
this.color = color;
}
public Color getColor() {
return this.color;
}
public boolean isBlack() {
return this.color == Color.BLACK;
}
public boolean isAdvanced(Coordinate origin, Coordinate target) {
int difference = origi... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
package id.ac.tazkia.akademik.aplikasiakademik.dao;
import id.ac.tazkia.akademik.aplikasiakademik.entity.Program;
import id.ac.tazkia.akademik.aplikasiakademik.entity.StatusRecord;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.P... |
/**
* Copyright 2016 Novartis Institutes for BioMedical Research 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 ... |
package org.cloudbus.foggatewaylib.core;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.util.HashMap;
import java.util.Map;
/**
* Collection of {@code Data} sorted by their {@code id}.
* <p>
* Inside the {@link ExecutionManager}, there may be different {@code Store}s of the s... |
/**
* 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 erg6_ask5;
import java.util.Scanner;
public class scannerUserInput {
static int getInteger(){
Scanner ob = new Scanner(System.in);
try{
int i = ob.nextInt();
return i;
}
catch(Exception e){
return -1;
}
}
static byte getByte(){
Scanner ob = new Scann... |
package io.chestnut.server.commonAPI.property;
import io.chestnut.core.InternalMessage;
import io.chestnut.core.MsgAnnotate;
import io.chestnut.server.commonAPI.MessageDefine;
@MsgAnnotate(id =MessageDefine.MsgPlayerExpReq)
public class MsgPlayerExpReq extends InternalMessage{
}
|
package ee.fj.http.tinyweb.server.request;
import java.io.IOException;
import java.io.InputStream;
import java.util.logging.Logger;
// TODO: implement this
public class MultipartContent {
private static final Logger logger = Logger.getLogger(MultipartContent.class.getName());
private static final String CONT... |
package com.badoo.chateau.ui.chat.typing;
import android.support.annotation.NonNull;
import com.badoo.barf.mvp.BaseRxPresenter;
import com.badoo.barf.rx.ScheduleOn;
import com.badoo.chateau.core.model.User;
import com.badoo.chateau.core.usecases.istyping.SendUserIsTyping;
import com.badoo.chateau.core.usecases.istypi... |
package cord.roles;
import cord.common.BaseNodeLabels;
import cord.common.RoleNames;
import cord.model.*;
public class RegionalDirectorGlobal extends BaseRole {
public RegionalDirectorGlobal(){
super(RoleNames.RegionalDirectorGlobalRole, RegionalDirectorGlobal.permission);
}
public static IPermission permis... |
package pl.kozmatteo.finance.app.report;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import pl.kozmatteo.finance.app.report.jpa.JpaTransactionRepository;
import pl.kozmatteo.finance.support.Specif... |
package com.androfast.server.appgrabaraudio20;
import android.Manifest;
import android.app.Activity;
import android.content.pm.PackageManager;
import android.media.MediaPlayer;
import android.media.MediaRecorder;
import android.os.Environment;
import android.os.Bundle;
import android.support.v4.app.ActivityCompat;
imp... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package org.infinispan.server.configuration.security;
import java.util.function.Supplier;
import org.infinispan.commons.configuration.Builder;
import org.infinispan.commons.configuration.attributes.AttributeSet;
import org.infinispan.commons.util.InstanceSupplier;
/**
* @since 10.0
*/
public class OAuth2Configurat... |
/**
* 五五海淘返利APP新版接口
* 更新日志<br> 相对于上一build的变更: <br/> APP5.4接口
*
* OpenAPI spec version: 1.3 build20170808-6
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
* Licensed under the Apache Lic... |
package scrame.helper;
import java.util.Comparator;
import scrame.entity.Record;
/**
* A helper class that compares 2 courses.
*/
public class SortRecordByCourseName implements Comparator<Record> {
/**
* A function that compare 2 course objects.
*
* @return the relation of the 2 courses' name
*/
... |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*
* 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 requi... |
/*
* Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.fsck.k9.mail;
import java.io.IOException;
import java.util.Collections;
import java.util.Date;
import java.util.EnumSet;
import java.util.List;
import java.util.Set;
import androidx.annotation.NonNull;
import com.fsck.k9.mail.filter.CountingOutputStream;
import com.fsck.k9.mail.filter.EOLConvertingOutpu... |
package com.app.linj.util;
import android.annotation.SuppressLint;
import android.os.Environment;
/**
* Created by zhangshenglan on 16/4/29.
*/
@SuppressLint("SdCardPath")
public class BmobConstants {
/**
* 存放发送图片的目录
*/
public static String BMOB_PICTURE_PATH = Environment.getExternalStorageDirecto... |
package com.sahaab.hijri.caldroid;
import java.util.Date;
import android.view.View;
/**
* CaldroidListener inform when user clicks on a valid date (not within disabled
* dates, and valid between min/max dates)
*
* The method onChangeMonth is optional, user can always override this to listen
* to month change e... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.apollographql.apollo.internal.interceptor;
import com.apollographql.apollo.exception.ApolloException;
import com.apollographql.apollo.intercep... |
/*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... |
package com.ruoyi.common.core.utils.file;
/**
* 媒体类型工具类
*
* @author king
*/
public class MimeTypeUtils
{
public static final String IMAGE_PNG = "image/png";
public static final String IMAGE_JPG = "image/jpg";
public static final String IMAGE_JPEG = "image/jpeg";
public static final String IMAGE... |
public class InvokeDemo implements Runnable {
public static void main(String[] args){
new InvokeDemo().test();
}
public void test(){
InvokeDemo.staticMethod(); // invokestatic
InvokeDemo demo = new InvokeDemo(); // invokespecial
demo.instanceMethod(); // invokespecial
... |
package org.smartregister.chw.hf.activity;
import android.app.Activity;
import android.view.Menu;
import android.view.MenuItem;
import androidx.fragment.app.Fragment;
import androidx.viewpager.widget.ViewPager;
import org.smartregister.chw.anc.activity.BaseAncMemberProfileActivity;
import org.smartregister.chw.core.... |
package io.quarkus.oidc;
import java.time.Duration;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.OptionalInt;
import io.quarkus.oidc.common.runtime.OidcCommonConfig;
import io.quarkus.oidc.common.runtime.OidcConstants;
import io.quarkus.oidc.runtime... |
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author Tuelho 2009
*/
public class Configuracao {
// private static final String LOGO = "/br/com/idealize/imagem/icone_sistema.png";
private st... |
// ORM class for table 'article'
// WARNING: This class is AUTO-GENERATED. Modify at your own risk.
//
// Debug information:
// Generated date: Tue Jul 09 16:21:47 CST 2019
// For connector: org.apache.sqoop.manager.MySQLManager
import org.apache.hadoop.io.BytesWritable;
import org.apache.hadoop.io.Text;
import org.apa... |
/*
* Copyright (C) 2016-2022 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... |
/*
* 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... |
import org.openqa.selenium.By;
public class Locators {
//Media page
public static final By LINK_MEDIA = By.cssSelector("a[href='https://romanceabroad.com/media/index']");
//Registration
public static final By BUTTON_REGISTRATION = By.xpath("//button[@id='show-registration-block']");
public static... |
/*-
* #%L
* BigDataViewer-Playground
* %%
* Copyright (C) 2019 - 2021 Nicolas Chiaruttini, EPFL - Robert Haase, MPI CBG - Christian Tischer, EMBL
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redis... |
/**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2008, 2009, 2010, 2014 Etudes, Inc.
*
* Portions completed before September 1, 2008
* Copyright (c) 2007, 2008... |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.nexuslink.alphrye.helper;
import android.content.Context;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
/**
* author : Android 轮子哥
* github : https://github.com/getActivity/AndroidProject
* time : 2018/10/18
* desc : 软键盘工具类
*/
public final class Keyboar... |
package me.kristoffer.multicastmessenger;
import java.math.BigInteger;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Scanner;
public class SeedUtil {
// Testing method
public static void main(String[] args) {
SeedUtil seed = new SeedUtil();
while(true) {
seed.open();
... |
/*
* Copyright 2015-2020 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.softroniiks.digid.model;
import androidx.room.Embedded;
import androidx.room.Relation;
import java.util.List;
//modeling 1:many relationship user: id's
public class UserAndDriverLicense {
@Embedded
public User user;
@Relation(
parentColumn = "userId",
entityColumn = ... |
/*
* Copyright 2016-2018 Axioma srl.
*
* 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... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/**
* Copyright (c) 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.mysql.v2017_12_01;
import com.fasterxml.jackson.... |
package aop.pattern.proxy.dynamic;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
//动态代理实现
public class DynamicProxy implements InvocationHandler {
// 这个就是我们要代理的真实对象
private Object obj;
// 构造方法,给我们要代理的真实对象赋初值
public DynamicProxy(Object object) {
this.obj = object;
... |
package com.co.wedding.bo;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.co.wedding.info.test.TestService;
/**
* BO Controller
*
* @author Chopin
* @date 2019-02-03
* @since 1.0
*/
@Controlle... |
/*
* Copyright (c) 1997 - 2016
* Actelion Pharmaceuticals Ltd.
* Gewerbestrasse 16
* CH-4123 Allschwil, Switzerland
*
* 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 sour... |
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.StringTokenizer;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.ArrayWritable;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable... |
/*
* 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 ... |
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template fi... |
/*
* Copyright (c) 2015 The CCP project authors. All Rights Reserved.
*
* Use of this source code is governed by a Beijing Speedtong Information Technology Co.,Ltd license
* that can be found in the LICENSE file in the root of the web site.
*
* http://www.yuntongxun.com
*
* An additional intellectual prop... |
/*
* 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
... |
/*
* Copyright 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 applica... |
package io.flowing.retail.order.flow.base;
import org.camunda.bpm.engine.impl.pvm.delegate.ActivityExecution;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import io.flowing.retail.order.domain.Order;
import io.flowing.retail.order.flow.FetchGoodsComma... |
package com.dzonesoft.exam.viewmodel.admin.file;
import lombok.Data;
@Data
public class UploadResultVM {
private String original;
private String name;
private String url;
private Long size;
private String type;
private String state;
}
|
import org.bouncycastle.asn1.x500.X500Name;
import org.bouncycastle.asn1.x509.ExtendedKeyUsage;
import org.bouncycastle.asn1.x509.KeyPurposeId;
import org.bouncycastle.asn1.x509.X509Extensions;
import org.bouncycastle.asn1.x509.X509Name;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.bouncycastle... |
package microDon.clients.models;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
public class ListResponse<T> {
private List<T> resources;
private Pagination pagination;
public ListResponse() {
}
public List<T> getResources() {
return resources;
}
... |
package org.csanchez.jenkins.plugins.kubernetes;
import com.cloudbees.plugins.credentials.CredentialsMatchers;
import com.cloudbees.plugins.credentials.CredentialsProvider;
import com.cloudbees.plugins.credentials.common.StandardCredentials;
import com.cloudbees.plugins.credentials.common.StandardListBoxModel;
import ... |
/*
* Copyright 2012-2018 Chronicle Map Contributors
*
* 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 io.vertx.up.uca.marshal;
import io.vertx.core.json.JsonObject;
public interface Transformer<T> {
T transform(JsonObject input);
}
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchdefinition.derived;
import ai.vespa.rankingexpression.importer.configmodelview.ImportedMlModels;
import com.google.common.collect.ImmutableList;
import com.yahoo.collections.Pa... |
package uk.ac.rdg.resc.edal.dataset;
import uk.ac.rdg.resc.edal.util.GridCoordinates2D;
import java.io.Serializable;
import java.util.List;
/**
* Element used in {@link HorizontalMesh4dDataset} cache.
*
* @author Jesse Lopez
*/
class MeshDatasetCacheElement implements Serializable {
private static final long... |
/*
* Copyright (c) 2013 Tah Wei Hoon.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License Version 2.0,
* with full text available at http://www.apache.org/licenses/LICENSE-2.0.html
*
* This software is provided "as is". Use at your own risk... |
package com.diguits.domainmodeldesigner.templateapplyconfig.modelmappers;
import com.google.inject.Inject;
import com.diguits.common.mapping.MappingContext;
import com.diguits.domainmodeldesigner.templateapplyconfig.models.TemplateApplyConfigModel;
import com.diguits.templateengine.contract.model.TemplateApplyConfig;
... |
/**
* Copyright (C) 2012 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package com.klaytn.caver.feature;
import com.klaytn.caver.Caver;
import com.klaytn.caver.crypto.KlayCredentials;
import com.klaytn.caver.methods.response.KlayAccount;
import com.klaytn.caver.methods.response.KlayTransactionReceipt;
import com.klaytn.caver.tx.gas.DefaultGasProvider;
import com.klaytn.caver.kct.KIP17;
i... |
package com.github.dozermapper.extra.converters;
import org.apache.commons.beanutils.converters.BooleanConverter;
import com.github.dozermapper.core.DozerConverter;
public final class BooleanStringConverter extends DozerConverter<Boolean, String> {
private final BooleanConverter converter = new BooleanCo... |
package org.boon.slumberdb.integration;
import java.io.IOException;
/**
* Created by Richard on 9/3/14.
*/
public class EvilDS1 {
static {
System.setProperty("org.boon.slumberdb.DataStoreConfig", "/opt/org/slumberdb/datastore1.json");
}
public static void main(String... args) throws IOExcep... |
package com.mtw.movie_poc_screen.components;
import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.view.View;
/**
* Created by Aspire-V5 on 12/6/2017.
*/
public class SmartRecyclerView extends Recy... |
/**
* 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... |
/**
* <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.ofss.fcubs.service.fcubsrtservice;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for YesNoType.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="YesNoType... |
package com.jldt.phantom.mgb.model;
import java.util.ArrayList;
import java.util.List;
public class UmsIntegrationConsumeSettingExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public UmsIntegrationConsumeSettingExample() {
oredCri... |
/*
* Copyright © 2009 HotPads (admin@hotpads.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
package com.fr.swift.cloud.beans.factory.classreading;
import com.fr.swift.cloud.beans.factory.classreading.basic.reader.IntReader;
import com.fr.swift.cloud.beans.factory.classreading.basic.reader.LongReader;
import com.fr.swift.cloud.beans.factory.classreading.constant.ConstantClass;
import com.fr.swift.cloud.beans.... |
/*
* Copyright 2013 by The Appdapter Project (www.appdapter.org).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.