text
stringlengths
7
1.01M
/* * 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 ds_project; /** * * @author Aili */ public class DS_Project { /** * @param args the command line arguments *...
package com.swroom.service; /** * 目标类(业务层) * Created by Ray on 2016/5/4. */ public class SomeServiceImpl implements ISomeService { @Override public void doSome() { System.out.println("执行doSome方法"); } @Override public String doSecond() { System.out.println("执行doSecond方法"); ...
package com.galois.fiveui; import java.util.ArrayList; import java.util.List; import com.google.common.base.Function; import edu.uci.ics.crawler4j.crawler.CrawlConfig; import edu.uci.ics.crawler4j.crawler.CrawlController; import edu.uci.ics.crawler4j.fetcher.PageFetcher; import edu.uci.ics.crawler4j.robotstxt.Robots...
/****************************************************************************** Copyright 2019 EMBL - European Bioinformatics Institute 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://ww...
package com.neuedu.lab.model.po; public class Department { private String department_id; private String department_name; private String department_type; private String department_cat; public String getDepartment_id() { return department_id; } public void setDepartment_id(String de...
package hrv.lib.hrv.calc.manipulator.window; import hrv.lib.hrv.RRData; import hrv.lib.hrv.calc.manipulator.HRVDataManipulator; public class NoWindow implements HRVDataManipulator { @Override public RRData manipulate(RRData data) { return data; } }
/* * Copyright 2012-2016 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 agr...
/* // Licensed to Julian Hyde under one or more contributor license // agreements. See the NOTICE file distributed with this work for // additional information regarding copyright ownership. // // Julian Hyde licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file e...
package com.byron.line.component.rocketmq.listener; import com.alibaba.fastjson.JSONObject; import com.byron.line.common.ctx.SpringApplicationContext; import com.byron.line.domain.Company; import com.byron.line.req.TestReq; import com.byron.line.service.CompanyService; import lombok.Data; import org.apache.rocketmq.cl...
package net.minecraft.client.renderer.entity.layers; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.OpenGlHelper; import net.minecraft.client.renderer.entity.RenderEnderman; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.monster.EntityEnderman...
/* * 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 ...
/* 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...
/* * 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 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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/l...
/** * Copyright (c) Istituto Nazionale di Fisica Nucleare, 2018. * * 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 require...
package test10; /* * @author Sridhar Gopinath - g.sridhar53@gmail.com * * Course project, * Principles of Programming Course, Fall - 2016, * Computer Science and Automation (CSA), * Indian Institute of Science (IISc), * Bangalore */ /* * Test 10: Complicated loops and conditionals */ public class Main {...
package com.massoftware.service.fondos; import com.massoftware.ui.components.UIUtils; import com.vaadin.flow.component.Key; import com.vaadin.flow.component.KeyModifier; import com.vaadin.flow.component.button.Button; import com.vaadin.flow.component.icon.VaadinIcon; import com.vaadin.flow.component.notification.Notif...
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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...
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
/* * 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.ironaviation.traveller.di.component.my.travel; import com.ironaviation.traveller.common.AppComponent; import com.ironaviation.traveller.di.module.my.travel.BalancePayModule; import com.ironaviation.traveller.mvp.ui.my.travel.BalancePayActivity; import com.jess.arms.di.scope.ActivityScope; import dagger.Co...
package org.frameworkset.tran.es.input.db; /** * Copyright 2008 biaoping.yin * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <...
/* * 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 com.capgemini.rebecca.repository; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; public class ConnectionFactory { private EntityManager entityManager; public ConnectionFactory() { EntityManagerFactory factory = ...
/* * Copyright 2013-2018 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...
/* * Copyright © 2014 Cask Data, 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 t...
/* * Copyright 2019 StreamThoughts. * * 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, Vers...
package org.broadinstitute.hellbender.tools.walkers.haplotypecaller; import com.google.common.base.Strings; import htsjdk.samtools.util.Locatable; import htsjdk.variant.variantcontext.*; import org.apache.commons.lang3.tuple.Pair; import org.broadinstitute.hellbender.utils.QualityUtils; import org.broadinstitute.hellb...
// Copyright 2016 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...
/** * netcell-gui - A Swing GUI for netcell ESB * Copyright (C) 2009 Adrian Cristian Ionescu - https://github.com/acionescu * * 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 * * ...
/* * Copyright (c) 2016 Couchbase, 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 agr...
package wolf.enums; import wolf.interfaces.StringMiddle; import wolf.interfaces.Visitor; import wolf.node.TEscapeAlarm; import wolf.node.TEscapeBackslash; import wolf.node.TEscapeBackspace; import wolf.node.TEscapeCarriageReturn; import wolf.node.TEscapeDefault; import wolf.node.TEscapeDoubleQuote; import wolf.node.TE...
// ======================================================================== // Copyright 2010 NEXCOM Systems // ------------------------------------------------------------------------ // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Licen...
/* * Copyright (c) 2008-2019, 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 ...
/******************************************************************************* * * Pentaho Big Data * * Copyright (C) 2002-2015 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "License...
/** * 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 io.quarkus.deployment.steps; import java.nio.file.Paths; import org.apache.commons.io.FilenameUtils; import io.quarkus.deployment.annotations.BuildProducer; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.builditem.HotDeploymentWatchedFileBuildItem; import io.quarkus.deployme...
/* * Copyright (c) 2009-2014, Peter Abeles. All Rights Reserved. * * This file is part of Efficient Java Matrix Library (EJML). * * 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 * * ...
/* * 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 2014 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...
package models; import java.util.List; public class DocModel { private List<ElementModel> elements; private InfoModel info; public List<ElementModel> getElements() { return elements; } public InfoModel getInfoModel() { return info; } }
package net.minecraft.command.server; import net.minecraft.command.CommandBase; import net.minecraft.command.ICommandSender; import net.minecraft.server.MinecraftServer; import net.minecraft.util.ChatComponentText; import net.minecraft.util.ChatComponentTranslation; import java.util.List; public class CommandListBan...
package org.vitrivr.cineast.core.features; /** * An Extraction and Retrieval module for 3D models that leverages Spherical Harmonics as proposed in [1]. This version * uses low-resolution settings in terms of harmonics to consider. * * [1] Funkhouser, T., Min, P., Kazhdan, M., Chen, J., Halderman, A., Dobkin, D., ...
/* * 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) 2019,2021 The Eclipse Foundation and others. * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution, and is available at h...
//==================================== // KYLE RUSSELL // 13831056 // PDC Project //==================================== package engine.models; import com.google.gson.JsonArray; import engine.core.database.Conditional; import engine.core.database.Join; import java.sql.SQLException; public class DepartmentModel e...
/* * Copyright 2019 IIT Software GmbH * * IIT Software GmbH 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...
package org.sqlite; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.FileReader; import java.sql.Connection; import java.sql.DatabaseMetaData; import jav...
package com.zblog.core.tag; import java.util.Map; import javax.servlet.jsp.JspException; import javax.servlet.jsp.tagext.TagSupport; import com.zblog.core.plugin.PageModel; /** * 灵活的分页标签,使用方法: * * <pre> * &lt;page:page model="${requestPageAttr}" pageUrl="." showPage="8"&gt; * &lt;page:first&gt; * ...
/* * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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/li...
package org.hl7.davinci.endpoint; import java.net.URI; import org.springframework.beans.factory.annotation.Autowired; import org.hl7.davinci.endpoint.config.CdsConnect; import org.hl7.davinci.endpoint.config.GitHubConfig; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springfra...
import java.util.ArrayList; public class main { public static void main(String[] args) { //print all solutions for (int[] l : losungen() ) { System.out.println("a: " + l[0] + "b: " + l[1] + "c: " + l[2] + "\n"); } } private static ArrayList<int[]> losu...
package io.github.syst3ms.skriptparser.parsing; import io.github.syst3ms.skriptparser.event.TriggerContext; import io.github.syst3ms.skriptparser.lang.Expression; import io.github.syst3ms.skriptparser.log.SkriptLogger; import io.github.syst3ms.skriptparser.pattern.PatternElement; import java.util.ArrayList; import ja...
package it.polito.ai.lab4.web.exceptions; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(HttpStatus.NOT_FOUND) public class NotFoundException extends RuntimeException{ private static final long serialVersionUID = 1237345251251466177L; }
/** * 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 io.datajuice.nifi.processors; import org.apache.nifi.components.PropertyDescriptor; import org.apache.nifi.flowfile.FlowFile; import org.apache.nifi.flowfile.attributes.CoreAttributes; import org.apache.nifi.processor.*; import org.apache.nifi.processor.exception.ProcessException; import java.util.*; import ...
package exnihilocreatio.handlers; import exnihilocreatio.config.ModConfig; import exnihilocreatio.registries.manager.ExNihiloRegistryManager; import exnihilocreatio.registries.types.CrookReward; import exnihilocreatio.util.ItemUtil; import net.minecraft.block.Block; import net.minecraft.block.BlockLeaves; import net.m...
/* * 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 artifacts.common.item; import artifacts.client.render.model.curio.DrinkingHatModel; import artifacts.common.config.Config; import artifacts.common.init.ModItems; import net.minecraft.client.renderer.entity.model.BipedModel; import net.minecraft.client.util.ITooltipFlag; import net.minecraft.entity.LivingEntity...
/* * Copyright (c) 2009-2018, United States Government, as represented by the Secretary of Health and Human Services. * 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...
package com.zuba.dao; public class FileUrlDao { StringBuffer stringBuffer = new StringBuffer(); private static final FileUrlDao single = new FileUrlDao(); // 静态工厂方法 public static FileUrlDao getInstance() { return single; } public void getFileUrl(String string) { stringBuffer.append(string + "|"); ...
package textgen; import java.util.*; /** * An implementation of the MTG interface that uses a list of lists. * @author UC San Diego Intermediate Programming MOOC team */ public class MarkovTextGeneratorLoL implements MarkovTextGenerator { // The list of words with their next words private List<List...
package wjy.morelove.bean; import java.io.Serializable; import java.util.Date; import java.util.List; /** * 相册 * @author wjy */ public class Album implements Serializable{ private Integer id; private String albumName; private Date createDatetime; private List<Photos> photosList; public Intege...
/* * 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 com.volmit.react.util; import org.bukkit.entity.LivingEntity; import org.bukkit.potion.PotionEffect; import org.bukkit.potion.PotionEffectType; import java.util.Map; /** * Fast potion effects like this * <br/> * <br/> * PE.HEAL.d(40).a(2).c(); >> PotionEffect (a = amp; d = dur; c = create) * <br/> * PE...
/* * Copyright 2020 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 re...
package com.alipay.api.response; import java.util.List; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; import com.alipay.api.domain.FulfillmentResult; import com.alipay.api.AlipayResponse; /** * ALIPAY API: zhima.credit.ep.scene.fulfillmentlist.sync r...
/* Copyright 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 ...
/* * Copyright 2015 MovingBlocks * * 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...
/* * Licensed to GraphHopper and Peter Karich under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper licenses this file to you under the Apache License, * Version 2.0 (the "License"); yo...
package org.doraemon.component.security.vo; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.io.Serializable; /** * @description: 描述 * @author: fengwenping * @date: 2019/1/11 11:53 */ @JsonIgnoreProperties(value = {"authorityResources"}) public class AuthorityOperationVO implements Seria...
package nl.homesensors.sensortag; import nl.jqno.equalsverifier.EqualsVerifier; import org.junit.jupiter.api.Test; class SensorCodeTest { @Test void equals() { EqualsVerifier.forClass(SensorCode.class).verify(); } }
package uca.ruiz.antonio.tfgapp.data.api.model; import java.io.Serializable; import java.util.Date; import java.util.List; public class Proceso implements Serializable { private long id; private String anamnesis; private Diagnostico diagnostico; private Procedimiento procedimiento; private Pacien...
package com.joojet.plugins.mobs.equipment.chest; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.enchantments.Enchantment; import org.bukkit.inventory.EquipmentSlot; import com.joojet.plugins.mobs.enums.EquipmentType; import com.joojet.plugins.mobs.equipment.Equipment; public class DarkNet...
package com.developerchen.blog.module.comment.web; import com.developerchen.blog.module.comment.domain.entity.Comment; import com.developerchen.blog.module.comment.service.ICommentService; import com.developerchen.core.domain.RestResponse; import com.developerchen.core.util.UserUtils; import com.developerchen.core.web...
package crc64a5a37c43dff01024; public class ProgressRing extends crc6485314a2a4d7fccfc.BindableProgressBar implements mono.android.IGCUserPeer { /** @hide */ public static final String __md_methods; static { __md_methods = "n_dispatchTouchEvent:(Landroid/view/MotionEvent;)Z:GetDispatchTouchEvent_Landroid_...
package com.bergerkiller.bukkit.common.reflection; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.logging.Level; import org.objenesis.ObjenesisHelper; import org.objenesis.instantiator.ObjectInstantia...
/** * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) 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...
package org.infinispan.test; import javax.transaction.SystemException; import javax.transaction.Transaction; import javax.transaction.TransactionManager; import org.infinispan.Cache; import org.infinispan.configuration.cache.ConfigurationBuilder; import org.infinispan.manager.EmbeddedCacheManager; import org.infinisp...
/* * Copyright (C) 2017 Bilibili * * 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...
/* * Copyright (c) 2013, 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...
/* * Copyright 2010-2014 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) 2015 Valkyrie RCP * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * blackduck-common * * Copyright (c) 2021 Synopsys, Inc. * * Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide. */ package com.synopsys.integration.blackduck.service.dataservice; import java.util.List; import java.util.Op...
package m; import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class Snippet104 { public static void main(String[] args) { final Display display = new Display(); final int [] count = new int [] {4}; final Image image = ...
/** * * Copyright 2014 Florian Schmaus * * 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 ag...
/* * 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 ...
// Template Source: Enum.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------------------------------------...
package org.raml.simpleemitter.handlers; import org.raml.simpleemitter.HandlerList; import org.raml.simpleemitter.NodeHandler; import org.raml.simpleemitter.YamlEmitter; import org.raml.yagi.framework.nodes.KeyValueNode; import org.raml.yagi.framework.nodes.Node; import org.raml.yagi.framework.nodes.SimpleTypeNode; i...
import java.io.FileInputStream; import java.io.IOException; public class P01ReadFile { public static void main(String[] args) { String inputPath = "C:\\Exercises\\JavaAdvanced\\08.Resources\\input.txt"; try (FileInputStream fis = new FileInputStream(inputPath)) { int oneByte = fis.read...
/* * The MIT License * * Copyright (c) 2022, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.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 wi...
/* * 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 shopcar.gui; /** * * @author Vitor Freitas */ public interface ITab { public static final String RESOURCES = "/resour...
package org.iplantc.service.tags.utils; import java.util.Date; import org.iplantc.service.tags.utils.BindingUtils; import org.restlet.data.Status; import org.restlet.resource.ResourceException; public class QueryParameterUtils { /** * Throws an {@link IllegalArgumentException} if no Integer can be parsed ...
/* * Copyright 2005-2017 Dozer 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 law or ag...
/** * <copyright> * * Copyright (c) 2010 SAP AG. * 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 distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: ...
package org.basex.util; import static org.basex.util.Token.*; import org.basex.util.list.ByteList; /** * This class provides functions for encoding and decoding Base64 strings. * * @author BaseX Team 2005-12, BSD License * @author Christian Gruen */ public final class Base64 { /** Ending characters. */ priv...
package com.appettea.appetteaPOS; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.telephony.SmsMessage; import android.util.Log; import android.widget.Toast; //import org.greenrobot.eventbus.Subscri import a...
/** * Copyright (c) 2016-present, RxJava 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 applicable l...
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...