text
stringlengths
7
995k
package com.electramobile; 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 getMainCompone...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dialogflow/cx/v3beta1/test_case.proto package com.google.cloud.dialogflow.cx.v3beta1; /** * <pre> * Error info for importing a test. * </pre> * * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.TestCaseError} */ public f...
package org.schema; /** * Schema.org/Cemetery * A graveyard. * * @author schema.org * @class Cemetery * @module org.schema * @extends CivicStructure */ public class Cemetery extends CivicStructure { /** * Constructor, automatically sets @context and @type. * * @constructor */ public Cemetery() { co...
package org.android.immortal.wedio.views.customviews; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.Switch;...
package nl.tudelft.jpacman.board; public class Board { private final Square[][] board; @SuppressWarnings("PMD.ArrayIsStoredDirectly") Board(Square[][] grid) { assert grid != null; this.board = grid; assert invariant() : "Initial grid cannot contain null squares"; }...
package org.kylin.bean; /** * @author huangyawu * @date 2017/6/25 下午3:10. */ public abstract class WyfResponse { }
package com.barmpas.hashme; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void add...
/* * Copyright 2014-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package io.github.cinzfurz.furren; import io.github.cinzfurz.furren.power.factory.FurrenPowerFactories; import io.github.cinzfurz.furren.power.factory.action.FurrenEntityActions; import net.fabricmc.api.ModInitializer; import net.minecraft.util.Identifier; public class Furren implements ModInitializer { public stati...
/* * Copyright 2020 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, softw...
// Copyright 2018-2019 Twitter, Inc. // Licensed under the MoPub SDK License Agreement // http://www.mopub.com/legal/sdk-license-agreement/ package com.mopub.common; import android.support.annotation.NonNull; import java.util.HashSet; import java.util.Set; /** * These are the default adapter configurations automat...
/* * Copyright (c) 2008-2022, 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 (c) 2011 Kurt Aaholst <kaaholst@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package jToolkit4FixedPipeline.image; import jToolkit4FixedPipeline.common.BufferUtils2; import org.lwjgl.opengl.ARBImaging; import org.lwjgl.util.vector.Vector3f; import java.nio.ByteBuffer; import java.nio.FloatBuffer; import static org.lwjgl.opengl.GL11.*; /** * Created with IntelliJ IDEA. * User: Astemir Elee...
package mage.cards.p; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.ExploitCreatureTriggeredAbility; import mage.abilities.effects.OneShotEffect; import mage.abilities.keyword.ExploitAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mag...
/* * RED5 HLS plugin - https://github.com/mondain/red5-hls-plugin * * Copyright 2006-2013 by respective authors (see below). 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...
/* * Copyright (c) 2017 xjliao.me created by xjliao * ProjectName: xjl * ModuleName: xjlib * FileName: BaseAdapter.java * ClassName: BaseAdapter * LastModified: 11/30/17 4:39 PM */ package me.xjliao.xjlib.base; import android.content.Context; import android.view.View; import android.view.ViewGroup; import jav...
/* * Copyright (c) 2015,robinjim(robinjim@126.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package org.apache.hive.plsql.dml.commonFragment; import org.apache.commons.lang.StringUtils; import org.apache.hive.tsql.common.SqlStatement; /** * Created by wangsm9 on 2017/7/10. * <p> * table_alias * : (id | alias_quoted_string) * ; */ public class TableAliasFragment extends SqlStatement { private IdFr...
/* * Copyright (C) 2007 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...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v3/services/ad_group_bid_modifier_service.proto package com.google.ads.googleads.v3.services; public final class AdGroupBidModifierServiceProto { private AdGroupBidModifierServiceProto() {} public static void registerAllEx...
package com.github.valentinkarnaukhov.stubgeneratorv2.visitor; import com.github.valentinkarnaukhov.stubgenerator.model.Field; import com.github.valentinkarnaukhov.stubgenerator.resolver.ResolverConf; import com.github.valentinkarnaukhov.stubgeneratorv2.model.Node; import org.apache.commons.lang3.SerializationUtils; ...
package com.deviniti.multitenancy.separate.schema.database.model.entities; import java.math.BigDecimal; import javax.persistence.Entity; import javax.persistence.OneToOne; import javax.persistence.SequenceGenerator; import lombok.Data; import lombok.EqualsAndHashCode; @Entity @SequenceGenerator(name="seq_gen", sequ...
/* * Copyright (C) 2016 Baidu, Inc. All Rights Reserved. */ package baidumapsdk.demo.geometry; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.PointF; import android.opengl.GLES20; import android.opengl.GLUtils; import android.opengl.Matrix; import android.os.Bundle; i...
package com.trotfl.trotflwebapp.repository.security; import com.trotfl.trotflwebapp.domain.security.User; import org.springframework.data.repository.CrudRepository; import java.util.Optional; /** * @author Greg Stroud */ public interface UserRepository extends CrudRepository<User, Long> { Optional<User> findBy...
package net.glaso.jwt.business.scheduler.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.Trigger; import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler; import org.springframework.stereotype.Component; import javax.annotation.PostConstru...
/* * Copyright (c) 2019, 2020, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the * Free Software Foundation. * * This program is also distributed with certain software (in...
/* * 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...
package org.battlebots.messages; import org.battlebots.objects.Atom; public class InitialStateMessage { public int width; public int height; public Atom[] atoms; public InitialStateMessage(final int width, final int height, final Atom[] atoms) { this.width = width; this.height = heigh...
package io.github.spencerpark.jupyter.kernel.display; import io.github.spencerpark.jupyter.kernel.display.mime.MIMEType; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util....
/* * 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...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
package com.Yuzhen.ExerciseOnline.entity; import javax.validation.constraints.NotBlank; import java.util.List; public class Knowledge { private int id; private int subject_id; @NotBlank private String subject_name; @NotBlank private String title; private String content; private List<In...
package com.github.jolice.provider; import com.github.jolice.dependency.Dependency; import com.github.jolice.exception.reflection.InvocationException; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Modifier; import java.lang.reflect.Parameter; impor...
/******************************************************************************* * Copyright (c) 2016 Cisco and/or its affiliates * @author Matt Day * * Unless explicitly stated otherwise all files in this repository are licensed * under the Apache Software License 2.0 ********************************************...
package cn.testin.analysis; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.nio.ByteBuffer; class fi extends OutputStream { private StringBuffer b = new StringBuffer(); private fi(fd paramfd) {} public void close() { this.b.reverse(); try { fd.d(...
// -*- mode: java; c-basic-offset: 2; -*- // Copyright © 2019 MIT, All rights reserved. // Released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 package edu.mit.appinventor.companionextras; import android.Manifest; import android.content.ActivityNotFoundException; import android...
// 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.java.propertyBased; import com.intellij.openapi.util.TextRange; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiFile; import com.intellij.psi....
package com.cloudskol.moviedroid.provider; import android.content.ContentResolver; import android.content.ContentUris; import android.net.Uri; import android.provider.BaseColumns; /** * @author tham */ public class MovieContract { public static final String CONTENT_AUTHORITY = "com.cloudskol.moviedroid"; pu...
/* * Copyright 2019 Maxwell C. Poarch * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package ohtu.ts.services; import java.sql.SQLException; import java.util.List; import ohtu.ts.dao.ReadingTipDao; import ohtu.ts.db.Database; import ohtu.ts.domain.ReadingTip; /** * * @author ida */ public class ReadingTipService { private ReadingTipDao rtDao; private Database db; public ReadingTipSer...
package org.jeecg.modules.system.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.util.PasswordUtil; import org.jeecg.common.util.UUIDGenerator; import org.jeecg.common.util.oConvertUtils; import org.jeecg.m...
package org.radartools.detection; /** * A chi-square distribution model suitable for calculation of radar probability of detection (PD) for a given * signal-to-noise ratio (SNR) and a given {@link Noise} model. */ public class ChiSquare { // parameters associated with the chi-square distribution model priv...
package org.apereo.cas.services; import org.apereo.cas.oidc.OidcConstants; import org.apereo.cas.oidc.services.OidcServiceRegistryListener; import org.apereo.cas.util.CollectionUtils; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.TestConfiguration; import org.springframework.context....
/* * Copyright (C) 2019 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...
/* * 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 examples.auto; import io.github.cexj.declarser.csv.CsvDeclarserFactory; import examples.auto.samples.AutoSimpleExample; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class AutoSimpleExampleTest { @Test public void parse_valid_csv_return_success() { fin...
package com.atguigu.gulimall.sms.dao; import com.atguigu.gulimall.sms.entity.SeckillSkuRelationEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 秒杀活动商品关联 * * @author changchen * @email doublechang123@163.com * @date 2019-08-02 00:03:39 */ @Mapper...
/* * 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.stackexchange.stacman.test; import com.stackexchange.stacman.Question; import com.stackexchange.stacman.StacManClient; import com.stackexchange.stacman.StacManResponse; import com.stackexchange.stacman.User; import org.junit.Test; import java.util.concurrent.Future; public class QuestionMethodsTest { ...
package eu.h2020.helios_social.core.profile; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which wil...
package org.nutz.dao.jdbc; import java.sql.Connection; import java.util.Map; import org.nutz.dao.Dao; import org.nutz.dao.entity.Entity; import org.nutz.dao.entity.MappingField; import org.nutz.dao.sql.Pojo; import org.nutz.dao.sql.SqlType; /** * 封装各个数据库 JDBC 驱动的不同 * <p> * 这个接口的实现类的实例会被 Nutz.Dao 长期持有,所有请保证其线程安全 ...
/* * Copyright 2018, Oath Inc * Licensed under the terms of the Apache License 2.0. Please refer to accompanying LICENSE file for terms. */ package com.oath.halodb; import com.google.common.util.concurrent.RateLimiter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import ja...
/* * 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 ma...
//,temp,sample_6296.java,2,10,temp,sample_8138.java,2,11 //,3 public class xxx { public void remove(Table table, byte[] row) { Delete delete = new Delete(row); try { table.delete(delete); } catch (IOException e) { log.info("failed to delete row from table this exception will be ignored"); } } };
package com.alsritter.serviceapi.user.entity; import java.io.Serializable; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.extension.activerecord.Model; import java.time.LocalDat...
/* * Copyright 2013 Hewlett-Packard Development Company, L.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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
/* * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. * * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. * * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. * * License for BK-JOB蓝鲸智云作业平台: * ----------------------------------------------...
/*=========================================================================== Copyright (C) 2010 by the Okapi Framework contributors ----------------------------------------------------------------------------- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in com...
/* * MIT License * * Copyright (c) 2022 MASES s.r.l. * * 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, cop...
package com.microsoft.sqlserver.jdbc; import java.net.MalformedURLException; import java.text.MessageFormat; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import com.microsoft.aad.adal4j.Authentic...
package crazypants.enderio.base.render.dummy; import javax.annotation.Nonnull; import crazypants.enderio.base.init.IModObject; import crazypants.enderio.base.render.property.EnumRenderPart; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.properties.IProperty;...
/* * Copyright (c) 2016-2021 Michael Zhang <yidongnan@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the * rights to use, co...
package kin.devplatform.core.util; import static android.util.DisplayMetrics.DENSITY_HIGH; import static android.util.DisplayMetrics.DENSITY_XHIGH; import static android.util.DisplayMetrics.DENSITY_XXHIGH; import static kin.devplatform.core.util.DensityDpi.HDPI; import static kin.devplatform.core.util.DensityDpi.XHDPI...
/** * Modified MIT License * * Copyright 2018 OneSignal * * 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, copy, ...
/* * Copyright (c) 2016 PrivatBank IT <acsk@privatbank.ua>. All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ package ua.privatbank.cryptonite.jnr.crypto; import jnr.ffi.util.EnumMapper.IntegerEnum; public enum Gost28147SboxId implements IntegerEnum { /** *...
package ru.otus.spring.model; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import org.hibernate.annotations.Fetch; import org.hibernate.annotations.FetchMode; import javax.persistence.*; import java.util.List; @Data @Builder @NoArgsConstructor @AllArgs...
package com.arif.cleanarchitecture.network.api; /** * Created by arifnadeem on 3/21/17. * <p> * Copyright 2017 - Arif Nadeem * <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>...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.management.storage; import com.azure.core.annotation.Fluent; import com.azure.management.resources.fluentcore.arm.Region; import com.azure.management.resources.fluentcore.model.HasInner; import com.azure....
/* * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package reo.runtime; public abstract class AbstractViewAdapter extends AbstractObservable implements ViewAdapter { }
/* * Copyright 2019 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 "license" fil...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2013.0...
package io.rong.imkit.picture.tools; /** * @author:luck * @date:2019-11-12 14:27 * @describe:类型转换工具类 */ public class ValueOf { public static String toString(Object o) { String value = ""; try { value = o.toString(); } catch (Exception e) { } return value; ...
/* * Copyright 2013-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package softuni.artgallery.services.models; import org.hibernate.validator.constraints.Length; import org.springframework.web.multipart.MultipartFile; import softuni.artgallery.constants.artworksMessages.ArtworkRegisterViolationMessages; import softuni.artgallery.data.models.Category; import javax.validation.constrai...
package com.skyseraph.xknife.mod.uselogin.imp.presenter; import android.content.Context; import com.skyseraph.xknife.lib.utils.android.mvp.IBasePresenter; import com.skyseraph.xknife.mod.uselogin.imp.model.LoginStatus; import com.skyseraph.xknife.mod.uselogin.imp.util.verify.UserVerifyBase; import com.skyseraph.xknif...
/* * Copyright 2015 Marco Semiao * * 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 com.cartoonishvillain.coldsnaphorde.mixin; import net.minecraft.network.syncher.EntityDataAccessor; import net.minecraft.world.entity.animal.axolotl.Axolotl; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.gen.Accessor; @Mixin(Axolotl.class) public interface AxoltolAccessor { ...
/* * 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 the iText (R) project. Copyright (c) 1998-2018 iText Group NV Authors: iText Software. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation ...
package com.eholee.feat_settings; import ohos.aafwk.ability.AbilityPackage; public class MyApplication extends AbilityPackage { @Override public void onInitialize() { super.onInitialize(); } }
package com.niluogege.javajvm.instructions.conversions.d2x; import com.niluogege.javajvm.instructions.base.InstructionNoOperands; import com.niluogege.javajvm.rtda.Frame; import com.niluogege.javajvm.rtda.OperandStack; public class D2L extends InstructionNoOperands { @Override public void execute(Frame fram...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 自定义备注元素 * * @author auto create * @since 1.0, 2020-06-19 10:21:52 */ public class MemoElement extends AlipayObject { private static final long serialVersionUID = 3299232272772989498L; ...
/* * 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...
package com.stacksync.syncservice.db; import java.util.List; import java.util.UUID; import com.stacksync.commons.models.Item; import com.stacksync.commons.models.ItemMetadata; import com.stacksync.syncservice.exceptions.dao.DAOException; public interface ItemDAO { public Item findById(Long id) throws DAOException; ...
package com.xuexiang.xuidemo.fragment.expands.chart.bar; import android.view.View; import androidx.core.content.ContextCompat; import com.github.mikephil.charting.charts.BarChart; import com.github.mikephil.charting.components.Legend; import com.github.mikephil.charting.components.XAxis; import com.github.mikephil.c...
package frc.robot.util; import edu.wpi.first.wpilibj.GenericHID; import edu.wpi.first.wpilibj2.command.Command; import edu.wpi.first.wpilibj2.command.button.JoystickButton; import edu.wpi.first.wpilibj2.command.button.POVButton; @SuppressWarnings({"unused", "WeakerAccess"}) public class XboxController extends BaseCon...
/* Copyright 2002-2021 CS GROUP * Licensed to CS GROUP (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/* * Copyright (c) 2011. The Apache Software Foundation * * 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 unde...
/******************************************************************************* * DARPA XDATA 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....
/* * Copyright (c) 1998-2018 John Caron and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.util; import org.slf4j.Logger; import javax.annotation.concurrent.ThreadSafe; import java.lang.reflect.InvocationTargetException; import java.util.List; impo...
package soot; /*- * #%L * Soot - a J*va Optimization Framework * %% * Copyright (C) 1997 - 1999 Raja Vallee-Rai * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either versio...
package org.doremus.itema3converter.files; import org.doremus.itema3converter.RecordConverter; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Unmarshaller; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import java.io.File; ...
package com.ps.cloudcostinspector.domain.listeners; import lombok.extern.slf4j.Slf4j; import org.springframework.data.domain.AuditorAware; import javax.persistence.PrePersist; import javax.persistence.PreRemove; import javax.persistence.PreUpdate; import java.util.Optional; @Slf4j public class AuditorAwareImpl imple...
/* * Copyright 2015 Adaptris 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 agree...
/* * Copyright (C) 2018 Alberto Irurueta Carro (alberto@irurueta.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...
/* * 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...
/* * 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) 2014-2016 BePowered BVBA http://www.bepowered.be/ * * Software is subject to the following conditions: * * The above copyright notice shall be included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,...