text stringlengths 7 995k |
|---|
package net.fettlol.util;
import com.google.common.collect.ImmutableSet;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonObject;
import com.google.gson.JsonSerializationContext;
import net.fettlol.UtilMod;
import net.minecraft.block.entity.BlockEntity;
import net.minecraft.loot.condition.... |
/*
* Copyright 2008 The Closure Compiler 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... |
package pl.kkowalewski.springrestfruitshop.api.v1.model.vendor;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import java.util.List;
public class ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.storeharmony.dejialadejebi.coinbase;
/**
*
* @author deji aladejebi
*/
public class CoinbaseException extends Exception... |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... |
package org.knowm.xchange.dsx.dto.marketdata;
import com.fasterxml.jackson.annotation.JsonProperty;
/** @author Mikhail Wall */
public final class DSXTrade {
private final Double amount;
private final Double price;
private final long date;
private final long tid;
private final String tradeType;
public D... |
/**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008 The Sakai Foundation
*
* Licensed under the Educational Community License, Ve... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are su... |
// Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... |
/*
* Copyright 2013-present Facebook, 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... |
/***
* An example for JUnit in JunitExampleTest.java
* @author Leo
*
*/
public class JunitExample {
public static void main(String[] args){
StringObjectJunit x = new StringObjectJunit("hello");
StringObjectJunit y = new StringObjectJunit("world");
x.swap(y);
System.out.println(x);
System.out.println... |
/**
* Automatically generated file. DO NOT MODIFY
*/
package com.example.yangjingqi.assignment4.test;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "com.example.yangjingqi.assignment4.test";
public static final Str... |
package za.org.grassroot.services.async;
import za.org.grassroot.core.enums.UserLogType;
import za.org.grassroot.core.enums.UserInterfaceType;
import java.time.Instant;
import java.util.Set;
/**
* Created by luke on 2016/02/22.
*/
public interface AsyncUserLogger {
/**
* Generic method to record a user e... |
package com.github.binarywang.wxpay.bean.marketing.payroll;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* <pre>
* 生成授权token
* 文档地址:https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter4_1_1.shtml
*
* 适用对... |
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package threads;
import main.ArrayVisualizer;
import sorts.InPlaceMergeSort;
import sorts.LazyStableSort;
import sorts.MergeSort;
import sorts.PartialMergeSort;
import sorts.RotateMergeSort;
import templates.JErrorPane;
import templates.MultipleSortThread;
import templates.Sort;
/*
*
MIT License
Copyright (c) 2019... |
// Copyright 2017 JanusGraph 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 agree... |
package CIAPI.Java;
import java.util.Arrays;
import java.util.concurrent.Future;
import CIAPI.Java.core.ServiceMethods;
import CIAPI.Java.core.dto.ApiLogOffResponseDTO;
import CIAPI.Java.core.dto.ApiLogOnRequestDTO;
import CIAPI.Java.core.dto.ApiLogOnResponseDTO;
import CIAPI.Java.core.impl.ServiceMethodsImpl;
import... |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... |
package com.encrypt;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.encrypt.Util;
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
public class SM4Utils {
// private String secretKey = "";
// private String iv = "";
// private boolean hexSt... |
package com.kc.pingpang.platform.business.adapter.api;
import com.alibaba.fastjson.annotation.JSONField;
public class PayResponse {
private Integer oderid;
@JSONField(name = "url_qrcode")
private String urlQrcode;
private String url;
private String hash;
private Integer errcode;
priva... |
/*
* Copyright (C) 2018 The Sylph 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 ... |
package com.binance.dex.api.client.encoding.message.sidechain.value;
import com.binance.dex.api.client.encoding.amino.AminoField;
import com.binance.dex.api.client.encoding.amino.AminoSerializable;
import com.binance.dex.api.client.encoding.message.BinanceDexTransactionMessage;
import com.binance.dex.api.client.encodi... |
package com.dhcc.shanjupay.merchant.convert;
import com.dhcc.shanjupay.merchant.vo.MerchantDetailVO;
import com.dhcc.shanjupay.merchant.api.dto.MerchantDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
/**
* @author 李锦卓
* @version 1.0
* @date 2020/6/15 1:40
*/
@Mapper //对象属性映射
public interfa... |
/*
* 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 designpatterns.visitorpattern;
/**
*
* @author mars
*/
public class StackEmptyException extends Exception {
} |
/*
* Copyright (c) 2018 simplity.org
*
* 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, modify, merge, publis... |
package gnu.mapping;
public abstract class Procedure4 extends Procedure {
public abstract Object apply4(Object obj, Object obj2, Object obj3, Object obj4) throws Throwable;
public Procedure4(String n) {
super(n);
}
public int numArgs() {
return 16388;
}
public Object apply0()... |
/*
* Copyright (c) 2012, 2018, 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 ... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow_metadata/proto/v0/schema.proto
package org.tensorflow.metadata.v0;
public interface TimeDomainOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.metadata.v0.TimeDomain)
com.google.protobuf.MessageOrBuilde... |
package com.suredy.flow.manager.entity;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.springframework.format.annotation.DateTimeFormat;
import com.suredy.core.model.BaseModel;
@Entity
@Table(name = "T_APP_FLOW")
public class Flow... |
package ru.qa.template.managers;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import java.net.MalformedURLException;
public class NavigationHelper extends HelperBase {
public NavigationHelper(ApplicationManager app) throws MalformedURLException {
super(app);
}
public void... |
package pucrs.s2b.tesouro.verificationpoint;
import org.openqa.selenium.WebDriver;
import com.aventstack.extentreports.Status;
import pucrs.s2b.tesouro.framework.Report;
import pucrs.s2b.tesouro.framework.ScreenShot;
public class RedemptionVerificationPoint {
private static final String REDEMPTION_MESSAGE = "Ope... |
package com.home.commonData.data.social.friend;
/** 好友数据(maybeExtends) */
public class FriendDO extends ContactDO
{
/** 添加时间 */
long addTime;
/** 是否是机器人好友 */
boolean isRobot;
} |
package com.chenzj36.project.demo.controller;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bin... |
package com.commercetools.api.models.order;
import java.time.*;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
import io.vrap.rmf.base.client.utils.Generated;
import org.apache.commons... |
/*
* Copyright 2015 Eric F. Savage, code@efsavage.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 require... |
package com.atguigu.gulimall.coupon.service;
import com.atguigu.common.to.SkuReductionTo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.coupon.entity.SkuFullReductionEntity;
import java.util.Map;
/**
* 商品满减信息
*
* @author ryan
* ... |
/**
* <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 model.command.twoParameter.bool;
import java.util.List;
import model.command.AbstractCommand;
public class GreaterThan extends AbstractCommandTwoParameterBoolean {
public GreaterThan(List<AbstractCommand> parameters) {
super(parameters);
}
public double execute() {
BooleanOpera... |
package com.robert.kafka.kclient.excephandler;
/**
* This is the pluggable interface to handle the unexpected exception when
* handing the message in handlers.
*
* @author Robert Lee
* @since Aug 21, 2015
*/
public interface ExceptionHandler {
public boolean support(Throwable t);
public void handle(Thro... |
package com.meters.shooty;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogi... |
package com.project.eps.controller;
import java.util.List;
import java.util.Map;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.Model;
import org.springframework.stereotype.Controller;
import org.springframewor... |
package abattleground;
import java.util.Stack;
public class UnicodeCoder {
// 将Unicode码转换为中文
public static String tozhCN(String unicode) {
StringBuffer gbk = new StringBuffer();
String hex[] = unicode.split("\\\\u");
for (int i = 1; i < hex.length; i++) { // 注意要从 1 开始,而不是从0开始。第一个是空。
... |
/*
* Copyright 2016-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... |
package br.com.leomanzini.dollar.price.dto.response;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UsdBrl {
private String code;
private String codein;
private String bid;
private S... |
package org.freehg.hgkit.core;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Date;
import java.util.Has... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
package com.cloud.api.commands;
import com.cloud.affinity.AffinityGroupResponse;
import com.cloud.api.APICommand;
import com.cloud.api.APICommandGroup;
import com.cloud.api.ApiConstants;
import com.cloud.api.ApiErrorCode;
import com.cloud.api.BaseListCmd;
import com.cloud.api.Parameter;
import com.cloud.api.ServerApiE... |
package com.atguigu.gmall.sms.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gmall.sms.entity.HomeSubjectSpuEntity;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;
/**
* 专题商品
*
* @author lixianfeng
* @email lxf@atguigu.com
* @date 2020-0... |
/*
* Copyright (c) 2016, 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.o... |
package cn.ytxu.http_wrapper.model.request.input;
import cn.ytxu.http_wrapper.model.field.FieldModel;
/**
* Created by ytxu on 2016/12/4.
*/
public class InputModel extends FieldModel<InputGroupModel> {
public InputModel(InputGroupModel higherLevel) {
super(higherLevel);
higherLevel.addInput(th... |
package com.concurrent;
public class T implements Runnable {
private volatile int count = 100;
public synchronized void run() {
count--;
System.out.println(Thread.currentThread().getName() + " count = " + count);
m();
}
public synchronized void m() {
System.out.printl... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2012, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... |
/*
* Copyright (c) 2017 org.hrodberaht
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${groupId}.business.email;
import java.util.HashMap;
import java.util.Map;
public class EmailTemplate {
public enum EmailTemplatePart {
SUBJECT_CONTENT("subject_content", false),
SALUTATION_CONTENT("salutation_content"... |
package cn.tommyyang.jtools.time;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
/**
* @Author : TommyYang
* @Time : 4/10/22 7:21 PM
* @Software:... |
package bg.uni.sofia.fmi.mjt.dungeon;
public enum Direction {
LEFT,
UP,
DOWN,
RIGHT
} |
/*******************************************************************************
* Copyright 2009-2014 Amazon Services. 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 Licens... |
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.math.function;
import org.testng.annotations.Test;
public class Function1DTest {
private static final Function1D<Double, Double> F = new Function... |
package samfare.me.whichplantwhere;
import org.junit.Test;
import static org.junit.Assert.*;
public class PlantLoaderTests {
@Test
public void addition_isCorrect() {
}
} |
/*
* Copyright 2016 Victor Albertos
*
* 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... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.common.utils;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.lan... |
package org.cyclops.cyclopscore.nbt.path.parse;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import net.minecraft.nbt.NBTBase;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.nbt.NBTTagString;
import org.cyclops.cyclopscore.nbt.path.I... |
package cn.laoshini.dk.util;
import java.io.ByteArrayOutputStream;
import java.util.zip.Deflater;
import java.util.zip.Inflater;
/**
* 数据压缩工具类
*
* @author fagarine
*/
public class ZlibUtil {
private ZlibUtil() {
}
/**
* 压缩
*
* @param data
* @return
*/
public static byte[]... |
package com.coolweather.android.db;
import org.litepal.crud.LitePalSupport;
/**
* @author gton
* @date 2020/7/17
* @sub
*/
public class Province extends LitePalSupport {
private int id;
private String provinceName;
private int provinceCode;
public int getId() {
return id;
}
p... |
package com.ermile.salamquran.android.widgets;
import android.content.Context;
public class QuranTabletImagePageLayout extends QuranImagePageLayout {
public QuranTabletImagePageLayout(Context context) {
super(context);
}
@Override
protected boolean shouldWrapWithScrollView() {
return false;
}
} |
/*
* *****************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2017 by Hitachi Vantara : http://www.pentaho.com
*
* *******************************************************************************
* Licensed under the Apache License, Version ... |
package com.lzkill.gateway.web.rest;
import com.lzkill.gateway.service.AuditEventService;
import io.github.jhipster.web.util.PaginationUtil;
import io.github.jhipster.web.util.ResponseUtil;
import org.springframework.boot.actuate.audit.AuditEvent;
import org.springframework.data.domain.Page;
import org.springframewor... |
package com.buzz.CatDogVPN.model;
public class Server {
private String country;
private String flagUrl;
private String ovpn;
private String ovpnUserName;
private String ovpnUserPassword;
public Server() {
}
public Server(String country, String flagUrl, String ovpn) {
this.cou... |
package if4031.server.config;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
* Created by nim_13512065 on 9/27/15.
*/
public class ServerConfiguration {
private final Properties prop;
public ServerConfiguration(String propertie... |
package pl.dudekmaciej.server.model.exception;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import pl.dudekmaciej.server.model.serializer.EntityNotFoundExceptionSerializer;
import java.time.LocalDateTime;
/**
* Exception class throwing new exception when will be problem with... |
/*
* Copyright 2006-2007 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
//
// MIT License
//
// Copyright (c) 2021 Vaishnav Anil
//
// 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, mo... |
/*
* 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.opencds.cqf.providers;
import ca.uhn.fhir.jpa.dao.SearchParameterMap;
import ca.uhn.fhir.jpa.rp.dstu3.CodeSystemResourceProvider;
import ca.uhn.fhir.jpa.rp.dstu3.ValueSetResourceProvider;
import ca.uhn.fhir.rest.annotation.*;
import ca.uhn.fhir.rest.api.MethodOutcome;
import ca.uhn.fhir.rest.api.server.IBu... |
package canvasolutions.kreemcabs.drivers.datepicker;
public interface HorizontalPickerListener {
void onStopDraggingPicker();
void onDraggingPicker();
void onDateSelected(Day item);
} |
/**
* 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.myapplication.viewmodel;
import android.app.Application;
import android.os.Handler;
import androidx.annotation.NonNull;
import androidx.lifecycle.LiveData;
import com.example.myapplication.model.Auth;
import com.example.myapplication.model.entities.User;
import com.example.myapplication.utility.S... |
package co.innovamos.blinder;
import android.Manifest;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.app.Service;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.loca... |
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.example;
import com.yahoo.search.*;
import com.yahoo.search.result.Hit;
import com.yahoo.search.searchchain.Execution;
import com.yahoo.yolean.chain.Before;
/**
* A searcher addin... |
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... |
package com.eixampledb.core.api.request;
public abstract class Request {
} |
package no.ssb.lds.core.controller;
import io.undertow.server.HttpHandler;
import io.undertow.server.HttpServerExchange;
import io.undertow.util.Headers;
import io.undertow.util.StatusCodes;
import no.ssb.lds.api.persistence.reactivex.RxJsonPersistence;
import no.ssb.lds.api.specification.Specification;
import no.ssb.... |
/*
* Copyright 2013-2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/* Copyright (c) 2021 Damian Brunold, Gesundheitsdirektion Kanton Zürich
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
... |
package com.vwo.sampleapp.fragments;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.vwo.sampleapp.R;
import com.vwo.sampleapp.interfaces.ChangeFragme... |
package dk.kvalitetsit.kithugs.api;
import java.time.ZonedDateTime;
public class HelloResponse {
private ZonedDateTime now;
private String name;
public ZonedDateTime getNow() {
return now;
}
public void setNow(ZonedDateTime now) {
this.now = now;
}
public String getName(... |
package com.iamycx.tagdepend;
import java.util.Timer;
import java.util.TimerTask;
public class CacheManager {
public CacheManager(){
Timer timer = new Timer();
TimerTask cacheTask = new CacheTask();
timer.schedule(cacheTask,0,SystemSettings.REFRESH_CYCLE*1000);
}
} |
/*
* 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) 2016-present, RxJava 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 applicable l... |
package entities;
public class Product {
private String name;
private Double price;
public Product(String name, Double price) {
this.name = name;
this.price = price;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Double getPrice() {
ret... |
/*
* Copyright (c) 2021 acmi
*
* 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, modify, merge, publish, distr... |
/*
* Licensed to Elastic Search and Shay Banon under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Elastic Search licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you m... |
/*
* 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.andre.aguaclarapost;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on... |
package controller;
import java.io.IOException;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.Button;
import javafx.sc... |
package rest.server;
import dht.DHT;
import dht.Key;
import dht.Node;
import rest.message.Message;
import rest.message.MessageJson;
import java.util.ArrayList;
import java.util.List;
public class ServerData {
public static ServerData Instance;
public List<Message> messages;
public DHT dht;
public Node _node;... |
/*
Copyright 2013-2019, Sumeet Chhetri
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 ... |
/*
*
* * All Application code is Copyright 2016, The Department of Homeland Security (DHS), U.S. Customs and Border Protection (CBP).
* *
* * Please see LICENSE.txt for details.
*
*/
package gov.gtas.services;
import gov.gtas.model.HitDetail;
import gov.gtas.model.Passenger;
import gov.gtas.vo.HitDetailVo;
i... |
package com.store.ware.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.store.common.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.