text
stringlengths
7
995k
package File; import java.io.File; /* File判断功能的方法: 1. public boolean exits():此File表示的文件或目录是否实际存在 存在则返回true,否则返回false 2. public boolean isDirectory():此File表示的是否是目录 用于判断构造方法中给定的路径是否以文件夹结尾 3. public boolean isFile():此File表示的是否为文件 用于判断构造方法中给定的路径是否以文件结尾 */ public class FileJudge ...
package com.eaw1805.data.dto.converters; import com.eaw1805.data.dto.web.army.CommanderDTO; import com.eaw1805.data.model.army.Commander; import java.util.ArrayList; import java.util.List; /** * Convert Commander DB objects into CommanderDTOs. */ public final class CommanderConverter { /** * Cannot insta...
// 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 applicable ...
package org.it611.das.control; import org.it611.das.service.AuthenticationService; import org.it611.das.vo.*; import org.springframework.beans.factory.annotation.Autowired; import com.fasterxml.jackson.databind.ObjectMapper; import org.it611.das.util.CookieUtil; import org.it611.das.util.RedisUtil; import org.springfr...
/*************************************************************************************************** * * Copyright (c) 2021 Universitat Politecnica de Valencia - www.upv.es * Copyright (c) 2021 Open Universiteit - www.ou.nl * * Redistribution and use in source and binary forms, with or without * modification, are...
package com.databasir.common; public class SystemException extends RuntimeException { private static final String MSG_INTERNAL_SERVER_ERROR = "服务器开小差了,请稍后再试"; public static final SystemException INTERNAL_SERVER_ERROR = new SystemException(MSG_INTERNAL_SERVER_ERROR); /** * @param msg the detail mess...
package com.tiny.demo.firstlinecode.sourcecode.chapter1.imageloader.imageloader3.version1; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import com.tiny.demo.firstlinecode.app.FLCApplication; import com.tiny.demo.firstlinecode.common.utils.StorageUtils; import java.io.File; import java.io.Fi...
package dev.morphia.geo; import com.mongodb.client.model.geojson.PolygonCoordinates; import com.mongodb.client.model.geojson.Position; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; /** * This class represents either a simple polygon enclosing an area, or a...
package org.javabuilders.swt.handler.event; import static org.javabuilders.swt.SwtJavaBuilder.ON_SELECTION; import java.util.List; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.widgets.MenuItem; import org.javabuilders.BuildException; import org....
/* * 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 org.test.shop.model.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.test.shop.controller.data.types.ScrollableSettings; import org.test.shop...
/* * Copyright 2016-2026 Rogério Lecarião Leite * * 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 b...
package love.wangqi; /** * @author: wangqi * @description: * @date: Created in 2018/8/20 上午8:51 */ public interface Hash { /** * 初始化节点 * @return */ Hash initNodes(); /** * 增加数据 * @param data * @return */ int add(String data); /** * 统计信息 */ void...
package cc.mallet.util; import cc.mallet.types.*; import java.io.*; public class InstanceListPrinter { public static void main(String[] args) throws Exception { InstanceList instances = InstanceList.load(new File(args[0])); for (Instance instance: instances) { System.out.println("Name: " + instance.getName(...
/* * Copyright 2019 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 "license" file accomp...
/** * Logback: the reliable, generic, fast and flexible logging framework. * Copyright (C) 1999-2015, QOS.ch. All rights reserved. * * This program and the accompanying materials are dual-licensed under * either the terms of the Eclipse Public License v1.0 as published by * the Eclipse Foundation * * or (per ...
package com.tenforce.esco.model.jsonapi.errors; import com.fasterxml.jackson.annotation.JsonInclude; import java.io.Serializable; public class Source implements Serializable { @JsonInclude(JsonInclude.Include.NON_EMPTY) private String pointer; @JsonInclude(JsonInclude.Include.NON_EMPTY) private Strin...
/* * 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 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 ...
package com.kzmen.sczxjf.ui.activity.kzmessage; import android.os.Bundle; import android.support.percent.PercentRelativeLayout; import android.widget.LinearLayout; import android.widget.TextView; import com.kzmen.sczxjf.AppContext; import com.kzmen.sczxjf.R; import com.kzmen.sczxjf.bean.kzbean.UserMessageBean; import...
/* * Copyright 2018-2019 adorsys GmbH & Co KG * * 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 ...
/* Generated By:JJTree: Do not edit this line. ASTType.java Version 4.3 */ /* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=false,TRACK_TOKENS=false,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ package lcr.c2bsv.parser; public class ASTType extends SimpleNode { public...
/* * 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 org.ovirt.engine.ui.webadmin.widget.table.column; import org.ovirt.engine.core.common.businessentities.VDS; import org.ovirt.engine.core.common.businessentities.VDSStatus; import org.ovirt.engine.ui.webadmin.ApplicationResources; import org.ovirt.engine.ui.webadmin.gin.ClientGinjectorProvider; import com.goog...
package org.wwarn.surveyor.client.mvp.view.filter; /* * #%L * SurveyorCore * %% * Copyright (C) 2013 - 2014 University of Oxford * %% * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of so...
package com.bsiag.anagnostes.demoapp.server.nn.util; public class LoggingUtility { public static class InfiniteProgressBar { private int m_state = 0; private final String[] PROGRESS_STATES = new String[]{ "[ ]", "[> ]", "[=> ]", "[==> ...
package com.skb.pushservice.controller; import com.skb.pushservice.domain.Exist.ExistDto; import com.skb.pushservice.domain.WatchInfo.WatchInfoDto; import com.skb.pushservice.service.ConnectService; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.s...
/* * This file is part of the OWLlink API. * * The contents of this file are subject to the LGPL License, Version 3.0. * * Copyright (C) 2011, derivo GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free S...
package com.moringaschool.rubisenergies; import static org.junit.Assert.*; import android.widget.TextView; import com.moringaschool.rubisenergies.ui.MainActivity; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.Robolectric; import org.robolectric.RobolectricTe...
/* * Copyright 2019 GridGain Systems, Inc. and Contributors. * * Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition...
/* * Copyright (C) 2019 Parrot Drones SAS * * 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 io.rancher.service; import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.*; import retrofit2.Call; import retrofit2.Response; import retrofit2.http.*; public interface ServiceService{ @GET("services") Call<TypeCollection<Service>> list(); @GET("services") Cal...
/* Copyright 2008 Craig Federighi 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...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package org.knowm.xchange.cexio.service; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.knowm.xchange.Exchange; import org.knowm.xchange.cexio.CexIOAdapters; import org.knowm.xchange.cexio.dto.trade.*; import org.knowm.xchange.dto.Order; import or...
package com.snj07; import android.app.Activity; import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.GoogleApiAvailability; import com.google.android.gms.safetynet.SafetyNet; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaInterface; import org.apach...
package com.salesmanager.web.admin.entity.merchant; import java.io.Serializable; import com.salesmanager.core.business.reference.language.model.Language; public class StoreLandingDescription implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String title; private...
package org.akka.demo5.model; import java.io.Serializable; /** * @author DOUBLE * @version 1.0 * @Date 16/1/26 14:32 */ public class ExecutionResult implements Serializable { private long costTime; public ExecutionResult() { } public ExecutionResult(long costTime) { this.costTime = ...
/* * 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 ...
/*- * ============LICENSE_START======================================================= * ONAP - SO * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * =============================================================...
/* * Copyright 2014 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 seedu.address.testutil; import static seedu.address.logic.parser.CliSyntax.PREFIX_DISTRIBUTOR; import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME; import static seedu.address.logic.parser.CliSyntax.PREFIX_PRODUCT_INFO; import static seedu.address.logic.parser.CliSyntax.PREFIX_REMAINING_ITEMS; impor...
/******************************************************************************* * Copyright 2014 United States Government as represented by the * Administrator of the National Aeronautics and Space Administration. * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
package de.swarmnet.shawn; import java.io.*; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.zip.*; /** * ShawnMakeDist (Shawn Make Distribution) is an command line application * that is able to create a package out of the sources of the Shawn * project. Pleas...
/* * Copyright (c) 2011-2018, Meituan Dianping. All Rights Reserved. * * 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 Y...
/** * 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 br.bunk.certificategenerator; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class CertificategeneratorApplicationTests { @Test void contextLoads() { } }
package com.tencent.tmsecure.module.aresengine; public interface ILastCallLogDao { boolean contains(String str); void update(CallLogEntity callLogEntity); }
package demo.stockmgr.util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.ta4j.core.BaseTimeSeries; import org.ta4j.core.TimeSeries; import yahoofinance.histquotes.HistoricalQuote; import java.util.List; /** * Technical Analysis Utility * @author Teki Chan * @since 30 May 2019 */ public fin...
package top.wycfight.shop.entity; import java.util.ArrayList; import java.util.List; public class UmsMemberTaskExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public UmsMemberTaskExample() { oredCriteria = new ArrayList<Criteria>(...
package org.myrobotlab.service; import java.io.IOException; import org.myrobotlab.framework.Service; import org.myrobotlab.framework.ServiceType; import org.myrobotlab.logging.Level; import org.myrobotlab.logging.LoggerFactory; import org.myrobotlab.logging.LoggingFactory; import org.slf4j.Logger; import pl.allegro....
package org.knowm.xchange.bitstamp.service; import java.math.BigInteger; import javax.crypto.Mac; import javax.ws.rs.FormParam; import org.knowm.xchange.service.BaseParamsDigest; import si.mazi.rescu.RestInvocation; /** * @author Benedikt Bünz */ public class BitstampDigest extends BaseParamsDigest { private ...
package org.fastcatsearch.job.management; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.fastcatsearch.common.io.Streamable; import org.fastcatsearch.exception.FastcatSearchException; import org.fastcatsearch.ir.IRService; import org.fastcatsearch.ir.config.CollectionConfig;...
/* Copyright 2019 The OpenTracing 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 applicable law or a...
package com.Voxce.model; import java.sql.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="studies") public class studies { private int study_id; private int client_na...
package com.bstek.bdf3.importer.controller; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import javax.persistence.EntityManagerFactory; import javax.persistence.metamodel.EntityType; import javax.persistence...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // 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: 2013.12.05 at 10:55...
/* Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable 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...
package pokecube.core.ai.npc; import java.util.List; import java.util.Map; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.mojang.datafixers.util.Pair; import net.minecraft.world.entity.LivingEntity; import net.minecraft.world.entity.ai.behavior.Behavior; impo...
package core; import models.reactors.Reactor; import models.reactors.ReactorFactory; import java.util.HashMap; import java.util.List; import java.util.Map; public class ManagerImpl implements Manager { private Map<Integer, Reactor> reactors; private ReactorFactory reactorFactory; private static int idFor...
package jp.freepress.hackerrank.core; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.PrintWriter; import org.apache.commons.io.IOUtils; /** * Logging class for {@link Solver}.<br/> * This stores a log file in {@link Co...
/* * 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 app.components; import app.config.Config; import app.controller.common.BaseController; import app.enums.LoginKey; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.ComboBox; import javafx.scene.control.TextField; import org.apache.logging.log4j.LogManager; import org.apache...
package com.scs.kafka.stream.service; public class StreamService { }
package org.adorsys.adinvtry.jpa; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.xml.bind.annotation.XmlRootElement; /** * Holds an entity and corresponding field descriptions for a search by example * call. * * @author francis pouatcha * */...
package io.mykit.weixin.sdk.common.api; /** * @Author: liuyazhuang * @Date: 2018/7/16 13:17 * @Description: * <pre> * 消息重复检查器. * 微信服务器在五秒内收不到响应会断掉连接,并且重新发起请求,总共重试三次 * </pre> */ public interface WxMessageDuplicateChecker { /** * 判断消息是否重复. * <h2>公众号的排重方式</h2> * * <p>普通消息:关于重试的消息排重...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.monitoring.cleaner; import org.elasticsearch....
/*FreeMind - A Program for creating and viewing Mindmaps *Copyright (C) 2000-2004 Joerg Mueller, Daniel Polansky, Christian Foltin and others. * *See COPYING for Details * *This program is free software; you can redistribute it and/or *modify it under the terms of the GNU General Public License *as published by...
/******************************************************************************* * Copyright (c) 2002 - 2006 IBM Corporation. * 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, and is avail...
/* * Copyright (C) 2010 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...
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
package com.helospark.tactview.core.util; import java.util.Map; public class PixelUpdateRequest { public int x, y; private Map<ThreadLocalProvider<?>, Object> threadLocals; public PixelUpdateRequest(int x, int y, Map<ThreadLocalProvider<?>, Object> threadLocals) { this.x = x; this.y = y; ...
public class a { void f1() { new a() { <error descr="Inner classes cannot have static declarations">static</error> int i; // compile time constant is OK static final int f1 = 3 < 4 ? (a.ix==5 ? 1 : 3) / 4 + 18 : 0; // its not a compile time constant <error descr="Inner classes cann...
package lista.string.pkg1.questao.pkg5; import java.util.Scanner; public class ListaString1Questao5 { public static void main(String[] args) { Scanner in = new Scanner (System.in); String nome; int tam; System.out.println("Digite um nome: "); nome = in.nextLine(); tam = n...
package com.nano.candy.interpreter.i2.runtime.chunk.attrs; public class CodeAttribute { public int fromPc; public int length; public int maxStack; public int maxLocal; public ErrorHandlerTable errorHandlerTable; public CodeAttribute(int fromPc, int length, int maxStack, int maxLocal, ErrorHandlerTable e...
/** * * Support classes for the integration of * <a href="https://tiles.apache.org">Tiles2</a> * (the standalone version of Tiles) as Spring web view technology. * Contains a View implementation for Tiles definitions. * */ package org.springframework.web.servlet.view.tiles2;
package com.alipay.api.request; import com.alipay.api.domain.AlipayDataAiserviceCloudbusPredictresultQueryModel; import java.util.Map; import com.alipay.api.AlipayRequest; import com.alipay.api.internal.util.AlipayHashMap; import com.alipay.api.response.AlipayDataAiserviceCloudbusPredictresultQueryResponse; import co...
/* * Code contributed to the Learning Layers project * http://www.learning-layers.eu * Development is partly funded by the FP7 Programme of the European * Commission under Grant Agreement FP7-ICT-318209. * Copyright (c) 2015, Karlsruhe University of Applied Sciences. * For a list of contributors see the AUT...
/* * Copyright 1999-2019 Seata.io Group. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
package com.guidewithme.util; import java.io.File; import java.math.RoundingMode; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Random; import android.app.Activity; import android.content.Context; import android.os.Build; import android.text.TextUtils; import android.view.View; impor...
package com.envimate.examples.email_use_case.infrastructure; import com.envimate.examples.email_use_case.domain.Body; import com.envimate.examples.email_use_case.domain.EmailAddress; import com.envimate.examples.email_use_case.domain.Subject; import com.envimate.examples.email_use_case.services.EmailService; import co...
package com.matrobot.gha.insights.app.repo; import java.io.FileInputStream; import java.io.IOException; import java.util.Properties; import org.apache.commons.math3.stat.correlation.PearsonsCorrelation; import com.matrobot.gha.insights.filter.ClassifyRepositoryFilter; import com.matrobot.gha.insights.ml.Dataset; pu...
package wang.ismy.item.mapper; import tk.mybatis.mapper.common.Mapper; import wang.ismy.pojo.entity.SpuDetail; /** * @author MY * @date 2019/9/21 13:45 */ public interface SpuDetailMapper extends Mapper<SpuDetail> { }
// 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 applicable ...
/* Copyright 2021 Marceau Dewilde <m@ceau.be> 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 i...
package org.workcraft.formula.sat; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import org.workcraft.formula.BooleanFormula; import org.workcraft.formula.encoding.Encoding; import org.workcraft.formula.encoding.onehot.OneHotIntBooleanFormula; import org.workcraft.formula.encoding.oneho...
/** * Copyright 2004-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
/* MIT License Copyright (c) 2017 Klevin Delimeta 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, merge, publish...
/* * 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 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright (C) 2010-2101 Alibaba Group Holding Limited. * * 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 ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Copyright 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Mapper; import java.io.IOException; public class myMapper extends Mapper<LongWritable, Text, Text, AvgStore> { private Text outkey = new Text(); private AvgStore outval = new AvgStore(); @Overr...
package lecture; import java.util.Arrays; import java.util.List; import java.util.Scanner; import java.util.stream.Collectors; public class ListManipulationAdvanced { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); List <Integer> numbersList = Arrays.stream(scan...
/** * Copyright (c) 2019,2020 honintech * * 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, merge, publish, di...
/******************************************************************************* * 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 f...
/* * 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 2020 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 ...
package test.base.core.util; import blue.base.core.util.PathUtil; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; import java.io.IOException; import java.nio.file.Files; import java.nio.f...