text
stringlengths
7
995k
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package com.sohu.cache.util; import java.util.ArrayList; import java.util.List; import java.util.ResourceBundle; /** * cachecloud常量 * @author leifu * @Date 2016年3月1日 * @Time 下午12:54:45 */ public class ConstUtils { // cache的类型区分 public static final int CACHE_TYPE_REDIS_CLUSTER = 2; public static final...
/* * Copyright 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package sun.rock.server.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persistence.Table; import...
/* * * Copyright (c) 2006-2020, Speedment, 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 requi...
package com.test.administrator.coolweather.coolweather; 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 { ...
package com.github.chenqimiao.aop.overview.interceptor; import java.lang.reflect.Method; /** * @Description: 后置返回拦截器 * @Author: Qimiao Chen * @Create: 2020-12-12 19:15 **/ public interface AfterReturnInterceptor { /** * 后置执行方法 * @param proxy * @param method * @param args * @param returnVal * @return...
package frc.robot.Modules; import edu.wpi.first.wpilibj.DriverStation; import edu.wpi.first.wpilibj.GenericHID.RumbleType; import edu.wpi.first.wpilibj.motorcontrol.Spark; import edu.wpi.first.wpilibj.smartdashboard.SendableChooser; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import frc.robot.Robot; p...
package jdownloadmon; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; /** * A download connection is for connecting to and getting bytes from a server. * @author Edward Larsson (edward.larsson@gmx.com) */ public abstract class DownloadConnection { /** The URL of the server...
package org.ansj.test; import java.io.IOException; import java.util.List; import java.util.Map.Entry; import love.cq.util.IOUtil; import org.ansj.app.newWord.LearnTool; import org.ansj.splitWord.analysis.NlpAnalysis; public class NlpTest { public static void main(String[] args) throws IOException { LearnTool ...
/* * Copyright 2014 The Skfiy Open Association. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
/*- * #%L * SCIFIO library for reading and converting scientific file formats. * %% * Copyright (C) 2011 - 2020 SCIFIO developers. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of s...
import java.util.Scanner; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.ArrayList; import java.io.Serializable; public class Estudiante extends Usuarios implements S...
/* * Copyright 2000-2017 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...
/* * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://duracloud.org/license/ */ package org.duracloud.account.app.controller; import org.hibernate.validator.constraints.NotBlank; ...
package org.qcri.rheem.flink.mapping; import org.qcri.rheem.basic.operators.GroupByOperator; import org.qcri.rheem.core.function.FunctionDescriptor; import org.qcri.rheem.core.mapping.Mapping; import org.qcri.rheem.core.mapping.OperatorPattern; import org.qcri.rheem.core.mapping.PlanTransformation; import org.qcri.rhe...
package com.owen.androidcustomview; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activ...
/** * Scaffolding file used to store all the setups needed to run * tests automatically generated by EvoSuite * Fri May 22 10:40:55 GMT 2020 */ package com.alibaba.fastjson; import org.evosuite.runtime.annotation.EvoSuiteClassExclude; import org.junit.BeforeClass; import org.junit.Before; import org.junit.After;...
/* * 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 2019 Web3 Labs Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/* * Copyright 2013 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 mcp.client; import java.util.Arrays; import net.minecraft.client.main.Main; public class Start { public static void main(String[] args) { /* * start minecraft game application * --version is just used as 'launched version' in snoop data and is required * Working dir...
package seedu.address.ui; import static java.time.Duration.ofMillis; import static org.junit.Assert.assertEquals; import static org.junit.jupiter.api.Assertions.assertTimeoutPreemptively; import static seedu.address.testutil.EventsUtil.postNow; import static seedu.address.testutil.TypicalIndexes.INDEX_SECOND_TASK; imp...
/* * Copyright 2012 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...
package com.samset.customspinner.fragments; import android.os.Bundle; import android.provider.SyncStateContract; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.wi...
package ch3.ch13.domain.userinfo.dao.oracle; import ch3.ch13.domain.userinfo.UserInfo; import ch3.ch13.domain.userinfo.dao.UserInfoDao; public class UserInfoOracleDao implements UserInfoDao { @Override public void insertUserInfo(UserInfo userInfo) { System.out.println("Insert into ORACLE DB userID ="+...
/* * * * Copyright 2020-2021 Luter.me * * * * 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 * * * * ...
package com.fzd.security.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.annotation.Order; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config...
package org.keycloak.protocol.docker; import org.keycloak.common.Profile; import org.keycloak.events.EventBuilder; import org.keycloak.models.ClientModel; import org.keycloak.models.ClientScopeModel; import org.keycloak.models.KeycloakSession; import org.keycloak.models.ProtocolMapperModel; import org.keycloak.models....
// // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 generiert // Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. // Generiert: 2014.02.04 um ...
/** * Copyright (c) Microsoft Corporation * * All rights reserved. * * MIT License * * 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 *...
package org.voltdb.voltutil.schemabuilder; /* This file is part of VoltDB. * Copyright (C) 2008-2019 VoltDB Inc. * * 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, i...
/* * Copyright (c) 2021 Fraunhofer IOSB, eine rechtlich nicht selbstaendige * Einrichtung der Fraunhofer-Gesellschaft zur Foerderung der angewandten * Forschung e.V. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtai...
package com.qinweizhao.common.core.text; import com.qinweizhao.common.core.exception.UtilException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.util.Random; import java.util.concurrent.ThreadLocalRandom; /** * 提供通用唯一识别码(universall...
/* * LUSID API * * The version of the OpenAPI document: 0.11.3648 * Contact: info@finbourne.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package com.finbourne.lusid; import okhttp3.Medi...
package com.google.api.ads.adwords.jaxws.v201406.cm; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * * User Interest represents a particular interest-based vertical to be targeted. * <span cl...
package github.hyblocker.undertaletext.objects; import github.hyblocker.undertaletext.util.Vector2; public abstract class Entity { public Vector2 getPosition() { return Vector2.zero; } public String getSprite() { return ""; } public void OnTick(Player thisPlayer) { } public boolean hasCollider()...
/* * Copyright 1999-2018 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.tripods_chatbot_34305; import android.app.Application; import android.content.Context; import com.facebook.react.PackageList; import com.facebook.react.ReactApplication; import com.facebook.react.ReactInstanceManager; import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactPackage; import...
/** * 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.fao.fenix.commons.msd.dto.full; import com.fasterxml.jackson.annotation.JsonProperty; import org.fao.fenix.commons.msd.dto.JSONEntity; import javax.persistence.Embedded; import java.io.Serializable; import java.util.*; public class Code extends JSONEntity implements Serializable, Comparable<Code> { ...
package com.sparrowwallet.sparrow.control; import javafx.animation.FadeTransition; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import javafx.beans.InvalidationListener; import javafx.beans.Observable; import javafx.beans.property.ObjectProperty; import javafx.beans.value.ChangeListener; import ...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
package org.mage.test.cards.single.dka; import mage.constants.PhaseStep; import mage.constants.Zone; import mage.counters.CounterType; import org.junit.Test; import org.mage.test.serverside.base.CardTestPlayerBase; /** * @author loki */ public class SightlessGhoulTest extends CardTestPlayerBase { @Test pub...
package com.github.lfopenjavaswagger2word.util; import java.util.Collection; /** * @author : Mr huangye * URL : CSDN 皇夜_ * createTime : 2020/7/18 15:16 * Description : */ public class CollectionUtils { public static boolean isEmpty(Collection<?> collection){ return collection == null || collection.s...
/* * Copyright 2019-2020 Guangxing * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
package org.incode.example.country.dom.contracttests.with; import org.incode.module.base.dom.with.WithFieldUniqueContractTestAllAbstract; import org.incode.module.base.dom.with.WithTitleUnique; public class WithTitleUniqueContractForIncodeModuleTest_hasJdoUniqueIndexAnnotation extends WithFieldUniqueContractT...
package org.springframework.samples.ocayparchis.board; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.OneToMany; import javax.persistence.Table; import javax.validation.constraints.Positive; import org.springf...
package com.lorence.myapp.security; /** * Constants for Spring Security authorities. */ public final class AuthoritiesConstants { public static final String ADMIN = "ROLE_ADMIN"; public static final String USER = "ROLE_USER"; public static final String ANONYMOUS = "ROLE_ANONYMOUS"; public static ...
/* * <summary></summary> * <author>He Han</author> * <email>hankcs.cn@gmail.com</email> * <create-date>2014/8/22 15:58</create-date> * * <copyright file="TextRank.java" company="上海林原信息科技有限公司"> * Copyright (c) 2003-2014, 上海林原信息科技有限公司. All Right Reserved, http://www.linrunsoft.com/ * This source is subject to the...
package agency.tango.viking.bindings.map.managers; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.OnMapReadyCallback; import java.util.Collection; public interface IMapEntityManager<T> { void add(GoogleMap googleMap, T item); void addItems(GoogleMap googleMap, Collection<T> ite...
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2014 Dirk Beyer * 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...
package com.brec_project.components.database; import android.arch.persistence.room.*; import android.support.annotation.NonNull; @Entity(indices = {@Index(value = {"name", "surname", "born_date"}, unique = true)}) public class Subject { public Subject(String name, String surname, String bornDate){ ...
package client.classes; import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.xml.ws.Service; import javax.xml.ws.WebEndpoint; import javax.xml.ws.WebServiceClient; import javax.xml.ws.WebServiceException; import javax.xml.ws.WebServiceFeature; /** * This class w...
/* * Copyright 2015, 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 applic...
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE package org.bytedeco.arrow; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.arrow.global.arrow.*; @Name("arrow::Result<arrow::fs::...
package org.javamoney.examples.jaxrs.resources.store; import java.util.List; import javax.money.MonetaryAmount; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import org.javamoney.examples.jaxrs.ec...
package de.mklinger.blobstore; import static de.mklinger.blobstore.Random.getRandomInt; import static de.mklinger.blobstore.Random.getRandomString; import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.assertEquals; import java.io.ByteArrayInputStream; import java.io.File; import java....
package edu.LeetCode.BitManipulation; public class Interview1704MissingNumber { //异或方法,只有消失的数单个出现,其他数的值和下标各出现一次 public int missingNumber(int[] nums) { int n = nums.length; int result = 0; result ^= n; for (int i = 0; i < n; i++) { result ^= (i ^ nums[i]); } ...
package org.cempaka.cyclone.services; import java.io.UncheckedIOException; import java.net.InetAddress; import java.net.UnknownHostException; import javax.inject.Inject; import javax.inject.Singleton; @Singleton public class LocalHostNodeIdentifierProvider implements NodeIdentifierProvider { private final String ...
package net.minecraft.world.item; import net.minecraft.stats.Stats; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResultHolder; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.ItemSteerable; import net.minecra...
/* * Copyright (c) 2015. Lorem ipsum dolor sit amet, consectetur adipiscing elit. * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan. * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna. * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagi...
/* * Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech) * Copyright 2018 SmartBear Software * * 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:/...
package org.jscep.client.inspect; import java.io.IOException; import java.security.cert.CertStore; import java.security.cert.X509CertSelector; import java.util.Arrays; import java.util.Collection; /** * Default implementation of the <code>CertStoreInspector</code> */ final class DefaultCertStoreInspector extends Ab...
/* * 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) 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...
/* * Copyright 2000-2012 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...
/** * Copyright 2012 GroupDocs. * * 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 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...
/* * Copyright 2012 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: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su conteni...
package pl.mmorpg.prototype.core.user; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.security.crypto.password.PasswordEncoder; i...
package com.example.navbar; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.SearchView; import android.widget.TextView; import android.widget.Toast; import androidx.annotation.NonNull; import androidx.fragment.app.Fragment; i...
package io.github.mcxinyu.housi.services; /** * Created by huangyuefeng on 2017/10/16. * Contact me : mcxinyu@gmail.com */ public class FCMMessagingService // extends FirebaseMessagingService { private static final int REQUEST_CODE_NOTIFICATION = 2048; private static final int NOTIFICATION_ID = 2049...
/* * The MIT License (MIT) * * Copyright (c) 2015 - 2018 Norwegian Defence Research Establishment / NTNU * * 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, includin...
package com.example.android.xyztouristattractions; import android.Manifest; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.media.MediaPlayer; import android.os.Build; import android.os.Handler; import android.speech.RecognitionListener; import an...
package com.blazebit.storage.testsuite.common.data; import com.blazebit.storage.core.model.jpa.StorageQuotaModel; import com.blazebit.storage.core.model.jpa.StorageQuotaPlan; import com.blazebit.storage.core.model.jpa.StorageQuotaPlanId; public class QuotaPlanTestData { public static StorageQuotaModel createModel()...
/* * Copyright 2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * 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...
/* * Copyright [2013-2021], Alibaba Group Holding Limited * * 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...
// ============================================================================ // // Copyright (C) 2006-2016 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 receiv...
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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.a...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. package tests.unit.com.microsoft.azure.sdk.iot.service.devicetwin; import com.microsoft.azure.sdk.iot.deps.serializer.MethodParser; import com.microsoft.azure.sdk.iot....
/* Copyright 1995-2015 Esri 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...
package com.cannolicatfish.rankine.items.pendants; import com.cannolicatfish.rankine.ProjectRankine; import com.cannolicatfish.rankine.init.Config; import com.cannolicatfish.rankine.init.RankineAttributes; import net.minecraft.enchantment.Enchantments; import net.minecraft.entity.Entity; import net.minecraft.entity.a...
public class LogicalOperator5_18 { public static void main(String [] args) { System.out.printf("%s\n%s: %b\n%s: %b\n%s: %b\n%s: %b\n\n", "Conditional AND (&&)", "false && false", (false && false), "false && true", (false && true), "true && false", (true && false), "true && true", ( true && true) );...
package bdd.demo.vaadin.views.main; import java.util.Arrays; import java.util.Optional; import com.vaadin.flow.component.Component; import com.vaadin.flow.component.applayout.AppLayout; import com.vaadin.flow.component.applayout.DrawerToggle; import com.vaadin.flow.component.dependency.CssImport; import com.vaadin.fl...
package com.hantsylabs.example.spring.dao; import static org.junit.Assert.assertTrue; import java.util.Calendar; import java.util.Date; import org.hibernate.ObjectNotFoundException; import org.hibernate.SessionFactory; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Te...
package pt.ulisboa.tecnico.socialsoftware.tutor.tournament.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; import pt.ulisboa.tecnico.socialsoftware.tutor.tournament.domain.Tourna...
package org.rpgrunner.event.factory; import java.io.IOException; import java.io.InputStream; import junit.framework.Assert; import org.rpgrunner.Direction; import org.rpgrunner.character.CharacterElement; import org.rpgrunner.character.GameCharacter; import org.rpgrunner.controller.MapController; import org.rpgrunne...
/***** BEGIN LICENSE BLOCK ***** * Version: EPL 2.0/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Eclipse Public * 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.eclipse.org/legal/epl-...
/* * This file is part of Nucleus, licensed under the MIT License (MIT). See the LICENSE.txt file * at the root of this project for more details. */ package io.github.nucleuspowered.nucleus.modules.warp.commands; import com.google.common.collect.Lists; import io.github.nucleuspowered.nucleus.Nucleus; import io.gith...
package com.ankhrom.base.observable; import android.databinding.BaseObservable; import android.databinding.BindingAdapter; import android.databinding.DataBindingUtil; import android.databinding.ViewDataBinding; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android....
/* * 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 ...
/** * Copyright 2014-2019 Riccardo Massera (TheCoder4.Eu) and Stephan Rauh (http://www.beyondjava.net). * * This file is part of BootsFaces. * * 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...
/* * Created on Dec 22, 2005 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package org.mindswap.swoop.utils.ui.turtle2RDF; import org.openrdf.rio.ParseLocationListener; /** * @author Dave Wang * * TODO To change the template for th...
/* * 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 ...
public class SolLuna { public String[] luna (String[] a, int i) { if (i > 0) { mirror(a,i-1); } if (i>=0 && i<a.length) { hash(a,i) ; } return a; } public void mirror (String[] a, int limit) { int index=0; String newS; ...
package org.mengyun.tcctransaction.serializer; /** * Created by changming.xie on 7/22/16. */ public interface ObjectSerializer<T> { /** * Serialize the given object to binary data. * * @param t object to serialize * @return the equivalent binary data */ byte[] serialize(T t); /...
//package com.youyu.common.utils; // //import com.youyu.common.api.PageData; //import com.youyu.common.exception.BizException; //import com.github.pagehelper.Page; // //import java.util.List; // // ///** // * @author superwen // */ //public class PageDataConverter { // // @SuppressWarnings("unchecked") // public ...