text stringlengths 7 995k |
|---|
package cat.xarxarepublicana.hashtagsxrep.application.poll;
import cat.xarxarepublicana.hashtagsxrep.domain.poll.PollRepository;
import cat.xarxarepublicana.hashtagsxrep.domain.user.User;
public class PollUnvoteUseCase {
private final PollRepository pollRepository;
public PollUnvoteUseCase(PollRepository pollRe... |
package pokecube.legends.blocks.plants;
import net.minecraft.core.BlockPos;
import net.minecraft.tags.BlockTags;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.block.RootsBlock;
import net.minecraft.world.level.block.state.BlockBehaviour;
import net.minecraft.world.level.block.state.Blo... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/delivery/delivery.proto
package ai.promoted.proto.delivery;
public interface PagingInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:delivery.PagingInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
*... |
/*
* The MIT License
*
* Copyright 2011 Sony Ericsson Mobile Communications. All rights reserved.
* Copyright 2014 Sony Mobile Communications AB. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "... |
/**
package com.ciaoshen.sia4.ch04.aop_aspectj_45;
// junit & hamcrest
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.*;
import org.junit.runner.RunWith;
import org.junit.Test;
// spring framework
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.... |
/*
*
* 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"); ... |
import java.util.*;
import org.junit.Test;
import static org.junit.Assert.*;
// LC1854: https://leetcode.com/problems/maximum-population-year/
//
// You are given a 2D integer array logs where each logs[i] = [birthi, deathi] indicates the birth
// and death years of the ith person. The population of some year x is t... |
/*
* Copyright 2000-2017 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 eu.neosurance.sdk.utils;
import android.Manifest;
import android.content.Context;
import android.content.pm.PackageManager;
import android.support.v4.app.ActivityCompat;
public class PermissionUtils {
public static boolean hasPermission(Context context, String permission) {
return ActivityCompat.c... |
/*
* 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 may ... |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */
/*
Copyright (c) 2002-2018 ymnk, JCraft,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:
1. Redistributions of source code must retai... |
package io.github.subhamtyagi.ocr.utils;
import android.content.Context;
import android.text.TextUtils;
import android.util.Log;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.text.SimpleDateFo... |
/**
* 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 ctrmap.stdlib.io.base.impl;
import java.io.IOException;
import ctrmap.stdlib.io.base.iface.WriteableStream;
public class WriteableWrapper implements WriteableStream {
protected WriteableStream out;
public WriteableWrapper(WriteableStream writeable) {
out = writeable;
}
@Override
... |
/*
* 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.sap.cloud.s4hana.eventing.security;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Base64;
import com.sap.cloud.s4hana.eventing.core.exceptions.SAPSecurityException;
public class HashUtils {
public static final String ALGORITHM = "MD5";
private H... |
/*
* Copyright 1999-2015 dangdang.com.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
package scripted_events;
import java.util.HashMap;
import levels.Level;
public final class ScriptManager {
private ScriptManager() {}
private static HashMap<String, ScriptedEvent> allEvents;
static {
allEvents = new HashMap<>();
}
public static ScriptedEvent getEvent(String name) {
return allEvents.g... |
/*
Copyright 2017 Arlind Rufi
Copyright 2017 Gianmario Pozzi
Copyright 2017 Giorgio Pea
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 requir... |
/*
* 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 ... |
// Copyright 2018 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
/*
* 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 me.yokeyword.sample.demo_flow.ui.fragment.home;
import android.os.Bundle;
import android.support.v4.view.GravityCompat;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.PopupMenu;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.Toolbar;
impo... |
package com.taobao.weex.analyzer.view.overlay;
import android.content.Context;
import com.taobao.weex.analyzer.Config;
import com.taobao.weex.analyzer.IPermissionHandler;
/**
* Description:
*
* Created by rowandjj(chuyi)<br/>
*/
public abstract class PermissionOverlayView extends DragSupportOverlayView implemen... |
package com.newegg.ec.cache.app.util;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
/**
* Created by gl49 on 2017/9/26.
*/
public class SlotRebanlance {
private static int totalSlot = 16384;
private static int initCount =5;
private static int targetCount =5;
static ... |
/**
* Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U <br>
* This file is part of FI-WARE project.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License.
* </p>
* <p>
* You may obtain a copy of the License at:<br>
*... |
package io.quarkus.devservices.derby.deployment;
import java.io.Closeable;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.InetAddress;
import java.time.Duration;
import java.util.Map;
import java.util.Optional;
import java.util.OptionalInt;
import org.apache.derby.drda.NetworkServerControl;
i... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.mc.search.client.feign.fallback;
import com.alibaba.fastjson.JSONObject;
import com.mc.common.model.PageResult;
import com.mc.search.client.feign.SearchService;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
/**
* [SearchServiceFal... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2006, Red Hat Middleware LLC, 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 i... |
/*
* Copyright (C) 2015 United States Government as represented by the Administrator of the
* National Aeronautics and Space Administration.
* All Rights Reserved.
*/
package gov.nasa.worldwind.render.airspaces;
import gov.nasa.worldwind.geom.*;
import gov.nasa.worldwind.geom.Box;
import gov.nasa.worldwind.geom.C... |
package com.senseidb.search.client.req.query.span;
import com.senseidb.search.client.json.CustomJsonHandler;
import com.senseidb.search.client.req.query.Query;
import com.senseidb.search.client.req.query.QueryJsonHandler;
/**
* <p>
* Removes matches which overlap with another span query. The span not query
* maps ... |
package com.shiming.base.utils;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
/**
* Created by shiming on 16/11/19.
*/
public class ObjectStringConverter {
/**
* 将一个序列化的对象转换成字符串
... |
package org.smartregister.reveal.viewholder;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.DrawableRes;
import androidx.annotation.NonNull;
import androidx.core.util.Pair;... |
/*
* Copyright 2017 Crown Copyright
*
* 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... |
/*
* This file is generated by jOOQ.
*/
package storage.entities.information_schema.tables;
import org.jooq.*;
import org.jooq.impl.DSL;
import org.jooq.impl.TableImpl;
import storage.entities.information_schema.InformationSchema;
import storage.entities.information_schema.tables.records.InnodbCmpmemRecord;
import ... |
package cn.sdormitory.component.security.handle;
import cn.sdormitory.common.api.CommonResult;
import cn.sdormitory.common.utils.JsonUtil;
import org.springframework.security.access.AccessDeniedException;
import org.springframework.security.web.access.AccessDeniedHandler;
import org.springframework.stereotype.Compone... |
/*
* 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.micro.config;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class ConfigApplication {
public static void main(String[] args) {
SpringApplication.run(ConfigApplication.class, args);
}
} |
package net.onebean.app.mngt.action.ipWhtieList.cloud;
import net.onebean.app.mngt.api.model.IpWhiteListVo;
import net.onebean.app.mngt.common.ErrorCodesEnum;
import net.onebean.app.mngt.service.IpWhiteListService;
import net.onebean.core.error.BusinessException;
import net.onebean.core.base.BasePaginationResponse;
im... |
// Targeted by JavaCPP version 1.5: DO NOT EDIT THIS FILE
package org.bytedeco.llvm.clang;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import org.bytedeco.llvm.LLVM.*;
import static org.bytedeco.llvm.global.LLVM.*;
import static org.bytedeco.llvm.global.clang.*;
/**... |
package com.jseppa.mql4java.base.exceptions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.text.MessageFormat;
/**
* Created by Jason on 2/14/2016.
*/
public class MQLExceptionHandler extends Exception
{
public Logger LOG = LoggerFactory.getLogger(getClass());
private MQLExceptionHa... |
/*
* MIT License
*
* Copyright (c) 2020 Sam Schmit-Van Werweke
*
* 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,... |
package com.survey.service;
import com.survey.entity.*;
import com.survey.entity.assessment.AssessmentRange;
import com.survey.entity.assessment.CalculationModel;
import com.survey.repository.*;
import com.survey.repository.assessment.DirectAssessmentRangeRepo;
import org.apache.logging.log4j.LogManager;
import org.ap... |
package ro.pub.cs.systems.eim.practicaltest03.practicaltest01var03;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
public class PraticalTest01Var03MainActivity extends Ap... |
/*
* 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 ... |
/*
* 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 Dominio;
import java.util.ArrayList;
/**
*
*
*/
public class Usuario {
//Atributos
private String nombre;
... |
/*
* Copyright 2008-2019 by Emeric Vernat
*
* This file is part of Sonar JavaMelody plugin.
*
* 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... |
package hr.fer.oop.classes;
/**
* Zadatak 1:
* Proširite klasu Point iz primjera s predavanja s metodom distanceToPoint(Point p) koja računa
* geometrijsku udaljenost do dane točke. Stvorite klasu PointOperations koja služi za izvršavanje
* operacija nad točkama. Klasa PointOperations mora imati metodu getPointMos... |
/*
* 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 (c) 2012, 2016 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distrib... |
package com.bsnbase.sdk.client.fiscobcos.service;
import com.bsnbase.sdk.entity.base.BaseReqModel;
import com.bsnbase.sdk.entity.base.BaseResModel;
import com.bsnbase.sdk.entity.config.Config;
import com.bsnbase.sdk.entity.req.fiscobcos.ReqGetTxCountByBlockNumber;
import com.bsnbase.sdk.entity.req.fiscobcos.ReqGetTxR... |
package com.learn.arithmetic.sort;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import java.util.*;
/**
*
* 桶排序, 缺点是非常浪费空间,排序速度很快,时间复杂度为O(m+n)m为桶的个数,n是待排序的个数 *
* 10w份数据 共运行六次平均用时在150ms左右
* i5 4核 2.5Hz 12G内存
* @author fqh
* @email fanqinghui100@126.com
* @date 2017/1... |
package io.github.miareko.geo.geojson;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import io.github.miareko.geo.geojson.assertion.Assert;
import io.github.miareko.geo.geojson.type.Types;
import java.util.ArrayList;
import java.util.List;
/**
* created by miareko on 2018/5/17
*/
p... |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
package modulo1_basico.aula09.loops.exercicios;
import java.util.Scanner;
public class Ex17_Fatorial {
public static void main(String[] args) {
//17- Faça um programa que calcule o fatorial de um número inteiro fornecido pelo usuário. Ex.: 5 != 5.4.3.2.1 = 120
Scanner scan = new Scanner(System.in... |
// Copyright 2018-2019 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
package com.mopub.nativeads;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import android.view.View;
import android.widget.ImageView;
import android.wi... |
package jetbrains.mps.lang.editor.diagram.testLanguage.editor;
/*Generated by MPS */
import jetbrains.mps.editor.runtime.descriptor.AbstractEditorBuilder;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.openapi.editor.EditorContext;
import jetbrains.mps.ope... |
/*
* 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... |
/**
* Copyright (C) 2011-2012 Turn, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package cn.enjoyedu.ch5.bq;
/**
*类说明:订单的实体类
*/
public class Order {
private final String orderNo;//订单的编号
private final double orderMoney;//订单的金额
public Order(String orderNo, double orderMoney) {
super();
this.orderNo = orderNo;
this.orderMoney = orderMoney;
}
public String getOrderNo() {
return order... |
/*******************************************************************************
* The MIT License (MIT)
*
* Copyright (C) 2014-2018 Sam Bassett (aka Lothrazar)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), ... |
/*
* © Copyright IBM Corp. 2013
*
* 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 ... |
package com.twasyl.slideshowfx.engine.template.configuration;
import com.twasyl.slideshowfx.engine.IConfiguration;
import com.twasyl.slideshowfx.utils.beans.Pair;
import java.io.File;
import java.util.List;
import java.util.Set;
import java.util.logging.Logger;
/**
* Represents the template found in the template co... |
package jp.wasabeef.glide.transformations.gpu;
/**
* Copyright (C) 2019 Wasabeef
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0... |
/*
*# Copyright (c) 2016 Akanksha and Smitha
*# This code is available under the "MIT License".
*# Please see the file LICENSE in this distribution
*# for license terms
*/
package BookingServlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.*;
import java.util.ArrayList;
import java.util.L... |
package edu.harvard.iq.dataverse.actionlogging;
import java.util.Date;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
/**
* A service bean that persists {@link ActionLog... |
package openfoodfacts.github.scrachx.openfood.network;
import io.reactivex.schedulers.Schedulers;
import openfoodfacts.github.scrachx.openfood.BuildConfig;
import openfoodfacts.github.scrachx.openfood.network.services.AnalysisDataAPI;
import openfoodfacts.github.scrachx.openfood.network.services.ProductsAPI;
import op... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
package com.devepos.adt.atm.ui.internal;
import java.util.Map;
import java.util.TreeMap;
/**
* Represents a List of {@link TagFolderType}s
*
* @author stockbal
*
*/
public class TagFolders {
private final Map<TagFolderType, TagFolder> folders;
/**
* Creates new {@link TagFolders} instance with as many f... |
package org.apache.fulcrum.security.impl.passive;
/*
* Copyright 2001-2004 The Apache Software 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.or... |
package com.oe.aoepub_viewer.folioreader;
import android.Manifest;
/**
* Created by mobisys on 10/4/2016.
*/
public class Constants {
public static final String PUBLICATION = "PUBLICATION";
public static final String SELECTED_CHAPTER_POSITION = "selected_chapter_position";
public static final String TYP... |
/*
* Copyright 2012-2019 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... |
package parkinggarage.model;
/**
* This class represents a reservation made for the Garage
* Created by melle on 8-2-2017.
*/
public class Reservation {
/**
* Name of user who reserved a spot in the Garage
*/
private String name;
/**
* Day of arrival
*/
private int day;
/*... |
package com.dianrong.common.techops.sscustom;
import com.dianrong.common.uniauth.client.custom.UniauthPermissionEvaluatorImpl;
import com.dianrong.common.uniauth.common.bean.Info;
import com.dianrong.common.uniauth.common.bean.Linkage;
import com.dianrong.common.uniauth.common.bean.Response;
import com.dianrong.common... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... |
package com.souza.pontointeligente.api.entities;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.... |
/* IconvDecoder.java --
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option... |
package org.myweb.services;
public abstract class AbstractServiceResult {
protected int httpStatus;
public int getHttpStatus() {
return httpStatus;
}
protected AbstractServiceResult() {
}
protected AbstractServiceResult(int httpStatus) {
this.httpStatus = httpStatus;
}
} |
/*
* 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 ... |
/*
* Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://mindorks.com/license/apache-v2
*
* Unless required by applicable... |
package br.ufc.insightlab;
import org.apache.ibatis.logging.LogFactory;
import org.camunda.bpm.engine.ProcessEngine;
import org.camunda.bpm.engine.runtime.ProcessInstance;
import org.camunda.bpm.engine.test.Deployment;
import org.camunda.bpm.engine.test.ProcessEngineRule;
import org.camunda.bpm.spring.boot.starter.tes... |
/*
* Copyright (c) 2019 - Manifold Systems 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
/*
* Copyright (c) 2017. Xi'an iRain IOT Technology service CO., Ltd (ShenZhen). All Rights Reserved.
*/
package com.app.statusbar;
import android.content.Context;
import android.content.res.Resources;
import android.os.Build;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import andro... |
package com.powerschool.assignment.services;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.List;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.func... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2013, 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 2022 Red Hat
*
* 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 ... |
/*
* Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/**
* Copyright 2019-2021 Wingify Software Pvt. Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package models.entities;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
public class StatisticsData {
@JsonProperty("top-5-languages-used")
private Map<String, Long> language;
@JsonProperty("top-2-submissions-attempted")
private Map<String, Long> title;
@JsonPropert... |
package com.mentor.nucleus.bp.core.ui;
//======================================================================
//
// File: com/mentor/nucleus/bp/core/ui/TypesStructuredDatatypeOnEP_PKGAction.java
//
// WARNING: Do not edit this generated file
// Generated by: arc/create_object_action.inc
// Version: $Revisio... |
package br.ucsal.lab.tarefas;
public class Tarefa implements Linha {
private String titulo;
private String descricao;
private Boolean concluida;
public Tarefa(String titulo, String descricao) {
this(titulo, descricao, false);
}
public Tarefa(String titulo, String descricao, Boolean concluida) {
this.t... |
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("ds")
@Implements("SoundCache")
public class SoundCache {
@ObfuscatedName("c")
@Export("ItemDefinition_inMembersWorld")
public stat... |
package com.kirago.jedis.util.demo.util;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import redis.clients.jedis.BinaryClient;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
import redis.client... |
/*
* Copyright 2015-2019 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) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.j... |
/**
* $RCSfile$
* $Revision: $
* $Date: $
*
* Copyright (C) 2005-2008 Jive Software. 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.... |
package module1182_public_tests_unittests.a;
import java.io.*;
import java.rmi.*;
import java.nio.file.*;
/**
* 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 justo duo dolores e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.