text
stringlengths
7
995k
package com.docusign.esign.api; import com.docusign.esign.model.BulkEnvelopeStatus; import com.docusign.esign.model.BulkEnvelopesResponse; import com.docusign.esign.model.BulkRecipientsRequest; import com.docusign.esign.model.BulkRecipientsResponse; import com.docusign.esign.model.BulkRecipientsSummaryResponse; import...
package in.hocg.boot.message.autoconfigure.data; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import java.io.Serializable; import java.time.LocalDateTime; /** * <p> * [基础模块] 持久化消息表 * </p> * * @author hocgin * @since 2020-07-20 */ @Setter @Getter @Accessors(chain = true) pu...
/* * 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 structures.linked_recursion; /** * https://leetcode-cn.com/problems/remove-linked-list-elements/description/ * * @author ztiany * Email: ztiany3@gmail.com */ public class LeetCode203_Solution2 implements Solution { @Override public ListNode removeElements(ListNode head, int val) { //step ...
package iotaFlashWrapper.Model; import iotaFlashWrapper.Helpers; import iotaFlashWrapper.V8Converter; import jota.model.Transaction; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class Bundle extends jota.model.Bundle { public Bundle(List<Transaction> ...
package org.smartregister.chw.activity; import android.app.Activity; import org.smartregister.chw.R; import org.smartregister.chw.core.fragment.FamilyCallDialogFragment; import org.smartregister.chw.core.listener.OnClickFloatingMenu; import org.smartregister.chw.presenter.ChildProfilePresenter; public class ChildPro...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
/* * Copyright 2015 - 2019 TU Dortmund * * 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...
import java.awt.Dimension; import java.awt.Toolkit; public class ControlPanel extends javax.swing.JFrame { public ControlPanel() { initComponents(); Toolkit toolkit = getToolkit(); Dimension size = toolkit.getScreenSize(); setLocation(size.width/2-getWidth()/2,size.height/...
package pl.tkowalcz.tjahzi.logback; import ch.qos.logback.classic.Logger; import ch.qos.logback.classic.LoggerContext; import com.codahale.metrics.Counter; import com.codahale.metrics.MetricRegistry; import org.junit.jupiter.api.Test; import pl.tkowalcz.tjahzi.logback.infra.IntegrationTest; import pl.tkowalcz.tjahzi.l...
/* * ============LICENSE_START======================================================= * oom-certservice-client * ================================================================================ * Copyright (C) 2020 Nokia. All rights reserved. * ======================================================================...
package pl.databucket.server.service.data; public enum Operator { not("!"), and("and"), or("or"), equal("="), notEqual("<>"), greater(">"), greaterEqual(">="), less("<"), lessEqual("<="), isNotEmpty("!!"), in("in"), notIn("!in"), like("like"), notLike("!like"), similarTo("similar"), notSimilarTo(...
package org.robolectric.android.util.concurrent; import java.util.concurrent.Callable; import java.util.concurrent.Future; /** Utility class for running code off the main looper thread aka Robolectric test thread. */ public class BackgroundExecutor { private BackgroundExecutor() {} // use an inner class referen...
package seedu.address.model; import static java.util.Objects.requireNonNull; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Objects; import seedu.address.commons.core.GuiSettings; /** * Represents User's preferences. */ public class UserPrefs implements ReadOnlyUserPrefs { private Gu...
package com.example.zo.diara.RecyclableFunctions; import android.app.Activity; import android.app.Application; import android.content.Context; import android.widget.Toast; public class CustomToast extends Toast { /** * Construct an empty Toast object. You must call {@link #setView} before you * can ca...
package org.globsframework.metamodel; import org.globsframework.metamodel.links.impl.DefaultMutableGlobLinkModel; public class DummyModel { private static GlobModel globModel; private static GlobLinkModel globLinkModel; public static GlobModel get() { return globModel; } static { ...
/* * ******************************************************************************** * COPYRIGHT * PAX TECHNOLOGY, Inc. PROPRIETARY INFORMATION * This software is supplied under the terms of a license agreement or * nondisclosure agreement with PAX Technology, Inc. and may not be copied * or...
package com.blog.manager.dao; import com.blog.manager.pojo.BaseAdminRole; import tk.mapper.MyMapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface BaseAdminRoleMapper extends MyMapper<BaseAdminRole> { List<BaseAd...
package com.widget.noname.cola.adapter; import android.annotation.SuppressLint; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerV...
package net; import viaversion.viabackwards.api.entities.storage.EntityPositionStorage; public class ajD { public static void a(EntityPositionStorage var0, double var1, double var3, double var5, boolean var7) { var0.a(var1, var3, var5, var7); } }
package com.facebook.topface.tests; import java.io.FileNotFoundException; import java.io.IOException; import java.net.MalformedURLException; import org.json.JSONObject; import com.facebook.topface.AsyncFacebookRunner; import com.facebook.topface.DialogError; import com.facebook.topface.Facebook; import com.facebook....
/* This file was generated by SableCC (http://www.sablecc.org/). */ package soot.jimple.parser.node; import soot.jimple.parser.analysis.*; @SuppressWarnings("nls") public final class AModBinop extends PBinop { private TMod _mod_; public AModBinop() { // Constructor } public AModBinop( ...
/* * Copyright 2016 Goldman Sachs. * * 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 cn.hutool.core.io.watch; import cn.hutool.core.io.IoUtil; import cn.hutool.core.lang.Filter; import cn.hutool.core.util.ArrayUtil; import java.io.Closeable; import java.io.IOException; import java.io.Serializable; import java.nio.file.AccessDeniedException; import java.nio.file.ClosedWatchServiceException; im...
package br.unisinos.encodedecodestepbystep.domain; import br.unisinos.encodedecodestepbystep.repository.ReaderInterface; import br.unisinos.encodedecodestepbystep.repository.WriterInterface; import br.unisinos.encodedecodestepbystep.repository.codification.Reader; import br.unisinos.encodedecodestepbystep.repository.c...
package org.king.excooly.support; import org.king.excooly.support.poi.PropertyValueSerializationParameter; /** * 对象属性值序列化器。将对象属性序列化导Excel表格中。 * @author wangjw5 */ @FunctionalInterface public interface PropertyValueSerializer { /** * 序列化 * @param propertyValue 即将序列化的属性的值 * @param cell 目标单元格 * @param wb 单元...
package com.github.malitsplus.shizurunotes.data.action; import com.github.malitsplus.shizurunotes.R; import com.github.malitsplus.shizurunotes.common.I18N; import com.github.malitsplus.shizurunotes.utils.Utils; import com.github.malitsplus.shizurunotes.data.Property; public class SealAction extends ActionParameter { ...
/* * 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.oeadd.opencvonlyjava; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public vo...
/* * Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/* * Copyright 2012-2015 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...
/* * 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...
import java.util.*; public class insertion { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int a[]=new int[n]; for(int i=0;i<n;i++) { a[i]=sc.nextInt(); } for(int i=0;i<n;i++) { int temp=a[i]; int j=i; while(j>0 && temp< a[j-1]) { a[j]=a[j-1...
package org.apereo.openlrw.events.endpoint; import org.apache.commons.lang3.StringUtils; import org.apereo.openlrw.caliper.Event; import org.apereo.openlrw.events.service.EventService; import org.apereo.openlrw.oneroster.service.OrgService; import org.apereo.openlrw.security.auth.JwtAuthenticationToken; import org.ape...
/** * The MIT License * Copyright (c) 2018 Estonian Information System Authority (RIA), * Nordic Institute for Interoperability Solutions (NIIS), Population Register Centre (VRK) * Copyright (c) 2015-2017 Estonian Information System Authority (RIA), Population Register Centre (VRK) * * Permission is hereby grante...
/* * 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 ...
// PUT_VREP_REMOTEAPI_COPYRIGHT_NOTICE_HERE package com.coppelia; @SuppressWarnings("ALL") public class FloatW { float w; public FloatW(float f) { w = f; } public float getValue() { return w; } public void setValue(float i) { w = i; } }
package boomflow.log; import java.math.BigInteger; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import conflux.web3j.response.Log; /** * EventLogHandler is a log handler for boomflow events. */ public interface EventLogHandler extends BaseEventLogHandler { @Override default List...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.prelude.query.parser.test; import com.yahoo.language.Language; import com.yahoo.prelude.Index; import com.yahoo.prelude.IndexFacts; import com.yahoo.prelude.IndexModel; import com.ya...
package com.github.aiosign.module.response; import com.github.aiosign.base.AbstractSignResponse; import com.github.aiosign.base.BaseSignObject; import lombok.Data; import lombok.EqualsAndHashCode; /** * 模板锁定或解锁返回结果 */ @EqualsAndHashCode(callSuper = true) @Data public class TemplateUnlockResponse extends AbstractSig...
/* * 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.hao.shirojwt.annotation.enums; public enum LimitType { /** * 传统类型 */ CUSTOMER, /** * 根据 IP地址限制 */ IP }
/*------------------------------------------------------------------------- * * Copyright (c) 2004-2008, PostgreSQL Global Development Group * * IDENTIFICATION * $PostgreSQL: pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java,v 1.52 2009/07/01 05:00:40 jurka Exp $ * *--------------------------------------------...
package com.senior.fsw.mboy.web.rest.errors; import io.github.jhipster.web.util.HeaderUtil; import org.springframework.beans.factory.annotation.Value; import org.springframework.dao.ConcurrencyFailureException; import org.springframework.http.ResponseEntity; import org.springframework.validation.BindingResult; import...
package com.oltruong.teamag.utils; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import static junit.framework.TestCase.fail; import static org.assertj.core.api.Assertions.as...
/* * This file is part of Mixin, 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 "Software...
package org.hmhb.exception; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.annotation.AnnotationUtils; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.Response...
package com.winsun.fruitmix.equipment.manage.model; /** * Created by Administrator on 2017/10/17. */ public class EquipmentMemory { private long totalMemorySize; private long freeMemorySize; private long availableMemorySize; public long getTotalMemorySize() { return totalMemorySize; } ...
/* * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/** * Copyright (C) 2015 Red Hat, 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...
/******************************************************************************* * Copyright 2010 Sam Steele * * 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 dev.jeka.core.api.crypto.gpg.embedded.bc; import dev.jeka.core.api.crypto.gpg.JkGpgTest; import dev.jeka.core.api.file.JkPathFile; import dev.jeka.core.api.utils.JkUtilsIO; import dev.jeka.core.tool.JkConstants; import org.junit.Test; import java.io.InputStream; import java.nio.file.Paths; @SuppressWarnings(...
package designpattern.structural.facade; public class FacadeDemo { public static void main(String[] args) { Facade facade = new Facade(); facade.obj1Method(); facade.obj2Method(); } }
/** * Copyright (c) 2011-2015, James Zhan 詹波 (jfinal@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...
// // $Id$ package com.threerings.bang.editor; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JPanel; import javax.swing.event.ChangeEvent; import javax...
package id.my.berviantoleo.ecceg_rsa_app.fragment; import android.os.AsyncTask; import android.os.Bundle; import android.os.Environment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; import androidx.annotation.NonNull; import androidx.fragme...
package com.example.yeol.daggertest.ui.base; import android.app.ProgressDialog; import android.content.Context; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.Snackbar; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatAc...
/* * Copyright (C) 2014-2015 NOIT, School a-apps 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 ap...
package ru.stqa.pft.addressbook.generators; import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter; import com.beust.jcommander.ParameterException; import com.thoughtworks.xstream.XStream; import ru.stqa.pft.addressbook.model.GroupData; import java.io.File; import java.io.FileWriter; import jav...
/** * */ /** * @author neo * */ package cn.netkiller.process;
/* * Copyright 2003-2012 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...
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2014 Dirk Beyer * 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...
package cn.hkxj.platform.pojo; import lombok.Data; import java.util.List; /** * @author Yuki * @date 2019/8/1 19:56 */ @Data public class GradeSearchResult { private List<UrpGradeAndUrpCourse> data; private boolean update; public GradeSearchResult(){ } public GradeSearchResult(List<UrpGra...
package org.swellrt.server.ds; import com.google.inject.Inject; import com.google.inject.Singleton; import org.apache.commons.codec.binary.Base64; import org.waveprotocol.wave.util.logging.Log; import java.io.BufferedInputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.ut...
package fr.lteconsulting.pomexplorer; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import org.jgrapht.traverse.TopologicalOrderIterator; import fr.lteconsulting.autothreaded.AutoThreaded; import fr.lteconsulting....
package com.tianyu.android.spotifystreamer; import android.app.Activity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; import com.squareup.picasso.Picasso; import com.tia...
package seedu.address.model; import static java.util.Objects.requireNonNull; import java.util.HashMap; import java.util.Map; /** * Represents shortcuts stored by the user */ public class Shortcut implements ReadOnlyShortcut { private HashMap<String, String> shortcutMap; public Shortcut() { shortc...
// Copyright (c) 2003-present, Jodd Team (http://jodd.org) // 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, // th...
/* * Copyright 2013-2016 Sergey Ignatov, Alexander Zolotov, Florin Patan * * 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 req...
package com.rafael.estudos.springboot.service; import java.util.List; import java.util.stream.Collectors; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.DataIntegrityViolationException; import org.springframework.data.domain.Page; import org.springframework.data.domain.P...
package com.flyingrhenquest.JmeterThreadSync; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case *...
package org.corfudb.infrastructure.log; import lombok.Getter; import lombok.ToString; import lombok.extern.slf4j.Slf4j; import org.corfudb.protocols.logprotocol.CheckpointEntry; import org.corfudb.protocols.wireprotocol.LogData; import org.corfudb.runtime.view.stream.StreamAddressSpace; import org.corfudb.runtime.view...
/* * Copyright 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, Vers...
package com.xrtb.tools; import java.io.BufferedReader; import java.io.FileReader; import java.util.HashMap; import java.util.Map; import com.xrtb.blocks.LookingGlass; /** * A class to create a map to look up 2 char ISO country codes and return 3 char country codes. * @author Ben M. Faul * */ public class IsoTwo2...
package soot.compat.jei; import mezz.jei.api.IGuiHelper; import mezz.jei.api.IJeiHelpers; import mezz.jei.api.IModPlugin; import mezz.jei.api.IModRegistry; import mezz.jei.api.recipe.IRecipeCategoryRegistration; import net.minecraft.item.ItemStack; import soot.Registry; import soot.compat.jei.category.AlchemicalMixerC...
package io.vivy.logger; import lombok.val; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.slf4j.MDC; import java.util.Map; import java.util.concurrent.CountDownLatch; import java.util.concurren...
/** * 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.xlate.edi.internal.stream.tokenization; import java.io.InputStream; public interface ElementDataHandler { void elementData(char[] text, int start, int length); void binaryData(InputStream binary); }
/* * Copyright 2016 __0x277F <0x277F@gmail.com> * and other copyright owners as documented in the project's IP log. * * Licensed under the Apache License, Version 2.0 (the "License&quot; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
package org.ripple.bouncycastle.openpgp; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.security.NoSuchProviderException; import java.security.Provider; import java.security.SignatureException; import org.ripple.bouncycastle.bcpg.BCPGInputStream; import org....
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 // 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.06.12 at 09:16:3...
package com.ax.manager.controller.system; import com.ax.manager.dto.PermissionDTO; import com.ax.manager.pojo.BaseAdminPermission; import com.ax.manager.pojo.BaseAdminUser; import com.ax.manager.response.PageDataResult; import com.ax.manager.service.AdminPermissionService; import org.apache.shiro.SecurityUtils; impor...
/* * Copyright 2016-present Facebook, 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...
package com.atguigu.gmall.oms.dao; import com.atguigu.gmall.oms.entity.OrderReturnReasonEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 退货原因 * * @author weizhao * @email 1792926301@qq.com * @date 2020-01-02 13:04:26 */ @Mapper public interface ...
package com.smartsheet.api; /* * #[license] * Smartsheet SDK for Java * %% * Copyright (C) 2014 Smartsheet * %% * 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...
/* * Copyright (C) 2012-2019 DuyHai DOAN * * 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.vn.ntesco.utils; public class LocationData { private String city, country, pincode, full_address; public String getCity() { return city; } public void setCity(String city) { this.city = city; } public String getCountry() { return country; } public...
/* * Copyright 2014 Akexorcist * * 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 w...
/** * MIT License * Copyright (c) 2018 chuming.chen * 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, modify, ...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
package com.googlecode.totallylazy.xml; import com.googlecode.totallylazy.functions.Function1; @java.lang.annotation.Target(java.lang.annotation.ElementType.METHOD) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) public @interface XPathFunction { java.lang.String value(); class ...
/* * Copyright 2011-2016 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...
/* * 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 (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package versioned.host.exp.exponent.modules.api.netinfo; public class NetInfoUtils { public static void reverseByteArray(byte[...
/* * 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 ...
/* * 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...
package by.bsu.example.locales; import by.bsu.example.controller.SessionParamName; import javax.servlet.http.HttpServletRequest; import java.util.Locale; public class LocaleController { private volatile static LocaleController instance=null; private LocaleController(){} public static LocaleController...
/* * The MIT License (MIT) * * Copyright (c) 2020-2030 The XdagJ Developers * * 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 righ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__byte_max_multiply_54b.java Label Definition File: CWE190_Integer_Overflow.label.xml Template File: sources-sinks-54b.tmpl.java */ /* * @description * CWE: 190 Integer Overflow * BadSource: max Set data to the max value for byte * GoodSource: A h...
package com.codepath.apps.restclienttemplate.models; import androidx.room.ColumnInfo; import androidx.room.Entity; import androidx.room.PrimaryKey; import org.json.JSONException; import org.json.JSONObject; import org.parceler.Parcel; import java.util.ArrayList; import java.util.List; @Parcel @Entity public class U...