text
stringlengths
7
995k
package net.robinfriedli.botify.command.commands; import java.util.Collection; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import com.google.common.base.Splitter; import net.robinfriedli.botify.command.AbstractCommand; import net.robinfriedli.botify.command.CommandContext; import net....
import java.awt.Color; import javax.swing.JOptionPane; import javax.swing.UIManager; /* * 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. */ /** * * @author Fahim */ public class MainFra...
package com.jagex; import java.awt.Canvas; import java.awt.Component; import java.awt.Graphics; public final class Canvas_Sub1 extends Canvas { Component aComponent11878; Canvas_Sub1(Component var1) { this.aComponent11878 = var1; } public final void paint(Graphics var1) { this.aComponent1187...
/******************************************************************************* * * Pentaho Big Data * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "License...
// Copyright 2007, 2008 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 applic...
package ryu.park.shop.service; import java.util.List; import javax.servlet.http.HttpSession; import ryu.park.shop.vo.CartVO; import ryu.park.shop.vo.UserVO; public interface CartService { public int totalCount(String userEmail); public int upsertCart(HttpSession session, CartVO cartVO); public int deleteCart...
/* * Copyright 2021-2021. the original qiuhaifeng . * * 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 ...
package gr.iti.mklab.framework.client.search.solr; import gr.iti.mklab.framework.client.search.SearchResponse; import gr.iti.mklab.framework.client.search.solr.beans.WebPageBean; import gr.iti.mklab.framework.common.domain.collections.Collection; import gr.iti.mklab.framework.common.domain.collections.Collection.Keywo...
package io.github.tanghuibo.mybatissqlify.dao; import io.github.tanghuibo.mybatissqlify.service.SqlifyContext; import org.apache.ibatis.annotations.Lang; import org.apache.ibatis.annotations.SelectProvider; import org.apache.ibatis.scripting.xmltags.XMLLanguageDriver; /** * @author tanghuibo * @date 2019/12/21下午7:2...
/* $Id$ */ /* MPI-Java version : Sang Lim (slim@npac.syr.edu) Northeast Parallel Architectures Center at Syracuse University 12/1/98 */ /* Ported to MPJ: Markus Bornemann Vrije Universiteit Amsterdam Department of Computer Science 25/5/2005 */ package ccl_ObjSer; import ibis.mpj.MPJ; import ibis.mpj.MPJExce...
/* * 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 fr.n7.stl.ast.impl; import fr.n7.stl.ast.Block; import fr.n7.stl.ast.Expression; import fr.n7.stl.ast.Instruction; /** * @author pantel2 * */ public class ConditionalImpl implements Instruction { @Override public String toString() { return "ConditionalImpl [condition=" + condition + ", the...
package org.apache.jsp.tag.web.sys; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; public final class treeselect_tag extends javax.servlet.jsp.tagext.SimpleTagSupport implements org.apache.jasper.runtime.JspSourceDependent { static private org.apache.jasper.runtime.Protecte...
/** * Opensec UTIL - https://nakamura5akihito.github.io/ * Copyright (C) 2015 Akihito Nakamura * * 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/...
/* * Copyright (c) 2013-2014. Urban Airship and Contributors */ package com.urbanairship.api.push.model.audience; public interface SelectorVisitor { void enter(Selector s); void exit(Selector s); }
package stonering.entity.job.action; import static stonering.entity.job.action.ActionConditionStatusEnum.FAIL; import static stonering.entity.job.action.ActionConditionStatusEnum.OK; import stonering.entity.job.action.target.PositionActionTarget; import stonering.enums.action.ActionTargetTypeEnum; import stonering.ga...
/** * Copyright (c) 2020 dingqianwen (761945125@qq.com) * <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 * <p> * Unless required...
package cn.edu.sysu.workflow.resource.core.filter; import cn.edu.sysu.workflow.common.entity.ProcessParticipant; import cn.edu.sysu.workflow.common.entity.WorkItemList; import cn.edu.sysu.workflow.common.enums.WorkItemListType; import cn.edu.sysu.workflow.resource.core.context.WorkItemContext; import cn.edu.sysu.workf...
package com.sequenceiq.cloudbreak.cloud.model.component; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class DefaultHDPInfo extends StackInfo { }
public class Timer{ private ClockHand seconds; private ClockHand hundredths; public Timer() { this.seconds = new ClockHand(60); this.hundredths = new ClockHand(100); } public void advance() { //advance hundredths this.hundredths.advance(); /...
/* * Copyright 2006-2010 The Virtual Laboratory for e-Science (VL-e) * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * For details, see the LICENCE.txt file location in the root directory of this * distribution or obtain ...
/* * Copyright 2014-2015 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 app...
package org.ccci.maintenance.util; import org.ccci.maintenance.MaintenanceWindow; import java.io.Serializable; /** * @author Matt Drees */ public class OwnedMaintenanceWindow implements Serializable { private static final long serialVersionUID = 1L; public final MaintenanceWindow window; public final ...
/* * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.shortenRefs; import com.intellij.testFramework.TestDataPath; import org.jetbrain...
/* ShaclCompactParserJJ.java */ /* Generated By:JavaCC: Do not edit this line. ShaclCompactParserJJ.java */ /* * 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 own...
package com.orientechnologies.orient.core.sql.parser; import org.junit.Test; public class ODropClassStatementTest extends OParserTestAbstract { @Test public void testPlain() { checkRightSyntax("DROP CLASS Foo"); checkRightSyntax("drop class Foo"); checkRightSyntax("drop class Foo UNSAFE"); checkR...
package org.deeplearning4j.spark.models.embeddings.word2vec; import org.apache.spark.broadcast.Broadcast; import org.datavec.spark.functions.FlatMapFunctionAdapter; import org.datavec.spark.transform.BaseFlatMapFunctionAdaptee; import org.deeplearning4j.models.word2vec.VocabWord; import org.deeplearning4j.models.word2...
package uk.gov.hmcts.lifeevents.client.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.openapitools.jackson.nullable.JsonNullabl...
package com.redhat.productdeployment; import com.google.gson.Gson; import com.redhat.bian.servicedomain.models.*; import org.apache.camel.Exchange; import java.util.Map; public class TransformerBean { public String create(Exchange exchange){ BianResponse bianResponse = new BianResponse(); BianRe...
/* * Copyright 2011-2016 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 2003-2007 Jive 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
package com.netsuite.webservices.lists.relationships; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import com.netsuite.webservice...
/* * Copyright (c) 2006-2013 Rogério Liesenfeld * This file is subject to the terms of the MIT license (see LICENSE.txt). */ package org.jdesktop.animation.transitions; import javax.swing.*; import org.jdesktop.animation.timing.*; import org.junit.*; import static org.junit.Assert.*; import mockit.*; public fin...
/* * 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...
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 ...
/* * The MIT License (MIT) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distrib...
/* * Copyright 2015-present Open Networking Laboratory * * 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...
package com.microsoft.bingads.v11.reporting; import java.util.Calendar; import javax.xml.bind.annotation.adapters.XmlAdapter; public class Adapter1 extends XmlAdapter<String, Calendar> { public Calendar unmarshal(String value) { return (javax.xml.bind.DatatypeConverter.parseDateTime(value)); } ...
package com.skeqi.mes.controller.dzb.report; import com.alibaba.fastjson.JSONObject; import com.skeqi.mes.service.dzb.report.NgReportService; import com.skeqi.mes.service.dzb.report.OnePassRateService; import com.skeqi.mes.util.ToolUtils; import org.springframework.beans.factory.annotation.Autowired; import org.spring...
/** * Copyright (c) 2003-2005 , David A. Czarnecki * All rights reserved. * * Portions Copyright (c) 2003-2005 by Mark Lussier * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code...
/* ### * IP: GHIDRA * * 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 writin...
package com.github.chenlijia1111.utils.office.word; import com.github.chenlijia1111.utils.common.Result; import com.github.chenlijia1111.utils.core.FileUtils; import com.github.chenlijia1111.utils.core.StringUtils; import org.apache.poi.hwpf.HWPFDocument; import org.apache.poi.hwpf.usermodel.Range; import org.apache.p...
package com.cryptogains.cryptogains; import android.annotation.SuppressLint; import android.app.Application; import com.facebook.react.ReactApplication; import com.oblador.vectoricons.VectorIconsPackage; import io.invertase.firebase.RNFirebasePackage; import com.facebook.react.ReactNativeHost; import com.facebook.rea...
package Method_References; public class MethodReference_For_Instance_Method { public void hellop(){ System.out.println("Hello from instance method....."); } public static void main(String[] args) { MethodReference_For_Instance_Method instance_method = new MethodReference_For_Instance...
/* Copyright 2016 Tse Kit Yam * * 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 2019 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 ...
/* * The MIT License * * Copyright (c) 2018-2022, qinglangtech Ltd * * 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...
package io.ona.kujaku; import android.location.Location; import com.mapbox.geojson.Feature; import com.mapbox.geojson.Point; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; import org.robolectric.annotation.Config; import java.lang.reflect.Field; import java.lang.reflect.Modifier; im...
/* * This class file was automatically generated by ASN1bean (http://www.beanit.com) */ package com.beanit.asn1bean.compiler.tagging_test; import java.io.IOException; import java.io.EOFException; import java.io.InputStream; import java.io.OutputStream; import java.io.ByteArrayOutputStream; import java.util.List; im...
package com.cj.qc.model; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; import java.util.List; /** * @author chenzhaowen * @description 机器质检结果类详情类 * @date 201...
package tconstruct.client.entity.projectile; import cpw.mods.fml.relauncher.*; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.texture.TextureMap; import net.minecraft.entity.Entity; import net.minecraft.item.*; import net.minec...
/* Jackson JSON-processor. * * Copyright (c) 2007- Tatu Saloranta, tatu.saloranta@iki.fi * Modifications Copyright (c) 2019 Andreas Fagschlunger */ package at.o2xfs.memory.databind.introspect; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.LinkedHashMap; import java.util.List;...
package com.krishagni.catissueplus.rest.controller; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import javax.servlet.http.HttpServletRe...
package org.codeforamerica.shiba.pages; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm; import org.codeforamerica.shiba.AbstractBasePageTest; import org.codeforamerica.shiba.pages.config.FeatureFlag; import org.codeforamerica.shiba.pages.config.FeatureFlagConf...
/******************************************************************************* * 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...
/* * Copyright 2021 The Dapr 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 to in w...
package com.example.parstagram.fragments; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.core.content.FileProvider; import a...
package com.fate.fragmentation; import android.view.MotionEvent; import com.fate.fragmentation.anim.FragmentAnimator; /** * Created by YoKey on 17/6/13. */ public interface ISupportActivity { SupportActivityDelegate getSupportDelegate(); ExtraTransaction extraTransaction(); FragmentAnimator getFragm...
/* * Copyright 2002-2018 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.ovirt.engine.core.bll; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.ovirt.engine.core.bll.context.CommandContext; import org.ovirt.engine.core.bll.job.ExecutionContext; import org.ovirt.engine.core.bll.job.ExecutionHandler; import org.ovirt.engine.core.bll.quota.Qu...
package com.newtours.pages; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait; public clas...
import org.apache.thrift.transport.TTransport; import org.apache.thrift.transport.TTransportException; public class TTeeTransport extends TTransport { private TTransport left; private TTransport right; public TTeeTransport(TTransport left, TTransport right) { this.left = left; this.right = right; } ...
package redis.clients.jedis.modules.timeseries; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.util.*; import org.junit.AfterClass; impor...
package com.ted.commander.client.style; import com.google.gwt.resources.client.ClientBundle; public interface CommanderStyleBundle extends ClientBundle { @Source("commanderStyle.gss") CommanderStyle css(); }
package com.xjtu.power.agent.algorithm.learning.sarsa; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.serializer.SerializerFeature; import com.xjtu.power.agent.algorithm.actionselection.ActionSelectionStrategy; import com.xjtu.power.agent.algorithm.actionselection.EpsilonGreedyActionSelectionStrategy; ...
/* * 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 2018 人人开源 http://www.renren.io * <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 * <p> * Unless required by appli...
/** * */ package com.tarun.dynamodb; import java.io.IOException; import java.net.URISyntaxException; import java.net.URL; import java.nio.file.Files; import java.nio.file.Paths; import com.amazonaws.util.json.JSONException; import com.amazonaws.util.json.JSONObject; /** * The Class DynamoDBMain. * * @author ta...
/* * Copyright (c) 2021 - 2022 Microsoft Corporation and others * * 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 * * Contribut...
package com.lordjoe.identifier; import android.Manifest; import android.app.Activity; import android.content.ContextWrapper; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.os.Environment; import android.support.v4.app.ActivityCompat; import android.util.Log; import org.bytede...
/** * Generated class : msg_global_position_setpoint_int * DO NOT MODIFY! **/ package org.mavlink.messages.ardupilotmega; import org.mavlink.messages.MAVLinkMessage; import org.mavlink.IMAVLinkCRC; import org.mavlink.MAVLinkCRC; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.nio.ByteBu...
package org.fundacionparaguaya.adviserplatform.ui.families.detail; import android.arch.lifecycle.ViewModelProviders; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import androi...
/* * Created on 07-Jun-2005 */ package com.foc.gui; import javax.swing.SwingUtilities; import javax.swing.event.*; import com.foc.Globals; import com.foc.desc.*; /** * @author 01Barmaja */ public class FGCurrentItemPanel extends FPanel implements ListSelectionListener{ /** * Comment for <code>serialVersionU...
/* * $Id: SchedulerFactoryTest.java 3629 2011-04-18 10:00:52Z mitcje $ * $URL: http://open.jira.com/svn/IKASAN/branches/ikasaneip-0.9.x/scheduler/src/test/java/org/ikasan/scheduler/SchedulerFactoryTest.java $ * * ==================================================================== * Ikasan Enterprise Integration ...
package com.oney.WebRTCModule; import org.webrtc.PeerConnection; import org.webrtc.RTCStats; import org.webrtc.RTCStatsReport; import java.util.Map; public class StringUtils { /** * Constructs a JSON <tt>String</tt> representation of a specific array of * <tt>RTCStatsReport</tt>s (produced by {@link Pe...
package hermitstate.powers; import com.megacrit.cardcrawl.core.AbstractCreature; import com.megacrit.cardcrawl.powers.AbstractPower; import hermit.powers.DeterminationPower; import savestate.powers.PowerState; public class DeterminationPowerState extends PowerState { public DeterminationPowerState(AbstractPower p...
package com.example.youngmall.coupon.service; import com.baomidou.mybatisplus.extension.service.IService; import com.example.common.utils.PageUtils; import com.example.youngmall.coupon.entity.SeckillSkuNoticeEntity; import java.util.Map; /** * 秒杀商品通知订阅 * * @author colinyang * @email colin.kyang@outlook.com * @d...
/******************************************************************************* * Copyright FUJITSU LIMITED 2017 *******************************************************************************/ package org.oscm.billingservice.business.model.suppliershare; import java.math.BigDecimal; import javax.xml.bind.annota...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
package com.team1.lab1.models; public class EducationModel { private String educationTime; private String educationalInstitution; private String educationalInstitutionLocation; private String degree; private String[] activities; public EducationModel() { } public EducationModel(String...
import java.util.HashSet; public final class RatedMovieFilter implements RFilter { private String movieID; public RatedMovieFilter(String movieID) { this.movieID=movieID; } public boolean satisfies(Rater r) { HashSet<Rating> temp=r.getRaterRatings(true); for(Rating e:temp) if(Integer.parseInt(e.getImdb...
/* * 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...
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.trilead.ssh2; import java.util.List; /** * This extends the {@link ServerHostKeyVerifier} interface by allowing the remote server to indicate it has multiple * server key algorithms available. After authentication, the {@link #getKnownKeyAlgorithmsForHost(String, int)} method * may be called and compar...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.metrics.simple; import java.util.logging.Logger; import org.HdrHistogram.DoubleHistogram; import java.util.logging.Level; /** * A gauge or a counter or... who knows? The class fo...
/* * 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 ...
/*! ****************************************************************************** * * Pentaho Big Data * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (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 may not...
/* ### * IP: GHIDRA * * 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 writin...
// -------------------------------------------------------------------------------- // Copyright 2002-2022 Echo Three, 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:/...
package com.java.mail.util; import com.sun.mail.util.MailSSLSocketFactory; import javax.activation.DataHandler; import javax.activation.DataSource; import javax.activation.FileDataSource; import javax.mail.*; import javax.mail.internet.*; import java.io.UnsupportedEncodingException; import java.security.GeneralSecuri...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
package net.mybluemix.transferobject; import java.util.LinkedList; import java.util.List; import net.mybluemix.entity.Lote; import net.mybluemix.entity.Receita; public class ProdutoTO { public long sku; public List<Lote> lotes = new LinkedList<Lote>(); public Receita receita; public String status; ...
package com.luv2code.springboot.cruddemo.dao; import org.springframework.data.jpa.repository.JpaRepository; import com.luv2code.springboot.cruddemo.entity.Employee; public interface EmployeeRepository extends JpaRepository<Employee, Integer> { // no need to write any code for CRUD operations }
import java.math.BigInteger; import static java.math.BigInteger.*; public class HW06 { public static void main(String[] args) { //6. 45678911234라는 숫자를 BigInteger에 배치한다. // 각 자리수에 맞는 숫자를 배열에 배치하도록 한다. // ex) 1234 = 1 x 10^3 + 2 x 10^2 + 3 x 10^1 + 4 x 10^0 // arr[0] = 4, a...
// 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 appl...
package io.datakitchen.ide.editors.file; public class S3DataSinkEditorProvider extends FileDataEditorProvider { @Override protected String getTypeName() { return "DKDataSink_S3"; } @Override protected Class<? extends FileDataEditor> getEditorClass() { return S3DataSinkEditor.class...
import java.util.*; import java.io.*; public class Prob08 { private static final String INPUT_FILE_NAME = "Prob08.in.txt"; public static void main(String[] args) { try { // prepare to read the file File inFile = new File(INPUT_FILE_NAME); FileReader fr = new FileRea...
/* * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in c...
package CodeGenFX.Barcode; /** * A exception which will be thrown when invalid data is passed to the barcode generator */ public class BarcodeException extends Exception{ public BarcodeException(){ super(); } public BarcodeException(String msg){ super(msg); } }