text
stringlengths
7
995k
/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.kodilla.patterns.singleton; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; public class SettingsFileEngineTestSuite { @BeforeClass public static void openSettingsFile() { SettingsFileEngine.getInstance().open("myapp.settings"); ...
/* * ============LICENSE_START========================================================= * dcae-analytics * ================================================================================ * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * ========================================================...
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.bian.dto.SDMerchantAcquiringFacilityFeedbackOutputModelServiceDomainFeedbackActionRecord; ...
/** * Copyright 2021 Shulie Technology, Co.Ltd * Email: shulie@shulie.io * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
package li.earth.urchin.twic.sarcoptic; import org.objectweb.asm.Opcodes; enum Kind { BOOLEAN(boolean.class, 'Z', Opcodes.ICONST_0, Opcodes.ILOAD, Opcodes.IRETURN), BYTE(byte.class, 'B', Opcodes.ICONST_0, Opcodes.ILOAD, Opcodes.IRETURN), SHORT(short.class, 'S', Opcodes.ICONST_0, Opcodes.ILOAD, Opcodes.IRE...
/* * 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 ...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2019.05....
/* * Copyright 2002-2016 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.ymsz.system.service; import java.util.List; import com.ymsz.common.core.domain.Ztree; import com.ymsz.system.domain.SysDept; import com.ymsz.system.domain.SysRole; /** * 部门管理 服务层 * * @author ymsz */ public interface ISysDeptService { /** * 查询部门管理数据 * * @param dept 部门信息 * @ret...
package com.skylike.skymall.member.controller; import java.util.Arrays; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.anno...
package com.mina_mikhail.mvvmsampleapp.utils; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import java.net.InetAddress; import java.net.NetworkInterface; import java.util.Collections; import java.util.List; /* * * * * Created by Mina Mikhail on 29/04/2019 ...
/* * This file is part of a module with proprietary Enterprise Features. * * Licensed to Crate.io Inc. ("Crate.io") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * Unauthorized copying of this file...
package io.onedev.server.security.realm; import java.util.Collection; import java.util.concurrent.Callable; import javax.annotation.Nullable; import javax.inject.Inject; import javax.inject.Singleton; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.AuthenticationInfo; import org....
package com.netsuite.webservices.platform.common; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; import com.netsuite.webservices.platform.core.SearchDateField; import com.netsuite.webservices.platform.core.SearchLongField; imp...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.ntp; import android.content.Context; import android.content.res.Resources; import android.util.AttributeSet; import a...
package com.luk.saucenao; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public...
// Copyright 2018 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...
package net.silentchaos512.gear.data.trait; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import net.minecraft.util.ResourceLocation; import net.minecraft.util.Util; import net.minecraft.util.text.ITextComponent; import net.minecraft.util.text.StringTextComponent; import net.minecraft.util.text....
package org.drools.process.instance.timer; import org.drools.process.core.timer.Timer; public interface TimerListener { void timerTriggered(Timer timer); }
package com.benromberg.cordonbleu.data.testutil; import org.junit.rules.ExternalResource; import com.github.fakemongo.Fongo; import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.MongoClient; import com.mongodb.connection.ServerVersion; public class DatabaseRule...
/* * The MIT License * * Copyright 2019 Vic Cebedo <cebedo.vii@gmail.com>. * * 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 right...
package codeforces; import java.util.Scanner; public class watermelon_4A { public static void main(String[] args) { int n = new Scanner(System.in).nextInt(); System.out.println(n % 2 == 0 && n!= 2? "YES" : "NO"); } }
package eu.topine.parking.restservice.v1.model; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; @Data @EqualsAndHashCode public class Car implements Serializable { private CarType type; private String regPlate; }
package br.inatel.cdg.algebra.scene; public class Ponto { public double x; public double y; public Ponto(double x, double y){ this.x = x; this.y = y; } }
/* * Copyright (c) 2008-2020, Hazelcast, 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 ...
// Automatically generated by the Fast Binary Encoding compiler, do not modify! // https://github.com/chronoxor/FastBinaryEncoding // Source: test.fbe // Version: 1.7.0.0 package com.chronoxor.test.fbe; // Fast Binary Encoding com.chronoxor.test sender public class Sender extends com.chronoxor.fbe.Sender { // Imp...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
package io.agrest.cayenne; import io.agrest.DataResponse; import io.agrest.EntityUpdate; import io.agrest.SimpleResponse; import io.agrest.cayenne.cayenne.main.E20; import io.agrest.cayenne.cayenne.main.E21; import io.agrest.cayenne.cayenne.main.E23; import io.agrest.cayenne.cayenne.main.E29; import io.agrest.cayenne...
package com.active4j.hr.core.web.tag.model; /** * * @author chenxl * */ public class DataGridToolBarUrl { private String url;//操作链接地址 private String label;//按钮名称 private String type;//按钮类型 private String message;//询问链接的提示语 private String icon; private String funName; private String onclick; private Strin...
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package org.ahocorasick.trie; public class TrieConfig { private boolean allowOverlaps = true; private boolean onlyWholeWords = false; private boolean onlyWholeWordsWhiteSpaceSeparated = false; private boolean caseInsensitive = false; private boolean stopOnHit = false; public boolean isSto...
package org.apache.flink.graph.streaming.partitioner.edgepartitioners.batchapp; /** * Created by zainababbas on 18/04/2017. */ import org.apache.flink.api.common.JobExecutionResult; import org.apache.flink.api.common.functions.MapFunction; import org.apache.flink.api.common.functions.Partitioner; import org.apache....
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.turok_mixins; import com.oldturok.turok.module.ModuleManager; import net.minecraft.block.BlockSoulSand; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.Entity; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import org.spongepowered.asm.mixin.Mixin; impo...
package io.kestra.plugin.jdbc.oracle; import io.swagger.v3.oas.annotations.media.Schema; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.ToString; import lombok.experimental.SuperBuilder; import io.kestra.core.models.annotations.Example; import io.kestra.core.model...
package com.damon.rmq.api.utils; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; public class DateFormatUtils { private DateFormatUtils() { throw new RuntimeException("DateFormatUtils.class can't be instantiated"); } private static final String SPLIT_PATTERN_DATETIME =...
/* * 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 i...
/* * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ /* * * * * * * Copyright (c) 2008-2012, Stephen Colebourne & Michael Nascimento Santos * * All ...
package org.distributeme.agents.transporter; import net.anotheria.anoprise.metafactory.Service; import org.distributeme.agents.AgentPackage; import org.distributeme.annotation.DistributeMe; import org.distributeme.annotation.SupportService; @DistributeMe(moskitoSupport=false, factoryClazz=TransporterServiceFactory.cl...
package tech.toparvion.analog.remote.agent.origin.adapt; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import static java.lang.String.format; import static java.nio.charset.StandardChar...
package com.kempo.spellcheck.application; public class SpellCheck { /* deprecated */ public static void main(String[] args) { System.out.println("Hello!"); } }
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2011 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are subject...
/* * 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 ...
/** * MIT License * * Copyright (c) 2010 - 2021 The OSHI Project Contributors: https://github.com/oshi/oshi/graphs/contributors * * 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 withou...
/* * Minecraft Forge * Copyright (c) 2016-2021. * * 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 version 2.1 * of the License. * * This library is distributed in the hope that it...
package org.hyperagents.yggdrasil.websub; import java.util.HashSet; import java.util.Hashtable; import java.util.Map; import java.util.Set; /** * A singleton used to manage WebSub subscribers. An equivalent implementation can be obtained with * local maps in Vert.x. Can be refactored using async shared maps to run ...
/* * Copyright (c) 2010-2016 William Bittle http://www.dyn4j.org/ * 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 copyright ...
package com.lanshiqin.algorithm.leetcode.a219; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class SolutionTest { @BeforeEach void setUp() { } @Test void containsNearbyDuplicate() { assertTrue(new Solution()...
package com.youche.utils.reflect; import lombok.extern.log4j.Log4j2; import java.beans.BeanInfo; import java.beans.IntrospectionException; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect....
package org.wikipedia.notifications; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.annotations.SerializedName; import org.apache.commons.lang3.StringUtils; import org.wikipedia.json.GsonUtil; 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 ...
// MIT License // Copyright (c) 2019 teamCMS // 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, modify, merge, ...
/****************************************************************************** * $Id$ * * Name: gdalinfo.java * Project: GDAL SWIG Interface * Purpose: Java port of gdalinfo application * Author: Benjamin Collins, The MITRE Corporation * * ***************************************************************...
package org.robolectric.pluginapi; import java.nio.file.Path; import javax.annotation.Nonnull; /** * Represents a unique build of the Android SDK. */ @SuppressWarnings("NewApi") public abstract class Sdk implements Comparable<Sdk> { private final int apiLevel; protected Sdk(int apiLevel) { this.apiLevel =...
package org.julioju.lbstrawmap.config; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.jpa.repository.config.EnableJpaAuditing; import org.springframework.data.jpa.r...
/** * */ package com.airsltd.aga.ranking.core.engine; import java.util.List; import com.airsltd.aga.ranking.core.data.GameState; import com.airsltd.aga.ranking.core.data.RankGame; import com.airsltd.aga.ranking.core.model.GameModel; import com.airsltd.aga.ranking.core.states.GameResult; import com.airsltd.core.data...
// This is a generated file. Not intended for manual editing. package generated.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface Predicate extends PsiElement { @NotNull PsiElement getPredicateLiteral(); }
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi * * 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...
package com.example.report; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void add...
package org.cloudbus.cloudsim.examples.power.util; import org.cloudbus.cloudsim.brokers.DatacenterBroker; import org.cloudbus.cloudsim.cloudlets.Cloudlet; import org.cloudbus.cloudsim.cloudlets.CloudletSimple; import org.cloudbus.cloudsim.util.Log; import org.cloudbus.cloudsim.utilizationmodels.UtilizationModel; impor...
/******************************************************************************* * Copyright (c) 2005, 2015 SAP. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * which accompanies this...
package com.gaojun.appmarket.ui.view.fly; import android.content.Context; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; public class ShakeListener implements SensorEventListener { private static final int FORCE...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.jdisc.application; import org.junit.Test; import java.net.URI; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import static org.junit.A...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright (c) OSGi Alliance (2004, 2014). All Rights Reserved. * * Implementation of certain elements of the OSGi Specification may be subject * to third party intellectual property rights, including without limitation, * patent rights (such a third party may or may not be a member of the OSGi * Alliance). ...
/* * Copyright 2014 The Netty Project * * The Netty Project licenses this file to you 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 r...
package game_player; import javafx.scene.Group; import javafx.scene.image.ImageView; public class GameRunningView { private Group myRoot; public GameRunningView() { myRoot = new Group(); } public Group getViews() { return myRoot; } public void clearSpriteViews() { myRoot.getChildren().clear(); } ...
/* * Copyright 2021 Hazelcast Inc. * * Licensed under the Hazelcast Community License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://hazelcast.com/hazelcast-community-license * * Unless required by applicable law or agree...
package com.github.privacystreams; /** * Some utility functions to generate doc. */ public class Consts { public static final String ITEM_ANNOTATION = "com.github.privacystreams.utils.annotations.PSItem"; public static final String OPERATOR_WRAPPER_ANNOTATION = "com.github.privacystreams.utils.annotations.P...
package net.leodavesne.plugin.bagargui.api; public interface MyPluginComponent { String getName(); }
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.mark.model.article.pojos; import lombok.Data; import java.math.BigDecimal; import java.util.Date; @Data public class ApComment { private Integer id; private Integer authorId; private String authorName; private Integer entryId; private Integer channelId; private Boolean type; ...
import javax.swing.*; import java.util.*; import java.awt.*; class StopWatch extends JPanel implements Runnable { Integer sec_elapsed = new Integer(0); Calendar time1; Calendar time2; Calendar timer = Calendar.getInstance(); boolean run = true; JLabel tLabel = new JLabel(); static Font bigFont = new Font("arial...
package org.iitk.brihaspati.modules.utils; /*@(#)ExpiryUtil.java * Copyright (c) 2004-2006,2011.2012,2015 ETRG,IIT Kanpur. http://www.iitk.ac.in/ * All Rights Reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * condi...
/* * 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 ...
/* * UltraCart Rest API V2 * UltraCart REST API Version 2 * * OpenAPI spec version: 2.0.0 * Contact: support@ultracart.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package com.ultra...
package com.ciel.scacommons.mapper; import com.ciel.scaentity.entity.ScaUserRole; import org.apache.ibatis.annotations.Mapper; /** * <p> * Mapper 接口 * </p> * * @author xiapeixin * @since 2020-02-14 */ @Mapper public interface ScaUserRoleMapper extends MyBaseMapper<ScaUserRole> { }
/* * Copyright 2017 JessYan * * 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 ...
/* * MIT License * * Copyright (c) 2021 Andrew Beck * * 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...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
/******************************************************************************* * ___ _ ____ ____ * / _ \ _ _ ___ ___| |_| _ \| __ ) * | | | | | | |/ _ \/ __| __| | | | _ \ * | |_| | |_| | __/\__ \ |_| |_| | |_) | * \__\_\\__,_|\___||___/\__|____/|____/ * * Copyright (c...
package com.example.config; import org.springframework.boot.env.YamlPropertySourceLoader; import org.springframework.core.env.PropertySource; import org.springframework.core.io.support.DefaultPropertySourceFactory; import org.springframework.core.io.support.EncodedResource; import java.io.IOException; /** * @author...
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.softwarelab.application.config; import com.softwarelab.application.config.jwt.JwtAuthenticationProvider; import com.softwarelab.application.config.jwt.JwtTokenAuthenticationProcessingFilter; import com.softwarelab.application.config.jwt.SkipPathRequestMatcher; import com.softwarelab.application.config.jwt....
package com.higgsup.base.exception; import com.higgsup.base.common.ErrorCode; import java.text.MessageFormat; public class BusinessException extends RuntimeException { private final ErrorCode errorCode; private final String message; public BusinessException(ErrorCode errorCode, String message, Throwab...
package com.packtpub.t5first.pages.secure; public class Payment { }
package com.softmax.configclient; 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 ConfigClientApplicationTests { @Test pu...
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to TO_YEAR PrismTech * Limited, its affiliated companies and licensors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complia...
/******************************************************************************* * ============LICENSE_START======================================================= * son-handler * ================================================================================ * Copyright (C) 2019 Wipro Limited. * =========...
package com.cundong.utils; /** * 类说明: APK Diff工具类 * * @author Cundong * @date 2013-9-6 * @version 1.0 */ public class DiffUtils { /** * native方法 比较路径为oldPath的apk与newPath的apk之间差异,并生成patch包,存储于patchPath * * 返回:0,说明操作成功 * * @param oldApkPath 示例:/sdcard/old.apk * @param newApkPath 示例:/sdcard/new...
/* * ==================================================================== * 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.alipay.api.domain; import java.util.List; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; /** * 同步机构定损/核损结果 * * @author auto create * @since 1.0, 2017-10-11 17:32:58 */ public class AlipayInsDataDsbEstimateSync...
/* * 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.archanpatkar.Thread; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.Before...
/* * 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.cerc.db.editor; import cn.cerc.db.core.DataRow; import cn.cerc.db.core.FieldMeta; public class BooleanEditor implements GetSetTextEvent { private final String trueText; private final String falseText; public BooleanEditor(String falseText, String trueText) { super(); this.false...
package seedu.address.ui; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.TimeZone; import javafx.animation.Animation; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import javafx.scene.text.Text; import javafx.util.Duration; /** * A clock...
/* Copyright 2020 Telstra Open Source * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
package edu.umn.amicus.filters; /** * No filtering. * * Created by gpfinley on 2/17/17. */ public class PassthroughFilter implements Filter { @Override public boolean passes(Object value) { return true; } }
/* * Copyright 1999,2004 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...