text
stringlengths
7
1.01M
package com.esentri.invisionday.greetings; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class GreetingsApplication { public static void main(String[] args) { SpringApplication.run(GreetingsApplication.class, a...
module desktop.qrscanner { requires kotlin.stdlib; requires javafx.controls; requires com.google.zxing; requires java.desktop; requires webcam.capture; }
package no.nav.familie.ks.sak.app.integrasjon.infotrygd.domene; public class InfotrygdFakta { private AktivKontantstøtteInfo aktivKontantstøtteInfo; public InfotrygdFakta(AktivKontantstøtteInfo aktivKontantstøtteInfo) { this.aktivKontantstøtteInfo = aktivKontantstøtteInfo; } public AktivKonta...
/** * * Copyright (C) 2010 Cloud Conscious, LLC. <info@cloudconscious.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 L...
/* * #%L * BroadleafCommerce Open Admin Platform * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * 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....
package com.zhanghao.skinexpert.adapter; import android.content.Context; import android.content.Intent; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import co...
package com.liuyun.redis.constants; import java.util.Objects; /** * * RedisCacheKey 常量类 * * @author wangdong * @version 1.0.0 * @date 2020/12/24 17:27 **/ public abstract class AbstractRedisConstants { protected final static String GLOBAL_PREFIX = "liuyun"; protected final static String DELIMITER = "...
package com.qinweizhao; class GetName1 extends Thread { @Override public void run() { System.out.println(this.getName() + " Thread"); } } class GetName2 implements Runnable { @Override public void run() { System.out.println(Thread.currentThread().getName() + " Runnable"); } } ...
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., 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"); * you may not use this fi...
/* * Copyright 2014 - 2022 Blazebit. * * 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 com.hzhang.service; import com.github.pagehelper.PageInfo; import com.hzhang.annotation.ClearRedisCache; import com.hzhang.pojo.Tag; import org.apache.ibatis.annotations.Param; import org.springframework.cache.annotation.Cacheable; import java.util.List; /** * @author :Hzhang * @date :Created in 2020/6/10 ...
/** * Copyright (C) 2010-2012 eBusiness Information, Excilys Group * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
/* * Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved. */ package com.hazelcast.session; import java.io.Serializable; import java.util.HashMap; import java.util.Map; /** * Session data to be distributed by Hazelcast. * * Since org.eclipse.jetty.server.session.AbstractSession does not provide access ...
/* * Copyright 2019-2021 StreamThoughts. * * 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,...
package com.example.coolweather.db; import org.litepal.crud.DataSupport; public class City extends DataSupport { private int id; private String cityName; private int cityCode; private int provinceId; public int getId() { return id; } public void setId(int id) { this.id...
/******************************************************************************* * 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...
package com.baeldung.meecrowave; public class Article { private String name; private String author; public Article() { } public Article(String name, String author) { this.author = author; this.name = name; } public String getName() { return name; } public...
package pinacolada.powers.replacement; import basemod.interfaces.CloneablePowerInterface; import com.megacrit.cardcrawl.characters.AbstractPlayer; import com.megacrit.cardcrawl.core.AbstractCreature; import com.megacrit.cardcrawl.core.CardCrawlGame; import com.megacrit.cardcrawl.localization.PowerStrings; import com.m...
package com.applozic.mobicomkit.api.account.user; import android.content.Context; import android.os.AsyncTask; import com.applozic.mobicomkit.api.conversation.Message; import com.applozic.mobicomkit.feed.RegisteredUsersApiResponse; /** * Created by sunil on 3/10/16. */ public class RegisteredUsersAsyncTask extends...
package com.ardublock.translator.block.makeblock; import com.ardublock.translator.Translator; import com.ardublock.translator.block.TranslatorBlock; import com.ardublock.translator.block.exception.SocketNullException; import com.ardublock.translator.block.exception.SubroutineNotDeclaredException; public class MeLimitS...
package uk.ac.ebi.ddi.ws.modules.dataset.model; /** * Created by yperez on 10/07/2016. */ import javax.xml.bind.annotation.XmlAttribute; public class MyEntry { @XmlAttribute public String key; @XmlAttribute public String value; }
package uk.bot_by.monobank4j.api_gson; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonToken; import com.google.gson.stream.JsonWriter; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; imp...
package com.example.bank.application.repository; import com.example.bank.application.model.Account; import com.example.bank.application.model.Account_User; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.quer...
package TextProtocols.SecureChat; import io.netty.bootstrap.Bootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelFuture; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.nio.NioSocketChannel; //import io.netty.example.telnet.Tel...
class Solution { public int minPathSum(int[][] grid) { int height = grid.length; int width = grid[0].length; for (int row = 0; row < height; row++) { for (int col = 0; col < width; col++) { if (row == 0 && col == 0) { grid[row][col] = grid[row][col]; ...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package com.leetcode; public class LinkedListCycle2OctoberChallenge { public static void main(String[] args) { /* ListNode node1 = new ListNode(1); ListNode node2 = new ListNode(2); node1.next = node2; node2.next = node1; new LinkedListCycle2OctoberChallenge().detectCycle(n...
/* * Copyright (C) 2016 - Niklas Baudy, Ruben Gees, Mario Đanić and 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 * ...
/* * Copyright (c) 2018 coodex.org (jujus.shen@126.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
/* * 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 org.carlspring.strongbox.controllers; import java.io.IOException; import io.swagger.annotations.Api; import org.springframework.http.HttpHeaders; import org.springframework.http.MediaType; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.s...
/* * 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 applicab...
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.dingtalkesign_2_0.models; import com.aliyun.tea.*; public class ResaleOrderResponseBody extends TeaModel { @NameInMap("esignOrderId") public String esignOrderId; public static ResaleOrderResponseBody build(java.util.Map<String, ?> ...
// 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. package frc.robot; import edu.wpi.first.wpilibj.TimedRobot; import edu.wpi.first.wpilibj2.command.Command; import edu.w...
/* * Copyright 2019-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package inescid.dataaggregation.casestudies.wikidata; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.math.BigDecimal; import java.nio.charset.StandardCharsets; i...
/* * #%L * wcm.io * %% * Copyright (C) 2018 wcm.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 ap...
package org.treblereel.gwt.three4g.geometries; import jsinterop.annotations.JsType; import org.treblereel.gwt.three4g.core.BufferGeometry; import org.treblereel.gwt.three4g.geometries.parameters.IcosahedronGeometryParameters; /** * A class for generating an icosahedron geometry. * @author Dmitrii Tikhomirov * Crea...
package com.thefinestartist.wip; public class AudioManagerUtil { }
/* * MIT License * * Copyright (c) 2019 Choko (choko@curioswitch.org) * * 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 * ...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference // Implementation, v2.2.7 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2020.10.05 at 10:58:1...
/* Copyright by Barry G. Becker, 2000-2011. Licensed under MIT License: http://www.opensource.org/licenses/MIT */ package com.barrybecker4.game.multiplayer.galactic.ui.dialog; import com.barrybecker4.game.common.GameContext; import com.barrybecker4.game.multiplayer.galactic.Galaxy; import com.barrybecker4.game.multip...
/* $Id$ */ /** * 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"); y...
package com.y2w.uikit.utils; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.Bitmap.CompressFormat; import android.graphics.Bitmap.Config; import and...
/*- * Copyright 2019-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 ...
package charbosses.relics.EventRelics; import charbosses.bosses.AbstractCharBoss; import charbosses.cards.AbstractBossCard; import charbosses.relics.AbstractCharbossRelic; import com.badlogic.gdx.graphics.Texture; import com.megacrit.cardcrawl.relics.AbstractRelic; import downfall.downfallMod; import java.util.ArrayL...
/** Defines clients which connect with ProbeJ. */ package jisd.probej;
/* * Copyright (c) 2018, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql.benchmark.tfb; import org.postgresql.util.ConnectionUtil; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import o...
/* * 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 xplane.demos; import autopilot.DataXplane; import xplane.XplaneInputOutput; /** * * @author my.oñ */ public class ReadDemo...
package org.wikiup.modules.spring.beans; import org.springframework.beans.BeansException; import org.springframework.beans.factory.NoSuchBeanDefinitionException; import org.springframework.beans.factory.config.AutowireCapableBeanFactory; import org.springframework.context.ApplicationContext; import org.springframework...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.hdinsight.v2018_06_01_preview; import java.util....
/* Copyright (c) 2019-2021, Stephen Gold 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 and the fol...
package com.emu.apps.qcm.rest.controllers.secured.resources; import com.emu.apps.qcm.rest.controllers.secured.openui.QuestionView; import com.emu.apps.qcm.rest.controllers.secured.openui.QuestionnaireView; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonRootName; impo...
/* * 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...
package com.finalstand.game.desktop; import com.badlogic.gdx.backends.lwjgl.LwjglApplication; import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; import com.finalstand.game.FinalStand; public class DesktopLauncher { public static void main (String[] arg) { LwjglApplicationConfiguration config = n...
package com.mina_mikhail.soft_expert_task.utils; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import java.net.InetAddress; import java.net.NetworkInterface; import java.util.Collections; import java.util.List; public final class NetworkUtils { public stati...
package com.svtlabs; import java.time.Duration; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPoolConfig; public class RedisPlay { private static final Logger LOGGER = LoggerFactory.getLog...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Copyright (C) 2012 Issa Gorissen <issa-gorissen@usa.net>. 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 ...
import org.junit.*; import static org.junit.Assert.*; public class GenreTest { @After public void tearDown() { Genre.clearList(); } @Test public void genre_instantiatesCorrectly_true() { Genre testGenre = new Genre("Chill"); assertEquals(true, testGenre instanceof Genre); } @Test public ...
/* * This software is licensed under the Apache 2 license, quoted below. * * Copyright (c) 1999-2021, Algorithmx 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.a...
package pt.up.fe.specs.jackdaw.enums; import org.lara.interpreter.weaver.interf.NamedEnum; import pt.up.fe.specs.util.lazy.Lazy; import pt.up.fe.specs.util.enums.EnumHelperWithValue; /** * * * @author Lara C. */ public enum LoopKind implements NamedEnum{ FOR("for"), WHILE("while"), DO("do"); pr...
package com.pratap.gplaystore; public class ListItem { private String headline; private String reporterName; // private String date; private String url; public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getHeadline() { return headline; } public...
package com.baeldung.spring; import java.util.Locale; import java.util.ResourceBundle; import org.springframework.context.MessageSource; import org.springframework.context.annotation.Bean; import org.springframework.context.support.MessageSourceResourceBundle; import org.springframework.context.support.ResourceBundle...
package org.mockserver.matchers; import com.fasterxml.jackson.annotation.JsonIgnore; import org.mockserver.log.model.LogEntry; import org.mockserver.logging.MockServerLogger; import org.mockserver.model.HttpRequest; import java.util.Arrays; import static org.slf4j.event.Level.DEBUG; /** * @author jamesdbloom */ p...
package com.r3tr0.moneyassistant.core.interfaces; /** * Copyright 2018 Tarek Mohamed * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE...
/* * 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 io.icker.factions.event; import io.icker.factions.database.Faction; import io.icker.factions.database.Member; import io.icker.factions.database.PlayerConfig; import io.icker.factions.database.PlayerConfig.ChatOption; import io.icker.factions.util.Message; import net.minecraft.server.network.ServerPlayerEntity;...
/* * Copyright 2009 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...
/* Using IntelliJ? (1) File=>Project Structure=>Libraries=>+=>From Maven=>org.junit.jupiter:junit-jupiter-api:5.4.2. (2) change imports: import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; (*) SEE: https://www.jetbrains.com/help/idea/configuring-testing-libraries.html */ /* Usi...
package com.example.gittest; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on an ...
package io.ray.runtime.runtimeenv; import com.google.protobuf.InvalidProtocolBufferException; import com.google.protobuf.util.JsonFormat; import io.ray.api.runtimeenv.RuntimeEnv; import io.ray.runtime.generated.RuntimeEnvCommon; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.u...
package com.br.glauber.apigoldenraspberry; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springfr...
/* * 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...
/** * 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...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2019.07....
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package org.dhis2.usescases.teiDashboard.dashboardfragments.tei_data; import android.view.LayoutInflater; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.databinding.DataBindingUtil; import androidx.recyclerview.widget.RecyclerView; import org.dhis2.R; import org.dhis2.databinding....
package com.atguigu.gmall.search.pojo; import lombok.Data; import org.springframework.data.annotation.Id; import org.springframework.data.elasticsearch.annotations.Document; import org.springframework.data.elasticsearch.annotations.Field; import org.springframework.data.elasticsearch.annotations.FieldType; import ja...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package org.asciidoc.intellij.psi; import com.intellij.extapi.psi.ASTWrapperPsiElement; import com.intellij.lang.ASTNode; import com.intellij.psi.tree.TokenSet; import org.asciidoc.intellij.lexer.AsciiDocTokenTypes; import org.jetbrains.annotations.NotNull; /** * @author yole */ public class AsciiDocBlockAttributes...
package com.salton123.qa.kit.timecounter.instrumentation; import android.os.Handler; import android.os.Message; import android.text.TextUtils; import com.salton123.qa.kit.timecounter.TimeCounterManager; import com.salton123.utils.Reflector; /** * @author: linjizong * @date: 2019/6/3 * @desc: */ class ProxyHandle...
package com.example.web_api_spotify.models; import android.os.Parcel; import android.os.Parcelable; import java.util.List; public class AudioFeaturesTracks implements Parcelable { public List<AudioFeaturesTrack> audio_features; public AudioFeaturesTracks() { } protected AudioFeaturesTracks(Parcel ...
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2004, 2005, 2006, 2007, 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 o...
package io.github.zomky.raft; import io.github.zomky.Cluster; import io.github.zomky.storage.RaftStorage; import io.github.zomky.storage.log.entry.IndexedLogEntry; import io.github.zomky.storage.log.entry.LogEntry; import io.github.zomky.storage.log.serializer.LogEntrySerializer; import io.github.zomky.transport.proto...
package com.synectiks.cms.entities; import java.io.Serializable; import java.time.LocalDate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import...
package yellow1; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Yellow1Application { public static void main(String[] args) { SpringApplication.run(Yellow1Application.class, args); } }
/** * Automatically generated file. DO NOT MODIFY */ package com.app.stk; public final class BuildConfig { public static final boolean DEBUG = Boolean.parseBoolean("true"); public static final String APPLICATION_ID = "com.app.stk"; public static final String BUILD_TYPE = "debug"; public static final String F...
/* * 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 Business.Enterpise; import java.util.ArrayList; /** * * @author Rahul Zore */ public class EnterpriseDirectory { priv...
package com.allenliu.versionchecklib.core.http; import android.os.Handler; import android.os.Looper; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import okhttp3.Call; import okhttp3.Callback; import okhttp3.Response; /** * Created by allenliu on 201...
/** * 快速排序 */ package com.tanyiqu.algorithm.sorting; import java.util.List; public class QuickSort<T extends Comparable<T>> extends AbstractSort<T> { @Override public String name() { return "快速排序"; } @Override public void sort(T[] array) { qsort(array, 0, array.length); } ...
package changjoopark.com.flutter_foreground_plugin; import android.app.Activity; import android.content.Intent; import android.content.Context; import android.os.Build; import android.os.Handler; import android.os.Looper; import io.flutter.embedding.engine.plugins.FlutterPlugin; import io.flutter.plugin.common.Binary...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.qdch.portal.common.utils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /** * MAC地址工具 * * @author ThinkGem * @version 2013-12-21 */ publ...
package com.blankj.utilcode.util; import android.content.Context; import android.os.Environment; import android.os.storage.StorageManager; import org.junit.Test; import org.robolectric.RuntimeEnvironment; import org.robolectric.Shadows; import org.robolectric.shadows.ShadowEnvironment; import org.robolectric.shadows....
/* * Copyright 2015 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
package io.mhsilva.matecocustomersupport.manager; import android.content.Context; import android.util.Log; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.pubnub.api.PNConfiguration; import com.pubnub.api.PubNub; import com.pubnub.api.callbacks.PNCallback...
package ru.projects.prog_ja.model.entity.problems; import ru.projects.prog_ja.model.entity.user.UserInfo; import javax.persistence.*; @Entity @Table(name = "problem_comment_voters") public class ProblemCommentVoters { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "problem_commen...
package br.com.zupacademy.hugo.proposta.repository; import br.com.zupacademy.hugo.proposta.model.Bloqueado; import org.springframework.data.jpa.repository.JpaRepository; public interface BloqueioRepository extends JpaRepository<Bloqueado, Long> { }
package bio.terra.parser; /** * Very simple parser. The form of syntax is: commands options arguments The command determines what * options and arguments we accept. Options have long (--) and short (-) forms. We can make this * more complex by adding complexity to the Command parsing. * * <p>The "help" command is...
/* * Copyright (c) 2019-2022 GeyserMC. http://geysermc.org * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...