text
stringlengths
7
1.01M
/* * Copyright 2017-2022 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 ru.stqa.pft.sandbox; public class Rectangle { public double a; public double b; public Rectangle(double a, double b) { this.a = a; this.b = b; } public double area() { return this.a * this.b; } }
package com.wingsofts.byeburgernavigationview; /** * Created by wing on 11/5/16. */ import android.content.Context; import android.support.design.widget.CoordinatorLayout; import android.support.v4.view.ViewCompat; import android.util.AttributeSet; import android.view.View; import android.view.ViewConfiguration; /...
/* * Copyright 2014 DataGenerator Contributors * * 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 de.sstoehr.harreader.model; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import java.util.HashMap; import java.util.Map; import ja...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.apimanagement.models; import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; /** The Ap...
package ru.job4j.oop; public class Hunter { public void kill(Wolf wolf) { } }
package com.secnium.iast.core.enhance.plugins.framework.tomcat; import com.secnium.iast.core.enhance.IastContext; import com.secnium.iast.core.util.AsmUtils; import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.commons.AdviceAdapter; /** * @author dongzhiyong@huoxian.cn */ public class ByteChunkAdapter ...
/* * 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 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 com.xuyz.proxy; /** * 功能描述: * * @version 1.0.0 * @author: <a href="12510705@qq.com">Zeny</a> * @Date: Created in 2017/9/17 16:27. */ public class Main { public static void main(String[] args){ IDBQuery idbQuery = new DBQueryProxy(); idbQuery.request(); System.out.println(idbQ...
/* * Copyright 2006-2009, 2017, 2020 United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The NASA World Wind Java (WWJ) platform is licensed under the Apache License, * Version 2.0 (the "License"); you may not use this f...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
package live.ashish.airjet.view; import live.ashish.airjet.Version; import com.intellij.ide.AboutPopupDescriptionProvider; import com.intellij.ide.plugins.PluginManagerCore; import com.intellij.openapi.extensions.PluginDescriptor; import com.intellij.openapi.extensions.PluginId; import org.jetbrains.annotations.Nullab...
package ooga.model; import javafx.util.Pair; import ooga.model.tiles.Tile; import java.util.ArrayList; import java.util.List; /** * Turn class contains the methods needed for a single turn of the monopoly game to occur * @author Sylvie Mason * @author Muazzam Khan */ public class Turn { private Player current...
package io.getstream.client; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import static io.getstream.core.utils.Auth.buildReactionsToken; import com.google.common.collect.Iterables; import io.getstream.core.LookupKind; import io.get...
package me.pzheng.conn; import android.graphics.drawable.Drawable; /** * Created by poliveira on 24/10/2014. */ public class NavigationItem { private String mText; private Drawable mDrawable; public NavigationItem(String text, Drawable drawable) { mText = text; mDrawable = drawable; ...
/* * Copyright 2002-2012 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 (c) 2020, 2021 Microsoft Corporation * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0 * * SPDX-License-Identifier: Apache-2.0 * * Contributors: * ...
package cn.leiyy.modules.wechat.service.impl; import cn.leiyy.common.persistence.model.OperationLog; import cn.leiyy.common.persistence.model.PublicSignal; import cn.leiyy.common.persistence.dao.PublicSignalMapper; import cn.leiyy.modules.wechat.dao.PublicSignalDao; import cn.leiyy.modules.wechat.service.IPublicSignal...
// This file is part of CPAchecker, // a tool for configurable software verification: // https://cpachecker.sosy-lab.org // // SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org> // // SPDX-License-Identifier: Apache-2.0 package pack; public class Const { public Const(int num) { int startCo...
package org.JMathStudio.ToolBoxes.WaveletToolBox; /** * This class define an orthogonal Wavelet. An orthogonal Wavelet is * characterised by its Low Pass and High Pass decomposition and reconstruction * filter coefficients. * <p> * The specified filter coefficients should form an Quadrature Mirror filter. * * ...
/* * This file is part of HangarUpdater, licensed under the MIT License. * * Copyright (c) Lorenzo0111 * * 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 ...
package cn.macswelle.campusecurity.common; public class DeviceNotRespondException extends Exception{ }
package com.deliveredtechnologies.terraform.api; import com.deliveredtechnologies.io.Executable; import com.deliveredtechnologies.terraform.TerraformCommand; import com.deliveredtechnologies.terraform.TerraformCommandLineDecorator; import com.deliveredtechnologies.terraform.TerraformException; import com.deliveredtech...
/** * 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.ucv.codetech.service; import com.ucv.codetech.service.configuration.MediaUrlConfiguration; import lombok.AllArgsConstructor; import org.springframework.hateoas.Link; import org.springframework.stereotype.Service; import org.springframework.web.util.UriTemplate; import java.net.URI; @Service @AllArgsConst...
package com.company.Day11.Day11_01; public class User { // String userName = "李四"; // int age; // 显式初始化 // final String USERNAME = "张三"; // 构造方法初始化 final String USERNAME; private int age; public User(String username , int age) { this.USERNAME = username; this.age = age;...
package com.example.todo; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.content.Context; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Butto...
package com.skd.hc.entities; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class Diagnosis { //诊断类 private Integer dg_id; //诊断ID private Integer cr_id; //挂号ID private String dg_info;//诊断结果信息 private Stri...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
package org.jboss.errai.ioc.client; import com.cloderia.helion.client.local.budgetitem.BaseBudgetitemPage; import com.cloderia.helion.client.local.budgetitem.BudgetitemDisplay; import com.cloderia.helion.client.local.budgetitem.BudgetitemEditor; import com.cloderia.helion.client.local.budgetitem.BudgetitemListItemDisp...
/** * 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.cognizant.emergencyHelpline.repositories; import java.util.List; import org.springframework.data.mongodb.repository.MongoRepository; import org.springframework.stereotype.Repository; import com.cognizant.emergencyHelpline.collections.HospitalDetails; @Repository public interface HospitalRepository exten...
package org.firstinspires.ftc.teamcode.auto; import org.firstinspires.ftc.teamcode.bot.components.Robot; public class MainParkingAuto { Robot bot; Side side; boolean park_on_wall; public MainParkingAuto(Robot bot, Side side, boolean wall_park) { this.side = side; this.bot = bo...
/* * Copyright 2013-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 org.usfirst.frc3528.UpNext2016Robot.commands; import org.usfirst.frc3528.UpNext2016Robot.Robot; import org.usfirst.frc3528.UpNext2016Robot.RobotMap; import edu.wpi.first.wpilibj.command.Command; /** * */ public class ZeroDriveEncoders extends Command { public ZeroDriveEncoders() { } protected...
package io.onedev.server.web.page.project.blob.render.renderers.folder; import java.io.IOException; import java.util.HashMap; import java.util.Map; import javax.annotation.Nullable; import org.apache.shiro.authz.UnauthorizedException; import org.apache.wicket.request.cycle.RequestCycle; import org.apache.wicket.requ...
package com.jspxcms.core.service; import com.jspxcms.core.domain.Info; public interface InfoMemberGroupService { public void update(Info info, Integer[] viewGroupIds); }
/* * 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 nl.buildforce.sequoia.jpa.processor.core.serializer; import nl.buildforce.sequoia.jpa.processor.core.api.JPAODataCRUDContextAccess; import nl.buildforce.sequoia.jpa.processor.core.exception.ODataJPASerializerException; import org.apache.olingo.commons.api.data.Annotatable; import org.apache.olingo.commons.api....
/* * 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 ...
package ru.malanyuk.test.tests; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.malanyuk.test.model.ContactData; import ru.malanyuk.test.model.Contacts; import java.util.Arrays; import java.util.stream.Collectors; import static org.hamcrest.CoreMatchers.equalTo; import stati...
package com.liurui.redis.entity; import java.io.Serializable; public class User implements Serializable { private Integer id; private String name; public User() { } public User(Integer id, String name) { this.id = id; this.name = name; } public Integer getId() { ...
/* * Copyright 2018 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 a...
package com.fgroupindonesia.fgimobilebaru.helper; public class URLReference { //public static String Remote = "http://api.portal.fgroupindonesia.com"; public static String Remote = "http://192.168.0.10"; public static String Gmaps = "https://goo.gl/maps/Ycxx2BjB3cRBpBso7"; public static String RemoteL...
/** * 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 Models; import Authentication.ItemAuth; import Authentication.UserAuth; import Database.ItemsDB; import Database.SellersDB; import Database.UsersDB; import Database.CustomersDB; import java.util.LinkedList; public class Admin extends User { public Admin() { // protected super("Admin"...
package other.document.service.impl; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import other.mail.util.GetJson; import java.io.File; import static other.document.utils.VideoFind.downloadMovie; /** * @author orcakill * @version 1.0.0 * @ClassName FindServiceImpl.java * @Descri...
/* * 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 ru.job4j.array; import org.junit.Before; import org.junit.Test; import static org.hamcrest.Matchers.is; import static org.junit.Assert.*; public class RoleStoreTest { private RoleStore roleStore; @Before public void setUp() { roleStore = new RoleStore(5); roleStore.add(new Role("...
package com.mycompany.bucledowhile; import java.util.Scanner; /** * * @author alemr */ public class BucleDoWhile { /** * @param args the command line arguments */ public static void main(String[] args) { Scanner entrada = new Scanner(System.in); int i, contador; ...
package net.ripe.db.whois.nrtm.integration; import net.ripe.db.whois.common.IntegrationTest; import net.ripe.db.whois.common.support.TelnetWhoisClient; import net.ripe.db.whois.nrtm.NrtmServer; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.experimental.categories.Category; i...
package QueenMod.cards; import QueenMod.QueenMod; import QueenMod.actions.MakeTempCardInDrawPileActionFast; import QueenMod.characters.TheQueen; import QueenMod.powers.WorkerDronesPower; import com.megacrit.cardcrawl.actions.common.*; import com.megacrit.cardcrawl.cards.AbstractCard; import com.megacrit.cardcrawl.char...
/* * 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...
/* * Copyright 2013-2016 Sergey Ignatov, Alexander Zolotov, Florin Patan * * 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 req...
/* * Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any * person obtaining a copy of ...
package com.thinkaurelius.titan.diskstorage.locking; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertFalse; import static org.mockito.Mockito.mock; import java.nio.ByteBuffer; import org.junit.Test; public class LocalLockMediatorTest { private static final String LOCK_NAMESPACE = "...
package com.test.cloud; import java.time.ZonedDateTime; public class Test { public static void main(String[] args) { // 2021-01-31T18:47:58.954+08:00[Asia/Shanghai] ZonedDateTime zonedDateTime = ZonedDateTime.now(); System.out.println(zonedDateTime); } }
/* * Copyright 2016-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...
/** * Copyright 2013 Tobias Gierke <tobias.gierke@code-sourcery.de> * * 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...
/* * Copyright 2009-2011 Jon Stevens et al. * * 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...
/* * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ /* * (C) Copyright Taligent, Inc. 1996 - All Rights Reserved * (C) Copyright IBM Corp. 1996 - All Rig...
package com.linkedin.datahub.graphql.mappers; import com.linkedin.common.urn.CorpuserUrn; import com.linkedin.datahub.graphql.generated.CorpUser; import javax.annotation.Nonnull; /** * Maps Pegasus {@link RecordTemplate} objects to objects conforming to the GQL schema. * * To be replaced by auto-generated mappers...
@ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault package io.contek.invoker.bitstamp.api.websocket.user; import edu.umd.cs.findbugs.annotations.ReturnValuesAreNonnullByDefault; import javax.annotation.ParametersAreNonnullByDefault;
/* * Copyright 2018 JDCLOUD.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 or agreed to in...
/* * Copyright 2010 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 ap...
/** * * 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 models.manager; import play.mvc.Result; /** * * @author Pedro Ocando * 2017 */ public interface CountryManager { Result create(Integer partner); Result update(Integer partner,Integer id); Result delete(Integer partner,Integer id); Result findById(Integer partner,Integer id); Result findAll(Integ...
/******************************************************************************* * Copyright (c) 2006, 2014 QNX Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distributio...
package com.team4012.frc2020.functions; import com.team4012.frc2020.Robot; public class EncoderOut { double diameter; Robot robot = new Robot(); public EncoderOut(double diameter){ this.diameter = diameter / 12; } public double getSpeedL(){ double rpmL = robot.encoderL.getRate()...
package org.quickstart.example.design.responsibility.chain; import org.quickstart.example.design.responsibility.chain.impl.Mt2101ReceiptHandler; import org.quickstart.example.design.responsibility.chain.impl.Mt8104ReceiptHandler; import java.util.ArrayList; import java.util.List; /** * <p>描述: [功能描述] </p > * 处理者容器 *...
package com.yhy.common.beans.net.model.guide; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * Created with Android Studio. * Title:GuideAttractionInfo * Description: * Copyright:Copyright (...
/* * 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 ...
// "Remove redundant 'else'" "false" class a { void foo() { int a = 0; int b = 0; if (a != b) { a = 10; } else if (a + 1 == b) { return; } e<caret>lse { a = b; } a++; } }
package com.telenav.osv.event.ui; import com.telenav.osv.event.OSVEvent; /** * Created by Bencze Kalman on 2/12/2017. */ public class ShutterPressEvent extends OSVEvent { }
package com.danieltoms.junit.order; import org.junit.ClassRule; import org.junit.runner.RunWith; import org.junit.runners.Suite; import com.danieltoms.junit.order.rule.LoggingRule; import com.danieltoms.junit.order.simple.SimpleTest; @RunWith(Suite.class) @Suite.SuiteClasses({ // suite order is guaranteed ...
/* * [The "BSD license"] * Copyright (c) 2012 Terence Parr * Copyright (c) 2012 Sam Harwell * 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...
/* * 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...
package org.visallo.vertexium.model.ontology; import com.google.common.base.Function; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import com.google....
/* * 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.sec.util; import javax.tools.DiagnosticCollector; import javax.tools.JavaCompiler; import javax.tools.JavaFileObject; import javax.tools.StandardJavaFileManager; import java.net.URLClassLoader; /** * ScriptEngine调用JS */ public class JS { public static void main(String[] args) { String[] glob...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
package goldilocks.domain.openingHours.weekview; import java.io.Serializable; import java.time.DayOfWeek; import java.time.Duration; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.TreeMap; import com.fasterxml.jackson.annotation.JsonIgnore; import goldilocks.domain.openingH...
package com.butterflies.stepaw; import android.app.ActivityManager; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.ServiceConnection; import android.content.SharedP...
package com.richard.test.spark.initialize; import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.Map; import org.apache.spark.SparkConf; import org.apache.spark.api.j...
package com.baidu.mapp.bcd.dto; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Builder; import lombok.Data; import java.util.Date; import java.util.List; /** * 整个从受捐到捐赠的追溯详情 */ @Data @Schema(description = "整个从受捐到捐赠的追溯详情") @Builder public class DonatoryChainResp { /** * 领取流水ID */ ...
package com.github.fwi.taskq2.db; import java.sql.Connection; import java.sql.SQLException; import nl.fw.util.jdbc.DbConn; import nl.fw.util.jdbc.DbConnNamedStatement; import nl.fw.util.jdbc.DbConnUtil; import nl.fw.util.jdbc.INamedQuery; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public ...
package org.apache.maven.doxia.module.confluence.parser; /* * 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 unde...
package ma.craft.devops.example.devops.helpers; public class ComparationHelper { private static String hello = "Hello"; private ComparationHelper(){} public static boolean compareLongs(long a, long b){ return a == b; } public static boolean isHello(String anyString){ return anyStr...
/* * 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 whot.what.hot.ui.login; import android.widget.ArrayAdapter; import whot.what.hot.base.BaseView; /** * Created by Kevin on 12/10/2017. */ public interface LoginView extends BaseView { //登入按鈕 void onLoginClick(); //密碼輸入完成按鈕 boolean onPasswordEditorDone(int actionId); //FB登入按鈕 void o...
/* * #%L * Fork of Apache Jakarta POI. * %% * Copyright (C) 2008 - 2013 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use th...
/* * Copyright 2008 ZXing 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 agreed ...
/* * 03/21/2010 * * Copyright (C) 2010 Robert Futrell * robert_futrell at users.sourceforge.net * http://fifesoft.com/rsyntaxtextarea * * This library is distributed under a modified BSD license. See the included * RSTALanguageSupport.License.txt file for details. */ package org.fife.rsta.ac.java; ...
package ProblemeDesReines.chessPiece; import ProblemeDesReines.chessBoard.ChessBoard; import ProblemeDesReines.chessBoard.IChessBoard; /*................................................................................................................................ . Copyright (c) . . The Rook Class was Coded by ...
/* * Copyright 2019, EnMasse authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.enmasse.iot.registry.infinispan; import io.vertx.core.CompositeFuture; import io.vertx.core.Future; import io.vertx.core.Verticle; import java.util.LinkedList; im...
package com.haohan.platform.service.sys.modules.xiaodian.service.database; import com.haohan.platform.service.sys.common.persistence.Page; import com.haohan.platform.service.sys.common.service.CrudService; import com.haohan.platform.service.sys.common.utils.StringUtils; import com.haohan.platform.service.sys.modules.x...
package com.tam.instagramclient; import android.content.Context; import android.content.res.Resources; import android.util.DisplayMetrics; import android.util.TypedValue; /** * Created by toan on 3/14/2016. */ public class DeviceDimensionsHelper { // DeviceDimensionsHelper.getDisplayWidth(context) => (display w...