text
stringlengths
7
1.01M
/* * Copyright 2008 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 ...
// Targeted by JavaCPP version 1.5.2: DO NOT EDIT THIS FILE package org.bytedeco.tensorflow; import org.bytedeco.tensorflow.Allocator; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.tensorflow.global.tensorflow.*; /** Creates a tensor filled w...
package com.github.skjolber.packing.test; import static com.google.common.truth.Truth.assertThat; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.util.List; import java.util.stream.Collectors; import org.junit.jupiter.api.Test; public class BouwkampCodeParserTest { @Test public ...
package com.stylefeng.guns.rest.common.persistence.dao; import com.baomidou.mybatisplus.mapper.BaseMapper; import com.stylefeng.guns.rest.common.persistence.model.MtimeSourceDictT; /** * <p> * 区域信息表 Mapper 接口 * </p> * * @author ssl * @since 2020-01-11 */ public interface MtimeSourceDictTMapper extends BaseMapp...
import java.io.*; import java.util.*; public class numbers { public static void main(String args[]) { int number; sc=new Scanner(System.in); System.out.println("enter the integer value"); number=sc.nextInt(); if(number>=0) { System.out.println("Given number is positive"); } else { System.out.println("given number is ne...
package ssh.jcraft; import com.jcraft.jsch.ChannelExec; import com.jcraft.jsch.ChannelSftp; import com.jcraft.jsch.JSch; import com.jcraft.jsch.JSchException; import com.jcraft.jsch.Session; import com.jcraft.jsch.SftpException; import java.util.Properties; /** * Created with IntelliJ IDEA. * Description: * User:...
package de.oszimt.ls.aliendefence.controller; import java.util.LinkedList; import java.util.List; import de.oszimt.ls.aliendefence.model.Level; import de.oszimt.ls.aliendefence.model.Point; import de.oszimt.ls.aliendefence.model.Target; import de.oszimt.ls.aliendefence.model.User; import de.oszimt.ls.aliendefence.vie...
/* * 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 * distr...
package com.yinglan.scg.mine.mywallet.withdrawal.dialog; import com.common.cklibrary.common.BasePresenter; import com.common.cklibrary.common.BaseView; /** * 支付密码弹框 * Created by Administrator on 2017/2/21. */ public interface PayPasswordBouncedContract { interface Presenter extends BasePresenter { /...
// Targeted by JavaCPP version 1.5.2: DO NOT EDIT THIS FILE package org.bytedeco.skia; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.skia.global.Skia.*; @Properties(inherit = org.bytedeco.skia.presets.Skia.class) public class sk_data_release_...
/** * 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 grafioschtrader.entities; import java.io.Serializable; import java.time.LocalDateTime; import javax.persistence.Column; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import javax.persistence.Table; import javax.validation.constraints.NotNull; import javax.validation.constraints...
/* * 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...
package com.sidneysimmons.simple.messaging.manager.service.domain; import java.time.Instant; import lombok.Data; /** * A message to send to all workers. * * @author Sidney Simmons */ @Data public class NotifyAllMessage { private String message; private Instant dateTimeSent; }
/* * (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP * All rights reserved. * [See end of file] */ package com.hp.hpl.jena.sparql.algebra.op; import com.hp.hpl.jena.sparql.algebra.Op; import com.hp.hpl.jena.sparql.algebra.OpVisitor; import com.hp.hpl.jena.sparql.algebra.Table; import ...
/* * (C) Copyright 2019, ForgetSky. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
// Copyright 2018-2020 Polyaxon, 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 agre...
/* * TimeTravellingCounter.java * Author: Akhash Ramamurthy * Created on: Jan 7, 2018 */ package com.akh.eugene; import java.util.Map; import org.junit.Assert; import org.junit.Test; import com.akh.eugene.TimeTravellingCounter.Snapshot; import java.util.HashMap; /** * @fileName: TimeTravellingCounter.jav...
/** * Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith...
package com.epam.brest.model; import java.math.BigDecimal; import java.util.Map; import java.util.Scanner; public abstract class AbstractStatus implements Status { Scanner scanner; Map<Integer, BigDecimal> pricePerKgMap; Map<Integer, BigDecimal> pricePerKmMap; }
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. package com.azure.search.models; import com.azure.core.annotation.Fluent; ...
package com.shmily.common.core.domain.model; /** * 用户注册对象 * * @author shmily */ public class RegisterBody extends LoginBody { }
package org.ovirt.engine.core.bll.scheduling.policyunits; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; import org.apache.commons.lang.math.NumberUtils; import org.ovirt.engine.core.bll.scheduling.PolicyUnitImpl; import org.ovirt....
/* * Copyright (c) 2002-2019 "Neo4j," * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * 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....
package com.atguigu.designPattern03.day11flyweight.demo; /** * Create by koala on 2021-06-06 */ public class Client { public static void main(String[] args) { // 创建一个工厂类 WebSiteFactory factory = new WebSiteFactory(); // 客户要一个以新闻形式发布的网站 WebSite webSite1 = factory.getWebSiteCatego...
/* * 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.lin.Crystal; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication @MapperScan("com.lin.Crystal.mapper") public class CrystalApplication { public static void main(Str...
package com.sparrowplatform.sparrow; import android.Manifest; import android.app.ActivityManager; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.ServiceConnection;...
/* * 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 2019 IIT Software GmbH * * IIT Software GmbH licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
/* * 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) 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...
/** * * @author grog (at) myrobotlab.org * * This file is part of MyRobotLab (http://myrobotlab.org). * * MyRobotLab is free software: you can redistribute it and/or modify * it under the terms of the Apache License 2.0 as published by * the Free Software Foundation, either version...
package com.example.periodictable.activities; import android.annotation.SuppressLint; import android.content.Intent; import android.content.pm.ActivityInfo; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.util.DisplayMetrics; import android.view.Gravity; import android.view.Lay...
/* * 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 org.hl7.fhir.convertors.conv10_40; import org.hl7.fhir.convertors.VersionConvertor_10_40; import org.hl7.fhir.exceptions.FHIRException; public class AppointmentResponse10_40 { public static org.hl7.fhir.r4.model.AppointmentResponse convertAppointmentResponse(org.hl7.fhir.dstu2.model.AppointmentResponse s...
package com.salesmanager.core.business.repositories.order; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import org.apache.commons.lang3.StringUtils; import com.salesmanager.core.business.utils.RepositoryHelper; import com.salesmanager.core.model...
/** * Copyright 2018 Nikita Koksharov * * 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 agree...
package com.github.mrzhqiang.helper.math; import com.google.common.base.Strings; import java.math.BigDecimal; /** * 数字工具类。 */ public enum Numbers { ; /** * 从一个正整数转为 int 基本类型。 * * @param number 正整数字符串。 * @param defaultValue 默认值。 * @return int 基本类型。解析成功,返回正整数;解析失败或解析为 0 以及负整数,...
/* * Copyright (C) 1999-2011 University of Connecticut Health Center * * Licensed under the MIT License (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.opensource.org/licenses/mit-license.php */ package cbi...
package com.edinnova.rocketchatrestclient; import java.io.IOException; import java.util.Map.Entry; import org.json.JSONObject; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.htt...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.document; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; /** * @author <a href="mailto:einarmr@yahoo-inc.com">...
/** */ package roadblock.emf.ibl.Ibl; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.EOb...
package com.twu.biblioteca.GUI; import com.twu.biblioteca.basicModel.Library; import com.twu.biblioteca.basicModel.User; import com.twu.biblioteca.widgets.MessageDialog; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; /** * Created by Peizhen Zheng o...
/** * 项目名称:quickstart-zookeeper * 文件名:MainTest.java * 版本信息: * 日期:2019年1月17日 * Copyright youngzil Corporation 2019 * 版权所有 * */ package org.quickstart.zookeeper.zookeeperapi.jute; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.nio.ByteBuffer; import org.apache.jute.BinaryInputArch...
/* * MIT License * * Copyright (c) 2021-2022 yangrunkang * * Author: yangrunkang * Email: yangrunkang53@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 restricti...
import java.lang.*; import java.io.*; import java.util.*; /* Question: You are given an array A representing heights of students. All the students are asked to stand in rows. The students arrive by one, sequentially (as their heights appear in A). For the I-th student, if there is a row in which all the students are t...
package com.archimatetool.editor.diagram.figures.elements; import java.io.File; import org.eclipse.draw2d.ColorConstants; import org.eclipse.draw2d.Graphics; import org.eclipse.draw2d.geometry.Point; import org.eclipse.draw2d.geometry.Rectangle; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.I...
/** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ package com.twilio.rest.api.v2010.account.sip; import com.twilio.base.Deleter; import com.twilio.exception.ApiConnectionException; import com.twilio.exception.ApiException; import com.twilio.exception.R...
/* * Password Management Servlets (PWM) * http://www.pwm-project.org * * Copyright (c) 2006-2009 Novell, Inc. * Copyright (c) 2009-2021 The PWM 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 ...
package org.gradle.test.performance.mediummonolithicjavaproject.p152; import org.junit.Test; import static org.junit.Assert.*; public class Test3056 { Production3056 objectUnderTest = new Production3056(); @Test public void testProperty0() { String value = "value"; objectUnderTest....
/* * Copyright (c) 2018, Tomas Slusny <slusnucky@gmail.com> * 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, thi...
package ch.coredump.twobutton.util; import processing.core.PApplet; public class Debug { private static Debug instance = null; public static Debug get() { if (instance == null) { instance = new Debug(); } return instance; } public int x = 0; public int y = 0; public boolean active = false; public ...
package com.webrest.hobbyte.app.user.model.enums; import com.webrest.hobbyte.core.utils.EnumUtils; import com.webrest.hobbyte.core.utils.WithId; public enum ExtranetUserAgreement implements WithId{ NOT_ACCEPT(0), ACCEPT(1); private int id; private ExtranetUserAgreement(int id) { this.id = id; } public int ...
package de.danoeh.antennapod.fragment; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import de.danoeh.antennapod.AppConfig; import de.danoeh.antenn...
package nl.kallestruik.seedchunkchecker; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonObject; import com.google.gson.JsonPrimitive; import com.google.gson.stream.JsonWriter; import net.fabricmc.api.ModInitializer; import net.minecraft.server.dedicated.MinecraftDedicatedSe...
package cc.white.easy; import java.util.Arrays; /** * @author White * https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array */ public class RemoveDuplicatesFromSortedArray { public static void main(String[] args) { int[] ints = {1, 1, 2, 2, 3, 4, 5, 5}; var i = removeDuplicates(...
package org.infinispan.filter; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.Set; import java.util.function.Function; import java.util.function.Predicate; import java.util.stream.Stream; i...
/* * Copyright 2021. gudaoxuri * * 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...
/** * Copyright 2010 - 2021 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 a...
/* * Copyright 2001, 2002,2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
/* * 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")...
/* * 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...
package org.apache.dynamic.thread.pool; import lombok.AllArgsConstructor; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ThreadFactory; import java.util.concurrent.ThreadPoolExecutor; /** * @Description * @Author dongzonglei * @Date 2021/7/19 9:43 下午 */ @AllArgsConstructor public fin...
package org.apache.spark.graphx; // no position public class Edge$ implements scala.Serializable { /** * Static reference to the singleton instance of this Scala object. */ public static final Edge$ MODULE$ = null; public Edge$ () { throw new RuntimeException(); } <ED extends java.lang.Object> java.la...
package com.simibubi.create.content.contraptions.wrench; import javax.annotation.Nonnull; import com.simibubi.create.AllItems; import com.simibubi.create.AllSoundEvents; import com.simibubi.create.AllTags; import com.simibubi.create.Create; import net.minecraft.block.Block; import net.minecraft.block.BlockState; imp...
package com.example.android.miwok; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.ListView; import java.util.ArrayList; public class ColorsActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCre...
/* * This file is part of adventure-platform, licensed under the MIT License. * * Copyright (c) 2018-2020 KyoriPowered * * 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 restric...
/* * Seldon -- open source prediction engine * ======================================= * * Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/) * * ******************************************************************************************** * * Licensed under the Apache License, V...
package org.wso2.emm.agent.services; import android.app.IntentService; import android.content.Context; import android.content.Intent; import android.os.AsyncTask; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.wso2.emm.agent.AndroidAgentExcepti...
/* * Copyright 2012-2017 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 2013 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.scorewell.db; import java.math.BigInteger; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.bson.Document; import org.bson.types.ObjectId; import org.slf4j.Logger; import org.slf4j.LoggerFactory; ...
/* * Licensed to ElasticSearch and Shay Banon 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...
/* * Copyright 2012-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 ap...
/* * Copyright (c) 2007-2017 MetaSolutions AB * * 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...
package com.china.cibn.bangtvmobile.bangtv.module.home.radio; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import android.support.v7.a...
/* * Copyright 2012-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 required by a...
/** * Copyright 2009-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
package com.lznby.jetpack.content.design.view; import android.graphics.Rect; import android.support.v7.widget.RecyclerView; import android.view.View; import timber.log.Timber; /** * @author Lznby */ public class GridSpacingItemDecoration extends RecyclerView.ItemDecoration { private int spanCount; privat...
package gridmize; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.List; import java.util.stream.Collectors; import gridmize.exceptions.GridmizeException; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; public class Row<T extends HeaderInterface...
/* * 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 dev.sanda.apifigraphqldemo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class ApifiGraphqlDemoApplication { public static void main(String[] args) { SpringApplication.run(ApifiGraphqlDemoAppl...
/** * Model the rides. * A ride holds the starting and finishing coordinates of the ride, the earliest start step, and the latest finish step. */ public class Ride implements Comparable<Ride> { // The ID of each ride private int rid; // The coordinate of the starting point private Location pickup; ...
package com.phyplusinc.android.phymeshprovisioner.node; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.widget.Button; import android.widget.SeekBar; import android.widget.TextView; import com.google.android.material.snackbar.Snackbar; i...
package cn.kgc; public class HelloWork2 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("22222"); } }
/** * Copyright (C) 2010-2013 eBusiness Information, Excilys Group * * 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 ...
/* * Copyright (C) 2021 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 appl...
package de.bitsharesmunich.models; /** * Created by mbilal on 5/24/16. */ public class DecodeMemo { public String status; public String msg; }
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1 // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2021.05.13 ...
/* * Copyright Lealone Database Group. * Licensed under the Server Side Public License, v 1. * Initial Developer: zhh */ package org.lealone.sql.expression.visitor; import org.lealone.sql.expression.Alias; import org.lealone.sql.expression.Expression; import org.lealone.sql.expression.ExpressionColumn; import org....
package thredds.tds; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; import org.junit.experimental.categories.Category; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import thredds.client.catalog.Catalog; import thredds.client.catalog.Dataset; import thredds.client.catalog.tools.Dat...
/* * 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.google.gson; import java.lang.reflect.Field; import java.util.Locale; public enum FieldNamingPolicy implements FieldNamingStrategy { IDENTITY { public final String translateName(Field f) { return f.getName(); } }, UPPER_CAMEL_CASE { public final String trans...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.document.predicate; import java.util.List; /** * @author Simon Thoresen Hult */ abstract public class PredicateOperator extends Predicate { public abstract List<Predicate> ge...
package io.quarkus.it.camel.servlet; import org.hamcrest.core.IsEqual; import org.junit.jupiter.api.Test; import io.quarkus.test.junit.QuarkusTest; import io.restassured.RestAssured; @QuarkusTest public class CamelServletTest { @Test public void multiplePaths() throws Throwable { RestAssured.when()....
/** * Copyright (c) 2011, The University of Southampton and the individual contributors. * 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 retain ...
package de.buw.tmdt.plasma.utilities.misc; import org.junit.Test; import static org.junit.Assert.assertEquals; public class PairTest { @Test public void map() { final Pair<String, String> input = new Pair<>("firstString", "secondString"); final Pair<String, String> result = input.map(String::toLowerCase, Stri...
package com.atguigu.gmall.pms.config; import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class MybatisPlusConfig { @Bean public PaginationInterceptor ...