text
stringlengths
7
995k
/* * 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 lab14lib; import edu.princeton.cs.introcs.StdAudio; import org.knowm.xchart.QuickChart; import org.knowm.xchart.XChartPanel; import org.knowm.xchart.XYChart; import org.knowm.xchart.style.AxesChartStyler; import javax.swing.*; import java.util.LinkedList; import java.util.List; public class GeneratorAudioAnim...
package io.quarkus.container.image.buildpack.deployment; import static io.quarkus.container.util.PathsUtil.findMainSourcesRoot; import java.nio.file.Path; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.stream.Stream; im...
/* * Copyright (C) 2014 Arpit Khurana <arpitkh96@gmail.com>, Vishal Nehra <vishalmeham2@gmail.com> * * This file is part of Amaze File Manager. * * Amaze File Manager 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...
/* * Copyright (c) Corporation for National Research Initiatives * Copyright (c) Jython Developers */ package org.python.core; import java.io.EOFException; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; impor...
package com.gypsyengineer.tlsbunny.tls13.fuzzer; import com.gypsyengineer.tlsbunny.fuzzer.FuzzedVector; import com.gypsyengineer.tlsbunny.fuzzer.Fuzzer; import com.gypsyengineer.tlsbunny.tls.Vector; import com.gypsyengineer.tlsbunny.output.Output; import java.io.IOException; import static com.gypsyengineer.tlsbunny....
/** * Copyright 2012-2013 Wicked Charts (http://wicked-charts.googlecode.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...
/** * Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
/** * 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...
/* * ****************************************************************************** * * * * * * This program and the accompanying materials are made available under the * * terms of the Apache License, Version 2.0 which is available at * * https://www.apache.org/licenses/LICENSE-2.0. * * * * See the NO...
package ru.job4j.comparator; import java.util.*; /** * Class Класс SortUser * * @author akochanov * @version 1 * @since 14.06.2019 */ public class SortUser { /** * Сортировка списка User в TreeSet * @param users - список User * @return - TreeSet User */ public Set<User> sort(List<Use...
/** * Copyright (c) 2005-2012 springside.org.cn */ package com.forest.common.utils.excel; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URLEncoder; import org.apache.commons.codec.DecoderException; import org.apache.commons.codec.binary.Base64; import org.apache.commons.co...
package dictionary; /* * 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. */ import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.nio.file.Files; import j...
package controllers; import com.fasterxml.jackson.databind.JsonNode; import play.data.Form; import play.libs.F; import play.libs.ws.WSResponse; import play.mvc.*; import play.libs.ws.WS; import models.Person; import views.html.*; import java.util.ArrayList; import java.util.List; public class Application extends C...
/** * Copyright (C) 2015 Tobias Uhlig (tobias.uhlig@unibw.de) * * 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 requir...
/* * 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...
/* * Copyright © 2019 IBM Corp. 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...
package com.math.scheduling; public class SameScheduler implements Scheduler { @Override public void workFor(long millisec) { } }
/* * JBoss, Home of Professional Open Source. * Copyright 2012 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
/*************************GO-LICENSE-START********************************* * Copyright 2014 ThoughtWorks, 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...
package com.scriptbasic.errors; public class BasicInterpreterInternalError extends RuntimeException { private static final long serialVersionUID = 1L; public BasicInterpreterInternalError(final String arg0) { super(arg0); } public BasicInterpreterInternalError(final String arg0, final Throwab...
/* * Copyright 2010 Last.fm * * 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 2000-2020 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.idea; import com.intellij.diagnostic.Activity; import com.intellij.diagnostic.StartUpMeasurer; import com.intellij.ide.CliResult; import com.intellij.ide.Ide...
package mikenakis.test.lambdatwine; import mikenakis.test.lambdatwine.rig.FooInterface; import mikenakis.test.lambdatwine.rig.FooServer; import mikenakis.test.lambdatwine.rig.exchange.ObjectExchange; import mikenakis.test.lambdatwine.rig.exchange.object.AnyLambdaRequest; import mikenakis.test.lambdatwine.rig.exchange....
package com.wzh.factory.data.group; import com.wzh.factory.model.card.GroupCard; import com.wzh.factory.model.card.GroupMemberCard; /** * Created by HP on 2017/12/1. * 群中心的定义 * * @author by wangWei */ public interface GroupCenter { // 群卡片的处理 void dispatch(GroupCard... cards); // 群成员的处理 void dis...
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....
import io.datakernel.csp.ChannelConsumer; import io.datakernel.csp.ChannelSupplier; import io.datakernel.eventloop.Eventloop; import java.util.List; import java.util.stream.Collectors; import static java.util.Arrays.asList; public final class ChannelExample { //[START REGION_1] private static void supplierOfValues...
package roadgraph; import geography.GeographicPoint; import util.GraphLoader; import java.util.*; import java.util.function.Consumer; /** * @author UCSD MOOC development team * <p> * A * <p> * class which represents a graph of geographic locations * Nodes in the graph ar...
/* * @Project Name: springboot-demo * @File Name: UserService.java * @Package Name: com.ctosb.springboot.service * @Date: 2017年9月1日下午1:02:06 * @Creator: liliangang-1163 * @line------------------------------ * @修改人: * @修改时间: * @修改内容: */ package com.ctosb.codebuild.service; import java.util.List; import org....
package com.joiller.gulimall.ware.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * <p> * 库存工作单 前端控制器 * </p> * * @author jianghuilai * @since 2021-02-22 */ @RestController @RequestMapping("/ware/wms-ware-order-task"...
/** * 项目名称:quickstart-netty * 文件名:ClientInitHandler.java * 版本信息: * 日期:2017年1月17日 * Copyright youngzil Corporation 2017 * 版权所有 * */ package org.quickstart.netty.v4x.coder; import org.quickstart.netty.v4x.http.ByteBufToBytes; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.cosmos.examples.springexamples; import com.azure.cosmos.CosmosClientBuilder; import com.azure.cosmos.DirectConnectionConfig; import com.azure.spring.data.cosmos.config.AbstractCosmosConfiguration; import c...
/* * Copyright (C) 2011 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 com.zhangyingwei.cockroach2.monitor.http.server.action; import com.zhangyingwei.cockroach2.db.CockroachDb; import com.zhangyingwei.cockroach2.monitor.http.server.session.Request; import com.zhangyingwei.cockroach2.monitor.http.server.session.Response; public class TaskIndexAction implements ICAction { pri...
package org.insightech.er.editor.controller.command.display; import org.insightech.er.editor.controller.command.AbstractCommand; import org.insightech.er.editor.model.ERDiagram; import org.insightech.er.editor.model.settings.Settings; public class ChangeViewModeCommand extends AbstractCommand { private ERDiagram di...
package com.solomatoff.chaptertrainee002.tracker; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.ArrayList; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; /** * ...
/* * 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...
/* * Password Management Servlets (PWM) * http://www.pwm-project.org * * Copyright (c) 2006-2009 Novell, Inc. * Copyright (c) 2009-2020 The PWM 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 ...
/** * Tencent is pleased to support the open source community by making Tars available. * * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may not use this file except * in compliance with the License. You may obtain a c...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.workloads.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.core.management.Resource; import com.azure.co...
package com.aws.jpmml.demo; /* * Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT-0 */ public class IrisDataRequest { String sepalLength; String sepalWidth; String petalLength; String petalWidth; public String getSepalLength() { return sepalLength;...
package test; import java.io.File; import aQute.bnd.build.Workspace; import aQute.lib.io.IO; import junit.framework.TestCase; public class RunTest extends TestCase { Workspace ws; File tmp; @Override protected void setUp() throws Exception { super.setUp(); tmp = IO.getFile("generated/tmp"); tmp.mkdirs();...
/* * Copyright 2020 Acoustic, L.P. * 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 * Apache License, Version 2.0 * www.apache.org * Home p...
package org.swtk.commons.dict.wordnet.indexbyname.instance.t.a.c; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import java.util.TreeMap; import org.swtk.common.dict.dto.wordnet.IndexNoun; import com.trimc.blogger.commons.utils.GsonUtils; public final class WordnetNounIndexNameInsta...
/* Copyright 2009-2010 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 appli...
package me.cafecode.android.workshop.adapters; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.squareup.picasso.Picasso; import java.util.List; import me.cafecode.android.workshop.C...
import bean.*; import com.opencsv.bean.HeaderColumnNameMappingStrategy; import com.opencsv.bean.StatefulBeanToCsv; import com.opencsv.bean.StatefulBeanToCsvBuilder; import org.apache.commons.beanutils.BeanUtils; import org.apache.commons.lang3.StringUtils; import java.io.*; import java.lang.reflect.InvocationTargetExc...
/* * Copyright 1999-2011 Alibaba 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 la...
package uk.davidwei.perfmock.internal; import uk.davidwei.perfmock.api.Invokable; public class ProxiedObjectIdentity extends FakeObjectMethods { public ProxiedObjectIdentity(Invokable next) { super(next); } @Override protected void fakeFinalize(Object invokedObject) { } @Overrid...
/* * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
// Copyright (c) 2020, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.repackage.testclasses.repackagetest; import com.android.tools.r8.NeverInline...
package example.barservice.domain; import lombok.Value; import java.io.Serializable; @Value public class Bar implements Serializable { private String bar; }
/** * Spring Framework configuration files. */ package com.freemahn.config;
package uk.gov.hmcts.reform.iahomeofficemockapi.generated.domain.entities; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.an...
package org.i3xx.util.ctree.core; import java.io.Serializable; import org.i3xx.util.ctree.IConfNode; public class SimpleResolver implements IResolveRaw, Serializable, Cloneable { /** * */ private static final long serialVersionUID = 1L; /* (non-Javadoc) * @see java.lang.Object#clone() */ public Obje...
package com.ioc.bean; import lombok.Data; import org.springframework.beans.factory.annotation.Value; @Data public class PropertiesVo { @Value("${name}") private String name; }
package il.ac.bgu.cs.bp.bpjs.suitegen; import il.ac.bgu.cs.bp.bpjs.model.BEvent; import java.util.List; import java.util.Set; public interface TestRanking { int rankTestSuite(Set<List<String>> testSuite); }
/* * Copyright 2017-2019 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 applicable...
package org.activiti.engine.test.api.runtime; import java.util.ArrayList; import java.util.List; import org.activiti.engine.impl.history.HistoryLevel; import org.activiti.engine.impl.test.PluggableActivitiTestCase; import org.activiti.engine.task.IdentityLinkType; import org.activiti.engine.task.Task; public class T...
package com.mindoo.domino.jna.richtext; import com.mindoo.domino.jna.IAdaptable; import com.mindoo.domino.jna.errors.NotesError; import com.mindoo.domino.jna.internal.FontId; import com.mindoo.domino.jna.internal.structs.compoundtext.NotesFontIDFieldsStruct; import com.mindoo.domino.jna.internal.NotesConstants; /** ...
/* * Copyright (c) 2008-2018, 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 ...
package com.emaraic.jdlib; import com.emaraic.utils.FaceDescriptor; import com.emaraic.utils.Image; import java.awt.Rectangle; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util...
package thaumicenergistics.block; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import thaumicenergistics.init.ModGlobals; /** * @author BrockWS */ public abstract class BlockBase extends Block { public BlockBase(String id) { this(id, Material.IRON); } public...
package com.daxiang.mbg.po; import javax.validation.constraints.NotNull; import java.io.Serializable; public class UserRole implements Serializable { private Integer id; @NotNull(message = "用户id不能为空") private Integer userId; @NotNull(message = "角色id不能为空") private Integer roleId; private sta...
package mage.cards.v; import java.util.UUID; import mage.abilities.effects.common.LoseLifeTargetEffect; import mage.abilities.effects.common.search.SearchLibraryGraveyardPutInHandEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.filter.FilterCard; import mag...
/* * Copyright 2011 John Sample * Copyright 2014 Andreas Schildbach * * 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 requ...
// Copyright (C) 2015 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 2011 multibit.org * * Licensed under the MIT license (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/mit-license.php * * Unless required by applicable law or agreed to in writing,...
package com.facebook.applinks; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.NotificationCompat; import android.text.TextUtils; import android.util.Log; import com.facebook.FacebookException; i...
package com.apexmob.casus.command.event; import com.apexmob.casus.command.CommandEvent; /** * @author Chris Kirk * @since 1.0 */ public interface PostAliasingCommandEvent extends CommandEvent { }
package eu.eventstorm.eventstore; import eu.eventstorm.eventstore.memory.InMemoryEventStore; /** * @author <a href="mailto:jacques.militello@gmail.com">Jacques Militello</a> */ class InMemoryEventStoreTest extends EventStoreTest { @Override protected EventStore initEventStore(StreamManager streamManager) { ret...
/* * Copyright (c) 2009-present, b3log.org * * 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 shardingsphere.workshop.database.mysql.packet.query; import shardingsphere.workshop.database.mysql.packet.MySQLPacket; import shardingsphere.workshop.database.mysql.packet.MySQLPacketPayload; import shardingsphere.workshop.database.mysql.packet.constant.MySQLColumnType; import shardingsphere.workshop.database....
/** * 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"); yo...
package com.xdidian.keryhu.account_activate.stream; import org.springframework.cloud.stream.annotation.Output; import org.springframework.messaging.MessageChannel; /** * @Description : 删除user数据的channel,传递的是email,userAccount会根据类型判断是email,phone,uuid,哪种形式 * @date : 2016年6月18日 下午9:02:15 * @author : keryHu keryhu@hotm...
package net.sf.l2j.gameserver.scripting.scripts.ai.group; import net.sf.l2j.gameserver.model.actor.Npc; import net.sf.l2j.gameserver.model.actor.instance.Player; import net.sf.l2j.gameserver.scripting.scripts.ai.L2AttackableAIScript; /** * Those monsters don't attack at sight players owning itemId 8064, 8065 or 8067...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2019.07.28 at 05:34:4...
package com.book.web; import com.book.domain.ReaderCard; import com.book.domain.ReaderInfo; import com.book.service.LoginService; import com.book.service.ReaderCardService; import com.book.service.ReaderInfoService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Co...
package com.huotu.cms.manage.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; /** * Created by Administrator on 2015/12/31. */ @Controller @RequestMapping("/test") public class TestContro...
/* * 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 org.zalando.logbook.netty; final class Unbuffered implements State { @Override public State with() { return new Offering(); } }
package org.uma.jmetal.problem.multiobjective.lsmop; /** Class representing problem LSMOP5 */ public class LSMOP5_2_20 extends LSMOP5 { /** Creates a default LSMOP5 problem (20 variables and 2 objectives) */ public LSMOP5_2_20() { super(5, 20, 2); } }
package github.pasiahopelto.scorelib.model; import java.io.Serializable; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; public class Votes implements Serializable { private static final long serialVersionUID = 1L; private String vote; private Str...
package mod.azure.doom.client.render; import mod.azure.doom.client.models.TentacleModel; import mod.azure.doom.entity.tierambient.TentacleEntity; import net.minecraft.client.render.RenderLayer; import net.minecraft.client.render.VertexConsumer; import net.minecraft.client.render.VertexConsumerProvider; import net.mine...
/* * Copyright 2012 JBoss 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 i...
/* * Copyright (c) 2018, 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.or...
package com.qwe7002.telegram_rc; import android.Manifest; import android.annotation.SuppressLint; import android.app.DatePickerDialog; import android.app.ProgressDialog; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.content.SharedPrefere...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution License("CD...
/* * * * Copyright (c) 2022 - Manifold Systems 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 * * * * ...
/** * 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...
package org.github.marcellodesales.functions; import static java.util.Arrays.asList; import java.util.ArrayList; import java.util.List; import java.util.function.Function; import org.github.marcellodesales.Jedi; /** * Demonstration instance method references to an arbitrary object. * * @author Edwin Dalorzo */ ...
/* * Copyright 2018 Mirko Sertic * * 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.example.guest.tourguidepdx.UI; import android.content.Intent; import android.graphics.Typeface; import android.media.Image; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.ImageButton; import android.wi...
package edu.isi.nlp; import com.google.common.annotations.Beta; /** * An object which can inspect some item (of type {@code T}). {@link #finish()} is expected to be * called when there are no more items to inspect. What happens if more items are inspected after * finishing is not defined by the interface contract....
package src.controller; import java.util.Stack; import interfaces.IUndoRedo; class CommandHistory { private static final Stack<IUndoRedo> undoStack = new Stack<IUndoRedo>(); private static final Stack<IUndoRedo> redoStack = new Stack<IUndoRedo>(); public static void add(IUndoRedo cmd) { undoStack.push(cmd); ...
/* * Copyright 2015 eBay Software Foundation * * 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...
package co.bugfreak.framework.sequential; public interface Result { void addCompleteListener(ResultCompletedListener handler); void removeCompleteListener(ResultCompletedListener handler); void execute(ExecutionContext context) throws Throwable; }
/* * 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 (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.cosmosdb.implementation; import com.microsoft.az...
package com.wuyue.oop; /** * 测试非静态内部类 * * @author DeltaV235 */ public class InnerClassTest { public static void main(String[] args) { Outer outer = new Outer(); Outer.Inner inner2 = outer.new Inner(); inner2.show(); Outer.Inner inner = new Outer().new Inner(); inner.show...