text
stringlengths
7
995k
package grid; import java.util.Comparator; public class EntryComparator implements Comparator<Entry> { @Override public int compare(Entry o1, Entry o2) { return o1.getPriority().compareTo(o2.getPriority()); } }
/* * 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.myself.rmi.client; import com.myself.rmi.server.Service; import java.net.MalformedURLException; import java.rmi.Naming; import java.rmi.NotBoundException; import java.rmi.RemoteException; public class ClientDemo { public static void main(String[] args) throws MalformedURLException, NotBoundException, Re...
/* * Copyright (c) 2009, 2016, 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 ...
/* * OpenRemote, the Home of the Digital Home. * Copyright 2008-2015, OpenRemote Inc. * * See the contributors.txt file in the distribution for a * full listing of individual contributors. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Pub...
package org.devgateway.fast.api.commons.controllers; import org.devgateway.fast.api.commons.domain.categories.Category; import org.devgateway.fast.api.commons.services.CategoryService; import org.devgateway.fast.api.commons.pojo.CategoryResponse; import org.springframework.beans.factory.annotation.Autowired; import or...
package cn.laoshini.dk.expression.js; import javax.script.ScriptContext; import javax.script.SimpleScriptContext; import cn.laoshini.dk.constant.ExpressionConstant; import cn.laoshini.dk.expression.BaseExpressionLogic; import cn.laoshini.dk.expression.IExpressionProcessor; import cn.laoshini.dk.util.CollectionUtil; ...
package org.apache.turbine.modules.pages; /* * 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 L...
package fakekube.io.model; import fakekube.io.model.IoK8sApiFlowcontrolV1alpha1FlowSchema; import fakekube.io.model.IoK8sApimachineryPkgApisMetaV1ListMeta; import io.swagger.annotations.ApiModel; import java.util.ArrayList; import java.util.List; import javax.validation.constraints.*; import javax.validation.Valid; i...
package com.github.wesleyegberto.javaactivemq.messages.xmls; import java.io.StringWriter; import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.Destination; import javax.jms.MessageProducer; import javax.jms.Session; import javax.jms.TextMessage; import javax.naming.InitialContext; import ...
/**************************************************************** * Licensed to the Apache Software Foundation (ASF) under one * * or more contributor license agreements. See the NOTICE file * * distributed with this work for additional information * * regarding copyright ownership. The ASF licenses this...
/* * Licensed to ObjectStyle LLC under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ObjectStyle LLC licenses * this file to you under the Apache License, Version 2.0 (the * "License"); you may not u...
package org.jeecg.config; import java.lang.reflect.Method; import java.time.Duration; import java.util.Arrays; import javax.annotation.Resource; import org.jeecg.common.constant.CacheConstant; import org.springframework.cache.CacheManager; import org.springframework.cache.annotation.CachingConfigurerSupport; import ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; /** * <pre> * Sprite sheet configuration. * </pre> * * Protobuf type {@code google.cloud.video.transcoder.v1.SpriteSheet} */ public final class Sp...
package com.ukefu.webim.web.interceptor; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.lang.StringUtils; import org.apache.log4j.LogManager; import org.apache.log4j.Logger; import org.springframework.boot.autoconfigure.web.BasicErrorController; ...
/* * MIT License * * Copyright (c) 2020 Azercoco & Technici4n * * 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, ...
package com.sema.package.mobile.ui; import android.accounts.OperationCanceledException; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.content.Loader; import android.view.View; import android.widget.ListView; import com.sema.package.mobile.BootstrapServ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
// This file is part of CPAchecker, // a tool for configurable software verification: // https://cpachecker.sosy-lab.org // // SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org> // // SPDX-License-Identifier: Apache-2.0 package org.sosy_lab.cpachecker.util.predicates.interpolation; import static ...
/* * Copyright (c) 1997, 2011, 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 com.lanking.cloud.domain.yoomath.holidayHomework; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate.annotations.Generi...
/* * 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 2011 NEXCOM Systems // ------------------------------------------------------------------------ // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. ...
package twgc.gm.pool; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import org.apache.commons.pool2.impl.GenericObjectPoolConfig; import twgc.gm.consts.Const; public class SM4PoolConfig extends GenericObjectPoolConfig { public SM4PoolConfig() { } public SM4PoolConf...
/* * Copyright 2019 Arcus 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 applicable law or agreed to ...
/* * Copyright (c) 2019 Cheese and Bacon Games, LLC * This file is licensed under the MIT License. * See the file docs/LICENSE.txt for the full license text. */ package org.cheeseandbacon.shtracker.event; import android.app.AlertDialog; import android.content.Intent; import android.os.Bundle; import android.view....
package model; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Optional; import java.util.Set; import model.interfaces.IClassroomsDailyTime; import model.interfaces.IDailyTime; import model.interfaces.ISubject; /** * Implementation of the interface {@link IClassroomsDailyT...
package org.geek8080.journal.entities; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.nio.CharBuffer; import java.sql.Clob; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Timestamp; import java.text.SimpleDateFormat; public class Page ex...
package WordCount1; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.HashMap; import java.util.Map; import java.util.Observable; import java.util.concurrent.atomic.AtomicInteger; import backtype.storm.task.OutputCollector; import ...
package org.openapitools.model; import java.net.URI; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.util...
/* * Copyright 2014-2022 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 ...
package org.zoomdev.zoom.web.action; import junit.framework.TestCase; import org.zoomdev.zoom.web.exception.StatusException; public class TestException extends TestCase { public void test() { StatusException exception = new StatusException( 500 ); assertEquals(exception....
package net.emaze.dysfunctional.dispatching.actions; import net.emaze.dysfunctional.testing.O; import org.junit.Test; /** * * @author rferranti */ public class TernaryNoopTest { @Test public void canDoNothingWithNulls() { new TernaryNoop<O, O, O>().accept(null, null, null); } }
package com.castle.nio; import com.castle.testutil.io.RandomPathGenerator; import com.castle.util.regex.Patterns; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.io.TempDir; import java.nio.file.FileSystem; import java.nio.file.Path; import java.util.ArrayList;...
/* =========================================================================== * Copyright (C) 2016 CapsicoHealth 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.ap...
/* * Copyright 2005 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 ap...
/* * Copyright (C) 2013 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 ...
/* * 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 no...
package com.fjx.mg.job.fragment; import android.content.Intent; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.core.content.ContextCompat; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; imp...
/* * Copyright 2011 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 applica...
/* * Copyright 2016 LINE Corporation * * LINE Corporation 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
package com.pfa2020.quiz.controller.rest.v1; import javax.validation.Valid; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.h...
class Solution { public int XXX(int[] height) { int max = 0 ,start = 0, end = height.length-1; while (start < end){ int h = Math.min(height[start],height[end]); max = Math.max(max,h*(end - start)); if(height[start] < height[end]){ start++; ...
package sep.gaia.resources.poi; import java.util.LinkedList; import sep.gaia.resources.DataResource; import sep.gaia.resources.Query; import sep.gaia.util.FloatBoundingBox; /** * A query describing POIs to be generated by a loader. * The set of all POIs in the database used can be restricted by defining * a geog...
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.providers.assistants; import java.util.ArrayList; import java.util.List; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.gmf.runtime.emf.type.core.IElementType; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.providers.EsbElementTypes; im...
package edu.rpi.rocs.client.objectmodel.exceptions; public class InvalidScheduleException extends Exception { /** * */ private static final long serialVersionUID = 3792584110690727928L; String msg; public InvalidScheduleException(String msg) { this.msg = msg; } public String toString() { return ms...
package edu.pse.beast.gui.error; import javafx.scene.control.Alert; import javafx.scene.control.Alert.AlertType; /** * TODO: Write documentation. * * @author Holger Klein * */ public class ErrorDialogHelper { public static void showErrorDialog(final ErrorMessage msg) { final Alert errorAlert = new Al...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
/* * Copyright 2017-2020 original authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package com.oopsguy.mybatistopic.dao; import com.oopsguy.mybatistopic.entity.User; import org.apache.ibatis.annotations.*; import java.util.List; public interface AnnotationDao { /** * 添加用户 * * @param user 用户实体对象 */ @Options(useGeneratedKeys = true, keyColumn = "id") @Insert("INSERT I...
package gjum.minecraft.forge.gui; import java.awt.Color; public class ElementLabel extends ElementBase { public enum Alignment {ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT} private String text; public Alignment alignment; public Vec2 coords; private int color = Color.WHITE.getRGB(); public Elemen...
/* * 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...
/* * 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...
/* * 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 com.xxl.job.admin.service.impl; import com.xxl.job.admin.core.model.XxlJobInfo; import com.xxl.job.admin.core.model.XxlJobLog; import com.xxl.job.admin.core.thread.JobTriggerPoolHelper; import com.xxl.job.admin.core.trigger.TriggerTypeEnum; import com.xxl.job.admin.core.util.I18nUtil; import com.xxl.job.admin....
package seedu.tarence.testutil; import static seedu.tarence.logic.parser.CliSyntax.PREFIX_EMAIL; import static seedu.tarence.logic.parser.CliSyntax.PREFIX_MODULE; import static seedu.tarence.logic.parser.CliSyntax.PREFIX_NAME; import static seedu.tarence.logic.parser.CliSyntax.PREFIX_TUTORIAL_NAME; import seedu.taren...
package com.haoniu.zzx.app_ts.adapter; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.view.ViewTreeObserver; import android.widget.LinearLayout; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.libra...
/* * MIT License * * Copyright (c) 2022 Overrun Organization * * 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, c...
package com.doctordark.util.cuboid; import org.bukkit.Location; import org.bukkit.World; import java.util.Iterator; /** * Iterates through {@link Location}s in a {@link Cuboid}. * * @author DoctorDark */ public class CuboidLocationIterator implements Iterator<Location> { private final World world; priva...
package com.hades.example.designpatterns.bridge.shape.before; // 五角形 public class Pentagon implements IShape{ @Override public String toString() { return "Pentagon"; } }
package net.henryco.blinckserver.mvc.controller.secured.user.group.chat.sub; import net.henryco.blinckserver.mvc.controller.BlinckController; import net.henryco.blinckserver.mvc.service.infrastructure.UpdateNotificationService; import net.henryco.blinckserver.mvc.service.relation.core.SubPartyService; import org.sprin...
package com.example.necola.fragments.collections; import androidx.fragment.app.Fragment; public class CollectionFragment extends Fragment{ public String getName() { return ""; } }
/** * Copyright 2017 SmartBear Software * <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> * Unless required by applicable l...
/* * Copyright 2000-2018 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 com.intellij.openapi.roots.ui.configuration.projectRoot; import com.intellij.facet.*; import com.intellij.facet.impl.invalid.InvalidFacetManager; import com.intell...
package io.opensphere.core.hud.widget.buttons; import java.util.ArrayList; import java.util.List; import io.opensphere.core.geometry.PolygonMeshGeometry; import io.opensphere.core.geometry.PolylineGeometry; import io.opensphere.core.geometry.renderproperties.DefaultPolygonMeshRenderProperties; import io.opensphere.co...
package csw.benchmark.time; public class TimeJNI { // Save as HelloJNI.java static { System.loadLibrary("time"); // Load native library hello.dll (Windows) or libhello.so (Unixes) // at runtime // This library contains a native method cal...
/* * Copyright 2017 Apereo * * 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...
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty 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.or...
/* * 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...
// Examples of array indexing // (NDE, 2015-02-26) class ArrayIndex { public static void main(String[] args) { int[] data = { 2, 4, 6, 8, 10 }; // Valid indexing System.out.println(data[0]); System.out.println(data[1]); System.out.println(data[4]); // Invalid indexing // System.out....
package org.mozilla.javascript.tests; import junit.framework.TestCase; import org.junit.Test; import org.mozilla.javascript.Context; import org.mozilla.javascript.ContextAction; import org.mozilla.javascript.ScriptableObject; /** * Test for delete that should apply for properties defined in prototype chain. * See...
package com.example.ZMTCSD.utils; import android.text.TextUtils; import com.example.ZMTCSD.entity.BankSlipDetailsEntity; import com.example.ZMTCSD.entity.PhraseEntity; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; import java...
/* * (C) Copyright IBM Corp. 2021. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
package com.business.management.dao; import org.springframework.data.repository.CrudRepository; import com.business.management.entity.User; public interface UserRepository extends CrudRepository<User, Integer> { User findByUsername(String username); }
package net.minecraft.block; import java.util.Random; import net.minecraft.block.material.Material; import net.minecraft.block.properties.IProperty; import net.minecraft.block.properties.PropertyEnum; import net.minecraft.block.state.BlockState; import net.minecraft.block.state.IBlockState; import net.minecraft.entity...
package com.kvn.mock.local.processor; import java.lang.reflect.Method; import com.kvn.mock.local.domain.MockItem; /** * Mock方法处理接口 * @author wzy * @date 2017年6月19日 下午1:59:27 */ public interface MockProcessor<T extends MockItem> { boolean support(MockItem mockItem); boolean support(Class<?> mockItemClass); /** ...
/* * Copyright 2017-2020 Crown 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 a...
package io.odpf.firehose.sink.redis.parsers; import com.gojek.de.stencil.parser.ProtoParser; import io.odpf.firehose.config.RedisSinkConfig; import io.odpf.firehose.consumer.Message; import io.odpf.firehose.sink.redis.dataentry.RedisDataEntry; import com.google.protobuf.Descriptors; import com.google.protobuf.DynamicM...
package com.netsuite.webservices.platform.common; 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.XmlType; import com.netsuite.webservices.platform.core.SearchColumnDoubleField; import ...
package com.adrenalinici.adrenaline.common.model.light; import com.adrenalinici.adrenaline.common.model.AmmoCard; import com.adrenalinici.adrenaline.common.model.CellColor; import com.adrenalinici.adrenaline.common.model.DashboardCellBoundType; import com.adrenalinici.adrenaline.common.model.PlayerColor; import java....
package co.wds.config; import io.dropwizard.Configuration; /** * Created by adina on 21.07.2015. */ public class MyConfiguration extends Configuration { }
/* * 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 ...
public class InsertionSort { public static void main(String[] args){ int[] numbers = new int[15]; for(int i = 0; i < numbers.length; i++){ numbers[i] = (int)(Math.random() * 100); } print(numbers); sort(numbers); print(numbers); } public static vo...
/** * 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...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.jruby.ir.instructions.defined; import org.jruby.ir.IRVisitor; import org.jruby.ir.Operation; import org.jruby.ir.instructions.Instr; import org.jruby.ir.instructions.ResultInstr; import org.jruby.ir.operands...
package ca.uhn.fhir.rest.client.impl; /* * #%L * HAPI FHIR - Client Framework * %% * Copyright (C) 2014 - 2022 Smile CDR, 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 * ...
package org.room76.apollo.model; import android.os.Handler; import android.support.v4.util.ArrayMap; import java.util.ArrayList; import java.util.List; /** * Implementation of the Rooms Service API that adds a latency simulating network. */ public class RoomsServiceApiImpl implements RoomsServiceApi { private...
package org.openbakery.racecontrol.data; public enum Weather { BRIGHT_CLEAR(0), OVERCAST(1), CLOUDY_SUNSET_DUSK(2); private int value; private Weather(int value) { this.value = value; } public static Weather getWeather(int insimValue) { for (Weather weather : Weather.values()) { if (weather.value ==...
/** * 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 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 ...
/* LCM type definition class file * This file was automatically generated by lcm-gen * DO NOT MODIFY BY HAND!!!! */ package lcmtypes; import java.io.*; import java.util.*; import lcm.lcm.*; public final class rpc_data_t implements lcm.lcm.LCMEncodable { public double cpu_opt_time_microseconds; public do...
package com.unnamed.columns.game; import java.util.Collection; import java.util.concurrent.ConcurrentHashMap; import com.unnamed.columns.config.Config; public class ColumnsGame { Board board; ConcurrentHashMap<String,Player> players; Thread gameThread; GameEvent events; boolean started; boolean stop; public...
/* * 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 net.unicon.cas.addons.authentication.strong.oath.totp; import net.unicon.cas.addons.authentication.strong.AdditionalAuthenticationFactorPolicy; import java.util.Map; /** * A strategy API to define operations pertaining to TOTP authentication information retrieval such as TOTP attributes for principals. * <...
package com.stemlabs.ellu.di; import com.stemlabs.ellu.ui.component.chat.fragment.AddNewContactFragment; import dagger.Binds; import dagger.Module; import dagger.Subcomponent; import dagger.android.AndroidInjector; import dagger.multibindings.ClassKey; import dagger.multibindings.IntoMap; @Module( subcomponents = ...
/* * Copyright (c) 1996, 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 ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.eci.arsw.math; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.*; /** * * @author hcadav...
/** * Copyright (C) 2013-2017 Vasilis Vryniotis <bbriniotis@datumbox.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 * * Unles...