text
stringlengths
7
995k
package faisal.com.reptophonebook; public class Item { private int id; private String name; private String number; public Item() { } public Item(int id, String name, String number) { this.id = id; this.name = name; this.number = number; } public Item(String na...
package com.github.dolphinai.cqrsframework.common.event.impl; import org.springframework.context.ApplicationContext; import org.springframework.context.event.ApplicationContextEvent; /** */ public final class WrappedEvent extends ApplicationContextEvent { private final Object event; public WrappedEvent(final A...
// // Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.8-b130911.1802 // Vedere <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. // Gene...
package ru.betterend.blocks; import java.util.Random; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.block.BlockState; import net.minecraft.server.world.ServerWorld; import net.minecraft.util.math.BlockPos; import net.minecraft.world.BlockView; import net.minecraft.world.Wo...
// Template Source: BaseEntityRequestBuilder.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -----------------------------...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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...
package com.innoz.toolbox.io.database.validation; import com.innoz.toolbox.io.database.handler.Logbook; public class ValidateNegativeTravelTimes implements Validator { @Override public boolean validate(Logbook logbook){ logbook.getStages().stream().filter(stage -> stage.getStartTime() != null).filter(stage ->...
package com.inprogress.reactnativeyoutube; import android.app.FragmentManager; import android.os.Build; import android.os.Parcelable; import android.content.pm.ActivityInfo; import android.support.annotation.Nullable; import android.widget.FrameLayout; import com.facebook.react.bridge.Arguments; import com.facebook.r...
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.github.elribeiro.inventory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class ProductsApplication { public static void main(String[] args) { SpringApplication.run(ProductsApplication.class, args);...
/* * Copyright (c) 2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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/LICE...
/*- * ============LICENSE_START======================================================= * ONAP : CCSDK.apps * ================================================================================ * Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. * Modifications Copyright (C) 2018 IBM. * ============...
/* * LingPipe v. 4.1.0 * Copyright (C) 2003-2011 Alias-i * * This program is licensed under the Alias-i Royalty Free License * Version 1 WITHOUT ANY WARRANTY, without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Alias-i * Royalty Free License Version 1 for more det...
/* * Copyright 2021 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 ...
/* * 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.slack.api.methods.request.files; import com.slack.api.methods.SlackApiRequest; import lombok.Builder; import lombok.Data; import java.util.List; /** * https://api.slack.com/methods/files.list */ @Data @Builder public class FilesListRequest implements SlackApiRequest { /** * Authentication tok...
package com.bring.project.bring.common.model.dto; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import org.springframework.data.domain.Sort; @Data @NoArgsConstructor @AllArgsConstructor public class AppPage { private int pageNo = 0; private int pageSize = 10; priva...
package com.blue_unicorn.android_auth_lib.ctap2.authenticator_api.data.webauthn; import com.google.gson.annotations.SerializedName; public class BasePublicKeyCredentialParameter implements PublicKeyCredentialParameter { @SerializedName("type") private String type; @SerializedName("alg") private int ...
/* * Copyright 2010-2013 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 "li...
package ru.pravvich.jdbc.actions; import ru.pravvich.jdbc.PropertiesLoader; import ru.pravvich.user.User; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; /** * Getter for all users from databas...
/* * 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.stylefeng.guns.modular.system.model; import java.io.Serializable; import java.util.Date; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableName; import java.io.Serializable; /** * <p> * * </p> ...
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package org.hl7.fhir.dstu3.model; /* Copyright (c) 2011+, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright noti...
/* * Copyright 2020 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 applica...
/* * ComponentEos.java * * Created on 14. mai 2000, 21:27 */ package neqsim.thermo.component; import neqsim.thermo.phase.PhaseInterface; /** * * @author Even Solbraa * @version */ public class ComponentDefault extends Component { private static final long serialVersionUID = 1000; public ComponentDe...
/* * Copyright (c) 2011-2019, hubin (jobob@qq.com). * <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 * <p> * https://www.apache.org/licenses/LICENSE-2.0 * <p> * 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 ...
package galaxyspace.core.client.models.entity; import galaxyspace.core.prefab.entities.EntityAstroWolf; import micdoodle8.mods.galacticraft.core.GCItems; import micdoodle8.mods.galacticraft.core.items.ItemOxygenTank; import micdoodle8.mods.galacticraft.core.util.OxygenUtil; import net.minecraft.client.model.ModelBase;...
/* * Copyright 2011-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/*<license> Copyright 2004 - $Date$ by PeopleWare n.v.. 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 t...
package com.uxxu.konashi.lib.action; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattService; import com.uxxu.konashi.lib.KonashiErrorType; import org.junit.Before; import org.junit.Test; import org.mockito.ArgumentCaptor; import org.mockito.Mock; import org.mockito.Mockit...
package com.dieam.reactnativepushnotification.modules; import android.app.Activity; import android.app.Application; import android.app.NotificationManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bun...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.react.fabric; import static com.facebook.infer.annotation.ThreadConfined.ANY; import static com.facebook.infe...
package space.engine.simpleQueue.pool; import org.junit.Test; import space.engine.simpleQueue.ConcurrentLinkedSimpleQueue; import java.util.concurrent.RejectedExecutionException; import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.IntStream; import static org.junit.Assert.assertEquals; public ...
package com.ruiqin.mapdemo.constant; /** * Created by ruiqin.shen * 类说明:常量类 */ public class Constant { //登陆成功之后保存 public static final String SP_TOKEN = "token";//用户token,登录成功之后保存 public static final String SP_SECRETKEY = "secretKey";//用户token,登录成功之后保存 public static final String SP_MOBILENUM = "mob...
/* * Copyright 2013 MovingBlocks * * 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 t...
/* * copyright (c) 2015ff IST GmbH Dresden, Germany - https://www.ist-software.com * * This software may be modified and distributed under the terms of the MIT license. */ package com.composum.pages.commons.service; import com.composum.pages.commons.model.ElementTypeFilter; import org.apache.sling.api.resource.Per...
package com.ifast.common.component.oss.config; import com.ifast.common.component.oss.support.UploadServer; import com.ifast.common.component.oss.support.aliyun.AliyunOSSProperties; import com.ifast.common.component.oss.support.aliyun.AliyunUploadServer; import com.ifast.common.component.oss.support.local.LocalUploadPr...
package cn.mutils.app; /** * BuildConfig of framework */ public class AppBuildConfig { public static boolean DEBUG = true; }
/* * 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.diplomatiq.diplomatiqbackend.utils.crypto.srp; import org.bouncycastle.crypto.agreement.srp.SRP6Client; import org.bouncycastle.crypto.agreement.srp.SRP6StandardGroups; import org.bouncycastle.crypto.agreement.srp.SRP6VerifierGenerator; import org.bouncycastle.crypto.digests.GeneralDigest; import org.bounc...
package gov.ca.emsa.pulse.sequoia.domain; public class SequoiaLink { private String relation; private String url; public String getRelation() { return relation; } public void setRelation(String relation) { this.relation = relation; } public String getUrl() { return url; } public void setUrl(String url) ...
class Solution { // O(n^2) time O(n) space public int maxEnvelopes(int[][] envelopes) { if (envelopes.length == 0 || envelopes[0].length == 0) return 0; Arrays.sort(envelopes, (a, b) -> a[0] - b[0]); int[] dp = new int[envelopes.length]; int maxAns = 1; for (int i = 0; i ...
package com.stark.patterns.behavioral.chainofresponsibility; public enum RequestType { CONFERENCE, PURCHASE; }
/* * Copyright (c) 2011-2019, Qulice.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 condition...
/**************************************************************** * 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...
/* The MIT License (MIT) Copyright (c) 2015 Los Andes University 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,...
package com.xebialabs.invoice.web.rest.util; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.List; import org.junit.Test; import org.springframework.data.domain.Page; import org.springfr...
package com.maryanto.dimas.example.model; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.math.BigDecimal; @Data @AllArgsConstructor @NoArgsConstructor public class Payment { private String transactionId; private String stan; private String cardNumber; ...
package com.brunodles.annotationprocessorhelper.test; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Created by bruno on 14/01/17. */ @Retention(RetentionPolicy.SOURCE) @Target(ElementType.TYPE) p...
/** * 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 com.mlcr.easy._326; /** * @program: MyLeetCodeRecorder * @description: https://leetcode-cn.com/problems/power-of-three/ * @author: 0range * @create: 2021-06-11 15:23 **/ public class Solution { public boolean isPowerOfThree(int n) { if (n < 1) { return false; } wh...
/* * Copyright (c) 2015 Mikhail Sokolov * * 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 a...
package fi.seco.collections.collection; import java.util.Collection; import java.util.Comparator; public class BinaryHeap<T> extends ABinaryHeap<T> { private final Comparator<T> c; @Override protected boolean lessThan(T a, T b) { return c.compare(a, b) < 0; } public BinaryHeap(Collection<T> a, Comparator<T>...
package com.spacecowboy.fragmentarydemos.at; import android.text.SpannableString; import android.text.Spanned; import android.text.style.ForegroundColorSpan; import android.view.KeyEvent; import android.view.View; import android.widget.EditText; import com.spacecowboy.fragmentarydemos.R; import java.util.ArrayList; ...
/* * Copyright (c) 2021, salesforce.com, inc. * All rights reserved. * SPDX-License-Identifier: MIT * For full license text, see the LICENSE file in the repo root * or https://opensource.org/licenses/MIT */ package utam.compiler.translator; import static com.fasterxml.jackson.core.JsonParser.Feature.ALLOW_COMMEN...
package edu.mum.service; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Random; import java.util.stream.Collectors; import org.springframework.beans.factory.annotation....
package com.verygood.security.larky.modules.x509; import org.bouncycastle.asn1.x509.KeyUsage; /** * Enumeration of bits used in key usage extension field */ public enum X509KeyUsage { /** * Digital signature * Binary: 10000000 * Hex: 0x80 * Dec: 128 * */ DIGITAL_SIGNATURE(KeyUsage.digitalS...
package com.aimissu.ptt.presenter; import com.aimissu.basemvp.mvp.BasePresenter; import com.aimissu.ptt.view.IOtherView; /** */ public class OtherPresenter extends BasePresenter<IOtherView> implements IOtherPresenter { public OtherPresenter(IOtherView baseView) { super(baseView); } }
/* * 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 cn.leon.rocketmq; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class RocketmqApplication { public static void main(String[] args) { SpringApplication.run(RocketmqApplication.class, args); ...
/* * 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.mersocarlin.androidrest.domain.model; import java.util.Date; public class Person { public int id; public String name; public String email; public Date createdAt; public String homePhone; public String mobilePhone; public String workPhone; public Person() { this.cre...
package com.mycompany.product; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springfram...
package tasks.eshop.repositories; import tasks.eshop.model.OrderItems; import org.springframework.data.repository.CrudRepository; /** * @author Vadym Stroiu * @created on 12.09.2021 */ public interface OrderItemsRepository extends CrudRepository<OrderItems, Integer> { }
package com.supos.cloud.provider.consumer; import com.supos.cloud.JacksonUtil; import com.supos.cloud.core.mq.MqMessage; import com.supos.cloud.provider.model.dto.PcSendEmailRequest; import com.supos.cloud.provider.service.OptSendMailService; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Serv...
package com.b.c.j; import com.b.c.e; import java.util.HashMap; public class b extends com.b.c.b { protected static final HashMap<Integer, String> e = new HashMap(); static { e.put(Integer.valueOf(5), "Extension Code"); } public b() { setDescriptor(new a(this)); } protected HashMap<I...
/* * Copyright 2006 The Closure Compiler 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...
/** * Copyright 2016 vip.com. * <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 * * Unless required by applicable law or agreed to in w...
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.eventloop.opmode.Disabled; import com.qualcomm.robotcore.hardware.DcMotor;...
package io.smallrye.reactive.messaging.skip; import static org.assertj.core.api.Assertions.assertThat; import static org.awaitility.Awaitility.await; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; import javax.enterprise.context.ApplicationScoped; import javax.inject.Singleton; import org....
package org.eiichiro.jaguar; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; import java.io.File; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import org.eclipse.jetty.servlet...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * Tela.java * * Created on 25/09/2009, 22:54:46 */ package visao; import javax.swing.JOptionPane; import modelo.Pessoa; import persistencia.DAO; import persistencia.DAOPessoa; /** * * @author Hemerson */ pub...
package com.atguigu.gulimall.coupon.controller; import java.util.Arrays; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.an...
/* * Copyright 2019-2021 The Polypheny 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...
package com.alipay.api.request; import com.alipay.api.domain.AlipayOpenAppApiresQueryModel; import java.util.Map; import com.alipay.api.AlipayRequest; import com.alipay.api.internal.util.AlipayHashMap; import com.alipay.api.response.AlipayOpenAppApiresQueryResponse; import com.alipay.api.AlipayObject; /** * ALIPAY ...
package com.wuest.prefab.Structures.Base; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.annotations.Expose; import com.wuest.prefab.Gui.GuiLangKeys; import com.wuest.prefab.Prefab; import com.wuest.prefab.Structures.Config.StructureConfiguration; import com.wuest.prefab.Struct...
package io.lkr.jacrtadministrationback.po; import java.util.Date; public class Administrator { private Integer administratorId; private String username; private String realName; private String email; private String encryptedPassword; private Byte status; private Date createTime; ...
package tech.yaog.utils.statemachine; import android.util.Log; /** * Android Logcat 默认Log输出 * Created by ygl_h on 2017/9/10. */ public class LogcatLogger implements Logger { protected String getMessage(String format, Object... args) { String message; if (args.length > 0) { message ...
package peng.springframework.circulation; public class Husband { private Wife wife; public String queryWife(){ return "Husband.wife"; } public Wife getWife() { return wife; } public void setWife(Wife wife) { this.wife = wife; } }
package org.asteriskjava.tools; import org.asteriskjava.live.DefaultAsteriskServer; import org.asteriskjava.manager.ManagerEventListener; import org.asteriskjava.manager.event.*; import java.beans.BeanInfo; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.io.IOException; import java.i...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * <p>This source code is licensed under the MIT license found in the LICENSE file in the root * directory of this source tree. */ package pet.myplant.myplantpet; import android.content.Context; import com.facebook.flipper.android.AndroidFlipperClient; impor...
/* * SMASH * * This file was automatically generated for the SMASH API by SMASH, INC ( https://smashlabs.io ). */ package SMASH.models; import java.util.*; import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonSetter; public class DataModel extends BaseModel ...
package org.opensha.oaf.aafs; /** * Common base class for server components. * Author: Michael Barall 06/23/2018. */ public class ServerComponent { //----- Constant definitions ----- // // These constants are known to every server component. // Opcodes. public static final int OPCODE_MIN = 1; // Min...
/* * Copyright (c) 2014. Pokevian 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 ag...
package com.ulyssesss.leetcode.solution; import com.ulyssesss.leetcode.common.TreeNode; /** * 226. 翻转二叉树 * * 翻转一棵二叉树。 * * 示例: * * 输入: * * 4 * / \ * 2 7 * / \ / \ * 1 3 6 9 * 输出: * * 4 * / \ * 7 2 * / \ / \ * 9 6 3 1 * 备注: * 这个问题是受到 Max Howell 的 原问题 启...
/* * 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 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0. package com.amazonaws.s3.model; import java.lang.String; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.Stream; import software.amazon.aws.sdk.crt.annotations.Generated; @Ge...
package com.mc.onmusic_relase.adapters; import android.annotation.SuppressLint; import android.app.Activity; import android.content.res.ColorStateList; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.Drawable; import android.media.MediaMetadataRetriever; import a...
package org.everit.json.schema.loader; import static org.everit.json.schema.JSONMatcher.sameJsonAs; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThat; import static org.junit.Assert.fail; import java.net.URI; import java.net.URISyntaxException; import org.everit.json.schema.Resou...
/** * Copyright 2006-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
/* * Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
// Copyright 2017 Intelligent Robotics Group, NASA ARC package gov.nasa.arc.astrobee.internal; import gov.nasa.arc.astrobee.PendingResult; import gov.nasa.arc.astrobee.types.Mat33f; import gov.nasa.arc.astrobee.types.Point; import gov.nasa.arc.astrobee.types.Quaternion; import gov.nasa.arc.astrobee.types.Vec3d; impor...
package IT.Algorithmen.codeTabelle; public class CodeTabelle { public String[][] codeTabelle; public CodeTabelle(String[][] codeTabelle) { this.codeTabelle = codeTabelle; } public void transpose() { String[][] transposed = new String[colCount()][rowCount()]; for (int i = 0; i < rowCount(); i++) for (int...
// Copyright 2000-2018 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 org.jetbrains.plugins.groovy.refactoring.changeSignature; import com.intellij.java.refactoring.JavaRefactoringBundle; import com.intellij.openapi.diagnostic.Logger; impor...
package com.softicar.platform.emf.attribute.display; import com.softicar.platform.dom.element.IDomElement; import com.softicar.platform.dom.elements.DomDiv; import java.util.Optional; @FunctionalInterface public interface IEmfAttributeValueDisplayFactory<V> { /** * Creates an {@link IDomElement} to display the gi...
package br.edu.utfpr.cp.emater.midmipsystem.repository.pulverisation; import org.springframework.data.jpa.repository.JpaRepository; import br.edu.utfpr.cp.emater.midmipsystem.entity.pulverisation.Target; public interface TargetRepository extends JpaRepository<Target, Long>{ }
/* --------------------------------------------------------------------------- Open Asset Import Library - Java Binding (jassimp) --------------------------------------------------------------------------- Copyright (c) 2006-2017, assimp team All rights reserved. Redistribution and use of this software in source and...
package leetcode.easy; import java.util.HashSet; import java.util.Set; /** * Created with IntelliJ IDEA. * * @Author: GuoFei * @Date: 2021/09/24/16:02 * @Description: */ public class FindRepeatNumberMain3 { public static void main(String[] args) { //findRepeatNumber(); } public static i...