text stringlengths 7 995k |
|---|
/*
* Copyright (C) 2017 优客服-多渠道客服系统
* Modifications copyright (C) 2018 Chatopera Inc, <https://www.chatopera.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... |
package academy.softserve.flightbooking.services.impl;
import academy.softserve.flightbooking.apiconnection.connectors.KiwiApiConnector;
import academy.softserve.flightbooking.apiconnection.connectors.RapidApiConnector;
import academy.softserve.flightbooking.dto.MultiCitySearchCriterionDTO;
import academy.softserve.fl... |
package com.consola.dto;
import java.util.Date;
import com.consola.model.Status;
public class ProjectDTO {
private int id;
private Status status;
private String name;
private String shortName;
private Date startDate;
private Date endDate;
public int getId() {
return id;
}
public void setId(int id) {
... |
package org.anc.lapps.nlp4j;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.lappsgrid.discriminator.Discriminators;
import org.lappsgrid.metadata.IOSpecification;
import org.lappsgrid.metadata.ServiceMetadata;
import org.lappsgrid.serialization.Data;
import org.lappsgrid.serializati... |
package com.dexesttp.hkxpack.hkxwriter.object;
import com.dexesttp.hkxpack.data.members.HKXMember;
import com.dexesttp.hkxpack.hkxwriter.object.callbacks.HKXMemberCallback;
/**
* Handles writing a {@link HKXMember} to a HKX File.
* @see #write(HKXMember, long)
*/
public interface HKXMemberHandler {
/**
* Writes... |
package com.packtpub.liverestaurant.client;
import java.net.URI;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.junit.runner.RunWith;
import org.springfram... |
package com.vozniuk.deanery.json.serializers;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.ser.std.StdSerializer;
import com.vozniuk.deanery.domain.data.university.Student;
import java.io.IOException;
public class Stu... |
package org.chamomile.ios.webkit;
import com.google.j2objc.annotations.ObjectiveCName;
@ObjectiveCName("WKWebViewConfiguration")
public class WKWebViewConfigurationStub implements WKWebViewConfiguration {
@Override
public String getApplicationNameForUserAgent() {
// TODO Auto-generated method stub
return null;... |
/*******************************************************************************
* Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0... |
package org.homunculus.android.example;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@T... |
package com.newhopemail.order.service.impl;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.newhop... |
package com.fengwenyi.codegenerator.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
/**
* @author <a href="https://www.fengwenyi.com">Erwin Feng</a>
* @since 2021-12-20
*/
@Data
@Configuration
@Conf... |
package p005cm.aptoide.p006pt.billing.view.payment;
import p026rx.p027b.C0132p;
/* renamed from: cm.aptoide.pt.billing.view.payment.n */
/* compiled from: lambda */
public final /* synthetic */ class C2594n implements C0132p {
/* renamed from: a */
private final /* synthetic */ PaymentPresenter f5756a;
... |
/*
* 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.hw.shared;
@FunctionalInterface
public interface ThrowingBiConsumer<T, U, E extends Exception> {
void accept(T t, U u) throws E;
} |
package com.otcdlink.chiron.toolbox.random;
import com.otcdlink.chiron.toolbox.ToStringTools;
import static com.google.common.base.Preconditions.checkArgument;
public class Monotonic implements LongGenerator {
private long currentValue ;
Monotonic( final long currentValue ) {
checkArgument( currentValue >=... |
/*-
* ============LICENSE_START=======================================================
* SDC
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ===================================================================... |
/**
* The MIT License
*
* Copyright (c) 2009-2019 PrimeTek
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
package software.amazon.logs.querydefinition;
import org.mockito.ArgumentMatchers;
import software.amazon.awssdk.services.cloudwatchlogs.model.DeleteQueryDefinitionResponse;
import software.amazon.cloudformation.proxy.AmazonWebServicesClientProxy;
import software.amazon.cloudformation.proxy.Logger;
import software.ama... |
/*
* CPAchecker is a tool for configurable software verification.
* This file is part of CPAchecker.
*
* Copyright (C) 2007-2014 Dirk Beyer
* 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... |
/*
Copyright 2020 The Kubernetes 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 agreed to in writing, softwar... |
package com.puppetlabs.jruby_utils.pool;
import java.util.Deque;
import java.util.LinkedList;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.CopyOnWriteArraySet;
import java.util.concurrent.TimeoutException;
import java.util.concurrent.locks.Condition;
import java.util.concurre... |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2013, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... |
/**
*
*/
package com.jeesuite.rest.filter;
import com.jeesuite.common.util.ResourceUtils;
/**
* @description <br>
* @author <a href="mailto:vakinge@gmail.com">vakin</a>
* @date 2016年12月25日
*/
public class FilterConfig {
public static boolean corsEnabled(){
return Boolean.parseBoolean(ResourceUtils.get("cor... |
/*
* $Id: DataInstance.java,v 1.47 2006/12/01 20:41:21 jeffmc Exp $
*
* Copyright 1997-2019 Unidata Program Center/University Corporation for
* Atmospheric Research, P.O. Box 3000, Boulder, CO 80307,
* support@unidata.ucar.edu.
*
* This library is free software; you can redistribute it and/or modify it
* under ... |
package FPOLY.controllers.user;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
impo... |
/*
* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
package org.antlr.v4.runtime.atn;
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.Token;
import org.ant... |
/**
* Copyright 2014 Tampere University of Technology, Pori Department
*
* 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 ... |
/**
* 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... |
/////////////////////////////////////////////////////////////////////////////
// This file is part of the "Java-DAP" project, a Java implementation
// of the OPeNDAP Data Access Protocol.
//
// Copyright (c) 2010, OPeNDAP, Inc.
// Copyright (c) 2002,2003 OPeNDAP, Inc.
//
// Author: James Gallagher <jgallagher@opendap.... |
package com.github.onsdigital.elasticutils.models;
import com.github.onsdigital.elasticutils.util.search.ElasticSearchIndex;
/**
* @author sullid (David Sullivan) on 13/12/2017
* @project dp-elasticutils
*/
public enum SearchIndex implements ElasticSearchIndex {
TEST("test");
private String indexName;
... |
package com.liujun.dp.multition;
import java.util.ArrayList;
import java.util.Random;
/**
* 皇帝
* Created by liujun on 2017-5-9.
*/
public class Emperor {
private static int maxNumOfEmperor = 2;
private static ArrayList<String> emperorInfoList = new ArrayList<String>(maxNumOfEmperor);
private static Arr... |
/*
* MIT License
*
* Copyright (c) 2020 Chainmail Studios
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... |
/*
* Copyright © 2017-2019 WireGuard LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package com.wireguard.crypto;
import com.wireguard.crypto.KeyFormatException.Type;
import java.security.SecureRandom;
import java.util.Arrays;
/**
* Represents a WireGuard public or private key. This class us... |
package com.stackroute.controller;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.stackroute.domain.Track;
import com.stackroute.exceptions.GlobalException;
import com.stackroute.exceptions.TrackAlreadyExistsException;
import com.stackroute.exceptions.TrackNotFoundException;
import com.stackroute.servi... |
package nl.nn.adapterframework.testutil.threading;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
import org.junit.runners.model.Statement;
public class RunInThreadRule implements TestRule {
@Override
public Statement apply(Statement base, Description description) {
Statement result = base... |
package org.stepik.lesson13;
import java.util.Set;
import java.util.TreeSet;
/**
* @author Zurbaevi Nika
*/
public class QuestionAnswer_1_13_1 {
/*
* Вопрос:
*
* Create TreeSet by name set in any way known to you and fill it with the following three strings "Gamma", "Alpha", "Omega" .
* The ... |
/*
* 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 ... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.mediacompat;
public final class R {
public static final class attr {
public static final int font =... |
package com.yankaizhang.springframework.aop.aspect;
import com.yankaizhang.springframework.aop.intercept.MethodInterceptor;
import com.yankaizhang.springframework.aop.intercept.MethodInvocation;
import java.lang.reflect.Method;
/**
* 前置通知
*/
public class MethodBeforeAdvice extends AbstractAspectjAdvice implements ... |
package p;
class A {
int i() {
int i = 0, j = 1;
return 0;
}
} |
package module8packageJava0;
import java.lang.Integer;
public class Foo11 {
Integer int0;
Integer int1;
public void foo0() {
new module8packageJava0.Foo10().foo6();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public void fo... |
package com.sazke.com.spring;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
/**
* The entry point of the Spring Boot application.
*/
@SpringBootApplication
publ... |
/*
* Copyright (C) 2020 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* 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 UserInterface;
import Business.Abstract.User;
import Business.Users.Admin;
import Business.Users.Customer;
import Business.Use... |
package module0510_public_tests_unittests.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... |
package com.hb0730.spring.security5.oauth2.config;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.http.HttpMethod;
import org.spring... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.search.documents.models;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Defines values for IndexActionType.
*/
public enum IndexActionType... |
/*
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener... |
package com.nickdsantos.onedrive4j;
/**
* Location information for a drive item.
*/
public class LocationFacet {
/**
* The altitude for the item (in feet).
*/
public double altitude;
/**
* The latitude.
*/
public double latitude;
/**
* The longitude.
*/
public ... |
package com.datadog.api.v1.client.api;
import com.datadog.api.v1.client.ApiClient;
import com.datadog.api.v1.client.ApiException;
import com.datadog.api.v1.client.ApiResponse;
import com.datadog.api.v1.client.Configuration;
import com.datadog.api.v1.client.Pair;
import com.datadog.api.v1.client.model.HostTags;
import ... |
package cz.startnet.utils.pgdiff.formatter;
public class FormatItem {
private final int start;
private final int length;
private final String text;
public FormatItem(int start, int length, String text) {
this.start = start;
this.length = length;
this.text = text;
}
pu... |
package edu.spa.ftclib.sample.opmode;
import com.qualcomm.hardware.bosch.BNO055IMU;
import com.qualcomm.hardware.bosch.BNO055IMUImpl;
import com.qualcomm.hardware.bosch.JustLoggingAccelerationIntegrator;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;... |
package com.example.service;
public class StudyInheritance {
}
interface A {
default void fun() {}
}
interface B {
default void fun() {}
}
interface C {
default void fun() {}
}
interface D extends A, B, C { // multiple inheritance
default void fun() {}
}
class X implements A , B{
@Override
public void fu... |
/*
* Copyright 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://www.apache.org/licenses/LICENSE-2.0
*
* or in the "... |
/*
* Copyright 2019 The Grafeas Authors. 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package ec.util;
import java.io.*;
import java.util.Random;
/**
* <h3>MersenneTwister and MersenneTwisterFast</h3>
* <p><b>Version 16</b>, based on version MT199937(99/10/29)
* of the Mersenne Twister algorithm found at
* <a href="http://www.math.keio.ac.jp/matumoto/emt.html">
* The Mersenne Twister Home Page</a... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE129_Improper_Validation_of_Array_Index__listen_tcp_array_read_check_max_03.java
Label Definition File: CWE129_Improper_Validation_of_Array_Index.label.xml
Template File: sources-sinks-03.tmpl.java
*/
/*
* @description
* CWE: 129 Improper Validation of Array Index
* BadSo... |
/*
*
* * Copyright 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 copy of the License at
* *
* * http://www.apache.org/licenses/LICENSE-2.0
* *
*... |
package org.jabref.gui.preftabs;
/*
Taken from JpicEdt
modified slightly by nizar batada for JabRef
EepicViewFactory.java - February 11, 2002 - jPicEdt, a picture editor for LaTeX.
copyright (C) 1999-2002 Sylvain Reynal
Portions copyright (C) 2000, 2001 Slava Pestov
Portions copyright (C) 1999 Jason Ginchereau
... |
/*
* 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 javaapplication9;
/**
*
* @author hernando
*/
public class JavaApplication9 {
/**
* @param args the command line ... |
/**
* 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... |
/*
* (c) Copyright 2019 Palantir Technologies 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 ... |
/*
* 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... |
/*
* MIT License
*
* Copyright (c) 2018 Paulo Lobo
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modif... |
package com.lanshiqin.cmsboot.core.service;
import com.lanshiqin.cmsboot.core.filter.UserInfoFilter;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.lanshiqin.cmsboot.core.entity.SysUserInfo;
import com.lanshiqin.cmsboot.core.dao.SysUserInfoDao;
@Serv... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package impresionJasper;
import ar.com.fdvs.dj.domain.constants.HorizontalAlign;
public class JInfConfigColumnaJasper implements Cloneable {
private final int mlColumna;
private byte mlAlineacion=-1;
privat... |
package com.gmail.maxsvynarchuk.presentation.command.impl.user;
import com.gmail.maxsvynarchuk.presentation.command.Command;
import com.gmail.maxsvynarchuk.presentation.command.CommandResult;
import com.gmail.maxsvynarchuk.presentation.util.Util;
import com.gmail.maxsvynarchuk.presentation.util.constants.PagesPaths;
i... |
package cz.wake.manager.perks.general;
import co.aikar.commands.BaseCommand;
import co.aikar.commands.CommandHelp;
import co.aikar.commands.annotation.CommandAlias;
import co.aikar.commands.annotation.Default;
import co.aikar.commands.annotation.Description;
import co.aikar.commands.annotation.HelpCommand;
import cz.w... |
class Solution {
public boolean XXX(TreeNode root) {
return helper(root, root);
}
public boolean helper(TreeNode leftRoot, TreeNode rightRoot) {
if(leftRoot == null && rightRoot == null)
return true;
if(leftRoot == null || rightRoot == null)
return false;
... |
package com.angkorteam.fintech.dto.builder.loan;
import java.util.Date;
import org.apache.commons.lang3.time.DateFormatUtils;
import io.github.openunirest.http.JsonNode;
public class RepaymentBuilder {
private String id;
private boolean hasId;
public RepaymentBuilder withId(String id) {
this.i... |
/*
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php
*
* Unless required by... |
package com.alipay.api.response;
import java.util.List;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
import com.alipay.api.domain.AssetDeviceRelation;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: anttech.blockchain.finance.asset.devicelist.query re... |
package it.mscuttari.kaoldb.mapping;
import org.hamcrest.Matchers;
import org.junit.Before;
import org.junit.Test;
import java.util.Collection;
import java.util.stream.Collectors;
import it.mscuttari.kaoldb.AbstractTest;
import it.mscuttari.kaoldb.LogUtils;
import it.mscuttari.kaoldb.annotations.Column;
import it.ms... |
package cn.myperf4j.base.metric;
import java.lang.management.BufferPoolMXBean;
/**
* Created by LinShunkang on 2018/11/1
*/
public class JvmBufferPoolMetrics extends Metrics {
private static final long serialVersionUID = 1308517280962399791L;
private final String name;
private final long count;
... |
/*
* 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... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.income.vo;
import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.modules.income.entity.Rule;
import com.thinkgem.jeesite.modules.sys... |
package net.stackoverflow.blog.dao;
import net.stackoverflow.blog.common.Page;
import net.stackoverflow.blog.pojo.entity.RolePermission;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
/**
* 角色-权限中间表Mapper接口
*
* @author 凉衫薄
*/
@Mapper
public interface RolePermissionDao {... |
package com.senseidb.search.relevance;
import java.util.Set;
import com.browseengine.bobo.facets.data.MultiValueFacetDataCache;
import com.browseengine.bobo.facets.data.TermStringList;
public class MFacetString extends MFacet
{
public MFacetString(MultiValueFacetDataCache mDataCaches)
{
super(mDataCaches);
... |
package ca.damocles.Spells;
public enum TargetType {
TARGET_ENEMY, TARGET_BLOCK, SELF_CAST;
} |
/*
* Copyright 2012-2015 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 data;
import controls.sunburst.WeightedTreeItem;
/**
* Represents a strategy by which the data for the control is received.
* Created by n0daft on 09.05.2014.
*/
public interface ISourceStrategy {
/**
* Returns the data model represented by the root item.
* We expect the model to be a tree m... |
/*
* MIT License
* Copyright (c) 2020-2029 YongWu zheng (dcenter.top and gitee.com/pcore and github.com/ZeroOrInfinity)
*
* 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 restric... |
/*
* Copyright 2017 NAVER 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 applicable law or agreed to ... |
package eas.com.util.criteria;
import eas.com.entity.Author;
import javax.ws.rs.QueryParam;
/**
* Created by eduardo on 12/3/2016.
*/
public class CriteriaAuthor implements Criteria<Author> {
@QueryParam("country")
private String country;
@QueryParam("genre")
private String genre;
public Cr... |
/**
* Convenience classes for scheduling based on the CommonJ WorkManager/TimerManager
* facility, as supported by IBM WebSphere 6.0+ and BEA WebLogic 9.0+.
*/
package org.springframework.scheduling.commonj; |
package com.study.LXF01.Package17XMLJSON;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.xml.sax.SAXException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;
import java.io.... |
package org.example;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertEquals;
class MainTest {
@Test
void name() {
assertThat("1").isEqualTo("1");
assertEquals("1", "1");
}
} |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package be.ugent.maf.cellmissy.gui.controller.load.cellmia;
import be.ugent.maf.cellmissy.entity.Experiment;
import be.ugent.maf.cellmissy.entity.PlateCondition;
import be.ugent.maf.cellmissy.entity.Project;
import be.u... |
package org.omg.DynamicAny;
/**
* org/omg/DynamicAny/DynSequence.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u144/9417/corba/src/share/classes/org/omg/DynamicAny/DynamicAny.idl
* Friday, July 21, 2017 10:09:18 PM PDT
*/
/**
... |
package com.emc.ecs.management.sdk.actions;
import com.emc.ecs.management.sdk.ManagementAPIConnection;
import com.emc.ecs.management.sdk.model.BaseUrl;
import com.emc.ecs.management.sdk.model.BaseUrlInfo;
import com.emc.ecs.management.sdk.model.BaseUrlList;
import com.emc.ecs.servicebroker.exception.EcsManagementClien... |
package uk.gov.hmcts.ecm.common.model.bulk.types;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.List;
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class DynamicFixedListType {
private transient... |
package seedu.address.logic.commands.deck.entry;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static seedu.address.logic.commands.CommandTestUtil.DESC_JAPANESE;
import static seedu.address.logic.commands.CommandTestUtil.DESC_SPANISH;
impo... |
/*
* 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... |
package net.minecraft.entity.ai.attributes;
import com.google.common.collect.Sets;
import java.util.Collection;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import net.minecraft.entity.ai.attributes.BaseAttributeMap;
import net.minecraft.entity.ai.attributes.IAttribute;
import net.minecraft.en... |
/*
* #%L
* ImgLib2: a general-purpose, multidimensional image processing library.
* %%
* Copyright (C) 2009 - 2021 Tobias Pietzsch, Stephan Preibisch, Stephan Saalfeld,
* John Bogovic, Albert Cardona, Barry DeZonia, Christian Dietz, Jan Funke,
* Aivar Grislis, Jonathan Hale, Grant Harris, Stefan Helfrich, Mark Hi... |
/*
* 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 ma... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.