text
stringlengths
7
995k
package com.github.volodya_lombrozo.scout.web; public class Label { private final String key; private final String value; public Label(final String key, final String value) { this.key = key; this.value = value; } @Override public String toString() { return String.form...
package mtr.gui; import com.mojang.blaze3d.systems.RenderSystem; import com.mojang.blaze3d.vertex.BufferBuilder; import com.mojang.blaze3d.vertex.PoseStack; import com.mojang.blaze3d.vertex.Tesselator; import mtr.data.*; import mtr.mappings.SelectableMapper; import mtr.mappings.UtilitiesClient; import net.minecraft.cl...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package android.support.graphics.drawable; public final class R { private R() {} public static final class attr { priv...
// Targeted by JavaCPP version 1.5-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.ale; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.ale.global.ale.*; /** This class provides an interface for accessing frontend specific settings. <p...
/* Copyright 2015 David Overeem (dovereem@cox.net) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright 2017 VMware, 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
package com.canno.spring.boot.integration.database.dao; import javax.persistence.EntityManager; import javax.persistence.TypedQuery; import java.util.List; /** * User: Rolandz * Date: 5/27/16 * Time: 3:36 PM */ public interface GenericDao<T, KeyType> { T load(KeyType id); void persist(T t); T merge(...
package mage.cards.m; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.effects.common.TapTargetEffect; import mage.abilities.effects.common.continuous.LoseAllAbilitiesTargetEffect; import mage.constants.SubT...
/* * Copyright (c) 2017. * * 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 writ...
package com.windowsazure.messaging; /** * * Class representing a native registration for a device using APNs. * */ public class AppleRegistration extends Registration { private static final String APNS_NATIVE_REGISTRATION1 = "<?xml version=\"1.0\" encoding=\"utf-8\"?><entry xmlns=\"http://www.w3.org/2005/Atom\">...
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * 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 ...
/* * Copyright (c) 2008-2017, Hazelcast, 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 ...
package org.fleet.modules.system.controller; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import io.swagger.annotations.Api; import io.s...
package com.example.daggerandroidmvvm.di; import android.content.Context; import com.example.daggerandroidmvvm.App; import com.example.daggerandroidmvvm.common.domain.model.CommonGreetingRepository; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; /** * This is where you will inject ap...
//Created by MyEclipse Struts // XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_3.9.210/xslt/JavaClass.xsl package za.ac.unisa.lms.tools.faqs.actions; import java.util.Iterator; import java.util.List; import java.util.Vector; import javax.servlet.http.HttpServletRequest; import ...
import java.io.DataInputStream; import java.io.File; import java.io.IOException; import java.nio.file.*; import java.util.HashMap; import java.util.concurrent.locks.ReentrantReadWriteLock; import java.util.Date; public abstract class FileCache { protected HashMap<String, byte[]> map_content; protected HashMap<String...
package org.unfoldingword.tools.taskmanager; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUni...
/** * 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 2017-2020 original 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 applicable law or agr...
package com.github.dynamicextensionsalfresco.webscripts; import static org.mockito.Mockito.*; import com.github.dynamicextensionsalfresco.webscripts.annotations.FileField; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.extensions.webscripts.servlet.For...
/* * Copyright 2010-2012 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 "l...
/* * Copyright (c) 2004-2022, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of cond...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.react.views.textinput; import android.annotation.TargetApi; import android.os.Build; import android.text.Layo...
/** * 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 ...
package in.srain.cube.photos; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.database.Cursor; import android.net.Uri; import android.os.Bu...
package com.composum.sling.nodes; import com.composum.sling.core.filter.ResourceFilter; import com.composum.sling.core.mapping.jcr.ResourceFilterMapping; import com.composum.sling.nodes.servlet.ComponentsServlet; import com.composum.sling.nodes.servlet.NodeServlet; import com.composum.sling.nodes.servlet.PropertyServl...
package com.michaelho.medium.to100; import java.util.ArrayList; import java.util.List; /** * LeetCode: https://leetcode.com/problems/generate-parentheses/ * */ class _0022_GenerateParentheses { List<String> generateParenthesis(int n) { List<String> output = new ArrayList<>(); helper(0, 0, "", o...
package ntua.multimedia.code; import org.apache.commons.lang3.StringEscapeUtils; /** * The Class GetLyricsService. */ public class GetLyricsService { /** * Gets the lyrics from wikia for the provided artist and song name. * * @param artist the artist * @param song the song * @return the lyrics */ pr...
/* * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class ...
package com.milchundeier.gulimall.product.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * 商品评价 * * @author Eagle * @email lzyphil@gmail.com * @date 2021-06-16 20:28:50...
package cn.leancloud.filter.service; import cn.leancloud.filter.service.BloomFilterManager.CreateFilterResult; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.BooleanNode...
package com.github.programmerr47.artec_test_task.representation; import android.content.Context; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.widget.SwipeRefreshLayout; import android.util....
/* * Copyright 2002-2013 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...
package org.swisspush.gateleen.expansion; import io.vertx.core.Handler; /** * An extension of the default Handler interface in order to have * the possibility to save x-delta response headers. * * @author https://github.com/ljucam [Mario Ljuca] * @param <E> */ public interface DeltaHandler<E> extends Handler<E...
package org.briarheart.algorithm.sort.impl; import org.briarheart.algorithm.sort.IntSortAlgorithm; import org.briarheart.algorithm.sort.Sorting; import org.briarheart.algorithm.util.TestFiles; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import java.io.IOException; import static org.jun...
/* Copyright 2015 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 or agreed to in ...
package org.apache.solr.handler; /** * 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, Versio...
package kotlin.reflect.jvm.internal.impl.resolve.scopes.receivers; import kotlin.jvm.internal.Intrinsics; import kotlin.reflect.jvm.internal.impl.descriptors.ClassDescriptor; import kotlin.reflect.jvm.internal.impl.types.SimpleType; /* compiled from: ImplicitClassReceiver.kt */ public class ImplicitClassReceiver impl...
package io.swagger.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.springframework.validation.annotation.Validated; import javax...
package com.thesis.project.web; import com.thesis.project.entity.Book; import com.thesis.project.exceptions.BookNotFoundException; import com.thesis.project.exceptions.BookSearchNotFoundException; import com.thesis.project.service.BookService; import com.thesis.project.service.validation.ValidationErrorServices; impor...
package com.example.bmicalculator; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast; public class MainActivity exte...
package com.mvu.lottery.exceptions; public class TicketDataInvalidFormatException extends RuntimeException { public TicketDataInvalidFormatException() { super(); // TODO Auto-generated constructor stub } public TicketDataInvalidFormatException(String arg0, Throwable arg1, boolean arg2, boolean arg3) { super...
package com.blockchain.store.playmarket.ui.all_reviews_screen; import android.content.Context; import android.content.Intent; import android.os.Bundle; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import com.blockchain.store.playmarket.R; import com.block...
package org.jentrata.ebms.internal.messaging; import org.apache.camel.Exchange; import org.apache.camel.builder.xml.XPathBuilder; import org.jentrata.ebms.EbmsConstants; import org.jentrata.ebms.soap.SoapPayloadProcessor; import org.jentrata.ebms.utils.EbmsUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory...
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.pds.client.models; import com.aliyun.tea.*; /** * Create file response */ public class CreateFileResponse extends TeaModel { // domain_id @NameInMap("domain_id") @Validation(pattern = "[a-z0-9]{1,50}", maxLength = 50, minLength = ...
// Targeted by JavaCPP version 1.5.6-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.ffmpeg.avcodec; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import org.bytedeco.ffmpeg.avutil.*; import static org.bytedeco.f...
/* * 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 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...
package org.epctagcoder.parse.CPI; import java.util.List; import java.util.Optional; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.epctagcoder.option.PrefixLength; import org.epctagcoder.option.TableItem; import org.epctagcoder.option.CPI.CPIFilterValue; import org.epctagcoder.option.CPI...
/* * 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 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.weblayer.test; import android.os.Bundle; import androidx.appcompat.app.AppCompatDelegate; import androidx.test.filters.SmallTest; ...
/* * 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")...
/** * Copyright (c) 2015 The JobX Project * <p> * 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 ...
/* * Copyright 2012-2017 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 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...
package Chapter1; import java.util.Scanner; public class NumberPalindromeOrNot { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); System.out.println("Is palindrome : " + isPalindrome(num)); } public static boolean isPalindrome(i...
package de.quinscape.spring.jsview.loader; import org.apache.commons.io.FileUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.io.FileInputStream; import java.io.IOException; /** * A file based, reload capable resource handle. * * @param <T> Type of final content *...
package org.kyojo.schemaorg.m3n4.doma.healthLifesci.container; import org.seasar.doma.ExternalDomain; import org.seasar.doma.jdbc.domain.DomainConverter; import org.kyojo.schemaorg.m3n4.healthLifesci.impl.ALGORITHM; import org.kyojo.schemaorg.m3n4.healthLifesci.Container.Algorithm; @ExternalDomain public class Algor...
package com.figueiras.photocontest.backend.model.entities; public enum EstadoModeracion { EN_ESPERA, APROBADA, DENEGADA }
/* * Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
package com.ertugrul.credit.rule; public interface CreditCalculationRule { double calculate(long creditScore, double monthlyIncome, double assurance); }
package com.hbm.tileentity.machine; import com.hbm.interfaces.IConsumer; import com.hbm.interfaces.Untested; import com.hbm.inventory.ShredderRecipes; import com.hbm.items.machine.ItemBlades; import com.hbm.lib.Library; import com.hbm.packet.AuxElectricityPacket; import com.hbm.packet.PacketDispatcher; import com.hbm....
package fontRendering; import java.util.List; import java.util.Map; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL13; import org.lwjgl.opengl.GL20; import org.lwjgl.opengl.GL30; import fontMeshCreator.FontType; import fontMeshCreator.GUIText; public class FontRenderer { private FontShader shader; publ...
package org.codingmatters.rest.parser.model; public enum RequestMethod { GET, POST, PUT, PATCH, DELETE, HEAD; }
package com.edit.picture.model; import android.animation.TypeEvaluator; /** * 位置纠正model * Create by yin13 smyhvae on 2019/7/9 * Email:yin13753884368@163.com * CSDN:http://blog.csdn.net/yin13753884368/article * Github:https://github.com/yin13753884368 */ public class PhotoEditEvaluator implements TypeEvaluator<P...
/* * 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 gov.va.escreening.entity; import java.io.Serializable; import java.util.Date; import java.util.List; import javax.persistenc...
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2001, Eric D. Friedman All Rights Reserved. // Copyright (c) 2009, Rob Eden All Rights Reserved. // Copyright (c) 2009, Jeff Randall All Rights Reserved. // Copyright (c) 2011, Johan Parent All Rights Reserved. // // This l...
// Template Source: BaseMethodRequestBuilder.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -----------------------------...
/* * (C) Copyright IBM Corp. 2021. * * 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 w...
package com.fitnesshourglass2.android; public class TimeSetted { public static final long SECOND_TO_MILL = 1000; private int minute;//定时的分钟位 private int second;//定时的秒钟位 private int groupCouted;//已进行的组数 public int getMinute() { return minute; } public void setMinute(int minute...
package com.example.dto; import java.util.Objects; public final class ExampleError { private final int code; private final String message; public ExampleError(int code, String message) { this.code = code; this.message = message; } public int getCode() { return code; }...
/* * Copyright 2017 Michael Rozumyanskiy * * 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 a...
package io.github.repir.Strategy.Operator; import io.github.repir.Retriever.Document; import io.github.htools.lib.ClassTools; import io.github.htools.lib.Log; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Comparator; import java.util.Iterator; import io.github.repir.Repository.Repositor...
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 DBeaver Corp and others * * 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/LICE...
/* * Copyright (c) 2011-2017, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www...
/******************************************************************************* * 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...
/* * Copyright © 2020 LambdAurora <aurora42lambda@gmail.com> * * This file is part of LambDynamicLights. * * Licensed under the MIT license. For more information, * see the LICENSE file. */ package me.lambdaurora.lambdynlights.accessor; /** * Represents an accessor for WorldRenderer. * * @author LambdAurora...
package com.xm.lib.base.ui; import android.app.Dialog; import android.content.Context; import android.content.res.Resources; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.util.DisplayMetrics; import android.view.LayoutInflater; import android.view.WindowManager; import androidx.a...
package de.jgoldhammer.alfresco.jscript.jobs; import de.jgoldhammer.alfresco.jscript.BaseAlfrescoTest; import org.alfresco.repo.dictionary.types.period.Cron; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; import org.mozilla.javascript.Context; import org.mozilla.javascript.NativeArray; import...
/* * 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) 2015-2019 Fabrice Bouyé * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ package api.web.gw2.mapping.v2.guild.id.log; import api.web.gw2.mapping.core.CoinAmount; import api.web.gw2.mapping.core...
/* * 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")...
/* * 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 io.spacedog.client.file; import java.io.File; import java.io.InputStream; import java.util.List; import java.util.Map; import java.util.UUID; import com.fasterxml.jackson.databind.type.TypeFactory; import com.google.common.collect.Lists; import io.spacedog.client.SpaceDog; import io.spacedog.client.file.Spac...
package com.udacity.jdnd.course3.critter.controller.mapstruct; import com.udacity.jdnd.course3.critter.controller.dto.CustomerDto; import com.udacity.jdnd.course3.critter.entity.Customer; import com.udacity.jdnd.course3.critter.entity.Pet; import org.mapstruct.Mapper; import org.mapstruct.Mapping; import org.mapstruct...
package org.beansugar.oauth.utils; import org.scriptonbasestar.tool.core.check.Check; import org.junit.Test; public class PreconditionsTest { private static final String ERROR_MSG = ""; @Test(expected = IllegalArgumentException.class) public void shouldThrowExceptionForNullObjects() { Check.notNull(null, ERROR...
/* * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * * Copyright (c) 2002-2011 Eric Lafortune (eric@graphics.cornell.edu) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as publ...
package dev.xpple.clientarguments.arguments; import com.google.common.collect.Maps; import com.mojang.brigadier.StringReader; import com.mojang.brigadier.arguments.ArgumentType; import com.mojang.brigadier.context.CommandContext; import com.mojang.brigadier.exceptions.CommandSyntaxException; import com.mojang.brigadie...
/* * 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 ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
package org.jglrxavpok.glutils; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.StringTokenizer; import org.jglrxavpok.glutils.*; /** * Based on Object3D.java by Jeremy Adams (elias4444) august 2005 * * Read an OBJ file int...
/** * Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
package mage.cards.s; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.BeginningOfUpkeepTriggeredAbility; import mage.abilities.common.ControlsPermanentsControllerTriggeredAbility; import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.common.SacrificeSourceEffect; i...
package com.alipay.api.response; import java.util.List; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; import com.alipay.api.domain.AccessPurchaseOrder; import com.alipay.api.AlipayResponse; /** * ALIPAY API: koubei.sales.kbasset.stuff.purchaseorder.query respo...
package com.mphj.accountry.models.db; import com.mphj.accountry.utils.DaoManager; import org.greenrobot.greendao.annotation.Entity; import org.greenrobot.greendao.annotation.Generated; import org.greenrobot.greendao.annotation.Id; import org.parceler.Parcel; /** * Created by mphj on 10/20/2017. */ @Parcel @Enti...
package com.dianping.cat.report.alert.sender.receiver; import com.dianping.cat.report.alert.AlertType; public class EventContactor extends ProjectContactor { public static final String ID = AlertType.Event.getName(); @Override public String getId() { return ID; } }
package cn.mysdp.biz.dto.request; import com.alibaba.fastjson.annotation.JSONField; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import java.util.Map; import lombok.Getter; import lombok.Setter; /** * @ClassName: SdpWorkspaceConfi...
// @desc-start // Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target. // Notice that the solution set must not contain duplicate quadruplets. //   // Example 1: // Inp...