text
stringlengths
7
1.01M
package com.fengniao.myblibli.bean; //用于保存日夜状态的枚举类 public enum DayNight{ DAY("DAY", 0), NIGHT("NIGHT", 1); private DayNight(String name, int code) { this.name = name; this.code = code; } private String name; private int code; public String getName() { return name...
package com.testwithspring.master; import com.testwithspring.master.user.UserRole; /** * This constant class contains the test data that is either * found from the DbUnit data set (<em>users.xml</em>) that * inserts user data into our database OR that is required * to write integration tests for methods that proc...
/* * JPPF. * Copyright (C) 2005-2019 JPPF Team. * http://www.jppf.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 re...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package com.epicodus.bogglesolo; import android.content.res.TypedArray; import android.os.CountDownTimer; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Gravity; import android.view.View; import android.widget.ArrayAdapter; import android.widget.Button; import android.wi...
package me.acidviper.viperuhc.menu.board; import me.acidviper.viperuhc.manager.UHCManager; import me.acidviper.viperuhc.menu.Menu; import me.acidviper.viperuhc.menu.Page; import me.acidviper.viperuhc.player.UHCPlayer; import me.acidviper.viperuhc.util.ItemCreator; import me.acidviper.viperuhc.util.SortUtil; import org...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
/******************************************************************************* * Copyright 2017 Gleb Koval * * 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...
package me.modmuss50.trains.render; import com.mojang.blaze3d.platform.GlStateManager; import me.modmuss50.trains.entity.LocomotiveEntity; import net.minecraft.client.render.entity.EntityRenderDispatcher; import net.minecraft.client.render.entity.EntityRenderer; import net.minecraft.client.render.entity.model.EntityMo...
/* * 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 2018 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright 2011 Microsoft Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("cl") @Implements("Script") public class Script extends DualNode { @ObfuscatedName("n")...
/** * Copyright (c) 2016-present, RxJava Contributors. * * 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...
/* * Copyright 2002-2003,2009 The Apache Software Foundation. * * 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 requir...
/* * 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") + yo...
package mage.cards.s; import java.util.UUID; import mage.abilities.common.EntersBattlefieldAllTriggeredAbility; import mage.abilities.effects.common.CreateTokenTargetEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.SetTargetPointer; import mage.c...
/** * Copyright 2017 JessYan * <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 law or agree...
package de.mockup.ui.content.swing.swingObjects.components; import de.mockup.system.model.ModelTypes; import de.mockup.system.model.components.BaseComponentModel; import de.mockup.ui.Application; import de.mockup.ui.content.ContentView; import de.mockup.ui.content.functionallity.interfaces.Button; import de.mockup.ui....
/** * Spring MVC REST controllers. */ package mk.ukim.finki.library.web.rest;
package org.easyengine.engine.input.domain; import org.easyengine.engine.input.PlayerPosition; public class Player { private Integer shirtNumber; private String name; protected PlayerPosition playerPosition; public Player(int shirtNumber, String name, PlayerPosition playerPosition) { this.sh...
package com.slack.api.methods.response.chat.scheduled_messages; import com.slack.api.methods.SlackApiResponse; import com.slack.api.model.ResponseMetadata; import lombok.Data; import java.util.List; @Data public class ChatScheduledMessagesListResponse implements SlackApiResponse { private boolean ok; privat...
/* * Copyright 1997-2011 teatrove.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 o...
package com.SEproject.guiderapp.extra; import androidx.recyclerview.widget.RecyclerView; import android.view.MotionEvent; /** * Disables all touches for a RecyclerView * Used before displaying tutorial */ public class RecyclerViewDisabler implements RecyclerView.OnItemTouchListener { @Override public bool...
package ru.mytest.addressbook.tests; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.mytest.addressbook.model.ContactData; import ru.mytest.addressbook.model.Contacts; import java.io.File; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAss...
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.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 agreed to in writing, software distributed under t...
/* * Copyright (C) 2020 Dipl.-Inform. Kai Hofmann. All rights reserved! */ package de.powerstat.fb.mini.test; import static org.junit.jupiter.api.Assertions.assertAll; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jup...
/* * Copyright (c) 2015-2016 Erik Derr [derr@cs.uni-saarland.de] * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package tk.wasdennnoch.androidn_ify.systemui.notifications.stack; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ObjectAnimator; import android.animation.PropertyValuesHolder; import android.animation.TimeAnimator; import android.animation.ValueAnimator; i...
package ch.fhnw.cantoneditor.views; import javax.swing.JComponent; import javax.swing.JFrame; /** An interface for displaying a (partial) view */ public interface IView { JComponent getComponent(JFrame parentFrame); }
/* Copyright © 2014 Matthew Champion All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the follow...
package com.yasin.IntelligentGameAgent; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test pub...
/* * Copyright (c) 2014 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...
package org.ovirt.engine.api.restapi.resource; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import javax.ws.rs.core.Response; import org.apache.commons.lang.StringUtils; import org.ovirt.engine.api.model.Host; import org.ovirt.engine.api.model.HostedEngine; import org.ovirt.eng...
/* * Copyright 2019 Web3 Labs Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
package com.soecode.lyf.demo.test.io.nio.nio.demo.demo2; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SocketChannel; import java.util.Scanner; /** * @author 魏文思 * @date 2019/11/21$ 8:57$ */ public class Client { public static void main(Str...
package ro.isdc.wro.model.spi; import java.util.HashMap; import java.util.Map; import ro.isdc.wro.model.factory.WroModelFactory; import ro.isdc.wro.model.factory.XmlModelFactory; /** * Default provider of {@link WroModelFactory} for the core module. * * @author Alex Objelean * @created 4 Apr 2013 * @since 1.6....
package com.atguigu.common.to.es; import lombok.Data; import java.math.BigDecimal; import java.util.List; @Data public class SkuEsModel { private Long skuId; private Long spuId; private String skuTitle; private BigDecimal skuPrice; private String skuImg; private Long saleCount; pri...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
package com.meylism.data.gen; import com.meylism.RandomUtils; import com.meylism.model.Booleans; import com.meylism.model.Floats; import com.meylism.model.Integers; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; public class BooleansGenerator implements DataGenerator<Booleans> { @Ove...
// Copyright 2016 Dino Wernli. All Rights Reserved. See LICENSE for licensing terms. package me.dinowernli.grpc.prometheus; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Optional; import io.grpc.MethodDescriptor; import io.grpc.Status.Code; import io.prometheus.cli...
/* * 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 mage.cards.u; import java.util.UUID; import mage.MageInt; import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.dynamicvalue.DynamicValue; import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount; import mage.abili...
package org.yzh.framework.orm.fields; import io.netty.buffer.ByteBuf; import org.yzh.framework.orm.annotation.Field; import java.beans.PropertyDescriptor; public class DynamicFieldBytes extends DynamicField<byte[]> { public DynamicFieldBytes(Field field, PropertyDescriptor property) { super(field, prope...
package com.github.hook; import android.content.Context; import android.net.wifi.WifiManager; import android.util.Log; import java.lang.reflect.Field; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; public class WifiManagerHooker { private static Class i...
package com.mopub.common; import android.app.Activity; import com.mopub.common.MoPub.BrowserAgent; import com.mopub.common.test.support.SdkTestRunner; import com.mopub.common.util.Reflection; import com.mopub.mobileads.BuildConfig; import com.mopub.mobileads.MoPubRewardedVideoListener; import com.mopub.mobileads.MoPu...
package main.java.generateSFA; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import org.apache.commons.lang3.NotImplementedException; import org.sat4j.specs.TimeoutException; import com.microsoft.z3.B...
package org.xava.jfx2swing.webview; import java.net.URL; import java.util.ResourceBundle; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.web.WebView; /** * FXML Controller class * * @author Alaa */ public class Webview_fxmlController implements Initializable { @FXML privat...
/* * 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 2009-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
package com._8rine.upnpdiscovery; import androidx.annotation.NonNull; import com.stanfy.gsonxml.GsonXml; import com.stanfy.gsonxml.GsonXmlBuilder; import com.stanfy.gsonxml.XmlParserCreator; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserFactory; public class UPnPDevice { private static...
package com.prowidesoftware.swift.model.mx.dic; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annota...
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.Valid; /** * BQIssueRetrieveInputModelIssueInstanceAnalysis */ public cl...
package io.simplesource.saga.testutils; import org.apache.kafka.common.serialization.Serde; import org.apache.kafka.streams.TopologyTestDriver; import org.apache.kafka.streams.test.ConsumerRecordFactory; public class TestRecordPublisher<K, V> implements RecordPublisher<K, V> { private final ConsumerRecordFactory<...
/* * eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency, * accountability and the service delivery of the government organizations. * * Copyright (C) 2018 eGovernments Foundation * * The updated version of eGov suite of products as by eGovernments Foundation * ...
/* * Salesforce DTO generated by camel-salesforce-maven-plugin * Generated on: Mon Mar 02 02:58:34 EST 2015 */ package org.apache.camel.salesforce.dto; import com.thoughtworks.xstream.annotations.XStreamAlias; import org.apache.camel.component.salesforce.api.dto.AbstractSObjectBase; import org.codehaus.jackson.anno...
package xyz.xyz0z0.coolweather; import android.app.Application; import android.content.Context; import com.tencent.bugly.Bugly; import com.tencent.bugly.crashreport.CrashReport; import org.litepal.LitePalApplication; /** * Created by Administrator on 2017/2/10 0010. */ public class MyApplication extends Applicat...
package indexer.api.server.crawler; /** * @author lion * * A suitable class to create {@link Link} objects */ public class Link implements Comparable<Link> { /** * The link, starting with http(s) */ private String url; /** * the deep level of that link, * as the system establish taking account oth...
package Chord; import java.io.Serializable; import java.math.BigInteger; /** * The ChordID is an object identifier on a Distributed Hash Table */ public class ChordID implements Serializable { private static final long serialVersionUID = 9L; private final BigInteger id; public static final int SIZE = ...
/* * 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 (C) 2018 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...
/* * 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) 2008-2020, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package com.level.xp.booster.levelxpbooster; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test ...
import java.awt.Cursor; import java.awt.Font; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.image.BufferedImage; import javax.imageio.ImageIO; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JLabel; public class Help extends JFrame { J...
// Copyright (c) Microsoft Corporation // All rights reserved. // // MIT License // // 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...
/* * Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
/* * 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.heaven7.android.container; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import java.util.List; /** * item info * * @author heaven7 */ public class Cont...
/* * 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.baeldung.defaultserializercustomserializer; public class File { private Long id; private String name; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setNam...
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless required by...
package com.atguigu.gulimall.order.web; import com.atguigu.gulimall.order.entity.OrderEntity; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereoty...
package com.codepath.apps.mysimpletweets.models; import android.util.Log; import com.activeandroid.Model; import com.activeandroid.annotation.Column; import com.activeandroid.annotation.Table; import java.util.ArrayList; /** * Created by jnagaraj on 2/21/16. */ @Table(name = "ExtendedEntities") public class Exte...
/* * 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 ru.job4j.tictactie;
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless required by...
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/msgcntr/trunk/messageforums-api/src/java/org/sakaiproject/api/app/messageforums/ui/DiscussionForumManager.java $ * $Id: DiscussionForumManager.java 9227 2006-05-15 15:02:42Z cwen@iupui.edu $...
//,temp,Upgrade450to451.java,84,102,temp,Upgrade302to40.java,922,947 //,3 public class xxx { private void encryptConfig(Connection conn) { //Encrypt config params and change category to Hidden s_logger.debug("Encrypting Config values"); try ( PreparedStatement pstmt = conn.pr...
/** * 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 (C) 2009 University of Washington * * 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 ...
/* * This file is generated by jOOQ. */ package generated.rx.jdbc.guice.vertx; import generated.rx.jdbc.guice.vertx.tables.Something; import generated.rx.jdbc.guice.vertx.tables.Somethingcomposite; import generated.rx.jdbc.guice.vertx.tables.records.SomethingRecord; import generated.rx.jdbc.guice.vertx.tables.recor...
/* * 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.alipay.api.response; import java.util.List; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; import com.alipay.api.domain.ProductGroup; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.commerce.sports.venue.order.query response...
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * 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 not ...
package com.huanglei.wanandroid.model.http; /** * Created by HuangLei on 2018/11/28. */ public class ServerException extends Exception { private int errorCode; private String errorMessage; public ServerException(int errorCode, String errorMessage) { this.errorCode = errorCode; this.erro...
package com.oral.mapper; import com.oral.bean.Statistics; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** * @Entity com.oral.bean.Statistics */ public interface StatisticsMapper extends BaseMapper<Statistics> { Long total(); }
/* * Copyright (C) Red Gate Software Ltd 2010-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 appli...
package org.hisp.dhis.android.core.data.database; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.is; import android.database.Cursor; public final class DatabaseAssert { DatabaseAdapter databaseAdapter; public static DatabaseAssert assertThatDatabase(DatabaseAdapter ...
package com.fuckingweather; import com.facebook.react.ReactActivity; public class MainActivity extends ReactActivity { /** * Returns the name of the main component registered from JavaScript. * This is used to schedule rendering of the component. */ @Override protected String getMainCompon...
package gov.healthit.chpl.scheduler.job.xmlgenerator; import java.util.Set; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamWriter; import gov.healthit.chpl.domain.surveillance.SurveillanceRequirement; public class SurveillanceRequirementXmlGenerator extends XmlGenerator { public st...
// Copyright 2019 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 in ...
/* * Licensed to ElasticSearch and Shay Banon 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...
/* * Copyright 2015-2017 OpenCB * * 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 ...
/* * (C) Copyright IBM Corp. 2017, 2020. * * 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.dazito.oauthexample.utils.converter; import com.dazito.oauthexample.model.AccountEntity; import com.dazito.oauthexample.service.dto.request.AccountDto; import com.dazito.oauthexample.utils.converter.config.AutoConverter; public class AccountDtoToAccountEntity extends AutoConverter<AccountDto, AccountEntit...
/** * ============LICENSE_START======================================================= * org.onap.aai * ================================================================================ * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. * =======================================================...