text
stringlengths
7
1.01M
/* * Copyright (c) 2015 Uber Technologies, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, me...
/******************************************************************************* * ___ _ ____ ____ * / _ \ _ _ ___ ___| |_| _ \| __ ) * | | | | | | |/ _ \/ __| __| | | | _ \ * | |_| | |_| | __/\__ \ |_| |_| | |_) | * \__\_\\__,_|\___||___/\__|____/|____/ * * Copyright (c...
// -------------------------------------------------------------------------------- // Copyright 2002-2021 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:/...
/** * 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 applicable law or agreed to in writing, software * dist...
/* * Copyright 2016-2021 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 io.swagger.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.threeten.bp.OffsetDateTime; import org.springframework.valida...
/* * Copyright 2020 Google LLC * Copyright 2017-2019, Schlumberger * * 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 req...
/* * Copyright (c) 2005-2013, 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...
package mage.game.permanent.token; import mage.MageInt; import mage.constants.CardType; import mage.constants.SubType; import java.util.Arrays; /** * @author TheElk801 */ public final class PhyrexianGolemToken extends TokenImpl { public PhyrexianGolemToken() { super("Phyrexian Golem Token", "3/3 color...
/* * 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 cn.motui.meican.model.api; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.Objects; /** * 菜品 * * @author it.motui * @date 2021-01-17 */ public class Dish { private Long id; private Long dishSectionId; private String name; private Integer priceInCent; private ...
package com.gsc.bm.model.game.status; import com.gsc.bm.model.Statistic; import java.io.Serializable; import java.util.function.Function; public interface StatusAmountTypeFunction extends Function<Statistic, Statistic>, Serializable { // this is just so it can extends serializable }
package org.javalite.activeweb; import org.javalite.json.JSONHelper; import org.javalite.json.JSONMap; import org.junit.Test; import javax.servlet.ServletException; import java.io.IOException; import java.util.Map; /** * Tests validations and conversions for JSONBase objects. */ public class RequestArgumentControl...
package cc.moecraft.icq; import com.google.gson.Gson; /** * The class {@code PicqConstants} is a class with static and final * constant fields. They can be changed with reflection. * <p> * Class created by the HyDEV Team on 2019-03-21! * * @author HyDEV Team (https://github.com/HyDevelop) * @author Hykilpikonn...
/* * The MIT License * * Copyright 2021 Bear Au Jus - ジュースとくま. * * 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...
/* * 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 org.motechproject.sms.api; import org.junit.Before; import org.junit.Test; import java.util.List; import static junit.framework.Assert.assertEquals; public class MessageSplitterTest { private MessageSplitter messageSplitter; @Before public void setup() { messageSplitter = new MessageSp...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
/* * Copyright (C) 2013 Julien Vermet * * 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 org.saiku.service; import java.util.Map; import java.util.Properties; import org.olap4j.Axis; import org.olap4j.CellSet; import org.olap4j.OlapConnection; import org.olap4j.OlapStatement; import org.olap4j.Scenario; import org.olap4j.metadata.Cube; import org.olap4j.query.QueryAxis; import org.olap4j.query.Qu...
package edu.wzm.action.iterator.example; public class DinerMenuIterator implements Iterator { private MenuItem[] items; private int position = 0; public DinerMenuIterator(MenuItem[] items) { this.items = items; } @Override public boolean hasNext() { if (position >= items.lengt...
/* Copyright 2004-2005 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 ...
package pattern.observer2.inter; import pattern.observer2.impl.EnemyStatus; /** * Created by david100gom on 2018. 12. 22. * * Github : https://github.com/david100gom */ public interface Observer { public void update(EnemyStatus stat); }
import java.util.Scanner; public class A5Q21 { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); System.out.print("Enter two numbers to find their gcd: "); int x = sc.nextInt(),y = sc.nextInt(); int a = x>y?x:y,b = x + y - a,c; while(a % b != 0...
/** * Copyright (c) 2009/09-2012/08, Regents of the University of Colorado * 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 copy...
package com.swrve.unity.gcm; import android.app.IntentService; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; impo...
package testng; /* * 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 *...
package noobanidus.mods.mysticalpowers.blocks; import net.minecraft.block.Block; import net.minecraft.block.BlockRenderType; import net.minecraft.block.BlockState; import net.minecraft.util.BlockRenderLayer; public class MachineFrameBlock extends Block { private MachineFrame type; public MachineFrameBlock(Proper...
package com.timeyang.api.v1; import com.timeyang.catalog.Catalog; import com.timeyang.product.Product; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PathVariable; ...
package de.pascalwagler.gso.functions; /** * Lévi Function N.13 */ public class LeviFunctionN13 extends ObjectiveFunction { public LeviFunctionN13() { this.minX = -10; this.maxX = 10; this.minY = -10; this.maxY = 10; } public double getValueAt(double x, double y) { return Math.pow(Math.sin(3*Math.PI*...
package com.tinslice.crusader.demo.repository; import com.tinslice.crusader.demo.model.TodoItem; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface TodoItemRepository extends JpaRepository<TodoItem, Long> { }
package pacman; import java.util.Random; import java.util.ArrayList; public class Maze { // changed private ArrayList<ArrayList<Character>> board = new ArrayList<ArrayList<Character>>(); in Pacman.java // ArrayList<ArrayList<Character>> board = new ArrayList<ArrayList<Character>>(); // changed map to 19x...
package com.blankj.utilcode.util; import android.app.ActivityManager; import android.app.AppOpsManager; import android.app.usage.UsageStats; import android.app.usage.UsageStatsManager; import android.content.Context; import android.content.Intent; import android.content.pm.ApplicationInfo; import android.content.pm.Pa...
package sg.edu.nus.comp.nsynth; import sg.edu.nus.comp.nsynth.ast.Node; import sg.edu.nus.comp.nsynth.ast.TestCase; import sg.edu.nus.comp.nsynth.ast.Type; import sg.edu.nus.comp.nsynth.ast.Variable; import java.util.List; /** * Created by Sergey Mechtaev on 19/7/2016. */ public class AngelixTest extends TestCase ...
package com.ruitukeji.zwbh.loginregister.bindphone; import com.kymjs.common.CipherUtils; import com.kymjs.common.StringUtils; import com.kymjs.rxvolley.client.HttpParams; import com.ruitukeji.zwbh.R; import com.ruitukeji.zwbh.application.MyApplication; import com.ruitukeji.zwbh.common.KJActivityStack; import com.ruitu...
package spacesurvival.model.gameobject.fireable; import spacesurvival.model.EngineImage; import spacesurvival.model.collision.bounding.BoundingBox; import spacesurvival.model.collision.eventgenerator.EventComponent; import spacesurvival.model.common.P2d; import spacesurvival.model.common.V2d; import spacesurvival.mode...
/* * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: release-1.17 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * ...
package xwsagent.wroomagent.domain.auth; import java.util.Date; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import jav...
package iservice.sdk.message; /** * @author : ori * @date : 2020/9/24 4:45 下午 */ public class ServiceBaseMessage { private String jsonrpc; private WebSocketErrorMessage error; private String id; public String getJsonrpc() { return jsonrpc; } public void setJsonrpc(String jsonrpc) {...
/* * 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 2015-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
// // ======================================================================== // Copyright (c) 1995-2022 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at // https://www.eclipse.org/...
package com.aire.ux.test.vaadin; import com.aire.ux.test.AireExtension; import com.github.mvysny.kaributesting.v10.Routes; import org.junit.jupiter.api.extension.ExtensionContext; public class DefaultRoutesCreatorFactory implements RoutesCreatorFactory { @Override public boolean appliesTo(ExtensionContext contex...
package com.bihell.dice.config; import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler; import org.apache.ibatis.reflection.MetaObject; import org.springframework.stereotype.Component; import java.time.LocalDateTime; /** * MP 自动填充 * * @author haseochen */ @Component public class MyMetaObjectHandler impl...
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.jpa.test.criteria.paths; import javax.persistence.EntityMana...
package mage.cards.u; import mage.MageInt; import mage.MageObject; import mage.Mana; import mage.abilities.Ability; import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.common.TapTargetCost; import mage.abilities.costs.mana.Gen...
/** * 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...
package com.test.abstractfactory; public class ColorFactory extends AbstractFactory { @Override public Shape getShape(String shapeType) { return null; } @Override public Color getColor(String color) { if (color == null) { return null; } if (color.equalsIgnoreCase("RED")) { return new Red(); } el...
/* * 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 java.io.BufferedReader; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.HashSet; import java.util.List; import java.util.StringTokenizer; public class D { int[][] fast(int n, int m){ int[][] ans = new int[2][n * m]; int c = 0; for (...
/* The MIT License Copyright (c) 2016-2022 kong <congcoi123@gmail.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 without limitation the rights to use, copy, m...
package DataPersistence; import Acquaintance.ICitizen; import Acquaintance.IPerson; import Acquaintance.IRepresentation; class DataRepresentation extends DataPerson implements IRepresentation { private String representationType; private IPerson person; DataRepresentation(String cprNumber, String fi...
package io.bxbxbai.swipeplaybar; import android.os.SystemClock; import android.util.Log; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** * Android应用中的秒表工具,跟踪某一段代码的执行时间<br/> * 调用begin方法启动秒表,并在当前时间打上tag。当你再调用end方法时,TimeTester就会输出这个tag的时间差,并删除tag<br/> * * 如果你调用lap方法,就相当于计次,不会删除tag,可以多次调用 *...
/* * Copyright 2021 YugaByte, Inc. and Contributors * * Licensed under the Polyform Free Trial License 1.0.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://github.com/YugaByte/yugabyte-db/blob/master/licenses/POLYFORM-FREE-...
package hr.fer.zemris.java.custom.collections; /** * Represents a collection of objects stored in an ordered list. * * @param <E> the type of elements stored in this list * * @author Luka Mesaric * * @see Collection */ public interface List<E> extends Collection<E> { /** * Returns the object that is sto...
package io.connectedhealth_idaas.eventbuilder.pojos.edi.hipaa; import org.apache.commons.lang3.builder.ReflectionToStringBuilder; public class CD3 { private String CD3_01_WeightQualifier; private String CD3_02_Weight; private String CD3_03_Zone; private String CD3_04_ServiceStandard; private String CD3_05_ServiceLevel...
package com.circulardollar.cdatm.business.upstream.model.auth; import com.circulardollar.cdatm.business.upstream.model.token.IRequestWithToken; public interface ILogoutRecordRequest extends ILogoutRecord, IRequestWithToken { }
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 DBeaver Corp and others * * 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/LICE...
/* * This file is generated by jOOQ. */ package DB.Tables.tables; import DB.Tables.Fwdb; import DB.Tables.Keys; import DB.Tables.tables.records.EventInjuryRecord; import java.util.Arrays; import java.util.List; import org.jooq.Field; import org.jooq.ForeignKey; import org.jooq.Identity; import org.jooq.Name; impo...
/** */ package gluemodel.CIM.IEC61968.PaymentMetering; import gluemodel.CIM.Element; import java.util.Date; import org.eclipse.emf.common.util.EList; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Time Tariff Interval</b></em>'. * <!-- end-user-doc --> * * <p> * The following fe...
/** */ package gluemodel.CIM.impl; import gluemodel.CIM.CIMPackage; import org.eclipse.emf.ecore.EClass; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Package</b></em>'. * <!-- end-user-doc --> * * @generated */ public class PackageImpl extends ElementImpl implements gluemodel....
/* * Copyright 2015-2018 Jeeva Kandasamy (jkandasa@gmail.com) * and other contributors as indicated by the @author tags. * * 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 * * ...
package com.zejian.structures.LinkedList.MyCollection; import java.util.ArrayList; import java.util.Iterator; /** * Created by zejian on 2016/11/20. * Blog : http://blog.csdn.net/javazejian [请尊重原创,转载注明出处] */ public class FailFastTest { public static void main(String[] args){ ArrayList<Integer> list =n...
/* * Copyright (c) 2006, 2011, 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 ...
package com.jujutsu.tsne; import com.jujutsu.tsne.barneshut.DataPoint; import com.jujutsu.tsne.barneshut.Distance; import com.jujutsu.tsne.barneshut.EuclideanDistance; import com.jujutsu.tsne.barneshut.VpTree; import com.jujutsu.utils.MatrixOps; import java.util.ArrayList; import java.util.HashMap; import java.util.L...
package com.matthewhatcher.lightningrods.Permissions; public class RodAdminPermissions { public static String BASE = RodPermissions.BASE + ".admin"; public static String COMMAND_GIVE = BASE + ".commands.give"; public static String COMMAND_LIST = BASE + ".commands.list"; }
/* Sistema de Gestão de Pistas (C) 2016 Tecsidel Created by wilson.souza (WR DevInfo) Description: */ package br.com.tk.mcs.Generic; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.ConnectivityManager; import android.net.Network...
package vh.httpServer; import java.io.IOException; import java.net.InetSocketAddress; import com.sun.net.httpserver.Filter; import com.sun.net.httpserver.HttpContext; import com.sun.net.httpserver.HttpHandler; import com.sun.net.httpserver.HttpServer; public class SimpleHttpServer { private HttpServer httpServer; ...
/** * Mule Development Kit * Copyright 2010-2011 (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.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.a...
/* LICENSE START * * MIT License * * Copyright (c) 2019 Daimler TSS GmbH * * 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 rig...
/* * Copyright 2014 Attila Szegedi, Daniel Dekany, Jonathan Revusky * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
/* * Copyright 2020, Verizon Media. * Licensed under the terms of the Apache 2.0 license. * Please see LICENSE file in the project root for terms. */ package com.yahoo.oak.synchrobench.contention.benchmark; import java.util.Arrays; import java.util.Map; import java.util.stream.Collectors; import java.util.stream....
package map_set; import java.util.HashMap; import java.util.Map; public class Q325MaximumSizeSubarraySumEqualsK { //TAG: Facebook //TAG: map_set //TAG: n sum //TAG: array //Difficulty: Medium /** * 325. Maximum Size Subarray Sum Equals k * Given an array nums and a target value k, ...
/* * 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.ejlchina.searcher.util; import java.util.*; import java.util.stream.Collectors; public class ObjectUtils { public static Integer toInt(Object value) { if (value != null) { if (value instanceof Number) { return ((Number) value).intValue(); } if (value instanceof String) { return Integ...
/** * 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 compli...
package Adapters; import Abstract.UserValidationService; import Entities.User; public class NewEStateUserValidationManager implements UserValidationService{ @Override public Boolean validate(User user) { // TODO Auto-generated method stub return true; } }
package com.example.qkx.translator.ui.simultaneous; import com.example.qkx.translator.ui.base.BasePresenter; import com.example.qkx.translator.ui.base.BaseView; /** * Created by qkx on 16/11/25. */ public interface SimultaneousContact { interface SimultaneousPresenter extends BasePresenter{ } interf...
package evanq.game.module.rpg; public class IRoleFacade { }
package umoo.wang.mybatis.enhancer; import org.springframework.boot.context.properties.ConfigurationProperties; import umoo.wang.mybatis.enhancer.interceptor.MethodInterceptor; import java.util.Properties; /** * Created by Mekki on 2018/11/9. */ @ConfigurationProperties(prefix = "mybatis-enhancer") publ...
/* * 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 2018-present Facebook, 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...
/** * @Company Mister24.com Inc. * @Copyright Copyright (c) 2016-2018 All Rights Reserved. */ package security.shiro.defineRealm; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.UsernamePasswordToken; import org.apache.shiro.authc.credential.HashedCredentialsMatcher; import org.apache.shiro.mgt...
package com.example.demo; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigu...
package com.example.webflux; import org.springframework.data.annotation.Id; public class Reservation { @Id private Integer id; private String name; public String toString() { return "Reservation(id="+id+",name="+name+")"; } @Override public int hashCode() { return id * 37 + name.hashCode(); } public ...
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
// Targeted by JavaCPP version 1.5.5-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencv.opencv_stitching; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.openblas.global.openblas_nola...
/* This file was generated by SableCC (http://www.sablecc.org/). */ package soot.jimple.parser.node; import soot.jimple.parser.analysis.*; @SuppressWarnings("nls") public final class TOr extends Token { public TOr() { super.setText("|"); } public TOr(int line, int pos) { super.se...
/* * Copyright 2006 ThoughtWorks, 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 applica...
package ru.mail.polis.gagarkin; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.ToString; import java.util.StringTokenizer; @Getter @ToString @AllArgsConstructor public class RF { private final String errorMsg = "The replicas parameter must contain 2 non-negative integer separated by a symb...
package com.walmartlabs.concord.runtime.v2.model; /*- * ***** * Concord * ----- * Copyright (C) 2017 - 2020 Walmart 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 * * ...
package com.stevesun; import com.stevesun.solutions.TargetSum; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import static junit.framework.Assert.assertEquals; public class TargetSumTest { private static TargetSum test; private static int expected; private static int actua...
// 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...
/* * File: $HeadURL: https://hdt-java.googlecode.com/svn/trunk/hdt-java/src/org/rdfhdt/hdt/compact/sequence/SequenceFactory.java $ * Revision: $Rev: 191 $ * Last modified: $Date: 2013-03-03 11:41:43 +0000 (dom, 03 mar 2013) $ * Last modified by: $Author: mario.arias $ * * This library is free software; you can re...
package domain; import utils.ErrorDatosServidorException; import utils.Paleta; /** * Lector de notas UTIL * * @author mariaguadalupeuvia * * abril 2017 */ public class ConceptualGradeAssignment extends Assignment { public void validarNota(String grade) { validarNotaYCambiarColor(grade); } priv...
/* * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.xml.soap; /** * An object that stores a MIME header name and its value. One or more *...
class Solution { public int[] XXX(int[] digits) { int left=0; boolean update =true; for(int i=digits.length-1;i>=0;i--){ if(update){ update=false; left=(digits[i]+1)/10; digits[i]=(digits[i]+1)%10; if(left>0)update=...
/* * 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 u...
package com.db.hack.data.retrieval; import com.db.hack.beans.GetQuestion; import com.db.hack.beans.Question; import com.db.hack.databse.DatabaseConnectionFactory; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.uti...
/* * Copyright 2010-2013 Ning, Inc. * Copyright 2014-2015 Groupon, Inc * Copyright 2014-2015 The Billing Project, LLC * * The Billing 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 cop...