text stringlengths 7 995k |
|---|
//Given two strings S and T, return if they are equal when both are typed into e
//mpty text editors. # means a backspace character.
//
// Note that after backspacing an empty text, the text will continue empty.
//
//
// Example 1:
//
//
//Input: S = "ab#c", T = "ad#c"
//Output: true
//Explanation: Both S and T be... |
package com.intercom.customers.repository;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.json.JsonReadContext;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.intercom.customers.model.Customer;
import org.springframe... |
/*
* Copyright © 2010, 2011, 2012 Talis Systems 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 applicable ... |
/*
* 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... |
/*
* 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 2009-2022 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
*
* Unle... |
class Solution {
public boolean threeConsecutiveOdds(int[] arr) {
if (3 > arr.length) {
return false;
}
for (int idx = 1; arr.length - 1 > idx; ++idx) {
if (3 == ((arr[idx - 1] & 1) + (arr[idx] & 1) + (arr[1 + idx] & 1))) {
return true;
}
... |
package org.codehaus.jackson.map.deser;
import java.io.IOException;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.*;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicReference;
import org.codehaus.jackson.Base64Variants;
import org.codehaus.jackso... |
package com.axellience.vuegwtexamples.client.examples.instanciatejscomponent;
import com.axellience.vuegwt.core.annotations.component.JsComponent;
import com.axellience.vuegwt.core.client.component.IsVueComponent;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;
/**
* @author Adrien Baron... |
package com.skylike.skymall.member;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.... |
/**
* 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.highmed.dsf.fhir.variables;
import java.io.IOException;
import java.util.Objects;
import org.camunda.bpm.engine.impl.variable.serializer.PrimitiveValueSerializer;
import org.camunda.bpm.engine.impl.variable.serializer.ValueFields;
import org.camunda.bpm.engine.variable.impl.value.UntypedValueImpl;
import ... |
/*
* Copyright 2020 ConsenSys AG.
*
* 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 wr... |
/*
* Copyright 2013 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package com.cengel.yyshop.server;
import com.alibaba.dubbo.config.annotation.Reference;
import com.cengel.starbucks.util.ThreadUtilKt;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.InitializingBean;
import java.lang.reflect.Field;
/**
* @Title:
* @Description:
* @Author zhz
* @Time 2... |
package com.example.lianghe.InClass_EXE1.BLE;
import android.app.Service;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCallback;
import android.bluetooth.BluetoothGattCharacteristic;
import android.blu... |
package es.dbiosag.command.application.controller;
import es.dbiosag.command.application.dto.CreatePhoneRequest;
import es.dbiosag.command.domain.service.CreateUserService;
import es.dbiosag.command.infrasturcture.eventsourcing.events.PhoneCreatedEvent;
import org.springframework.beans.factory.annotation.Autowired;
im... |
package cn.fantasymaker.lsqandroidutils.utils;
import net.sourceforge.pinyin4j.PinyinHelper;
import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType;
import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat;
import net.sourceforge.pinyin4j.format.HanyuPinyinToneType;
import net.sourceforge.pinyin4j.format.Han... |
package com.example.s3objectlambda.error;
/**
* This class represents the S3 Error response.
* Each error attribute can be accessed using the get method.
*
* @see https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses
*/
public class S3RequestError {
private String code;
... |
package es.redmic.models.es.common.dto;
/*-
* #%L
* Models
* %%
* Copyright (C) 2019 REDMIC Project / Server
* %%
* 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... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.appservice.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.... |
package eu.datex.v220;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for UrgencyEnum.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <si... |
package com.imooc.o2o.dto;
import com.imooc.o2o.entity.ProductCategory;
import com.imooc.o2o.enums.ProductCategoryStateEnum;
import lombok.Data;
import java.util.List;
@Data
public class ProductCategoryExecution {
//状态code
private int state;
//状态标识
private String stateInfo;
private List<ProductCa... |
/**
* Copyright Marek Stankiewicz, 2020
*
* 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.apradanas.prismoji.one.category;
import android.support.annotation.DrawableRes;
import android.support.annotation.NonNull;
import com.apradanas.prismoji.R;
import com.apradanas.prismoji.emoji.Emoji;
import com.apradanas.prismoji.emoji.EmojiCategory;
@SuppressWarnings("PMD.MethodReturnsInternalArray")
pub... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... |
package net.minecraft.item;
import java.util.List;
import javax.annotation.Nullable;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.tileentity.BannerPattern;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.TextFormatting;
import net.minecraft.util.text.TranslationText... |
/*
* Copyright 2016-present Open Networking Laboratory
*
* 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 net.modificationstation.stationapi.api.registry;
import net.modificationstation.stationapi.api.level.dimension.DimensionContainer;
import org.jetbrains.annotations.NotNull;
import java.util.*;
import static net.modificationstation.stationapi.api.StationAPI.MODID;
import static net.modificationstation.station... |
package fluent.ly;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import fluent.ly.___.Bug.Assertion;
import fluent.ly.___.Bug.Assertion.Value;
import fluent.ly.___.Bug.Assertion.Value.Numerical;
import fluent.ly.___.Bug.Assertion.Variant.Initial;
import fluent.ly.___.Bug.Assertion.Variant.Nonde... |
package org.ominidi.facebook.mapper;
import com.restfb.Connection;
import com.restfb.DefaultJsonMapper;
import com.restfb.FacebookClient;
import com.restfb.JsonMapper;
import com.restfb.json.JsonObject;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org... |
/**
* @author m04.zhang
* @version 2020-10-05
* @project Assignment9b in IntelliJ
* @description
*/
public class Assignment9c {
private final Input input = new Input();
int integer, numberOfDigits = 0, largestDenominator, sumOfAllDigits = 0;
public Assignment9c() {
System.out.print("Enter an i... |
package ch.iec._61400.ews._1;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
*... |
package repositories;
import config.Utils;
import models.User;
import javax.inject.Inject;
import javax.inject.Singleton;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import io.ebean.*;
@Singleton
public class UserRepository {
private static final Finder<Long, User> find = new ... |
package br.com.softbox.tpm.brief;
public class DependencyPOM {
private String groupId;
private String artifactId;
private String scope;
private String version;
public DependencyPOM() {
super();
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public void setArtifactId(String artifa... |
package com.dtolabs.rundeck.core.plugins.views;
import com.dtolabs.rundeck.core.plugins.configuration.Property;
import java.util.List;
public class BasicInputViewBuilder {
private BasicInputViewImpl impl;
private BasicInputViewBuilder() {
impl = new BasicInputViewImpl();
}
public static Bas... |
/**
*
*/
package com.innovalog.jmwe.plugins.conditions;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import org.ofbiz.core.entity.GenericValue;
import com.atlassian.jira.ComponentManager;
import com.atlassian.jira.issue.Issue;
import com.atlassian.jira.issue.changehistory.ChangeHis... |
package com.svs.finance.dao.impl;
import java.util.ArrayList;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.hibernate3.HibernateTemplate;
import com.svs.finance.bean.Advertisement... |
/*
* Copyright 2002-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... |
package com.stylefeng.guns.modular.system.controller.goods;
import com.alibaba.fastjson.JSONArray;
import com.md.goods.exception.GoodsExceptionEnum;
import com.md.goods.model.Category;
import com.md.goods.model.Specification;
import com.md.goods.model.SpecificationItem;
import com.md.goods.service.ICategoryService;
im... |
package hat.bemo.measure.service;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.PowerManager;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.WindowManager;
import android.widget.Linear... |
package com.coolweather.android;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
@Override
protected void onC... |
package abi32_0_0.host.exp.exponent.modules.api.viewshot;
import android.app.Activity;
import android.content.Context;
import android.net.Uri;
import android.os.AsyncTask;
import android.support.annotation.NonNull;
import android.util.DisplayMetrics;
import android.util.Log;
import abi32_0_0.com.facebook.react.bridge... |
// Template Source: Enum.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------------------------------------... |
/*
* Cribl LogStream
* REST API Reference of available endpoints and their supported operations for accessing, updating, creating, or deleting resources. Product documentation available at [docs.cribl.io](http://docs.cribl.io).
*
* OpenAPI spec version: 3.1.2-abb571bc
* Contact: support@cribl.io
*
* NOTE: This 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... |
package com.doit.net.test;
import java.io.Serializable;
import java.util.List;
/**
* Created by wly on 2019/7/19.
*/
public class BaseMessage extends BaseSocket implements Serializable {
private int length;//长度
private short name;//设备名称
private byte code;//命令编号
private byte[] data;//用于存放接收的字节数组
List<Body> bod... |
/*
* Copyright Matt Palmer 2009-2016, All rights reserved.
*
* This code is licensed under a standard 3-clause BSD license:
*
* 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 m... |
// Copyright (C) 2014 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
/*
* Copyright (c) 2017-2018 PlayerOne.
*
* The MIT License
*
* 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, co... |
package com.ruoyi.system.mapper;
import java.util.List;
import com.ruoyi.system.api.domain.SysRole;
/**
* 角色表 数据层
*
* @author king
*/
public interface SysRoleMapper
{
/**
* 根据条件分页查询角色数据
*
* @param role 角色信息
* @return 角色数据集合信息
*/
public List<SysRole> selectRoleList(SysRole role)... |
package guru.springframework.sfgpetclinic.services.springdatajpa;
import guru.springframework.sfgpetclinic.model.Owner;
import guru.springframework.sfgpetclinic.repositories.OwnerRepository;
import guru.springframework.sfgpetclinic.repositories.PetRepository;
import guru.springframework.sfgpetclinic.repositories.PetTy... |
package mage.cards.a;
import mage.abilities.Ability;
import mage.abilities.common.BeginningOfUpkeepTriggeredAbility;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.dynamicvalue.DynamicValue;
... |
package seedu.address.model.menu;
import static seedu.address.commons.util.CollectionUtil.requireAllNonNull;
import java.util.Objects;
/**
* Represents a MenuItem in the menu.
* Guarantees: details are present and not null, field values are validated, immutable.
*/
public class MenuItem {
// Identity fields
... |
/*
* Copyright 2020 Veronica Anokhina.
*
* 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 ag... |
/*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package org.jboss.resteasy.test.spring.deployment.resource;
/**
* This POJO service bean will get injected into the resource.
*/
public class JavaConfigService {
public String invoke() {
return "hello";
}
} |
package com.thirtydegreesray.openhub.ui.fragment;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import android.view.View;
import com.thirtydegreesray.openhub.R;
import com.thirtydegreesray.openhub.inject.component.AppComponent;
import com.thirtydegreesray... |
/*
* 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 utils;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Date;
/**
* 文件上传/图片上传 工具类
* FileUtils.java
*
* @author Anny
*
*/
public class FileUtils {
/**
* 文件copy方法
* @param src
* @... |
package org.motechproject.tasks.repository;
import org.motechproject.mds.annotations.Lookup;
import org.motechproject.mds.annotations.LookupField;
import org.motechproject.mds.service.MotechDataService;
import org.motechproject.tasks.domain.TaskDataProvider;
/**
* Data Service for data providers.
*/
public interfac... |
package io.nuls.api.task;
import io.nuls.api.ApiContext;
import io.nuls.api.analysis.WalletRpcHandler;
import io.nuls.api.cache.ApiCache;
import io.nuls.api.manager.CacheManager;
import io.nuls.api.model.po.AssetInfo;
import io.nuls.api.model.po.ChainInfo;
import io.nuls.api.utils.LoggerUtil;
import io.nuls.core.basi... |
package test.myapplication;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.support.v4.app.DialogFragment;
imp... |
// Copyright 2000-2021 Nokia
//
// Licensed under the Apache License 2.0
// SPDX-License-Identifier: Apache-2.0
//
package com.nokia.as.cjdi.stest.client;
import java.util.List;
import org.apache.felix.dm.annotation.api.Component;
import org.apache.felix.dm.annotation.api.Property;
import org.apache.felix.dm.annotat... |
package Leetcode;
class MagicDictionary {
Map<Integer, Set<String>> map;
public MagicDictionary() {
map = new HashMap<>();
}
public void buildDict(String[] dict) {
for (String s : dict) {
int len = s.length();
if (!map.containsKey(len)) {
map.put(len, new HashSet<>());
}
... |
/*
* Copyright 2019 Miroslav Pokorny (github.com/mP1)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
package momo.com.picassoactivity;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffXfermode;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import andr... |
package nl.jiankai.year2021;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
public class Day8 {
public static void main(String[] args) {
// part1();
part2();
}
static void part1() {
List<String> after = input.stream()... |
/*
* Minio Java SDK for Amazon S3 Compatible Cloud Storage, (C) 2015 Minio, 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
*
... |
package com.yeming.paopao.utils;
import android.content.Context;
import android.content.SharedPreferences;
import com.yeming.paopao.commons.Constant;
import java.util.Calendar;
/**
* author YeMing(yeming_1001@163.com)
* Date: 2015-01-24 22:49
* version: V1.0
* Description: 配置参数信息
*/
public class SharedPr... |
package com.zhuguangdeyingzi.gulimall.gulimallproduct.dao;
import com.zhuguangdeyingzi.gulimall.gulimallproduct.entity.ProductAttrValueEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* spu属性值
*
* @author lijun
* @email 1136790064lijun@gmail.com
* ... |
package saga.eventuate.tram.customerservice.controller;
import io.eventuate.tram.commands.consumer.CommandHandlerReplyBuilder;
import io.eventuate.tram.commands.consumer.CommandHandlers;
import io.eventuate.tram.commands.consumer.CommandMessage;
import io.eventuate.tram.messaging.common.Message;
import io.eventuate.tr... |
/*
* 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... |
/*
* Copyright 2012-2019 MarkLogic Corporation
*
* 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.joymain.jecs.pd.webapp.action;
import java.util.List;
import java.math.BigDecimal;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.commons.beanutils.BeanUtils... |
/*******************************************************************************
* Copyright (c) 2018, 2020 ArSysOp
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0/.
*
* SPDX-Licen... |
package org.mondo.collaboration.security.query.util;
import org.eclipse.incquery.runtime.api.IMatchProcessor;
import org.mondo.collaboration.security.query.LockOp2ControlProvideMatch;
import wt.Composite;
import wt.Control;
import wt.Signal;
/**
* A match processor tailored for the org.mondo.collaboration.security.q... |
/*
* 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 2009 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... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package io.smallrye.graphql.test.apps.profile.api;
import java.net.URL;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;
import java.util.UUID;
import org.eclipse.microprofile.graphql.DateFormat;
public class Profile {
public static String uuid = UUID.randomUUID().toString();
privat... |
/*
* Copyright (C) 2014-2021 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... |
package com.markbudai.openfleet.exception;
/**
* Exception which is thrown whenever a requested class is null.
*/
public class NotFoundException extends RuntimeException {
/**
* Constructs a NotFoundException.
* @param klass the Class which is null or missing.
*/
public NotFoundException(Class... |
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 org.bian.dto.BQFeesRetrieveOutputModelFeesInstanceAnalysis;
import org.bian.dto.BQFeesRetrieveO... |
package it.unibz.inf.ontop.iq.optimizer;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import it.unibz.inf.ontop.iq.IntermediateQuery;
import it.unibz.inf.ontop.iq.IntermediateQueryBuilder;
import it.unibz.inf.ontop.iq.equivalence.IQSyntacticEquivalenceChecker;
import i... |
package com.amdelamar.objects;
/**
* Category class
*
* @author amdelamar
* @date 7/13/2017
*/
public class Category implements Comparable<Category> {
private String name;
private int count;
public String getName() {
return name;
}
public void setName(String name) {
this.na... |
/*
* XML Type: CT_TextUnderlineFillFollowText
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/main
* Java type: org.openxmlformats.schemas.drawingml.x2006.main.CTTextUnderlineFillFollowText
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.main.impl;... |
public class OmittedDTO {
private String item1;
private String item2;
private String item3;
private int value1;
private int value2;
private int value3;
public String getItem1() {
return item1;
}
public void setItem1(String item1) {
this.item1 = item1;
}
... |
/*
* Copyright (c) 2012, United States Government, as represented by the Secretary of Health and Human Services.
* 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 so... |
/*
* Copyright 2002-2014 Drew Noakes
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
package a3.network.api.messages.impl;
import a3.network.api.messages.BasicMessage;
import a3.network.api.messages.MessageType;
public class JoinMessage extends BasicMessage {
private static final long serialVersionUID = 8930487733152468168L;
private Boolean joinSuccess = false;
public JoinMessage() {
super.... |
package com.project.zeshan.foodie.ViewHolder;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.project.zeshan.foodie.Interface.ItemClickListener;
import com.project.zeshan.foo... |
/*******************************************************************************
* Created by Koen Deschacht (koendeschacht@gmail.com) 2017-7-29. For license
* information see the LICENSE file in the root folder of this repository.
******************************************************************************/
pack... |
package model;
import lombok.*;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Servico {
private int idServico;
private String nome;
private double valor;
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.infobip.spring.data.jdbc;
interface PersonRepository extends QuerydslJdbcRepository<Person, Long> {
} |
package com.github.akarazhev.tutorial.datastructures.list;
import com.github.akarazhev.tutorial.datastructures.Employee;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;
import static org.junit.jupiter.api.Asserti... |
/*
* 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 ... |
/*
* Copyright 2013-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... |
/*
* Copyright 2016 ThoughtWorks, 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 agr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.