text
stringlengths
7
995k
package com.cch_lab.java.android.lint.example; import com.android.annotations.NonNull; import com.android.tools.lint.detector.api.Category; import com.android.tools.lint.detector.api.Context; import com.android.tools.lint.detector.api.DefaultPosition; import com.android.tools.lint.detector.api.Detector; import com.and...
package gcj.y2011.round3; import java.io.*; import java.util.*; public class C { private static String fileName = C.class.getSimpleName().replaceFirst("_.*", "").toLowerCase(); private static String inputFileName = fileName + ".in"; private static String outputFileName = fileName + ".out"; private static Scanner i...
package com.example.mgm9.mobilenat_project_umbrella.model; import android.graphics.Bitmap; /** * Created by MGM9 on 9/18/2017. */ // Set up Forecast class to hold forecast details per hour. public class Forecast { private String mTime; private Bitmap mImage; private String mTempF; // CONSTRUCTOR ...
package resolucao_de_problemas_estruturados_em_computacao.orientacao_a_objetos_basica01; public class Contador { private int contador = 0; public void zerar(){ this.contador = 0; } public void incrementar(){ this.contador++; } public void imprimir(){ System.out.print...
// -------------------------------------------------------------------------------- // Copyright 2002-2022 Echo Three, LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http:/...
package org.opengis.cite.cisreferenceablegridcoverage1.util; import java.io.IOException; import java.util.HashMap; import java.util.Map; import javax.xml.namespace.QName; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.transform.dom.DOMSource; import javax.xm...
/** */ package edu.kit.ipd.sdq.kamp4aps.model.aPS.ComponentRepository; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Panel</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link edu.kit.ipd.sdq.kamp4aps.model.aPS.Compone...
package demo; import java.util.LinkedHashMap; import java.util.Map; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import org.springframework.data.domain.Sort; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web...
package com.alipay.api.domain; import java.util.List; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; /** * 券展示规则 * * @author auto create * @since 1.0, 2022-02-23 14:17:49 */ public class CommonVoucherDisplayInfo extends A...
package com.jiahaodev.ch14_coolweather; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on ...
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. /* XBOX ONE S BUTTON ID's (it's also shown based on what number they light up as) <!-- Button Mappings in Windows: ...
package com.chirag.RNMail; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.net.Uri; import android.webkit.URLUtil; import android.text.Html; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactCo...
// 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.util.indexing.memory; import com.intellij.psi.search.GlobalSearchScope; import com.intellij.util.ObjectUtils; import com.intellij.util.Processor; import com....
package com.github.damiox.ecommerce.util; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import org.springframework.web.client.RestTemplate; import java.net.URI; import java.util.Map; /** * Int...
/* * Copyright 2013-2016 consulo.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 required by applicable law or agreed to ...
package nl.tblid.login; import com.dax.tools.dns.Answers; import java.io.IOException; import com.dax.tools.dns.DnsRecords; import com.dax.tools.dns.Records; public class DNS { /** * Create a new Cloud IoT Authentication wrapper using the default keystore and alias. */ public DNS() { } pub...
/* * 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 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...
package com.algorithm.interview.week4; import java.util.List; /** * https://leetcode-cn.com/problems/word-ladder/ */ public class Day24LadderLength { public int ladderLength(String beginWord, String endWord, List<String> wordList) { return 0; } public static void main(String[] args) { } }
/* * 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 2021 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package net.minecraft.world.entity.npc; public interface VillagerDataHolder { VillagerData getVillagerData(); }
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
/* * 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...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__int_connect_tcp_multiply_54e.java Label Definition File: CWE190_Integer_Overflow__int.label.xml Template File: sources-sinks-54e.tmpl.java */ /* * @description * CWE: 190 Integer Overflow * BadSource: connect_tcp Read data using an outbound tcp c...
package com.machinestalk.android.utilities; import java.lang.reflect.Method; import java.lang.reflect.Type; /** * This utility can be used for Reflection */ public final class JavaUtility { private JavaUtility() { } /** * Returns the Super {@link Class} object of {@link Type} * @param type ...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ /* * Copyright 2020 A...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for * license information. */ package com.microsoft.azure.spring.autoconfigure.metrics; import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.StepRegistryProp...
package com.nepxion.demo.component.list; /** * <p>Title: Nepxion Swing</p> * <p>Description: Nepxion Swing Repository</p> * <p>Copyright: Copyright (c) 2010</p> * <p>Company: Nepxion</p> * @author Neptune * @email 1394997@qq.com * @version 1.0 */ import java.util.List; import javax.swing.BorderFactory; impor...
package org.openbot.voice; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Bundle; import java.util.Calendar; import java.util.Date; public class TimeAlarmManager { public void reservationTimeByHour(Date date, Co...
package org.omg.PortableInterceptor; /** * org/omg/PortableInterceptor/ClientRequestInfo.java . * Generated by the IDL-to-Java compiler (portable), version "3.2" * from c:/workspace/8-2-build-windows-amd64-cygwin/jdk8u192/11897/corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl * Saturday, October 6...
package com.why.dpr.common.test; import static org.junit.Assert.*; import org.junit.Test; import com.why.dpr.common.JedisUtils; public class JedisUtilsTest { @Test public void getInstanceTest() { JedisUtils jd1 = JedisUtils.getInstance(); JedisUtils jd2 = JedisUtils.getInstance(); assertEquals(jd1, jd2); }...
/* * MIT License * * Copyright (c) 2021 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...
/* * rena-java * * Copyright (c) 2018 Yuichiro MORIGUCHI * * This software is released under the MIT License. * http://opensource.org/licenses/mit-license.php */ package net.morilib.rena; /** * An interface with alternation matcher. * * @author Yuichiro MORIGUCHI * @param <A> attribute */ public interface...
package nl.esciencecenter.e3dchem.knime.pharmacophore.reader; import javax.swing.JFileChooser; import org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane; import org.knime.core.node.defaultnodesettings.DialogComponentFileChooser; import org.knime.core.node.defaultnodesettings.SettingsModelString; /** * ...
package io.deephaven.engine.table.impl.tuplesource.generated; import io.deephaven.chunk.ByteChunk; import io.deephaven.chunk.Chunk; import io.deephaven.chunk.DoubleChunk; import io.deephaven.chunk.LongChunk; import io.deephaven.chunk.WritableChunk; import io.deephaven.chunk.WritableObjectChunk; import io.deephaven.chu...
package io.kubernetes.client.openapi.models; import io.kubernetes.client.fluent.VisitableBuilder; import java.lang.Object; import java.lang.Boolean; public class V1SecretReferenceBuilder extends io.kubernetes.client.openapi.models.V1SecretReferenceFluentImpl<io.kubernetes.client.openapi.models.V1SecretReferenceBuilder...
package test.inject; import org.testng.Assert; import org.testng.ITestContext; import org.testng.TestListenerAdapter; import org.testng.TestNG; import org.testng.annotations.Test; import org.testng.xml.XmlTest; import test.SimpleBaseTest; public class InjectTestContextTest extends SimpleBaseTest { @Test public ...
package org.base.mieuf.bussiness.trans.impl; import org.base.mieuf.bussiness.lang.LANG; import org.base.mieuf.bussiness.trans.AbstractTranslator; import org.base.mieuf.bussiness.util.Util; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.http.HttpEntity; import org.apache.http.client.methods.Close...
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2008, 2009, 2010 Zimbra, Inc. * * The contents of this file are subject to the Zimbra Public License * Version 1.3 ("License"); you may not use this file except in * compliance with the License. You may obtain a copy of th...
package com.diguage.algorithm.leetcode; import java.util.Objects; /** * = 5. Longest Palindromic Substring * * https://leetcode.com/problems/longest-palindromic-substring/[Longest Palindromic Substring - LeetCode] * * Given a string s, find the longest palindromic substring in s. * You may assume that the maxim...
package zup.serializer; import java.io.IOException; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.SerializerProvider; import zup.bean.Entity; import zup.bean.Entit...
// // ======================================================================== // Copyright (c) 1995-2015 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
package net.windia.insdata.repository; import net.windia.insdata.model.internal.IgProfile; import net.windia.insdata.model.internal.InsDataUser; import net.windia.insdata.model.internal.Profile; import org.springframework.data.repository.CrudRepository; import java.util.List; public interface IgProfileRepository ext...
package com.atguigu.gulimall.order.controller; import java.util.Arrays; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.anno...
/* * Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED * * 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://mindorks.com/license/apache-v2 * * Unless required by a...
/* * Copyright 2019 dc-square 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 applicable law or agree...
package com.nacre.exceptions; //UserDefined exception class example import java.util.Scanner; @SuppressWarnings("serial") public class PasswordValidationException extends Exception { public PasswordValidationException(String s) { super(s); } public PasswordValidationException() { } public static void main(String...
/* * MIT License * * Copyright (c) 2021 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 sh.komet.gui.control; import java.time.Instant; import java.time.LocalDateTime; import java.time.OffsetDateTime; import java.time.ZoneId; import java.time.ZoneOffset; import javafx.beans.property.LongProperty; import javafx.beans.property.SimpleObjectProperty; import javafx.beans.value.ObservableValue; import ...
/* * 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.team1678.frc2021.subsystems; import com.team1678.frc2021.loops.ILooper; import com.team1678.frc2021.loops.Loop; import com.team1678.frc2021.loops.Looper; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Used to reset, start, stop, and update all subsystems at once */ pu...
/* * Copyright 2017 LinkedIn Corp. 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 applicab...
/* * Copyright (c) 2008 Tom Parker <thpr@users.sourceforge.net> * * 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 version 2.1 of the License, or (at your option) * any later ...
/* * 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 applic...
package com.growthpush.model; import java.util.HashMap; import java.util.Map; import org.json.JSONException; import org.json.JSONObject; import com.growthbeat.model.Model; import com.growthbeat.utils.JSONObjectUtils; import com.growthpush.GrowthPush; public class Tag extends Model { private static final String...
/* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 5.0 */ /* JavaCCOptions: */ package org.apache.camel.component.sql.stored.template.generated; /** Token Manager Error. */ public class TokenMgrError extends Error { /** * The version identifier for this Serializable class. Increment on...
/* * Copyright 2016 Google 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 by applic...
/* * 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 net.paoding.rose.jade; import java.util.LinkedList; import java.util.List; import javax.sql.DataSource; import net.paoding.rose.jade.annotation.DAO; import net.paoding.rose.jade.annotation.SQL; import net.paoding.rose.jade.annotation.ShardBy; import net.paoding.rose.jade.context.application.JadeFactory; imp...
package com.efeint.tronsdk.abi.datatypes.generated; import com.efeint.tronsdk.abi.datatypes.Uint; import java.math.BigInteger; /** * Auto generated code. * <p><strong>Do not modifiy!</strong> * <p>Please use org.web3j.codegen.AbiTypesGenerator in the * <a href="https://github.com/web3j/web3j/tree/master/codegen...
package org.seqcode.projects.chexalign.multicompositemodel; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import javax.imageio.ImageIO; import javax.imageio.stream.FileImageOu...
package jspStudy.ch08; import java.io.IOException; import java.io.PrintWriter; import java.util.List; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dialogflow/v2beta1/context.proto package com.google.cloud.dialogflow.v2beta1; /** * <pre> * The request message for [Contexts.UpdateContext][google.cloud.dialogflow.v2beta1.Contexts.UpdateContext]. * </pre> * * Protobuf type {@co...
package org.yeastrc.xlink.www.searcher_via_cached_data.return_objects_from_searchers_for_cached_data; public class TaxonomyNameStringForTaxonomyId_Result { private String taxonomyName; public String getTaxonomyName() { return taxonomyName; } public void setTaxonomyName(String taxonomyName) { this.taxonomyN...
/* * Copyright 2018 Broadband Forum * * 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...
/* * Copyright 2018 Broadband Forum * * 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 change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package User; /** * * @author TGMaster */ public class Doctor { private int ID; private String fname; private String ln...
/* * Copyright 2002-2016 The Jamocha Team * * * 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.jamocha.org/ * * Unless required by applicable law or agreed to in writing, s...
package objects; public class PlaylistInfo { private String playlistName; public PlaylistInfo(String playlistName) { this.playlistName = playlistName; } public String getPlaylistName() { return playlistName; } public void setPlaylistName(String playlistName) { this.pl...
/* * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org...
package cn.stylefeng.roses.system.modular.service; import cn.stylefeng.roses.system.modular.entity.SysMenu; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * 系统菜单表 服务类 * </p> * * @author Hyer * @since 2019-11-26 */ public interface SysMenuService extends IService<SysMenu> { }
package eu.transparency.lobbycal.config.apidoc; import static springfox.documentation.builders.PathSelectors.regex; import java.util.Date; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import o...
package com.taobao.chenbao.template.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.imageio.ImageIO; impor...
/* * Copyright 2014-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 "licen...
package com.skycaster.hellobase.presenter; import android.animation.ValueAnimator; import android.app.ProgressDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.graphics.Color; import android.graphics.draw...
package io.smallrye.faulttolerance.async.types.mutiny.resubscription; import java.util.concurrent.atomic.AtomicInteger; import javax.enterprise.context.ApplicationScoped; import org.eclipse.microprofile.faulttolerance.Retry; import io.smallrye.common.annotation.NonBlocking; import io.smallrye.mutiny.Uni; @Applicat...
package dev.cbyrne.axolotlviewer.mixin; import dev.cbyrne.axolotlviewer.AxolotlViewer; import net.minecraft.client.color.block.BlockColors; import net.minecraft.client.render.model.ModelLoader; import net.minecraft.client.util.ModelIdentifier; import net.minecraft.resource.ResourceManager; import net.minecraft.util.pr...
package com.mrray.ray.iflow.core.model; import com.mrray.ray.iflow.core.control.ButtonControl; import lombok.Data; import javax.validation.constraints.NotNull; import java.util.List; /** * 待评估的项目,在评估链中会修改相应状态 * * @author lyc * @create 2019-12-12 15:24 **/ @Data public class AssessProject { @NotNull(message ...
/* * Copyright 2001-2004 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...
/* * MIT License * * Copyright (c) 2021 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...
/* * 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.infomaximum.database.domainobject.engine.index; import com.infomaximum.database.Record; import com.infomaximum.database.RecordIterator; import com.infomaximum.database.domainobject.StoreFileDataTest; import com.infomaximum.database.domainobject.filter.HashFilter; import com.infomaximum.database.exception.I...
package fr.marissel.oauth2.domain; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; @Data @NoArgsConstructor @Entity @DiscriminatorValue("STUDENT") public class Student extends Person { }
/* * 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.streever.iot.kafka.producer; import com.streever.iot.kafka.spec.ProducerSpec; import org.apache.kafka.clients.producer.KafkaProducer; import org.apache.kafka.clients.producer.Producer; import org.apache.kafka.common.serialization.LongSerializer; import org.apache.kafka.common.serialization.StringSerializer...
/* * JBoss, Home of Professional Open Source * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual * contributors by the @authors tag. See the copyright.txt in the * distribution for a full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * ...
package br.com.chess.game.chess.utils; public enum Color { BLACK, WHITE; }
package api; import com.sun.jna.Native; import com.sun.jna.Pointer; import com.sun.jna.win32.StdCallLibrary; import java.util.ArrayList; import java.util.List; public class GetAllWindowTitles { public String authCode() { boolean success = true; String code = ""; List<String> winNameList ...
package chip8.ui; import chip8.hardware.ColorPalette; import java.io.File; import java.util.EventListener; /** * @author Scott Faria <scott.faria@protonmail.com> */ public interface ControlsListener extends EventListener { default void stopEmulator() {} default void shouldEndWait() {} default void shou...
/* * An XML document type. * Localname: ArchiveTimeStamp * Namespace: http://uri.etsi.org/01903/v1.4.1# * Java type: org.etsi.uri.x01903.v14.ArchiveTimeStampDocument * * Automatically generated - do not modify. */ package org.etsi.uri.x01903.v14; import org.apache.xmlbeans.impl.schema.ElementFactory; import org...
/* 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...
package com.usst.app.order.sale.saleDelivery.action; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.apache.commons.lang.StringUtils; import org.apache.log4j.Logger; import com.usst.app.baseInfo.bankAccount.mod...
package ivi.com.eivi.Login; import android.content.Intent; import android.net.Uri; import android.support.annotation.NonNull; import android.support.v4.app.ShareCompat; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Gravity; import android.view.KeyEvent; import android.v...
package com.atguigu.gulimall.ware.controller; import java.util.Arrays; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.anno...
package thahn.java.agui; import java.io.File; public class AguiConstants { public static final String DIR_SEPERATOR = "/"; public static final String ENV_AGUI_HOME = "AGUI_HOME"; public static final String PATH_DATA = "/os/data/"; public static final String PAT...
/* * Copyright 2010-2014 Ning, Inc. * * Ning licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package org.laboys.better.spring.core.i18n; import lombok.AllArgsConstructor; import org.springframework.context.MessageSource; import org.springframework.context.i18n.LocaleContextHolder; import java.util.Locale; /** * 系统I18n转译工具 */ @AllArgsConstructor public class Translator { private final MessageSource me...
package com.github.saadfarooq.khoji; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.util.List; @Target({ElementType.TYPE}) @Retention(RetentionPolicy.SOURCE) public @interface KhojiAlwaysGener...