text
stringlengths
7
995k
package dev.batugokce.orderservice.order.controller.dto; import lombok.Data; import java.math.BigDecimal; @Data public class ItemDTO { private final Long id; private final BigDecimal pricePerItem; private final int amount; }
package com.cnews.guji.smart.common.bean; import java.util.List; /** * author:JSYL-DCL on 2019/2/13 * 视频数据持有类 */ public class VideoNewsBean { /** * adcode : 320113 * ads : * adsType : 0 * channelId : 101 * channelName : 推荐 * city : 栖霞区 * displayInfo : * errorCode : 0 ...
package net.osmand.plus.backup.ui.status; import static net.osmand.plus.activities.OsmandBaseExpandableListAdapter.adjustIndicator; import static net.osmand.plus.backup.NetworkSettingsHelper.BACKUP_ITEMS_KEY; import android.graphics.drawable.Drawable; import android.view.View; import android.widget.ImageView; import ...
/* * Copyright (c) 2021 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; import static java.util.stream.Collectors.joining; import com.fasterxml.jackson.databind.JsonNode; import com.zaxxer.hikari.HikariDataSource; import io.airbyte.commons.json.Jsons; import io.airbyte...
/* * Copyright (C) 2014 The CyanogenMod Project * Copyright (C) 2021 The LineageOS 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/LICE...
/* * Copyright (c) 2010-present Sonatype, Inc. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/...
package com.github.kilianB.geneticAlgorithm.fitnessScaling; import static com.github.kilianB.geneticAlgorithm.IndividualTestSets.SMALL_TEST_SET_DISTINCT; import static com.github.kilianB.geneticAlgorithm.IndividualTestSets.TEST_SET; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.j...
/* * Copyright 2015-2020 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 leetcode; public class S951 { public boolean flipEquiv(TreeNode root1, TreeNode root2) { return checkNode(root1, root2); } public boolean checkNode(TreeNode node1, TreeNode node2) { if (node1 == null && node2 == null) { return true; } else if (node1 != null && n...
package io.github.volkanozkan.mancala.model; import com.fasterxml.jackson.annotation.JsonFormat; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.index.Indexed; import org.springframework.data.mongodb.core.mapping.Document; import java.time.LocalDateTime; import java.util.UU...
package htbla.kaindorf.second_grade.pos.q2.Numberformatter.bl; /** * © 2022 All rights reserved. * Creator: Dominik PAULITSCH * Initials: DP * Project: LOAL_POS_SYP_HTBLA-Kaindorf * File: NumberFormatter.java */ public class NumberFormatter { public String getDigitLine(int length) { ...
// RetrieveArtifactStyles.java -- // // RetrieveArtifactStyles.java is part of ElectricCommander. // // Copyright (c) 2005-2019 Electric Cloud, Inc. // All rights reserved. // package ecplugins.EC_WebServerRepo.client; import com.google.gwt.resources.client.CssResource; public interface <CT>Styles extends CssResour...
/** * ************************************************************************ * * The contents of this file are subject to the MRPL 1.2 * * (the "License"), being the Mozilla Public License * * Version 1.1 with a permitted attribution clause; you may not use this * * file except in compliance with the L...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.idea.maven.utils; import com.intellij.notification.*; import com.intellij.openapi.Disposable; import com.intellij.openapi.actionSystem.AnActionEvent; import...
/* * Copyright 2022 ThoughtWorks, 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...
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2016 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ package ti.modules.titanium.ui; import java.util.HashMap; import org.appcelerato...
package com.jperat.babylist.constraint; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; public class DuplicateFieldValidator implements ConstraintValidator<DuplicateField, Object> { ...
package com.evolutionnext.generics.people; public class NorthCarolinian extends American { }
/************************************************************************* * * * CESeCore: CE Security Core * * * * This software is...
package us.ihmc.commonWalkingControlModules.wrenchDistribution; import java.util.List; import org.ejml.data.DenseMatrix64F; import org.ejml.ops.CommonOps; import us.ihmc.commonWalkingControlModules.bipedSupportPolygons.YoContactPoint; import us.ihmc.commonWalkingControlModules.bipedSupportPolygons.YoPlaneContactStat...
package com.sap.iot.azure.ref.integration.commons.avro; public class TestAVROSchemaConstants { public static final String SAMPLE_AVRO_SCHEMA = "{" + " \"type\": \"record\"," + " \"name\": \"schema\"," + " \"gdprDataCategory\": \"\",\n" + " \"structureId\"...
package fr.ldu.android.floodit.image.view; import android.content.Context; import android.graphics.Canvas; import android.graphics.LinearGradient; import android.graphics.Paint; import android.graphics.RectF; import android.graphics.Shader; import android.util.AttributeSet; import android.view.View; import fr.ldu.andr...
package study.com.cameralibrary.view; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PointF; import android.graphics.PorterDuff; import android.graphics.PorterDuffXfermode; import android.graphics.RectF; import andro...
package quick.pager.shop.goods; import com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.au...
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
package com.tornado.sysmgr.api.controller; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.prepost.PreAuthorize; import org.springfra...
package com.processpuzzle.sharedfixtures.domaintier; import org.mockito.MockitoAnnotations; import org.mockito.Mock; import com.processpuzzle.address.domain.CountryRepository; import com.processpuzzle.address.domain.SettlementRepository; import com.processpuzzle.address.domain.ZipCodeRepository; import com.processpuz...
// -------------------------------------------------------------------------------- // 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 ua.org.rshu.fmi.mobapp.view.fragment.entitieslist.creditslist.core.impl; import ua.org.rshu.fmi.mobapp.persistent.fmipersistent.entity.Credit; import ua.org.rshu.fmi.mobapp.view.fragment.entitieslist.core.EntitiesListFragment; import ua.org.rshu.fmi.mobapp.view.fragment.entitieslist.core.impl.EntitiesListWithP...
/* * Copyright 2019 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/** * Copyright 2016-2020 The Reaktivity Project * * The Reaktivity Project 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...
package com.fafabtc.binance.data.remote.dto; import com.google.gson.annotations.SerializedName; /** * Created by jastrelax on 2018/1/13. */ public class BinanceTicker24hr { /** * symbol : ETHBTC * priceChange : 0.00578300 * priceChangePercent : 6.748 * weightedAvgPrice : 0.08949417 * ...
/* * 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 ...
// Targeted by JavaCPP version 1.5.8-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.llvm.clang; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import org.bytedeco.llvm.LLVM.*; import static org.bytedeco.llvm.glob...
/* * Copyright (c) 2019-2021 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,...
package com.sparrowwallet.sparrow.io; import com.sparrowwallet.drongo.Network; import com.sparrowwallet.drongo.SecureString; import com.sparrowwallet.drongo.Utils; import com.sparrowwallet.drongo.crypto.*; import com.sparrowwallet.drongo.wallet.Wallet; import com.sparrowwallet.sparrow.MainApp; import javafx.concurrent...
package com.itxiaoer.commons.core.page; /** * @author : liuyk */ @SuppressWarnings({"unused", "WeakerAccess"}) public enum ResponseCode { /** * 成功 */ SUCCESS("0", "ok"), /** * 系统错误 */ SYSTEM_ERROR("10001", "系统出现异常,请稍后重试。"), /* API 相关异常 */ /** * 没有权限 */ API_...
package com.github.morihara.transactional.sample.service; import java.math.BigDecimal; public interface GoodsIssueService { void registerNewGoodsIssue(String serviceCode, String quantityCode, BigDecimal quantity); }
import java.io.*; public class AccountProcessor{ private String startBalance; public String usingBufferedReader(){ try { File file = new File("accountInfo.txt"); file.createNewFile();//if a file accountInfo does not exist, creates one BufferedReader reader = new BufferedReader(new FileReader("acc...
/* LanguageTool, a natural language style checker * Copyright (C) 2005 Daniel Naber (http://www.danielnaber.de) * * This library 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...
package com.uniovi; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class MyWallapop { public static void main(String[] args) { SpringApplication.run(MyWallapop.class, args); } }
/******************************************************************************* * (c) Copyright 2020 Micro Focus or one of its affiliates, a Micro Focus company * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Softwar...
package madgik.exareme.master.queryProcessor.decomposer.federation; import madgik.exareme.master.queryProcessor.decomposer.query.NonUnaryWhereCondition; public class SipJoin { private int joinNumber; private NonUnaryWhereCondition join; private String sipName; boolean deleteOnTableInsert; public SipJoin(...
/******************************************************************************* * Copyright 2014-2017 Specure GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
/* * MIT License * * Copyright (c) 2017 Christopher Henderson * * 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, ...
package gov.nasa.jpl.aerie.merlin.server.remotes; import java.nio.file.Path; public class MissionModelAccessException extends RuntimeException { private final Path path; public MissionModelAccessException(final Path path, final Throwable cause) { super(cause); this.path = path; } public Path getPath...
package module1238.a; import java.util.logging.*; import java.util.zip.*; import javax.annotation.processing.*; /** * Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut * labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dol...
package org.pushingpixels.demo.flamingo.svg.tango.transcoded; import java.awt.*; import java.awt.geom.*; import javax.swing.plaf.UIResource; import org.pushingpixels.neon.icon.ResizableIcon; import org.pushingpixels.neon.icon.ResizableIconUIResource; /** * This class has been automatically generated using <a * hre...
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.google.api.ads.dfp.jaxws.v201605; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for getWorkflowRequestsByStatementResponse element declaratio...
/** * 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...
/* * 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 ma...
/* * Jicofo, the Jitsi Conference Focus. * * Copyright @ 2015-Present 8x8, 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 * ...
package api.msg; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.math.BigDecimal; import java.util.Date; import java.util.concurrent.atomic.AtomicLong; import org.junit.jupiter.api.Te...
package com.xyz.trade.engine.util; import java.time.LocalDate; import java.time.format.DateTimeFormatter; /** * Utility class. */ public class TradeUtil { /** * This method gets a string date in 'DD MMM YYYY' and * returns a LocalDate instance * @param date * @return */ public stat...
/* * Copyright 2012-2014 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 ap...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE89_SQL_Injection__URLConnection_prepareStatement_07.java Label Definition File: CWE89_SQL_Injection.label.xml Template File: sources-sinks-07.tmpl.java */ /* * @description * CWE: 89 SQL Injection * BadSource: URLConnection Read data from a web server with URLConnection ...
package com.squareup.picasso; import android.annotation.SuppressLint; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Handler; import a...
package com.wch.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.wch....
package com.example.connection_with_rds.repository; import com.example.connection_with_rds.model.Member; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface MemberRepository extends JpaRepository<Member, Long> { }
package com.example.aksha.beachhackhunt; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ListView; import com.google...
/* * 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 m...
package es.amplia.oda.datastreams.adc.datastreams; import es.amplia.oda.core.commons.adc.*; import es.amplia.oda.event.api.Event; import es.amplia.oda.event.api.EventDispatcher; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.Capto...
package com.example.bpmn.model; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.Setter; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Getter @Setter @Entity @AllArgsConstructor public class ASN { @Id private String id; privat...
/* * Copyright (C) 2018 skydoves * * 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 ...
package factset.sampleapi; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonTokenId; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.JsonDeserializer; import com.fasterxm...
/* * Copyright 2009-2014 PrimeTek. * * 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 i...
/* * reserved comment block * DO NOT REMOVE OR ALTER! */ /* * 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 ...
package theHexaghost.events; import com.megacrit.cardcrawl.core.CardCrawlGame; import com.megacrit.cardcrawl.events.AbstractImageEvent; import com.megacrit.cardcrawl.events.beyond.Falling; import com.megacrit.cardcrawl.localization.EventStrings; import theHexaghost.HexaMod; public class HexaFalling extends AbstractI...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v3/resources/campaign_shared_set.proto package com.google.ads.googleads.v3.resources; public final class CampaignSharedSetProto { private CampaignSharedSetProto() {} public static void registerAllExtensions( com.goog...
/* * Copyright (c) 2020 Squaredesk GmbH and Oliver Dotzauer. * * This program is distributed under the squaredesk open source license. See the LICENSE file distributed with this * work for additional information regarding copyright ownership. You may also obtain a copy of the license at * * https://squaredes...
package com.bjio.my.shop.web.admin.web.interceptor; import com.bjio.my.shop.commons.constant.ConstantUtils; import com.bjio.my.shop.domain.TbUser; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.servlet.HandlerInterceptor; import org.springframework.web.servlet.ModelAndView; im...
package io.github.edwinmindcraft.apoli.common.action.meta; import com.mojang.serialization.Codec; import com.mojang.serialization.codecs.RecordCodecBuilder; import java.util.Random; import java.util.function.BiConsumer; public record ChanceConfiguration<T, V>(float chance, T action, BiConsumer<T, V> execut...
package com.cannolicatfish.rankine.entities; import com.cannolicatfish.rankine.init.RankineEntityTypes; import net.minecraft.entity.EntityType; import net.minecraft.entity.MobEntity; import net.minecraft.entity.ai.attributes.AttributeModifierMap; import net.minecraft.entity.ai.attributes.Attributes; import net.minecra...
/** * Copyright 2016 Yahoo 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 ...
package org.unidal.cat.plugin.transaction.report.page; import org.unidal.cat.core.report.nav.DomainGroupBar; import org.unidal.cat.core.report.nav.GroupBar; import org.unidal.cat.core.report.page.CoreReportContext; import org.unidal.cat.plugin.transaction.model.entity.TransactionReport; public class Context extends C...
package io.github.fabito.dropwizard.metrics; /** * A base {@link ReporterFactory} for configuring metric reporters. * <p/> * Configures options common to all {@link ScheduledReporter}s. * <p/> * <b>Configuration Parameters:</b> * <table> * <tr> * <td>Name</td> * <td>Default</td> * ...
/* * Copyright 2012-2017 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 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.athenz.identityprovider.client; import com.yahoo.vespa.athenz.api.AthenzIdentity; import com.yahoo.vespa.athenz.api.AthenzRole; import com.yahoo.vespa.athenz.identityprovider.a...
/** * 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.network.v2019_06_01; import com.fasterxml.jackso...
package com.hugocastelani.ivory.ui.intangible; import android.content.res.Resources; import android.support.annotation.NonNull; import android.support.design.widget.BaseTransientBottomBar; import android.support.design.widget.Snackbar; import android.view.LayoutInflater; import android.view.ViewGroup; import com.afol...
/* * The MIT License * * Copyright 2014 Jesse Glick. * * 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, mod...
/** * */ package com.chahyadis.test.model; import java.util.List; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.index.CompoundIndex; import org.springframework.data.mongodb.core.index.CompoundIndexes; import org.springframework.data.mongodb.core.index.Indexed; import o...
package org.softuni.productshop.service; import org.modelmapper.ModelMapper; import org.softuni.productshop.domain.entities.Role; import org.softuni.productshop.domain.models.service.RoleServiceModel; import org.softuni.productshop.domain.models.service.UserServiceModel; import org.softuni.productshop.repository.RoleR...
package service; import android.app.AlarmManager; import android.app.PendingIntent; import android.app.Service; import android.content.Intent; import android.content.SharedPreferences; import android.os.IBinder; import android.os.SystemClock; import android.preference.PreferenceManager; import java.io.UnsupportedEnco...
package com.cidic.equipment.util; import java.math.BigInteger; import java.security.MessageDigest; import java.util.UUID; import org.apache.shiro.crypto.RandomNumberGenerator; import org.apache.shiro.crypto.SecureRandomNumberGenerator; import org.apache.shiro.crypto.hash.SimpleHash; import org.apache.shiro.util.ByteS...
class UUU { int myValue; UUU() { System.out.println(newMethod()); } private int newMethod() { return myValue; } void init() { myValue = 0; } }
package betterquesting.api.placeholders; import betterquesting.api.utils.BigItemStack; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityList; import net.minecraft.item.Item; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.world.World; import net.minecraftforge.fluids.Fluid; import ne...
/******************************************************************************* * Copyright (c) 2000, 2011 IBM Corporation 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, an...
package com.packtpub.yummy.rest; import com.packtpub.yummy.model.BookmarkResourceAssembler; import com.packtpub.yummy.model.Bookmark; import com.packtpub.yummy.service.BookmarkService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.hateoas.Resource; import org.springframework...
///* // * Copyright 2002-${Year} 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 // * // ...
/** * 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.kusto.v2020_06_14.implementation; import retrofi...
/* * Copyright (c) 2021 Bixbit s.c. All rights reserved. * See LICENSE file for licensing information. */ package io.imunity.furms.db.project_allocation; import io.imunity.furms.db.resource_types.ResourceTypeConverter; import io.imunity.furms.domain.project_allocation.ProjectAllocationResolved; import org.springf...
package org.kyojo.schemaorg.m3n4.gson.core.container; import java.lang.reflect.Field; import java.lang.reflect.Type; import java.util.HashMap; import java.util.Map; import org.kyojo.gson.JsonDeserializationContext; import org.kyojo.gson.JsonDeserializer; import org.kyojo.gson.JsonElement; import org.kyojo.gson.JsonPa...
// Copyright (C) 2015 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
/* * Copyright 2017 SIP3.IO CORP. * * 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) 2017, Tyler <https://github.com/tylerthardy> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice,...
package com.djamware.myflutter; import io.flutter.plugin.common.PluginRegistry; import io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin; public final class FirebaseCloudMessagingPluginRegistrant{ public static void registerWith(PluginRegistry registry) { if (alreadyRegisteredWith(registry)) { ...
package com.keihong.imapp.common.widget; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStore; import android.support.v4.app.LoaderManager; import android.support.v4.content.CursorLoader; import android.support.v4.content.L...