text
stringlengths
7
1.01M
package cn.newcapec.foundation.portal.model; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; import org.codehaus.jackson.map.annotate.JsonDeserialize; import org.codehaus...
package com.google.sample.cloudvision; import android.content.Intent; import android.graphics.Color; import android.graphics.Paint; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.util.Patterns; import android.view.View; import androi...
package org.adempiere.ad.dao; import java.util.Collection; import org.adempiere.exceptions.AdempiereException; import com.fasterxml.jackson.annotation.JsonValue; import lombok.EqualsAndHashCode; import lombok.NonNull; /* * #%L * de.metas.adempiere.adempiere.base * %% * Copyright (C) 2020 metas GmbH * %% * Th...
// collections/StackCollision.java // (c)2021 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visit http://OnJava8.com for more book information. public class StackCollision { public static void main(String[] args) { onjava.Stack<String> stack = new onjava.Stack...
package com.utilities; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import com.core.Document; import com.core.Request; import com.core.Response; import com.core.TableSet; import com.core.Trice...
package org.thingsboard.server.common.data.oauth2; import lombok.Data; import lombok.EqualsAndHashCode; @EqualsAndHashCode(callSuper = true) @Data public class ExtendedOAuth2ClientRegistrationInfo extends OAuth2ClientRegistrationInfo { private String domainName; private SchemeType domainScheme; public E...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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 requ...
package com.c4soft.hadoop; import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Job; import org.apache.hadoop.m...
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.facet; import com.intellij.facet.impl.ui.actions.AddFacetToModuleAction; import com.intellij.facet.mock.MockFacetConfiguration; import com.intellij.facet.mo...
package org.zzwwsy.weixin.unsubscribe; import java.util.Date; import javax.transaction.Transactional; import org.zzwwsy.commons.domain.User; import org.zzwwsy.commons.domain.event.EventInMessage; import org.zzwwsy.commons.processors.EventMessageProcessor; import org.zzwwsy.commons.repository.UserRepository;...
/* * Encog(tm) Core v3.4 - Java Version * http://www.heatonresearch.com/encog/ * https://github.com/encog/encog-java-core * Copyright 2008-2017 Heaton Research, 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...
/* * 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 javadaojpa; import dao.EmployeeDataAccess; import java.time.LocalDate; import java.time.Month; import java.time.ZoneId; import...
// *************************************************************************************************************************** // * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * // * distributed with this work for additional information regardi...
/* * 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.example.permission; public interface PermissionInterface { int doPermissionSucceed(); int doPermissionFailed(); }
/* * 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...
package io.renren.modules.oss.cloud; import com.alibaba.fastjson.JSONObject; import com.qcloud.cos.COSClient; import com.qcloud.cos.ClientConfig; import com.qcloud.cos.request.UploadFileRequest; import com.qcloud.cos.sign.Credentials; import io.renren.common.exception.RRException; import org.apache.commons.io.IOUtils...
package janiduw.com.patterndroid.droid; import java.util.ArrayList; import java.util.List; import janiduw.com.patterndroid.decorator.Warrior; import janiduw.com.patterndroid.observer.DroidObserver; import janiduw.com.patterndroid.strategy.DanceBehavior; /** * Droid made with different abilities (Powered by GoF desi...
// Copyright 2015 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...
/* * Copyright 2012 Netflix, 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 ...
package learning.springboot.springboot2essentials.service; import learning.springboot.springboot2essentials.domain.Anime; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Service; import org.springframework.web.server.ResponseStatusException; import java.util.ArrayList; import...
package com.ruoyi.weixin.handler; import com.ruoyi.weixin.builder.TextBuilder; import lombok.extern.slf4j.Slf4j; import me.chanjar.weixin.common.error.WxErrorException; import me.chanjar.weixin.common.session.WxSessionManager; import me.chanjar.weixin.mp.api.WxMpService; import me.chanjar.weixin.mp.bean.message.WxMpXm...
package ru.kpfu.itis.tasks.task_III; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import ru.kpfu.itis.tasks.task_III.App; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.r...
/* * Copyright 2018 Raymond Dodge * * 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...
package store.tacomall.jobadmin.controller; import store.tacomall.jobadmin.core.cron.CronExpression; import store.tacomall.jobadmin.core.exception.XxlJobException; import store.tacomall.jobadmin.core.model.XxlJobGroup; import store.tacomall.jobadmin.core.model.XxlJobInfo; import store.tacomall.jobadmin.core.model.XxlJ...
/* * 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 (c) 2021 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.toys; import io.airbyte.db.Database; import io.airbyte.db.instance.FlywayDatabaseMigrator; /** * A database migrator for testing purposes only. */ public class ToysDatabaseMigrator extends FlywayDatabaseMigrator { pu...
package org.n3r.diamond.client; import org.apache.commons.lang3.StringUtils; import java.util.concurrent.TimeUnit; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Duration { public static Pattern durationPattern = Pattern .compile("((\\d+)[dD])?\\s*((\\d+)[hH])?\\s*((\\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 ...
/* * 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 io.katharsis.meta.model.resource; import io.katharsis.meta.model.MetaDataObject; import io.katharsis.resource.annotations.JsonApiResource; @JsonApiResource(type = "meta/jsonObject") public class MetaJsonObject extends MetaDataObject { }
package io.github.cottonmc.functionapi.script; import io.github.cottonmc.functionapi.api.FunctionAPIIdentifier; import io.github.cottonmc.functionapi.api.script.ScriptedObject; import java.util.HashMap; import java.util.Map; import java.util.Set; public abstract class GlobalFunctionManager<T, S> { private Map<...
package com.hrconfigserver; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.config.server.EnableConfigServer; @SpringBootApplication @EnableConfigServer public class Application { public static void main(String...
package com.example.firstproblem; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.widget.Toast; public class MainActivity extends AppCompatActivity { @Override protected vo...
/* * 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 no...
package com.github.ltsopensource.core.cluster; import com.github.ltsopensource.core.domain.Job; import com.github.ltsopensource.core.json.JSON; import com.github.ltsopensource.core.registry.NodeRegistryUtils; import java.util.ArrayList; import java.util.List; /** * @author Robert HG (254963746@qq.com) on 6/22/14. ...
/* * Copyright © 2016-2019 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 agr...
package io.quarkus.liquibase.runtime; import java.util.Collections; import java.util.Map; import io.quarkus.runtime.annotations.ConfigItem; import io.quarkus.runtime.annotations.ConfigPhase; import io.quarkus.runtime.annotations.ConfigRoot; /** * Liquibase runtime configuration. */ @ConfigRoot(name = "liquibase", ...
/* * Copyright 2002-2004 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...
/* * acme4j - Java ACME client * * Copyright (C) 2016 Richard "Shred" Körber * http://acme4j.shredzone.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * This program is distributed in the hope that it will be useful,...
package Principal; import Clases.*; import Clases.AnalizadorSintactico.AritmeticaBasica; import Clases.AnalizadorSintactico.Calculadora; import Clases.AnalizadorSintactico.ExpresionesRegulares; import Clases.AnalizadorSintactico.GramaticaDeGramaticas; import Dibujar.Draw; import com.jfoenix.controls.JFXButton; import ...
/* ESI AIS Parser * * Copyright 2011/2012 by Pierre van de Laar & Pierre America (Embedded Systems Institute) * Copyright 2008 by Brian C. Lane <bcl@brianlane.com> * All Rights Reserved * */ package nl.esi.metis.aisparser; /** This is the common interface for all types of AIS messages that provide UTC time and...
package covfefe; /** * Klasse, die einen Widerstand als physikalische Größe repräsentiert * @author Dominik Thörmer, Tobias Vöth * @version 05.07.2018 */ public class Resistance extends PhysicalQuantity { /** * Standardkonstruktor zum Erzeugen von Objekten der Klasse Resistance */ public Resist...
/* * Copyright 2008-2021 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 com.rozsa.stockviewapi.api; import com.rozsa.stockviewapi.business.GetStockPrices; import com.rozsa.stockviewapi.cache.CachedOperations; import com.rozsa.stockviewapi.cache.ReactiveRedisOperationsFactory; import com.rozsa.stockviewapi.integration.service.dto.StockPriceServiceDto; import lombok.RequiredAr...
/* * Copyright 2015 Pawan Dubey pawandubey@outlook.com. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
// Generated by wsdl compiler for android/java // DO NOT CHANGE! package com.ebay.trading.api.client; import com.leansoft.nano.ws.XMLServiceCallback; import com.leansoft.nano.ws.NanoXMLClient; import com.ebay.trading.api.SetSellingManagerFeedbackOptionsRequestType; import com.ebay.trading.api.GetContextualKeywordsRes...
/* * 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.github.sawied.ws.model.hub; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlValue; import org.eclipse.persistence.oxm.annota...
/* * COMA 3.0 Community Edition * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program ...
package org.cyclops.commoncapabilities.ingredient.storage; import com.google.common.collect.Iterators; import com.google.common.collect.Lists; import net.minecraft.item.ItemStack; import net.minecraft.util.Direction; import net.minecraftforge.common.capabilities.ICapabilityProvider; import net.minecraftforge.common.ut...
package com.java.learners.basic.readinput; import java.io.IOException; import java.io.InputStreamReader; import java.io.BufferedReader; // Java program to demonstrate BufferedReader public class Buffer { public static void main(String[] args) throws IOException { // Enter data using Buffer...
package com.alibaba.asyncload; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.RejectedExecutionHandler; import java.util.concurrent.TimeUnit; import com.alibaba.asyncload.impl.pool.AsyncLoadCallabl...
/* * Copyright (c) 2007 innoSysTec (R) GmbH, Germany. All rights reserved. * Original author: Edmund Wagner * Creation date: 04.06.2007 * * Source: $HeadURL$ * Last changed: $LastChangedDate$ * * * the unrar licence applies to all junrar source and binary distributions * you are not allowed to use this sou...
package lib.people; import org.springframework.data.repository.CrudRepository; public interface PersonRepository extends CrudRepository<Person, String> { }
package com.amyliascarlet.jsontest.bvt; import org.junit.Assert; import junit.framework.TestCase; import com.amyliascarlet.lib.json.JSON; public class BuilderTest extends TestCase { public void test_builder() throws Exception { RainbowStats rainbowStats = JSON.parseObject("{\"id\":33}", RainbowStats.class); Ass...
package nusmv_counterexample_visualizer.formula.ltl; import nusmv_counterexample_visualizer.Cause; import nusmv_counterexample_visualizer.Counterexample; import nusmv_counterexample_visualizer.Util; import nusmv_counterexample_visualizer.highlighting.HighlightingMode; import org.apache.commons.lang3.tuple.Pair; impor...
package com.javarush.task.task07.task0716; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; /* Р или Л */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader bis = new BufferedReader(new InputStreamReader(System.in)...
package classify.stackqueue; public class SleepSort implements Runnable { private int t; private SleepSort(int t) { this.t = t; } @Override public void run() { try { Thread.sleep(t); System.out.print(t + " "); } catch (InterruptedException e) { ...
package com.flamexander.cloud.secured.client; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import org.springframework.context.annotation.Bean; import org.springframework.securi...
/* * This file is generated by jOOQ. */ package eu.fasten.core.data.metadatadb.codegen.routines; import eu.fasten.core.data.metadatadb.codegen.Public; import javax.annotation.processing.Generated; import org.jooq.Field; import org.jooq.Parameter; import org.jooq.impl.AbstractRoutine; import org.jooq.impl.Internal...
package activities; import android.app.ActivityOptions; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.os.Build; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AlertDialog; impor...
package com.victoryw.servlet.proxy.handler; import javax.servlet.http.HttpServletRequest; public interface CanHandlerHttpRequest { boolean canHandle(HttpServletRequest httpServletRequest); }
package com.red.plus.blue.design_patterns.interpreter.concrete; public class TerminalExpression implements Expression { protected String value; public TerminalExpression(String value) { this.value = value; } @Override public void solve(Context context) { context.appendSolution(value); } ...
package com.labo.security; /** * Constants for Spring Security authorities. */ public final class AuthoritiesConstants { public static final String ADMIN = "ROLE_ADMIN"; public static final String USER = "ROLE_USER"; public static final String ANONYMOUS = "ROLE_ANONYMOUS"; public Authorit...
/* * Copyright 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
/** * @author Hincu Andrei (andreih1981@gmail.com)on 02.10.2017. * @version $Id$. * @since 0.1. */ package ru.job4j.litle.treemapsort;
/** * Automatically generated file. DO NOT MODIFY */ package com.example.android.test; public final class BuildConfig { public static final boolean DEBUG = Boolean.parseBoolean("true"); public static final String APPLICATION_ID = "com.example.android.test"; public static final String BUILD_TYPE = "debug"; pu...
/* This file is part of the iText (R) project. Copyright (c) 1998-2022 iText Group NV Authors: iText Software. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation ...
package stsjorbsmod.cards.wanderer; import com.megacrit.cardcrawl.actions.common.GainBlockAction; import com.megacrit.cardcrawl.characters.AbstractPlayer; import com.megacrit.cardcrawl.monsters.AbstractMonster; import stsjorbsmod.JorbsMod; import stsjorbsmod.cards.CustomJorbsModCard; import stsjorbsmod.actions....
package org.graalvm.vm.trcview.arch.pdp11.io; import java.io.IOException; import org.graalvm.vm.trcview.arch.io.DeviceEvent; import org.graalvm.vm.trcview.arch.io.MemoryEvent; import org.graalvm.vm.trcview.arch.io.MemoryEventI16; import org.graalvm.vm.trcview.arch.pdp11.device.PDP11Devices; import org.graalvm.vm.util...
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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...
package com.yr.net.app.moments.entity; import com.yr.net.app.customer.entity.UserMultimedia; import com.yr.net.app.tools.AppUtil; import org.apache.commons.lang3.StringUtils; import java.math.BigDecimal; import java.time.LocalDateTime; /** * @author dengbp * @ClassName UserMomentsSub * @Description 重新构建表与实体生成的时候不...
/* * Copyright 2003-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...
/* * Tencent is pleased to support the open source community by making Angel available. * * 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 ma...
package com.quasiris.qsf.pipeline.filter.elastic.bean; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.quasiris.qsf.pipeline.filter.elastic.AggregationsDeserializer; /** * Created by mki on 19.11.17. */ @JsonIgnoreProperties(...
package duelistmod.cards.pools.zombies; import java.util.ArrayList; import com.megacrit.cardcrawl.cards.AbstractCard; import com.megacrit.cardcrawl.characters.AbstractPlayer; import com.megacrit.cardcrawl.core.CardCrawlGame; import com.megacrit.cardcrawl.dungeons.AbstractDungeon; import com.megacrit.cardcrawl.localiz...
/* * Copyright (c) 2011-2018, Meituan Dianping. All Rights Reserved. * * 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 fil...
package com.levigo.jadice.format.jpeg2000.internal.debug; import static com.levigo.jadice.format.jpeg2000.internal.debug.BooleanParameter.bool; public class BooleanParameterFactory implements ParameterFactory<Boolean> { @Override public Parameter<Boolean> create() { return bool(); } }
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
package ph.url.phlinthetime.mod.model; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class ModelKasse extends ModelBase { //fields ModelRenderer Basis; ModelRenderer Stuetze; ModelRenderer Display; public Mod...
package net.rfs.smartadmin.module.system.position; import net.rfs.smartadmin.common.constant.ResponseCodeConst; /** * @author zzr */ public class PositionResponseCodeConst extends ResponseCodeConst { public static final PositionResponseCodeConst REMOVE_DEFINE = new PositionResponseCodeConst(13000, "还有人关联该岗位,不能...
package moose.utilities; import org.junit.Assert; import org.junit.Test; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class FileUtilsTest { @Test public void testGetStartingPoint() { File file1 = new File("/users/pat/Music/Library/TestArtist...
/* * Copyright 2019-2021 The Polypheny 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...
/* * $Id$ * * SARL is an general-purpose agent programming language. * More details on http://www.sarl.io * * Copyright (C) 2014-2021 the original authors 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 ma...
package org.tensorflow.demo.beacon; /** * Project : CouponDemo. * Created by Adi on 9/11/2015. */ public interface BleStateListener { public void onBleStackEvent(int event); }
// "Remove element" "true" record R() { R() {} }
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * 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...
package dalma.endpoints.jms.impl; import javax.jms.MessageFormatException; import javax.jms.JMSException; import java.util.Map; import java.util.HashMap; /** * Converts the type of a value according to the following table in JMS: * * <pre> * | | boolean byte short char int long float double String byte[] ...
/* * * Copyright (c) 2017 Otávio Santana and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * The Eclipse Public License is available at http:/...
/* * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
/* * 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...
/* 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 ...
/* * Copyright (C) 2016 Nafundi * * 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 writ...
package advanced.scan.singlepointer.lc152_maximumproductsubarray; /** * Find the contiguous subarray within an array (containing at least one number) which has the largest product. * For example, given the array [2,3,-2,4], the contiguous subarray [2,3] has the largest product = 6. */ public class Solution { p...
class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(int x) { val = x; } } /** * https://leetcode-cn.com/problems/sum-of-left-leaves/description/ */ public class Solution { public int sumOfLeftLeaves(TreeNode root) { if (root == null) { ...
import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Job; import org.apache.hadoop.mapreduce.lib.input.FileInputFormat; import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat; import org.apache.hadoop.io.NullWritable; pu...
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.android.exoplayer.chunk; import com.google.android.exoplayer.drm.DrmInitData; import com.google.android.exoplayer.extractor.SeekMap; im...
package io.pivotal.cf.dh; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpHeaders; import org.springframework.http.MediaType; import or...