text
stringlengths
7
995k
package javasmmr.zoowsome.models.animals; public class Cockroach extends Insect { public Cockroach(){ setCanFly(true); setIsDangerous(false); setNrOfLegs(6); setName("cockroach"); } public Cockroach(int nrOfLegs,String name,boolean canFly,boolean isDangerous){ super(nrOfLegs,name,canFly,isDang...
/** * Copyright (c) 2015 Intel Corporation * * 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 ...
/* * 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 nextstep.auth.util; import nextstep.auth.UserDetails; import nextstep.auth.UserDetailsService; import javax.persistence.EntityNotFoundException; import java.util.Objects; public class FakeUserDetailsService implements UserDetailsService { // 가짜 객체 생성시 필요한 데이터 // 앞서 리뷰주신 내용중에 '제어할 수 없는 외부 요소'에 대해서 ...
package ai.databand.schema.histograms; import java.util.Map; public interface Summary { long getCount(); long getDistinct(); long getNonNull(); long getNullCount(); String getType(); Map<String, Object> toMap(); }
package com.pedro.encoder.video; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.ImageFormat; import android.media.MediaCodec; import android.media.MediaCodecInfo; import android.media.MediaCodecList; import android.media.MediaFormat; import androi...
/* * Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
/* * Copyright 2019 Treu Techologies * * 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 not use this file except in compliance with * the License. You ...
package com.flycms.module.job.service.task; import com.flycms.module.weight.service.WeightService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; /** * Open source house, All rights reserved * 版权:28844.com<br/> * 开发公...
// // 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.3.1 生成的 // 请访问 <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> // 在重新编译源模式时, 对此文件的所有修改都将丢失。 // 生成时间: 2020.12.12 时间 03:44:00 AM CST // package org.springframework.oxm.jaxb.test; import javax.xml.bind.annotation.XmlAcces...
package liquibase.snapshot; import java.sql.DatabaseMetaData; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.sql.Types; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import liquibase.CatalogAndSchema; import liquibas...
/** * Copyright 2010 - 2022 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
package system.gui.event.criteria; import system.gui.event.Event; import java.util.function.Function; /** * A set of criteria for a given event that the event must pass in order to be handled. * <p> * Creation Date: 9/10/20 * * @param <T> The event the criteria is associated with. * @author Cole Savage, Level ...
/* * Copyright 2016, 2017, 2018, 2019 FabricMC * Copyright 2022 QuiltMC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package leetcode.oo.dp; import java.util.Arrays; import java.util.stream.IntStream; //https://leetcode.com/problems/stone-game-vii/ final class StoneGame7 { int stoneGameVII(final int[] stones) { final int[][] memo = new int[stones.length][stones.length]; for (final int[] ints : memo) { ...
package com.linkedin.restli.examples.greetings.client; import javax.annotation.Generated; import com.linkedin.restli.client.RestliRequestOptions; import com.linkedin.restli.client.base.ActionRequestBuilderBase; import com.linkedin.restli.common.ResourceSpec; /** * Performs three "slow" tasks and collects the result...
package io.hashimati.controllers; import com.fasterxml.jackson.core.JsonProcessingException; import io.micronaut.context.annotation.Parameter; import io.micronaut.http.annotation.*; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.media.Content; import io.swagger.v3.oas.annotations...
package abc.sound; import java.text.MessageFormat; import javax.sound.midi.InvalidMidiDataException; import javax.sound.midi.MetaEventListener; import javax.sound.midi.MetaMessage; import javax.sound.midi.MidiEvent; import javax.sound.midi.MidiMessage; import javax.sound.midi.MidiSystem; import javax.sound.midi.MidiU...
package org.mapdb; import org.junit.Test; import java.io.File; import java.io.IOException; import java.util.Queue; import java.util.concurrent.BlockingQueue; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.*; @SuppressWarnings({"rawtypes","unchecked"}) public class QueuesTest { @T...
/* * Copyright (c) 2008-2021, 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.baozi.admin.base; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.stereotype.Component; /** * Created by baozi on 2017/6/11. */ @Component public class SpringUti...
/* * Copyright 2012-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package model; /** * * @author Rafael */ public class Modelcliente { private int idCliente; private String cliNome; private String cliEndereco; private String cliBairro; private String cliCidade; private String cliUF; private String clicep; private String cliTelefone; /** * ...
package com.atguigu.gulimall.product.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.math.BigDecimal; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * sku信息 * * @author feifei * @email 2205968704@qq.com *...
/* * Copyright (C) 2018 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 2017 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, softw...
package me.k11i.xorfilter; import com.google.common.hash.Funnel; import com.google.common.hash.HashFunction; import com.google.common.hash.Hashing; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Arr...
/** * 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.sdwfqin.mvpseed.di.scope; import java.lang.annotation.Retention; import javax.inject.Scope; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * 描述:作用域注解 * * @author zhangqin */ @Scope @Retention(RUNTIME) public @interface FragmentScope { }
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.components.messages; import androidx.annotation.VisibleForTesting; import org.chromium.components.messages.MessageScopeChange.Chang...
package com.andretietz.rxservice; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.IBinder; import android.os.RemoteException; import android.util.Log; import rx.Observable; import rx.Subscriber; import rx....
package de.larssh.json.dom.values; import java.util.Collections; import org.w3c.dom.DOMException; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonPrimitive; import de.larssh.json.dom.JsonDomType; import de.larssh.json.dom.children.JsonDomArrayChildren; import de.lars...
/* * 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...
/* * 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.xhc.model; /** * Ordersdetails entity. @author MyEclipse Persistence Tools */ public class Ordersdetails implements java.io.Serializable { // Fields private Integer id; private Orders orders; private String goodsName; private Double price; private Integer num; // Constructors /** default con...
package com.uowee.xmusic.fragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.uowee.xmusic.R; /** * Created by GuoWee on 2018/3/1. */ public class AllPlaylistFragment extends BaseFrag...
/** * @License * Copyright 2020 TPACK XS Application * Licensed under the Apache License, Version 2.0 (the "License"); * * http://www.apache.org/licenses/LICENSE-2.0 */ package edu.ifrs.tpack; import java.io.IOException; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.container.Containe...
package com.google.common.reflect; import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.reflect.Constructor; import junit.framework.TestCase; /** * Unit tests of {@link E...
/******************************************************************************* * Copyright 2017 Mieras Made * * 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/...
import java.io.*; import java.math.*; import java.security.*; import java.text.*; import java.util.*; import java.util.concurrent.*; import java.util.function.*; import java.util.regex.*; import java.util.stream.*; import static java.util.stream.Collectors.joining; import static java.util.stream.Collectors.toList; cla...
/** * Activiti app component part of the Activiti project * Copyright 2005-2015 Alfresco Software, Ltd. All rights reserved. * * This library 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...
/* * 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 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.net.nqe; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; import org.jun...
package mage.cards.w; import java.util.UUID; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.common.ReturnFromGraveyardToHandTargetEffect; import mage.abilities.keyword.CyclingAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.f...
/* * Copyright 1999-2017 Alibaba Group Holding Ltd. * * 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 org.apache.commons.digester3; /* * 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 Licens...
@ParametersAreNonnullByDefault package com.jamieswhiteshirt.clothesline.common.network; import javax.annotation.ParametersAreNonnullByDefault;
package April2021PrepLeetcode; public class _0154FindMinimumInRotatedSortedArrayII { public static void main(String[] args) { System.out.println(findMin(new int[] { 3, 3, 1, 3 })); System.out.println(findMin(new int[] { 1, 3, 3 })); System.out.println(findMin(new int[] { 1, 3, 5 })); System.out.println(find...
package uk.co.optimisticpanda.atom.reader; import static com.google.common.base.Preconditions.checkNotNull; import org.apache.abdera.model.Feed; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.common.base.Optional; import com.sun.jersey.api.client.Client; /** * A feed reader that uses je...
package com.bascker.bsutil; import org.apache.commons.io.Charsets; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import jav...
/* * Created on May 15, 2006 * * To change the template for this generated file go to * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments */ package biomight.disease.noninfectious; /** * @author SurferJim * * To change the template for this generated type comment go to * Window&gt;Preferen...
/* * (C) Copyright IBM Corp. 2019, 2020 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.fhir.model.type.code; import com.ibm.fhir.model.annotation.System; import com.ibm.fhir.model.type.Code; import com.ibm.fhir.model.type.Extension; import com.ibm.fhir.model.type.String; import java.util.Collection; ...
/* * Copyright 2016 Nokia Solutions and Networks * Licensed under the Apache License, Version 2.0, * see license.txt file for details. */ package org.robotframework.ide.eclipse.main.plugin.tableeditor.source.handler; import javax.inject.Named; import org.eclipse.e4.core.di.annotations.Execute; import org.eclipse....
/* * 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.jcorbett.helloworld; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class HelloworldApplicationTests { @Test public void...
package com.leandroasouza.todolist; import android.content.ContentValues; import android.content.DialogInterface; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import a...
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.Servo; @Autonomous(name = "Challenge4") public class Challenge4 extends...
package mekanism.client.gui.element.window.filter; import java.util.Collections; import java.util.List; import java.util.Locale; import javax.annotation.Nonnull; import javax.annotation.Nullable; import mekanism.api.functions.CharPredicate; import mekanism.api.text.ILangEntry; import mekanism.api.text.TextComponentUti...
package com.grapep.byle.commodity.controller; import com.grapep.byle.commodity.entity.Commodity; import com.grapep.byle.commodity.entity.CommodityVo; import com.grapep.byle.commodity.entity.CommodityWithBLOBs; import com.grapep.byle.commodity.entity.CommodityWithUser; import com.grapep.byle.commodity.service.ShowCommo...
package com.shine.order.service; import com.baomidou.mybatisplus.extension.service.IService; import com.shine.common.utils.PageUtils; import com.shine.order.entity.OmsOrderEntity; import java.util.Map; /** * 订单 * * @author zhaoyao * @email zhaoyaoya@gmail.com * @date 2021-09-14 21:38:56 */ public interface Oms...
package com.zrlog.web.controller.admin.api; import com.zrlog.common.request.CreateArticleRequest; import com.zrlog.common.request.UpdateArticleRequest; import com.zrlog.common.response.*; import com.zrlog.model.Log; import com.zrlog.model.Tag; import com.zrlog.service.ArticleService; import com.zrlog.service.CacheServ...
/* * Copyright 2005-2018 Dozer 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 law or ag...
package com.stripe.model; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import com.stripe.BaseStripeTest; import com.stripe.net.ApiResource; import org.junit.Test; public class ChargeTest extends BaseStripeTest { @Test publi...
/* DynAnySeq.java -- Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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 2, or (at your opt...
package com.codef.io.sample.bk; import java.io.IOException; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.security.spec.InvalidKeySpecException; import java.util.HashMap; import javax.crypto.BadPaddingException; import javax.crypto.IllegalBlockSizeException; impo...
/* * Copyright [2020] [MaxKey of copyright http://www.maxkey.top] * * 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 req...
package com.codepath.apps.restclienttemplate.adapters; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.text.format.DateUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget...
package carpet.mixins; import net.minecraft.entity.Entity; import net.minecraft.world.World; import net.minecraft.world.explosion.Explosion; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.gen.Accessor; import java.util.Random; @Mixin(Explosion.class) public interface ExplosionAccessor {...
package _206_Reverse_Linked_List; /** * @author islander-007 * @email ....@gmail.com * @date 2021/5/4 9:23 下午 * @project code-in-java */ import LinkedList.ListNode; public class Solution_1 { public ListNode reverse(ListNode head) { if (head == null || head.next == null) { return head; } List...
package com.youlai.mall; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; import org.springframework.cloud.client.disc...
package com.disruptor; import com.alibaba.fastjson.JSON; import com.books.bingfayishu.d4.SleepUtils; import com.lmax.disruptor.EventHandler; import lombok.extern.slf4j.Slf4j; /** * @author zhangbo */ @Slf4j public class UserEventSoutHandler implements EventHandler<User> { @Override public void onEvent...
/* * Copyright (C) 2018 the original author or authors. * * This file is part of jBB Application Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 */ package org.jbb.system.web.install.log...
package com.roberto.avitec.domain.entities; import javax.persistence.*; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; @Entity(name = "alojamento") public class Alojamento { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @NotNull ...
/* * Copyright 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 applic...
package io.codepace.cozy.address; import io.codepace.cozy.MerkleAddressUtility; import java.io.File; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Random; import java.util.Scanner; /** * Manages all resources associated with addresses. Holds all address private keys, and keeps track of th...
package com.dinalie.objectdetection.service.mqttservice; import android.content.Context; import android.util.Log; import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken; import org.eclipse.paho.client.mqttv3.MqttCallback; import org.eclipse.paho.client.mqttv3.MqttClient; import org.eclipse.paho.client.mqttv3.MqttEx...
package net.menthor.validator.meronymic.forbidden; import java.util.ArrayList; import javax.swing.JDialog; import net.menthor.common.ontoumlfixer.Fix; import net.menthor.validator.meronymic.forbidden.ui.ForbiddenComponentOfDialog; import net.menthor.validator.meronymic.ui.FixDialog; import RefOntoUML.Classifier; imp...
package org.ray.api.funcs; import java.util.Collection; import java.util.Map; import org.apache.commons.lang3.SerializationUtils; import org.ray.api.internal.RayFunc; @FunctionalInterface public interface RayFunc_6_n<T0, T1, T2, T3, T4, T5, R, RID> extends RayFunc { Map<RID, R> apply(Collection<RID> returnids, T0 ...
package kempodev.distinct.modules.player; import java.util.ArrayList; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import kempodev.distinct.base.BaseModule; import kempodev.distinct.main.Distinct; public class ModuleItemDropper extends BaseModule { private ArrayList<Integer> items = new Arra...
/* * 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.sentaroh.android.TextFileBrowser; /* The MIT License (MIT) Copyright (c) 2013 Sentaroh 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 limitat...
package org.xander.katas; import org.junit.Before; import org.junit.Test; import java.util.ArrayList; import java.util.List; import static org.junit.Assert.*; public class ZeckendorfNumberTest { ZeckendorfNumber zeckendorfNumber; private static final int THRESHOLD = 40; @Before public void setUp() ...
package com.noseparte.robot.role; import com.noseparte.robot.BaseCmd; import lombok.Getter; import lombok.Setter; @Getter @Setter public class GetRoleAttrCmd extends BaseCmd { public int attrId; }
package rbadia.voidspace.main; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; /** * Handles user input events. */ public class InputHandler implements KeyListener{ private boolean leftIsPressed; private boolean rightIsPressed; private boolean downIsPressed; private boolean upIsPressed; priv...
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Educational * Community License, Version 2.0 (the "License"...
package simple.config; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; /** * Created by JJ on 2017/10/9. */ public class LCRequest { public String mMethod; public LCResponse mResponse; /** * 如果设置为false的时候那么需要你自己删除 * * @see...
// Copyright 2017 The Bazel Authors. 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 appl...
package dotty.tools.dotc.interfaces; /** Summary of the diagnostics emitted by a Reporter. * * User code should not implement this interface, but it may have to * manipulate objects of this type. */ public interface ReporterResult { /** @return Have we emitted any error? */ boolean hasErrors(); /** @return...
package com.box.sdk; import com.eclipsesource.json.JsonObject; import com.eclipsesource.json.JsonValue; /** * Represents an email address that can be used to upload files to a folder on Box. */ public class BoxUploadEmail extends BoxJSONObject { private Access access; private String email; /** * C...
package graph.mygraph; import java.io.File; import java.io.IOException; import java.util.TreeSet; import java.util.Scanner; //Only supports undirected and unauthorized graphs public class Graph { private int V; private int E; private TreeSet<Integer>[] adj; public Graph(String filename){ Fi...
/** * Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * This file is 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/ * * T...
/** * 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...
/* file: TrainingResult.java */ /******************************************************************************* * Copyright 2014-2019 Intel Corporation * * 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 L...
/* * Copyright (C) 2018 Google 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 ...
licensed apache software foundation asf contributor license agreements notice file distributed work additional copyright ownership asf licenses file apache license version license file compliance license copy license http apache org licenses license required applicable law agreed writing software distributed license di...
// Copyright (c) 2019, 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.naming; import static com.android.tools.r8.utils.codeinspector.Matchers.isPre...
package egovframework.com.uss.cmt.service; import java.util.List; /** * 출퇴근관리에 관한 인터페이스클래스를 정의한다. * @author 표준프레임워크 개발팀 * @since 2014.08.29 * @version 1.0 * @see * * <pre> * << 개정이력(Modification Information) >> * * 수정일 수정자 수정내용 * ------- -------- --------------------------- * 201...
/* * Copyright 2000-2022 Vaadin Ltd. * * 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...
package com.szxkbl.coolweather.util; import android.text.TextUtils; import android.util.Log; import com.google.gson.Gson; import com.szxkbl.coolweather.db.City; import com.szxkbl.coolweather.db.Country; import com.szxkbl.coolweather.db.Province; import com.szxkbl.coolweather.gson.Weather; import org.json.JSONArray; ...
/** * 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...