text
stringlengths
7
995k
/* * Copyright 2021 Brackeys IDE contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
/* * MIT License * * Copyright (c) 2022 MASES s.r.l. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, cop...
// Template Source: BaseEntity.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------------------------------...
package com.example; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class JooqDemoApplicationTests { @Test public void contextLoads(...
/* * Copyright 2017 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...
/* * Copyright (c) 2014, grossmann * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions an...
package jp.noriokun4649.noriotter2.twitter; import android.os.Handler; import android.widget.Toast; import androidx.fragment.app.FragmentActivity; import jp.noriokun4649.noriotter2.R; import jp.noriokun4649.noriotter2.list.TweetListItemAdapter; import twitter4j.AsyncTwitter; import twitter4j.Paging; import twitter4j...
package com.example.application.ui.views; import java.util.Locale; import com.example.application.Application; import com.example.application.backend.data.idiomas.PrintText; import com.example.application.backend.data.idiomas.PrintText.Color; import com.vaadin.flow.component.Component; import com.vaadin.flow.componen...
/* * SSHTools - Java SSH2 API * * Copyright (C) 2002-2003 Lee David Painter and Contributors. * * Contributions made by: * * Brett Smith * Richard Pernavas * Erwin Bolwidt * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License ...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * Copyright 2018 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/** * Copyright(c) link.ttiot & shijun 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by...
/******************************************************************************* * 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 ...
package ClassificationTraining.SpringSprint; /** * @Classname LongestZigzag * @Description TODO * @Date 2021/2/13 13:47 * @Created by Administrator */ public class LongestZigzag { int max = 0; public int longestZigZag(TreeNode root) { zigZag(root); return max > 0 ? max - 1 : 0; } ...
package org.apache.maven.surefire.its.jiras; /* * 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...
package org.helpj.evolution; /* - (void)testTopupBlockchainUserTransactionInputs { //this is for v3 transaction versions DSChain * devnetDRA = [DSChain devnetWithIdentifier:@"devnet-DRA"]; NSData * hexData = [NSData dataFromHexString:@"0300090001d4ad073ec40da120d28a47164753f4f5ad80d0dc3b918b39223d36ebdfacd...
package com.planet_ink.coffee_mud.Abilities.Spells; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.p...
package com.fbla.atlas.atlas.pages.student; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import androi...
package hello; import java.io.IOException; import java.io.OutputStream; import java.lang.management.ManagementFactory; import java.net.InetSocketAddress; import java.util.Map; import java.util.HashMap; import java.util.concurrent.atomic.AtomicLong; import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpse...
/* * 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 to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * Copyright (c) 2022, WSO2 Inc. (http://www.wso2.com). * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
/** * LineItemServiceSoapBindingStub.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201306; public class LineItemServiceSoapBindingStub extends org.apache.axis.client.Stub implements com.google.api.ad...
package serializers.logansquare; /** * Created by nickma on 05/02/16. */ public class Logansquare { }
/** * Copyright (C) 2011 Inqwell Ltd * * You may distribute under the terms of the Artistic License, as specified in * the README file. */ /* * $Archive: /src/com/inqwell/any/client/swing/JMenuItem.java $ * $Author: sanderst $ * $Revision: 1.2 $ * $Date: 2011-04-07 22:18:22 $ */ package com.inqwell.any.clie...
package de.hpi.javaide.breakout.elements.ui; import de.hpi.javaide.breakout.basics.GameFont; import de.hpi.javaide.breakout.basics.UIObject; import de.hpi.javaide.breakout.starter.Game; public class Score extends UIObject<String> { public Score(final Game game) { super(game); } @Override public void display()...
package org.kyojo.schemaorg.m3n3.gson.core.clazz; import java.lang.reflect.Field; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map.Entry; import org.kyojo.gson.JsonDeserializationContext; import...
/* * MIT License * * Copyright (c) 2022 MASES s.r.l. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, cop...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.github.mikephil.charting.animation; // Referenced classes of package com.github.mikephil.charting.animation: // EasingFunction, Easing sta...
/** * Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith...
package net.minecraft.server; import java.util.Iterator; final class MutableBlockPositionRange implements Iterable { final BlockPosition a; final BlockPosition b; MutableBlockPositionRange(BlockPosition blockposition, BlockPosition blockposition1) { this.a = blockposition; this.b = block...
// Template Source: BaseMethodRequestBuilder.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -----------------------------...
package sjm.parse.tokens; import java.io.*; import java.util.*; /* * Copyright (c) 1999 Steven J. Metsker. All Rights Reserved. * * Steve Metsker makes no representations or warranties about * the fitness of this software for any particular purpose, * including the implied warranty of merchantability. */ /**...
package com.tigf.yoon.service; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.stereotype.Service; import com.tigf.yoon.model.Member; import com.tigf.yoon.repository.MemberRepository; @Service public class MemberService { private MemberRepository memberRepository;...
package eduAll.springboot.controller; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.ann...
package com.android.home.todomvp.tasks; import android.content.Intent; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.google.android.material.floatingactionbutton.FloatingActionButton; import com.google.android.material.snackbar.Snackbar; import androidx.f...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
package com.twu.biblioteca.menu; import org.junit.Assert; import org.junit.Test; public class ReturnOptionTest { @Test public void testIfIsChosenOptionIsReturn() { String userInput = "return-book"; ReturnOption returnOption = new ReturnOption(); Assert.assertTrue(returnOption.check(us...
/** * Copyright © 2016-2018 The Thingsboard Authors * Modifications © 2017-2018 Hashmap, 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/LIC...
package org.minxc.emp.base.api.model; /** * <pre> * 描述:BaseModel的接口类 * 提供给那些已有自身特殊继承而无法继承baseModel的类 * 作者:min.xianchang * 邮箱:xianchangmin@126.com * 日期:2018年4月3日 下午8:56:33 * 版权:summer * </pre> */ public interface BaseModel extends CreateInfoModel,IdModel { }
/* 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 com.example.android.appusagestatistics; public final class R { public static final class anim { public static final i...
/* * 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.ichack20.poser; public class Point { private final double x; private final double y; public double getX() { return x; } public double getY() { return y; } public Point(double x, double y) { this.x = x; this.y = y; } }
/* * 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.cloud.storage; import com.cloud.legacymodel.storage.Upload; import com.cloud.legacymodel.storage.UploadStatus; import com.cloud.utils.NumbersUtil; import com.cloud.utils.db.GenericDaoBase; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.per...
package ml.melun.mangaview.activity; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.os.AsyncTask; import com.google.android.material.floatingactionbutton.FloatingActionButton; import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.A...
/** * */ package de.chaosbutterfly.smcombat.model.session; /** * @author alters * */ public class SessionQuerys { public static final String NAME_QUERY_LOAD_USER_SESSION_BY_USERNAME = "LoadUserSessionByUserName"; public static final String QUERY_LOAD_USER_SESSION_BY_USERNAME = "SELECT u from UserSession ...
/* * Copyright © 2014-2016 Cask Data, 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 agr...
package org.jeecg.modules.management.progressreport.controller; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import javax.servlet.http.HttpServletRequest; im...
/** * The MIT License * * Copyright (c) 2019, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, includi...
package mage.cards.m; import mage.abilities.Ability; import mage.abilities.common.BecomesClassLevelTriggeredAbility; import mage.abilities.common.BeginningOfUpkeepTriggeredAbility; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.condition.Condition; import mage.abilities.decorator.ConditionalCo...
/* * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EV...
package com.jacobandersson.dodskrok.playing; import android.content.Context; import android.content.DialogInterface; import android.support.v4.content.ContextCompat; import android.support.v7.app.AlertDialog; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.Vie...
package com.salesmanager.shop.store.controller.category; import com.salesmanager.core.business.services.catalog.category.CategoryService; import com.salesmanager.core.business.services.catalog.product.PricingService; import com.salesmanager.core.business.services.catalog.product.ProductService; import com.salesmanager...
package carpetfixes.mixins.coreSystemFixes.TreeLogic; import carpetfixes.CarpetFixesInit; import net.minecraft.block.BlockState; import net.minecraft.util.math.BlockPos; import net.minecraft.world.TestableWorld; import net.minecraft.world.gen.feature.TreeFeatureConfig; import net.minecraft.world.gen.trunk.TrunkPlacer;...
/* * Copyright 2013, 2014 Deutsche Nationalbibliothek * * 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) 2011 The Guava 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 applicable law or agreed ...
package fr.free.nrw.commons; import android.annotation.SuppressLint; import android.app.AlertDialog; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.widget...
/* * Copyright 2012-2018 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) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License,Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Copyright 2014, Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions a...
package javax.media.format; import javax.media.Format; import org.jitsi.android.util.java.awt.Dimension; public class VideoFormat extends Format { public static final String CINEPAK = "cvid"; public static final String H261 = "h261"; public static final String H261_RTP = "h261/rtp"; public static fina...
// 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 applicable law...
package com.example.mmm.mvp; import com.example.mmm.bean.Account; import com.example.mmm.normal.MCallBack; import java.util.Random; public class MVPModal implements MVPModal_Interface { //查询用户数据 @Override public void getAccountData(String accountName, CallBack callBack) { Random random = new Ra...
package com.imist.italker.factory.presenter.account; import android.text.TextUtils; import com.imist.italker.common.Common; import com.imist.italker.factory.R; import com.imist.italker.factory.data.DataSource; import com.imist.italker.factory.data.helper.AccountHelper; import com.imist.italker.factory.model.api.accou...
/* * Copyright (C) 2016 AriaLyy(https://github.com/AriaLyy/Aria) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
package mx.itam.metodos.minhashing; import mx.itam.metodos.common.TextArrayWritable; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.FloatWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapred.JobConf; import org.apache.hadoop.mapreduce.J...
package mono; import java.io.*; import java.lang.String; import java.util.Locale; import java.util.HashSet; import java.util.zip.*; import android.content.Context; import android.content.Intent; import android.content.pm.ApplicationInfo; import android.content.res.AssetManager; import android.util.Log; import mono.and...
/* * 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.heinrichreimersoftware.materialintro.view.parallax; import android.content.Context; import android.content.res.TypedArray; import android.support.annotation.FloatRange; import android.util.AttributeSet; import android.view.View; import android.view.ViewGroup; import android.widget.RelativeLayout; import c...
/* * 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 ...
// Automatically generated by xdrgen // DO NOT EDIT or your changes may be overwritten package io.digitalbits.base.xdr; import java.io.IOException; // === xdr source ============================================================ // enum OperationType // { // CREATE_ACCOUNT = 0, // PAYMENT = 1, // P...
/* * 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 no...
/* * 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 to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Copyright 2018 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...
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The contents of this file are subject to the terms of either the Universal Permissive License * v 1.0 as shown at http://oss.oracle.com/licenses/upl * * or the follo...
/* * Copyright 2020 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 wr...
package com.xiaoming.gulimall.member.service.impl; import org.springframework.stereotype.Service; import java.util.Map; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com...
package com.eleks.tesla.api.decoder; import org.json.JSONException; import ch.boye.httpclientandroidlib.HttpEntity; public abstract class EntityDecoder { public EntityDecoder() { } public abstract Object decodeEntity(HttpEntity httpentity) throws JSONException; }
package mage.cards.i; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.DiesSourceTriggeredAbility; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.common.DoIfCostPaid; import mage.abilities.effects.common.discard.DiscardTargetEffect; ...
package module0502_public_tests_unittests.a; import javax.naming.directory.*; import javax.net.ssl.*; import javax.rmi.ssl.*; /** * 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...
/* * @(#)TransformEdit.java 2.0 2006-01-14 * * Copyright (c) 1996-2006 by the original authors of JHotDraw * and all its contributors ("JHotDraw.org") * All rights reserved. * * This software is the confidential and proprietary information of * JHotDraw.org ("Confidential Information"). You shall not disclose...
/* * Copyright © 2014-2017 Cask Data, 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 agr...
package com.luoboduner.moo.tool.ui.dialog; import cn.hutool.core.thread.ThreadUtil; import com.formdev.flatlaf.extras.FlatSVGIcon; import com.intellij.uiDesigner.core.GridConstraints; import com.intellij.uiDesigner.core.GridLayoutManager; import com.intellij.uiDesigner.core.Spacer; import com.luoboduner.moo.tool.App; ...
package com.elasticm2m.frameworks.aws.kinesis; import org.apache.storm.spout.SpoutOutputCollector; import org.apache.storm.task.TopologyContext; import com.amazonaws.auth.DefaultAWSCredentialsProviderChain; import com.amazonaws.services.kinesis.clientlibrary.lib.worker.InitialPositionInStream; import org.junit.Assert;...
/* * 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 java_basics.aula27.exercicios; public class Lampada { String marca; String tipoDeLampada; int wattsPotencia; int voltagem; boolean ligada; void ligar(){ ligada = true; } void desligar(){ ligada = false; } void mostrarEstado(){ if (ligada) { ...
package com.github.xuqplus.hi.leetcode.q1000.q1015; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Test; /** * 可被K 整除的最小整数 * medium * https://leetcode-cn.com/problems/smallest-integer-divisible-by-k/ */ @Slf4j public class ATest { @Test void a() { Solution solution = new Solution(...
/* * RED5 Open Source Media Server - https://github.com/Red5/ * * Copyright 2006-2016 by respective authors (see below). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Lic...
package org.baeldung.boot.converter; import com.google.common.collect.ImmutableSet; import org.springframework.core.convert.TypeDescriptor; import org.springframework.core.convert.converter.GenericConverter; import java.math.BigDecimal; import java.util.Set; public class GenericBigDecimalConverter implements Generic...
/* * Copyright (C) 2004-2017, GoodData(R) Corporation. All rights reserved. * This source code is licensed under the BSD-style license found in the * LICENSE.txt file in the root directory of this source tree. */ package com.gooddata.export; import com.fasterxml.jackson.annotation.JsonProperty; import com.gooddat...
package com.itxiaox.photo.utils; import android.app.Activity; import android.app.FragmentManager; import android.content.Intent; import androidx.fragment.app.Fragment; /** * @Title: 通过回调方法实现Activity的onActivityResult代理 * @Description: * * @author: xiao * @date: 2019/5/16 18:08 * @version v1.0 */ public cla...
package Service; import java.io.Serializable; public class MyFile implements Serializable { String id; String fileName; String fileSize; String trueName; @Override public String toString() { return "File{" + "id='" + id + '\'' + ", fileName='" + fileNam...
package p; public class A { public A() {} protected int protected_field = 123; }
package com.changgou.order.dao; import com.changgou.order.pojo.OrderLog; import org.springframework.stereotype.Repository; import tk.mybatis.mapper.common.Mapper; /** * @author Dylan Guo * @date 9/17/2020 22:14 * @description TODO */ @Repository public interface OrderLogMapper extends Mapper<OrderLog> { }
// // ======================================================================== // Copyright (c) 1995-2017 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
/* * 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 in...
/* * Copyright 2019 Adobe. All rights reserved. * This file is licensed 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 appli...
/* * Copyright 2018 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 io.flutter.logging; import com.intellij.execution.filters.Filter; import com.intellij.execution.filters.HyperlinkInfo; import com.intellij....