text
stringlengths
7
995k
/******************************************************************************* * Copyright 2011, 2012 Chris Banes. * * 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.apac...
package polyglot.palindrom; import static java.util.Objects.isNull; public class Palindrom { public boolean isPalindromIterative(String value) { if (isNull(value)) { return false; } else if (value.length() <= 1) { return true; } char[] chars = value.toChar...
/* * Copyright (c) 2014-2019 Aurélien Broszniowski * * 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 applicabl...
/* * 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...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
/* * Copyright 2017-2019 original 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 agre...
package uk.gov.hmcts.reform.prl.services.validators; import org.springframework.stereotype.Service; import uk.gov.hmcts.reform.prl.models.dto.ccd.CaseData; @Service public class UploadDocumentChecker implements EventChecker { //always returns false as not part of task list validation or labelling @Override ...
package com.dewarim.cinnamon.dao; import com.dewarim.cinnamon.ErrorCode; import com.dewarim.cinnamon.application.ThreadLocalSqlSession; import com.dewarim.cinnamon.application.exception.BadArgumentException; import com.dewarim.cinnamon.model.Folder; import org.apache.ibatis.session.SqlSession; import java.util.ArrayL...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.android.gms.common.api.internal; import java.lang.ref.WeakReference; // Referenced classes of package com.google.android.gms.common.ap...
// Licensed under the MIT license. See LICENSE file in the project root for full license information. package de.bytefish.pgbulkinsert.bulkprocessor.handler; import java.util.List; public interface IBulkWriteHandler<TEntity> { void write(List<TEntity> entities) throws Exception; }
package com.orange.demo.application.common.constant; import java.util.HashMap; import java.util.Map; /** * 学生行为常量字典对象。 * * @author Jerry * @date 2020-08-08 */ public final class StudentActionType { /** * 充值。 */ public static final int RECHARGE = 0; /** * 购课。 */ public static ...
/* * #%L * ImgLib2: a general-purpose, multidimensional image processing library. * %% * Copyright (C) 2009 - 2020 Tobias Pietzsch, Stephan Preibisch, Stephan Saalfeld, * John Bogovic, Albert Cardona, Barry DeZonia, Christian Dietz, Jan Funke, * Aivar Grislis, Jonathan Hale, Grant Harris, Stefan Helfrich, Mark Hi...
/* Copyright 2016 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 to in writing, softw...
/** * 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...
// 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...
/* * Copyright 2006 Webmedia Group 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 agree...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
package fileReaderTestSet; import com.dcap.analyzer.BaselineValues; import org.apache.commons.math3.stat.descriptive.moment.Mean; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import restTestSet.RestTestInterface; import java.util.HashMap; import static org.junit.Assert.*; /** * Tests th...
package com.newt.mapper.vo; public interface UserVoMapper { }
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2019 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the...
/* * Copyright 2012-2016 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 ...
package org.jenkinsci.plugins.android_device.util; import hudson.EnvVars; import hudson.Proc; import hudson.Util; import hudson.model.AbstractBuild; import hudson.model.BuildListener; import hudson.model.Computer; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.Map; import ...
package com.jeremyfeinstein.slidingmenu.lib.app; import com.droidmage.R; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.view.KeyEvent; import android.view.View; import android.view.ViewGroup.LayoutParams; import com.jeremyfeinstein.slidingmenu.lib.SlidingMenu; public class S...
/** * 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");...
/* * Copyright 2022 StreamThoughts. * * 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, Vers...
/** * Licensed under the Artistic License; you may not use this file * except in compliance with the License. * You may obtain a copy of the License at * * http://displaytag.sourceforge.net/license.html * * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WITHOUT...
package com.bazaarvoice.emodb.blob.api; import com.bazaarvoice.emodb.sor.api.TableAvailability; import com.bazaarvoice.emodb.sor.api.TableOptions; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.Objects; import javax.annotation.Nullable; import java.util.Map; import static com.goo...
/* * * Copyright 2019-2020 felord.cn * * 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 * Website: * https://felord.cn ...
package de.unistuttgart.ipvs.as.mmp.scoring.v1.controller; import de.unistuttgart.ipvs.as.mmp.common.domain.scoring.ScoringInput; import de.unistuttgart.ipvs.as.mmp.common.domain.scoring.ScoringOutput; import de.unistuttgart.ipvs.as.mmp.scoring.service.ScoringService; import org.springframework.http.ResponseEntity; i...
//// Portions Copyright (c) 2006 - 2008, Clark & Parsia, LLC. <http://www.clarkparsia.com> //// Clark & Parsia, LLC parts of this source code are available under the terms of the Affero General Public License v3. //// //// Please see LICENSE.txt for full license terms, including the availability of proprietary exceptio...
/* * Copyright 2016-2021 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 2015 Nikolay Lagutko <nikolay.lagutko@mail.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...
/* * 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 2017-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
package com.manning.hip.ch13; import org.apache.commons.lang.StringUtils; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Job; import org.apache.hadoop.mapreduce.Mapper; import org.apache.hadoop.mapreduce.Reducer; impo...
package com.github.dactiv.showcase.test; import org.hibernate.cfg.Configuration; import org.hibernate.cfg.ImprovedNamingStrategy; import org.hibernate.tool.hbm2ddl.SchemaExport; /** * * 通过Hibernate配置文件创建生成表的sql语句到src/test/resources/data/h2/create-table.sql文件中, * 该类是对单元测试的模拟创建表起辅助作用 * * @author maurice * */ p...
org.apache.tomcat.util.net.NioEndpoint.Poller类的字段 ConcurrentLinkedQueue<Runnable> events其实都是PollerEvent类型 addEvent方法可以加入Runnable,但是这个方法目前没在别处调用, 都是在NioEndpoint中调用,调用addEvent方法时都是用PollerEvent类型做为参数
package io.leontius.concurrency.countdownlatch; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Executor; import java.util.concurrent.Executors; import lombok.extern.slf4j.Slf4j; /** * 倒计时 主要解决一个线程等待多个线程的场景 * * @author Leon Zhang */ @Slf4j public class CountDownLatchExample { public ...
/** * Balance.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.wasoft.websocket.sms.santong; public class Balance implements java.io.Serializable { private boolean isSuccess; private int smsBalance; private int m...
/** * Copyright (c) 2016-2019 物业移动办公平台 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package io.renren.config; import com.google.code.kaptcha.impl.DefaultKaptcha; import com.google.code.kaptcha.util.Config; import org.springframework.context.annotation.Bean; import org.springframework.context...
package gnu.math; public class BitOps { static final byte[] bit4_count = new byte[]{(byte) 0, (byte) 1, (byte) 1, (byte) 2, (byte) 1, (byte) 2, (byte) 2, (byte) 3, (byte) 1, (byte) 2, (byte) 2, (byte) 3, (byte) 2, (byte) 3, (byte) 3, (byte) 4}; private BitOps() { } public static boolean bitValue(IntN...
package org.zendesk.client.v2.model; /** * @author stephenc * @since 05/04/2013 08:56 */ public enum Status { NEW, OPEN, PENDING, HOLD, SOLVED, CLOSED; @Override public String toString() { return super.toString().toLowerCase(); } }
/** * 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 not ...
package com.perforce.common.journal; import java.util.Date; import com.perforce.common.depot.DepotConvert; import com.perforce.common.schema.JournalNote; import com.perforce.common.schema.JournalRecord; import com.perforce.common.schema.JournalNote.NoteType; import com.perforce.common.schema.JournalNote.RunMode; impo...
package net.minecraft.core.dispenser; import net.minecraft.core.BlockSource; import net.minecraft.core.Direction; import net.minecraft.core.Position; import net.minecraft.world.entity.item.ItemEntity; import net.minecraft.world.item.ItemStack; import net.minecraft.world.level.Level; import net.minecraft.world.level.bl...
package tech.jhipster.lite.generator.project.domain; public enum ClientFrameworkType { ANGULAR, REACT, VUE, SVELTE, }
package br.com.caelum.stella.gateway.redecard; public enum RedecardIdiomaOperacao { ESPANHOL("S"),INGLES("E"); private String codigo; private RedecardIdiomaOperacao(String codigo){ this.codigo = codigo; } public String getCodigo() { return codigo; } @Override public String toString() { // TODO Aut...
package oddnetworks.io.oddplayertest; /* * 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/L...
/* * Copyright 2011-2013, by Vladimir Kostyukov and Contributors. * * This file is part of la4j project (http://la4j.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * You may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
package ru.marchenko.phone.book.controller; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import ru.marchenko.phone.book.model.User; import ru.marchenko.phone.book.service.UserServ...
/* * Copyright 2022 biteytech@protonmail.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 applicable l...
/* SqlParserTokenManager.java */ /* Generated by: JJTree&ParserGeneratorCC: Do not edit this line. SqlParserTokenManager.java */ package com.arcadedb.query.sql.parser; import java.io.InputStream; import java.util.List; import java.util.ArrayList; import com.arcadedb.exception.CommandSQLParsingException; import com.arc...
package org.jitsi.gov.nist.javax.sip.header; import java.text.ParseException; import org.jitsi.javax.sip.header.OrganizationHeader; public class Organization extends SIPHeader implements OrganizationHeader { private static final long serialVersionUID = -2775003113740192712L; protected String organization; ...
package com.sinthoras.visualprospecting.mixins; import com.sinthoras.visualprospecting.Utils; import com.sinthoras.visualprospecting.database.ServerCache; import gregtech.common.GT_Worldgen_GT_Ore_Layer; import gregtech.common.GT_Worldgenerator; import net.minecraft.world.World; import net.minecraft.world.chunk.IChunk...
/* * MIT License * * Copyright (c) 2020 Staatsbibliothek zu Berlin - Preußischer Kulturbesitz * * 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 l...
/* * Licensed to Crate under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. Crate licenses this file * to you under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compl...
package com.threathunter.bordercollie.slot.util; import com.threathunter.model.Property; import com.threathunter.model.PropertyMapping; import com.threathunter.model.PropertyReduction; import java.util.ArrayList; import java.util.List; import static com.threathunter.common.Utility.isEmptyStr; /** * Some helper met...
/* * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.swing.plaf.nimbus; import java.awt.*; import java.awt.geom.*; import java.awt.image.*; im...
package com.kermit.lin.newlearn.module.fragment; import android.os.Bundle; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import com.kermit.lin.newlearn.R; import com.kermit.lin.newlearn....
/* * Copyright 2002-2004 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...
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
/* * CodeEditor - the awesome code editor for Android * Copyright (C) 2020-2021 Rosemoe * * 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....
package org.vaadin.artur.pushts; import java.time.LocalDate; public class HealthGridItem { private LocalDate itemDate; private String city; private String country; private String status; private String theme; public HealthGridItem() { } public HealthGridItem(LocalDate itemDate, Str...
package sword.Chap6; /** * 假设某股票的价格按照时间先后顺序存储在数组中,问买卖该股票一次可能获得的最大利润是多少? * 如一支股票在某段时间内的价格为{9, 11, 8, 5, 7, 12, 16, 14}那么能在价格为5的时候购入并在价格为16时卖出,能获得最大利润11 */ public class MaxDiff { public int getMaxDiff(int[] prices) { if (prices == null || prices.length < 2) return 0; int min = prices[0]; i...
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.12 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * -----------------------------...
/* * Copyright (C) 2014-2021 Philip Helger (www.helger.com) * philip[at]helger[dot]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/LICEN...
/* First created by JCasGen Wed Aug 19 22:32:28 CDT 2020 */ package org.apache.ctakes.typesystem.type.util; /* * #%L * cTAKES based concept mapper * %% * Copyright (C) 2010 - 2021 Department of Veterans Affairs * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ex...
package net.davidgf.bankcap; import android.app.AlertDialog; import android.content.DialogInterface; import androidx.appcompat.app.AppCompatActivity; public class BaseActivity extends AppCompatActivity { public void showErrorDialog(String description) { showAlertDialog(getResources().getString(R.string.e...
/* Copyright 2001 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable l...
/** */ package br.ufes.inf.nemo.frameweb.model.frameweb.provider; import br.ufes.inf.nemo.frameweb.model.frameweb.FramewebFactory; import br.ufes.inf.nemo.frameweb.model.frameweb.NavigationAttribute; import java.util.Collection; import java.util.List; import org.eclipse.emf.common.notify.AdapterFactory; import org....
package com.jn.audit.examples.springmvcdemo.common.controller; import com.jn.sqlhelper.common.batch.BatchMode; import com.jn.audit.examples.springmvcdemo.common.dao.UserDao; import com.jn.audit.examples.springmvcdemo.common.model.User; import com.jn.sqlhelper.mybatis.batch.MybatisBatchUpdaters; import io.swagger.anno...
package io.jenkins.plugins.forensics.git.util; import java.io.IOException; import java.net.URL; import java.util.Optional; import org.apache.commons.lang3.StringUtils; import hudson.plugins.git.browser.GitRepositoryBrowser; import hudson.scm.RepositoryBrowser; import static j2html.TagCreator.*; /** * A {@link Rep...
package robotbuilder; import java.awt.Color; import java.awt.Component; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.util.List; import java.util.Vector; import javax.swing.BorderFactory; import javax.swing.DefaultCellEditor; import javax.swing.JComboBox; import javax.swing.JFrame; imp...
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * 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 com.codesetters.printblu.service.mapper; import com.codesetters.printblu.domain.User; import com.codesetters.printblu.service.dto.UserDTO; import org.springframework.stereotype.Service; import java.util.*; import java.util.stream.Collectors; /** * Mapper for the entity User and its DTO called UserDTO. * ...
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2020, Arnaud Roques * * Project Info: https://plantuml.com * * If you like this project or if ...
package org.bukkit.craftbukkit.v1_12_R1.inventory; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap.Builder; import net.minecraft.nbt.NBTBase; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.server.MinecraftServer; import net.minecraft.util.ResourceLocation; impo...
/* * 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.vbarbar.bookshelf.domain.repository; import com.vbarbar.bookshelf.domain.Order; public interface OrderRepository { Long saveOrder(Order order); }
/* * Copyright 2002-2021 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...
package net.minecraft.block; import javax.annotation.Nullable; import net.minecraft.block.material.Material; import net.minecraft.block.properties.IProperty; import net.minecraft.block.properties.PropertyBool; import net.minecraft.block.state.BlockFaceShape; import net.minecraft.block.state.BlockStateContainer; import...
package com.ctrip.xpipe.redis.console.service.impl; import com.ctrip.xpipe.redis.console.constant.XPipeConsoleConstant; import com.ctrip.xpipe.redis.console.dao.RedisDao; import com.ctrip.xpipe.redis.console.exception.BadRequestException; import com.ctrip.xpipe.redis.console.exception.ServerException; import com.ctrip...
package nxt.http; import nxt.Asset; import nxt.Order; import nxt.util.Convert; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.JSONStreamAware; import javax.servlet.http.HttpServletRequest; import java.util.Iterator; import static nxt.http.JSONResponses.INCORRECT_ASSET; im...
package vanenkoviliya.checkstring; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.*; /** * @author vanenkov_ia * @version 1 * @since 06.11.2016 **/ public class CheckstringTest { @Test /** *Проверка метода поиска подстроки в строке. */ public voi...
package com.canyapan.dietdiaryapp.adapters; import android.os.Parcel; import android.os.Parcelable; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import java.io.Serializable; public class RestoreFileItem implements Parcelable { private final String mText; private fina...
package graphProbExp_PKG; import java.io.*; import java.util.*; import base_JavaProjTools_IRender.base_Render_Interface.IRenderInterface; import base_UI_Objects.windowUI.drawnObjs.myDrawnSmplTraj; import base_UI_Objects.GUI_AppManager; import base_UI_Objects.windowUI.base.base_UpdateFromUIData; import base_UI_Objects...
/** * Copyright 2014 Development Sprint, LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
package mekanism.client.render.transmitter; import net.minecraft.client.util.math.MatrixStack; import net.minecraft.client.util.math.MatrixStack.Entry; import com.mojang.blaze3d.vertex.IVertexBuilder; import it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap; import java.util.Arrays; import java.util.List; import ...
/* Copyright 2017 N3TWORK INC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
package br.com.javaparaweb.financeiro.lancamento; import java.util.Date; import java.util.List; import br.com.javaparaweb.financeiro.conta.Conta; import br.com.javaparaweb.financeiro.util.DAOFactory; public class LancamentoRN { private LancamentoDAO lancamentoDAO; public LancamentoRN() { this.lancamentoDAO = DAOFa...
/* * 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 2010-2019 Boxfuse GmbH * * 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 ...
/*- * ============LICENSE_START======================================================= * so * ================================================================================ * Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved. * Modifications Copyright (C) 2019 AT&T Intellectual Property. Al...
package checkspec.analysis; /*- * #%L * CheckSpec Core * %% * Copyright (C) 2017 Florian Cramer * %% * 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/l...
/* (C)2020 */ package saps.common.core.storage; import java.util.Objects; public class AccessLink { private final String name; private final String url; public AccessLink(String name, String url) { if (Objects.isNull(name) || name.isEmpty()) { throw new IllegalArgumentException("The name field of Ac...
/* * 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 ma...
/* * 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.gusdb.schemabrowser.website.tag; import java.io.IOException; import javax.servlet.jsp.JspWriter; import org.gusdb.dbadmin.model.GusTable; /** * @author msaffitz * */ public class WriteCategoryTag extends TableCellWriter { private static final long serialVersionUID = 1L; /* (non...
package com.kaciras.blog.infra.autoconfigure; import com.kaciras.blog.infra.principal.AuthorizeAspect; import com.kaciras.blog.infra.principal.RequirePermission; import com.kaciras.blog.infra.principal.ServletPrincipalFilter; import com.kaciras.blog.infra.principal.ServletSecurityContextFilter; import lombok.RequiredA...