text
stringlengths
7
1.01M
/** * 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...
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
/* * This file is part of adventure, licensed under the MIT License. * * Copyright (c) 2017-2020 KyoriPowered * * 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, inc...
package com.arjstack.tech.dto.responses; import java.util.List; import com.arjstack.tech.dto.UserDto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; @ApiModel(value = "User List Response") @Getter @Setter public class UserListDto {...
package br.ufc.sma.contractnet; import jade.core.AID; import jade.core.Agent; import jade.domain.DFService; import jade.domain.FIPAException; import jade.domain.FIPAAgentManagement.DFAgentDescription; import jade.domain.FIPAAgentManagement.ServiceDescription; import java.util.ArrayList; import java.util.List; import...
/* * Copyright (C) 2017 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 problems.java.recursion; import java.util.*; import java.util.stream.Collectors; public class WordBreak { // See also: https://www.youtube.com/watch?v=hLQYQ4zj0qg&ab_channel=GeeksforGeeks static Map<String,List<String>> wordBreak(List<String> input) { Set<String> dictionary = new HashSe...
package com.wlgdo.avatar.dubbo.service; import com.wlgdo.avatar.dubbo.common.PageInfo; import com.wlgdo.avatar.dubbo.response.Result; public interface IUserService<T> { Result<T> getUser(); PageInfo getList(int pageIndex, int pageSize); Object addCsdnUserAccount(); }
/* * 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.coolweather.app.model; //实体类 County public class County { private int id; private String countyName; private String countyCode; private int cityId; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getCountyName() { return countyName; } public voi...
package com.io.routesapp.ui.login; import android.app.Activity; import androidx.lifecycle.Observer; import androidx.lifecycle.ViewModelProviders; import android.content.Intent; import android.os.Bundle; import androidx.annotation.Nullable; import androidx.annotation.StringRes; import androidx.appcompat.app.AppCompa...
package com.tfc.smallerunits.utils.world.server; import com.tfc.smallerunits.registry.Deferred; import com.tfc.smallerunits.utils.ExternalUnitInteractionContext; import net.minecraft.block.BlockState; import net.minecraft.util.Direction; import net.minecraft.util.concurrent.DelegatedTaskExecutor; import net.minecraft....
package ltd.newbee.mall.dao; import ltd.newbee.mall.entity.MallUser; import ltd.newbee.mall.util.PageQueryUtil; import org.apache.ibatis.annotations.Param; import java.util.List; public interface MallUserMapper { int deleteByPrimaryKey(Long userId); int insert(MallUser record); int insertSelective(Mall...
public static String getMD5Str(String source) { String s = null; char hexDigits[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' }; try { java.security.MessageDigest md = java.security.MessageDigest.getInstance("MD5"); md.update(sou...
/* * Copyright (C) 2016 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 misc; import java.util.Random; import java.util.Map; import java.util.EnumMap; import rescuecore2.config.Config; import rescuecore2.standard.entities.Building; import rescuecore2.standard.entities.Human; import rescuecore2.standard.entities.AmbulanceTeam; import rescuecore2.standard.entities.FireBrigade; imp...
package eu.cloudopting.web.rest; import java.io.IOException; import java.io.InputStream; import javax.inject.Inject; import javax.jcr.Node; import javax.jcr.RepositoryException; import javax.jcr.Session; import org.apache.commons.lang3.StringUtils; import org.apache.jackrabbit.commons.JcrUtils; import org.slf4j.Logg...
/** * Copyright 2010-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
package com.aca.project.model; import java.math.BigDecimal; public class Car { private Make make; private String interiorColor; private boolean cruiseControl; private boolean rearCamera; private boolean navigationSystem; private String color; private int mileage; private BigDecimal price; private i...
/* * 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.ccclubs.message.business.realtime.status; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.ccclubs.common.util.DateTimeUtil; import com.ccclubs.common.util.GeohashUtil; import com.ccclubs.common.util.PropertiesHelper; import com.ccc...
/* * Copyright (c) 2008-2011 by Jan Stender, * Zuse Institute Berlin * * Licensed under the BSD License, see LICENSE file for details. * */ package org.xtreemfs.mrc.operations; import org.xtreemfs.common.ReplicaUpdatePolicies; import org.xtreemfs.foundation.logging.Logging; import org.xtreemfs.fou...
package leetcode_problems.easy; public class DefangingIPAddress_1108 { public String defangIPaddr(String address) { return address.replace(".", "[.]"); } }
package cn.com.tsjx.region.service.impl; import javax.annotation.Resource; import org.springframework.stereotype.Service; import cn.com.tsjx.common.dao.BaseDao; import cn.com.tsjx.common.service.BaseServiceImpl; import cn.com.tsjx.region.dao.RegionDao; import cn.com.tsjx.region.entity.Region; import cn.com...
/* * 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...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package o; import android.graphics.DashPathEffect; public class li { public li() { // 0 0:aload_0 // 1 1:invokespecial #19 <...
package com.crestech.pages.androidpage.paytransfer; import static io.appium.java_client.touch.LongPressOptions.longPressOptions; import static io.appium.java_client.touch.offset.ElementOption.element; import static io.appium.java_client.touch.offset.PointOption.point; import static java.time.Duration.ofSeconds; import...
package Lustre; import java.util.ArrayList; import java.util.HashMap; import java.util.Hashtable; import parsing.Token; import parsing.Tokenizer; public class NodeCall extends Primitive{ public ArrayList<Primitive> pars = new ArrayList<Primitive>(); public Token name; public int parse(int cnt, Ar...
/* * 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) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.resourcemanager; import com.azure.core.credential.TokenCredential; import com.azure.core.http.HttpClient; import com.azure.core.http.HttpPipeline; import com.azure.core.http.policy.HttpLogOptions; import ...
package com.github.center.service; import cn.hutool.crypto.SecureUtil; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.github.center.aspect.RegisterAspect; import com.github.center.entity.UcenterMember; import com.github...
package org.tongrenlu.domain; public class FileBean extends DtoBean { /** * */ private static final long serialVersionUID = 1L; private Integer articleId = null; private String name = null; private String extension = null; private String contentType = null; ...
/** * 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) 2017 Anupam Das * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
package com.caucho.hessian.test; import com.caucho.hessian.io.*; import com.caucho.hessian.server.HessianServlet; import java.io.*; import java.util.*; /** * The test service is a Hessian 2.0 protocol test for developers of * Hessian 2.0 clients. For a new client the recommended order is: * * <ul> * <li>methodN...
/* * 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.thirtydegreesray.openhub.util; import android.app.Activity; import android.support.annotation.StyleRes; import com.thirtydegreesray.openhub.R; import com.thirtydegreesray.openhub.ui.activity.SplashActivity; import com.thirtydegreesray.openhub.ui.activity.base.BaseActivity; /** * Created on 2017/10/30 ...
package com.gmall.generator.domain; import javax.validation.constraints.NotBlank; import com.gmall.common.core.domain.BaseEntity; import com.gmall.common.utils.StringUtils; /** * 代码生成业务字段表 gen_table_column * * @author ruoyi */ public class GenTableColumn extends BaseEntity { private static final long serialV...
/** * Copyright 2011-2017 Asakusa Framework Team. * * 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...
/** * Generated Code - Do Not Edit */ package com.microsoft.cyclecloud.model; import java.util.Arrays; import java.util.List; import java.util.Map; import java.io.IOException; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson...
package com.panly.urm.right.aop; import java.lang.reflect.Method; import javax.annotation.PostConstruct; import org.apache.commons.lang3.StringUtils; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.After; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; impo...
/* * Copyright (c) 1998-2020 John Caron and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.internal.ncml; import java.io.IOException; import java.io.StringReader; import java.lang.invoke.MethodHandles; import org.junit.Test; import org.slf4j.Logger...
/* * Copyright 2017 Zhihu Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * Copyright 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...
package net.minecraft.client.gui; import java.io.IOException; import net.minecraft.client.Minecraft; import net.minecraft.client.audio.PositionedSoundRecord; import net.minecraft.client.audio.SoundCategory; import net.minecraft.client.audio.SoundHandler; import net.minecraft.client.renderer.GlStateManager; import net....
// 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 com.intellij.openapi.editor; import com.intellij.openapi.application.ex.PathManagerEx; import com.intellij.openapi.editor.ex.EditorEx; import com.intellij.openapi.editor....
/* * 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 u...
/* * Copyright (c) 1998 World Wide Web Consortium, (Massachusetts Institute of * Technology, Institut National de Recherche en Informatique et en * Automatique, Keio University). * All Rights Reserved. http://www.w3.org/Consortium/Legal/ */ package org.w3c.dom.html; import org.w3c.dom.*; /** * The ...
/** * ActivityGroup.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201508; /** * Activities are organized within activity groups, which are sets * of activities that share the * same c...
package ma.computime.microservicetag.proxy; import ma.computime.microservicetag.bean.NewTagBean; import ma.computime.microservicetag.bean.mDataBean; import org.springframework.cloud.netflix.ribbon.RibbonClient; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostM...
package com.vaadin.tutorial.crm.ui; import com.vaadin.flow.component.grid.Grid; import com.vaadin.flow.component.orderedlayout.VerticalLayout; import com.vaadin.flow.router.Route; import com.vaadin.tutorial.crm.backend.entity.Company; import com.vaadin.tutorial.crm.backend.entity.Contact; import com.vaadin.tutorial.cr...
/* * GridGain Community Edition Licensing * Copyright 2019 GridGain Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause * Restriction; you may not use this file except in compliance with the License. You may obtain a * c...
// Generated by OABuilder package test.xice.tsac3.model.oa; import java.sql.*; import com.viaoa.object.*; import com.viaoa.remote.OARemoteThreadDelegate; import com.viaoa.hub.*; import com.viaoa.util.*; import com.viaoa.annotation.*; import com.viaoa.util.OADateTime; import test.xice.tsac3.model.oa.filter.*; import ...
class Solution { public List<List<Integer>> XXX(int[] nums) { int len = nums.length; List<List<Integer>> list =new ArrayList<List<Integer>>(); if(len<3) return list; Arrays.sort(nums); int f=0; while(f<len-2){ if(nums[f]+nums[f+1]>0) break; in...
package org.godot.utilities.project; import org.godot.utilities.core.VideoDriver; import org.godot.utilities.project.resources.ProjectResource; import org.godot.utilities.project.scene.Scene; import org.jetbrains.annotations.Nullable; public interface IProjectInfo { /** * Get project title name. * <p> * This ...
/* * 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 2014 - 2021 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...
/* * Copyright (c) 2020, 2021, NECSTLab, Politecnico di Milano. 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 * noti...
package com.firenay.mall.ware.service.impl; import com.alibaba.fastjson.TypeReference; 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.firenay.common.enume.OrderStatus...
package com.xtoon.boot.infrastructure.persistence.mybatis.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.xtoon.boot.infrastructure.persistence.mybatis.entity.SysRolePermissionDO; import org.apache.ibatis.annotations.Mapper; import java.util.List; /** * 角色权限关联Mapper * * @author haoxin ...
/* * Copyright 2012 The Netty Project * * The Netty 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.0 * * Unless ...
package com.singularitycoder.simpleroomdb; 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 ...
/** * Token的类型 */ public enum TokenType { Plus, //+ Minus, Star, Slash, GE, GT, EQ, LE, LT, SemiColon, LeftParen, RightParen, Assignment, If, Else, Int, Identifier, IntLiteral, StringLiteral }
/* * 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 ...
// The MIT License (MIT) // // Copyright © 2016, Raphael Cohn <raphael.cohn@stormmq.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitatio...
package authoringEnvironment.backend.gameBuilder; import gameEngine.ModelImplementations.*; import playerEnvironment.controller.AnimationManager; /** * @author: Shenghong Zhao * This is a simple extension from gameEngine/GameCharacter with some simple add-ons */ public class GameCharacterBuilder extends GameCharac...
/** * 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) 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 edu.wpi.first.math; public final class MathUtil { private MathUtil() { throw new AssertionError("utility ...
package com.nightonke.blurlockview.Eases; /** * Created by Weiping on 2016/3/3. */ public class EaseInBack extends CubicBezier { public EaseInBack() { init(0.6, -0.28, 0.735, 0.045); } }
package de.charite.compbio.jannovar.filter; import java.util.ArrayList; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.common.collect.ImmutableList; import de.charite.compbio.jannovar.JannovarFilterCommandLineParser; import de.charite.compbio.jannovar.io.ReferenceDictionary; import de.ch...
/** * The MIT License (MIT) * * MSUSEL CodeTree * Copyright (c) 2015-2017 Montana State University, Gianforte School of Computing, * Software Engineering Laboratory * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwa...
module alttpj.library { requires java.logging; requires java.desktop; exports io.github.alttpj.library.compress; exports io.github.alttpj.library.i18n; exports io.github.alttpj.library.image; exports io.github.alttpj.library.image.palette; }
package com.wangert.vhw.controller; import com.wangert.vhw.service.VulnerabilityService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapp...
/* * Copyright 2014 Alexey Andreev. * * 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 textgen; import static org.junit.Assert.*; import java.util.LinkedList; import org.junit.Before; import org.junit.Test; /** * @author UC San Diego MOOC team * */ public class MyLinkedListTester { private static final int LONG_LIST_LENGTH =10; MyLinkedList<String> shor...
/* * Copyright 2000-2017 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...
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.engine.view.calcnode; import com.opengamma.engine.view.cache.ViewComputationCache; /** * */ public interface CalculationNode { ViewComputationCache ge...
package net.minecraft.block; import com.google.common.collect.ImmutableMap; import java.util.Map; import java.util.Random; import java.util.function.Function; import java.util.stream.Collectors; import javax.annotation.Nullable; import net.minecraft.item.BlockItemUseContext; import net.minecraft.state.BooleanProperty;...
/* Generated By:JavaCC: Do not edit this line. Token.java Version 5.0 */ /* JavaCCOptions:TOKEN_EXTENDS=,KEEP_LINE_COL=null,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ /** * Describes the input token stream. */ public class Token implements java.io.Serializable { /** * The version identifier for this Serializable ...
/* * 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 ...
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package info.itsthesky.disky.skript.events.voice; import ch.njol.skript.registrations.EventValues; import ch.njol.skript.util.Getter; import info.itsthesky.disky.tools.events.DiSkyEvent; import info.itsthesky.disky.tools.events.SimpleDiSkyEvent; import net.dv8tion.jda.api.JDA; import info.itsthesky.disky.tools.object....
// "Replace the loop with 'Collection.removeIf'" "true" import java.util.*; public class Main { public void removeEmpty(List<String> list) throws Exception { // Presumably CopyOnWriteArrayList list.removeIf(String::isEmpty); } }
package org.bsoftware.ward.dto; import lombok.Getter; import lombok.Setter; /** * InfoDto is a container for other info objects * * @author Rudolf Barbu * @version 1.0.1 */ @Getter @Setter public class InfoDto { /** * Processor info dto field */ private ProcessorDto processor; /** * ...
package com.alexandrofs.gfp.domain.fixed; public enum ModalidadeEnum { CDB("CDB"), LCI("LCI"), TESOURO("Tesouro Direto"); private String descricao; private ModalidadeEnum(String descricao) { this.descricao = descricao; } public String getDescricao() { return descricao; } }
/* Link para questão: https://iudex.io/problem/5b8886443f792000014acf1d/statement */ import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); String firstLine = input.nextLine(); Matriz a = createrNew(Integer.parseInt(f...
package ru.job4j.array; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; public class ArrayDuplicateTest { @Test public void whenRemoveDuplicatesThenArrayWithoutDuplicate() { ArrayDuplicate arrayDuplicate = new ArrayDuplicate(); String[]...
/* * Copyright (c) 2002-2020 Gargoyle Software 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 ...
/** * 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.chobocho.game.input; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import com.chobocho.game.BoardProfile; import com.chobocho.minesweeper.MineSweeper; public class GameOverState extends State { ...
package com.example.caridesain.data; import com.example.caridesain.data.model.LoggedInUser; import java.io.IOException; /** * Class that handles authentication w/ login credentials and retrieves user information. */ public class LoginDataSource { public Result<LoggedInUser> login(String username, String passw...
package com.github.appreciated.example; import com.vaadin.flow.component.UI; import com.vaadin.flow.component.button.Button; import com.vaadin.flow.router.Route; @Route(value = "view2", layout = AppLayoutWrapperView.class) public class View2 extends AbstractView { public View2() { // Navigate to content ...
/* * Copyright (c) 2021 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectWriter; import com.fasterxml.jackson.databind...
package no.nav.foreldrepenger.info.app.tjenester; import java.util.List; import java.util.Optional; import javax.enterprise.context.Dependent; import javax.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import no.nav.foreldrepenger.info.MottattDokument; import no.nav.foreldrepenger.info.app...
/* * This file is part of choco-solver, http://choco-solver.org/ * * Copyright (c) 2020, IMT Atlantique. All rights reserved. * * Licensed under the BSD 4-clause license. * * See LICENSE file in the project root for full license information. */ package org.chocosolver.solver.constraints.nary.nvalue.amnv.rules; ...
/** * This file is a component of Quartz Powered, this license makes sure any work * associated with Quartz Powered, must follow the conditions of the license included. * * The MIT License (MIT) * * Copyright (c) 2015 Quartz Powered * * Permission is hereby granted, free of charge, to any person obtaining a cop...
package com.osystem.mall.coupon.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.osys...
package org.apache.solr.schema; /* * 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...
/* * 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 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...