text
stringlengths
7
995k
/*L * Copyright Ekagra Software Technologies Ltd. * Copyright SAIC, SAIC-Frederick * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/common-security-module/LICENSE.txt for details. */ /* * Created on May 16, 2005 * * TODO To change the template for this generated fi...
package com.vsa.paperknifesample; import com.vsa.paperknife.CellElement; /** * Created by albertovecinasanchez on 5/9/15. */ public interface SamplePresenter { void onResume(); void onCheckChange(CellElement cellElement, boolean checked); void onNameClick(CellElement cellElement); }
package frc.robot.commands; import java.util.function.DoubleSupplier; import edu.wpi.first.wpilibj2.command.ParallelCommandGroup; import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; import edu.wpi.first.wpilibj2.command.WaitUntilCommand; import frc.robot.Constants; import frc.robot.Systems; import frc.robot...
package artisynth.core.modelmenu; import java.awt.*; import java.io.*; import java.util.List; import java.util.HashSet; import java.util.ArrayList; import java.util.Collections; import java.awt.event.*; import java.awt.geom.Line2D; import javax.swing.*; import javax.swing.border.*; import javax.swing.event.*; import j...
package com.burst.sdk.struct.hw; import com.sun.jna.NativeLong; import com.sun.jna.Pointer; import com.sun.jna.Structure; import java.util.Arrays; import java.util.List; /** * <i>native declaration : D:\HWPuSDK.h</i><br> * This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br> *...
package org.chronos.chronograph.api.builder.graph; public interface ChronoGraphInMemoryBuilder extends ChronoGraphFinalizableBuilder<ChronoGraphInMemoryBuilder> { }
package io.quarkus.oidc.common.runtime; public final class OidcConstants { public static final String WELL_KNOWN_CONFIGURATION = "/.well-known/openid-configuration"; public static final String CLIENT_ASSERTION = "client_assertion"; public static final String CLIENT_ASSERTION_TYPE = "client_assertion_type...
package com.magic.interview.service.time_transfer; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind...
package com.zl.edu.dao.entity; public class User { private Long userid; private String username; private Integer sex; private String password; private String mail; private Integer role; private String remark; private String tel; public Long getUserid() { return useri...
package com.munepom.mailapp.dataset; import java.io.Serializable; import java.nio.file.Path; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; import java.util.Objects; import javax.mail.Address; import javax.mail.internet.MimeMessage; import javax.mail.internet.MimeMultipart; import l...
package zemberek.core.io; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public class SimpleTextWriterTest { File tmpDir; File tmpFile; ...
/** Generated Assertion Class - DO NOT CHANGE */ package au.org.greekwelfaresa.idempiere.test.assertj.ad_workbenchwindow; import javax.annotation.Generated; import org.compiere.model.X_AD_WorkbenchWindow; /** Generated assertion class for AD_WorkbenchWindow * @author idempiere-test model assertion generator * @ve...
/* * 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 net.hashsploit.clank.server.medius.objects; import net.hashsploit.clank.server.medius.MediusConstants; public class MediusPlayerOnlineState { private final MediusPlayerStatus connectionStatus; private final int lobbyWorldId; private final int gameWorldId; private final String lobbyName; private final S...
package com.jmms.api.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.web.client.TestRestTemplate; import org.springframework.http.*; import com.jmms.api.utils.Routes; public class GenericTest { @Autowired protected TestRestTemplate restTemplate...
/** * 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 us...
package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; import static seedu.address.logic.parser.CliSyntax.PREFIX_COMPANY_NAME; import static seedu.address.logic.parser.CliSyntax.PREFIX_DEADLINE_OF_APPLICATION; import static seedu.address.logic.parser.CliSyntax.PREFIX_INTERNSHIP_POSITION;...
/* * (C) Copyright IBM Corp. 2020. * * 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...
/* 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.springframework.test.web.client; import java.io.IOException; import java.util.Iterator; import org.springframework.http.client.ClientHttpRequest; import org.springframework.lang.Nullable; import org.springframework.util.Assert; /** * Simple {@code RequestExpectationManager} that matches requests to expe...
import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.PrintStream; import java.util.Scanner; class Node { public long key; public Node left; public Node right; public int height = 0; Node(long a) { key = a; } } class Tree { private Node ro...
package com.alipay.api.response; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.domain.AgentScheduleLog; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.iservice.ccm.agent.schedulelog.query response. * * @author auto create * @since 1.0, 2020-12-15 11:55:14 */ public clas...
package com.ruoyi.common.utils.file; import com.itextpdf.text.Document; import com.itextpdf.text.DocumentException; import com.itextpdf.text.Image; import com.itextpdf.text.Rectangle; import com.itextpdf.text.pdf.PdfWriter; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java...
package me.senseiwells.arucas.values.classes; import me.senseiwells.arucas.api.wrappers.IArucasWrappedClass; import me.senseiwells.arucas.values.NullValue; import me.senseiwells.arucas.values.Value; import java.lang.invoke.MethodHandle; public class ArucasMemberHandle { final String name; final MethodHandle setter...
package com.nevercome.tabook.modules.sys.utils; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.nevercome.tabook.common.config.Global; import com.nevercome.tabook.common.utils.CacheUtils; import com.nevercome.tabook.common.utils.Exceptions; import com.nevercome.tabook.common.u...
// Copyright 2020 The Bazel Authors. 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 appl...
/* * Copyright (c) 2011-2020 Contributors to the Eclipse Foundation * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 * which is available at https:...
package li260.ihm.observer; import java.awt.Graphics; import java.awt.image.BufferedImage; import li260.circuit.Circuit; import li260.circuit.ToolsTerrain; public class MapsObserver implements ObserverSwing { private BufferedImage trackIm; public MapsObserver(Circuit track) { super(); trackIm = ToolsTerrain....
package com.wy.service.impl; import java.util.List; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.wy.base.AbstractService; import com.wy.collection.ListTool; import com.wy.model.Qualification; import com.wy.service.QualificationService; @S...
package com.teacher.judge.demo.dao; import com.teacher.judge.demo.bo.Course; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface CourseDao extends JpaRepository<Course, String> { }
package com.ch.warehouse.entity; import java.io.Serializable; import java.util.Date; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * @author procedure sail * @date...
package com.lucene; public class LuceneConstants { public static StringBuffer ProjectPath = new StringBuffer(); public static String DATA_DIRECTORY = "/MetaData/Data"; public static String INDEX_DIRECTORY = "/MetaData/Index"; public static final String PROGRAMNAME = "[WJLUCENE] "; public static fin...
/* * 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.trainchatapp.fragments; import android.os.Bundle; import androidx.fragment.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.google.firebase.auth.FirebaseAuth; import com.google.firebase.auth.FirebaseUser; import com.google.firebase.databa...
package com.nepxion.cots.twaver.element; /** * <p>Title: Nepxion Cots For TWaver</p> * <p>Description: Nepxion Cots Repository</p> * <p>Copyright: Copyright (c) 2010</p> * <p>Company: Nepxion</p> * <p>Announcement: It depends on the commercial software of TWaver, the repository only references the trial version.<...
// 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 kotlin.text; import java.util.*; import kotlin.TypeCastException; import kotlin.collections.CollectionsKt; import kotlin.internal.PlatformImplemen...
/* * Copyright (C) 2012-2020 Zach Melamed * * Latest version available online at https://github.com/zach-m/jonix * Contact me at zach@tectonica.co.il * * 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 ...
package com.bankxpvalue; import net.runelite.client.config.Config; import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigItem; @ConfigGroup("bankxpvalue") public interface BankXpValueConfig extends Config{ @ConfigItem( position = 1, keyName = "tutorial", ...
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.GroupData; import ru.stqa.pft.addressbook.model.Groups; import java.sql.*; /** * Created by Даниил on 11.06.2017. */ public class DBConnectionTests { @Test public void testDbConnection(){ Connect...
/* * lognand.java * * Copyright (C) 2003-2004 Peter Graves * $Id$ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later vers...
package de._13ducks.spacebatz.shared.network.messages.STC; import de._13ducks.spacebatz.client.GameClient; import de._13ducks.spacebatz.client.network.STCCommand; import de._13ducks.spacebatz.server.Server; import de._13ducks.spacebatz.server.data.Client; import de._13ducks.spacebatz.shared.Item; import de._13ducks.sp...
package com.uwetrottmann.trakt5.services; import com.uwetrottmann.trakt5.entities.Comment; import com.uwetrottmann.trakt5.entities.Credits; import com.uwetrottmann.trakt5.entities.Movie; import com.uwetrottmann.trakt5.entities.MovieTranslation; import com.uwetrottmann.trakt5.entities.Ratings; import com.uwetrottmann.t...
/** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package co...
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 io.odpf.firehose.config.converter; import java.lang.reflect.Method; import java.util.regex.Pattern; import java.util.stream.Collectors; import org.aeonbits.owner.Converter; import org.aeonbits.owner.Tokenizer; import org.apache.http.Header; import org.apache.http.message.BasicHeader; public class SchemaRegis...
/* * JBoss, Home of Professional Open Source * Copyright 2016, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
package com.ruoyi.project.swagger.domain; public class Answer { private String answerId; private String studentId; private String subjectId; public String getAnswerId() { return answerId; } public void setAnswerId(String answerId) { this.answerId = answerId; } public...
package com.liangxiaoqiao.leetcode.day.medium; /* * English * id: 5 * title: Longest Palindromic Substring * href: https://leetcode.com/problems/longest-palindromic-substring * desc: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.\nExample 1:\nI...
package org.infinispan.lock; import org.infinispan.configuration.cache.CacheMode; import org.testng.annotations.Test; /** * @author Mircea Markus * @since 5.1 */ @Test (groups = "functional", testName = "lock.CheckRemoteLockAcquiredOnlyOnceDistTest") public class CheckRemoteLockAcquiredOnlyOnceDistTest extends Che...
/* * 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...
package com.sequenceiq.cloudbreak.core.bootstrap.service.host.decorator; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyBoolean; import static org.mockito.ArgumentMatchers.anyString; i...
/* * * Copyright (C) 2020 iQIYI (www.iqiyi.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 fi.j0bbe.jmsg; import fi.j0bbe.jmsg.Commands.MsgCommand; import fi.j0bbe.jmsg.Commands.ReplyCommand; import fi.j0bbe.jmsg.Commands.StaffChatCommand; import fi.j0bbe.jmsg.Listeners.StaffChatListener; import fi.j0bbe.jmsg.Utils.UpdateChecker; import net.md_5.bungee.api.plugin.Plugin; import net.md_5.bungee.confi...
package nam.model.cacheProvider; import java.io.Serializable; import javax.enterprise.context.SessionScoped; import javax.inject.Named; import org.aries.ui.AbstractWizardPage; import nam.model.CacheProvider; import nam.model.util.CacheProviderUtil; @SessionScoped @Named("cacheProviderOverviewSection") public clas...
// // Decompiled by Procyon v0.5.36 // package groovy.ui.text; import javax.swing.text.Element; import javax.swing.text.BadLocationException; import java.awt.event.ActionEvent; import javax.swing.text.Segment; import javax.swing.text.StyledDocument; import javax.swing.AbstractAction; import javax.swing.KeyStroke; i...
package io.requery.test; import io.requery.util.ClassMap; import org.junit.Assert; import org.junit.Test; public class ClassMapTest { @Test public void testDerivedContains() { ClassMap<String> map = new ClassMap<>(); map.put(CharSequence.class, "test"); Assert.assertTrue(map.containsK...
package com.twu.biblioteca; public class Movie extends LibraryItem { private String director; private RatingOption rating; private final String type = "Movie"; public enum RatingOption { ZERO(0), ONE(1), TWO(2), THREE(2), FOUR(4), FIVE(5), SIX(...
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
package com.jarvis.cache.to; import lombok.Data; @Data public class ProcessingTO { private volatile long startTime; private volatile CacheWrapper<Object> cache; private volatile boolean firstFinished=false; private volatile Throwable error; public ProcessingTO() { startTime=System.cur...
/* * Copyright (c) 2020. The Kathra 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 ...
package dev.codenmore.tilegame; public class Launcher { public static void main(String[] args){ Game game = new Game("Tile Game!", 640, 360); game.start(); } }
/* * Copyright 2010-2015 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 "l...
//package com.chinaunicom.sirbee.config; // //import org.springframework.context.annotation.Configuration; //import org.springframework.web.servlet.config.annotation.CorsRegistry; //import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; // ///** // * @author hjf // * @date 2019/3/12 19:03 // ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.resourcemanager.network.models.ProvisioningStat...
/** * TLS-Attacker - A Modular Penetration Testing Framework for TLS * * Copyright 2014-2021 Ruhr University Bochum, Paderborn University, Hackmanit GmbH * * Licensed under Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0.txt */ package de.rub.nds.tlsattacker.attacks.padding; import de....
/* * Copyright 1999-2017 Alibaba Group Holding 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 applica...
package com.survey.repository; import com.survey.entity.Answer; import org.springframework.data.jpa.repository.JpaRepository; import java.util.Optional; public interface AnswerRepo extends JpaRepository<Answer, Long> { Optional<Answer> getByQuestionIdAndQuestionnaireId(Long question_id, Long questionnaire_id); }
package com.pithsoftware.wifipasswords.extras; import android.content.Context; import android.support.design.widget.CoordinatorLayout; import android.support.design.widget.FloatingActionButton; import android.support.v4.view.ViewCompat; import android.util.AttributeSet; import android.view.View; public class ScrollA...
package com.twu.biblioteca; import com.twu.biblioteca.interfaces.Composition; import com.twu.biblioteca.interfaces.User; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.PrintStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; publ...
/* * 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 us.kbase.narrativemethodstore; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonInclude; import com....
/* * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
package org.hl7.fhir.r4.model.codesystems; /* Copyright (c) 2011+, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyr...
/* * MIT License * * Copyright (c) 2021 Oleksii V. KHALIKOV, PE. * * 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 us...
package junit4; import org.junit.Test; import static org.junit.Assume.assumeTrue; public class AssumeTest { @Test public void shouldSkip() { assumeTrue(false); } }
/* * JBoss, Home of Professional Open Source. * Copyright 2006, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
package extension.helpers.charset; import java.util.Arrays; /** * base code https://sourceforge.net/projects/jutf7/ */ public class Base64Util { private static final String BASE64_ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "abcdefghijklmnopqrstuvwxyz" + "0123456789+/"; private static final int ...
package com.datadog.api.v1.client.api; import com.datadog.api.v1.client.ApiException; import com.datadog.api.v1.client.ApiClient; import com.datadog.api.v1.client.ApiResponse; import com.datadog.api.v1.client.Configuration; import com.datadog.api.v1.client.Pair; import javax.ws.rs.core.GenericType; import com.datado...
package com.art2join.authentication; import com.herb2sy.utils.EncryptionUtils; import com.herb2sy.utils.GetFDatas; import com.herb2sy.utils.StringUtils; import java.util.Date; public class ArtOffice2Joinitem { /** * 根据个人uuid 和要添加的机构获取uuid * @param uuid * @param orgId */ public static Re...
package ro.tuc.ds2020.presentation; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; class ButtonEditor extends DefaultCellEditor { protected JButton button; private String label; private boolean isPushed; public ButtonEditor(JCheckBox...
/* * 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 us.ihmc.sensorProcessing.stateEstimation.evaluation; import javax.vecmath.Vector3d; import us.ihmc.sensorProcessing.simulatedSensors.SensorNoiseParameters; public class SensorNoiseParametersForEvaluator { public static SensorNoiseParameters createSensorNoiseParameters() { SensorNoiseParameters se...
package com.wans.mall.sms.service; import com.baomidou.mybatisplus.extension.service.IService; import com.wans.common.utils.PageVo; import com.wans.common.utils.QueryCondition; import com.wans.mall.sms.entity.SkuFullReduction; import java.util.Map; /** * 商品满减信息 * * Created by wans on 2020-10-27 16:20:17. */ publ...
package br.gov.servicos.frontend; import br.gov.servicos.cms.ConteudoController; import br.gov.servicos.fixtures.TestData; import br.gov.servicos.orgao.OrgaoController; import br.gov.servicos.v3.schema.OrgaoXML; import br.gov.servicos.v3.schema.ServicoXML; import org.junit.Before; import org.junit.Test; import org.jun...
/* * Copyright 2015 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
/* * Copyright 2016. Ivan Stuart * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright 2014 - 2020 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...
package com.ideeastudios.example.mvp.model; import android.content.Context; import android.content.SharedPreferences; import android.os.Handler; import android.text.TextUtils; import android.util.Log; import com.ideeastudios.example.mvp.interfaces.HomeActivityContract; import com.ideeastudios.example.mvp.interfaces.M...
package jadx.core.deobf; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import java.util.regex.Pattern; import static jadx.core.utils.StringUtils.notEmpty; public class NameMapper { private static final Pattern VALID_JAVA_IDENTIFIER = Pattern.compile( "\\p{javaJavaIdentifierStart}\\p{j...
/***************************************************************** * 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 * ...
package com.legyver.tuktukfx.observer; import com.legyver.tuktukfx.event.TaskEvent; import com.legyver.core.exception.CoreException; /** * Observers to listen for task processing events * @param <T>: The type of the task event */ public interface TaskObserver<T extends TaskEvent> { /** * The action to take on ...
/* * Copyright 2000-2014 JetBrains s.r.o. * * 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 es.developer.achambi.pkmng.modules.search.pokemon.data; import java.util.ArrayList; import java.util.List; import es.developer.achambi.pkmng.database.dao.PokemonDAO; import es.developer.achambi.pkmng.database.model.pokemon; import es.developer.achambi.coreframework.exception.IllegalIDException; import es.dev...
/** * Licensed to the TomTom International B.V. under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. TomTom International B.V. * licenses this file to you under the Apache License, * Version 2.0 (the "Lic...
/* * Copyright (C) 2015 The Android Open Source Project * Copyright (C) 2017 The MoKee 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.o...
package com.github.wanabe.prestofetcher; import java.util.HashMap; public class PrestoRecord extends HashMap<String, Object> { private static final long serialVersionUID = -4591086563468630500L; private final boolean isTerminator; PrestoRecord() { this(false); } PrestoRecord(final boolea...
/* * 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...
/* * 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 com.sigad.sigad.business; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.G...
private void addAManifestInJarFile(Manifest mf, ZipOutputStream outputFileZip, String fileName) throws IOException { outputFileZip.putNextEntry(new ZipEntry(fileName)); mf.write(outputFileZip); outputFileZip.closeEntry(); }
package org.scaffoldeditor.scaffold.sdoc; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class ComponentDoc { private String type; private String name; private String prettyName; private String description; public ComponentDoc(String type, String name, String prettyName, Str...