text
stringlengths
7
995k
package patterns.observer.color; import java.awt.Color; @FunctionalInterface public interface ColorListener { void colorValueChanged(ColorModel source, Color newColor); }
package com.gemframework.common.security.configure; import com.gemframework.common.security.authorization.GemFilterSecurityInterceptor; import com.gemframework.common.security.authentication.GemUsernamePasswordAuthenticationConfig; import com.gemframework.common.security.handler.GemAccessDeniedHandler; import com.gemf...
package com.ids.web.dto; import lombok.Getter; import lombok.Setter; import javax.validation.constraints.Email; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; @Getter @Setter public class ClientDTO { @NotNull(message = "firstName can not be NULL") @Size(min = 3, max = ...
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
package net.querz.nbt; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.Arrays; public class ByteArrayTag extends ArrayTag<byte[]> implements Comparable<ByteArrayTag> { public static final byte[] ZERO_VALUE = new byte[0]; public ByteArrayTag() { super...
/* * Copyright 1999-2002,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.org/licenses/LICENSE-2.0 * * Unless requir...
/******************************************************************************* * Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0...
/* * Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/** * 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.github.djhaskin987.methuselah.server.repository; import io.github.djhaskin987.methuselah.server.model.History; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Page; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Re...
package cn.leon.domain.form; import java.util.Map; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; /** * @author mujian * @Desc * @date 2019/7/4 10:16 */ @Data @Builder @NoArgsConstructor @AllArgsConstructor public class BaseEntity { private Stri...
/* * Copyright (c) 2019-2021 Team Galacticraft * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 信用借还借用实体数据上传接口 * * @author auto create * @since 1.0, 2017-07-17 19:04:38 */ public class ZhimaMerchantBorrowEntityUploadModel extends AlipayObject { private static final long serialVersionU...
package com.dreamcc.service.alarm.controller; import java.rmi.RemoteException; import java.rmi.server.UnicastRemoteObject; /** * @Title: vms * @Package: com.dreamcc.service.alarm.controller * @Description: * @Author: dreamcc * @Date: 2020/1/15 8:50 * @Version: V1.0 */ public class TestServiceImpl extends Unica...
package com.example.weixin.controller; import java.io.StringReader; import javax.xml.bind.JAXB; import com.example.commons.domain.InMessage; import com.example.weixin.service.MessageTypeMapper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; imp...
/* * Copyright (c) 2019-2022 GeyserMC. http://geysermc.org * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
/* * Copyright 2017-2019 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright 2019, Yahoo Inc. * Licensed under the Apache License, Version 2.0 * See LICENSE file in project root for terms. */ package com.yahoo.elide.spring.config; import static com.yahoo.elide.datastores.jpa.JpaDataStore.DEFAULT_LOGGER; import com.yahoo.elide.Elide; import com.yahoo.elide.ElideSettingsBuilde...
package ch06access; /** * Demonstrates class local specifiers. Make a class effectively private with * private constructors: */ class Soup1 { private Soup1() { } // (1) Allow creation via static method: public static Soup1 makeSoup() { return new Soup1(); } } class Soup2 { private Soup2() { } // (2) Cr...
package org.seasar.doma; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.seasar.doma.jdbc.entity.EntityListener; import org.seasar.doma.jdbc.entity.NamingType; import org.seasar.doma.jdbc.entity....
/* * JBoss, Home of Professional Open Source * * Copyright 2013 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lic...
package org.finabile.portfolio.countryStateDetails.service; import java.util.List; import org.finabile.portfolio.countryStateDetails.data.CountryStateDetailsData; public interface CountryStateDetailsReadPlatformService { List<CountryStateDetailsData> retrieveStateDetails(Long pincodeMatch); List<CountryStateDetai...
package ast.expressions; public class StaticPropertyExpression extends MemberAccess { private Expression classExpression = null; private Expression propertyExpression = null; public Expression getClassExpression() { return this.classExpression; } public void setClassExpression(Expression classExpression) { ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dialogflow/v2/agent.proto package com.google.cloud.dialogflow.v2; public interface ExportAgentResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.ExportAgentResponse) com.goog...
package uk.gov.hmcts.reform.da.dacase.model; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.databind.PropertyNamingStrategies; import com.fasterxml.jackson.databind.annotation.JsonNaming; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgs...
/* Copyright (c) 2012, Apps4Av Inc. (apps4av.com) 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 conditions an...
package net.nemerosa.ontrack.model.events; /** * Type for an event. */ public interface EventType { /** * Identifier for this type */ String getId(); /** * Template to be used to render the event message */ String getTemplate(); }
package com.yilian.mylibrary; import android.annotation.TargetApi; import android.app.ActivityManager; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.PackageManager.NameNotFoundException; import android.os.Build; import android...
package com.hanframework.mojito.protocol.http; import io.netty.buffer.Unpooled; import io.netty.handler.codec.http.*; import io.netty.util.CharsetUtil; /** * @author liuxin * 2020-09-02 14:07 */ public class HttpResponseFacade extends BaseHttpMessage { private final FullHttpResponse fullHttpResponse; pri...
package dadmc.practica3_2_1; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
/** * 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 under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
package jadx.tests.api.compiler; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.tools.JavaCompiler; import javax.tools.JavaFileManager; import javax.tools.JavaFileObject; import javax.tools.ToolProvider; import org.jetbrains.annotations.NotNu...
package be.kdg.prog3.form.controller; import be.kdg.prog3.form.model.UserDataForm; import org.springframework.stereotype.Component; import org.springframework.validation.Errors; import org.springframework.validation.Validator; @Component public class EqualPasswordValidator implements Validator { @Override pub...
package org.develnext.jphp.ext.javafx.classes; import javafx.scene.image.Image; import javafx.scene.input.Clipboard; import javafx.scene.input.ClipboardContent; import org.develnext.jphp.ext.javafx.JavaFXExtension; import php.runtime.Memory; import php.runtime.annotation.Reflection.Name; import php.runtime.annotation....
/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any la...
/** * 763. Partition Labels * A string S of lowercase letters is given. We want to partition this string into as many parts as possible so that each letter appears in at most one part, and return a list of integers representing the size of these parts. Example 1: Input: S = "ababcbacadefegdehijhklij" Output: [9,7,8...
/** * 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...
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import net.sourceforge....
package ceui.lisa.download; import android.text.TextUtils; import com.google.gson.reflect.TypeToken; import java.io.File; import java.util.ArrayList; import java.util.List; import ceui.lisa.activities.Shaft; import ceui.lisa.file.FileName; import ceui.lisa.helper.FileStorageHelper; import ceui.lisa.model.CustomFile...
package de.uni_mannheim.informatik.dws.melt.matching_owlapi; import java.io.File; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; import org.semanticweb.owlapi.model.OWLOntology; public class OntologyCacheOwlApiTest { private static final int NUMBER_AXIOMS = 318; @Test ...
package com.dieselpoint.norm; import java.sql.Connection; import java.sql.SQLException; import java.util.List; import javax.sql.DataSource; import com.dieselpoint.norm.sqlmakers.SqlMaker; import com.dieselpoint.norm.sqlmakers.StandardSqlMaker; import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDat...
package loadinganimation; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.view.View; import android.widget.ImageView; import com.shoeARstore.R; public class LoadingView extends ImageView { private LoadingDrawable mLoadingDrawable; publi...
/* * (C) Copyright 2021 Boni Garcia (https://bonigarcia.github.io/) * * 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...
package com.atguigu.gulimall.member.dao; import com.atguigu.gulimall.member.entity.GrowthChangeHistoryEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 成长值变化历史记录 * * @author ChaoliTan * @email ctan7749@gmail.com * @date 2020-10-15 12:45:39 */ @Ma...
import org.junit.FixMethodOrder; import org.junit.Test; import org.junit.runners.MethodSorters; @FixMethodOrder(MethodSorters.NAME_ASCENDING) public class RegressionTest0 { public static boolean debug = false; @Test public void test01() throws Throwable { if (debug) System.out.format(...
package com.oregonscientific.meep.opengl; import com.oregonscientific.meep.message.common.OsListViewItem; import com.oregonscientific.meep.opengl.OpenGlRender.OspadRenderListener; public class StateManager { private static SystemState mSystemState; public enum SystemState { HOME, MSG_GROUP, FUNC_SELECT,...
/* * 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 ...
/* * * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and conditions for use...
package com.box.l10n.mojito.react; public class ThirdParty { String url; String label; public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getLabel() { return label; } public void setLabel(String label)...
package com.volmit.phantom.api.inventory; /** * Element Event. * * @author cyberpwn * */ public enum ElementEvent { LEFT, RIGHT, SHIFT_LEFT, SHIFT_RIGHT, DRAG_INTO, OTHER_DRAG_INTO; }
package org.shared.code.languageexecutor.dto; /** * The enum Context type. */ public enum ContextType { /** * Boolean context type. */ BOOLEAN, /** * Bytes context type. */ BYTES, /** * String context type. */ STRING, /** * Short context type. */ ...
/* * Copyright (c) 2008-2015 MongoDB, 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 a...
package com.sample; public class SampleSubProject { public static void main(String[] args) { System.out.println("hello"); } public SampleSubProject() { } }
// Copyright 2014 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.net; import android.test.suitebuilder.annotation.SmallTest; import org.chromium.base.test.util.Feature; import java.io.ByteArrayIn...
/** * 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...
/** * Autogenerated by Thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package com.vesoft.nebula.meta; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.util.HashMap; import java.util.Set; import java.util.HashSet; import java.util.Co...
/** * Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith...
package com.acme.architecture.common.constant; public final class GlobalConstant { private GlobalConstant() { } public static final String EMPTY_STRING = ""; public static final String NULL_STRING = "null"; public static final String HYPHEN = "-"; public static final String SLASH = "/"; public static f...
package com.easytoolsoft.easyreport.engine.dbpool; import com.easytoolsoft.easyreport.engine.data.ReportDataSource; import javax.sql.DataSource; /** * 数据源连接包装器 */ public interface DataSourcePoolWrapper { DataSource wrap(ReportDataSource rptDs); }
package com.hzy.wan.base; import android.content.Context; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import com.hzy.baselib.widge...
package getta.tokenlogin.mixins; import getta.tokenlogin.interfaces.IMixinMinecraft; import net.minecraft.client.MinecraftClient; import net.minecraft.client.util.Session; import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Mutable; import org.spongepo...
/* * Copyright 2015-2016 Red Hat, Inc, and individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
package moe.gensoukyo.mcgproject.common.init; import moe.gensoukyo.mcgproject.core.MCGProject; import net.minecraft.entity.Entity; import net.minecraft.util.ResourceLocation; import net.minecraft.util.SoundCategory; import net.minecraft.util.SoundEvent; import net.minecraft.util.math.BlockPos; import net.minecraft.wor...
package edu.ucsd.cwphs.palms.test; import edu.ucsd.cwphs.palms.poi.GooglePlaces; import edu.ucsd.cwphs.palms.poi.POI; import edu.ucsd.cwphs.palms.util.EventLogger; import edu.ucsd.cwphs.palms.util.JSONPrettyPrint; import java.io.DataInputStream; import java.io.DataOutputStream; import java.net.HttpURLConnection; impo...
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.apex.ast; import apex.jorje.semantic.ast.member.Property; public class ASTProperty extends AbstractApexNode<Property> { public ASTProperty(Property property) { super(property); } ...
/* * Copyright (c) 2016, ProductLayer GmbH 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 condit...
package ca.fuwafuwa.kaku.XmlParsers; import android.content.Context; import android.util.Log; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import java.io.IOException; import java.util.HashMap; import ca.fuwafuwa.kaku.Database.JmDictDatabase.JmDatabaseHelper; import ca.fuwafuwa....
package cn.stackflow.aums.domain.service.impl; import cn.stackflow.aums.common.utils.StringUtils; import cn.stackflow.aums.domain.entity.Resource.ResourceType; import cn.stackflow.aums.web.app.pojo.BaseReq; import com.google.common.collect.Sets; import cn.stackflow.aums.common.bean.PageResult; import cn.stackflow.aums...
/* * (C) Copyright IBM Corp. 2016, 2021 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.fhir.server.util; import static com.ibm.fhir.model.type.String.string; import static com.ibm.fhir.model.util.ModelSupport.getResourceType; import static javax.servlet.http.HttpServletResponse.SC_BAD_REQUEST; import ...
package quick.pager.shop.controller.finance;
package com.huaweicloud.sdk.elb.v2.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.huaweicloud.sdk.core.SdkResponse; import java.util.Objects; import java.util.function.Consumer; /** Response Object */ public class UpdateListenerResponse ex...
package com.github.dockerjava.core.command; import static ch.lambdaj.Lambda.filter; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.hasItem; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.isEmptyString; i...
/* * Copyright 2021 YugaByte, Inc. and Contributors * * Licensed under the Polyform Free Trial License 1.0.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://github.com/YugaByte/yugabyte-db/blob/master/licenses/POLYFORM-FREE-...
package mekanism.common.tile; import mekanism.common.tank.DynamicFluidTank; import mekanism.common.util.PipeUtils; import net.minecraftforge.common.ForgeDirection; import net.minecraftforge.fluids.Fluid; import net.minecraftforge.fluids.FluidStack; import net.minecraftforge.fluids.FluidTankInfo; import net.minecraftfo...
package org.jeecg.modules.message.controller; import java.util.Arrays; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.jeecg.common.api.vo.Result; import org.jeecg.common.system.base.controller.JeecgController; import org.jeecg.common.syst...
import com.marist.mscs721.Meeting; import com.marist.mscs721.Room; import com.marist.mscs721.RoomScheduler; import org.junit.Test; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Scanner; import static...
/* * Copyright (C) 2019 Everwin (www.everwin.fr) * * 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 applicabl...
package com.modelo; import java.io.Serializable; import javax.persistence.*; /** * The persistent class for the usuario database table. * */ @Entity @NamedQuery(name="Usuario.findAll", query="SELECT u FROM Usuario u") public class Usuario implements Serializable { private static final long serialVersionUID = 1L...
/* * 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 org.processmining.openslex; /* * */ // TODO: Auto-generated Javadoc /** * The Interface SLEXStoragePerspective. * * @author <a href="mailto:e.gonzalez@tue.nl">Eduardo Gonzalez Lopez de Murillas</a> * @see <a href="https://www.win.tue.nl/~egonzale/projects/openslex/" target="_blank">OpenSLEX</a> */ pub...
/* * Copyright 2016-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/** * Copyright 2008-2017 Qualogy Solutions B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.athenz.client.zms; import com.yahoo.vespa.athenz.api.AthenzDomain; import com.yahoo.vespa.athenz.api.AthenzIdentity; import com.yahoo.vespa.athenz.api.AthenzResourceName; impor...
package com.rancho.web.admin.domain.serve; import lombok.Data; @Data public class ServeParam { private String ip; }
package com.hoddmimes.turf.authorize; import com.hoddmimes.turf.common.TGStatus; import com.hoddmimes.turf.common.generated.TG_Response; import com.hoddmimes.turf.servlets.ServletResources; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import javax.servlet.*; import javax.servl...
package com.scottlogic.deg.generator.fieldspecs; import com.scottlogic.deg.generator.restrictions.DateTimeRestrictionsMerger; import com.scottlogic.deg.generator.restrictions.Nullness; import com.scottlogic.deg.generator.restrictions.NumericRestrictionsMerger; import java.util.Optional; /** * Returns a FieldSpec th...
/** * Copyright (c) 2015-2021, Michael Yang 杨福海 (fuhai999@gmail.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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * ...
/* * Copyright 2014-2021 Real Logic 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/* * Apache HTTPD & NGINX Access log parsing made easy * Copyright (C) 2011-2021 Niels Basjes * * 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/LICEN...
package com.tui.proof.ws.model; import lombok.Data; import java.io.Serializable; @Data public class Task implements Serializable { private boolean isCompleted = false; private Integer id; private String resultsUrl; public Task(Integer id) { this.id = id; } }
/* * Copyright (C) 2015 Square, 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 agre...
package main.java.fr.alexandreladriere.shortestpath; import main.java.fr.alexandreladriere.gui.Gui; import main.java.fr.alexandreladriere.utils.Strings; import javax.swing.*; /** * Main class */ public class ShortestPath extends JFrame { /** * Default constructor */ public ShortestPath() { ...
/* * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.naming.internal; import java.util.List; import javax.naming.NamingException; /** * ...
/** * Copyright (c) 2013-2022 Contributors to the Eclipse Foundation * * <p> See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Versio...
package br.com.orange.API; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class ApiApplicationTests { @Test void contextLoads() { } }
package cmdline; import common.*; import common.comment.Comment; import common.comment.CommentsCollector; import common.like.LikesCollector; import common.page.Page; import common.page.PageCollector; import common.post.Post; import common.post.PostsCollector; import db.DbManager; import java.util.ArrayList; import ja...
package dashboard.control; import java.awt.Color; import java.awt.event.MouseEvent; /** * Implements a Button that behaves like a switch or flip-flop. Here, onAction and offAction are executed * during mousePressed, rather than mouseReleased. * * @author Mark Sabini * */ public class ToggleButton extends Button...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
package com.ayshiktest.repo; import java.util.List; import com.ayshiktest.entity.Student; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; @Repository public interface StudentRepo extends CrudRepository<Student, Long> { List<Student> findByAddress(String ...