text
stringlengths
7
995k
/*- * ============LICENSE_START======================================================= * ONAP - SO * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * =============================================================...
package com.fujitsu.fac.activities.agenda; import android.app.ListActivity; import android.content.Context; import android.os.Bundle; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.Text...
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package io.ashimjk.spring.integration.service; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class ServiceApplicationTests { @Test void contextLoads() { } }
package com.folioreader.ui.base; import com.folioreader.model.dictionary.Wikipedia; /** * @author gautam chibde on 4/7/17. */ public interface WikipediaCallBack extends BaseMvpView { void onWikipediaDataReceived(Wikipedia wikipedia); //TODO void playMedia(String url); }
package org.apache.spark.util; // no position public class MutablePair$ implements scala.Serializable { /** * Static reference to the singleton instance of this Scala object. */ public static final MutablePair$ MODULE$ = null; public MutablePair$ () { throw new RuntimeException(); } }
/* * Copyright (c) 2014 - 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package com.project.convertedCode.globalNamespace.classes; import java.lang.invoke.MethodHandles; import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs; import com.runtimeconverter.runtime.classes.RuntimeClassBase; import com.runtimeconverter.runtime.RuntimeEnv; import com.runtimeconverter.runtime.an...
package com.telopresto.service.usuarios.domain; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java.io.Serial...
package org.redline_rpm.ant; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.nio.channels.Channels; import java.util.Arrays; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Project; import org.apache.tools.ant.types.EnumeratedAttribute; import org.r...
package com.ethan.esseatpicker; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.widget.Toast; import java.io.IOException; import java.net.HttpURLConnection; import java.net.URL; public class MainActivity extends AppCompatActivity { public SeatPicker seatPicker; @Ov...
package io.easeci.extension.command; import lombok.AllArgsConstructor; import lombok.Getter; @Getter @AllArgsConstructor(staticName = "of") public class CommandParameter { private String parameterName; private String parameterValue; private VariableType parameterType; private CommandParameter() { } ...
/* Generated Java Source File */ /******************************************************************************* * Copyright (c) quickfixengine.org All rights reserved. * * This file is part of the QuickFIX FIX Engine * * This file may be distributed under the terms of the quickfixengine.org * license as define...
/* * Copyright (C) 2014-2021 Philip Helger (www.helger.com) * philip[at]helger[dot]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/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 ...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) braces deadcode fieldsfirst package net.minecraft.src; // Referenced classes of package net.minecraft.src: // EntityAnimal, Item, EntityPlayer, InventoryPlay...
package shopping.microkart; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.res.Resources; import android.graphics.PorterDuff; import android.os.Bundle; import android.support.design.widget.NavigationView; ...
package org.akehopen.exception.runtime; import org.akehopen.exception.AbstractBusinessException; import org.akehopen.exception.BusinessExceptionCodeEnum; /** * 系统异常 * * @author panghaoyue */ public class SystemException extends AbstractBusinessException { public SystemException() { super(System.curr...
package fr.cph.stock.external.web.currency.history; import lombok.Getter; import lombok.ToString; @Getter @ToString public class HistoryResult { private Query query; }
package com.ifpb.suaconsulta.activity; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.view.Window; import android.view.WindowManager; import com.ifpb.suaconsulta.R; import com.ifpb.suaconsult...
/* * Copyright 2017 SmartBear Software * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
package com.mateus.brito.appcontroledegastos; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; public class SplashScreen extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { supe...
package com.iluwatar.singleton; /** * * Thread-safe Singleton class. * The instance is lazily initialized and thus needs synchronization * mechanism. * */ public class ThreadSafeLazyLoadedIvoryTower { private static ThreadSafeLazyLoadedIvoryTower instance = null; private ThreadSafeLazyLoadedIvoryTower() { ...
package sample.stream; import akka.Done; import akka.NotUsed; import akka.actor.ActorSystem; import akka.stream.Materializer; import akka.stream.javadsl.Flow; import akka.stream.javadsl.Sink; import akka.stream.javadsl.Source; import akka.stream.javadsl.Tcp; import akka.stream.javadsl.Tcp.IncomingConnection; import ak...
/** * Copyright (C) 2013 by Raphael Michel under the 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 rights to u...
package consul; import com.fasterxml.jackson.databind.JsonNode; import java.util.Arrays; import java.util.Optional; public class ServiceProvider { String id; String address; String node; String name; Integer port; String datacenter; String[] tags; boolean critical; public Service...
/* * @(#)IntersectEllipseRectangle.java * Copyright © 2021 The authors and contributors of JHotDraw. MIT License. */ package org.jhotdraw8.geom.intersect; import org.jhotdraw8.annotation.NonNull; import java.awt.geom.Point2D; import java.util.ArrayList; import java.util.List; /** * The code of this class has bee...
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/license...
package org.cloudburstmc.protocol.java.data.statistic; public enum StatisticType { LEAVE_GAME, PLAY_ONE_MINUTE, TIME_SINCE_DEATH, SNEAK_TIME, WALK_ONE_CM, CROUCH_ONE_CM, SPRINT_ONE_CM, SWIM_ONE_CM, FALL_ONE_CM, CLIMB_ONE_CM, FLY_ONE_CM, DIVE_ONE_CM, MINECART_ONE_CM, ...
package fr.skyfighttv.ffarush.Utils; import fr.skyfighttv.ffarush.Main; import org.bukkit.configuration.file.YamlConfiguration; import java.io.*; import java.util.HashMap; public class FileManager { private static HashMap<Files, YamlConfiguration> values; public FileManager() throws IOException { va...
/* * Copyright 2002-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 com.sequenceiq.ambari.domain; import javax.persistence.*; /** * Created by jiang on 15/11/7. */ @Entity @Table(name="metrics_alert") @NamedQueries({ @NamedQuery(name="MetricsAlert.findAllByCluster", query="SELECT c FROM MetricsAlert c WHERE c.cluster.id= :clusterId"), @NamedQuery(name="Met...
/* * Copyright (c) 2005, 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...
// Generated from io\onedev\server\search\entity\issue\IssueQuery.g4 by ANTLR 4.7.2 package io.onedev.server.search.entity.issue; import org.antlr.v4.runtime.Lexer; import org.antlr.v4.runtime.CharStream; import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.TokenStream; import org.antlr.v4.runtime.*; import o...
package net.minecraft.block; import java.util.Random; import net.minecraft.item.BlockItemUseContext; import net.minecraft.pathfinding.PathType; import net.minecraft.util.Direction; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.shapes.ISelectionContext; import net.minecraft.util.math.shapes.Vo...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * 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...
/* * 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.merrycodes; import org.junit.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class MerrycodesServeApplicationTests { @Test public void contextLoads() { } }
package com.generator.generator.service; import com.baomidou.mybatisplus.extension.service.IService; import com.generator.generator.model.PageResult; import org.springframework.stereotype.Service; import java.util.List; import java.util.Map; /** * @Author zlt */ @Service public interface SysGeneratorService extend...
/* * (C) Copyright IBM Corp. 2021 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.fhir.bulkdata.jbatch.control; import java.security.AccessController; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.batch.operations.JobOperator; import javax.batch.r...
package br.ufpe.cin.if710.podcast.ui.adapter; /** * Created by leopoldomt on 9/19/17. */ import android.app.DownloadManager; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.media.MediaPlayer; import android...
package org.spongycastle.dvcs; import org.spongycastle.asn1.ASN1Encodable; import org.spongycastle.asn1.ASN1OctetString; import org.spongycastle.asn1.ASN1Sequence; import org.spongycastle.asn1.cms.ContentInfo; import org.spongycastle.asn1.cms.SignedData; import org.spongycastle.asn1.dvcs.DVCSObjectIdentifiers; import ...
package be.unamur.mdl_groupe2.root.config; import java.io.IOException; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servl...
package crux.kafka.json; import java.util.Map; import java.io.UnsupportedEncodingException; import clojure.java.api.Clojure; import clojure.lang.IFn; import org.apache.kafka.common.serialization.Deserializer; public class JsonDeserializer implements Deserializer<Object> { private static final IFn parseString; ...
/* * Written by Doug Lea with assistance from members of JCP JSR-166 * Expert Group and released to the public domain, as explained at * http://creativecommons.org/publicdomain/zero/1.0/ */ /* * Source: * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/Striped64.java?revision=1.9 */ package com...
package com.mattstine.dddworkshop.pizzashop.kitchen; import com.mattstine.dddworkshop.pizzashop.infrastructure.domain.services.RefStringGenerator; import com.mattstine.dddworkshop.pizzashop.infrastructure.events.adapters.InProcessEventLog; import com.mattstine.dddworkshop.pizzashop.infrastructure.events.ports.Topic; i...
/** * Copyright 2012-2015 Gunnar Morling (http://www.gunnarmorling.de/) * and/or other contributors as indicated by the @authors tag. See the * copyright.txt file in the distribution for a full listing of all * contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not ...
import java.util.Random; public class TestLocalVariables { static Random random = new Random(0); static void staticMethod(int param1, double param2) { int local1 = random.nextInt(); local1++; double local2 = random.nextDouble(); System.out.println(param1 + param2 + local1 + loc...
package com.dvelop.sdk.idp; public final class IDPConstants { public static String GROUP_ID_ADMIN_TENANT = "6DB690CB-EA1B-4D45-B00B-63A2E7B21816"; public static String GROUP_ID_EXTERNAL_USER = "3E093BE5-CCCE-435D-99F8-544656B98681"; public static final String BEARER_HEADER_PREFIX = "Bearer "; public s...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.core.ml.dataframe; import com.carrotsearch.ra...
package net.minecraft.world.demo; import net.minecraft.profiler.Profiler; import net.minecraft.server.MinecraftServer; import net.minecraft.world.WorldServer; import net.minecraft.world.WorldSettings; import net.minecraft.world.WorldType; import net.minecraft.world.storage.ISaveHandler; import net.minecraft.world.stor...
package ch.heigvd.res.io.util; import java.io.OutputStream; /** * @author Sebastien Boson * @since 05.03.2016 * * Interface for the serializer of the experiment */ public interface ISerializer { void serialize(IData data, OutputStream os); }
/* * 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.vgeorgo.projectorganizer.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.vgeorgo.projectorganizer.validators.user.SupervisorValidation; import lombok.Getter; import lombok.Setter; import org.springframework.data.annotation.CreatedDate; import org.springframework.data.annota...
package com.zoooohs.instagramclone.domain.photo.dto; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Builder; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import javax.validation.constraints.NotNull; public class PhotoDto { @Schema(name = "PhotoDto.Photo...
package org.javaboy.vhr.service; import org.javaboy.vhr.mapper.PoliticsstatusMapper; import org.javaboy.vhr.model.Politicsstatus; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public class PoliticService { @Autowired...
package stubidp.stubidp.saml.transformers.outbound; import org.opensaml.saml.saml2.core.Assertion; import org.opensaml.saml.saml2.core.Attribute; import org.opensaml.saml.saml2.core.AttributeStatement; import org.opensaml.saml.saml2.core.Issuer; import stubidp.saml.domain.assertions.FraudAuthnDetails; import stubidp.s...
package com.civica.grads.boardgames.display; import java.io.PrintStream; import com.civica.grads.boardgames.enums.Colour; import com.civica.grads.boardgames.enums.CounterType; import com.civica.grads.boardgames.exceptions.RenderException; import com.civica.grads.boardgames.interfaces.Renderer; import com.civica.grads...
/* * Copyright 2015 Felipe Santos <fralph at ic.uff.br>. * * 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...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
package PetSitters.service; import PetSitters.schemas.LoginSchema; import org.springframework.stereotype.Service; @Service public class PetSittersService { public void login(LoginSchema login) { } }
package com.atguigu.gulimall.cart; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org....
/* * 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.alumni.web.controller.monitor; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; im...
/* * 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.nexenio.rxpreferences.provider; import org.junit.Before; import org.junit.Test; import java.util.List; import io.reactivex.rxjava3.core.Observable; import io.reactivex.rxjava3.observers.TestObserver; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; public class In...
package module342packageJava0; import java.lang.Integer; public class Foo595 { Integer int0; Integer int1; public void foo0() { new module342packageJava0.Foo594().foo8(); } public void foo1() { foo0(); } public void foo2() { foo1(); } public void foo3() { foo2(); } public v...
package com.example.creditwahana.Adapter; import android.content.Context; import android.content.Intent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.example.creditwahana.Activity.UbahActivity; import com.example.creditwahana.Mo...
/* * Copyright 2005-2019 Dozer Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
package leetcode; import java.util.ArrayList; import java.util.List; public class P108 { public static void main(String[] args) { int[] nums = {-10, -3, 0, 5, 9}; final Solution solver = new Solution(); final TreeNode res = solver.sortedArrayToBST(nums); System.out.println(res.toLi...
package ru.job4j.collectionspro.set; import ru.job4j.collectionspro.list.SimpleLinkedList; import java.util.Iterator; import java.util.NoSuchElementException; /** Класс SimpleLinkedSet. * @author Arseniy Kulkiov * @since 31.08.2017 * @version 1 * @param <E> - параметризованный тип. */ public class SimpleLinked...
package android.example.com.bakingapp.viewModel; import android.app.Application; import android.example.com.bakingapp.roomModel.AppDatabase; import android.example.com.bakingapp.roomModel.RecipeWithIngredientsAndSteps; import android.util.Log; import androidx.annotation.NonNull; import androidx.lifecycle.AndroidViewM...
/* * JSweet - http://www.jsweet.org * Copyright (C) 2015 CINCHEO SAS <renaud.pawlak@cincheo.fr> * * 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/licens...
package frc.megiddolions.lib.InfiniteRecharge; import edu.wpi.first.wpilibj.DriverStation; import edu.wpi.first.wpilibj.util.Color; import frc.megiddolions.lib.annotations.Tested; import java.util.Map; @Tested public class ControlPanel { public enum ControlPanelColor { Blue(new Color(0.143, 0.427, 0.429...
/** * Copyright © 2016-2021 The Thingsboard 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 applicab...
/* * 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...
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
package org.lxc.platform.service.flow; import java.util.function.Consumer; import org.lxc.platform.dto.JobDto; import org.springframework.stereotype.Component; import reactor.core.Disposable; import reactor.core.publisher.EmitterProcessor; @Component public class JobMsgService implements IProcessor<JobDto> { priva...
package zmaster587.advancedRocketry.api.armor; import net.minecraft.item.ItemStack; public interface IFillableArmor { /** * gets the amount of air remaining in the suit. * @param stack stack from which to get an amount of air * @return the amount of air in the stack */ public int getAirRemaining(ItemStack s...
package old.Offer; import java.util.DuplicateFormatFlagsException; /** * @author WangZ * ������39������������� 207ҳ * ��Ŀһ������һ�Ŷ������ĸ��ڵ㣬���������ȣ��Ӹ���㵽Ҷ���һ�ξ����Ľ�㣨������Ҷ��㣩�γ�����һ��·�����·���ij���Ϊ������� * <p> * ��Ŀ��������һ�Ŷ������ĸ���㣬�жϸ����Dz���ƽ������������ij�������������������������������������...
package es.tid.rsvp.constructs; import java.util.LinkedList; import org.slf4j.Logger; import es.tid.rsvp.RSVPProtocolViolationException; import es.tid.rsvp.objects.FilterSpec; import es.tid.rsvp.objects.FilterSpecIPv4; import es.tid.rsvp.objects.FilterSpecIPv6; import es.tid.rsvp.objects.FlowLabelFilterSpecIPv6; impo...
// Copyright (c) 2018, 2019, Oracle Corporation and/or its affiliates. All rights reserved. // Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. package oracle.kubernetes.operator.helpers; import java.util.ArrayList; import java.util.Arrays; import java.util.Colle...
/* Copyright (c) 2017 FIRST. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted (subject to the limitations in the disclaimer below) provided that * the following conditions are met: * * Redistributions of source code must retain the above cop...
// Copyright 2007 Xito.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...
/* First created by JCasGen Thu Jun 20 11:44:40 CEST 2019 */ package org.apache.ctakes.typesystem.type.dependency; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.jcas.cas.TOP_Type; /** * Updated by JCasGen Thu Jun 20 11:44:40 CEST 2019 * XML source: /home/siab...
package fr.free.nrw.commons.contributions; import android.content.Context; import android.database.Cursor; import androidx.annotation.NonNull; import androidx.cursoradapter.widget.CursorAdapter; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; ...
package com.example.vhandler.controller; import com.example.vhandler.common.ResponseBody; import com.example.vhandler.dto.PageableResponseDto; import com.example.vhandler.dto.VoucherHistoryDto; import com.example.vhandler.dto.VoucherInfo; import com.example.vhandler.entity.VoucherHistory; import com.example.vhandler.s...
/* * * * * * * * * * * Copyright 2019-2022 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 * * * * * * ...
package com.taskmate.handler; import java.util.HashMap; import java.util.Map; import com.amazonaws.services.lambda.runtime.Context; import com.amazonaws.services.lambda.runtime.LambdaLogger; import com.amazonaws.services.lambda.runtime.RequestHandler; import com.fasterxml.jackson.annotation.JsonInclude.Include; impor...
/* * This file or a portion of this file is licensed under the terms of * the Globus Toolkit Public License, found in file ../GTPL, or at * http://www.globus.org/toolkit/download/license.html. This notice must * appear in redistributions of this file, with or without modification. * * Redistributions of this Soft...
/* * Copyright (C) 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 app...
package org.grigore; public class App { public static void main(String[] args) { StringBuilder input = new StringBuilder(); if (args.length > 0) { input.append(UserInput.getFromUserFile(args[0])); } else { input.append(UserInput.getInputFromUser()); } ...
package net.es.nsi.dds.authorization; import com.google.common.base.Strings; import net.es.nsi.dds.dao.DdsConfiguration; import net.es.nsi.dds.spring.SpringApplicationContext; import org.bouncycastle.asn1.x500.X500Name; import org.bouncycastle.asn1.x500.X500NameStyle; import org.apache.logging.log4j.Logger; import org...
/* * Copyright 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 applica...
/* * Copyright 2012-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 dev.Hilligans.ourcraft.Client.Rendering.Widgets; import dev.Hilligans.ourcraft.Client.MatrixStack; import dev.Hilligans.ourcraft.Client.Rendering.Textures; import dev.Hilligans.ourcraft.Client.Rendering.World.StringRenderer; import dev.Hilligans.ourcraft.ClientMain; public class DataWidget extends Widget { ...
// Copyright 2006, 2007, 2008 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 required by ...
package life.catalogue.db.mapper; import com.google.common.collect.Lists; import life.catalogue.api.RandomUtils; import life.catalogue.api.TestEntityGenerator; import life.catalogue.api.model.*; import life.catalogue.api.search.DatasetSearchRequest; import life.catalogue.api.vocab.*; import org.gbif.nameparser.api.Nom...
package com.classic.example; // 循环体的过滤器 public class CycFilter { public static void main(String[] args) { // 创建数组 String[] array = new String[] { "白鹭", "丹顶鹤", "黄鹂", "鹦鹉", "乌鸦", "喜鹊", "老鹰", "布谷鸟", "老鹰", "灰纹鸟", "老鹰", "百灵鸟" }; System.out.println("在我的花园里有很多鸟类,但是最近来了几只老鹰,请帮我把它们抓...