text
stringlengths
7
1.01M
/** * Copyright 2012-2015 Gunnar Morling (http://www.gunnarmorling.de/) * and/or other contributors as indicated by the @authors tag. See the * copyright.txt file in the distribution for a full listing of all * contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not ...
// Copyright 2006, 2007 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 b...
/* * Copyright 2012-2017 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.tyutyutyu.jthumb.ffmpeg; import com.tyutyutyu.common.command.Command; import lombok.extern.log4j.Log4j2; import java.io.File; import java.io.IOException; import java.nio.file.Path; @Log4j2 public class Ffmpeg { public void createScreenshot( Path filePath, Path subTempPath, String timeLabel, ...
package com.mparticle.identity; import android.content.Context; import androidx.annotation.NonNull; import com.mparticle.MParticle; import com.mparticle.UserAttributeListener; import com.mparticle.consent.ConsentState; import com.mparticle.internal.listeners.ApiClass; import com.mparticle.segmentation.SegmentListene...
/** * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * This is the source code of Telegram for Android v. 5.x.x. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013-2018. */ package org.telegram.messenger; import android.content.BroadcastReceiver; imp...
package com.cattong.sns.impl.renren; import static com.cattong.commons.util.ParseUtil.getRawString; import java.text.ParseException; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import com...
package com.github.chen0040.bootslingshot.controllers; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.serializer.SerializerFeature; import com.github.chen0040.bootslingshot.services.ProductApi; import com.github.chen0040.bootslingshot.utils.DataRow; import com.github.chen0040.bootslingshot.utils.DataTa...
/* * 11/19/04 1.0 moved to LGPL. * 12/12/99 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
package com.fasterxml.jackson.databind.ser; import java.math.BigDecimal; import java.util.*; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jacks...
/* * 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 cn.shishuihao.thirdparty.api.sms.aliyun; import cn.shishuihao.thirdparty.api.core.channel.AbstractMemoryChannel; import cn.shishuihao.thirdparty.api.sms.SmsApiChannel; import cn.shishuihao.thirdparty.api.sms.aliyun.api.AliYunSendBatchSmsApi; import cn.shishuihao.thirdparty.api.sms.aliyun.api.AliYunSendSmsApi; ...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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 ...
package controllers; import models.manager.RouteTagManager; import models.manager.impl.RouteTagManagerImpl; import play.mvc.Controller; import play.mvc.Result; public class RouteTag extends Controller { private static RouteTagManager rouM = new RouteTagManagerImpl(); public Result create(Integer id) { r...
/* * 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...
/* * 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 web.utils; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.Prop...
/* * Copyright 2002-2019 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 com.ryan.github.view.cookie; /** * Created by Ryan * on 2019/10/29 */ @Deprecated public enum CookieStrategy { MEMORY, PERSISTENT }
package com.jvm_bloggers; import lombok.experimental.UtilityClass; @UtilityClass public class ApplicationProfiles { public static final String PRODUCTION = "prod"; public static final String STAGE = "stage"; public static final String DEV = "dev"; public static final String TEST = "test"; public ...
package com.fly.bmark2.utils.LazyList; import android.content.Context; import java.io.File; public class FileCache { private File cacheDir; public FileCache(Context context){ //Find the dir to save cached images if (android.os.Environment.getExternalStorageState().equals(android.os.Environm...
/**************************************************************** * 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 Servlet; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.PreparedStatement; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.s...
package com.bitdubai.fermat_dap_api.layer.dap_module.wallet_asset_user.interfaces; import com.bitdubai.fermat_api.layer.modules.ModuleManager; import com.bitdubai.fermat_dap_api.layer.dap_wallet.asset_user_wallet.interfaces.AssetUserWalletList; import com.bitdubai.fermat_dap_api.layer.dap_wallet.common.exceptions.Cant...
/** * <copyright> * </copyright> * * $Id$ */ package org.wso2.developerstudio.eclipse.gmf.esb.impl; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.EObjectImpl; import org.wso2.develop...
// Copyright 2018 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unl...
package jp.openstandia.keycloak.grpc; import io.grpc.Context; import io.grpc.Metadata; import org.keycloak.models.KeycloakSession; import org.keycloak.services.resources.KeycloakApplication; import static io.grpc.Metadata.ASCII_STRING_MARSHALLER; public class ServerConstant { public static final Context.Key<Keyc...
package pl.gregorymartin.touristapp.place.dto; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @Getter @Setter @NoArgsConstructor @AllArgsConstructor public class CityWriteModel { private String name; private String photoUrl; private String co...
// ============================================================================ // // Copyright (C) 2006-2021 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have...
/* * 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 nebuladevelopment.skillproject.food.fish.raw; import nebuladevelopment.skillproject.food.InedibleUncookedFood; import nebulade...
package com.fcb.servicefeign.service; import com.fcb.servicefeign.service.impl.HelloServiceHyStric; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.b...
package com.yz.gulimall.coupon.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.math.BigDecimal; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * 商品spu积分设置 * * @author zhengyang * @email zhengyang@gmail.com...
/** * Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
/* * 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 org.zhenchao.oauth.util; import com.alibaba.fastjson.JSONObject; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.util.UriComponentsBuilder; import org.zhenchao.oauth.common....
/** * 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...
/* * 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")...
/** * Copyright 2017 Syncleus, Inc. * with portions copyright 2004-2017 Bo Zimmerman * * 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 2016 Yahoo 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 i...
package ru.hixon.movies; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class MoviesApplication { public static void main(String[] args) { SpringApplication.run(MoviesApplication.class, args); } }
/* * Copyright 2017-2019 T-Doer (tdoer.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 law...
package com.project.convertedCode.includes.vendor.nikic.php_parser.lib.PhpParser.Node.Expr.Cast; import com.runtimeconverter.runtime.RuntimeStack; import com.runtimeconverter.runtime.interfaces.ContextConstants; import com.runtimeconverter.runtime.includes.RuntimeIncludable; import com.runtimeconverter.runtime.include...
package com.wzp.demo.Dto; import com.alibaba.excel.annotation.ExcelProperty; import lombok.Data; import java.util.Date; /** * @author * @date 2021 年 11 月 08 日 */ @Data public class NowTestDTO { @ExcelProperty("姓名") private String name; @ExcelProperty("年龄") private int age ; @ExcelProperty("日...
// Template Source: BaseEntityCollectionRequest.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // --------------------------...
/* * Copyright 2017, OpenSkywalking Organization 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 re...
package charbosses.powers.cardpowers; import charbosses.powers.general.EnemyPoisonPower; import com.megacrit.cardcrawl.actions.common.ApplyPowerAction; import com.megacrit.cardcrawl.actions.common.ReducePowerAction; import com.megacrit.cardcrawl.core.AbstractCreature; import com.megacrit.cardcrawl.core.CardCrawlGame; ...
package com.codepath.apps.restclienttemplate; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import com.codepath.app...
package com.javaweb.common.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; /** * 阿里短信配置类 */ // 让Spring启动的时候扫描到该类,并添加到Spring容器中 @Configuration // 设置前缀 @ConfigurationProperties(prefix = "spring.alisms"...
/* * Copyright (c) 2017 Cadenza United Kingdom Limited * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
/* * 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 org.luncert.objectmocker.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Declare target generator is used for generate dynamic type, e.g. ...
/* * 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...
package gov.cms.bfd.pipeline.rda.grpc.source; import static io.grpc.Metadata.ASCII_STRING_MARSHALLER; import com.google.common.base.Strings; import io.grpc.CallCredentials; import io.grpc.Metadata; import io.grpc.Status; import java.util.concurrent.Executor; /** * A CallCredentials implementation that adds a bearer...
/* * This file is part of ELKI: * Environment for Developing KDD-Applications Supported by Index-Structures * * Copyright (C) 2019 * ELKI Development Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the...
/* * (c) Copyright 2018 Palantir Technologies 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 ...
package com.alipay.api.domain; import java.util.Date; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 惠支付通用开放平台事件接入接口 * * @author auto create * @since 1.0, 2018-07-30 15:26:46 */ public class AlipayMarketingToolPromocommoptOpeneventSendModel extends Alipay...
/* * Copyright 2012-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...
/** * Copyright © 2008-2019, Province of British Columbia * * 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 b...
package embedded.kookmin.ac.kr.database; import android.provider.BaseColumns; public class ContestList { public static final class CreateDB implements BaseColumns { public static final String NAME = "name"; public static final String TABLENAME = "address"; public static final String CREAT...
/** * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * * @generated */ package org.kaaproject.kaa.server.common.thrift.gen.operations; import org.apache.thrift.protocol.TTupleProtocol; import org.apache.thrift.scheme.IScheme; import org.apache.thrift...
package com.msr.msrshop.coupon.service; import com.baomidou.mybatisplus.extension.service.IService; import com.msr.common.utils.PageUtils; import com.msr.msrshop.coupon.entity.SeckillSkuRelationEntity; import java.util.Map; /** * 秒杀活动商品关联 * * @author yang * @email yang@gmail.com * @date 2020-09-10 14:21:55 */ ...
package com.company; import com.company.generators.CommonGenerator; public class Main { public static void main(String[] args) { CommonGenerator generator = new CommonGenerator(); System.out.println(generator.groups); System.out.println(generator.students); System.out.println(gene...
/* * 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 2014 - 2020 Henning Dodenhof * * 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 com.blog.commonutill.config.redis; import java.util.concurrent.locks.Lock; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.integration.support.locks.LockRegistry; import lombok.NonNull; import lombok.extern.slf4j.Slf4j; @Slf4j public class CustomRedisLockService { Redi...
/* * The MIT License * * Copyright 2014 rinrinne a.k.a. rin_ne All rights reserved. * * 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 ...
/* * SonarQube PMD Plugin * Copyright (C) 2012-2019 SonarSource SA * mailto:info AT sonarsource DOT com * * This program 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 3 of the...
package nl.nn.adapterframework.configuration; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import java.io.IOException; import java.net.URL; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet;...
package com.humac.album.web; public class FlashMessage { private String message; private Status status; public FlashMessage(String message, Status status) { this.message = message; this.status = status; } public static enum Status { SUCCESS, INFO, FAILURE ...
package com.adamkorzeniak.masterdata.features.metadata.model.dto; import lombok.Getter; import lombok.Setter; @Getter @Setter public class OperationResponse { private String summary; private String operationId; private String description; // private List<Parameter> parameters; }
package com.thinktag.user.service; import com.thinktag.user.model.User; import java.util.Optional; public interface UserAuthenticationService { /** * Finds a user by issued token * * @param token JWT * @return */ Optional<User> findByToken(String token); }
package com.oxygenxml.git.view.historycomponents; import java.io.File; import java.net.URL; import java.util.List; import java.util.stream.Collectors; import javax.swing.Action; import javax.swing.JTable; import org.junit.Test; import com.oxygenxml.git.service.GitAccess; import com.oxygenxml.git.service.entities.Fi...
package frc.robot.commands.CommandGroups; import edu.wpi.first.wpilibj2.command.ParallelCommandGroup; import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; import edu.wpi.first.wpilibj2.command.WaitCommand; import edu.wpi.first.wpilibj2.command.WaitUntilCommand; import frc.robot.subsystems.Feeder; import frc.r...
package org.basex.query.value.array; import java.util.*; import org.basex.query.util.fingertree.*; import org.basex.query.value.*; import org.basex.util.*; /** * A leaf node containing {@link Value}s. * * @author BaseX Team 2005-16, BSD License * @author Leo Woerteler */ final class LeafNode implements Node<Val...
package pv.com.pvcloudgo.utils; import android.content.Context; import android.text.TextUtils; import pv.com.pvcloudgo.model.bean.User; public class UserLocalData { public static void putUser(Context context,User user){ String user_json = JSONUtil.toJSON(user); PreferencesUtils.putString(con...
/* * Everywhere * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2019-09-01 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do...
package ru.job4j.collections.list.array; import org.junit.Test; import java.util.ConcurrentModificationException; import java.util.Iterator; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.nullValue; /** * Test. * * @author Sergey G...
package com.example.restapi.model; import org.hibernate.annotations.NaturalId; import javax.persistence.*; import javax.validation.constraints.*; import java.util.HashSet; import java.util.Set; @Entity public class User extends AuditModel { @Id @GeneratedValue private int id; @NotNull @Size(min=2...
package com.pfproject.api.controller.comptabilite.donneedebase.comptebancaire; import com.pfproject.api.converter.ConverterFacade; import com.pfproject.api.dto.MessageDTO; import com.pfproject.api.dto.comptabilite.donneedebase.comptebancaire.CompteBancaireDTO; import com.pfproject.api.model.User; import com.pfproject....
package at.ac.tuwien.sepm.assignment.group.replay.service.impl.parser; import com.jayway.jsonpath.ReadContext; import org.springframework.stereotype.Service; import java.util.ArrayList; import java.util.List; @Service public class GameInformationParser { private ReadContext ctx; private List<Double> timeOf...
package geektime.spring.commandlinedemo; 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 CommandLineDemoApplicationTests { @T...
/* * 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 u...
/* * Copyright (c) 2020, 2021 Oracle 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 ...
package org.uma.jmetal.problem.multiobjective.wfg; import org.uma.jmetal.solution.DoubleSolution; @SuppressWarnings("serial") public class WFG7 extends WFG { /** * Creates a default WFG7 problem with * 2 position-related parameters, * 4 distance-related parameters, * and 2 objectives */ public WFG7...
package com.blakebarrett.lumocityandroidcodingchallenge; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public App...
/* * Copyright 2014 - 2022 Blazebit. * * 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...
/* * Copyright (c) 2015 SONATA-NFV, UCL, NOKIA, NCSR Demokritos 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 (c) 2018, Tomas Slusny <slusnucky@gmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, thi...
package org.opencb.opencga.storage.hadoop.variant.index.query; import org.opencb.opencga.core.config.storage.IndexFieldConfiguration; import org.opencb.opencga.storage.hadoop.variant.index.core.filters.IndexFieldFilter; import org.opencb.opencga.storage.hadoop.variant.index.sample.FileIndexSchema; import java.util.Co...
/* * Copyright ConsenSys Software Inc., 2022 * * 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...
/* * Copyright 2016 SRI International * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
package dae.gui; import dae.project.Project; import java.awt.event.ActionEvent; import java.awt.event.KeyEvent; import javax.swing.AbstractAction; import javax.swing.ActionMap; import javax.swing.InputMap; import javax.swing.InputVerifier; import javax.swing.JComponent; import javax.swing.JTextField; import javax.swin...
package com.br.base; import android.os.Bundle; /** * Objects of this class are used to serialize and deserialize PresentationModel to/from the Bundle object. */ public interface PresentationModelSerializer<M> { M restorePresentationModel(Bundle savedInstanceState, String presentationModelKey); void savePr...
package org.traccar.helper; import org.jboss.netty.buffer.ChannelBufferFactory; import org.jboss.netty.buffer.HeapChannelBufferFactory; import static org.junit.Assert.*; import org.junit.Test; public class ChannelBufferToolsTest { private ChannelBufferFactory factory = new HeapChannelBufferFactory(); ...
package com.springboot.security.security; import com.springboot.security.handler.MyAuthenticationFailureHandler; import com.springboot.security.handler.MyAuthenticationSuccessHandler; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springfra...
/* * Copyright (c) 2015-present, Horcrux. * All rights reserved. * * This source code is licensed under the MIT-style license found in the * LICENSE file in the root directory of this source tree. */ package abi34_0_0.host.exp.exponent.modules.api.components.svg; import android.annotation.SuppressLint; import...
package net.ttddyy.dsproxy.listener; import net.ttddyy.dsproxy.QueryType; /** * @author Tadaya Tsuyukubo */ public class QueryUtils { public static String removeCommentAndWhiteSpace(String query) { if (query == null) { return null; } return query .replaceAll("...
/* * Copyright 2020 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...