text
stringlengths
7
1.01M
/* * Copyright 2015 Netflix, 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 a...
/* * Copyright 2016 Karl Bennett * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights * Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockito.internal.matchers; import org.junit.Test; import org.mockitoutil.TestBase; import java.math.BigDecimal; public class ComparableMatchersTest extends TestBase { @Test pu...
/* * Copyright 2011-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 app...
// Copyright 2014 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 com.sam_chordas.android.stockhawk.touch_helper; /** * Created by sam_chordas on 10/6/15. * credit to Paul Burke (ipaulpro) * Interface to enable swipe to delete */ public interface ItemTouchHelperAdapter { void onItemDismiss(int position); }
package org.odk.getin.android.formentry; import android.Manifest; import androidx.test.espresso.intent.rule.IntentsTestRule; import androidx.test.rule.GrantPermissionRule; import androidx.test.runner.AndroidJUnit4; import org.junit.Rule; import org.junit.Test; import org.junit.rules.RuleChain; import org.junit.runne...
/** * @FileName: * @Package: com.asura.framework.base.util * * @author sence * @created 11/13/2014 11:29 AM * * Copyright 2011-2015 Asura */ package com.asura.framework.base.util; import java.util.Random; /** * * <p></p> * * <PRE> * <BR> 修改记录 * <BR>----------------------------------------------- * <BR>...
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.triple.common; import java.util.Objects; /** * @author 杨帆玉 * @date 2019/11/1 10:14 上午 */ public class RDFTriple { public String subject; public String predicate; public String object; public RDFTriple() { } public RDFTriple(String subject, String predicate, String object) { ...
package org.openstack4j.openstack.gbp.internal; import org.openstack4j.api.Apis; import org.openstack4j.api.gbp.*; import org.openstack4j.openstack.networking.internal.BaseNetworkingServices; /** * GBP services * * @author vinod borole */ public class GbpServiceImpl extends BaseNetworkingServices implements GbpSe...
package study; public class B12_SwapValue { public static void main(String[] args) { int a =10,b=20; System.out.printf("a : %d, b : %d\n",a,b); a=b; b=a; System.out.printf("a : %d, b : %d\n",a,b); } }
/* * 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 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 2017 Esri. * * 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 writ...
package com.sika.code.batch.listener.step; import com.sika.code.common.log.util.LogUtil; import lombok.extern.slf4j.Slf4j; import org.springframework.batch.core.ItemProcessListener; /** * @author daiqi * @create 2019-10-04 22:31 */ @Slf4j public class DefaultItemProcessListener<I, O> implements ItemProcessListener...
/** * Copyright (C) 2010-2015 Morgner UG (haftungsbeschränkt) * * This file is part of Structr <http://structr.org>. * * Structr 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 ...
/* * 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) 2001, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
package org.coredb.portal.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.springframework.validation.annotation.Validated; impor...
package uk.joshiejack.husbandry.entity.traits.happiness; import com.mojang.blaze3d.matrix.MatrixStack; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.widget.Widget; import net.minecraft.util.ResourceLocation; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarke...
package org.kafkainaction.serde; import org.apache.kafka.common.serialization.Deserializer; import org.apache.kafka.common.serialization.Serializer; import org.kafkainaction.model.Alert; import java.nio.charset.StandardCharsets; import java.util.Map; public class AlertKeySerde implements Serializer<Alert>, ...
package com.example.a41448.huawu.base.comment; public enum ShowType { showNumber,hideNumber }
// Copyright 2000-2019 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.codeInsight.completion; import com.intellij.codeInsight.*; import com.intellij.codeInsight.completion.impl.CamelHumpMatcher; import com.intellij.codeInsight....
/* * 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 2016 Netflix, 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 w...
package com.baeldung.spring.spel.examples; import com.baeldung.spring.spel.entity.Car; import com.baeldung.spring.spel.entity.CarPark; import org.springframework.expression.ExpressionParser; import org.springframework.expression.spel.SpelParserConfiguration; import org.springframework.expression.spel.standard.SpelExpr...
/* * 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 ...
/** This file is part of a jTEM project. All jTEM projects are licensed under the FreeBSD license or 2-clause BSD license (see http://www.opensource.org/licenses/bsd-license.php). Copyright (c) 2002-2010, Technische Universität Berlin, jTEM All rights reserved. Redistribution and use in source and binary forms, wit...
/** * */ package com.innovanon.simon.util.stream; import java.util.Collection; import java.util.Optional; import java.util.function.Supplier; /** * @author gouldbergstein * */ public class ErrorEatingSupplier<T> extends ErrorEater<T, Throwable> implements Supplier<Optional<T>> { private Supplier<T> supplier; ...
package net.loganford.noideaengine.shape.intersectionHandlers; import net.loganford.noideaengine.shape.Circle; import net.loganford.noideaengine.shape.Point; import net.loganford.noideaengine.utils.math.MathUtils; public class PointCircleIntersectionHandler implements IntersectionHandler<Point, Circle> { @Overrid...
package systems.reformcloud.reformcloud2.signs.application.packets.in; import systems.reformcloud.reformcloud2.executor.api.common.network.channel.PacketSender; import systems.reformcloud.reformcloud2.executor.api.common.network.channel.handler.NetworkHandler; import systems.reformcloud.reformcloud2.executor.api.commo...
package in.handyman.raven.lib; import com.opencsv.CSVWriter; import com.opencsv.ResultSetHelperService; import com.zaxxer.hikari.HikariDataSource; import in.handyman.raven.exception.HandymanException; import in.handyman.raven.lambda.access.ResourceAccess; import in.handyman.raven.lambda.action.ActionExecution; import ...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.compositor.layouts; import android.content.Context; import android.view.View; import org.chromium.chrome.browser.com...
package module0655_internal.a; import java.util.logging.*; import java.util.zip.*; import javax.annotation.processing.*; /** * Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut * labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et just...
package org.devgateway.ocds.persistence.mongo; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyDescription; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.apache.commons.lang3.builder.E...
package net.java.jsf.extjs.support.misc; /** * Mark exception class with this interface * to indicate the the error must not be reported. * * @author anton.baukin@gmail.com */ public interface HiddenError {}
package org.perfectable.introspection.query; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; import org.checkerframework.checker.nullness.qual.Nullable; import static org.perfectable.introspection.SimpleReflections.getConstructor; import static org.perfectable.i...
package org.spongycastle.crypto.params; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Enumeration; import java.util.Hashtable; import org.spongycastle.crypto.C...
package com.github.aha.poc.junit5.intro; import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import com.github.aha.poc.junit.person.PersonService; public class PrivateTest { @Test @DisplayName("check hidden private constructor"...
package com.github.catalin.cretu.conference.api.event; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @Data @Builder @NoArgsConstructor @AllArgsConstructor public class EventView { private Long id; private PeriodView period; private String ...
package ru.job4j.list; import org.junit.Test; import java.util.Iterator; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertThat; public class DynamicListTest { private DynamicList<Object> list = new DynamicList<>(); @Test public void testAdd() { list.add(5); ...
/* * 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 com.keybo.mina.server.protocol.core; import org.apache.mina.core.session.IoSession; /** * @author: xiaojian * @date: 16-7-5 * @time: 下午2:18 * @version: V1.0 */ public abstract class AbstractBiz implements Biz { protected IoSession session; protected BaseCommand command; prote...
/******************************************************************************* * Copyright 2013-2017 alladin-IT GmbH * Copyright 2014-2016 SPECURE GmbH * * 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 ...
/** * Copyright (c) 2011, SOCIETIES Consortium (WATERFORD INSTITUTE OF TECHNOLOGY (TSSG), HERIOT-WATT UNIVERSITY (HWU), SOLUTA.NET * (SN), GERMAN AEROSPACE CENTRE (Deutsches Zentrum fuer Luft- und Raumfahrt e.V.) (DLR), Zavod za varnostne tehnologije * informacijske družbe in elektronsko poslovanje (SETCCE), INS...
/* * Copyright (C) 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
package com.kk.taurus.ijkplayer; import android.content.Context; import android.content.res.AssetFileDescriptor; import android.net.Uri; import java.io.ByteArrayOutputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import tv.danmaku.ijk.media.player.misc.IMediaDa...
package de.tum.in.www1.artemis.service; import static de.tum.in.www1.artemis.domain.Authority.ADMIN_AUTHORITY; import static de.tum.in.www1.artemis.security.AuthoritiesConstants.*; import java.time.Instant; import java.time.ZonedDateTime; import java.util.*; import java.util.stream.Collectors; import javax.validatio...
package module0648.a; import java.util.zip.*; import javax.annotation.processing.*; import javax.lang.model.*; /** * Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut * labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolo...
// This is a generated file. Not intended for manual editing. package ru.adelf.idea.dotenv.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface DotEnvKey extends PsiElement { }
/* file: ResultId.java */ /******************************************************************************* * Copyright 2014-2017 Intel Corporation * * 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...
package com.epam.brest.model; public class Epmloyee { private Integer employeeId; private String firstName; private String lastName; private String email; private Double salary; public Double getSalary() { return salary; } public void setSalary(Double salary) { this....
/* * Copyright 2020 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 applica...
/* * 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...
/** * 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 com.gzsll.hupu.bean; import com.gzsll.hupu.db.Forum; import java.io.Serializable; import java.util.ArrayList; /** * Created by sll on 2016/3/8. */ public class Forums implements Serializable { public ArrayList<Forum> data; public int weight; public String name; }
package one.oktw; import com.google.common.net.InetAddresses; import com.mojang.authlib.GameProfile; import com.mojang.authlib.properties.Property; import net.minecraft.network.PacketByteBuf; import net.minecraft.util.Identifier; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; import java.net.InetAdd...
/* * Copyright (c) 2012 - 2020 Arvato Systems GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
package com.example.leiyun.coolweather.db; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; /** * Created by LeiYun on 2016/8/1 0001. */ public class CoolWeatherOpenHelper extends SQLiteOpenHelper { /** * Province表建表语句 */ ...
package com.codeborne.selenide.webdriver; import com.codeborne.selenide.Browser; import com.codeborne.selenide.Config; import org.apache.commons.lang3.math.NumberUtils; import org.openqa.selenium.Proxy; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.chr...
/* * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package think.rpgitems; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.HandlerList; import org.bukkit.event.Listener; import org.bukkit.event.server.ServerLoadEvent; import org.bukkit.inventory.ItemStack; import org....
package cn.hutool.core.io; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.ConcurrentHashMap; import cn.hutool.core.util.StrUtil; /** * 文件类型判断工具类<br> * 此工具根据文件的前几位bytes猜测文件类型,对于文本、zip判断不准确,对于...
package com.ruoyi.framework.web.controller; import java.beans.PropertyEditorSupport; import java.util.Date; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.bind.WebDataBinder; import org.springframework.web.bind.annotation.InitBinder; import com.github.pag...
package zrock.application.scriptme.create; import zrock.application.scriptme.R; import android.os.Bundle; import android.preference.CheckBoxPreference; import android.preference.Preference; import android.preference.Preference.OnPreferenceChangeListener; import android.preference.PreferenceActivity; import zrock.app...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package androidx.lifecycle.livedata.core; public final class R { }
package com.yxy.algorithms.binary.tree.flatten; import com.yxy.algorithms.binary.tree.TreeNode; import com.yxy.algorithms.binary.tree.util.BinaryTreeUtil; /** * 114. Flatten Binary Tree to Linked List My Submissions QuestionEditorial Solution Total Accepted: 83420 Total Submissions: 266906 Difficulty: Medium Given ...
package com.e16din.sc.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.METHOD) @Retention(RetentionPolicy.SOURCE) public @interface OnHide { }
/** * 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) 2016 Hurence (support@hurence.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 edu.columbia.psl.cc.util; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import com.google.gson.reflect.TypeToken; import edu.columbia.psl.cc.pojo.GraphTemplate; import edu.columbia.psl.cc.pojo.InstNode; public class Partitioner { private static TypeToke...
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/msgcntr/trunk/messageforums-component-impl/src/java/org/sakaiproject/component/app/messageforums/ui/DiscussionForumManagerImpl.java $ * $Id: DiscussionForumManagerImpl.java 9227 2006-05-15 1...
/* * Copyright (C) 2018 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 agree...
package com.github.tdurieux.repair.maven.plugin; import org.apache.maven.plugin.Mojo; import java.io.File; public class NPEfixMojoTest extends BetterAbstractMojoTestCase { private final String projectPath = "src/test/resources/projects/example2/"; @Override protected void setUp() throws Exception { super.setUp...
package com.github.t1.annotations.impl; class MethodNotFoundException extends RuntimeException { MethodNotFoundException(Class<?> type, String methodName, String[] argTypes) { this(type, methodName, argTypes, null); } MethodNotFoundException(Class<?> type, String methodName, String[] argTypes, Thr...
package com.examples.littledrivers; 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 ...
package dataset; import benchmark.internal.Benchmark; import benchmark.tool.BasicClass; class Test40Lib{ public static Test40Class1 local1; public static Test40Class1 local2; public static Test40Class1 local3; public static Test40Class1 local4; public static Test40Class1 local5; public static Test40Class2 local6; publ...
// Copyright (C) 2013 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 applicable ...
package org.ovirt.engine.ui.uicommonweb.models.gluster; import org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSessionDetails; import org.ovirt.engine.ui.uicommonweb.models.EntityModel; import org.ovirt.engine.ui.uicommonweb.models.ListModel; import org.ovirt.engine.ui.uicommonweb.models.Model; impo...
package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; import static seedu.address.logic.parser.CliSyntax.PREFIX_SORT_ORDER; import static seedu.address.logic.parser.CliSyntax.PREFIX_SORT_TYPE; import java.util.Comparator; import java.util.logging.Logger; import seedu.address.commons.c...
package jds; import java.util.Enumeration; import java.io.Serializable; /** * Base class for jds Container hierarcy; * for use with book * <a href="http://www.cs.orst.edu/~budd/books/jds/">Classic Data Structures * in Java</a> * by <a href="http://www.cs.orst.edu/~budd">Timothy A Budd</a>, * published by <a ...
package ch.johannes.cg; import ch.johannes.descriptor.ClassDescriptor; import ch.johannes.descriptor.FieldDescriptor; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.FieldSpec; import com.squareup.javapoet.JavaFile; import com.squareup.javapoet.MethodSpec; import com.squareup.javapoet.TypeSpec; i...
/** * This Source Code Form is subject to the terms of the Mozilla Public License, * v. 2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under * the terms of the Healthcare Disclaimer located at http://openmrs.org/license....
package com.ge.ceed.domeapi; import mit.cadlab.dome3.api.DomeModel; @Deprecated public class ModelDef implements Comparable<ModelDef> { private String name; private String guid; private String desc; private long dateModified; private String folder; private Server server; public ModelDef(DomeMod...
package br.project.dao; import java.util.List; import br.project.transferobject.FotoTO; public interface IFotoDAO { public void insert(FotoTO to) throws DAOException; public void update(FotoTO to) throws DAOException; public void delete(FotoTO to) throws DAOException; public FotoTO findByPrimaryKe...
// // Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802 // Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem. // Gerado ...
package io.spoud.agoora.agents.test.mock; import io.spoud.agoora.agents.api.client.LookerClient; import io.spoud.sdm.looker.domain.v1alpha1.DataProfile; import lombok.experimental.UtilityClass; import java.util.UUID; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.reset; import stat...
/* * Copyright (C) 2017 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 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package org.alljo.jandall.service; import io.github.jhipster.security.RandomUtil; import java.time.Instant; import java.time.temporal.ChronoUnit; import java.util.*; import java.util.stream.Collectors; import org.alljo.jandall.config.Constants; import org.alljo.jandall.domain.Authority; import org.alljo.jandall.domain...
/* * Copyright ConsenSys AG. * * 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...
package com.leon.biuvideo.adapters.otherAdapters; import android.content.Context; import android.graphics.Color; import android.view.View; import android.widget.TextView; import android.widget.Toast; import androidx.annotation.NonNull; import com.leon.biuvideo.R; import com.leon.biuvideo.adapters.baseAdapters.BaseAd...
package com.tracker.supply.pojo; public class ResumeUpload { private String fileName; private String fileDownloadUri; private String fileType; private long size; public ResumeUpload(String fileName, String fileDownloadUri, String fileType, long size) { this.fileName = fileName; th...
package org.smartregister.goldsmith.fragment; import android.content.Intent; import android.os.Bundle; import android.view.View; import org.smartregister.AllConstants; import org.smartregister.chw.core.utils.Utils; import org.smartregister.commonregistry.CommonPersonObjectClient; import org.smartregister.family.fragm...
package v3; import common.Resource; import common.Task; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.concurrent.TimeUnit; class Main { public static void main(String[] args) throws InterruptedException { final HashMap<Resource, Long> resources = ne...
package cn.dsc.manager.mapper; import cn.dsc.manager.pojo.TbThanks; import cn.dsc.manager.pojo.TbThanksExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface TbThanksMapper { long countByExample(TbThanksExample example); int deleteByExample(TbThanksExample example); ...