text
stringlengths
7
1.01M
package com.vitanov.multiimagepicker; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.graphics.Matrix; import android.content....
package com.sochat.client; import java.io.IOException; import org.apache.commons.lang3.tuple.Pair; import com.sochat.shared.io.UserIO; public class ClientInputReader { private UserIO mIo; public ClientInputReader(UserIO io) { mIo = io; } public Pair<String, String> readCredentials() { ...
package com.coolweather.android.gson; import com.google.gson.annotations.SerializedName; /** * Created by Administrator on 2018/12/5/005. */ public class Forecast { public String date; @SerializedName("tmp") public Temperature temperature; @SerializedName("cond") public More more; publi...
package tech.infofun.popularmovies.fragment; import android.content.ContentResolver; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.Layou...
/* * Copyright (C) 2015 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...
/* * Code Dx API * Code Dx provides a variety of REST APIs, allowing external applications and scripts to interface with core functionality. This guide documents the various REST resources provided by Code Dx. ## Authentication Authentication is a requirement when accessing API endpoints. There are two methods by w...
/* * Copyright (c) 2014-2016 CODING. */ package net.coding.ide.utils; /** * Created by phy on 2015/3/7. */ public interface Callback <T> { public void call(T arg); }
package com.example.eva1_8_escenas; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public ...
package local.org.bouncycastle.asn1; import java.io.IOException; import local.org.bouncycastle.util.Arrays; import local.org.bouncycastle.util.Strings; /** * DER PrintableString object. */ public class DERPrintableString extends ASN1Primitive implements ASN1String { private byte[] string; /** ...
/* * Copyright © 2018 Apple Inc. and the ServiceTalk project 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 requi...
/* * Copyright 2016-2016 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...
package gedi.solutions.geode.operations.functions; import java.lang.management.ManagementFactory; import java.util.Properties; import javax.management.MBeanServer; import javax.management.ObjectName; import org.apache.geode.cache.Cache; import org.apache.geode.cache.CacheFactory; import org.apache.geode.cach...
/* See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * Esri 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...
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
package io.binac.leetcode; import java.util.ArrayList; import java.util.List; /** * Given a string s, partition s such that every substring of the partition is a palindrome. * <p> * <p>Return all possible palindrome partitioning of s. * <p> * <p>Example: * <blockquote><pre> * Input: "aab" * Output: *...
/* * Copyright (c) 2008-2020, 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 ...
/* * StandardButton.java * * Copyright (C) 2000-2003 Peter Graves * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later versi...
/* $Id$ * * Copyright (c) 2008-2011, The University of Edinburgh. * All Rights Reserved */ package uk.ac.ed.ph.snuggletex.utilities; import uk.ac.ed.ph.snuggletex.SnuggleEngine; import javax.xml.transform.Templates; /** * Encapsulates a simple cache for the internal XSLT stylesheets used by SnuggleTeX. * This ...
package com.icepoint.base.web.resource.util; import com.fasterxml.jackson.databind.JsonNode; import lombok.experimental.UtilityClass; import org.springframework.lang.Nullable; import java.util.stream.StreamSupport; @UtilityClass public class JacksonUtils { @Nullable public static Object getMostSpecificValue...
package utils; import java.util.Random; public class ArrayUtils { /** * 打印数组的工具类 * @param nums */ public static void printArray(Comparable[] nums){ if (nums==null||nums.length==0){ throw new IllegalArgumentException("array is null"); } System.out.print("["); ...
package com.mcoding.base.product.service.productCategoryRef.impl; import com.mcoding.base.core.PageView; import com.mcoding.base.product.bean.productCategoryRef.ProductCategoryRef; import com.mcoding.base.product.bean.productCategoryRef.ProductCategoryRefExample; import com.mcoding.base.product.persistence.produc...
package org.workcraft.dom.references; import org.workcraft.dom.Node; import org.workcraft.dom.hierarchy.NamespaceHelper; import org.workcraft.dom.hierarchy.NamespaceProvider; import org.workcraft.dom.math.MathNode; import org.workcraft.observation.HierarchyEvent; import org.workcraft.observation.HierarchySupervisor; i...
package org.carly.api.rest.request; import lombok.Getter; import lombok.Setter; import org.bson.types.ObjectId; @Getter @Setter public class WindowsRequest { private ObjectId id; private String name; private String color; }
package com.lg.task; import java.util.concurrent.ExecutionException; import java.util.concurrent.FutureTask; import java.util.concurrent.RunnableFuture; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; /** * @author leiting * @des * @since 16/9/23 */ public class Task<T> impleme...
package com.pivottech.booking.model; import lombok.Data; import javax.validation.constraints.Min; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; @Data public class MakeReservationRequest { @NotNull @Min(0) Long availabilityId; @NotEmpty String descrip...
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package nil.ed.chatroom.service.support; import nil.ed.chatroom.common.PageResult; import java.util.List; import java.util.function.Supplier; public interface SelectPageHelper<T> extends Operator<PageResult<T>, List<T>> { SelectPageHelper<T> setPageNo(Integer pageNo); SelectPageHelper<T> setPageSize(Intege...
package com.mayankrastogi.cs441.hw4.chessservice.engines.javaopenchess; import pl.art.lach.mateusz.javaopenchess.core.Squares; /** * Helper class to get the {@link Squares} denoted by the current square in the chess board. */ public class BoardSquare { public Squares x; public Squares y; public BoardS...
package net.java.sip.communicator.impl.protocol.jabber.extensions.coin; import java.util.Map.Entry; import net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension; import org.jitsi.gov.nist.core.Separators; import org.jivesoftware.smack.packet.PacketExtension; public class StatePacketExtensi...
package ru.job4j.synch.userstorage; import org.junit.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.nullValue; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; public class UserStorageTest { ...
package com.fasterxml.jackson.dataformat.avro.apacheimpl; import java.io.InputStream; import java.io.OutputStream; import java.lang.ref.SoftReference; import org.apache.avro.io.*; import com.fasterxml.jackson.core.JacksonException; /** * Simple helper class that contains extracted functionality for * simple encod...
/* * 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 org.pimslims.bioinf.targets; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.StringTokenizer; import org.pimslims.bioinf.DBFetch; import org.pimslims.la...
package com.adambates.wikisearch.http.models;
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 商圈主页地址创建修改接口 * * @author auto create * @since 1.0, 2018-05-10 13:54:14 */ public class KoubeiShopMallPageModifyModel extends AlipayObject { private static final long serialVers...
/* * File : ARNReduced.java * Created : 26-Dec-2009 * By : atrilla * * Emolib - Emotional Library * * Copyright (c) 2009 Alexandre Trilla & * 2007-2012 Enginyeria i Arquitectura La Salle (Universitat Ramon Llull) * * This file is part of Emolib. * * You should have received a copy of the rights gran...
package com.kangmin.todolist.util; public final class ModelAttributes { public static final String WELCOME_MESSAGE = "welcome_message"; public static final String MESSAGE = "message"; public static final String ERROR = "error"; public static final String USER = "user"; public static final String...
/** * @Title UserAuthenticationFilter.java * @date 2017-12-4 上午10:46:12 * @Copyright: 2017 */ package com.howard.base.security; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import org.apache.shiro.SecurityUtils; import org.apache.shir...
package com.mattstine.dddworkshop.pizzashop.delivery; import com.mattstine.dddworkshop.pizzashop.infrastructure.events.ports.EventLog; import com.mattstine.dddworkshop.pizzashop.infrastructure.events.ports.Topic; import com.mattstine.dddworkshop.pizzashop.infrastructure.repository.adapters.InProcessEventSourcedReposit...
package org.uniprot.api.idmapping.service; import static java.util.Collections.emptyList; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.contains; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.j...
/** * Copyright © 2020 SOLTEKNO.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 law or agreed...
/* * Copyright 2017 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 appli...
/* * Copyright (C) 2016 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.fluentlenium.test.findby; import org.fluentlenium.core.FluentPage; import org.fluentlenium.core.annotation.Page; import org.fluentlenium.core.domain.FluentWebElement; import org.fluentlenium.test.IntegrationFluentTest; import org.junit.jupiter.api.Test; import org.openqa.selenium.WebElement; import org.ope...
/******************************************************************************* * Copyright [2014] [Joarder Kamal] * * 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 * * ...
package org.hl7.fhir.r4.model.codesystems; /* Copyright (c) 2011+, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the ab...
/* * 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.mobgen.halo.android.framework.storage.database.dsl; /** * The table base interface for all the Tables of the HALO ORM framework. */ public interface HaloTable { }
/* * 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 ...
package org.nfpa.spatial.utils; import java.lang.reflect.Field; public class Utils { /* * Parse Integer from String * */ public static int parseToInt(String stringToParse, int defaultValue) { int ret; try { ret = Integer.parseInt(stringToParse); } c...
/* * Copyright 2017 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...
/* * 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.infra.managers.utils; import com.infra.BuildConfig; import com.infra.managers.DataManager; import com.infra.managers.requests.Service; import com.infra.logging.util.LogUtils; import java.io.IOException; import java.security.KeyManagementException; import java.security.NoSuchAlgorithmException; import java...
/* * Copyright 2006-2021 Marcel Baumann * * 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 ...
// // Source code recreated from a .class file by IntelliJ IDEA // (powered by Fernflower decompiler) // package com.bstek.urule.model.scorecard; public enum CellType { attribute, score, condition, custom; private CellType() { } }
package com.sustech.flightbooking.viewmodel; public class RegisterViewModel { private String userName; private String displayName; private String password; private String confirmPassword; private String identityNumber; public String getUserName() { return userName; } public v...
/* * Copyright (c) 2011-2016, 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...
package org.onvif.ver10.display.wsdl; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRo...
package fastsimjava.components; import java.io.BufferedReader; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; public class FSJSimConstants { public float airDensity,gravity,h2KWhPerKg,kWhPerGGE,kWhPerGalDiesel,gasKWhPerKg,dieselKWhPerKg,cngKWhPerM3; public float refAmbTem...
package com.prowidesoftware.swift.model.mx.dic; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annota...
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.AntfarmProjectInfo; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.social.antfarm.projectinfo.query res...
/* * 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 ...
/* * This file is part of WebGoat, an Open Web Application Security Project utility. For details, please see http://www.owasp.org/ * * Copyright (c) 2002 - 2019 Bruce Mayhew * * This program is free software; you can redistribute it and/or modify it under the terms of the * GNU General Public License as publishe...
/* * 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 app...
/********************************************************************************* * * * The MIT License (MIT) * * ...
/* * Copyright 1999-2011 Alibaba Group. * * 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 appl...
// Copyright 2016 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
/* * 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.thinkbiganalytics.metadata.jpa.common; /*- * #%L * kylo-operational-metadata-jpa * %% * Copyright (C) 2017 ThinkBig Analytics * %% * 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 Licen...
/* * Copyright 2018 NAVER Corp. * * 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 software.amazon.lightsail.loadbalancertlscertificate; class Configuration extends BaseConfiguration { public Configuration() { super("aws-lightsail-loadbalancertlscertificate.json"); } }
package com.ysyx.commons.wx.requests.wxmsg; import com.ysyx.commons.wx.TextHttpRequest; import com.ysyx.commons.wx.WXCommonResult; import com.ysyx.commons.wx.annotations.Post; import com.ysyx.commons.wx.annotations.QueryString; import org.codehaus.jackson.annotate.JsonProperty; /** * add kf request. * * @author du...
/** * Copyright (C) 2013-2017 Expedia 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...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
package io.onedev.server.web.editable.buildspec.job.choice; import java.util.LinkedHashMap; import java.util.Map; import org.apache.wicket.model.IModel; import org.apache.wicket.model.Model; import org.apache.wicket.util.convert.ConversionException; import io.onedev.server.model.Project; import io.onedev.server.web....
/* * 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 ooga.view.gamescreen; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javafx.beans.binding.Bindings; import javafx.beans.binding.NumberBinding; import javafx.scene.image.ImageView; import javafx.scene.layout.Pane; import javafx.util.Pair; import ooga.ca...
/* * 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 ...
/* * 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.softwareverde.bitcoin.server.module.stratum.api.endpoint.account; import com.softwareverde.bitcoin.address.Address; import com.softwareverde.bitcoin.address.AddressInflater; import com.softwareverde.bitcoin.miner.pool.AccountId; import com.softwareverde.bitcoin.server.configuration.StratumProperties; impor...
/* * Copyright (c) 2002-2021 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 jadx.plugins.input.javaconvert; import java.nio.file.Path; import java.util.List; import jadx.api.plugins.JadxPluginInfo; import jadx.api.plugins.input.JadxInputPlugin; import jadx.api.plugins.input.data.ILoadResult; import jadx.api.plugins.input.data.impl.EmptyLoadResult; import jadx.plugins.input.dex.DexInp...
package stsjorbsmod.cards; import com.megacrit.cardcrawl.actions.AbstractGameAction.AttackEffect; import com.megacrit.cardcrawl.actions.common.DamageAction; import com.megacrit.cardcrawl.cards.DamageInfo; import com.megacrit.cardcrawl.characters.AbstractPlayer; import com.megacrit.cardcrawl.monsters.AbstractMons...
package org.basex.query.up.primitives; import org.basex.data.*; import org.basex.data.atomic.*; import org.basex.query.up.*; import org.basex.query.util.*; import org.basex.query.value.item.*; import org.basex.query.value.node.*; import org.basex.query.value.type.*; import org.basex.util.*; /** * Abstract update pri...
package com.flipkart.android.proteus.support.view; import android.content.Context; import android.view.View; import androidx.annotation.NonNull; import androidx.appcompat.widget.AppCompatSpinner; import com.flipkart.android.proteus.ProteusView; import com.flipkart.android.proteus.toolbox.Attributes; import com.flipk...
package org.apache.spark.sql.execution.command; public class ShowPartitionsCommand$ extends scala.runtime.AbstractFunction2<org.apache.spark.sql.catalyst.TableIdentifier, scala.Option<scala.collection.immutable.Map<java.lang.String, java.lang.String>>, org.apache.spark.sql.execution.command.ShowPartitionsCommand> impl...
package org.opensha.refFaultParamDb.calc.sectionDists; import java.io.IOException; import java.util.ArrayList; import java.util.EmptyStackException; import java.util.HashMap; import java.util.Stack; import org.opensha.commons.util.FileUtils; import org.opensha.commons.util.threads.Task; import org.opensha.commons.uti...
//@@author amrut-prabhu package seedu.club.commons.events.model; import static seedu.club.storage.ProfilePhotoStorage.PHOTO_FILE_EXTENSION; import seedu.club.commons.events.BaseEvent; /** * Indicates that the profile photo of a member has changed. */ public class ProfilePhotoChangedEvent extends BaseEvent { p...
/* * Copyright (c) 2009, James Leigh All rights reserved. * Copyright (c) 2011, 3 Round Stones Inc. Some 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 mus...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
/* * (C) Copyright 2015-2016 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 app...
package cz.cuni.mff.d3s.demo.environment; public enum ActuatorType { ROUTE; }
/* * 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 aniski.rs.servers; import aniski.rs.ServerManager; import aniski.rs.Store; import aniski.rs.net.RSSocket; import aniski.rs.net.Stream; import aniski.rs.utils.ISAACRandomGen; import aniski.rs.utils.Misc; import java.io.IOException; import java.math.BigInteger; import java.security.SecureRandom; import java.uti...
/* * Copyright (c) 2002-2021 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.entrevista.service; import com.entrevista.entity.Loan; import org.springframework.http.ResponseEntity; import java.util.List; public interface LoanService { List<Loan> findAll(); Loan findActiveByClient(Long idClient); ResponseEntity<Loan> saveLoan(Loan loan); }
package module486packageJava0; import java.lang.Integer; public class Foo175 { Integer int0; Integer int1; public void foo0() { new module486packageJava0.Foo174().foo5(); } public void foo1() { foo0(); } public void foo2() { foo1(); } public void foo3() { foo2(); } public v...
/* Copyright (c) 2001-2011, The HSQL Development Group * 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...
package com.pointcx.jvm.jdk7; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; public class ReflectUtil { ////////////////////////////////////////////////////////////////////////// //// Invoke Methods public static <T> T invokeStaticMethod...
package db.connection.mysql.connection.service; import java.util.List; import db.connection.mysql.connection.dao.DepartmentDAO; import db.connection.mysql.connection.model.Department; public class DepartmentService { private DepartmentDAO departmentDAO; public DepartmentService(DepartmentDAO departmentDAO) { ...