text
stringlengths
7
1.01M
package com.mongodb.pipeline.transfer.test.util; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.HashMap; import java.util.Map; /** * <pre> * Modify Information: * Author Date Description * ============ ========...
package com.mx.mylibrary; public class CustomException extends RuntimeException { public CustomException() { super(); } public CustomException(String message) { super(message); } }
/* * Copyright 2014 by the Metanome 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 o...
/* * 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 "li...
package org.esbench.generator.field.utils; import static org.testng.Assert.assertEquals; import org.apache.commons.lang3.RandomUtils; import org.esbench.testng.UtilityClassValidator; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; public class AddressUtilsTest { private static final...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.batchai.v2018_03_01; import com.fasterxml.jackso...
package com.ualberta.nyitrai.nyitrai_sizebook; import android.widget.ArrayAdapter; import java.util.ArrayList; /** * Created by nyitrai on 2/4/2017. */ public class SizeBook extends SModel<SView> { protected ArrayList<Record> records; public ArrayList<Record> getRecords() { return records; } ...
package edu.anadolu; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import java.io.IOException; import java.lang.reflect.Array; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Map; public class Solution { ArrayList<Depots> solution = new Arr...
/** * 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.ssepulveda.commons; public class Converters { public static String byteArrayToHexString(byte[] a) { StringBuilder sb = new StringBuilder(a.length * 2); for(byte b: a) sb.append(String.format("%02x", b)); return sb.toString(); } }
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference // Implementation, v2.2.7 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2020.10.05 at 10:58:1...
package net.synerghetic.synerg.activity; import android.support.design.widget.TabLayout; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.support.v4.app.Fr...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.example.android.xmladapters; public final class R { public static final class attr { /** The type of binding. If...
package com.example.doandidong.Data.KhachHang; import java.io.Serializable; public class NhomKhachHang implements Serializable { String tenNhomKh; String maKH; String ghichuNhom; String id; public NhomKhachHang() { } public NhomKhachHang(String tenNhomKh, String maKH, String ghichuNhom, ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to 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...
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
package com.app.barber.util.weekengine; import android.app.Activity; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import com.app.barber.R; import com.app.barber.mode...
package hex; import hex.genmodel.utils.DistributionFamily; import jsr166y.CountedCompleter; import water.*; import water.api.FSIOException; import water.api.HDFSIOException; import water.exceptions.H2OIllegalArgumentException; import water.exceptions.H2OModelBuilderIllegalArgumentException; import water.fvec.*; import...
package model; import java.util.Scanner; import java.util.Stack; public class Deck { protected int max_cards; protected Stack<Card> deck; //Constructors initialize the deck and set it's maximum number of cards. public Deck(){ this.max_cards = 52; this.deck = new Stack<Card>(); this.deck.ensureCapacity...
/* * 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 net.minecraft.client.renderer.chunk; import java.util.ArrayList; import java.util.List; import net.minecraft.client.renderer.WorldRenderer; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.EnumFacing; import net.minecraft.util.EnumWorldBlockLayer; public class CompiledChunk { public st...
package beginner; import com.sandwich.koan.Koan; import java.text.MessageFormat; import static com.sandwich.koan.constant.KoanConstants.__; import static com.sandwich.util.Assert.assertEquals; import static com.sandwich.util.Assert.fail; public class AboutStrings { @Koan public void implicitStrings() { ...
/* Copyright 2017 Digital Learning Sciences (DLS) at the University Corporation for Atmospheric Research (UCAR), P.O. Box 3000, Boulder, CO 80307 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 a...
package com.example.simpletodo; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.*; import android.widget.*; import android.view.*; import org.apache.commons.io.FileUtils; import java.io.*; import java.io.IOException; import java.nio.charset.Charset; import java.util.*;...
package com.synapticswarm.minijvm.opcode; import com.synapticswarm.minijvm.MethodContext; import com.synapticswarm.minijvm.MiniStack; import com.synapticswarm.minijvm.model.MiniConstantPool; public class SimpleOpCodes { public static class _return extends BaseOpCode { public void execute(MiniStack stack,...
// Author: Rodney Shaghoulian // Github: github.com/RodneyShag // HackerRank: hackerrank.com/RodneyShag /* * For your reference: * * DoublyLinkedListNode { * int data; * DoublyLinkedListNode next; * DoublyLinkedListNode prev; * } * */ // Time Complexity: O(n) // Space Complexity: O(1) st...
import java.util.Scanner; public class Q1003 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num1 = sc.nextInt(), num2 = sc.nextInt(); System.out.println("SOMA = "+(num1+num2)); } }
package org.nesc.ec.bigdata.security; import org.nesc.ec.bigdata.config.AuthConfig; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigur...
package com.github.msteinbeck.sig4j.slot; import com.github.msteinbeck.sig4j.Slot; import java.util.Objects; /** * A slot with 4 generic arguments. * * @param <T> The type of the first argument. * @param <U> The type of the second argument. * @param <V> The type of the third argument. * @param <W> The type of ...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Cognitive Services (formerly Project Oxford): https://www.microsoft.com/cognitive-services // // Microsoft Cognitive Services (formerly Project Oxford) GitHub: // https://github.com/Microsoft/ProjectOxford-ClientSDK /...
/* * 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 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...
/** * Copyright (C) 2004-2011 Jive Software. 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 requir...
package com.kq.concurrent.lock; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.ReentrantLock; /** * @author kq * @date 2021-06-26 9:51 * @since 2020-0630 */ public class ReentrantLockDemo { public static void main(String[] args) { ReentrantLock lock = new ReentrantLock(); ...
/* * 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...
/* * 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 ...
/* * Corona-Warn-App * * SAP SE and all other contributors / * copyright owners license 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/LICEN...
package com.ace.service.api; import com.ace.controller.api.concerns.Query; import com.ace.entity.Account; import com.ace.entity.Room; import com.ace.entity.RoomReport; import com.ace.entity.Schedule; import java.sql.Date; import java.util.List; public interface RoomService { List<Room> query(Account account, Que...
/* * Copyright 2009-2017 Aarhus University * * 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...
/* * The MIT License (MIT) * * Copyright (c) 2016-2020, Hamdi Douss * * 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...
/* * MovieAttributes.java * Transform * * Copyright (c) 2009-2010 Flagstone Software Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must...
package betterwithmods.proxy; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.world.World; import net.minecraftforge.fml.common.network.IGuiHandler; public class CommonProxy implements IGuiHandler { public Item addItemBlockModel(Item item) { return item; } ...
/** * Copyright 2018 ADLINK Technology 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 applicable law o...
/** * 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 ma...
import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int i = scan.nextInt(); double d = scan.nextDouble(); scan.nextLine(); String s = scan.nextLine(); // Write your code here. ...
package seedu.address.logic.parser.person; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import seedu.address.commons.core.index.Index; import seedu.address.commons.exceptions.IllegalValueException; import seedu.address.logic.commands.person.SelectCommand; import seedu.address.logi...
package tr.com.bayramcicek.plakabul; import android.content.DialogInterface; import android.os.Bundle; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ListV...
/** * Copyright (C) 2011-2020 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 requir...
package org.nbone.message.mail.service.impl; import java.util.List; import org.apache.commons.lang.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.nbone.message.IUseCallback; import org.nbone.message.mail.vo.EmailVo; public class MailUseCallback implements...
package jahmm.jadetree.objectattributes; import jahmm.jadetree.DecisionInode; import jahmm.jadetree.DecisionRealNode; import java.util.List; import jutils.Name; import jutlis.algebra.Function; import jutlis.tuples.Holder; /** * * @author kommusoft * @param <TSource> The type of the source. * @param <TTarget> The ...
/* * Copyright 2017-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/*- * << * task * == * Copyright (C) 2019 - 2020 sia * == * 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 b...
package in.hocg.payment.spring.boot.sample; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * Created by hocgin on 2019/12/14. * email: hocgin@gmail.com * * @author hocgin */ @SpringBootApplication public class PaymentApplication { ...
/******************************************************************************* * Copyright (c) 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
/* * Copyright 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 by applica...
package com.yammer.tenacity.core.config; import com.google.common.base.Optional; import com.netflix.hystrix.HystrixCommandProperties; import javax.validation.Valid; import javax.validation.constraints.Max; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; import java.util.Objects; ...
package pers.yue.test.performance.test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import pers.yue.test.demo.performance.client.DemoClient; import pers.yue.test.demo.performance.runner.DemoDeleteRunner; import pers.yue.test.de...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.messaging.eventhubs; import com.azure.core.amqp.AmqpEndpointState; import com.azure.core.amqp.AmqpRetryMode; import com.azure.core.amqp.AmqpRetryOptions; import com.azure.core.amqp.AmqpTransportType; impo...
//,temp,VPNUserUsageParser.java,58,119,temp,VolumeUsageParser.java,58,129 //,3 public class xxx { public static boolean parse(AccountVO account, Date startDate, Date endDate) { if (s_logger.isDebugEnabled()) { s_logger.debug("Parsing all Volume usage events for account: " + account.getId()); ...
/* * MIT License * * Copyright (c) 2017-2019 nuls.io * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
/* * * * Licensed 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 * d...
/* * Copyright 1999-2015 dangdang.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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
/* * 版权所有.(c)2008-2017. 卡尔科技工作室 */ package com.carl.wolf.core.foundation.module; import com.carl.wolf.core.bean.Menu; import com.carl.wolf.core.exception.ScanException; import com.carl.wolf.core.util.JSONUtil; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import java.lang.ref...
package com.yulu.util; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryBuilder; import org.springframework.context.ApplicationContext; import org.springframework.context.support.Cla...
/* * 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")...
package com.sallyf.sallyf.Container; import java.util.ArrayList; public class ServiceDefinition<T extends ServiceInterface> implements ServiceRepresentationInterface { private Class alias; private Class<T> type; private ConstructorDefinition constructorDefinition = null; private ArrayList<MethodCal...
/** * 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...
import org.apache.curator.RetryPolicy; import org.apache.curator.framework.CuratorFramework; import org.apache.curator.framework.CuratorFrameworkFactory; import org.apache.curator.framework.api.CuratorEvent; import org.apache.curator.framework.api.CuratorListener; import org.apache.curator.framework.api.CuratorWatcher;...
package com.benmu.framework; import java.util.HashMap; import java.util.Map; /** * Created by Carry on 2017/8/23. */ public class BMInitConfig { private Map<String, String> mEnvs; private String mActice; private BMInitConfig() { } public Map<String, String> getmEnvs() { return mEnvs;...
package com.angelorobson.alternativescene.dtos; import com.angelorobson.alternativescene.enums.GenderEnum; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer; import c...
/** * boilerpipe * * Copyright (c) 2009, 2014 Christian Kohlschütter * * The author 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/licens...
package on2019_11.on2019_11_07_2019_2020_ICPC__Asia_Jakarta_Regional_Contest__Online_Mirror__ICPC_Rules__Teams_Preferred_.E___Songwriter; import net.egork.io.InputReader; import net.egork.io.OutputWriter; public class TaskE { public void solve(int testNumber, InputReader in, OutputWriter out) { } }
/* 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 use ...
package org.definitylabs.flue2ent.demo.page.partial; import org.definitylabs.flue2ent.demo.element.Content; import org.definitylabs.flue2ent.element.FindElementBy; import java.util.List; public interface WithContent { @FindElementBy(className = "page-content") List<Content> contents(); default Content ...
package com.mursaat.extendedtextview; import android.content.res.TypedArray; import android.graphics.Color; import android.util.AttributeSet; import android.widget.TextView; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import...
/* * Copyright (c) 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 in ...
package com.my.o2o.dto; import java.util.List; import com.my.o2o.entity.Shop; import com.my.o2o.enums.ShopStateEnum; public class ShopExecution { //结果状态 private int state; //状态标识 private String stateInfo; //店铺数量 private int count; //操作的shop(增删改店铺的时候用到) private Shop shop...
/* * 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.xiaoyuzhuanqian.mvp.presenter.gaoetask; /** * Created by qm-171 on 2018/4/8. * company qingmo */ import com.trello.rxlifecycle2.LifecycleProvider; import com.trello.rxlifecycle2.android.FragmentEvent; import com.xiaoyuzhuanqian.api.retrofit.BaseObserver; import com.xiaoyuzhuanqian.api.retrofit.NewTrans...
package com.example.android.pets.data; import android.app.LoaderManager; import android.content.ContentProvider; import android.content.ContentUris; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.net...
package com.test.edualitytest.logic; import java.util.ArrayList; public class ContentAggregate extends AggregateBase { //I create the structure for my content private ArrayList<ContentLogic> myListOfContent = new ArrayList<>(); public ContentIterator createIterator() { return new ContentIterator(this);...
package com.suming.plugin.constants; public enum ArrayFunctions { concat, every, filter, find, findIndex, flat, flatMap, forEach, includes, join, map, reduce, reverse, slice, some, sort, splice, unshift, }
package ch.ethz.ssh2.crypto.digest; /** * * SHA-1 implementation based on FIPS PUB 180-1. * * (http://www.itl.nist.gov/fipspubs/fip180-1.htm) * * @author Christian Plattner, plattner@inf.ethz.ch * @version $Id: SHA1.java,v 1.4 2006/02/02 09:11:03 cplattne Exp $ */ public final class SHA1 implem...
/** * Copyright © 2013-2021 The OpenNTF Domino API Team * * 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 net.thucydides.core.statistics.service; import net.thucydides.core.model.TestOutcome; import net.thucydides.core.model.TestTag; import java.util.Set; public interface TagProvider { /** * Returns the tags associated with a given test outcome. */ Set<TestTag> getTagsFor(final TestOutcome test...
/* 464 [The "BSD license"] Copyright (c) 2011-2013 Joel Li (李家智) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this ...
package mysticalmechanics.api.lubricant; import net.minecraft.nbt.NBTTagCompound; import java.util.Collection; public interface ILubricantCapability { int lubricate(ILubricant lubricant, int amount, boolean simulate); Collection<LubricantStack> getAppliedLubricant(); int getCapacity(); default dou...
/************************************************************************************* * Copyright (c) 2013-2018 Red Hat, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution...
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.wugian.sissi.view; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.drawable.BitmapDrawable; import andr...
/* * Copyright 2021 Slawomir Jaranowski * * 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 2017 StreamSets 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...
/* * Copyright (c) 2020-2021 CertifAI Sdn. Bhd. * * 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. * * Unless required by applicable law or agreed to in writing, software * d...
/** * Copyright (C) 2017 Newland Group Holding Limited * <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 ...
/* * 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 2018 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 writi...
package com.friday.productservice.repository; import com.friday.productservice.entity.Product; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface ProductRepository extends JpaRepository<Product, Long> { }
package com.cms.model; import com.cms.model.ChartType; import com.cms.model.Constant; import com.cms.model.CoreEntity; import javax.persistence.*; import java.util.Arrays; import java.util.LinkedList; import java.util.List; /** * Created by sdrahnea */ @Entity @Table(name = "dashboard") public class Dashboard exte...
package cz.cuni.mff.auv.problem5; import cz.cuni.mff.auv.domain.Domain; import cz.cuni.mff.auv.domain.State; import cz.cuni.mff.auv.problem.AuvProblem; import cz.cuni.mff.auv.problem1.DeadEnd; import cz.cuni.mff.jpddl.PDDLDeadEnd; public final class Problem extends AuvProblem { static { // ENSURE STATIC INITIALI...