text
stringlengths
7
995k
/* * Copyright 2002-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 ap...
package com.chipcaco.util; import java.util.logging.ConsoleHandler; import java.util.logging.Level; import java.util.logging.Logger; import java.util.logging.MemoryHandler; /** * Return a single global logger for the application. * @author Rodrigo Eggea */ public class LogUtil { private static Logger logger; /...
package it.angelic.soulissclient.model.typicals; import android.content.Context; import android.graphics.Color; import android.os.Looper; import android.view.View; import android.view.View.OnClickListener; import android.widget.LinearLayout; import android.widget.TextView; import java.util.ArrayList; import it.angel...
package dk.martin8412.cheersbot.commands; import org.jivesoftware.smack.SmackException; import org.jivesoftware.smack.XMPPException; import org.jivesoftware.smack.packet.Message; import org.jivesoftware.smackx.muc.MultiUserChat; import java.util.logging.Level; import java.util.logging.Logger; public final class Danc...
package com.doom.fbi.ware; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class FbiWareApplication { public static void main(String[] args) { SpringApplication.run(FbiWareApplication.class, args); } }
/* * Copyright (c) Meta Platforms, Inc. and 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 appl...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
/* * Copyright 2015 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 com.synectiks.process.server.shared.journal; import com.google.common.util.concurrent.AbstractIdleService; import java.util.List; /** * NoopJournal is used when disk journalling is turned off. In order to avoid propagating the knowledge about whether * journalling is happening or not, we inject a ...
package com.libutil.test.file; import com.libutil.FileUtil; import com.libutil.TestUtil; public class GetExtentionTest { public static void main(String args[]) { TestUtil.assertEquals("txt", FileUtil.getExtension("abc.txt")); TestUtil.assertEquals("txt", FileUtil.getExtension("C:/test/abc.txt")); TestU...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.idea.maven.execution; import com.intellij.CommonBundle; import com.intellij.build.*; import com.intellij.build.events.StartBuildEvent; import com.intellij.b...
// Automatically generated by the Fast Binary Encoding compiler, do not modify! // https://github.com/chronoxor/FastBinaryEncoding // Source: enums.fbe // Version: 1.3.0.0 package com.chronoxor.enums.fbe; // Fast Binary Encoding enums JSON engine public final class Json { private static final com.google.gson.Gson...
/* * Copyright 2021 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 ...
/* * Copyright 2014, The Sporting Exchange 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
package org.mengyun.tcctransaction.server.dao; import org.apache.commons.lang3.time.DateUtils; import org.mengyun.tcctransaction.SystemException; import org.mengyun.tcctransaction.repository.TransactionIOException; import org.mengyun.tcctransaction.repository.helper.JedisCallback; import org.mengyun.tcctransaction.rep...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
package com.hubspot.blazar.queue; import static org.assertj.core.api.Assertions.assertThat; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.concurrent.atomic.AtomicBoolea...
package com.atguigu.gmall.wms.controller; import java.util.List; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.Req...
/* * Copyright 2017-2018 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 (C) 2007 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 ...
/** Copyright 2010 University of South Florida Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
/** * @author Maximilian Etti */ package modbus; import java.nio.ByteBuffer; /** * This class represents a TCP ModbusMessage/Telegramm/Datagramm whatever. * The structure of such a Message is like this: * see the ModBus specs for more infos. * <p> * ---------------------------------- * | transaction ident...
/* * Licensed to the University of California, Berkeley 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 no...
package com.mapbox.alexa; import com.amazon.speech.speechlet.lambda.SpeechletRequestStreamHandler; import java.util.HashSet; import java.util.Set; /** * Handler for AWS Lambda requests (com.mapbox.alexa.MapboxSpeechletRequestStreamHandler) */ public class MapboxSpeechletRequestStreamHandler extends SpeechletReque...
/* * Copyright (c) 2010-2013 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ /* * Copyright (c) 2015 Tarun Gupta. * Licensed under the simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ package com.isode.stroke.disco; import c...
package org.rspspin.core; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import org.apache.jena.query.Query; import org.json.JSONObject; import org.rspspin.lang.cqels.ParserCQELS; import org.rspspin.lang.csparql.ParserCSPARQL; import org.rspspin.lang.rspql.ParserRSPQL; import org....
/* * 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 com.fsck.k9.notification; import android.app.PendingIntent; import android.content.Context; import android.support.v4.app.NotificationCompat; import android.support.v4.app.NotificationCompat.BigTextStyle; import android.support.v4.app.NotificationCompat.Builder; import com.fsck.k9.Account; import com.fsck.k9....
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import weka.classifiers.bayes.NaiveBayes; import weka.core.Instances; public class WekaTrainTest { NaiveBayes nb; Instances train, test, labeled; public void loadModel(S...
/* * Copyright (c) 2019. JaaJ-dev * 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 ...
/** */ package pipeline.tests; import junit.textui.TestRunner; import pipeline.PipelineFactory; import pipeline.Source; /** * <!-- begin-user-doc --> * A test case for the model object '<em><b>Source</b></em>'. * <!-- end-user-doc --> * @generated */ public class SourceTest extends PipelineNodeTest { /** ...
/* * Copyright 2011-2016 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 "li...
package com.yc.toollib.crash; /** * <pre> * @author yangchong * email : yangchong211@163.com * time : 2020/7/10 * desc : 抽象类 * revise: * </pre> */ public abstract class ExceptionHandler { final void uncaughtExceptionHappened(Thread thread, Throwable throwable) { try { ...
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/NotFoundReason.java . * Generated by the IDL-to-Java compiler (portable), version "3.2" * from /Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u60/4407/corba/src/share/classes/org/omg/CosNaming/nameservice.idl * Tuesday,...
/* * Copyright 2018-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) 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 * * Unles...
/* * Copyright 2010-2014 Ning, Inc. * Copyright 2014-2020 Groupon, Inc * Copyright 2020-2020 Equinix, Inc * Copyright 2014-2020 The Billing Project, LLC * * The Billing Project licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with t...
package org.cnodejs.api; import com.android.volley.NetworkResponse; import com.android.volley.ParseError; import com.android.volley.Request; import com.android.volley.Response; import com.android.volley.toolbox.HttpHeaderParser; import com.google.gson.FieldNamingPolicy; import com.google.gson.Gson; import com.google.g...
package com.kannan.glazysample; 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); } }
/* * PTCRISync webservice * This is an interface for PTCRISync library. * * OpenAPI spec version: 0.0.1-alpha * * * 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 manually. */ package io.swagger.model; ...
/* * Copyright 2022 Oliver Yasuna * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. *...
package com.sd.myandroid.uniplugin_common; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.l...
/* * 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 ...
/* * This file is part of krei. It is subject to the license terms in the LICENSE file found in the top-level * directory of this distribution and at http://creativecommons.org/publicdomain/zero/1.0/. No part of krei, * including this file, may be copied, modified, propagated, or distributed except according to the ...
/************************************************************************ CommitEvent.java is part of Ti4j 3.1.0 Copyright 2013 Emitrom 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 ...
/******************************************************************************* * Copyright (c) 2011, 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 ...
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.apex.rule.complexity; import java.util.Stack; import net.sourceforge.pmd.lang.apex.ast.ASTBooleanExpression; import net.sourceforge.pmd.lang.apex.ast.ASTDoLoopStatement; import net.sourceforge.pmd...
package org.hl7.fhir.dstu3.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 above...
/** */ package de.fhdo.lemma.operation.util; import de.fhdo.lemma.operation.*; import org.eclipse.emf.common.notify.Adapter; import org.eclipse.emf.common.notify.Notifier; import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * The <b>A...
package org.egov.user.security.oauth2.custom.authproviders; import lombok.extern.slf4j.Slf4j; import org.egov.tracer.model.ServiceCallException; import org.egov.user.domain.exception.DuplicateUserNameException; import org.egov.user.domain.exception.UserNotFoundException; import org.egov.user.domain.model.SecureUser; i...
package no.ssb.dc.api.node.builder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import no.ssb.dc.api.node.Base; import no.ssb.dc.api.node.Body; @JsonDeserialize(using = NodeBuilderDeserializer.class) public class BodyBuilder extends QueryBuilder { public BodyBuilder() { super(Builde...
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
package datawave.query.config; import datawave.query.Constants; import datawave.query.QueryParameters; import datawave.query.tables.ShardQueryLogic; import datawave.webservice.query.Query; import datawave.webservice.query.QueryImpl; import java.util.Arrays; import java.util.Set; /** * Temporary replacement of Shard...
package cz.zcu.students.kiwi.utils; import org.apache.log4j.Logger; import java.util.Collection; import java.util.LinkedList; import java.util.function.Consumer; import java.util.function.Function; public class ProgressRunnable<I> { private static Logger log = Logger.getLogger(ProgressRunnable.class); priva...
package com.joshings.taskmanager.service; import com.joshings.taskmanager.repository.ProcessRepository; import com.joshings.taskmanager.repository.model.ProcessEntity; import com.joshings.taskmanager.service.configuration.TaskManagerConfigurationProperties; import com.joshings.taskmanager.service.converter.ProcessEnti...
/* * 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 ...
package pl.edu.agh.plonka.bartlomiej.diseasesdiagnoser.view.controller; import javafx.beans.property.ReadOnlyObjectWrapper; import javafx.fxml.FXML; import javafx.scene.control.Button; import javafx.scene.control.TableColumn; import javafx.scene.control.TableView; import javafx.stage.Stage; import org.slf4j.Logger; im...
/* * Copyright (C) 2021 TD.Miracle(584290367@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 ap...
package alien4cloud.paas; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.concurrent.ScheduledFuture; import javax.annotation.Resource; import lombok.AllArgsConstructor; import org.springframework.beans.factory.annotation.Value; import org.spri...
package com.willlee.jdbc; public class integertest { public static void main(String[] args) { int i = 128; int i1 = new Integer(128); System.out.println(i == i1); int i2 = 205; int i3 = new Integer(205); System.out.println(i2 == i3); int I = 5, J = 5; System.out.println((I++) + (I++) + (I++)); Syst...
/** * Copyright 2010-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 appl...
/* * 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.imagepipeline.datasource; import android.graphics.Bitmap; import com.facebook.common.references.CloseableRefe...
import java.util.ArrayList; import org.junit.runner.*; import org.junit.runner.notification.*; public class TestRunner { public static void main(String[] args) { ArrayList<Class> classesToTest = new ArrayList<Class>(); boolean anyFailures = false; // ADD ANY MORE CLASSES YOU WISH TO TEST HERE ...
/** * 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) 2006, 2007, 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 ...
package br.com.flaviogf.composite; public class MallardDuck implements Quackable { @Override public void quack() { System.out.println("Quack"); } }
package pl.lodz.p.edu.utils; import java.util.Random; public class Utils { public static String random(int length) { final Random gen = new Random(); final StringBuilder sb = new StringBuilder(); for (int i = 0; i < length; i++) { char c = (char) (gen.nextInt(96) + 32); ...
/* * 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.sweng.app; /** * Hello world! * */ public class App { public static void main( String[] args ) { System.out.println("Non succede niente?"); } }
package com.phillee.springframework.util; /** * @Description: * @Author: PhilLee * @Date: 2022/1/19 16:31 */ public class ClassUtils { public static ClassLoader getDefaultClassLoader() { ClassLoader cl = null; try { cl = Thread.currentThread().getContextClassLoader(); } ...
/* * Copyright 2019 GridGain Systems, Inc. and Contributors. * * Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition...
package com.simibubi.create.content.logistics.block.depot; import java.util.List; import com.simibubi.create.foundation.tileEntity.SmartTileEntity; import com.simibubi.create.foundation.tileEntity.TileEntityBehaviour; import net.minecraft.tileentity.TileEntityType; public class DepotTileEntity extends SmartTileEnti...
/* * Copyright 2019 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 applicable l...
/* * 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.springframework.security.crypto.password; import java.util.HashMap; import java.util.Map; /** * A password encoder that delegates to another PasswordEncoder based upon a prefixed * identifier. * * <h2>Constructing an instance</h2> * * You can easily construct an instance using * {@link org.springfr...
/******************************************************************************* * Copyright (c) 2015 Low Latency Trading Limited : Author Richard Rose * 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 L...
licensed apache software foundation asf contributor license agreements notice file distributed work additional copyright ownership asf licenses file apache license version license file compliance license copy license http apache org licenses license required applicable law agreed writing software distributed license di...
package de.fu_berlin.agdb.crepe.writers; import org.junit.After; import org.junit.Test; import java.io.*; import static org.junit.Assert.*; /** * Test for FileWriter. * @author Ralf Oechsner * */ public class FileWriterTest { private static final String fileContent = "This should be the content\n" + "of th...
package br.usp.ime.academicdevoir.controller; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.*; import java.util.ArrayLis...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
package org.benf.cfr.tests; public enum CrashEnum { SAMPLE; public CrashEnum[] cloneValues() { return ((CrashEnum[]) null).clone(); } }
/* * 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 sistem; import java.util.Date; public class Esame { private Corso corso; private int voto; private Date data; private boolean accettato; // COSTRUTTORE (parziale) - per esame non ancora sostenuto Esame(Corso corso) { this.corso = corso; } // COSTRUTTORE (totale) - per esame sostenuto a prescindere ...
/* * Copyright 2017, OpenCensus 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 ag...
package org.ogema.devicefinder.util; import org.ogema.core.application.ApplicationManager; import org.ogema.core.model.simple.SingleValueResource; import org.ogema.timeseries.eval.simple.api.TimeProcUtil; import de.iwes.util.format.StringFormatHelper; import de.iwes.widgets.api.widgets.OgemaWidget; import de.iwes.wid...
package com.bindereq.game.actors; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.scenes.scene2d.Actor; import com.bindereq.game.gamemodel.Model; import com.bindereq.game.settings.GdxViewport; import com.bindereq.game.stages.GameStage; public cla...
/* * 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 com.github.sardine.report; import com.github.sardine.DavResource; import com.github.sardine.model.Limit; import com.github.sardine.model.Multistatus; import com.github.sardine.model.Prop; import com.github.sardine.model.Response; import com.github.sardine.model.SyncCollection; import com.github.sardine.util.Sa...
/* * Copyright (c) 2009-present, b3log.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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
package com.pk.souzou1; import android.content.Context; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; public class TriggerAccel extends EventBase { public boolean useX = false; public boolean useY = fals...
/* * Copyright (C) 2019 Parrot Drones SAS * * 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...
package fi.oda.epidemic.simulation; import fi.oda.epidemic.geojson.Feature; import fi.oda.epidemic.geojson.GeoJson; public class EpidemicMap implements Runnable{ private GeoJson observed; private GeoJson[] simulated; private double epidemicCutoffPoint; private double areaRadius; /** ...
package htsign.util.function; @FunctionalInterface public interface ByteToBooleanFunction { public boolean applyAsBoolean(byte value); }
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.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 requ...
/* * The MIT License (MIT) * Copyright (c) 2015 xiaocong@gmail.com, 2018 codeskyblue@gmail.com * * 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 l...
package com.jpaquery.core.facade; public interface HavingPath<T> { HavingPath<T> distinct(); HavingFunctionPath<Long> count(); HavingFunctionPath<T> avg(); HavingFunctionPath<T> sum(); HavingFunctionPath<T> min(); HavingFunctionPath<T> max(); }
/* * 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 ...
/* * © 2020. TU Dortmund University, * Institute of Energy Systems, Energy Efficiency and Energy Economics, * Research group Distribution grid planning and operation */ package edu.ie3.util.json; import com.google.gson.Gson; import java.io.Serializable; import java.lang.reflect.Type; /** * Static wrapper class to...