text
stringlengths
7
995k
/* * 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.imagepipeline.cache; import com.facebook.cache.common.CacheKey; /** Class that does no stats tracking at all...
/* ==================================================================== 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 Y...
package com.udemy.springboot.restapi.springbootrestfulwebservices; 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 SpringbootRestf...
package org.apereo.cas.authentication.principal; import lombok.ToString; import lombok.extern.slf4j.Slf4j; import javax.servlet.http.HttpServletRequest; import java.util.Map; import java.util.stream.Stream; /** * The {@link AbstractServiceFactory} is the parent class providing * convenience methods for creating se...
package ro.pub.cs.vmchecker.client.model; public class EvaluationResult { public String step; public String dump; public EvaluationResult(String step, String dump) { this.step = step; this.dump = dump; } public String toHTML() { String resultHTML; resultHTML = "<b>" + step + "</b><br/>"; resul...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.hanaonazure.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.fasterx...
/* * Copyright 2011 Goldman Sachs. * * 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 ...
/* * 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 Scott Logic 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...
/** * Copyright (c) 2013-2020 Contributors to the Eclipse Foundation * * See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Version 2....
/* * Copyright (C) 2010 the original author or authors. * See the notice.md file distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
package by.mrf1n.finance.currencycom.model; import by.mrf1n.finance.currencycom.model.enums.Interval; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.RequiredArgsConstructor; import lombok.Setter; import lomb...
package com.example.demo; import org.springframework.data.repository.CrudRepository; public interface RoleRepository extends CrudRepository<Role, Long> { Role findByRole(String role); }
package io.openmg.metagraph.ignite; import com.google.common.collect.Maps; import org.janusgraph.diskstorage.BackendException; import org.janusgraph.diskstorage.Entry; import org.janusgraph.diskstorage.EntryList; import org.janusgraph.diskstorage.StaticBuffer; import org.janusgraph.diskstorage.keycolumnvalue.*; impor...
package cgeo.geocaching.sorting; import cgeo.geocaching.connector.gc.GCConstants; import cgeo.geocaching.models.Geocache; import java.util.Collections; import java.util.List; import org.apache.commons.lang3.StringUtils; /** * abstract super implementation for all cache comparators * */ abstract class AbstractCac...
package net.arnx.xmlic.internal.util; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import javax.xml.transform.ErrorListener; import javax.xml.transform.TransformerException; import net.arnx.xmlic.XMLException; import net.arnx.xmlic.XMLException.Detail;...
package org.eclipse.persistence.testing.tests.transparentindirection; import org.eclipse.persistence.testing.framework.*; import org.eclipse.persistence.testing.models.transparentindirection.*; import org.eclipse.persistence.descriptors.ClassDescriptor; import org.eclipse.persistence.indirection.IndirectList; import ...
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
package example; /** * Created by sharanya.p on 10/5/2017. */ // Java implementation of search and insert operations // on Trie public class Trie { // Alphabet size (# of symbols) static final int ALPHABET_SIZE = 26; // trie node static class TrieNode { TrieNode[] children = new TrieNod...
package silence.com.cn.a310application; 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 pub...
// Targeted by JavaCPP version 1.5.3: DO NOT EDIT THIS FILE package org.bytedeco.numpy; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.openblas.global.openblas_nolapack.*; import static org.b...
package com.r00ta.dmn.messaging.incoming.dto; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; @JsonIgnoreProperties(ignoreUnknown = true) public class CloudEvent { @JsonProperty("data") public ExecutionRequestEvent data; @JsonProperty("...
package uk.gov.hmcts.reform.em.stitching.service; import org.springframework.data.util.Pair; import uk.gov.hmcts.reform.em.stitching.domain.BundleDocument; import uk.gov.hmcts.reform.em.stitching.service.impl.FileAndMediaType; import java.io.File; import java.io.IOException; public interface DocumentConversionServic...
package com.sherlocky.headfirst.pattern._04_factory._3_abstractfactory.pizza; import com.sherlocky.headfirst.pattern._04_factory._3_abstractfactory.factory.PizzaIngredientFactory; public class PepperoniPizza extends AbstractPizza { PizzaIngredientFactory ingredientFactory; public PepperoniPizza(PizzaIngredie...
/* * Copyright 2017 Alex Thomson * * 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.suncreate.pressuresensor.service; import android.app.IntentService; import android.app.Notification; import android.app.PendingIntent; import android.content.Intent; import android.support.v4.app.NotificationCompat; import android.support.v4.app.NotificationManagerCompat; import com.suncreate.pressuresens...
package com.java110.api.components; import com.java110.core.context.IPageData; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Component; @Component(value="vue_test") public class VueTestComponent { /** * 测试版本号 * @retur...
package com.sequenceiq.cloudbreak.services.filesystem; import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.ANY; import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.ja...
import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; import net.runelite.rs.ScriptOpcodes; @ObfuscatedName("z") @Implements("WorldMapDecoration") public clas...
package com.io.choozo.model.dummydataModel; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class ShoppingBagModel { @SerializedName("Id") @Expose private String id; @SerializedName("Name") @Expose private String name; @SerializedName("I...
package hudson.plugins.git.browser; import hudson.plugins.git.GitChangeSet; import hudson.scm.EditType; import java.net.URL; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.junit.Test; import static org.junit.Assert.*; import org.junit.runner.RunWith; import org.junit.runners...
package org.project.testengine.user.views; import java.awt.EventQueue; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.File; import java.io.IOException; import java.sql.SQLException; im...
/* * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package com.onlylemi.mapview.library; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Picture; import android.graphics.PointF; import android.graphics.RectF; import android.util.AttributeSet; import android.util.Log...
/* * Copyright (c) 2020, Wild Adventure * 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 condit...
package algorithms.search.trace.locator.invariant.rule.log; import algorithms.search.trace.locator.invariant.rule.BaseRule; import org.deckfour.xes.model.XEvent; import org.deckfour.xes.model.XLog; import java.util.*; public class Final extends BaseRule { private String finalValueForKey; public Final(Strin...
package manning.chapterTen; import java.io.File; import manning.utils.PortfolioServiceInterface; import manning.utils.User; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.Preparable; /* * This action uploads an image file using the default fileUpload * interceptor. The interceptor...
package algorithms; import algorithms.interfaces.IGenerator; import java.util.Random; @SuppressWarnings("ALL") public class ComplementaryMultiplyWithCarry extends Random { private long carry; private long multiplier; private int n = 0; private int r; private long[] seeds; public Complementar...
package br.com.zupacademy.lucasmiguins.casadocodigo.modelo; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.validation.constraints.NotBlank; import javax.validation.constrain...
/* * Copyright 2019 ConsenSys AG. * * 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 wr...
package com.subgraph.orchid.directory; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import com.subgraph.orchid.ConsensusDocument; im...
package com.tritondigital.player; import android.net.Uri; import android.os.AsyncTask; import android.os.Build; import android.os.Bundle; import android.text.TextUtils; import android.util.Xml; import com.tritondigital.util.Assert; import com.tritondigital.util.Debug; import com.tritondigital.util.Log; import com.tri...
package org.tdc.config.model; import org.tdc.evaluator.Evaluator; import org.tdc.spreadsheet.CellStyle; /** * Defines the information needed to configure a Model Customizer Column. */ public interface ModelCustomizerColumnConfig { String getHeaderLabel(int headerRowNum); int getWidth(); CellStyle getStyle(); E...
/* * 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 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 in...
package org.succlz123.blueboard.view.adapter.fragment; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import org.succlz123.blueboard.model.api.acfun.AcString; import org.succlz123.blueboard.controller.fragment.other.AcCon...
package com.snakyhy.snakymail.ware.vo; import lombok.Data; import java.util.List; @Data public class MergeVo { // // purchaseId: 1, //整单id // items:[1,2,3,4] //合并项集合 // private Long purchaseId; private List<Long> items; }
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
import java.io.*; import java.util.*; class MattsGraphBook { static FileInputStream fin; static FileOutputStream fout; static BufferedReader br; static PrintWriter pr; static void initL() throws Exception { fin = new FileInputStream("/Users/seeva92/Workspace/Contests/1.txt"); fout = new FileOutputStream("/User...
/* * MIT License * * Copyright (c) 2022 MASES s.r.l. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, cop...
package kotlin.comparisons; import kotlin.Metadata; @Metadata(mo40251bv = {1, 0, 3}, mo40252d1 = {"kotlin/comparisons/UComparisonsKt___UComparisonsKt"}, mo40254k = 4, mo40255mv = {1, 4, 1}, mo40257xi = 1) /* compiled from: _UComparisons.kt */ public final class UComparisonsKt extends UComparisonsKt___UComparisonsKt {...
/* * Copyright 2016 Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
package com.example.guest.sunshine; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.Fragment; import android.text.format.Time; import androi...
/* * Copyright 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 applica...
package syntheagecco.openehr.sdk.model.generated.geccoserologischerbefundcomposition.definition; import java.time.temporal.TemporalAccessor; import javax.annotation.processing.Generated; import org.ehrbase.client.annotations.Entity; import org.ehrbase.client.annotations.OptionFor; import org.ehrbase.client.annotations...
package edu.harvard.iq.dataverse.workflow.internalspi; import edu.harvard.iq.dataverse.workflow.WorkflowContext; import edu.harvard.iq.dataverse.workflow.step.Failure; import edu.harvard.iq.dataverse.workflow.step.Pending; import edu.harvard.iq.dataverse.workflow.step.WorkflowStep; import edu.harvard.iq.dataverse.work...
package pro.gravit.launcher.event; import pro.gravit.launcher.request.WebSocketEvent; public class UserBannedEvent implements WebSocketEvent { public String username; public boolean hardware; public String adminUsername; @Override public String getType() { return "lkUserBanned"; } }
package ca.spottedleaf.oldgenerator.generator.b173.populator; import ca.spottedleaf.oldgenerator.generator.b173.LegacyUtil173; import ca.spottedleaf.oldgenerator.util.BlockConstants; import ca.spottedleaf.oldgenerator.world.BlockAccess; import org.bukkit.Material; import java.util.Random; public class WorldGenTaiga11...
package br.com.aluraflix.repository; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import br.com.aluraflix.model.CategoriaModel; import br.com.aluraflix.model.VideoModel; @Repository public interface VideoRepository extends Jpa...
/* * 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.zstack.sdk; import java.util.HashMap; import java.util.Map; import org.zstack.sdk.*; public class CreateDataVolumeTemplateFromVolumeAction extends AbstractAction { private static final HashMap<String, Parameter> parameterMap = new HashMap<>(); private static final HashMap<String, Parameter> nonA...
package com.github.seckillsystem.common.security.component; import com.github.seckillsystem.common.security.config.IgnoreUrlsConfig; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpMethod; import org.springframework.security.access.SecurityMetadataSource; import org....
package sqlite.feature.asynctask; import android.os.AsyncTask; import com.abubusoft.kripton.android.BindAsyncTaskType; import com.abubusoft.kripton.android.Logger; import java.util.concurrent.Executor; /** * * <p> * Specialized async task to make async database operation on activity * </p> * * <p> * Unlike sta...
package com.question.admin.domain.entity.exam.enums; import java.util.HashMap; import java.util.Map; public enum ExamPaperTypeEnum { Fixed(1, "固定试卷"), Temp(2, "临时时间"), Classes(3, "班级试卷"), TimeLimit(4, "时段试卷"), Push(5, "推送试卷"), Task(6, "任务试卷"); int code; String name; ExamPaperTyp...
package com.imooc.example.axon.config; import org.axonframework.common.jpa.EntityManagerProvider; import org.axonframework.common.transaction.TransactionManager; import org.axonframework.eventhandling.EventBus; import org.axonframework.eventhandling.scheduling.EventScheduler; import org.axonframework.eventhandling.sch...
package com.aptoide.amethyst.viewholders; import android.support.v7.widget.RecyclerView; import android.view.View; import com.aptoide.models.displayables.Displayable; /** * Created by rmateus on 02/06/15. */ public abstract class BaseViewHolder extends RecyclerView.ViewHolder { public int viewType; publi...
/******************************************************************************* * The MIT License (MIT) * * Copyright (C) 2014-2018 Sam Bassett (aka Lothrazar) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software")...
package net.serenitybdd.cucumber.integration; import io.cucumber.junit.CucumberOptions; import net.serenitybdd.cucumber.CucumberWithSerenity; import org.junit.runner.RunWith; /** * Created by Ramanathan Raghunathan on 18/12/2017. */ @RunWith(CucumberWithSerenity.class) @CucumberOptions(features="src/test/resources/...
/* * Copyright (C) 2009-2016 Lightbend Inc. <https://www.lightbend.com> */ package javaguide.application.root; //#root import play.http.HttpErrorHandler; import play.mvc.*; import play.mvc.Http.*; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionStage; import javax.inject.Singleto...
/* * * * * * Copyright 2020 First People's Cultural Council * * * * 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 * ...
package eu.rekawek.coffeegb.integration.mooneye; import eu.rekawek.coffeegb.integration.support.ParametersProvider; import eu.rekawek.coffeegb.integration.support.RomTestUtils; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.io.IOException; import java.nio.f...
/** * Copyright (C) 2013-2014 EaseMob Technologies. 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 requi...
package io.swagger.model; import io.swagger.v3.oas.annotations.media.Schema; import java.util.ArrayList; import java.util.List; import java.io.Serializable; import javax.validation.constraints.*; import javax.validation.Valid; /** * Business Term: Scheme Members Definition: Information about the Members of the Schem...
/** * @author wasitshafi * @since 13-07-20 */ import java.util.Scanner; public class Solution { static int[] acmTeam(String[] topic) // Solution Without using BitSet { int result[], max = Integer.MIN_VALUE, count, maxCount = 0, n = topic.length, m = topic[0].length(); for(int i = 0 ; i <...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.3-hudson-jaxb-ri-2.2-70- // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on...
package org.askerov.dynamicgrid.example; import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.Toast; import org.askerov.dynamicgrid.DynamicGridView; import java.util.ArrayList; import java.util.Arrays; publi...
/** * */ package net.finmath.optimizer; import java.util.Arrays; import org.junit.Test; import net.finmath.montecarlo.RandomVariableFromDoubleArray; import net.finmath.montecarlo.automaticdifferentiation.backward.RandomVariableDifferentiableAAD; import net.finmath.stochastic.RandomVariable; /** * @author Christi...
package Form; import Dao.HodinaDao; import Entity.Hodina; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import javax.swing.table.AbstractTableModel; import sk.upjs.ics.lyz_skola.ObjectFactory; public class HodinyTableModel extends AbstractTableModel { private HodinaDa...
package bookCart.model; public class Order extends Product{ private int orderId; private int uid; private int qunatity; private String date; public Order() { } public Order(int orderId, int uid, int qunatity, String date) { super(); this.orderId = orderId; this.uid = uid; this.qunatity = qunatity; ...
// Copyright 2014 Google Inc. All rights reserved. // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file or at // https://developers.google.com/open-source/licenses/bsd package com.google.u2f.server.messages; public class SignRequest { /** * Version of the prot...
package edu.gemini.ui.workspace; import java.awt.Component; import javax.swing.Action; import edu.gemini.ui.gface.GSelectionBroker; public interface IViewContext { IShell getShell(); void setTitle(String title); String getTitle(); void setContent(Component comp); @SuppressWarnings("unchecked"...
/*! ****************************************************************************** * * Hop : The Hop Orchestration Platform * * http://www.project-hop.org * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "License"); * you ...
/* // Licensed to Julian Hyde under one or more contributor license // agreements. See the NOTICE file distributed with this work for // additional information regarding copyright ownership. // // Julian Hyde licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file e...
package com.fuge.xyin.fragment; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.animation.AnimationUtils; import android...
package de.adorsys.datasafe.encrypiton.impl.document; import com.google.common.collect.ImmutableList; import de.adorsys.datasafe.encrypiton.api.cmsencryption.CMSEncryptionService; import de.adorsys.datasafe.encrypiton.api.document.EncryptedDocumentWriteService; import de.adorsys.datasafe.encrypiton.api.types.keystore....
package passwordmeter.rules; import java.util.function.Predicate; /** * Created by geraldo on 08/11/15. */ public abstract class ConsecutiveChars implements Rule { String s; public ConsecutiveChars(String s){ this.s = s; } @Override public Integer score() { return -numberOfCons...
package com.fase.model; import com.fase.model.element.Tuple; import java.util.ArrayList; public class PrevStepButtonDataHolder { private Tuple tuple; private ArrayList<String> idList; private String method; private Boolean requestLocale; public PrevStepButtonDataHolder(ArrayList<String> idList,...
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
package com.example.coolweather.util; import android.text.TextUtils; import com.example.coolweather.db.City; import com.example.coolweather.db.County; import com.example.coolweather.db.Province; import com.example.coolweather.gson.Weather; import com.google.gson.Gson; import org.json.JSONArray; import org.json.JSONE...
// David Anderson public class Square{ public static void main(String[] args){ System.out.println("Is (5, 5) inside a square of size 5?: " + isInSquare(5, 5, 5)); System.out.println("Is (6, 5) inside a square of size 5?: " + isInSquare(6, 5, 5)); System.out.println("Is(0, 0) inside a square of size...
//@@author A0143409J-reused package seedu.address.commons.core; import java.text.Collator; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.ListIterator; import java.util.function.Consumer; import java.util.functi...
/** */ package com.github.icelyframework.configuration.provider; import com.github.icelyframework.configuration.ConfigurationFactory; import com.github.icelyframework.configuration.ConfigurationPackage; import com.github.icelyframework.configuration.SculptorConfig; import java.util.Collection; import java.util.List...
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.properties; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Observer; import j...
/* * 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.spectrum.image; import com.facebook.jni.annotations.DoNotStrip; import com.facebook.spectrum.utils.Preconditi...
/* * 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 wtserver.server; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Random; import wtserver.client.Chan...
/* * Copyright 2020 Supasin Tatiyanupanwong * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
package cn.navigational.xbrowser.app.controller.web; import cn.navigational.xbrowser.app.controller.MainViewController; import cn.navigational.xbrowser.app.controller.WebSourceCodeViewController; import cn.navigational.xbrowser.app.controller.controls.NavigatorBarController; import cn.navigational.xbrowser.app.control...
package org.ovirt.engine.ui.common.utils; /** * Helper class for working with floating point numbers, such as JavaScript {@code number} * and its Java {@code double} equivalent. */ public class FloatingPointHelper { /** * Machine epsilon for JavaScript {@code number} type, lazily initialized to value ...
/* * 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...
/* * 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 edu.harvard.iq.dataverse.harvest.server.xoai; import org.dspace.xoai.model.oaipmh.GetRecord; import edu.harvard.iq.dataverse.e...