text
stringlengths
7
995k
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.management.appservice; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.fasterxml.jackson.an...
/* * 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 n...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package library_management; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import net.prote...
package at.o2xfs.win32; import static org.junit.Assert.assertEquals; import java.util.Random; import org.junit.Test; public class BitsTest { @Test public void testCharMinValue() { char expected = Character.MIN_VALUE; byte[] b = new byte[Character.BYTES]; Bits.putChar(b, 0, expected); char actual = Bits.g...
package com.example.indicatorlib.views; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ArgbEvaluator; import android.animation.ValueAnimator; import android.annotation.SuppressLint; import android.content.Context; import android.content.res.Configuration; ...
/* * JBoss, Home of Professional Open Source * * Copyright 2013 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/lic...
package com.westbank.service; import com.westbank.entity.Agency; import com.westbank.entity.LoanContract; import com.westbank.entity.LoanFile; import com.westbank.entity.LoanFileStatus; import com.westbank.helper.JaxbUtil; import com.westbank.repository.AgencyRepository; import com.westbank.repository.LoanContractRepo...
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* ***** BEGIN LICENSE BLOCK ***** * Version: CPL 1.0/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Common Public * License Version 1.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.eclipse.org/legal/cp...
/******************************************************************************* * This file is part of the Twig eclipse plugin. * * (c) Robert Gruendler <r.gruendler@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. ******...
package pattern.filt; import java.util.ArrayList; import java.util.List; /** * <b>Фильтр</b> * <p> * * @see SpeedFilter * @since //28.04.2018 (20:00) */ public class FiltMain { /** * Досустим есть {@link List} <code>cars</code> наших {@link CarFord}. * Добавим в него несколько экземпляров, но с р...
package com.epam.jdi.light.elements.init; import com.epam.jdi.light.elements.common.UIElement; import com.epam.jdi.light.elements.interfaces.base.IBaseElement; import com.epam.jdi.light.elements.interfaces.base.ICoreElement; import com.epam.jdi.tools.DataClass; import java.lang.reflect.Field; import static java.lang...
package org.springframework.test.debug; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @Configuration @ComponentScan("org.springframework.test.service") public class ApplicationConfig { }
/* * Created on Dec 26, 2010 * * 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 writ...
package icons; import com.intellij.icons.AllIcons; import com.intellij.openapi.util.IconLoader; import org.jetbrains.annotations.NotNull; import javax.swing.*; public interface TTIcons { @NotNull Icon MINI_TT_FILE = IconLoader.getIcon("/icons/minitt/minitt_file.svg"); @NotNull Icon MINI_TT = IconLoader.getIcon("/i...
/* * 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 org.fisco.bcos.web3j.tx.response; import java.io.IOException; import java.util.Optional; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import org.fisco.bcos.web3j.protocol.W...
import java.util.*; import org.junit.Test; import static org.junit.Assert.*; // LC1833: https://leetcode.com/problems/maximum-ice-cream-bars/ // // It is a sweltering summer day, and a boy wants to buy some ice cream bars. // At the store, there are n ice cream bars. You are given an array costs of length n, where /...
/* * Copyright (c) 2016 Cisco 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 applic...
package io.onedev.server.migration; import java.util.ArrayList; import org.hibernate.collection.internal.PersistentBag; import com.thoughtworks.xstream.converters.MarshallingContext; import com.thoughtworks.xstream.converters.collections.CollectionConverter; import com.thoughtworks.xstream.io.HierarchicalStreamWrite...
package com.zhuru; class HumanFactory { public Human getHuman(String type) { if ("chinese".equals(type)) { return new Chinese(); } else { return new American(); } } }
package creational.factory_method.example3; public class FactoryPerson { public Person getPerson(PersonType type){ switch (type) { case PERSON_CITY: return new CityPerson(); case PERSON_VILLAGE: return new VillagePerson(); default: new IllegalArgumentException("Not Found Your R...
/* * MIT License * * Copyright (c) 2022 MASES s.r.l. * * 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, cop...
/* Copyright 2015 Immutables Authors and 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 required by applicable...
package com.tm.kafka.connect.rest.config; import com.tm.kafka.connect.rest.selector.SimpleTopicSelector; import org.apache.kafka.common.config.ConfigDef; import java.util.Collections; import java.util.List; import java.util.Map; public class TopicSelectorRecommender implements ConfigDef.Recommender { @Override p...
/* * Created on Aug 11, 2008 * * 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 writ...
package com.alibaba.json.bvt.issue_2200.issue2224; public class PersonCollection extends KeyedCollection<String, Person> { protected String getKeyForItem(Person person) { return person.getIdNo(); } }
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.util.rest; import java.net.URI; import java.util.Collections; import java.util.Map; import javax.ws.rs.core.HttpHeaders; import javax.ws.rs.core.MediaType; im...
// // LxProtocolWan.java // LIFX // // Created by Jarrod Boyes on 24/03/14. // Copyright (c) 2014 LIFX Labs. All rights reserved. // // Start File: @./LxProtocolWan.java package lifx.java.android.entities.internal.structle; /* **** GENERATED CODE **** Start Of File: LxProtocolWan.java */ import java.util.Ha...
/** * 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 poli.mestrado.parser.bpmn2use.tag.sequenceFlow; import poli.mestrado.parser.bpmn2use.tag.AbstractBaseElement; public class SequenceFlowTag { public static final String TAG_NAME = "sequenceFlow"; public static final String ATTRIBUTE_TAG_SOURCE_REF = "sourceRef"; public static final String ATTRIBUTE_TAG_TA...
package org.wikidata.wdtk.examples; /* * #%L * Wikidata Toolkit Examples * %% * Copyright (C) 2014 - 2015 Wikidata Toolkit Developers * %% * 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 ...
//---------------------------------------------------------------------- // // PerfectJPattern: "Design patterns are good but components are better!" // IDelegate.java Copyright (c) 2012 Giovanni Azua Garcia // bravegag@hotmail.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not...
package org.inbloom.gateway.persistence.domain; import javax.persistence.*; /** * Created by lloydengebretsen on 2/15/14. */ @Entity(name = "operators") public class OperatorEntity extends BaseEntity{ @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long operatorId; private String o...
/*================================================================================ Copyright (c) 2012 Steve Jin. 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 re...
package fr.inria.anhalytics.harvest.teibuild; import fr.inria.anhalytics.commons.utilities.Utilities; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; /** * Hal specific tei extraction and update. * * @author achraf */ public class halTeiExtractor { ...
/* * Copyright Alex Sherwin and other contributors as noted. * * 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...
/* * Cribl LogStream * REST API Reference of available endpoints and their supported operations for accessing, updating, creating, or deleting resources. Product documentation available at [docs.cribl.io](http://docs.cribl.io). * * OpenAPI spec version: 3.1.2-abb571bc * Contact: support@cribl.io * * NOTE: This c...
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Aspose" file="SplitTest.java"> // Copyright (c) 2018 Aspose.Slides for Cloud // </copyright> // <summary> // Permission is hereby granted, free of charge, to any person obtai...
package net.minecraft.block; import net.minecraft.block.material.Material; import net.minecraft.block.properties.IProperty; import net.minecraft.block.properties.PropertyInteger; import net.minecraft.block.state.BlockState; import net.minecraft.block.state.IBlockState; import net.minecraft.creativetab.CreativeTabs; im...
/** * */ package com.rapid7.container.analyzer.docker.model.image; import com.rapid7.container.analyzer.docker.model.HashId; import com.rapid7.container.analyzer.docker.model.HashType; public class LayerId extends HashId implements Comparable<LayerId> { public LayerId(String id, HashType type) { super(id, ty...
// The MIT License (MIT) // // Copyright (c) 2018 - Present Onshape Inc. // // 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 //...
/* * Copyright 2015 Odnoklassniki Ltd, Mail.Ru 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 applica...
package vo; import java.util.List; import org.springframework.web.multipart.MultipartFile; public class ArticlePhotoVO { private int article_num; private List<MultipartFile> photo; private String filePath; public ArticlePhotoVO() { // TODO Auto-generated constructor stub } //////////////////////////////////...
package PACKAGE_NAME;/** * @Class: TestMain8080 * @Description: * @Author: Jerry Qu * @Create: 2021-06-01 10:07:10 */ public class TestMain8080 { }
package com.zgy.test; import org.apache.curator.framework.CuratorFramework; import org.apache.curator.framework.CuratorFrameworkFactory; import org.apache.curator.framework.recipes.locks.InterProcessMutex; import org.apache.curator.retry.ExponentialBackoffRetry; import org.apache.curator.utils.CloseableUtils; import o...
/* * Copyright (C) 2013-2015 RoboVM AB * * 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 ag...
package com.horcu.apps.balln.widget.floatinglabel.itempicker; import java.util.Collection; /** * Created by Vincent Mimoun-Prat @ MarvinLabs, 29/08/2014. */ public interface ItemPrinter<ItemT> { public String print(ItemT item); public String printCollection(Collection<ItemT> items); public static cl...
package org.mns237.controller; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("/api") @CrossOrigin(origins = "http://localhost:4200") public class...
package module228packageJava0; import java.lang.Integer; public class Foo11 { Integer int0; public void foo0() { new module228packageJava0.Foo10().foo7(); } public void foo1() { foo0(); } public void foo2() { foo1(); } public void foo3() { foo2(); } public void foo4() { fo...
/** * Copyright (C) 2010-2018 Gordon Fraser, Andrea Arcuri and EvoSuite * contributors * * This file is part of EvoSuite. * * EvoSuite is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation, either vers...
/* * 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 ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Inicio; import Modelo.controlador.ControladorTelefono; import Modelo.controlador.ControladorUsuario; import Modelo.dao.Telefon...
package com.lucidworks.spark.rdd; import org.apache.solr.client.solrj.SolrQuery; import org.apache.solr.common.SolrDocument; import org.apache.spark.SparkContext; import org.apache.spark.api.java.JavaRDD; public class SolrJavaRDD extends JavaRDD<SolrDocument> { private final SelectSolrRDD solrRDD; public SolrJa...
/* * Copyright (c) 2017-2019 superblaubeere27, Sam Sun, MarcoMC * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
package org.innovateuk.ifs.organisation.transactional; import org.innovateuk.ifs.commons.security.SecuredBySpring; import org.innovateuk.ifs.commons.service.ServiceResult; import org.innovateuk.ifs.organisation.resource.OrganisationSearchResult; import org.springframework.security.access.prepost.PostAuthorize; import ...
package org.gbif.pipelines.transforms.table; import static org.gbif.pipelines.common.PipelinesVariables.Metrics.CHRONOMETRIC_AGE_TABLE_RECORDS_COUNT; import static org.gbif.pipelines.common.PipelinesVariables.Pipeline.Interpretation.RecordType.CHRONOMETRIC_AGE_TABLE; import java.util.Set; import lombok.Builder; impor...
package cn.pf.aaronp.ui; import android.content.Context; import android.graphics.Rect; import android.support.annotation.Nullable; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.AttributeSet; import android.view.MotionEvent; import android.view....
/* * 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 2014 See AUTHORS file. * * 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) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package co...
package se.terhol.tunnelbana; class Tunnelbana { private String line; private String terminus1; private String terminus2; private boolean isRidingBack = false; Tunnelbana(String line, String terminus1, String terminus2) { this.line = line; this.terminus1 = terminus1; this....
package mdn.vtvsport.common; import mdn.vtvsport.R; import mdn.vtvsport.util.UiUtil; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface.OnClickListener; import android.graphics.Color; import android.view.Window; /** * * @author MC * ...
package net.i2p.router.transport; /* * free (adj.): unencumbered; not under the control of others * Written by jrandom in 2003 and released into the public domain * with no warranty of any kind, either expressed or implied. * It probably won't make your computer catch on fire, or eat * your children, but it mi...
package pe.org.reclamos.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import pe.org.reclamos.dao.FidelizaDAO; import pe.org.reclamos.entidad.Factura; import pe.org.reclamos.entidad.Fideliza; import pe.org.reclamos.service.FidelizaService; ...
package org.md2k.study.utilities; /** * Copyright (c) 2015, The University of Memphis, MD2K Center * - Syed Monowar Hossain <monowar.hossain@gmail.com> * All rights reserved. * <p/> * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following cond...
package com.joker.io; import java.io.FileWriter; /** * FileWriter * @author joker_chen */ public class Demo09 { public static void main(String[] args) throws Exception{ FileWriter fr = new FileWriter("D:\\2021java学习文件\\mdFile\\fw.txt"); //写入 for (int i = 0; i < 10; i++) { fr...
/** * Copyright (C) 2011-2015 The XDocReport Team <xdocreport@googlegroups.com> * * All rights reserved. * * 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 restrictio...
package com.riiablo.onet; import java.nio.ByteBuffer; public interface UnicastEndpoint<T> extends Endpoint<T> { void sendMessage(ByteBuffer bb); void sendMessage(Object qos, ByteBuffer bb); }
/* * Copyright 2016 FabricMC * * 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 de.gurkenlabs.litiengine.environment.tilemap.xml; import java.awt.Color; import java.awt.Dimension; import java.awt.Rectangle; import java.awt.geom.Rectangle2D; import java.net.URL; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.concu...
package com.gigaspaces.jdbc.model.table; import com.gigaspaces.jdbc.model.QueryExecutionConfig; import com.gigaspaces.jdbc.model.join.JoinInfo; import com.gigaspaces.jdbc.model.result.QueryResult; import com.j_spaces.jdbc.builder.QueryTemplatePacket; import com.j_spaces.jdbc.builder.range.Range; import net.sf.jsqlpars...
package com.daasuu.sample; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.util.Log; import com.daasuu.mp4compose.filter.GlBilateralFilter; import com.daasuu.mp4compose.filter.GlBoxBlurFilter; import com.daasuu.mp4compose.filter.GlBrightnessFilter;...
/* * Copyright (c) 2002-2022 Manorrock.com. 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, * this list of...
package com.github.dynodao.processor.util; import com.amazonaws.services.dynamodbv2.AmazonDynamoDB; import com.amazonaws.services.dynamodbv2.model.AttributeDefinition; import com.amazonaws.services.dynamodbv2.model.AttributeValue; import com.amazonaws.services.dynamodbv2.model.CreateTableRequest; import com.amazonaws....
package me.tatarka.retrolambda.sample.app; import dagger.Component; /** * Created by evan on 4/2/15. */ @Component(modules = MyModule.class) public interface MyComponent { void inject(MainActivity activity); }
/* * 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.javarush.task.task20.task2017; import java.io.*; /** * Десериализация * На вход подается поток, в который записан сериализованный объект класса A либо класса B. * Десериализуй объект в методе getOriginalObject так, чтобы в случае возникновения исключения было * выведено сообщение на экран и возвращен ...
//<editor-fold defaultstate="collapsed" desc="License"> /* * Copyright (C) 2015 Tiago Penha Pedroso * * 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 Software Foundation, either version 3 of the License, or *...
package com.example.batchreceiver.service; import org.springframework.stereotype.Service; import io.dapr.client.DaprClient; import io.dapr.client.DaprClientBuilder; import io.dapr.client.domain.Metadata; import static java.util.Collections.singletonMap; @Service public class PublishToJava { // Time-to-live for me...
package com.example.pontointeligente.api.entities; import java.io.Serializable; import java.util.Date; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import java...
/* * 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 ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.gos.ultimate_ascent.tests; import com.gos.ultimate_ascent.subsystems.Feeder; import com.gos.ultimate_ascent.subsystems.Gripper; import edu.wpi.first.wpilibj.command.CommandGroup; import edu.wpi.first.wpili...
package com.multimodule.msa.configs; import com.fasterxml.jackson.databind.ObjectMapper; import com.multimodule.msa.authentication.JwtAuthenticationFilter; import com.multimodule.msa.authentication.JwtTokenProvider; import lombok.RequiredArgsConstructor; import org.springframework.context.annotation.Configuration; imp...
package com.ppdai.atlas.manager; import com.google.common.collect.Lists; import com.ppdai.atlas.dto.UserDto; import lombok.Setter; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import javax.naming.Context;...
package com.vishnus1224.rxjavateamworkclient.model; import com.bluelinelabs.logansquare.annotation.JsonObject; /** * Created by Vishnu on 8/27/2016. */ @JsonObject(fieldDetectionPolicy = JsonObject.FieldDetectionPolicy.NONPRIVATE_FIELDS_AND_ACCESSORS) public class Category { private String name; private S...
package kr.ac.sejong.kmooc.data_engineering.stream; import java.util.Arrays; import java.util.HashMap; import java.util.function.BinaryOperator; import java.util.function.Function; import java.util.stream.Collectors; import java.util.stream.Stream; public class StreamExample32 { public static void main(String[] arg...
/** * Copyright (c) 2015-2017, Chill Zhuang 庄骞 (biu@163.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 ...
/* * Copyright 2008-2017 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 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
version https://git-lfs.github.com/spec/v1 oid sha256:cc72381a8c16f40cba35fb2c0eee3cf89e9dc8421960765365755d71ca87c0c3 size 11646
/* * MIT License * * Copyright (c) 2021 MASES s.r.l. * * 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, cop...
package qw.test.order.service.feign.circuit; import org.springframework.stereotype.Component; import qw.test.order.service.feign.FeignUserService; /** * 服务断路器 * @author suwenguang **/ @Component public class UserServiceFallback implements FeignUserService { /** * 断路器支持 */ @Override public String get() { r...
package org.cache2k.test.core; /* * #%L * cache2k implementation * %% * Copyright (C) 2000 - 2019 headissue GmbH, Munich * %% * 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 * * ...
/******************************************************************************* * Copyright (c) 1998, 2014 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0...
package hackerrank.challenges.panagrams; import java.util.*; /** * https://www.hackerrank.com/challenges/pangrams * @author bxj62 * */ public class Solution { public static void main(String[] args) { Scanner in = new Scanner(System.in); String out = "pangram"; String sentence = in.nextLine().toLowerCase(...
package cane.brothers.spring.config; import cane.brothers.spring.AutowiringSpringBeanJobFactory; import cane.brothers.spring.HelloworldJob; import cane.brothers.spring.HelloworldTask; import org.quartz.spi.JobFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.c...
/* * Copyright 2002-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...
package com.github.shareme.greenandroid.reveal; import android.view.animation.Interpolator; /** * Created by yugy on 14/11/21. */ class BakedBezierInterpolator implements Interpolator { /** * Lookup table values. * Generated using a Bezier curve from (0,0) to (1,1) with control points: * P0 (0,0) ...