text
stringlengths
7
1.01M
package id.zulns.androidwifiremote; import android.content.Context; import android.content.SharedPreferences; import android.os.Build; import android.os.Environment; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; ...
package io.cattle.platform.configitem.context.data.metadata.version1; import io.cattle.platform.configitem.context.data.metadata.common.ContainerMetaData; import io.cattle.platform.configitem.context.data.metadata.common.ServiceMetaData; import java.util.ArrayList; import java.util.List; import org.apache.commons.co...
package de.is24.util.monitoring.jmx; public class SimpleJmxAppmon4jNamingStrategy implements JmxAppMon4JNamingStrategy { private final String jmxPrefix; public SimpleJmxAppmon4jNamingStrategy(String prefix) { this.jmxPrefix = prefix; } @Override public String getJmxPrefix() { return jmxPrefix; } ...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
package hgb.csp.mvc; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.logging.Level; import java.util.logging.Logger; public class SubjectImpl implements Subject { protected Collection<Object> observers; public SubjectImpl() { ob...
/* * Copyright 2017 flow.ci * * 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 (c) 2018 Couchbase, 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...
// Copyright 2017 Google 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 in...
/* Generic definitions */ /* Assertions (useful to generate conditional code) */ /* Current type and class (and size, if applicable) */ /* Value methods */ /* Interfaces (keys) */ /* Interfaces (values) */ /* Abstract implementations (keys) */ /* Abstract implementations (values) */ /* Static containers (keys) */ /...
package org.apereo.cas.authentication.support; import org.apereo.cas.authentication.support.password.GroovyPasswordPolicyHandlingStrategy; import org.apereo.cas.authentication.support.password.PasswordPolicyContext; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.lda...
package com.prowidesoftware.swift.model.mx; import com.prowidesoftware.swift.model.mx.dic.*; import com.prowidesoftware.swift.model.mx.AbstractMX; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annot...
package io.objects.tl.api; import static io.objects.tl.StreamUtils.*; import static io.objects.tl.TLObjectUtils.*; import java.lang.Override; import java.lang.String; /** * This class is generated by Mono's TL class generator */ public class TLInputMessagesFilterMusic extends TLAbsMessagesFilter { public stati...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/** * Copyright (C) 2017 Marvin Herman Froeder (marvin@marvinformatics.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 * *...
package com.rabbitmq.orchestrator.run.ec2; import com.rabbitmq.orchestrator.InvalidInputException; import com.rabbitmq.orchestrator.ProcessExecutor; import com.rabbitmq.orchestrator.deploy.BaseSystem; import com.rabbitmq.orchestrator.deploy.Waiter; import com.rabbitmq.orchestrator.deploy.ec2.model.EC2System; import co...
package org.gradle.test.performance.mediummonolithicjavaproject.p228; public class Production4572 { private Production4563 property0; public Production4563 getProperty0() { return property0; } public void setProperty0(Production4563 value) { property0 = value; } priv...
/* Generated file, do not modify. See jython/src/templates/gderived.py. */ package org.python.antlr.ast; import java.io.Serializable; import org.python.core.*; import org.python.core.finalization.FinalizeTrigger; import org.python.core.finalization.FinalizablePyObjectDerived; public class BoolOpDerived extends BoolO...
package com.github.kklisura.cdt.protocol.definition.utils; /*- * #%L * cdt-java-protocol-builder * %% * Copyright (C) 2018 - 2020 Kenan Klisura * %% * 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 th...
/* * Copyright 2015 Ben Manes. 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 applicab...
package com.toune.util.rxtool; import android.app.Activity; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; /** * * @author vondear * @date 2016/12/26 */ public class RxFragme...
/* * ========================================================================== * Copyright (C) 2019-2021 HCL America, Inc. ( http://www.hcl.com/ ) * All rights reserved. * ========================================================================== * Licensed under the Apache License, Ve...
package org.irods.jargon.transfer.dao.impl; import java.util.List; import org.hibernate.Criteria; import org.hibernate.HibernateException; import org.hibernate.criterion.Restrictions; import org.irods.jargon.transfer.dao.TransferAttemptDAO; import org.irods.jargon.transfer.dao.TransferDAOException; import org.irods.j...
package org.daisy.validation.epubcheck; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.util.List; import org.junit.Before; import org.junit.Test; public class ParserTest { private StatefulParser parser; @Before public void setUp() throws Exception { pa...
package org.ainlolcat.idea.plugin.openshift.ui.tw.os.renderers; import javax.swing.tree.DefaultMutableTreeNode; public interface OpenshiftTreeRendererCallback { public void render(DefaultMutableTreeNode rootNode); }
package com.gorrotowi.musicalstructure.items; /** * Created by Gorro on 20/12/16. */ public class ItemAlbum { private int imgAlbum; private String title; private String author; public ItemAlbum(int imgAlbum, String title, String author) { this.imgAlbum = imgAlbum; this.title = titl...
copyright ibm corporation rights reserved program accompanying materials terms eclipse license accompanies distribution http eclipse org legal epl html contributors ibm corporation initial api implementation org eclipse pde tests imports junit framework test junit framework test suite testsuite org eclipse core resourc...
/* * Copyright © 2017 camunda services GmbH (info@camunda.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package com.ernesto.passwordmanager.presentation.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull...
/* * Copyright (c) 2020 Kurt Aaholst <kaaholst@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/** * Copyright 2017 Pivotal Software, Inc. * <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> * https://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applica...
/* * Copyright * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
/*- * ============LICENSE_START======================================================= * ONAP Policy Engine * ================================================================================ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. * ====================================================...
/* * Copyright 2020 Haulmont. * * 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...
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package edu.depauw.declan.main; import edu.depauw.declan.common.ErrorLog; import edu.depauw.declan.common.ast.ASTVisitor; import edu.depauw.declan.common.ast.Assignment; import edu.depauw.declan.common.ast.BinaryOperation; import edu.depauw.declan.common.ast.BooleanValue; import edu.depauw.declan.common.ast.ConstDecla...
package deep.generator; public interface OutageListener { void onOutage(final int outage); void onSolve(final int outage); }
package bookshopsystemapp.domain.entities; import javax.persistence.*; @MappedSuperclass public abstract class BaseEntity { private Integer id; public BaseEntity(){ } @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "id") public Integer getId() { return th...
/******************************************************************************* * Copyright 2014 The MITRE Corporation * and the MIT Kerberos and Internet Trust Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
/** * Copyright 2017 Pivotal Software, Inc. * <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> * https://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applica...
/* * Copyright 2016-2021 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...
/* * configuration * * Copyright (c) 2021 Synopsys, Inc. * * Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide. */ package com.synopsys.integration.configuration.property.base; import java.util.List; import org.jetbrains.an...
package netflix.ocelli.loadbalancer; import com.google.common.collect.Lists; import netflix.ocelli.LoadBalancer; import org.junit.Assert; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TestName; import rx.subjects.BehaviorSubject; import java.util.Comparator; import java.util.List; import java.u...
package com.sunnsoft.sloa.webservice; import javax.jws.WebParam; import javax.jws.WebService; /** * webservice 示例 ,详细配置请参考web.xml配置和cxf-servlet.xml配置。 * @author llade * */ @WebService public interface WsTestService { public String test(@WebParam(name = "pass") String pass, @WebParam(name = "param1") String par...
package com.assignment.stocksmanagementservices.service.impl; import com.assignment.stocksmanagementservices.domain.Stock; import com.assignment.stocksmanagementservices.repository.StockRepository; import com.assignment.stocksmanagementservices.service.StockManagementService; import org.junit.Assert; import org.junit....
/* * Copyright 2013, Edmodo, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. * You may obtain a copy of the License in the LICENSE file, or at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package edu.northwestern.bioinformatics.studycalendar.xml.writers; import edu.northwestern.bioinformatics.studycalendar.domain.Notification; import edu.northwestern.bioinformatics.studycalendar.xml.AbstractStudyCalendarXmlCollectionSerializer; import static edu.northwestern.bioinformatics.studycalendar.xml.XsdAttribut...
package com.example; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.web.WebAppConfiguration; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @RunWith(SpringJUnit4ClassRunner.cl...
package no.vegvesen.nvdbapi.client.clients; import javax.ws.rs.ProcessingException; import com.github.tomakehurst.wiremock.WireMockServer; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import no.vegvesen.nvdb...
import java.awt.*; import java.awt.event.*; import java.awt.font.*; import java.awt.geom.*; import java.awt.print.*; import javax.print.attribute.*; import javax.swing.*; /** * This program demonstrates how to print 2D graphics * @version 1.12 2007-08-16 * @author Cay Horstmann */ public class PrintTe...
package metropolia.minhtn.chatapplication.constants; /** * Created by nmt19 on 4/30/2016. */ public class ApiUrl { //private static final String SERVER = "http://10.0.2.2:8080/SuperTeamChatApp/webresources/"; private static final String SERVER = "http://10.0.2.2:8080/SuperTeamAppWithLogin2/webresources/"; ...
package com.github.difflib.patch; import com.github.difflib.DiffUtils; import com.github.difflib.algorithm.DiffException; import java.util.Arrays; import java.util.List; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import org.junit.Test; public class PatchTest { @Test pub...
package powercrystals.minefactoryreloaded.api; import java.util.List; import net.minecraft.world.World; public interface IRandomMobProvider { /** * Called to provide random entities to be spawned by mystery SafariNets * * @param world * The world object the entities will be spawned in. * @retu...
package com.fishercoder.solutions; import java.util.Arrays; public class _300 { public static class Solution1 { /** * credit: https://discuss.leetcode.com/topic/28719/short-java-solution-using-dp-o-n-log-n * The idea is that as you iterate the sequence, * you keep track of the...
//,temp,sample_3007.java,2,18,temp,sample_4723.java,2,18 //,2 public class xxx { public void dummy_method(){ if(sourceConnection != null){ try { sourceConnection.close(); } catch (Exception e) { } } if(replicatedTable != null){ try{ replicatedTable.close(); } catch (Exception e) { log.info("fail to close replicated t...
package com.cyl.musiclake.api; import com.cyl.musiclake.api.qq.QQApiModel; import com.cyl.musiclake.common.Constants; import com.google.gson.Gson; import junit.framework.TestCase; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Created by D22434 on 2018/1/5. */ public class ApiManager...
package perococco.perobobbot.irc; import lombok.NonNull; import lombok.RequiredArgsConstructor; import java.util.Optional; /** * @author perococco **/ @RequiredArgsConstructor public class ParsedString { @NonNull private final String reference; private int idx = 0; public boolean isEmpty() { ...
package ro.ase.csie.cts.g1093.dp.memento; public class TestMemento { public static void main(String[] args) { SuperHero superman = new SuperHero("Superman", 100, "Fly"); HeroMemento initialSave = superman.createRestorePoint(); superman.takesAHit(50); superman.takesAHit(20); System.out.println("...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
/* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.huaweicloud.sdk.dc.v3.model; import com.huaweicloud.sdk.core.SdkResponse; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import java.util....
/* * Copyright 2000-2020 Vaadin 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 law or agreed to...
/* * 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 seedu.taskmanager.commons.events; public abstract class BaseEvent { /** * All Events should have a clear unambiguous custom toString message so that feedback message creation * stays consistent and reusable. * * For example, the event manager post method will call any posted event's to...
package com.alipay.api.response; import java.util.Date; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.commerce.medical.information.upload response. * * @author auto create * @since 1.0, 2019-01-07 20:51:15 */ public class AlipayCommerceMedicalIn...
package uk.ac.ebi.fg.myequivalents.webservices.client; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; impor...
/* * Copyright (c) 2002-2022 Gargoyle Software 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...
package com.mopub.nativeads; import android.app.Activity; import com.mopub.common.test.support.SdkTestRunner; import com.mopub.mobileads.BuildConfig; import com.mopub.network.MoPubNetworkError; import com.mopub.volley.NetworkResponse; import com.mopub.volley.Response; import com.mopub.volley.VolleyError; import org....
package com.github.akovalchuk; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Educative.io. Evaluate Expression (hard) * * Leetcode. 241. Different Ways to Add Parentheses */ public class DifferentWaysAddParentheses { pu...
package org.openstreetmap.atlas.geography.atlas.change.serializer; import java.io.IOException; import java.io.Writer; import java.lang.reflect.Type; import java.util.function.BiConsumer; import org.openstreetmap.atlas.exception.CoreException; import org.openstreetmap.atlas.geography.Rectangle; import org.openstreetma...
/* * 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...
/** * Copyright (C) 2013 Rohan Padhye * * 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 later version. * * This li...
/* * Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.ruoyi.project.rest.item.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import com.ruoyi.framework.web.domain.BaseEntity; /** * 餐品对象 rest_item * * @author zyk * @date 2020...
package java.lang; public class RuntimeException extends Exception { public RuntimeException() { super(); } public RuntimeException(String name) { super(name); } public String toString() { return "java.lang.RuntimeException"; } }
package ezvcard.property; import java.io.File; import java.io.IOException; import java.io.InputStream; import ezvcard.parameter.ImageType; /* Copyright (c) 2012-2020, Michael Angstadt All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided tha...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.datafactory.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.fasterx...
package cn.springcloud.codegen.utils; import java.io.*; /** * @author xujin */ public class ProjectConfig implements Serializable { /** * 使用序列化方式深度克隆项目配置模型 * @return * @throws IOException * @throws ClassNotFoundException */ public ProjectConfig deepClone() throws IOException, ClassNotFoundExcepti...
package jtraverser.editor; import java.awt.BorderLayout; import java.awt.GridLayout; import javax.swing.JPanel; import mds.MdsException; import mds.data.CTX; import mds.data.descriptor.Descriptor; import mds.data.descriptor.Descriptor_R; import mds.data.descriptor_r.Procedure; @SuppressWarnings("deprecation") public ...
/* * 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...
/* * Copyright 2014 Midokura SARL * * 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 t...
package ru.v1as.action; import org.joda.time.DateTime; import org.telegram.telegrambots.api.objects.User; import ru.v1as.model.*; import ru.v1as.utils.Utils; import java.util.*; import java.util.stream.Collectors; import static ru.v1as.model.GameState.*; /** * Created by ivlasishen * on 14.04.2017. */ public cla...
/* * Copyright (C) 2017 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 app...
package org.embulk.deps.cli; import java.io.PrintWriter; import java.util.Collections; import java.util.HashMap; import java.util.List; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.DefaultParser; import org.apache.commons.cli.Option; import org.apache.commons.cli.ParseException; import org....
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package trivia.models; import trivia.structures.Pair; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Random; import org.javalite.activejdbc.Base; import org.javalite.activejdbc.DBException; import org.javalite.activejdbc.Model; import org.java...
/* * Copyright 2017 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/licenses/LICENSE-2.0 * * Unless required by app...
package ru.soknight.packetinventoryapi.packet.server; import com.comphenix.protocol.PacketType; import com.comphenix.protocol.ProtocolLibrary; import com.comphenix.protocol.events.PacketContainer; import lombok.SneakyThrows; import org.bukkit.entity.Player; import ru.soknight.packetinventoryapi.packet.WrappedPacket; ...
/* * The MIT License * * Copyright 2016 Esign Consulting. * * 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...
package edu.monash.infotech.marvl.cola; import edu.monash.infotech.marvl.cola.geom.Point; public class Segment { public int edgeid; public int i; public Point p0; public Point p1; public Segment(final Point p0, final Point p1) { this.p0 = p0; this.p1 = p1; } public P...
/* * Copyright (c) 2002-2022 "Neo4j," * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache....
package com.foodorderapp.config; import org.modelmapper.ModelMapper; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class ApplicationBeanConfiguration { @Bean public ModelMapper modelMapper() { return new ModelMap...
package ubiquigame.games.desktop; import com.badlogic.gdx.Gdx; import ubiquigame.common.Controller; import ubiquigame.common.ControllerFeedbacks; import ubiquigame.common.FeedbackParams; import ubiquigame.common.impl.InputState; import static com.badlogic.gdx.Input.Keys; public class KeyboardController4 implements C...
/* * Copyright (c) 2017. tangzx(love.tangzx@qq.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
/* * 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 2013 Objectos, Fábrica de Software LTDA. * * 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 com.davioooh.datatablespagination; import com.davioooh.datatablespagination.model.PaginationCriteria; import com.davioooh.datatablespagination.model.TablePage; /** * The main component, used to generate a {@link TablePage}} according to * {@link PaginationCriteria}. * * @author David Castelletti */ publi...
/* * Copyright (c) 2015 PocketHub * * 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 t...
package com.ocdsoft.bacta.swg.server.service.data; public interface SharedFileLoader { void reload(); }
/* * Copyright (c) 2021, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...