text stringlengths 7 1.01M |
|---|
/*
* Copyright 2018 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package me.crespel.karaplan.config;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;
import org.springframework.web.filter.ForwardedHeaderFi... |
package us.bigfatnoob.priorityqueue;
import us.bigfatnoob.utils.Compare;
import java.util.Comparator;
/**
* Created by @bigfatnoob on 4/2/17.
* Abstract Class for Priority Queue
*/
public abstract class PriorityQueue<Item> {
/***
* Auxiliary array that stores the contents of the PQ
*/
protected... |
package edu.dlut.catmall.order.service;
import com.baomidou.mybatisplus.extension.service.IService;
import edu.dlut.catmall.order.vo.*;
import edu.dlut.common.to.mq.SeckillOrderTO;
import edu.dlut.common.utils.PageUtils;
import edu.dlut.catmall.order.entity.OrderEntity;
import java.util.Map;
import java.util.concurre... |
package org.rxjava.gateway.manager;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.gateway.route.RouteLocator;
import org.springframework.cloud.ga... |
/*
* Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
/*
* IDM Syncronizer
* Copyright (c) 2018 Torsten Juergeleit
* mailto:torsten AT vaulttec DOT 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/L... |
/***
* Copyright (c) 2009 Caelum - www.caelum.com.br/opensource
* 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
... |
/*
* (C) Copyright 2003-2017, by Avner Linder and Contributors.
*
* JGraphT : a free Java graph-theory library
*
* See the CONTRIBUTORS.md file distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* t... |
package app.views;
import app.db.entities.User;
import com.google.gson.Gson;
import java.util.List;
/**
* JsonView presents User as Json
* also presents list of users as
* { "users": [userJson1, userJson2,... userJsonN] }
*/
public class JsonView implements View<User> {
private final Gson json;
public J... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package de.danoeh.antennapod.core.storage;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.DatabaseUtils;
import android.database.MergeCursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import androi... |
package com.chenlb.mmseg4j.analysis;
import java.io.File;
import java.io.Reader;
import org.apache.lucene.analysis.Analyzer;
import com.chenlb.mmseg4j.Dictionary;
import com.chenlb.mmseg4j.MaxWordSeg;
import com.chenlb.mmseg4j.Seg;
/**
* 默认使用 max-word
*
* @see {@link SimpleAnalyzer}, {@link Complex... |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.documentation;
import com.intellij.codeInsight.CodeInsightBundle;
import com.intellij.codeInsight.hint.HintManagerImpl;
import com.intellij.code... |
/****************************************************************
* 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... |
package com.bysj.framework.shiro.realm;
import java.util.HashSet;
import java.util.Set;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.Excess... |
package ind.xwm.thermal;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@MapperScan("ind.xwm.thermal.dao")
@S... |
package com.example.flixster.adapters;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.speech.RecognizerIntent;
import android.text.Html;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Vi... |
package com.basis;
public class Cake extends Object{
private int id;
public Cake (int id){
this.id = id;
System.out.println("Cake Object"+id+"is created");
}
protected void finalize() throws java.lang.Throwable{
super.finalize();
System.out.println("Cake Obj... |
/*
* Prime Developer Trial
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*... |
/*
* 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.bian.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.Valid;
/**
* SDInvestmentPortfolioManagementFeedbackOutputModelServiceDom... |
package com.cyc.cycjava.cycl;
import static com.cyc.cycjava.cycl.subl_macro_promotions.$catch_error_message_target$;
import static com.cyc.cycjava.cycl.subl_macro_promotions.declare_defglobal;
import static com.cyc.tool.subl.jrtl.nativeCode.subLisp.Characters.CHAR_tab;
import static com.cyc.tool.subl.jrtl.nativeCode.... |
package edu.nwmissouri.animalList;
/**
* Animal super class for traits shared by all animals. Abstract - don't make a
* general animal - only specific types.
*
* @author Dr. Case
*/
public abstract class Animal {
/**
* Every animal has a name. Class variable name is not private, but
* protected - o... |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2013 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... |
/**
* Copyright (C) 2010-2015 eBusiness Information, Excilys Group
*
* 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 ... |
/*
* MIT License
*
* Copyright (c) 2022 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... |
/*
* Copyright (C) 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 applica... |
/*
* Copyright 2000-2016 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 org.chain3j.abi.datatypes.generated;
import java.math.BigInteger;
import org.chain3j.abi.datatypes.Uint;
/**
* Auto generated code.
* <p><strong>Do not modifiy!</strong>
* <p>Please use org.chain3j.codegen.AbiTypesGenerator in the
* <a href="https://github.com/chain3j/chain3j/tree/master/codegen">codegen... |
// Copyright 2019 The Bazel 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... |
package dev.utils.app;
import android.content.res.ColorStateList;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.text.Html;
import android.text.InputFilter;
import android.text.TextPaint;
... |
public class Exp {
private Trm trm;
private Exp exp;
private int op;
public Exp() {
this.trm = null;
this.exp = null;
this.op = 0;
}
public void parse() throws ParseException {
this.trm = new Trm();
this.trm.parse();
if (Parser.getCurrentTokenKin... |
package sec.dpas;
import sec.dpas.exceptions.SigningException;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Arrays;
import j... |
/*
* Copyright (c) 2011 LinkedIn, 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... |
package io.github.maroodb.simpleevent.core;
import java.util.Objects;
import java.util.function.Consumer;
class Task<I> {
private final int id;
private final Consumer<I> consumer;
Task(int id, Consumer<I> consumer) {
this.id = id;
this.consumer = consumer;
}
void execute(I messag... |
package com.example.profbola.bakingtime.models;
import android.content.ContentValues;
import android.database.Cursor;
import android.os.Parcel;
import android.os.Parcelable;
import com.example.profbola.bakingtime.provider.RecipeContract;
import com.example.profbola.bakingtime.utils.RecipeUtils;
import org.json.JSONE... |
package pkg01.programa.expresion;
/*
* 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.
*/
/**
*
* @author juangonzalezcalleros
*/
public class CalculoExpresion {
public static i... |
package com.ciaoshen.sia4.ch01.knights_112;
public interface Knight {
public void embarkOnQuest();
}
|
package canvasolutions.kreemcabs.drivers.adapter;
import android.app.Activity;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.ProgressBar;
imp... |
/*******************************************************************************
* Copyright (c) 2009, 2014 IBM Corp.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* and Eclipse Distribution License v1.0 which accompany ... |
package textgen;
import java.util.AbstractList;
/** A class that implements a doubly linked list
*
* @author UC San Diego Intermediate Programming MOOC team
* @author Hadjshell
*
* @param <E> The type of the elements stored in the list
*/
public class MyLinkedList<E> extends AbstractList<E> {
LLNode<E> head;... |
package ru.backtesting.mktindicators;
import java.time.LocalDateTime;
import org.apache.commons.lang3.NotImplementedException;
import ru.backtesting.mktindicators.base.MarketIndicatorInterface;
import ru.backtesting.mktindicators.base.MarketIndicatorType;
import ru.backtesting.mktindicators.base.MarketIndicatorsHist... |
package com.codepath.apps.restclienttemplate;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.os.Bundle;
import android.util.Log;
import android.widget.Adapter;
import android.widget.ImageView;
i... |
package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: zhima.customer.ep.certification.initialize response.
*
* @author auto create
* @since 1.0, 2021-03-26 15:14:02
*/
public class ZhimaCustomerEpCertificationInitia... |
package yang.netty.groupChat;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.*;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.netty.handler.codec.string.StringDecoder;
import io.netty.handler.cod... |
package es.tid.pce.pcep.objects.tlvs;
import es.tid.pce.pcep.objects.MalformedPCEPObjectException;
import es.tid.pce.pcep.objects.ObjectParameters;
import es.tid.protocol.commons.ByteHandler;
/*
* The SR-PCE-CAPABILITY TLV is an optional TLV for use in the OPEN
Object to negotiate Segment Routing capability on... |
package de.gultsch.ejabberd.api.requests;
public class UserResources extends UserHostRequest {
public UserResources(String user, String host) {
super(user, host);
}
}
|
/*
* 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.example.android.waitlist;
import android.content.Context;
import android.database.Cursor;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.example.android.waitlist.data.Wai... |
package cn.net.hylink.policingcase.mvp.ui.activity;
import android.Manifest;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.widget.Toast;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.baidu.location.LocationClient;
import com.b... |
/*
* Copyright 2008-2017 Bas Leijdekkers
*
* 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 fi.solita.utils.api.format;
import static fi.solita.utils.functional.Collections.newList;
import static fi.solita.utils.functional.Collections.newMutableList;
import static fi.solita.utils.functional.Functional.cons;
import static fi.solita.utils.functional.Functional.drop;
import static fi.solita.utils.functi... |
package com.mic.demo.sentinel;
import com.alibaba.csp.sentinel.slots.block.BlockException;
public class BlockHandler {
public static String handlerException(int id,Throwable exception) {
return "handlerException";
}
public static String handlerBlock(int id,BlockException exception) {
ret... |
/*
* Copyright (c) 2018 MapleLabs. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*
* 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/LI... |
package io.antmedia.security;
import java.util.Map;
import org.red5.server.api.Red5;
import org.red5.server.api.scope.IScope;
import org.red5.server.api.stream.IStreamPublishSecurity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import io.antmedia.datastore.db.DataStoreFactory;
import io.antmedia.datasto... |
package com.exa.utils.values;
public class DecimalValue<_C> extends MemoryValue<Double, _C> {
/**
*
*/
private static final long serialVersionUID = 1L;
public DecimalValue() {
super();
}
public DecimalValue(Double value) {
super(value);
}
@Override
public DecimalValue<_C> asDecimalValue() {
ret... |
/*-
* Copyright (C) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
*
* This file was distributed by Oracle as part of a version of Oracle Berkeley
* DB Java Edition made available at:
*
* http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html
*
* Please ... |
package com.qsz.coolweather.android.gson;
import com.google.gson.annotations.SerializedName;
/**
* 包含未来几天的天气信息
* Created by QSZ on 2018/6/8 15:38
* @author QSZ
*/
public class Forecast {
public String date;
@SerializedName("tmp")
public Temperature temperature;
@SerializedName("cond")
publi... |
package pl.zankowski.iextrading4j.client.sse.request.marketdata;
import org.junit.jupiter.api.Test;
import pl.zankowski.iextrading4j.api.marketdata.SecurityEvent;
import pl.zankowski.iextrading4j.client.socket.request.marketdata.deep.DeepAsyncResponse;
import pl.zankowski.iextrading4j.client.sse.manager.SseRequest;
i... |
/*
* 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 io.reflectoring.coderadar.graph.useradministration;
import io.reflectoring.coderadar.domain.User;
import io.reflectoring.coderadar.graph.Mapper;
import io.reflectoring.coderadar.graph.contributor.ContributorMapper;
import io.reflectoring.coderadar.graph.game.QuestMapper;
import io.reflectoring.coderadar.graph.... |
package edu.ucsb.cs56.pconrad.parsing;
import edu.ucsb.cs56.pconrad.parsing.tokenizer.TokenizerException;
import edu.ucsb.cs56.pconrad.parsing.parser.ParserException;
import edu.ucsb.cs56.pconrad.parsing.evaluator.EvaluatorException;
import java.util.Scanner;
/*
Class with a default main routine that takes expre... |
package de.renew.net;
import de.renew.engine.searcher.Occurrence;
import de.renew.engine.searcher.Searcher;
import de.renew.engine.simulator.SimulationThreadPool;
import de.renew.expression.VariableMapper;
import de.renew.unify.Impossible;
import java.io.ObjectStreamException;
import java.util.Collections;
/**
... |
/**
* Copyright 2013-2015 JEECG (jeecgos@163.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 app... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.0
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... |
package com.softard.wow.screencapture;
import android.media.MediaCodec;
import android.media.MediaExtractor;
import android.media.MediaFormat;
import android.os.Handler;
import android.os.Looper;
import android.view.Surface;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.ArrayDeque;
import j... |
/*
* 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 ... |
/**
* 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 si.iskratel.cdr.parser;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
public class FixedPartPpdr {
public PpdrBean parse220record(DataRecord dataRecord) {
byte[] recordBytes = dataRecord.getDataRecordBytes();
PpdrBean ppdrBean = new PpdrBean();
... |
/*
* Copyright 2018-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
// ============================================================================
//
// Copyright (C) 2006-2015 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
/*
* Copyright 2015-2017 Austin Keener & Michael Ritter
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/**
* Licensed 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.personal.simulation.schedule.impl;
import org.personal.simulation.concurrent.LocalThreadFactory;
import org.personal.simulation.schedule.AbstractScheduler;
import org.personal.simulation.schedule.Scheduler;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import java... |
package launcher;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import javax.swing.JOptionPane;
public class FileOutputManager
{
/**
*
* @param frame
* @return false if the launch should be aborted. This occurs when a file exists and
* the user decides not overwri... |
/**
* Flag.java
* ---------------------------------
* Copyright (c) 2016
* RESOLVE Software Research Group
* School of Computing
* Clemson University
* All rights reserved.
* ---------------------------------
* This file is subject to the terms and conditions defined in
* file 'LICENSE.txt', which is part of ... |
/**
* generated by Xtext 2.25.0
*/
package org.sodalite.sdl.ansible.ansibleDsl;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>EFor Statement</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <u... |
package io.drakon.spark.autorouter;
import spark.ResponseTransformer;
import java.lang.annotation.*;
public class Routes {
static final String NULL_STR = "null";
static final Class<? extends ResponseTransformer> NULL_TRANSFORMER = ResponseTransformer.class;
private Routes() {} // Static only
/*
... |
package io.dstore.helper;
import io.grpc.ManagedChannel;
import io.grpc.internal.ManagedChannelImpl;
import io.grpc.netty.GrpcSslContexts;
import io.grpc.netty.NegotiationType;
import io.grpc.netty.NettyChannelBuilder;
import io.netty.handler.ssl.util.InsecureTrustManagerFactory;
import javax.net.ssl.SSLException;
/... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... |
package repositories.common.commonUserModel;
import models.common.AppUser;
import models.common.CommonUserModel;
import repositories.common.commonRoleModel.FindCommonRoleModelByRoleNameRepository;
import repositories.common.commonStatusModel.FindCommonStatusModelByStatusNameRepository;
import java.util.Date;
/**
* ... |
package com.danoff.common.service;
import com.danoff.common.persistence.exception.PersistenceEntityNotFoundException;
public class ServicePreconditions {
private ServicePreconditions() {
throw new AssertionError();
}
// API
/**
* Ensures that the entity reference passed as a parameter... |
/*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... |
package snsoft.wind.constant.enums;
import com.baomidou.framework.common.IEnum;
/**
* <p>项目标题: TODO</p>
* <p>项目功能: </p>
* <p>所属模块: TODO</p>
* <p>开发平台:Window10</p>
* <p>开发工具:Eclipse</p>
* <p>jar包:TODO</p>
* <p>创建日期:2018年3月7日 上午10:00:36</p>
* <p>项目作者:刘友</p>
* <p>类全名:snsoft.springwind.common.enums.SnPermissionT... |
/**
*
* 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 gov.hhs.onc.dcdt.dns;
import javax.annotation.Nonnegative;
import org.xbill.DNS.Opcode;
public enum DnsMessageOpcode implements DnsMnemonicIdentifier {
QUERY(Opcode.QUERY), IQUERY(Opcode.IQUERY), STATUS(Opcode.STATUS), NOTIFY(Opcode.NOTIFY), UPDATE(Opcode.UPDATE);
private final int code;
private ... |
package com.haohan.platform.service.sys.modules.xiaodian.api.ctrl;
import com.haohan.framework.constant.RespStatus;
import com.haohan.framework.entity.BaseResp;
import com.haohan.framework.utils.IpUtils;
import com.haohan.framework.utils.JacksonUtils;
import com.haohan.platform.service.sys.common.utils.DateUtils;
impo... |
package cn.nela.dialboardview;
import android.os.Bundle;
import android.text.TextUtils;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import butterknife.BindView;
import butterknife.ButterKnife;
public class MainActivity extends AppCompatActivity {
@BindView(R.id.dialView)
Di... |
/*
* Copyright 2019 WeBank
*
* 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 writi... |
package com.pin.argosmobile.seleccionar;
import android.support.v7.app.ActionBarActivity;
public class ListaEscenas extends ActionBarActivity {
}
|
package rainbow.db.jdbc;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
* An interface used by {@link JdbcTemplate} for mapping rows of a
* {@link java.sql.ResultSet} on a per-row basis. Implementations of this
* interface perform the actual work of mapping each row to a result object,
* but don't n... |
package androidx.appcompat.graphics.drawable;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Outline;
import androi... |
/*
* Copyright 2012 Nodeable 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 l... |
package httprequests;
import io.restassured.RestAssured;
import io.restassured.filter.log.RequestLoggingFilter;
import io.restassured.response.Response;
import io.restassured.specification.RequestSpecification;
import org.apache.commons.io.output.WriterOutputStream;
import java.io.PrintStream;
import java.io.StringWr... |
/*
* Copyright 2019-present HiveMQ and the HiveMQ Community
*
* 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 ... |
package com.baeldung.hibernateparameters;
public class Event {
private Long id;
private String title;
public Event() {
}
public Event(String title) {
this.title = title;
}
public Long getId() {
return id;
}
private void setId(Long id) {
this.id = id;
... |
// Copyright 2017 The Bazel 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... |
/*
* @(#)AnnotationType.java 1.1 04/01/26
*
* Copyright (c) 2004, Sun Microsystems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must ret... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.