text
stringlengths
7
1.01M
package com.zj.wheelview.activity; import android.content.Intent; import android.webkit.WebView; import com.loopj.android.http.AsyncHttpResponseHandler; import com.xx.wheelview.activity.BaseActivity; import com.zj.wheelview.NetApi; import com.zj.wheelview.R; import com.zj.wheelview.utils.CommonUtil; import org.json....
/** * Contains the core Dependency implementation. */ package org.owasp.dependencycheck.dependency;
package com.ess.filepicker.model; import java.io.File; import java.io.FileFilter; /** * EssFileFilter * 不显示隐藏文件、文件夹 */ public class EssFileFilter implements FileFilter { private String[] mTypes; public EssFileFilter(String[] types) { this.mTypes = types; } @Override public boolean acc...
// Copyright 2017 The Promagent Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
package me.giraffetree.java.boomjava.concurrent.sync_word.biased_lock; import me.giraffetree.java.boomjava.concurrent.utils.ExecutorUtils; import org.openjdk.jol.info.ClassLayout; import java.util.concurrent.ExecutorService; /** * ref: https://stackoverflow.com/questions/26357186/what-is-in-java-object-header * //...
public class User { String nome; } public User(String nome) { this.nome = nome; }
package edu.ucdavis.dss.ipa.api.components.course.views.factories; import edu.ucdavis.dss.ipa.api.components.course.views.CourseExcelView; import edu.ucdavis.dss.ipa.api.components.course.views.CourseView; import edu.ucdavis.dss.ipa.entities.*; import edu.ucdavis.dss.ipa.services.*; import org.springframework.stereoty...
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * 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) 2014 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.elong.pb.newdda.client.jdbc.operation; import com.elong.pb.newdda.client.jdbc.ShardingConnection; import com.elong.pb.newdda.client.jdbc.ShardingStatement; import com.elong.pb.newdda.client.router.SqlRouterEngine; import java.io.Reader; import java.sql.*; /** * Created by zhangyong on 2016/7/26. */ pub...
/******************************************************************************* * (C) Copyright 2016 Hewlett Packard Enterprise Development LP * * 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...
package org.kyojo.schemaorg.m3n4.doma.core.container; import org.seasar.doma.ExternalDomain; import org.seasar.doma.jdbc.domain.DomainConverter; import org.kyojo.schemaorg.m3n4.core.impl.COOKING_METHOD; import org.kyojo.schemaorg.m3n4.core.Container.CookingMethod; @ExternalDomain public class CookingMethodConverter ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/pubsublite/v1/topic_stats.proto package com.google.cloud.pubsublite.proto; public interface ComputeMessageStatsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.pubsublite.v1.ComputeMessageStatsR...
package it.polimi.ingsw.ps14.model.bonus; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.awt.Color; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.junit.Test; import it.polimi.ingsw.ps14.model.Model; import it.polimi.ing...
/** * Copyright (c) 2011-2014, James Zhan 詹波 (jfinal@126.com). * <p> * Licensed under the Apache License, Version 2.0 (the "License"); */ package com.jfinal.weixin.sdk.jfinal; import com.jfinal.aop.Before; import com.jfinal.core.Controller; import com.jfinal.ext.interceptor.NotAction; import com.jfinal.kit.HttpKi...
/* * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * OpenAPI spec version: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * ...
package org.rastalion.petclinic.model; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import javax.persistence.Column; import javax.persistence.MappedSuperclass; @Getter @Setter @NoArgsConstructor @AllArgsConstructor @MappedSuperclass public class Perso...
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package org.ebookdroid; import java.io.File; import org.ebookdroid.common.log.LogContext; import org.emdev.utils.FileUtils; import org.emdev.utils.android.AndroidVersion; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.Package...
package com.vdurmont.emoji; import java.util.ArrayList; import java.util.Collection; import java.util.List; import com.vdurmont.emoji.EmojiParser.EmojiTransformer; import com.vdurmont.emoji.EmojiParser.FitzpatrickAction; import com.vdurmont.emoji.EmojiParser.UnicodeCandidate; /** * Provides methods to parse strings...
/** * 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 (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 com.easy_habit_tracker_31794; import android.content.Context; import com.facebook.flipper.android.AndroidFlipperClient;...
/* * Copyright 2015 Vitaly Litvak (vitavaque@gmail.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 by appl...
package org.jboss.resteasy.jsapi.testing.form; import javax.ws.rs.FormParam; /** * 12 03 2012 * * @author <a href="mailto:l.weinan@gmail.com">Weinan Li</a> */ public class Foo { @FormParam("bar") private String bar; public String getBar() { return bar; } public void setBar(String bar...
package com.example.groceryprices; 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 GroceryPricesApplicationTests { @Test public...
package us.ihmc.humanoidRobotics.communication.packets.behaviors; import us.ihmc.communication.packets.Packet; public class SimpleCoactiveBehaviorDataPacket extends Packet<SimpleCoactiveBehaviorDataPacket> { public String key; public double value; public Object dataObject; public SimpleCoactiveBehavi...
package com.fermich.nolfix.fix.msg.order; import com.fermich.nolfix.fix.msg.Fixml; import com.fermich.nolfix.fix.msg.FixmlRequest; import com.fermich.nolfix.fix.msg.common.Instrument; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamAsAttribute; /** * Singl...
package org.royjacobs.lazybot; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; import org.junit.runner.RunWith; @RunWith(Cucumber.class) @CucumberOptions( plugin = { "pretty" }, features = "classpath:features" ) public class RunCukesTest { }
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. 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("CDDL") (...
package com.d_project.qrcode; /** * マスクパターン. * @author Kazuhiko Arase */ interface MaskPattern { /** * マスクパターン000 */ int PATTERN000 = 0; /** * マスクパターン001 */ int PATTERN001 = 1; /** * マスクパターン010 */ int PATTERN010 = 2; /** * マスクパターン011 */ int PATTERN011 = 3; /** * マス...
/* * 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.example.voteboat.activities; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import androidx.fragment.app.DialogFragment; import android.Manifest; import android.annotation.SuppressLint; import android.app.Dialog; import androi...
package com.gempukku.swccgo.cards.set14.light; import com.gempukku.swccgo.cards.AbstractAlien; import com.gempukku.swccgo.cards.conditions.DefendingBattleCondition; import com.gempukku.swccgo.cards.conditions.OnCondition; import com.gempukku.swccgo.common.Icon; import com.gempukku.swccgo.common.Side; import com.gempuk...
package com.manuege.boxfitapp.model.java; import com.manuege.boxfit.annotations.BoxfitClass; import com.manuege.boxfit.annotations.BoxfitField; import io.objectbox.annotation.Entity; import io.objectbox.annotation.Id; /** * Created by Manu on 15/3/18. */ @Entity @BoxfitClass public class Child { @Id(assignabl...
/* * Controlador Java de la Secretaria de Estado de Administraciones Publicas * para el DNI electronico. * * El Controlador Java para el DNI electronico es un proveedor de seguridad de JCA/JCE * que permite el acceso y uso del DNI electronico en aplicaciones Java de terceros * para la realizacion de proceso...
package com.industrial.controller; import com.industrial.common.core.controller.BaseController; import com.industrial.common.core.domain.AjaxResult; import com.industrial.common.core.domain.ResponseCode; import com.industrial.common.core.domain.ResponseResult; import com.industrial.common.dto.ProductDto; import com.i...
/* * 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 interfacejava; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import j...
/* * Copyright 2003-2012 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...
package me.srgantmoomoo.api.mixin; import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin; import org.spongepowered.asm.launch.MixinBootstrap; import org.spongepowered.asm.mixin.MixinEnvironment; import org.spongepowered.asm.mixin.Mixins; import me.srgantmoomoo.postman.Main; import javax.annotation.Nullable; imp...
/* * 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.example.alexeyglushkov.wordteacher.model; import android.os.Parcel; import android.os.Parcelable; import java.util.Date; /** * Created by alexeyglushkov on 14.05.16. */ public class CardProgress implements Parcelable { // TODO: move it in tool lib private int MIN = 60000; private int HOUR ...
/** * Copyright 2014-2020 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 applicab...
package io.fabric8.openshift.api.model.operator.v1; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; imp...
package follow.twentyfourking.learning_eventbus; import android.os.Bundle; import androidx.appcompat.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.ImageView; import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.Subscribe; import org.greenrobot.event...
package org.jboss.resteasy.test.microprofile.config; import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.core.Response; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.container.test.api.RunAsClient; import org.jboss.arquillian.junit.Arquillian; import org.jboss.resteasy...
package org.apache.geronimo.samples.daytrader; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous ...
/* * Copyright (c) 2018 Couchbase, 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 agr...
package com.github.faucamp.simplertmp.output; import java.io.IOException; import java.io.InputStream; import java.io.PipedInputStream; import java.io.PipedOutputStream; import com.github.faucamp.simplertmp.util.L; /** * Simple writer class providing raw RTMP packets via an InputStream * * @author francois */ pub...
/* * Copyright (c) 2014-2017 Kumuluz and/or its affiliates * and other contributors as indicated by the @author tags and * the contributor list. * * 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 ...
package ru.job4j.generic; import static org.junit.Assert.*; import org.junit.Test; import static org.hamcrest.core.Is.is; public class UserStoreTest { @Test public void whenAddThatNewSimpleArrayElementUser() { UserStore store = new UserStore(2); User user = new User("1"); User test = n...
/* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you m...
package com.publiccms.views.method; import static com.sanluan.common.tools.FreeMarkerUtils.makeStringByString; import java.util.List; import org.springframework.stereotype.Component; import com.sanluan.common.base.BaseMethod; import freemarker.core.TemplateClassResolver; import freemarker.template.Configuration; i...
package lv.lumii.obis.schema.model.v2; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import lombok.Setter; import lv.lumii.obis.schema.services.extractor.dto.SchemaExtractorDataTypeInfo; import org.springframework.util.CollectionUtils; import java.util.List; import java.util.stream.Colle...
package com.leetcode; /** * Hello world! * */ public class App { public static void main( String[] args ) { System.out.println( "Hello World!" ); } }
package com.packtpub.springsecurity.web.model; import org.hibernate.validator.constraints.Email; import org.hibernate.validator.constraints.NotEmpty; public class SignupForm { @NotEmpty(message="First Name is required") private String firstName; @NotEmpty(message="Last Name is required") private Stri...
/** * The contents of this file may be used under the terms of the Apache License, Version 2.0 * in which case, the provisions of the Apache License Version 2.0 are applicable instead of those above. * * Copyright 2014, Ecarf.io * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
import java.util.Iterator; import java.util.List; import java.util.LinkedList; /** * Model the operation of a taxi company, operating different * types of vehicle. * * @author David J. Barnes and Michael Kölling * @version 2016.02.29 */ public class TaxiCompany { private List<Vehicle> vehicles; /** ...
// THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS // WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE // TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY // DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS // ARISIN...
package com.biomatters.plugins.biocode.labbench.reporting; import com.biomatters.geneious.publicapi.plugin.Options; import com.biomatters.geneious.publicapi.documents.XMLSerializationException; import com.biomatters.geneious.publicapi.documents.DocumentField; import org.jdom.Element; import java.util.List; import jav...
/* * 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.cmmakerclub.nat.mqtt_template; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test ...
package org.checkerframework.common.reflection.qual; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.checkerframework.framework.qual.SubtypeOf; /** * This represents a set of {@link java.lang....
package com.rrvrafael.cursojava.aula20; public class Matrizes { public static void main(String[] args) { //Forma de inicializar matrizes e vetores de uma só vez: double[][] notasAlunosDois = {{10, 7, 8, 9.5}, {9, 8, 7, 9}}; double[] mediaAlunosDois = {8.625, 8.25}; for (int i = ...
package com.udemy.api.services; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.Optional; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.BDDMockito; import org.mockito.Mockito; i...
/**************************************************************** * Licensed to the Apache Software Foundation (ASF) under one * * or more contributor license agreements. See the NOTICE file * * distributed with this work for additional information * * regarding copyright ownership. The ASF licenses this...
package com.teamacronymcoders.essence.serializable.loot; import com.google.gson.JsonObject; import java.util.List; import java.util.stream.Collectors; import javax.annotation.Nonnull; import net.minecraft.entity.Entity; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.inventory.Inventory; import n...
package io.card.payment; /* CreditCard.java * See the file "LICENSE.md" for the full license governing this code. */ import android.os.Parcel; import android.os.Parcelable; import java.util.UUID; /** * Describes a credit card. * * @version 2.0 */ public class CreditCard implements Parcelable { /** *...
/*Problem Statement The Metro Bank provides various types of loans such as car loans, business loans and house loans to its account holders, i.e., customers. Implement a program to determine the eligible loan amount and the EMI that the bank can provide to its customers based on their salary and the loan type they exp...
/* * Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://mindorks.com/license/apache-v2 * * Unless required by a...
/* * Copyright (c) 2021. Equipment & Tool Institute */ package org.etools.j1939_84.controllers.part03; import static org.etools.j1939_84.J1939_84.NL; import static org.etools.j1939_84.bus.j1939.packets.AcknowledgmentPacket.Response.NACK; import static org.etools.j1939_84.model.Outcome.FAIL; import static org.junit.A...
/* * Copyright 2018 cknoll1. * * 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 com.example; import javax.enterprise.context.RequestScoped; import javax.inject.Inject; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import java.util.logging.Level; import java.u...
package com.opensooq.plutodemo; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.bumptech.glide.Glide; import com.opensooq.pluto.base.PlutoAdapter; import com.opensooq.pluto.base.PlutoViewHolder; import com.opensooq.pluto.listeners.OnItemClickListener; import...
/* * Copyright 2013-2018 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...
/* * Copyright 2022 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package org.intermine.web.struts; /* * Copyright (C) 2002-2020 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser.h...
package gov.nasa.jpf.vm; import gov.nasa.jpf.annotation.MJI; public class JPF_android_view_Display extends NativePeer{ @MJI public static void init__I__V (MJIEnv env, int objRef, int v0) { } @MJI public static int getDisplayId____I (MJIEnv env, int objRef) { int v = (int)0; return v; } @MJI ...
class MyCircularDeque { private int front, rear, limit; private int[] q; /** Initialize your data structure here. Set the size of the deque to be k. */ public MyCircularDeque(int k) { front = 0; rear = 0; limit = k +1; q = new int[limit]; } /** Adds an item ...
package md.tekwill.demo.negativepostivezero; import java.util.Scanner; class NegativePositiveZero { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.print("Enter five numbers >"); Integer a = Integer.valueOf(in.nextInt()); Integer b = in.next...
package com.github.jayield.rapper.utils; import com.github.jayield.rapper.exceptions.DataMapperException; import java.lang.reflect.InvocationTargetException; import java.sql.SQLException; import java.util.function.Consumer; public interface SqlConsumer<T> { void accept(T t) throws SQLException, NoSuchFieldExcept...
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.util.xml.base; import org.w3c.dom.Node; import org.w3c.dom.NodeList; /** * This class is used to {@link java.util.Iterator#next() iterate} the {@link Node}s of a...
/* * 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 servlets; import handlers.FriendHandler; import java.io.IOException; import java.io.PrintWriter; import java.sql.SQLException;...
package id.ac.unpar.siamodels.matakuliah; import id.ac.unpar.siamodels.InfoMataKuliah; import id.ac.unpar.siamodels.MataKuliah; @InfoMataKuliah(nama = "Kriptografi", sks = 2) public class AIF389 extends MataKuliah { }
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.1 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su...
/* * * This file is part of the iText (R) project. * Copyright (c) 1998-2016 iText Group NV * Authors: Bruno Lowagie, Paulo Soares, et al. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License version 3 * as published by the Free S...
/* * This file is part of libbluray * Copyright (C) 2010 William Hahne * * 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 * version 2.1 of the License, or (at your option) a...
package nl.paulinternet.gtasaveedit.model.link; import nl.paulinternet.gtasaveedit.model.savegame.SavegameData; import nl.paulinternet.gtasaveedit.model.variables.VariableIntegerImpl; public class LinkInt implements Link { private VariableIntegerImpl var; private int block; private int pos; private int ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed 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) 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 2015-2020 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...
/******************************************************************************* * Copyright (c) 2011, 2018 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 ...
/* * Copyright 2018 Confluent Inc. * * Licensed under the Confluent Community 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://www.confluent.io/confluent-community-license * * Unless required by applicable law or a...
package com.yunus.leetcode.level2; /** * @author gaoyunfeng * @Description: * @date 2021/3/10 13:57 */ public class FindKth { public static void main(String[] args) { int[] arr = {1, 3, 5, 2, 2}; findKth(arr, 5, 3); } /** * 第K大数字 * * @param a 数组 * @param n 数组长度 ...
package com.stripe.param.terminal; import com.google.gson.annotations.SerializedName; import com.stripe.net.ApiRequestParams; import com.stripe.param.common.EmptyParam; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import lombok.Getter; @Getter public class ReaderU...
package org.telegram.ui; import android.annotation.SuppressLint; import android.content.Context; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import androidx.annotation.NonNull; import androidx.recyclerview.widget1.LinearLayoutManager; import a...
package com.lambdaschool.recipes.services; import com.lambdaschool.recipes.exceptions.ResourceNotFoundException; import com.lambdaschool.recipes.models.User; import com.lambdaschool.recipes.repository.UserRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.cor...
package com.ayang818.kugga.services.mapper; import com.ayang818.kugga.services.pojo.model.MessageRelation; import com.ayang818.kugga.services.pojo.model.MessageRelationExample; import com.ayang818.kugga.services.pojo.model.MessageRelationKey; import java.util.List; import org.apache.ibatis.annotations.Param; import or...
package cn.offer2020.pbj.demo.leetcode.queue_stack; import java.util.Stack; /** * @ClassName: Demo32 * @Author: pbj * @Date: 2020/5/21 14:32 * @Description: TODO 32. 最长有效括号 * 给定一个只包含 '(' 和 ')' 的字符串,找出最长的包含有效括号的子串的长度。 */ public class Demo32 { //dp public int longestValidParentheses(String s) { in...