text
stringlengths
7
995k
package com.gsc.bm.model.cards.junkie; import com.gsc.bm.model.Character; import com.gsc.bm.model.Resource; import com.gsc.bm.model.cards.AbstractCard; import com.gsc.bm.model.game.Game; import com.gsc.bm.model.game.Move; import com.gsc.bm.model.game.Timer; import java.util.List; import java.util.Map; import java.uti...
/* * Copyright (c) 2019- 2019 threefish(https://gitee.com/threefish https://github.com/threefish) All Rights Reserved. * 本项目完全开源,商用完全免费。但请勿侵犯作者合法权益,如申请软著等。 * 最后修改时间:2019/10/07 18:26:07 * 源 码 地 址:https://gitee.com/threefish/NutzFw */ package com.nutzfw.core.plugin.flowable.constant; /** * @author huchuc@vip.qq.c...
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 co...
/* * 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...
/* * Copyright 2012-2021 CodeLibs Project and the Others. * * 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) 2011 Whisper Systems * * 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 3 of the License, or * (at your option) any later version. * * This program is...
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2019 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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...
/* * Copyright DataStax, 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 wri...
/* * Copyright (C) 2008 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 com.sri.ai.util.explanation.logging.core; import static com.sri.ai.util.Util.getIndexOfFirstSatisfyingPredicateOrMinusOne; import static com.sri.ai.util.Util.myAssert; import static java.util.Arrays.copyOfRange; import com.sri.ai.util.base.NullaryFunction; import com.sri.ai.util.base.NullaryProcedure; import ...
package com.good.gd.example.appkinetics.saveeditclient.test; import androidx.test.ext.junit.runners.AndroidJUnit4; import com.good.automated.general.helpers.BBDActivationHelper; import com.good.automated.general.utils.AbstractUIAutomatorUtils; import com.good.automated.general.utils.GDSDKStateReceiver; import com.goo...
/* * Copyright (C) 2012 Zach Melamed * * Latest version available online at https://github.com/zach-m/jonix * Contact me at zach@tectonica.co.il * * 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...
package seedu.zookeep.logic.parser; import static java.util.Objects.requireNonNull; import static seedu.zookeep.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.zookeep.logic.parser.CliSyntax.PREFIX_FEED_TIME; import static seedu.zookeep.logic.parser.CliSyntax.PREFIX_ID; import static seedu.zo...
package algs.graph.weighted.undirected; import java.util.Objects; public class Edge implements Comparable<Edge> { private int v; private int w; private double weight; public Edge(int v, int w, double weight) { this.v = v; this.w = w; this.weight = weight; } public int...
/* * 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...
package net.ion.system; import javax.servlet.http.HttpSessionListener; import org.springframework.boot.web.servlet.ServletListenerRegistrationBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class SessionListenerRegister { ...
package org.brapi.test.BrAPITestServer; import org.brapi.test.BrAPITestServer.repository.core.BrAPIRepositoryImpl; import org.brapi.test.BrAPITestServer.serializer.CustomDateSerializer; import org.brapi.test.BrAPITestServer.serializer.CustomGeoJSONDeserializer; import org.brapi.test.BrAPITestServer.serializer.CustomGe...
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.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/license...
package org.n3r.eql.impl; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import lombok.SneakyThrows; import lombok.val; import org.n3r.eql.config.EqlConfig; import org.n3r.eql.ex.EqlExecuteException; import org.n3r.eql.map.EqlRun; import org.n3r.eql.util.Closes; import org.n3r.eql.util....
// 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 pacandroid.model.loader; import java.io.InputStream; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.math.Vector2; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; impo...
/* * 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.example.nctai_trading.coinbasePro; import androidx.annotation.RequiresApi; import androidx.appcompat.app.AppCompatActivity; import android.content.SharedPreferences; import android.os.Build; import android.os.Bundle; import android.view.View; import android.widget.Button; import com.example.nctai_trading...
package com.atguigu.gulimall.order.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * 订单配置信息 * * @author ryan * @email ryan.youdong@gmail.com * @date 2021-05-12 10:22:27 ...
package org.webpieces.router.impl.model; import org.webpieces.router.api.routes.BasicRoutes; import org.webpieces.router.api.routes.Routes; public class RouteModuleInfo { private String packageName; private String i18nBundleName; public RouteModuleInfo(Class<?> moduleClazz) { if(!Routes.class.isAssignableFrom(...
package edu.schwabe.sequencesort.analysis; import edu.schwabe.sequencesort.algorithm.OperationResult; import edu.schwabe.sequencesort.algorithm.SortedProperty; public final class ReflectsMonotonicOrderSortedProperty implements SortedProperty { @Override public boolean fulfilledBy(final OperationResult<int[]> res...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0-SNAPSHOT // See <a href="https://jaxb.java.net/">https://jaxb.java.net/</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: ...
/* * 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...
/** * * Class Import$Class.java * * Generated by KMFStudio at 09 March 2004 13:29:40 * Visit http://www.cs.ukc.ac.uk/kmf * */ package ws.wsdl; public class Import$Class extends ExtensibleElement$Class implements Import, ws.WsVisitable { /** Default constructor */ public Import$Class() { //--- Set ...
package au.com.tyo.droid.sample; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on an Andr...
package opencv.android; import android.content.Context; import android.content.SharedPreferences; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.preference.PreferenceManager; import android.text.TextUtils; import android.util.Base64; import android.util.Log; import org.opencv.an...
package dev.igorac.algamoney.api.model; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.*; import org.hibernate.Hibernate; import javax.persistence.*; import javax.validation.constraints.NotNull; import java.math.BigDecimal; import java.time.LocalDate; import java.util.Objects; @Entity @Table(name ...
package io.jboot.admin.validator.system; import com.jfinal.core.Controller; import io.jboot.admin.base.web.base.JsonValidator; /** * Created by ASUS on 2018-07-07. * 国家信息填写合法性校验 * * @author Rlax */ public class EducationValidator extends JsonValidator { @Override protected void validate(Controller c) { ...
/* * Copyright 2004 Felix Pahl. All rights reserved. * Use is subject to license terms. */ package info.joriki.opentype; import info.joriki.io.FullySeekableDataInput; import info.joriki.util.Assertions; import java.io.IOException; public class LigatureSubstitutionSubtable extends LookupSubtable { public Ligatu...
package com.smd.springbootmd.generatedcrud.service.impl; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.smd.springbootmd.generatedcrud.dao.MePointsRecordMapperGen; imp...
package cf.witcheskitchen.common.statuseffect; import cf.witcheskitchen.common.registry.WKStatusEffects; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.damage.DamageSource; import net.minecraft.entity.effect.StatusEffect; import net.minecraft.entity.effect.StatusEffectCategory; public class Fro...
package cn.jsfund.devtools.sys.service; import cn.jsfund.devtools.sys.entity.SysNotice; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * 通知表 服务类 * </p> * * @author hutx * @since 2019-01-21 */ public interface ISysNoticeService extends IService<SysNotice> { }
package com.google.android.gms.ads.internal.overlay; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.graphics.Color; import android.os.Build.VERSION; import android.os.Bundle; import android.view.View; import android.v...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software ...
/** * Copyright © 2018 Dario Balinzo (dariobalinzo@gmail.com) * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless re...
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.Disabled; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.util.ElapsedTime; /** * ...
// Part of NoException: https://noexception.machinezoo.com // Generated code. Edit generate.py instead. package com.machinezoo.noexception.optional; import java.util.function.*; final class FallbackToLongFunction<T> implements ToLongFunction<T> { private final OptionalToLongFunction<T> inner; private final LongSupp...
/* * Copyright 2020 Marc Nuri * * 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 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...
/* * This file is generated by jOOQ. */ package se4med.jooq; import javax.annotation.Generated; import org.jooq.Index; import org.jooq.OrderField; import org.jooq.impl.Internal; import se4med.jooq.tables.Application; import se4med.jooq.tables.Doctor; import se4med.jooq.tables.Doctorapp; import se4med.jooq.tables....
package com.jstarcraft.nlp.lucene.jieba; import java.io.IOException; import java.text.BreakIterator; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.Locale; import org.apache.lucene.analysis.tokenattributes.CharTermAttribute; import org.apa...
/* * Copyright 2019-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...
package seedu.address.model; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import static seedu.address.model.Model.PREDICATE_SHOW_ALL_ORDERS; import static seedu.address.testutil.TypicalDel...
// 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 com.intellij.internal.statistic.collectors.fus.actions.persistence; import com.intellij.ide.actions.ActionsCollector; import com.intellij.ide.plugins.IdeaPluginDescriptor...
package org.apereo.cas.web.report; import lombok.extern.slf4j.Slf4j; import org.apereo.cas.authentication.BasicIdentifiableCredential; import org.apereo.cas.authentication.principal.PrincipalResolver; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.web.BaseCasMvcEndpoint; import o...
/* * 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 com.eas.client.cache; import com.eas.client.settings.SettingsConstants; import com.eas.script.JsDoc; import com.eas.util.Binar...
package com.swak.flux.security.filter; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.ListIterator; import com.swak.flux.handler.WebFilter; import com.swak.flux.handler.WebFilterChain; import com.swak.utils.Lists; import com.swak.utils.StringUtils; public class Simple...
package softuni.dto.view.Query5; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import java.util.List; @XmlRootElement(name = "customers") @XmlAccessorType(XmlAccessType.FIE...
/* * Copyright 2012-2017 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 The Bazel Authors. 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 appl...
package mate.academy.wikibot.bot; import com.google.api.services.youtube.model.SearchResult; import java.io.IOException; import java.time.Instant; import java.time.LocalDateTime; import java.time.ZoneId; import java.util.List; import lombok.extern.log4j.Log4j2; import mate.academy.wikibot.controllers.YouTubeRequestCo...
package internetshop.annotations; import java.io.File; import java.io.IOException; import java.lang.reflect.Field; import java.net.URL; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; import org.apache.log4j.Logger; public class Injector { private static List<Class> classes = new ...
package de.n26.n26androidsamples.application; import dagger.Module; import de.n26.n26androidsamples.credit.presentation.CreditViewModelModule; @Module(includes = CreditViewModelModule.class) public final class ViewModelModule { }
package com.gcplot.model.gc; import org.joda.time.DateTime; import java.util.EnumSet; import java.util.Map; /** * @author <a href="mailto:art.dm.ser@gmail.com">Artem Dmitriev</a> * 8/7/16 */ public interface GCEventFactory { GCEvent create(String id, String parentId, String bucketId, DateTime occurre...
/** * Copyright Terracotta, 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 Materials - Property of IBM, * Copyright IBM Corp. 2011, 2016 All Rights Reserved */ package java.lang.invoke; @VMCONSTANTPOOL_CLASS final class MutableCallSiteDynamicInvokerHandle extends DynamicInvokerHandle { /* mutableSite and the parent's site fields will always be sync. This is * a rede...
/* * Copyright (c) 2020. edu_project. * * 作者:何彬. * * 版权所有,侵权必究. */ package com.hebin.bbs.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagg...
package com.reason.lang.reason; import com.reason.lang.core.psi.PsiOpen; public class OpenParsingTest extends RmlParsingTestCase { public void test_one() { PsiOpen e = first(openExpressions(parseCode("open Belt;"))); assertEquals("Belt", e.getQualifiedName()); } public void test_path() { PsiOpen e...
package face.camera.beans.ble.EnumEx; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.util.UUID; //@StringDef({BleUUIDType.SERVER, BleUUIDType.READ, BleUUIDType.WRITE}) @Target({ElementType.FIE...
/* * This file is part of hephaestus-engine, licensed under the MIT license * * Copyright (c) 2021-2022 Unnamed Team * * 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 restricti...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.watcher.trigger.schedule.support; ...
package com.uniovi.tests.pageObjects; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.Select; public class PO_PrivateView extends PO_NavView { static public void fillFormAddMark(WebDriver driver, int userOrder, String d...
// Copyright 2016 The Bazel Authors. 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 appl...
package io.astraeus.io; import java.io.FileReader; import java.io.IOException; import java.util.Arrays; import com.google.gson.Gson; import io.astraeus.game.world.entity.mob.combat.def.WeaponDefinition; import io.astraeus.util.GsonObjectParser; public final class WeaponDefinitionParser extends GsonObjectParser<Weap...
/* * Copyright 2016. SHENQINCI(沈钦赐)<dev@qinc.me> * * 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...
/* * This software is distributed under following license based on modified BSD * style license. * ---------------------------------------------------------------------- * * Copyright 2003 The Nimbus Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modific...
package io.boomerang.model.controller; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; /* * Partially replicates Tekton TaskResult but ensures that the SDK Model is not exposed * as the controllers model * * Reference: * - io.fabric8.tekton.pip...
package be.gerard.core.interface_v1.model; /** * Content * * @author bartgerard * @version v0.0.1 */ public class Content { private String name; private ContentType contentType; private String description; public String getName() { return name; } public void setName(String nam...
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import org.junit.Test; import nl.tue.id.oocsi.OOCSIFloat; import nl.tue.id.oocsi.OOCSIInt; import nl.tue.id.oocsi.client.OOCSIClient; import nl.tue.id.oocsi.client.data.OOCSIVariable; pu...
package cat.udl.cig.sms.data; import cat.udl.cig.sms.connection.SocketReader; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import java.io.File; import java.io.IOException; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertN...
/* * (C) Copyright 2014-2020, by Dimitrios Michail * * JHeaps Library * * 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...
package org.mintleaf.modules.core.dao; import org.beetl.sql.core.annotatoin.SqlResource; import org.beetl.sql.core.mapper.BaseMapper; import org.mintleaf.modules.core.entity.SellDetails; import org.springframework.stereotype.Component; @Component @SqlResource("sellDetails") public interface SellDetailsDao extends Bas...
package org.cloudburstmc.protocol.bedrock.codec.v388.serializer; import io.netty.buffer.ByteBuf; import lombok.AccessLevel; import lombok.NoArgsConstructor; import org.cloudburstmc.protocol.bedrock.codec.BedrockCodecHelper; import org.cloudburstmc.protocol.bedrock.codec.v361.serializer.StructureBlockUpdateSerializer_v...
/** * Opensec OVAL - https://nakamura5akihito.github.io/ * Copyright (C) 2015 Akihito Nakamura * * 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/...
package net.optifine.entity.model; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelChest; import net.minecraft.client.model.ModelRenderer; import net.minecraft.client.renderer.tileentity.TileEntityChestRenderer; import net.minecraft.client.renderer.tileentity.TileEntityRendererDispa...
/* * Autopsy Forensic Browser * * Copyright 2018-2019 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> 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...
package com.jdd.free.ireader.ui.adapter.view; import android.view.View; import android.widget.ImageView; import android.widget.ProgressBar; import android.widget.RelativeLayout; import android.widget.TextView; import com.jdd.free.ireader.R; import com.jdd.free.ireader.model.bean.DownloadTaskBean; import com.jdd.free....
package br.com.fiap.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.SequenceGenerator; import javax.persistence.Table; import javax.validation.constraints.Not...
/* * 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 ...
package org.traccar.database; import org.junit.Assert; import org.junit.Test; import org.traccar.model.Device; import org.traccar.model.Group; import java.util.ArrayList; import java.util.Collection; public class GroupTreeTest { private static Group createGroup(long id, String name, long parent) { Group...
/* * Hibernate Validator, declare and validate application constraints * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.validator.test.internal.metadata.aggregated; import static org.assertj.core.api...
/* * ==================================================================== * * 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...
package com.negusoft.holoaccent.example; import android.content.res.Resources; import android.graphics.Color; import com.negusoft.holoaccent.AccentHelper; public class CodeOverrideActivity extends TabbedActivity { private final AccentHelper mAccentHelper = new AccentHelper(Color.RED); @Override public Resources...
/* * 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 com.bobocode.cs; import com.bobocode.util.ExerciseNotCompletedException; /** * {@link LinkedQueue} implements FIFO {@link Queue}, using singly linked nodes. Nodes are stores in instances of nested * class Node. In order to perform operations {@link LinkedQueue#add(Object)} and {@link LinkedQueue#poll()} * ...
package br.com.dio.entidades; //a interface serve para firmar contrato //logo, o que for adicionado nela precisa ser implementado na classe public class TesteImple implements Teste{ @Override public Veiculo teste(String nome) { return null; } @Override public Estacionamento teste1(double...
package org.tests.basic; import org.avaje.datasource.DataSourcePoolListener; import java.sql.Connection; public class MyTestDataSourcePoolListener implements DataSourcePoolListener { public static int SLEEP_AFTER_BORROW = 0; @Override public void onAfterBorrowConnection(Connection c) { if (SLEEP_AFTER_BOR...
package net.glowstone.io.entity; import java.util.ArrayList; import java.util.List; import java.util.Optional; import lombok.Data; import lombok.RequiredArgsConstructor; import net.glowstone.entity.GlowEntity; import net.glowstone.i18n.ConsoleMessages; import net.glowstone.io.nbt.NbtSerialization; import net.glowstone...
package org.codehaus.plexus.redback.struts2.interceptor; /* * Copyright 2005-2006 The Codehaus. * * 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...
package org.broadinstitute.hellbender.tools.walkers.haplotypecaller.graphs; import org.broadinstitute.hellbender.GATKBaseTest; import org.testng.Assert; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import java.io.File; import java.io.IOException; import java.util.*; public class Co...
// Copyright 2015-present 650 Industries. All rights reserved. package expo.modules.sensors.services; import android.content.Context; import android.hardware.Sensor; import java.util.Collections; import java.util.List; import expo.modules.core.interfaces.InternalModule; import expo.modules.interfaces.sensors.servi...
/* * Copyright 2013-present Facebook, 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...
package com.example.callinterceptor; import android.app.Application; import android.content.Context; import android.os.Environment; import java.io.File; import java.io.IOException; public class MySingleton extends Application { private static MySingleton mInstance; private static Context mCtx; @Overrid...
package com.ke.css.cimp.fum.fum6; /* ----------------------------------------------------------------------------- * Rule_MANIFEST_DESC_OF_GOODS.java * ----------------------------------------------------------------------------- * * Producer : com.parse2.aparse.Parser 2.5 * Produced : Mon Mar 05 14:07:52 KST 2018...