text
stringlengths
7
995k
/*- * Copyright (C) 2002, 2018, Oracle and/or its affiliates. All rights reserved. * * This file was distributed by Oracle as part of a version of Oracle Berkeley * DB Java Edition made available at: * * http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html * * Please ...
package io.basestar.schema; /*- * #%L * basestar-schema * %% * Copyright (C) 2019 - 2020 Basestar.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....
package datastructure.basicAlgorism; import java.util.Scanner; public class Min4 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("네 정수의 최소값을 구합니다."); System.out.println("a의 값 : "); int a = sc.nextInt(); System.out.println("b의 값 : "); int b = sc.nextI...
/* * 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 ...
/* Generic definitions */ /* Assertions (useful to generate conditional code) */ /* Current type and class (and size, if applicable) */ /* Value methods */ /* Interfaces (keys) */ /* Interfaces (values) */ /* Abstract implementations (keys) */ /* Abstract implementations (values) */ /* Static containers (keys) */ /...
/*=========================================================================== * Licensed Materials - Property of IBM * "Restricted Materials of IBM" * * IBM SDK, Java(tm) Technology Edition, v8 * (C) Copyright IBM Corp. 2003, 2011. All Rights Reserved * * US Government Users Restricted Rights - Use, duplication...
package com.caseystella.vectopia.frequency; import com.google.common.base.Splitter; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import org.apache.spark.api.java.JavaPairRDD; import org.apache.spark.api.java.JavaSparkContext; import org.apache.spark.api.java.function.Flat...
package com.autuan.common.exception.user; /** * 用户错误记数异常类 * * @author ruoyi */ public class UserPasswordRetryLimitCountException extends UserException { private static final long serialVersionUID = 1L; public UserPasswordRetryLimitCountException(int retryLimitCount) { super("user.password.ret...
package com.salesianostriana.dam.RealEstateV2.users.dto.propietario; import com.salesianostriana.dam.RealEstateV2.users.dto.usuario.GetUsuarioDto; import com.salesianostriana.dam.RealEstateV2.vivienda.dto.GetViviendaPropietarioDto; import lombok.*; import lombok.experimental.SuperBuilder; import java.util.ArrayList; ...
package cn.sharesdk.demo.entity; import android.content.Context; import cn.sharesdk.demo.R; /** * Created by yjin on 2017/5/16. */ public class ShareInEntityManager { public static ShareListItemInEntity createYanShi(Context mContext){ ShareListItemInEntity entity = new ShareListItemInEntity(); entity.setNam...
/* * Copyright 2018 JDCLOUD.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 applicable law or agreed to in...
package com.spun.util.tests; import com.spun.util.MySystem; public final class TimeOut implements Runnable { private long time; /***********************************************************************/ public TimeOut(long time) { this.time = time; new Thread(this).start(); } /*******************...
package com.github.mikephil.charting.utils; import android.graphics.Matrix; import android.graphics.Path; import android.graphics.RectF; import com.github.mikephil.charting.data.BarData; import com.github.mikephil.charting.data.CandleEntry; import com.github.mikephil.charting.data.Entry; import java.util.List; /** ...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
import java.awt.Point; import java.text.DecimalFormat; import java.util.*; public class Polygon { private ArrayList<Point> points; private AreaCalculator areaCalc; public Polygon(ArrayList<Point> points) { if (points.size() == 3) { Polygon(points, (Polygon p) -> { double a = points.get(0).distance(points...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/** * @author <a href="mailto:novotny@gridsphere.org">Jason Novotny</a> * @version $Id$ */ package org.gridsphere.provider.portletui.beans; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.portlet.PortletResponse; import javax.portlet.PortletURL; import org.gridsphere.por...
package org.omg.IOP; /** * org/omg/IOP/ServiceContextListHelper.java . * Generated by the IDL-to-Java compiler (portable), version "3.2" * from /Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u211/12973/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl * Monday, April 1, 2019 8:55:05 PM PDT */ /** An...
package eu.neclab.ngsildbroker.subscriptionmanager.service; import java.io.ByteArrayInputStream; import java.io.DataInputStream; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Timer; import java.util.TimerTask; import org.apache.logging...
/* * Copyright (c) 2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * 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/...
/* * Copyright (c) 2020. https://rxmicro.io * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
/* * Copyright 2013-2018 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...
/** * Created by pacman on 11.06.17. * Allows formatting text. */ package ru.job4j.formatting;
/* * 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...
/** * MCS Media Computer Software * Copyright 2017 by Wilfried Klaas * Project: application * File: package-info.java * EMail: W.Klaas@gmx.de * Created: 31.12.2017 wklaa_000 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as publi...
/* * */ package com.synectiks.process.common.plugins.cef.parser; public class ParserException extends Exception { public ParserException(String msg) { super(msg); } public ParserException(String msg, Throwable throwable) { super(msg, throwable); } }
package cmps252.HW4_2.UnitTesting; import static org.junit.jupiter.api.Assertions.*; import java.io.FileNotFoundException; import java.util.List; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import cmps252.HW4_2....
/* * Copyright 2002-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.learnwiremock.service; import com.fasterxml.jackson.core.JsonProcessingException; import com.github.tomakehurst.wiremock.client.WireMock; import com.github.tomakehurst.wiremock.core.Options; import com.github.tomakehurst.wiremock.extension.responsetemplating.ResponseTemplateTransformer; import com.learnwi...
package com.zsdk.server.util; import java.lang.reflect.Field; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; /** * Created by zhj on 17/3/16. */ public class ObjectUtil { public static boolean isPropertyNull(Object obj) { if (obj == null){ retu...
/* * Copyright 2011-2017 Amazon Technologies, 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://aws.amazon.com/apache2.0 * * This file is distributed on an "AS IS" ...
package com.example.downloader.network; import okhttp3.ResponseBody; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Url; /** * Created by vivek on 03/12/17. */ public interface DownloadNetworkService { @GET Call<ResponseBody> downloadFileUrl(@Url String fileUrl); }
package stest.tron.wallet.dailybuild.tvmnewcommand.triggerconstant; import io.grpc.ManagedChannel; import io.grpc.ManagedChannelBuilder; import java.util.HashMap; import java.util.Optional; import java.util.concurrent.TimeUnit; import lombok.extern.slf4j.Slf4j; import org.junit.Assert; import org.testng.annotations.Af...
/** * Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U <br> * This file is part of FI-WARE project. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. * </p> * <p> * You may obtain a copy of the License at:<br> *...
package com.longpengz.tencentim.service.sns.modle; import com.longpengz.tencentim.bean.response.ImResponse; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.*; import lombok.experimental.SuperBuilder; @EqualsAndHashCode(callSuper = true) @Data @SuperBuilder @AllArg...
// Copyright 2015 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 org.chromium.chrome.test.util.browser; import android.text.TextUtils; import org.chromium.base.ThreadUtils; import org.chromium.chrome.browser.ta...
/* Copyright (C) GridGain Systems. 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 or...
package com.myblog.service; import com.myblog.model.IpLog; import com.myblog.model.Myreading; import javax.servlet.http.HttpServletRequest; /** * Created with IntelliJ IDEA. * User: Zephery * Time: 2017/9/26 18:32 * Description: */ public interface IAsyncService { /** * 异步记录ip * * @param ipLog ...
/* * Copyright 2012-2018 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...
@org.jresearch.gwt.time.apt.annotation.CldrLocale @org.jresearch.gwt.time.apt.annotation.CldrTime package org.jresearch.gwt.time.apt.data.client;
package ua.napps.scorekeeper.log; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompa...
/******************************************************************************* * Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies th...
package cc.oauth.jpa.service.impl; import cc.oauth.jpa.domain.Permission; import cc.oauth.jpa.domain.Role; import cc.oauth.jpa.domain.UserInfo; import cc.oauth.jpa.domain.view.PermissionView; import cc.oauth.jpa.domain.view.RoleView; import cc.oauth.jpa.repository.PermissionRepository; import cc.oauth.jpa.repository.R...
/* * Copyright 2011-2012 Amazon Technologies, 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://aws.amazon.com/apache2.0 * * This file is distributed on an "AS IS" ...
package wq.study.demo.designPattern.builderPattern; class ActorController { //逐步构建复杂产品对象 public Actor construct(ActorBuilder ab) { Actor actor; ab.buildType(); ab.buildSex(); ab.buildFace(); ab.buildCostume(); ab.buildHairstyle(); actor = ab.createAc...
package com.zftlive.android.library.tools; import java.io.File; import android.content.Context; import android.graphics.Bitmap; import com.zftlive.android.library.third.universalimageloader.cache.disc.impl.UnlimitedDiskCache; import com.zftlive.android.library.third.universalimageloader.cache.disc.naming.HashCodeFil...
/** * 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.eventhubs.v2018_01_01_preview.implementation; im...
package com.progframe.services; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.progframe.domain.Cliente; import com.progframe.repositories.ClienteRepository; import javassist.tools.rmi.ObjectNotFoundException; @Ser...
package nc.multiblock.container; import nc.multiblock.fission.FissionReactor; import nc.multiblock.fission.salt.tile.TileSaltFissionController; import nc.multiblock.fission.tile.IFissionPart; import nc.network.multiblock.FissionUpdatePacket; import net.minecraft.entity.player.EntityPlayer; public class ContainerSaltF...
/* * 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.ominidi.web.viewmodel; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.*; import java.util.HashMap; import java.util.Map; @Getter @Setter @NoArgsConstructor public class SeoViewModel { public Map<String, Page> pages = new HashMap<>(); public SeoViewModel(@NonNull Map<String, S...
/* * Original Copyright 2015 Mars Kwok * Modified work Copyright (c) 2020, weishu * * 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) 2008-2022, 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 ...
/* * Copyright (c) 2015, salesforce.com, 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 cond...
package edu.greenblitz.bigRodika.commands; import edu.greenblitz.bigRodika.RobotMap; import edu.greenblitz.bigRodika.exceptions.MotorPowerOutOfRangeException; import edu.greenblitz.bigRodika.subsystems.Chassis; import edu.greenblitz.bigRodika.subsystems.SwerveModule; import edu.greenblitz.bigRodika.commands.ArcDrive; ...
package cn.spring.jdbc.baseDemo; import java.util.List; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class MainApp { public static void main(String[] args) { ApplicationContext context = new ClassPathXmlApplicatio...
package com.linln.common.utils; import com.linln.common.enums.ResultEnum; import com.linln.common.vo.ResultVo; import com.linln.common.data.URL; /** * 响应数据(结果)最外层对象工具 * @author 小懒虫 * @date 2018/10/15 */ public class ResultVoUtil { public static ResultVo SAVE_SUCCESS = success("保存成功"); /** * 操作成功 ...
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.bogyo.freelancer.enums; public enum UserGroups { FREELANCER, ADMIN, SENDER }
/* Copyright (c) 2020 W.T.J. Riezebos * * 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.polydes.common.comp.colors; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Window; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.util.ArrayList; i...
package com.cn.mvparms.demo.app.utils; import android.text.TextUtils; import com.jess.arms.utils.LogUtils; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * @author 200179 * @version create time2013-3-14 下午2:37:...
/* * arcus-java-client : Arcus Java client * Copyright 2010-2014 NAVER 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 * * Unles...
package choices; import java.util.HashMap; import java.util.Map; /** * As of Spring 2017, PhantomJS is not supported anymore. * Since August 17, 2021 IE 11 is also not supported. */ public enum Browser { CHROME("chrome"), EDGE("edge"), FIREFOX("firefox"), OPERA("opera"); public final String la...
package mage.cards.w; import java.util.UUID; import mage.abilities.effects.common.AddCombatAndMainPhaseEffect; import mage.abilities.effects.common.UntapAllThatAttackedEffect; import mage.abilities.keyword.RetraceAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import...
/* * Copyright (c) 2018-2022 Leon Linhart, * All rights reserved. * MACHINE GENERATED FILE, DO NOT EDIT * * 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...
package org.xutils.sample.http; import com.jack.executor.Callback; import com.jack.http.annotation.HttpRequest; import com.jack.http.request.param.RequestParams; import java.util.ArrayList; import java.util.List; import org.xutils.sample.x; /** * Created by wyouflf on 16/1/23. */ @HttpRequest( host = Jso...
package soot.jimple.toolkits.pointer.util; /*- * #%L * Soot - a J*va Optimization Framework * %% * Copyright (C) 2003 Feng Qian * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundatio...
package seedu.address.logic.parser.budgetparsers; import static java.util.Objects.requireNonNull; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.logic.parser.CliSyntax.PREFIX_CATEGORY; import java.util.stream.Stream; import seedu.address.logic.commands.b...
/* * Copyright 2012-2014 eBay Software Foundation and selendroid committers. * * 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...
package com.lion328.namtium; import com.lion328.hydra.HydraSettings; import com.lion328.xenonlauncher.util.URLUtil; import java.net.MalformedURLException; import java.net.URL; public class Settings implements HydraSettings { private static Settings instance; private static final URL launcherBaseURL = URLUt...
package com.aspose.slides.examples.featurescomparison.slides.addbackground; import java.io.File; import java.io.FileInputStream; import com.aspose.slides.BackgroundType; import com.aspose.slides.FillType; import com.aspose.slides.IPPImage; import com.aspose.slides.PictureFillMode; import com.aspose.slides.Presentatio...
package de.haw_hamburg.vs_ws2015.spahl_haug.events_rest.dto; public class PlaceDTO { private String name; public PlaceDTO(){} public PlaceDTO(String name) { this.name = name; } public String getName() { return name; } }
package cn.edu.xmut.izhihu.pojo.request; import lombok.Data; /** * @Description: * @Author: qiuguanlin * @Date: 2019-07-06 18:39 * @Version: 1.0 */ @Data public class CreateFavoriteRequest { private String userId; private String name; private String describes; private int isPublic; }
package br.com.zupacademy.guilherme.proposta.validation; import br.com.zupacademy.guilherme.proposta.exception.ApiErrorException; import org.springframework.http.HttpStatus; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.validation.ConstraintValidator; import javax.v...
package com.kahzerx.kahzerxmod.extensions.discordExtension.discordWhitelistExtension; import com.kahzerx.kahzerxmod.extensions.ExtensionSettings; import java.util.List; public class DiscordWhitelistSettings extends ExtensionSettings { private List<Long> whitelistChats; private long discordRoleID; private...
/* * Copyright (c) 2017, 2018 Oracle Corporation and/or its affiliates. All rights reserved. * * The contents of this file are subject to the Apache License Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * If a copy of the Apache License Version 2.0 was not distribu...
public class CSE111Student extends Student{ public String msg= "I love java programming " ; public String shout(){ return msg; } }
package com.print_stack_trace.voogasalad.controller.guiElements.gameObjects; import com.print_stack_trace.voogasalad.controller.guiElements.gameAuthor.ViewObjectDelegate; import com.print_stack_trace.voogasalad.model.GoalCharacteristics; import com.print_stack_trace.voogasalad.model.SpriteCharacteristics; import com.p...
/** * Copyright 2013 Douglas Campos, and individual 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 requi...
/** * 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 distributed under ...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package br.ufes.informatica.recyclo.core.persistence; import java.util.Collection; import java.util.List; import javax.ejb.Local; import br.ufes.inf.nemo.jbutler.ejb.persistence.BaseDAO; import br.ufes.informatica.recyclo.core.domain.Municipio; import br.ufes.informatica.recyclo.core.domain.Oferta; /** TODO: genera...
/* * #%L * Alfresco Records Management Module * %% * Copyright (C) 2005 - 2019 Alfresco Software Limited * %% * This file is part of the Alfresco software. * - * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * p...
package java8.chap5; import java.util.Arrays; import java.util.List; import static java.util.stream.Collectors.toList; /** * Created by raoul-gabrielurma on 14/01/2014. */ public class Laziness { public static void main(String[] args) { List<Integer> numbers = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8); ...
/* 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.squareup.timessquare; public final class R { public static final class attr { /** <p>Must be a reference to anoth...
/* * 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 ...
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2012 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 ex3; /** * * @author marco */ public class Ex3 { public static void main(String[] args) { MinhaListaEncadeada li = new MinhaListaEncadeada(); //Inserir valores de 1 a 6 li.inserirN_elementos(6); //Inserir 10 no final li.inserirFinal(10); ...
public class Solution { public int majorityElement(int[] nums) { Map<Integer, Integer> map = new HashMap<>(); for (int i = 0; i < nums.length; i++) { if (map.containsKey(nums[i])) { map.put(nums[i], map.get(nums[i]) + 1); } else { map.put(nums[i], 1); } } int l...
package co.moonmonkeylabs.realmsearchview; import android.content.Context; import android.content.res.TypedArray; import android.os.Handler; import android.text.Editable; import android.text.TextWatcher; import android.util.AttributeSet; import android.widget.LinearLayout; import android.widget.TextView; import co.mo...
package fr.polytech.reversi.model.boardgame; /** * This class represents a position. * * @author DELORME Loïc * @since 1.0.0 */ public class Position { /** * The x coordinate. */ private final int x; /** * The y coordinate. */ private final int y; /** * Create a position. * * @param x * ...
package org.gradle.test.performance.mediummonolithicjavaproject.p451; import org.gradle.test.performance.mediummonolithicjavaproject.p450.Production9000; import org.gradle.test.performance.mediummonolithicjavaproject.p450.Production9013; public class Production9027 { private Production9000 property0; ...
package io.honeycomb.examples.frontend_java; import java.io.IOException; import java.net.URISyntaxException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import io.opentelem...
/* * 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 org.contentmine.norma.sections; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.LogManager; import org.contentmine.graphics.html.HtmlCaption; import org.contentmine.graphics.html.HtmlElement; import nu.xom.Element; /** * * @author pm286 * <caption> <p>The antimicrobial activity o...
package edu.harvard.iq.dataverse; import edu.harvard.iq.dataverse.harvest.client.HarvestingClient; import edu.harvard.iq.dataverse.authorization.DataverseRole; import edu.harvard.iq.dataverse.search.savedsearch.SavedSearch; import edu.harvard.iq.dataverse.util.BundleUtil; import java.util.ArrayList; import java.util.H...
package br.unb.cic.mase.agents; import jadex.commons.future.IFuture; public interface IDeliberately { public IFuture<Void> deliberate(boolean drySeason); public int getPositionX(); public int getPositionY(); public int getType(); }
package com.javarush.task.task28.task2811; import java.util.Map; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; public class ReadWriteMap<K, V> { private final Map<K, V> map; private final ReadWriteLock lock = ...
package com.tifa.framework.web.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.tifa.framework.web.pojo.*; import com.tifa.framework.web.service.impl.*; impo...